Comment on PWM resolution for switch mode power supplies.

<- View Parent
Machinist@lemmy.world ⁨1⁩ ⁨day⁩ ago

Gain bandwidth seems to be really analogous to what I’m trying to figure out. If I can’t find a version that is more digital/pwm specific: it will probably be easier for me to figure out what minimum resolution I need experimentally.

I’m looking at a constant frequency, variable duty drive as that seems the simplest. Also, the higher I can get the frequency, the less ripple I’ll have to deal with. However, there’s nothing really stopping me from doing variable frequency.

The timer I’m using is TCA. I haven’t tried it yet, but it allows buffered register changes. I.E. the registers where I’m setting my duty and period can be updated in sync with the waveform. So, in theory, I can vary my waveform frequency and duty cycle all over the place. I’ll actually be using two of these signals, the other will be for a mosfet in place of the rectifier diode. Dead spacing shouldn’t be any trouble.

I may even be able to use the programmable logic to combine 3 pwm signals into one per channel. I will have the spare internal outputs available.

I’m still kind of studying on this and probably need to draw a picture. Say you have 3 square waves that all have the same period. They are synchronized on the rising edge. 1st signal is 25% duty, second is 50%, and the third is 75%. Depending on what a comparator is reading, your logic selects which signal to output. 50% to maintain and the others to drop or raise the voltage.

So, if your voltage goes out of bounds, high or low, within a single clock cycle your square wave can be adjusted by some amount (25% amounts are just an example.) At the same time, your cpu begins grinding cycles to reset the buffers to adjust everything to a new duty center.

It would probably be a small amount of fast logic adjustment. At a guess, 10% or less.

I apologize if this is confusing and will draw it, if needed.

Any idea what that would be called?

original
Sort:hotnewtop