Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
mppt module

Maximum Power Point Tracker

Solar Cells control board by Michel

Example for airframe file

Add to your firmware section:

<module name="MPPT"/>

Module functions

Init Functions

These initialization functions are called once on startup.

Periodic Functions

These functions are called periodically at the specified frequency from the module periodic loop.

  • MPPT_periodic()
    • Frequency in Hz: 8.
    • Delay: 0.15
      Integer to impose a sequence (between 0 and main_freq/function_freq)
    • Autorun: TRUE
      Periodic function automatically starts after init.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw MPPT.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="MPPT" dir="energy">
<doc>
<description>
Maximum Power Point Tracker
Solar Cells control board by Michel
</description>
</doc>
<settings>
<dl_settings>
<dl_settings NAME="MPPT">
<dl_setting MAX="3" MIN="1" STEP="1" VAR="MPPT_mode" module="MPPT"/>
</dl_settings>
</dl_settings>
</settings>
<header>
<file name="MPPT.h"/>
</header>
<init fun="MPPT_init()"/>
<periodic fun="MPPT_periodic()" freq="8." delay="0.15" autorun="TRUE"/>
<makefile target="ap">
<file name="MPPT.c"/>
</makefile>
<makefile target="sim">
<file name="sim_MPPT.c"/>
</makefile>
</module>