Assuring stability with Voltage Mode TOPswitch Flybacks?

cupoftea

Advanced Member level 6
Joined
Jun 13, 2021
Messages
3,070
Helped
62
Reputation
124
Reaction score
139
Trophy points
63
Visit site
Activity points
16,037
Hi,
We are trying to use TOPswitch HX and JX flyback control chips , but with transformers with NP/NS's
which mean that our design is not supported by their PI Expert Suite software.
Please help us to use TOPswitch's in such use case?

As such, we need to be able to calculate the gain and phase margin of our TOPswitch designs. However, we cannot do
this since TOPswitch modulator gains are the secret IP of Power Integrations.
And since the PI Expert Suite software cannot be used with our transformer's, we cannot assure stability
of our designs. This is bad because voltage mode converters offer additional problems with stability and so
must be done with a feedback loop calculation.

The TOPswitch is a voltage mode controlled chip (certainly when on or near max power).

Transient response testing is not sufficient to prove good stability margins with
voltage mode converters like TOPswitch….as the following article by Dr Ray Ridley discusses...

Transient response & Loop gains of power supplies (Dr Ray Ridley)



..with a current mode SMPS, you can get better gain and phase margins by simply lowering the loop
bandwidth.....but this is not so for voltage mode converters. As the above discusses.

So we then need to calculate the gain and phase margins. -But this isn't possible with TOPswitch, since
the modulator gains inside the TOPswitch are kept secret.

So in summary, for a voltage mode converter, one must calculate out the gain and phase margins....ie, you have to make out
the Bode Plots.....you dont necessarily have to do this with current mode converters......Dr Mike Engelhardt emphasis this in 1:55 to 2:30
of his video as follows...

...But how do we calc the Bode plots for a TOPswitch when Power integrations keeps the internal modulator gain a secret?
The modulator gain is needed to be known to calc out the Bode plot.

In the following communication, Power Integrations applications engineers actually state that the
feedback loop parameters of the TOPswitch internals are the secret IP of Power
Integrations and so are not divulged to the public. Therefore, without the modulator gain of the TOPswitch
we are simply unable to do the feedback loop calculation for the TOPswitch..


Page 47 of "power supply design, volume 1:control" by Dr Ridley states that for a voltage mode flyback.."The crossover frequency should be at least twice the resonant frequency".......by "resonant frequency" , Dr Ridley means resonance of Cout and L(sec). [or rather "LE", the effective secondary inductance since its flyback and not full or half bridge).

Also, Basso states that Voltage Mode Flyback crossover should be three times less than the RHPZ frequency (our designs go into
CCM at low mains and so RHPZ becomes an issue)
….the above two facts mean that there is only a narrow band of possibilities for the crossover frequency of a voltage mode flyback like TOpswitch. A little variance in the tolerance of the opto, or whatever, and the whole thing could go unstable. Not only that,
but TOPswitch designs often use a NPN in the feedback loop. NPN's have very poor tolerance, and so the chances of running into
stability at some point with a TOPswitch design is quite high.

Page 25 of AN-47 shows the NPN being used in the topswitch feedback loop....

AN-47

Incidentally AN57 does not refer to TOPswitch HX or JX as the following tells....

Page 4 of AN57 by power integrations suggests that the LC resonant frequency of a TOPswitch flyback
should be greater than 500Hz...

AN57

This imposes a tight limit on the TOPswitch output capacitance, and throws into peril any output loading which may also feature an extra , large
electrolytic capacitor....instability may well then ensue.

Do you know what lies behind this recommendation of LC resonant frequency >500Hz?
Is it the fact that with TL431 based compensators that feature the "fast-lane/slow-lane" paths, the Type 3 compensator
is especially poor when LC resonance is >500Hz?

Here's a bit more on the TOPswitch Flyback output LC resonance frequency being >500Hz...

I mean, supposing your TOPswitch flyback suffers high variance in the opto CTR because you have five different parts as being "OK" in the BOM and need that flexibility to keep costs and lead times down....Or suppose the ESR (or the capacitance itself) of your output caps is highly variable.....or supposing some customers connect loads which comprise additional electro caps, thus dramatically increasing the output capacitance...etc etc.......current mode controllers can shrug this off and stay stable...a voltage mode converter may well go totally unstable under such changeable conditions.....

Like was sais, if the TOPswitch design is from the PIXIS design suite, or from the PI Expert software, then your good.....but if not......then surely one is in danger of instability?
 
Last edited:

I personally think that using empirical parameters to determine an approximate value, designing the initial circuit and making the initial prototype, and then adjusting the component parameters based on the test response of the prototype until the power supply can work normally, and then inferring its working principle in reverse, may be more helpful for you to quickly produce the required power supply.
 
ToP switch are current mode - they have internal peak current limiters too, as always a slower volt mode loop is nested outside the current loop for volt control.

