The goal of this thesis is to learn and investigate the capabilities of the peripheral units, in particular the HRTIM timer of the STM 32 family microcontroller, and to demonstrate the operation of this unit for controlling a switching voltage converter.
In this work, the operation of the converters and the peripherals of the microcontroller, have been studied and, on this basis, a prototype circuit has been built and tested. The circuit was then upgraded and a printed circuit board was produced. At the same time, we also have written the program code to control the converter.
We have succeeded in designing a synchronous switching down converter with a switching frequency of 250 kHz, a variable output voltage between 0 and 21 V and an adjustable current limit of up to 5 A. We have also implemented the premature switch of the lower MOS FET to achieve discontinuous operation at lower load currents, and implemented pulse skipping in the case where there is no load at the output.
|