Switching regulator

From OpenCircuits
(Difference between revisions)
Jump to: navigation, search
(further reading: yet another "Switching power supply topology review")
(start a "history" section.)
(19 intermediate revisions by 3 users not shown)
Line 4: Line 4:
  
 
A "linear voltage regulator", usually called a "linear regulator", accomplishes the same goal by holding a transistor in its active region, somewhere between full on or full off.
 
A "linear voltage regulator", usually called a "linear regulator", accomplishes the same goal by holding a transistor in its active region, somewhere between full on or full off.
 +
[[Basic Voltage Regulators]] are generally linear regulators.
  
 
[[The 723 Voltage Regulator]] can be used as either a linear or a switching regulator.
 
[[The 723 Voltage Regulator]] can be used as either a linear or a switching regulator.
Line 12: Line 13:
  
 
The [[MCP1252/3]] Flyback Switching Regulators can generate an output voltage greater than the input voltage -- something impossible with linear voltage regulators.
 
The [[MCP1252/3]] Flyback Switching Regulators can generate an output voltage greater than the input voltage -- something impossible with linear voltage regulators.
 +
 +
The MC34063 is the favorite switching regulator IC of [http://electronics.stackexchange.com/questions/37214/what-is-the-standard-way-to-make-a-peltier-power-supply-with-variable-power/37225#37225 Russell McMahon].
 +
The [http://www.onsemi.com/pub_link/Collateral/MC34063A-D.PDF MC34063 datasheet]
 +
shows how to build a buck, boost, or switching SMPS with this 8-pin chip.
 +
(Several manufacturers produce pin-compatible MC34063 chips).
 +
 +
While learning about SMPS, teachers typically try to gradually ease you into understanding them by starting with perhaps the easiest-to-understand switching converter, the buck converter.
 +
Then they move on to the other "simple" converters than can be built using 1 inductor, 1 switch, 1 diode, and 1 capacitor (and some stuff that turns the switch on and off "appropriately"): the buck converter, the boost converter, and the inverting converter.
 +
Then they throw every equation even remotely related to SMPS at you, making them sound far more complicated than they really are.
 +
 +
In practice, it seems that many switchers are "flyback" converters -- although some people say that Cuk converters are better than flyback converters; some even go so far as to say that Cuk converters are the "optimum topology".
 +
 +
A [[maximum power point tracker]] has many similarities to a switching voltage regulator.
 +
 +
== dealing with over-current ==
 +
 +
A chain of components inside the switching regulator transfers power from its input to its output.
 +
One component along that chain is the weakest link -- there's only a limited amount of current it can handle before it permanently fails.
 +
(Usually that weakest link is the power transistor.)
 +
 +
If you gradually add more and more stuff to the output of the regulator, or if you suddenly short the output wires together, that is going to demand more power than that weak link can handle.
 +
 +
There are at least 4 ways of dealing with this fact:
 +
* ignore it, and be very, very careful that you never overload the output. (This is usually fine if the regulator and the device it powers are hard-wired to each other in a way that makes it difficult to add more stuff or short the outputs together).
 +
* design the regulator to measure the output current with some [[current sense]] method, and when it gets close to the current setpoint, the regulator automatically reduces the amount of power transferred to the output. When the output looks like a short circuit, allow exactly the setpoint current to flow. (current limit)
 +
* design the regulator to measures the output current, and if it ever goes even a tiny amount over the current setpoint, the regulator assumes something has gone horribly wrong, and automatically turns off all output power for a second or so.
 +
* foldback ... ''add description here''
 +
* Use a "intelligent switch"[http://www.st.com/ips][http://www.st.com/st-web-ui/static/active/en/resource/technical/document/application_note/CD00003916.pdf][http://www.irf.com/product-info/ips/] that automatically turns itself off if it gets too close to failure.
 +
 +
== history of switching power supplies ==
 +
 +
 +
"A key developer of switching power supplies was Robert Boschert, who quit his job and started building power supplies on his kitchen table in 1970."
 +
<ref>
 +
Ken Shirriff. [http://www.righto.com/2012/02/apple-didnt-revolutionize-power.html "Apple didn't revolutionize power supplies; new transistors did"].
 +
</ref>
 +
 +
 +
Rod Holt designed the switching power supply for the 1977 Apple II.
 +
1978 patent US4130862.
 +
  
 
== further reading ==
 
== further reading ==
  
 
* The [http://romanblack.com/smps/a04.htm 3-transistor Black regulator]: cheap, high-efficiency, current limited.
 
* The [http://romanblack.com/smps/a04.htm 3-transistor Black regulator]: cheap, high-efficiency, current limited.
 +
* [http://code.google.com/p/bicycleledpov/wiki/TestsToDcDcCircuitsAndIcs "Tests to find a good, simple and cheap DC-DC IC and circuit"] at the LadyAda bicycleledpov wiki.
 
* http://en.wikipedia.org/wiki/DC_to_DC_converter
 
* http://en.wikipedia.org/wiki/DC_to_DC_converter
 
* http://en.wikipedia.org/wiki/Switched-mode_power_supply
 
* http://en.wikipedia.org/wiki/Switched-mode_power_supply
* http://smps.us/ "SMPS SWITCHING POWER SUPPLY DESIGN CIRCUITS, SCHEMATICS, PCBs, ELECTRICAL ENGINEERING REFERENCE, SOFTWARE, AND OTHER FREE ONLINE RESOURCES" ... including http://smps.us/layout.html "PRINTED CIRCUIT BOARD LAYOUT GUIDELINES FOR SWITCHING POWER SUPPLIES (SMPS)"
+
* http://www.smps.us/ "SMPS SWITCHING POWER SUPPLY DESIGN CIRCUITS, SCHEMATICS, PCBs, ELECTRICAL ENGINEERING REFERENCE, SOFTWARE, AND OTHER FREE ONLINE RESOURCES" ... including http://www.smps.us/layout.html "PRINTED CIRCUIT BOARD LAYOUT GUIDELINES FOR SWITCHING POWER SUPPLIES (SMPS)"
 
* [http://massmind.org/techref/power.htm Massmind: Power] discusses a variety of linear and switching power supply regulators
 
* [http://massmind.org/techref/power.htm Massmind: Power] discusses a variety of linear and switching power supply regulators
 
* [http://zwizwa.goto10.org/ramblings/brood/20070716-191312 "boost converter hack"] describes one way a microcontroller (uC) can control its own supply voltage, once it's given an initial push. (External diodes would be better than re-using the internal diodes, to avoid exceeding the manufacturer's recommendations).
 
* [http://zwizwa.goto10.org/ramblings/brood/20070716-191312 "boost converter hack"] describes one way a microcontroller (uC) can control its own supply voltage, once it's given an initial push. (External diodes would be better than re-using the internal diodes, to avoid exceeding the manufacturer's recommendations).
Line 25: Line 68:
 
* [http://electronicdesign.com/Articles/ArticleID/15420/15420.html "Germanium Dual-Boost Starts At 260 mV"] by Clayton B. Grantham 2007
 
* [http://electronicdesign.com/Articles/ArticleID/15420/15420.html "Germanium Dual-Boost Starts At 260 mV"] by Clayton B. Grantham 2007
 
* [http://focus.ti.com/lit/ml/slup067/slup067.pdf "Switching power supply topology review"] by Lloyd H. Dixon, Jr. 2001
 
* [http://focus.ti.com/lit/ml/slup067/slup067.pdf "Switching power supply topology review"] by Lloyd H. Dixon, Jr. 2001
 +
* [http://www.national.com/onlineseminar/2001/bpease/switching_controllers.html National: "Designing DC-DC Power Supplies Using High Performance Switching Controllers"]
 +
* "High-voltage, low-noise dc/dc converters" http://www.edn.com/article/CA6582859.html?spacedesc=readersChoice and http://www.edn.com/blog/1700000170/post/440031844.html : has nice photos of dead-bug solid-copper-plane wiring style.
 +
* [http://www.ti.com/lit/wp/snva575/snva575.pdf "Comparing Topologies and the (Design) Rules of the Game"] by Sanjaya Maniktala 2002 ... emphasizes "r", the ripple factor, the ratio of the ripple in the inductor to the average current in the inductor, which applies to practically every SMPS topology. It describes "The formal design procedure for any converter design".
 +
* [http://www.dos4ever.com/battery/battery.html "An Electronic 90V Plate/Anode Battery: A "power"-inverter which emulates the 90V plate/anode battery for vintage battery tube receivers."] (battery powered) a web-log by Ronald Dekker. A very well documented series describing the entire process from the original idea. It seems that everyone who designs a switching regulator hits several unexpected problems, and this description does not shirk from describing the particular unexpected problems seen here.
 +
* Flemming Frandsen made a design (based on Bob Blick) that takes noisy car power (8 to 16 volts) and converts to clean, regulated 12 V power. (Its SEPIC topology can convert up and down). A shutdown circuit turns it off when you take the key out of your car.[http://dren.dk/carpower.html]
 +
* "Underestimating Complexity of Power Supply Design" http://www.smpstech.com/undest.htm
 +
* "Latchup of Constant-Power Load With Current-Limited Source" http://www.smpstech.com/latch000.htm
 +
* Donald V. Comiskey. "Practical Guidelines to Designing an EMI Compliant PoE Powered Device with Isolated Flyback"[http://www.ti.com/lit/an/slua469/slua469.pdf] (power over Ethernet; perhaps its tips for improving EMI also apply to other switching voltage regulators)
 +
* [http://www.freewebs.com/acselectronics/buildregs.html Chris's favorite switching regulator], build around a LM317 and some power transistors.
 +
* [http://electronics.stackexchange.com/questions/31018/how-do-the-tiny-ac-usb-power-supplies-work "How do the tiny AC->USB power supplies work?"]
 +
* [http://electronics.stackexchange.com/tags/power-supply/info Electronics stackexchange "power supply" tag wiki]
 +
* Lloyd H. Dixon, Jr. [http://www.ti.com/lit/ml/slup076/slup076.pdf "Design of Flyback Transformers and Filter Inductors: for switching power supplies"].
 +
* Lazar Rozenblat. [http://www.smps.us/ "Lazar's power electronics guide: SMPS switching power supply design basics: circuits, schematics, electrical engineering reference, software and other info"].
 +
 +
[[category:Components]]

Revision as of 21:34, 27 June 2015

A "voltage regulator" is designed to hold a constant output voltage.

A "switching voltage regulator", usually called a switching regulator, also called a DC to DC converter, accomplishes this goal by rapidly switching a transistor from full on and full off.

A "linear voltage regulator", usually called a "linear regulator", accomplishes the same goal by holding a transistor in its active region, somewhere between full on or full off. Basic Voltage Regulators are generally linear regulators.

The 723 Voltage Regulator can be used as either a linear or a switching regulator.

The Linuxstamp uses a the LTC3407-3 switching regulator.

The ARMUS Embedded Linux Board uses ...

The MCP1252/3 Flyback Switching Regulators can generate an output voltage greater than the input voltage -- something impossible with linear voltage regulators.

The MC34063 is the favorite switching regulator IC of Russell McMahon. The MC34063 datasheet shows how to build a buck, boost, or switching SMPS with this 8-pin chip. (Several manufacturers produce pin-compatible MC34063 chips).

While learning about SMPS, teachers typically try to gradually ease you into understanding them by starting with perhaps the easiest-to-understand switching converter, the buck converter. Then they move on to the other "simple" converters than can be built using 1 inductor, 1 switch, 1 diode, and 1 capacitor (and some stuff that turns the switch on and off "appropriately"): the buck converter, the boost converter, and the inverting converter. Then they throw every equation even remotely related to SMPS at you, making them sound far more complicated than they really are.

In practice, it seems that many switchers are "flyback" converters -- although some people say that Cuk converters are better than flyback converters; some even go so far as to say that Cuk converters are the "optimum topology".

A maximum power point tracker has many similarities to a switching voltage regulator.

dealing with over-current

A chain of components inside the switching regulator transfers power from its input to its output. One component along that chain is the weakest link -- there's only a limited amount of current it can handle before it permanently fails. (Usually that weakest link is the power transistor.)

If you gradually add more and more stuff to the output of the regulator, or if you suddenly short the output wires together, that is going to demand more power than that weak link can handle.

There are at least 4 ways of dealing with this fact:

  • ignore it, and be very, very careful that you never overload the output. (This is usually fine if the regulator and the device it powers are hard-wired to each other in a way that makes it difficult to add more stuff or short the outputs together).
  • design the regulator to measure the output current with some current sense method, and when it gets close to the current setpoint, the regulator automatically reduces the amount of power transferred to the output. When the output looks like a short circuit, allow exactly the setpoint current to flow. (current limit)
  • design the regulator to measures the output current, and if it ever goes even a tiny amount over the current setpoint, the regulator assumes something has gone horribly wrong, and automatically turns off all output power for a second or so.
  • foldback ... add description here
  • Use a "intelligent switch"[1][2][3] that automatically turns itself off if it gets too close to failure.

history of switching power supplies

"A key developer of switching power supplies was Robert Boschert, who quit his job and started building power supplies on his kitchen table in 1970." <ref> Ken Shirriff. "Apple didn't revolutionize power supplies; new transistors did". </ref>


Rod Holt designed the switching power supply for the 1977 Apple II. 1978 patent US4130862.


further reading

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox