If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #152
Joined: Sun Feb 12 2006, 03:36PM
Location: Czech Rep.
Posts: 3384
I am building a flyback inverter for TV transformer. I want to have a potentiometer which sets maximum pulse width ("power control"), but also a feedback from an emitter current-sense resistor which will limit the pulse width when the peak current is too high (e.g. a short-circuit on the xfmr output).
Now I want to use a SG3525 ( ) SMPS controller but I have no idea how to set it up. It has an error amp, I know how would I set it just to limit the peak current, but I have no idea how to incorporate the power control... Maybe I should use another controller? Thanks for any help
Registered Member #95
Joined: Thu Feb 09 2006, 04:57PM
Location: Norway
Posts: 1308
You set your reference at the inverting input, as well as a gain setting R or RC network. Try simply shorting compensation to the inverting output to start with. Current feedback goes to the non-inverting input, and should equal the reference at the desired peak point. It might be the other way around with the SG3525, I've only used the TL494. Check this circuit for reference.
Registered Member #152
Joined: Sun Feb 12 2006, 03:36PM
Location: Czech Rep.
Posts: 3384
I'm not sure about one thing. They say that the Pin 9 has a pull-up current source, but according to the schematic there's a pull-down source. Is there an error in the datasheet?
Registered Member #152
Joined: Sun Feb 12 2006, 03:36PM
Location: Czech Rep.
Posts: 3384
Uzzors wrote ...
You set your reference at the inverting input, as well as a gain setting R or RC network. Try simply shorting compensation to the inverting output to start with. Current feedback goes to the non-inverting input, and should equal the reference at the desired peak point.
Yeah, but the problem is that the current will be limited to a different value dependent on the "power" setting. I want it to always limit to the same value, the power control sets only maximum allowed pulse width. IIRC the tl494 has two error amps, so it should be easier. I'll take a look at the datasheet (though I will need a gate driver as the tl494 outputs are not totem-pole).
EDIT: How to set the gain of tl494's op amps? They contain a diode on the outputs...
Registered Member #95
Joined: Thu Feb 09 2006, 04:57PM
Location: Norway
Posts: 1308
Right, I forgot about that. You'll need a TL494 or some other chip with two comparators. I've never thought about the diodes, and they don't seem to have caused problems. Getting the right gain and loop compensation is so complex that it's best left for people who do it for a living. For your needs max gain would work alright since you're just setting the maximum duty cycle which will need to trip instantaneously. Compensation is only needed when stabilizing a control loop.
Registered Member #1232
Joined: Wed Jan 16 2008, 10:53PM
Location: Doon tha Toon!
Posts: 881
UC3845 is the chip you want to be using for a flyback converter. It has the necessary internals to control the average power throughput, and also a fast over-current shutdown to set an absolute limit on peak current through the switch. This chip is found in most cheap offline switchmode power supplies below 70W where the flyback topology dominates.
It works just as you described. Current mode control effectively varies the duty cycle to control power throughput and keep the output voltage in regulation during normal operation. If the output is short-circuited, the current waveform becomes continuous, and the fast peak-current limiter kicks in to prevent the current integrating up to a destructive level. It is this action under s/circuit conditions that often leads to cycle-skipping and the familiar squeal from flyback converters.
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.