Project

General

Profile

Firmware » History » Version 3

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

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