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'm building a fully-adjustable HV power supply with current limit feature. The current is sampled from the cold end of the (rectified) HV transformer and used to modify PWM of the driver. However there is one probem - as the current limiting becomes active, the transformer starts to emit audible squealing noises or tones. How to fix this without adding too much components to the existing circuit?
Registered Member #1232
Joined: Wed Jan 16 2008, 10:53PM
Location: Doon tha Toon!
Posts: 881
I think the 680R current sense resistor wants to be connected from the bottom of the transformer to ground. (ie across the 220nF cap) Otherwise the full load current must be drawn from the PWM summing node. This is not a good idea if you drop a s/c on the output.
Closed-loop stability in current-limit mode is determined by the same criteria that are required for closed-loop stability in constant-voltage mode. It works exactly the same but now the current loop takes over controlling the duty ratio instead of the voltage loop.
Registered Member #152
Joined: Sun Feb 12 2006, 03:36PM
Location: Czech Rep.
Posts: 3384
GeordieBoy wrote ...
I think the 680R current sense resistor wants to be connected from the bottom of the transformer to ground. (ie across the 220nF cap) Otherwise the full load current must be drawn from the PWM summing node. This is not a good idea if you drop a s/c on the output.
The 680R and 220nf cap form something like a lowpass filter, the main sense current is drawn from Vcc through the current limit adjust resistor (2.2k). I don't know what do you mean by "summing node", the circuit works "well" as it is even with shorted transformer output ("well" with some squealing). The current drawn from the 10k resistor is minimal.
GeordieBoy wrote ...
Closed-loop stability in current-limit mode is determined by the same criteria that are required for closed-loop stability in constant-voltage mode.
Well I don't know what are the criteria needed for closed-loop stability in constant voltage mode, do you have any links or online papers on the subject?
Registered Member #1232
Joined: Wed Jan 16 2008, 10:53PM
Location: Doon tha Toon!
Posts: 881
You would normally keep the current sense resistor small in value so it does not dissipate excessively due to the load current flowing through it. You also do not want the load current to flow through the 2k2 resistor down from the 18V low-voltage supply. If you s/c the output the instantaneous s/c current before the current-loop gets it under control will be forced through the LV supply which is not good.
Normal practice is to use two error-amplifiers with OR'ed outputs fed to the input of the PWM comparator. That is why the TL494 is set up like that. One error amplifier senses the output voltage, compares this to the setpoint and outputs an error signal to control the duty-ratio. The second error amplifier senses the output current, compares this to the I-limit setpoint and outputs an error signal to also control the duty-ratio. Whichever error amplifier commands the lowest duty ratio wins the fight and takes control of the PWM comparator.
Control loop compensation is a big topic and the exact design depends heavily on the power electronics. In short you want high gain around the control loop at DC for good regulation, a wide-bandwidth, and sufficient phase-margin up until the crossover frequency where the total gain around the loop falls off to unity. Control loop compensation is about placing poles and zeros in the feedback path in order to compensate or augment those already present in the behaviour of the power electronics. Feedback loops break into oscillation when this is got wrong, and there is either insufficient phase-margin or gain-margin.
If you do a search for the terms "feedback compenstion", "buck type-II compensation", "phase-margin" etc you will get a good start...
Some theory here:
And an excellent introduction to SMPS compensation for a buck converter here:
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.