2024-07-11 06:58:55 +00:00
|
|
|
|
/*
|
|
|
|
|
* mppt_control.h
|
|
|
|
|
*
|
|
|
|
|
* Created on: 2024<EFBFBD><EFBFBD>6<EFBFBD><EFBFBD>29<EFBFBD><EFBFBD>
|
|
|
|
|
* Author: psx
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef APP_INC_MPPT_CONTROL_H_
|
|
|
|
|
#define APP_INC_MPPT_CONTROL_H_
|
|
|
|
|
|
|
|
|
|
#include "debug.h"
|
2024-08-29 02:50:22 +00:00
|
|
|
|
#include <math.h>
|
2024-08-17 03:14:19 +00:00
|
|
|
|
|
2024-08-05 02:35:10 +00:00
|
|
|
|
extern float g_duty_ratio;
|
2024-07-22 06:20:24 +00:00
|
|
|
|
|
2024-07-11 06:58:55 +00:00
|
|
|
|
void mppt_readJust(void);
|
2024-07-24 08:57:38 +00:00
|
|
|
|
void MpptMode(void);
|
2024-07-12 09:34:47 +00:00
|
|
|
|
void mppt_constantVoltage(float InVoltage);
|
2024-07-11 06:58:55 +00:00
|
|
|
|
void test(void);
|
2024-08-23 08:50:34 +00:00
|
|
|
|
void printf_data(void);
|
2024-08-29 02:50:22 +00:00
|
|
|
|
float_t get_capturedata(float_t (*fun)(void));
|
|
|
|
|
uint16_t get_mpptMode(void);
|
2024-07-11 06:58:55 +00:00
|
|
|
|
|
|
|
|
|
#endif /* APP_INC_MPPT_CONTROL_H_ */
|