The Godfather talking
You think I am funny guy huh?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 22, 2024, 03:03:49 03:03


Login with username, password and session length


Pages: [1]
Print
Author Topic: Noise elimination in Flyback SMPS  (Read 7382 times)
0 Members and 1 Guest are viewing this topic.
techneo
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 120
-Receive: 41


« on: January 20, 2019, 02:51:28 02:51 »

Hi,

 I have designed a switch-mode variable PSU which is a flyback topology based on UC1843 PWM chip. The PSU is working good with an output voltage adj from 15 to +24VDC. Schematics attached .





The problem is that i get a spike of +10V on my output every 400 to 500 msec. I have tried to use a pi filter but to no avail.

Kindly help.


-techNeo
« Last Edit: January 20, 2019, 03:12:01 03:12 by techneo » Logged
vern
V.I.P
Active Member
*****
Offline Offline

Posts: 146

Thank You
-Given: 7
-Receive: 42


« Reply #1 on: January 20, 2019, 04:59:39 16:59 »

I have developed a SMPS that uses the LMV431 (but with a different controller, LM5020). I have no experience with the UC1843.
The circuitry around the LMV431 is a bit different, adds a slope to the compensation loop and a filter to the optocoupler supply.
See attached pdf.
Logged
fpgaguy
Active Member
***
Offline Offline

Posts: 138

Thank You
-Given: 154
-Receive: 166


« Reply #2 on: January 20, 2019, 09:37:39 21:37 »

When you say 10V spike, do you mean it's Vout + 10V, or do you mean Vout - 10V ?

Without more data I would guess the pwm controller is sensing >1V on isense and skipping a pulse, or on comp

Does it change  this behavior if you vary the load by 50% or so ?

Logged
witsanukai
Junior Member
**
Offline Offline

Posts: 38

Thank You
-Given: 13
-Receive: 9


« Reply #3 on: January 21, 2019, 11:01:21 11:01 »

How long of spike period?
I am not so sure about your maximum current capability.
Try to take constand load for stability by add 240 Ohm 5W at out put and see the response and spike gone?
you may need to apply some small load for feed back stability.
Logged
techneo
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 120
-Receive: 41


« Reply #4 on: January 22, 2019, 06:26:00 06:26 »

When you say 10V spike, do you mean it's Vout + 10V, or do you mean Vout - 10V ?

Without more data I would guess the pwm controller is sensing >1V on isense and skipping a pulse, or on comp

Does it change  this behavior if you vary the load by 50% or so ?



It is Vout+10 V. The behavior stays the same if load is varied.


-techNeo

Posted on: January 22, 2019, 12:22:41 00:22 - Automerged

How long of spike period?
I am not so sure about your maximum current capability.
Try to take constand load for stability by add 240 Ohm 5W at out put and see the response and spike gone?
you may need to apply some small load for feed back stability.


The spike is 4-5 msec.
Full load capability of the PSU is 10A.

-techNeo
Logged
PM3295
Senior Member
****
Offline Offline

Posts: 312

Thank You
-Given: 360
-Receive: 155


« Reply #5 on: January 22, 2019, 05:01:30 17:01 »

You will need to add proper slope compensation to your current sense if your duty cycle is near or greater than 50% to prevent sub-harmonic oscillations. This can certainly produce the spikes you see.
Logged
techneo
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 120
-Receive: 41


« Reply #6 on: January 23, 2019, 12:57:31 00:57 »

You will need to add proper slope compensation to your current sense if your duty cycle is near or greater than 50% to prevent sub-harmonic oscillations. This can certainly produce the spikes you see.
So this slope compensation will be in the form of components as suggested in Reply # 1 above  or do i need to make a massive overhaul of the circuit ?
In any case i think i need to dig deep about you suggested Smiley.
Logged
PM3295
Senior Member
****
Offline Offline

Posts: 312

Thank You
-Given: 360
-Receive: 155


« Reply #7 on: January 23, 2019, 06:17:35 06:17 »

In the simplest  case, it is just adding a portion of your saw-tooth into the current sensing node via a resistor. To prevent loading on the saw-tooth it is recommended to use a buffer transistor as shown in my example. It is important to read up about it and calculating the correct value of the slope comp resistor according to your circuit parameters.

The scope plot shows the gate drive and the current feedback of a bad converter design with no slope comp that we took a look at for a client. The sub-harmonic oscillation is clearly visible producing wide sub-harmonic switching pulses. The blue trace shows the voltage spikes it produced on the +35 V bus on this boost converter.

