What this design entails:
- frequnecy response PID controller.
- 400kHz switching friequnecy (fs).
- Attiny45.
Technonology:
- ATMEL framework - Developing source code.
- MATLAB/simscape - To tune the PID controller
- Proteus 8 proffesional - Circuit design and source code troubleshooting.
This converter is set to boost input voltage from 5 to 9 volts and yield 15 volts output.
Fig.1: Boost Converter output(GREEN), input(RED), and Feedback(BLUE) waveforms
Fig.2: intergator clamping
Figure 2, a code snippet can be seen. its limits the total value of the I (from PID). What is on fig 2 is crucial for the controller without these boundaries controller response will be delayed.
Fig.3: Boost converter Circuit-board reference schematics