I designed a non-power factor corrected flyback type charger before, works fine, about 80% efficiency, 90-240VAC in, 24VDC, 2.5A out. 0.8W no-load loss.
Recently I added a PFC boost stage in the front of the flyback converter with the same transformer, the new charger works fine, gives the same...
Hello:
I'm having a m-function code, and it works perfectly when I have some workspace variables. However, it never works if i put these r,N,N1 and P as inputs to an embedded matlab function. I guess the problem is due to the clock, since m-file can have a "for x,-1,y" backward iteration loop...