Notice that this caused the core to start saturating (upward curve in current).
« Last Edit: January 24, 2019, 04:08:50 16:08 by PM3295 » Logged
vern
V.I.P
Active Member
*****
Offline Offline

Posts: 146

Thank You
-Given: 7
-Receive: 42


« Reply #8 on: January 25, 2019, 09:46:18 09:46 »

didn't think of it, but I think PM3295 is right.
In the UC1843 datasheet it says for duty cycles > 50% you need slope compensation and there are examples how to do it. Looks similar to what PM3295 suggests.
That fits with the slow oscillation of 400 - 500ms, because it takes a while for the transformer core to get saturated.
I didn't think about it because the LM5020 that I use in my SMPS hat an integrated slope compensation!


Logged
techneo
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 120
-Receive: 41


« Reply #9 on: January 30, 2019, 03:15:24 03:15 »

didn't think of it, but I think PM3295 is right.
In the UC1843 datasheet it says for duty cycles > 50% you need slope compensation and there are examples how to do it. Looks similar to what PM3295 suggests.
That fits with the slow oscillation of 400 - 500ms, because it takes a while for the transformer core to get saturated.
I didn't think about it because the LM5020 that I use in my SMPS hat an integrated slope compensation!



I made the changes in my pcb as per your suggestions. The spike has reduced from +10V to +7V but has not been eliminated completely.

I will now look and try to implement the slope compensation examples...

-techNeo
Logged
Sideshow Bob
Cracking Team
Hero Member
****
Offline Offline

Posts: 1003

Thank You
-Given: 231
-Receive: 987



« Reply #10 on: January 30, 2019, 11:19:11 11:19 »

In switch-mode design it is quite important to selct the correct values but also the component specification. Like for caps low ESR and dielectric material. But also using the scope correct see public link below
http://www.interpoint.com/product_documents/DC_DC_Converters_Output_Noise.pdf
From the top my head I also suggest som Google search. The may give somewhat identical results. But I would recommend to sift throgh the first page at each and absorb relevant info
https://www.google.com/search?q=filter+switch+mode+noise
https://www.google.com/search?q=inductors+switch+mode+noise+reduction
https://www.google.com/search?q=switch+mode+noise+reduction
Logged

I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum
PM3295
Senior Member
****
Offline Offline

Posts: 312

Thank You
-Given: 360
-Receive: 155


« Reply #11 on: January 30, 2019, 04:23:45 16:23 »


I will now look and try to implement the slope compensation examples...

-techNeo

Just keep in mind that the slope compensation injection will lower your intended peak current limit, so your sensing resistor should be reduced in value accordingly to compensate.

If you inject too much slope compensation, it may reduce stability margins, so the amount of needed compensation should be carefully calculated and evaluated.
« Last Edit: January 30, 2019, 05:34:53 17:34 by PM3295 » Logged
kreutz
Active Member
***
Offline Offline

Posts: 183

Thank You
-Given: 995
-Receive: 125


« Reply #12 on: February 03, 2019, 04:20:58 16:20 »

PCB layout and position of poles and zeroes on the control loop influence circuit's stability.  We don't have enough data to further help without random guessing. Please, post your complete  pcb layout as well as photos of the prototype.
R4C4 filter in the I sense signal is very important and its time constant must be << switching period. What is your switching frequency?  Also proper gap for the flyback transformer core avoid possible core saturation (There no info about your flyback transformer design). Also output Rectifier diode reverse recovery time is important because it influences switching noise on the I sense signal, so your choice of components is important (ie, 1N4007 is not remotely fast enough to be there). Review also your choice of 1N4148 on the snubber circuit. ESR of the output capacitors is very important for output voltage ripple, your choice of capacitor model is important. Physical layout of feedback signal wires is very important, they must be far from power signals and chip's vcc and Vref filter capacitors must be really close to respective IC pins and low ESR.

Could you, please, also post your circuit design calculations? Oscilloscope screen photos of the relevant signals will also help...

Also, for troubleshooting purposes, disconnect the output voltage feedback wire from the ic pin and use a constant bias (look for a way to fool the voltage feedback circuit), check if the overvoltge spike is still there, so we could get an idea of where the instability is coming from, I would recalculate the R4C4 filter, disconnect the 1N4007,  and check the core gap before doing extra troubleshooting. I didn't find the fr2007 diode datasheet on the web... could you post a link?
« Last Edit: February 03, 2019, 04:55:36 16:55 by kreutz » Logged
dennis78
Active Member
***
Offline Offline

