Hi guy. I'm working on a Buck converter using STM32f103 for the voltage feedback controller.
First, I found out the continuos compensator, then discretized it to digital compensator. By simulation on Matlab, I saw that only when sample frequency >= PWM frequency (100KHz). That means I need to read ADC and adjust the PWM duty every PWM period.
I'm not sure if MCU is fast enough to process all of that in 10us or not. Anyone can help me with that?
If MCU would not be able to do that, so can you recomend me another algorithm which can be applied here?
Thank you.
First, I found out the continuos compensator, then discretized it to digital compensator. By simulation on Matlab, I saw that only when sample frequency >= PWM frequency (100KHz). That means I need to read ADC and adjust the PWM duty every PWM period.
I'm not sure if MCU is fast enough to process all of that in 10us or not. Anyone can help me with that?
If MCU would not be able to do that, so can you recomend me another algorithm which can be applied here?
Thank you.
Attachments
-
21.9 KB Views: 32