2019-09-18 01:07 AM
I am looking into the possibility of using a stm32 microcontroller (probably stm32f030) to directly* control the power transistors in a switch-mode power supply, in order to generate a high-power waveform.
My current thinking has a PMOS switch transistor and an NMOS synchronous rectifier. These have different turn-off times (one of them is 290 ns according to its data sheet), so I would want one dead-time when turning the PMOS off and the NMOS on, and a different dead-time when turning the NMOS off and the PMOS on.
Looking at the Reference Manual, I see only one register to program the dead-time on TIM1.
Does anyone have suggestions as to how I might achieve different dead-times for otherwise-complementary PWM? If a different stm32 would do the job better, please suggest which.
I should add that in order to keep the inductor size reasonable, I do want to switch as fast as I can, so I don't want to bit-bang the outputs.
Thanks,
Danish
*Probably via a FAN3268 MOSFET driver or similar
Solved! Go to Solution.
2019-09-27 07:17 AM
If anyone is interested, I've now found a way to do this:
When updating CCR1 and CCR2, I could either synchronise them to the counter reload or do it in whichever order momentarily increases dead-time.
This works on a nucleo64 board. Now I know which pins to use I can get my own pcb made up!
2019-09-27 07:17 AM
If anyone is interested, I've now found a way to do this:
When updating CCR1 and CCR2, I could either synchronise them to the counter reload or do it in whichever order momentarily increases dead-time.
This works on a nucleo64 board. Now I know which pins to use I can get my own pcb made up!
2019-09-27 07:45 AM
I wish this would be a normal forum. This would then have to go to the HOWTO section.
Thanks for sharing the trick.
JW
2019-09-30 02:06 AM
I added the topic "STM32 HOWTO", this post is the 1st content there: https://community.st.com/s/topic/0TO0X000000Bo2uWAC/stm32-howto.
Let's enrich it with more "how to" proposals from your side.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2019-09-30 02:55 AM
Thanks.
JW