Posts: 122

Thank You
-Given: 272
-Receive: 154


« Reply #13 on: February 04, 2019, 10:30:23 10:30 »

I think diode is fr207 or fr1007 instead fr2007
« Last Edit: February 04, 2019, 10:33:19 10:33 by dennis78 » Logged
kreutz
Active Member
***
Offline Offline

Posts: 183

Thank You
-Given: 995
-Receive: 125


« Reply #14 on: February 04, 2019, 08:58:24 20:58 »

FR207 (fast recovery diode, 250 nS average recovery time) could be used instead of the 1N4148 in the snubber (clamp) circuit as well as a replacement for the 1N4007 in the secondary of the transformer if the switching frequency is < = 50 khz, if the switching frequency is much higher consider using ultra fast recovery diodes or super fast recovery diodes depending on the frequency. See "Selection of Ultra-Fast Recovery Diodes Used in Flyback Circuits": https://www.maximintegrated.com/en/app-notes/index.mvp/id/849. Review your selection of main secondary rectifier diodes if the switching frequency >> 30Khz, you will most probably need faster ones.

Another detail: can you, please, explain why you connected the zener diode D7 in series with the resistor R18 and connected the chip's VCC to the other side of that resistor (instead of connecting it to the junction R18-D7)? AFAIK there is no purpose for that zener. As it is, there is no regulation to Vcc whatsoever and that could influence circuit operation..
« Last Edit: February 07, 2019, 04:40:59 04:40 by kreutz » Logged
PM3295
Senior Member
****
Offline Offline

Posts: 312

Thank You
-Given: 360
-Receive: 155


« Reply #15 on: February 07, 2019, 05:13:29 17:13 »

We don't have enough data to further help without random guessing. Please, post your complete  pcb layout as well as photos of the prototype.
What is your switching frequency?  Also proper gap for the flyback transformer core avoid possible core saturation (There no info about your flyback transformer design).
Could you, please, also post your circuit design calculations? Oscilloscope screen photos of the relevant signals will also help...



We can only really help when we have all the details. I agree!
Logged
techneo
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 120
-Receive: 41


« Reply #16 on: February 08, 2019, 12:27:55 00:27 »

PCB layout and position of poles and zeroes on the control loop influence circuit's stability.  We don't have enough data to further help without random guessing. Please, post your complete  pcb layout as well as photos of the prototype.
R4C4 filter in the I sense signal is very important and its time constant must be << switching period. What is your switching frequency?  Also proper gap for the flyback transformer core avoid possible core saturation (There no info about your flyback transformer design). Also output Rectifier diode reverse recovery time is important because it influences switching noise on the I sense signal, so your choice of components is important (ie, 1N4007 is not remotely fast enough to be there). Review also your choice of 1N4148 on the snubber circuit. ESR of the output capacitors is very important for output voltage ripple, your choice of capacitor model is important. Physical layout of feedback signal wires is very important, they must be far from power signals and chip's vcc and Vref filter capacitors must be really close to respective IC pins and low ESR.

Could you, please, also post your circuit design calculations? Oscilloscope screen photos of the relevant signals will also help...

Also, for troubleshooting purposes, disconnect the output voltage feedback wire from the ic pin and use a constant bias (look for a way to fool the voltage feedback circuit), check if the overvoltge spike is still there, so we could get an idea of where the instability is coming from, I would recalculate the R4C4 filter, disconnect the 1N4007,  and check the core gap before doing extra troubleshooting. I didn't find the fr2007 diode datasheet on the web... could you post a link?

I have attached my pcb file.

One good news is that with slope compensation i have been able to reduce the spike to +3V.

-techNeo
Logged
M@X77
Junior Member
**
Offline Offline

Posts: 54

Thank You
-Given: 46
-Receive: 6


« Reply #17 on: February 09, 2019, 04:50:56 16:50 »

viewing your pcb my first think is the big copper areas under transformer. May be they can catch magnetic field and gives these spikes, tray to do a big ground area on top layer under the trnasformer
Logged
vern
V.I.P
Active Member
*****
Offline Offline

Posts: 146

Thank You
-Given: 7
-Receive: 42


« Reply #18 on: February 11, 2019, 01:16:45 13:16 »

techneo, you should check kreutz post 119:  he is of course right that VCC of U1 and + of C13 are connected to the wrong side of R18!
That could destroy your chip and it can also cause these spikes since U1 VCC is not stabilized at all in your circuit!
And using a 1N4007 in a SMPS is also a big NONO. It has a reverse recovery time of 30us, which is way to slow for this SMPS.
In your circuit it is only to supply the control LED, you can use the 1N4148 instead, it's a lot faster and delivers enough current for your purpose.

