Project

General

Profile

Firmware » History » Version 4

Luiz Fernando Lavado Villa, 2019-02-28 13:37

1 1 Luiz Fernando Lavado Villa
h1. Firmware
2 2 Luiz Fernando Lavado Villa
3 4 Luiz Fernando Lavado Villa
{{>toc}}
4
5 2 Luiz Fernando Lavado Villa
The firmware of the single-phase project consists of a static scheduler coded in C and compatible with an ATMEL Mega328P micro-controller.
6
This scheduler controls the timing of several actions and guarantees that the code has a deterministic loop time, leading to a stable operation.
7
8
Details of the scheduler itself and its actions are given in the sections below.
9 4 Luiz Fernando Lavado Villa
10
h2. General introduction
11 2 Luiz Fernando Lavado Villa
12 3 Luiz Fernando Lavado Villa
h2. Scheduler
13
14
h2. SPI communication
15
16
17
h2. PWM duty cycle management
18
19
h2. Control loop
20
21
h2. UART communication
22
23
h2. Other algorithms 
24
25
h3. Photovoltaic MPPT 
26
27
h3. Half-leg inverter