spinach
Electrical
- Aug 5, 2008
- 11
Hi,
I have just built a 16V output flyback which is fed from a 36V mains transformer.
Unfortunately the output volts suffer a dip in output voltage of 2V......this happens usually about every 100ms or so.....the output volts are ok inbetween these events.
..When the output volts fall, it goes down 1 to 2V in some 5ms...it then snaps back up to 16V.
It's weird that its ok between this.....and weird that its such a "long" (100ms) time between the volt dips.
This flyback has no capacitors after the full wave diode bridge and just switches the "humpy" DC Bus.
....I use a PIC for the oscillator and vary the duty cycle throughout the mains period (there is a mains zero crossing detector) to try and get contiuous conduction mode throughtout.
PWM is done by two LM393 comparators (one taking the current sense resistor voltage and the other the output voltage divider feedback volts) which feed into a CMOS NAND flip flop along with the oscillator.....the oscillator and flip flop output then feed the mosfet driver via an AND gate.
I've had this type of controller working fine with a constant DC input voltage.
Flyback spec is
Oscillator PIC12F675 (4MHz internal oscillator)
Switch freq = 100KHz
Secondary diode = MBR1100 schottky (100V) 1A
Max Load = 75R
Lp = 487uH
Np:Ns = 2:1
Np = 42 turns.
Output caps = two NRSA 470uF 35V electrolytics
Non-isolated
Saturation current of ferrite core with these turns= 2.2Amps
(cap datasheet =
When i scope across the primary current sense resistor...it appears that it leaps in voltage every 100ms or so....it leaps up to about 1.5V which across 0.2R represents 7.5A. The leap seems to last some 200us which is strange because the MOSFET is always pretty stone cold after the circuits been running for 10 minutes or so. The current sense comparator has a reference voltage of 0.45V
.....i appreciate that the ripple current rating of my output caps is only 600mA at 120 Hz....However, with two that makes it 1200mA and i've got some more coming so i'll put those in as soon as i can in parallel.
...I believe caps can withstand higher than usual ripple current rating for a while if they're brand new.
Anyway, I am thinking that maybe the volts are dipping due to reverse recovery problem of the secondary diode when low primary volts are being switched...because then the referred volts to the secondary on MOSFET_OFF would be lowest and the secondary diode will not be able to snap off quick enough...then the output caps are discharging into the secondary causing the voltage dip...why it only happens every 100ms i don't know.
...I put an RCD snubber across the secondary diode and that did improve the situation slightly (R=100R metal film, C = 1.36nF ceramic, D = MBR1100). However its not good enough and as i said it dips 2V every 100ms or so.
I am wondering about getting some saturable inductors (square law) and putting them in series with the secondary diode....this will hopefully cure reverse recovery as they massively resist change in current but then saturate.
-However, i can't seem to find any of these anywhere in the RS catalog.....i guess i'll just have to get some high permeability ferrite beads and wrap them with as many turns as i can.
BTW, I can't use a standard PWM controller here as they don't have a settable Max duty cycle....whereas my PIC's duty cycle is settable (albeit in 1us chunks).....i need duty cycle to be variable as input volts are of course varying from zero to 49.5V.
Anyway, if any reader has ideas as to why my output volts are suffering these strange dips then i would be most grateful.
I have just built a 16V output flyback which is fed from a 36V mains transformer.
Unfortunately the output volts suffer a dip in output voltage of 2V......this happens usually about every 100ms or so.....the output volts are ok inbetween these events.
..When the output volts fall, it goes down 1 to 2V in some 5ms...it then snaps back up to 16V.
It's weird that its ok between this.....and weird that its such a "long" (100ms) time between the volt dips.
This flyback has no capacitors after the full wave diode bridge and just switches the "humpy" DC Bus.
....I use a PIC for the oscillator and vary the duty cycle throughout the mains period (there is a mains zero crossing detector) to try and get contiuous conduction mode throughtout.
PWM is done by two LM393 comparators (one taking the current sense resistor voltage and the other the output voltage divider feedback volts) which feed into a CMOS NAND flip flop along with the oscillator.....the oscillator and flip flop output then feed the mosfet driver via an AND gate.
I've had this type of controller working fine with a constant DC input voltage.
Flyback spec is
Oscillator PIC12F675 (4MHz internal oscillator)
Switch freq = 100KHz
Secondary diode = MBR1100 schottky (100V) 1A
Max Load = 75R
Lp = 487uH
Np:Ns = 2:1
Np = 42 turns.
Output caps = two NRSA 470uF 35V electrolytics
Non-isolated
Saturation current of ferrite core with these turns= 2.2Amps
(cap datasheet =
When i scope across the primary current sense resistor...it appears that it leaps in voltage every 100ms or so....it leaps up to about 1.5V which across 0.2R represents 7.5A. The leap seems to last some 200us which is strange because the MOSFET is always pretty stone cold after the circuits been running for 10 minutes or so. The current sense comparator has a reference voltage of 0.45V
.....i appreciate that the ripple current rating of my output caps is only 600mA at 120 Hz....However, with two that makes it 1200mA and i've got some more coming so i'll put those in as soon as i can in parallel.
...I believe caps can withstand higher than usual ripple current rating for a while if they're brand new.
Anyway, I am thinking that maybe the volts are dipping due to reverse recovery problem of the secondary diode when low primary volts are being switched...because then the referred volts to the secondary on MOSFET_OFF would be lowest and the secondary diode will not be able to snap off quick enough...then the output caps are discharging into the secondary causing the voltage dip...why it only happens every 100ms i don't know.
...I put an RCD snubber across the secondary diode and that did improve the situation slightly (R=100R metal film, C = 1.36nF ceramic, D = MBR1100). However its not good enough and as i said it dips 2V every 100ms or so.
I am wondering about getting some saturable inductors (square law) and putting them in series with the secondary diode....this will hopefully cure reverse recovery as they massively resist change in current but then saturate.
-However, i can't seem to find any of these anywhere in the RS catalog.....i guess i'll just have to get some high permeability ferrite beads and wrap them with as many turns as i can.
BTW, I can't use a standard PWM controller here as they don't have a settable Max duty cycle....whereas my PIC's duty cycle is settable (albeit in 1us chunks).....i need duty cycle to be variable as input volts are of course varying from zero to 49.5V.
Anyway, if any reader has ideas as to why my output volts are suffering these strange dips then i would be most grateful.