Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
MPPT.h File Reference

Solar cells MPTT monitoring. More...

#include <inttypes.h>
+ Include dependency graph for MPPT.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MPPT_MODE_OFF   1
 
#define MPPT_MODE_PASSIVE   2
 
#define MPPT_MODE_ACTIVE   3
 
#define NB_DATA   9
 
#define MPPT_IBAT_INDEX   1
 
#define MPPT_ICONV_INDEX   6
 
#define MPPT_ITOTAL_INDEX   8
 

Functions

void MPPT_init (void)
 
void MPPT_automata (void)
 
void MPPT_periodic (void)
 

Variables

uint8_t MPPT_mode
 0: VBat (mV) 1: IBat (mA) 2: PBat (mW) 3: VSol (mV) 4: ISol (mA) 5: PSol (mW) 6: IConv (mA) 7: PConv (mW) More...
 

Detailed Description

Solar cells MPTT monitoring.

Definition in file MPPT.h.

Macro Definition Documentation

#define MPPT_IBAT_INDEX   1

Definition at line 39 of file MPPT.h.

Referenced by MPPT_ask(), and MPPT_periodic().

#define MPPT_ICONV_INDEX   6

Definition at line 40 of file MPPT.h.

Referenced by MPPT_ask(), and MPPT_periodic().

#define MPPT_ITOTAL_INDEX   8

Definition at line 41 of file MPPT.h.

Referenced by MPPT_ask(), and MPPT_periodic().

#define MPPT_MODE_ACTIVE   3

Definition at line 36 of file MPPT.h.

#define MPPT_MODE_OFF   1

Definition at line 34 of file MPPT.h.

#define MPPT_MODE_PASSIVE   2

Definition at line 35 of file MPPT.h.

#define NB_DATA   9

Definition at line 38 of file MPPT.h.

Function Documentation

void MPPT_automata ( void  )
void MPPT_init ( void  )

Definition at line 73 of file MPPT.c.

References MPPT_data, MPPT_mode, MPPT_status, MPPT_STATUS_IDLE, and NB_DATA.

Variable Documentation

uint8_t MPPT_mode

0: VBat (mV) 1: IBat (mA) 2: PBat (mW) 3: VSol (mV) 4: ISol (mA) 5: PSol (mW) 6: IConv (mA) 7: PConv (mW)

9: IBat + IConv

Definition at line 60 of file MPPT.c.

Referenced by MPPT_init(), and MPPT_periodic().