Else they would be completely unstable for all the CCM flybacks ( RHP zero ) that people used to make with them - side note - they include a wee bit of slope comp in the mix too ( which is virtually identical to Vin feed forward ).

And finally - load stepping is fine - it is a broader test than loop measuring as it excites any non linearities, small steps about no load, 5% to 100% and back, 40% to 90% and so forth - if you can find no ringing and the over/under shoots are OK, and the time to settle is OK - the psu will be OK - you can of course insert the standard 20 ohm resistor and do a loop test - but to be any good you must do it at Vin max/min, and for a range of loads at each . . .

Your premises are often " interesting " ( except not ) - you should really read all the available information carefully before posting ( anything ).
 
Schematic of TOPswitch flyback
Honestly, I'm not particularly motivated to read a post that doesn't show at least a simple diagram visualizing the topology of interest.
Thanks, Pse see attached

TOPswitch is Voltage mode..
ToP switch are current mode
Thanks, if you look at AN57 from power integrations, the first paragraph says they are voltage mode...
AN57
_______
When at, or near max power, the TOPswitch is in voltage mode.

________
The 4th post of this...
...shows a Power Integrations Apps guy saying that TOPswitch is a voltage mode controller


The following discussion notes how the TOPswitch is voltage mode and Power integrations engineers are defending the TOPswitch's use of voltage mode control..

__________
Page 9 of the TOPswitch datasheet shows the control mode.
As can be seen, when at Max or near max power, the mode of control
is not current mode.
The feedback opto current flows into the CONTROL pin. The amount of excess current over and above the operating
current of TOPswitch gets used to derive the duty cycle. (in inverse proportion).
This "excess current" is like the "error voltage in a "normal" PWM controller.
The way this is converted into a duty cycle is just like a voltage mode controller does it...ie, with
a ramp generator into a comparator with one input being the error voltage.
At maximum power, the primary current signal is not used to derive the duty cycle and as such it is not
current mode control.
The datasheet explanation makes it clear that at or near max power the TOPswitch dynamics is that of voltage mode control.
There is a peak current limit, but this is not used as in current mode control.

TOPswitch datasheet

_____________
Load stepping
And finally - load stepping is fine
...Thanks, indeed so, for current mode its fine, but it can miss important information with voltage mode converters.....as the following from Dr Ray Ridley says...

Transient response and loop gains of power supplies (by Dr Ray Ridley)

__________________________________
TOPswitch in CCM
Else they would be completely unstable for all the CCM flybacks ( RHP zero ) that people used to make with them
..Thanks, good point, and in fact, if you analyse every single PI Expert TOpswitch design, they always make the transformer so that the TOPswitch flyback never goes into CCM...even at the lowest VAC input.
 

Attachments

  • TOPswitch Flyback.png
    41.5 KB · Views: 11
Last edited:

Thanks and merry xmas!

The TOPswitch decides duty cycle by the amount of excess current into the C pin.
The TOPswitchHX has a KTOP figure of 0.2/mA......That is for every mA of excess current, the Duty reduces by 0.2 (starting from the max which is usually 0.78.

..This forms an entirely analogous situation to the case of "pure" voltage mode control, where the D is decided by the artifical ramp getting to the level of the error voltage.
As such, the dynamics of TOPswitch when at or near max power, is Voltage Mode Control.

Incidentally, below 55% of I(max), the TOPswitch holds the peak current at that level, and then adjusts the frequency to keep in regulation.......so this is where TOPswitch starts to get like current mode control.

But at or near max power, and the TOPswitch is voltage mode control.

Your premises are often " interesting " ( except not )
Thanks, i would agree its interesting if thats what you mean...practically every company any EE goes to these days, wants you to do an offline Flyback with TOPswitch (because it gives a small , cheap, low component count solution)...often their design does not conform, or fit into PI Expert suite, and so you have to try and do the voltage mode control calcs (when Power.com dont give you the controller gains).....the customers dont even know that they are exposing themselves to dreaded voltage mode dynamics.....i mean, your opto goes obselete or nil stocked and you need to replace it with another with a different CTR...and your voltage mode dynamics go pear shaped on you.

Not to mention they then connect it to a load with a huge electro cap up front, and again you voltage mode dynamics send you into instability...because you hadnt accounted for that much bigger C(out)

As Dr Mike Engelhardt says at 01:55 to 02:30 of the below video, if you do a voltage mode controlled converter, then you must make out the bode plots and calc out the gain and phase margin...

There are a lot of unscrupulous engineers out there right now who are gazumping more responsible engineers off the job by simply agreeing to do a TOPswitch design for a customer (a TOPswitch design for which no PI expert or PIXIS solution exists)....and just let the customer "go to the dogs" if the use case etc changes such that instability due to voltage mode dynamics shows up....of course, by the time the customer has "gone to the dogs", the unscrupulous engineer has been payed and has hopped it. (bodge it and scarper)
 
Last edited:

Cookies are required to use this site. You must accept them to continue using the site. Learn more…