I overlooked those two things when I first looked at your schematic.
Logged
techneo
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 120
-Receive: 41


« Reply #19 on: February 12, 2019, 06:55:49 06:55 »

FR207 (fast recovery diode, 250 nS average recovery time) could be used instead of the 1N4148 in the snubber (clamp) circuit as well as a replacement for the 1N4007 in the secondary of the transformer if the switching frequency is < = 50 khz, if the switching frequency is much higher consider using ultra fast recovery diodes or super fast recovery diodes depending on the frequency. See "Selection of Ultra-Fast Recovery Diodes Used in Flyback Circuits": https://www.maximintegrated.com/en/app-notes/index.mvp/id/849. Review your selection of main secondary rectifier diodes if the switching frequency >> 30Khz, you will most probably need faster ones.

Another detail: can you, please, explain why you connected the zener diode D7 in series with the resistor R18 and connected the chip's VCC to the other side of that resistor (instead of connecting it to the junction R18-D7)? AFAIK there is no purpose for that zener. As it is, there is no regulation to Vcc whatsoever and that could influence circuit operation..

Ok i will order the FR207 to use in place of 1N4007.

I have, however, a question ... Since I am using 1N4007 to feed the network so as to trigger an LED as soon as output voltage is available. Will it also affect the output voltage because of its slow response time?


-techNeo


Posted on: February 12, 2019, 12:52:16 00:52 - Automerged

techneo, you should check kreutz post 119:  he is of course right that VCC of U1 and + of C13 are connected to the wrong side of R18!
That could destroy your chip and it can also cause these spikes since U1 VCC is not stabilized at all in your circuit!
And using a 1N4007 in a SMPS is also a big NONO. It has a reverse recovery time of 30us, which is way to slow for this SMPS.
In your circuit it is only to supply the control LED, you can use the 1N4148 instead, it's a lot faster and delivers enough current for your purpose.

I overlooked those two things when I first looked at your schematic.


I am using R18 to limit the current to the zener diode because it had been my observation that in case of any overvoltage spike , the zener gets damaged. So to limit the inrush current for an over voltage condition, i used R18.


-techNeo
Logged
witsanukai
Junior Member
**
Offline Offline

Posts: 38

Thank You
-Given: 13
-Receive: 9


« Reply #20 on: February 12, 2019, 10:32:20 10:32 »

series inductor at output for 1.5uH can help?
just try to filter out spike.
Logged
kreutz
Active Member
***
Offline Offline

Posts: 183

Thank You
-Given: 995
-Receive: 125


« Reply #21 on: February 12, 2019, 04:33:19 16:33 »




Posted on: February 12, 2019, 12:52:16 00:52 - Automerged


I am using R18 to limit the current to the zener diode because it had been my observation that in case of any overvoltage spike , the zener gets damaged. So to limit the inrush current for an over voltage condition, i used R18.


-techNeo

You should connect the chip's VCC pin to the junction between the zener diode and R18, that way The Chip's VCC will be regulated by the zener diode. You might have to recalculate R18 to take into account the Vcc pin current at rated voltage and  zener diode maximum current (derated). For calculation see example #1 at https://www.electronics-tutorials.ws/diode/diode_7.html
« Last Edit: February 12, 2019, 04:43:13 16:43 by kreutz » Logged
vern
V.I.P
Active Member
*****
Offline Offline

Posts: 146

Thank You
-Given: 7
-Receive: 42


« Reply #22 on: February 13, 2019, 09:12:14 09:12 »

Quote
I have, however, a question ... Since I am using 1N4007 to feed the network so as to trigger an LED as soon as output voltage is available. Will it also affect the output voltage because of its slow response time?
no, it will not affect your output voltage, but it might get hot and reduce the overall efficiency of your power supply.
The 1N4007 has a reverse recovery time of about 30us, this is the time it needs to change from the conducting (forward) state to the blocking state if voltage is reversed.
During that time current travels in the wrong direction through the diode.
That means that over frequencies of 33kHz the diode is not rectifying at all, it acts more like a resistor.
A good rectifier diode for SMPS is more in the nanosecond range. The faster the better. Since you don't need much current for your LED you can use the 1N4148, which has a reverse recovery time of about 8ns and a peakk forward current of 500mA, which is more than enough.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC