VVV
Advanced Member level 5
I will post tomorrow the RMS current calculation. I made a drawing, but I left the file and I don't want to spend the time to do it again. I am talking about the first cap, since it takes the high peak currents. You will see in my drawing tomorrow.
I looked at the layout. It is not exactly what I would have done, but if it works, leave it as it is. Basically, the ground on the input side should have been routed differently: the current sense resistor should go to the (-) of the input caps through a short tace. The ground of the UC3845 should also go to the same point, through a different path (star connection).
The (+) of the input caps seems fairly close to the transformer, the RCD clamp is also OK.
On the output side, the opto has one tace going between its pins. Usually the creepage is at its minimum there, so no traces are allowed between the pins of the opto. Plus, the traces going to the opto diode should run parallel for as long a distance as possible.
I do not see the large cap, nor the LC filter.
A 100nF ceramic cap is typical. Remember to measure output noise using a short ground connection on your probe, like I tried descrbing. I still have not found that appnote.
Common mode chokes on the output are used sometimes. They will reject common mode noise and are required if the load is sensitive to that and if the output ground is isolated from the chassis. LC filters on the output filter out normal mode noise, and they are almost always used in flybacks, because the large peak secondary currents create large voltage spikes. More on this tomorrow.
There are variations between devices, so a different threshold does not surprise me.
The fact that the cap blew up means that the control loop was opened temporarily, or somehow something in the loop got "stuck". I wonder it it has something to do with the frequency foldback. I never liked connecting anything to the error amp output, like they did. I anything goes wrong there and the chip cannot pull pin 1 low, the feedback loop is inoperational, "kaboom" goes the output cap....
Anyway, I do not know for sure that was the problem, but it's possible. Other than that, I do not think the loop is so slow as to allow the output voltage to increase to 40V long enough for you to actually measure that and actually destroy the cap. Caps have surge ratings that are higher than their rated working voltages. But they have to last for short periods of time and occurs infrequently (once a minute or so). Since the cap blew up, is was not just a transient due to a slow loop, it was an "open loop", I think, although I don't know what caused it.
On the other hand, you say that you can actually see the voltage dip to zero volts under some conditions. That could indicate an excessively slow loop, but I doubt it. Maybe you can do some transient tests and post some pictures, they may help.
I have no idea why the Ve is 1V in the appnote. The equation is very simple: Ve=1.4V+3*Rs*Ipk, where Rs is the sense resistor and Ipk is the MOSFET's peak current. Normally, the Rs*Ipk voltage is set to about 0.7V for full output current (you select Rs so as to get 0.7V across it when delivering max current). This "magic" value of 0.7V works well (large enough for noise rejection) and is below the 1V internal clamping voltage (the chip has a 1V Zener inside that clamps the voltage at about 1V; by selecting 0.7V, the P/S cannot deliver more than about 25~30% more "juice"). Now Ve=1.4+3*0.7=3.5V at full power. You probably remeber me quoting this voltage.
As for the minimum, it is obvious that is should be greater than 1.4V for you to get any duty-cycle out of the chip. So why 1V, I do't know (well, the 1.4V is not strictly 1.4V, since it comes from two diodes in series, so maybe it can be as low as 1V, but I have no idea if that has any connection to the value quoted in the appnote.)
I looked at the layout. It is not exactly what I would have done, but if it works, leave it as it is. Basically, the ground on the input side should have been routed differently: the current sense resistor should go to the (-) of the input caps through a short tace. The ground of the UC3845 should also go to the same point, through a different path (star connection).
The (+) of the input caps seems fairly close to the transformer, the RCD clamp is also OK.
On the output side, the opto has one tace going between its pins. Usually the creepage is at its minimum there, so no traces are allowed between the pins of the opto. Plus, the traces going to the opto diode should run parallel for as long a distance as possible.
I do not see the large cap, nor the LC filter.
A 100nF ceramic cap is typical. Remember to measure output noise using a short ground connection on your probe, like I tried descrbing. I still have not found that appnote.
Common mode chokes on the output are used sometimes. They will reject common mode noise and are required if the load is sensitive to that and if the output ground is isolated from the chassis. LC filters on the output filter out normal mode noise, and they are almost always used in flybacks, because the large peak secondary currents create large voltage spikes. More on this tomorrow.
There are variations between devices, so a different threshold does not surprise me.
The fact that the cap blew up means that the control loop was opened temporarily, or somehow something in the loop got "stuck". I wonder it it has something to do with the frequency foldback. I never liked connecting anything to the error amp output, like they did. I anything goes wrong there and the chip cannot pull pin 1 low, the feedback loop is inoperational, "kaboom" goes the output cap....
Anyway, I do not know for sure that was the problem, but it's possible. Other than that, I do not think the loop is so slow as to allow the output voltage to increase to 40V long enough for you to actually measure that and actually destroy the cap. Caps have surge ratings that are higher than their rated working voltages. But they have to last for short periods of time and occurs infrequently (once a minute or so). Since the cap blew up, is was not just a transient due to a slow loop, it was an "open loop", I think, although I don't know what caused it.
On the other hand, you say that you can actually see the voltage dip to zero volts under some conditions. That could indicate an excessively slow loop, but I doubt it. Maybe you can do some transient tests and post some pictures, they may help.
I have no idea why the Ve is 1V in the appnote. The equation is very simple: Ve=1.4V+3*Rs*Ipk, where Rs is the sense resistor and Ipk is the MOSFET's peak current. Normally, the Rs*Ipk voltage is set to about 0.7V for full output current (you select Rs so as to get 0.7V across it when delivering max current). This "magic" value of 0.7V works well (large enough for noise rejection) and is below the 1V internal clamping voltage (the chip has a 1V Zener inside that clamps the voltage at about 1V; by selecting 0.7V, the P/S cannot deliver more than about 25~30% more "juice"). Now Ve=1.4+3*0.7=3.5V at full power. You probably remeber me quoting this voltage.
As for the minimum, it is obvious that is should be greater than 1.4V for you to get any duty-cycle out of the chip. So why 1V, I do't know (well, the 1.4V is not strictly 1.4V, since it comes from two diodes in series, so maybe it can be as low as 1V, but I have no idea if that has any connection to the value quoted in the appnote.)