Switching regulator
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[edit]
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: To avoid permanent damage,
- 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).
- brick-wall current limit, often called current limit: 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.
- Latch-off mode protection: 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 indefinitely (until the input power is cycled).
- Current fold-back limiting, often called "foldback": limits the short circuit current to a very small value, half or less of the rated load current. Foldback reduces the output current linearly as output voltage decreases. ('What is "foldback short circuit protection" in a power supply?')("Know Your Limits: TI application report")
- Use a "intelligent switch"[1][2][3] that automatically turns itself off if it gets too close to failure.
history of switching power supplies[edit]
"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[edit]
- The 3-transistor Black regulator: cheap, high-efficiency, current limited.
- The "Stupid Boost Converter": cheap, simple, boost regulator using the 555 IC. convert about 100ma of 3.6V DC power to about 50-60ma of current at 5V. Tyler Montbriand.
- "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/Switched-mode_power_supply
- 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)"
- Massmind: Power discusses a variety of linear and switching power supply regulators
- "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).
- "AC DC Switch Mode Supply Controller Via PSoC" discusses programmable current source switching mode controllers.
- "JFET-based dc/dc converter operates from 300-mV supply" by Jim Williams 2006
- "Germanium Dual-Boost Starts At 260 mV" by Clayton B. Grantham 2007
- "Switching power supply topology review" by Lloyd H. Dixon, Jr. 2001
- 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.
- "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".
- "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.[4]
- "Underestimating Complexity of Power Supply Design" https://web.archive.org/web/20170627055906/http://www.smpstech.com/undest.htm
- "Latchup of Constant-Power Load With Current-Limited Source" https://web.archive.org/web/20181231030919/http://www.smpstech.com/latch000.htm
- Donald V. Comiskey. "Practical Guidelines to Designing an EMI Compliant PoE Powered Device with Isolated Flyback"[5] (power over Ethernet; perhaps its tips for improving EMI also apply to other switching voltage regulators)
- Chris's favorite switching regulator, build around a LM317 and some power transistors.
- "How do the tiny AC->USB power supplies work?"
- Electronics stackexchange "power supply" tag wiki
- Lloyd H. Dixon, Jr. "Design of Flyback Transformers and Filter Inductors: for switching power supplies".
- Lazar Rozenblat. "Lazar's power electronics guide: SMPS switching power supply design basics: circuits, schematics, electrical engineering reference, software and other info".
- "Linear and Switching Voltage Regulator Fundamental Part 1: TI SNVA558"
- "Buck switching regulator based on ATtiny84a — please critique!"