When I design a field instrument, I need to consider the power supply as well … actually the power supply needs to be considered an integral part of the system, not simply a matter of “VDD goes here, GND goes there”.
So this led to a few years spending my time developing switching regulators for a couple of major semiconductor companies and start-ups in San Jose. I don’t like using switching regulators with precision measurement instruments … but sometimes that’s the way it goes – and they can/should be used as “pre-regulators”.
So I can drop the battery voltage down with a buck converter; sometimes I bump it up with a boost converter. Sometimes the situation calls for SEPIC converter. In any case, power in is not quite power out. A linear regulator – while “cleaner” than a switcher – is not power efficient. One method to cut power losses is the switching regulator.
So … the topic gets complex enough to justify a textbook length article – I’m only going to talk about a basic boost converter.
The basic concept may be explained with the following network:
When the switch is closed, current flows through the inductor, charging the magnetic field. The diode is reverse biased (Vin < (Vout + VD) so the output is effectively disconnected from the input.
When the switch opens, the magnetic energy stored in the inductor is now released through the diode to the capacitor and load.
Both the load current and voltage have ripple components – ripple is necessary for the operation of the network – and a detriment for quiet systems.
Ideally, the boost converter provides an output of:
The duty cycle is defined by the ratio of to
(I don’t understand some people; I’ve had design requests from those who thought duty-cycle is independent of input/output voltages)
The following relationship exists between D and V for = 1:
A 5V input is common …
The shape of the response remains the same as expected. It should be obvious that duty cycles above 0.8 or so may lead to control issues. A 12V output requires a duty-cycle of 0.58. The design process allows for some variation …
We know “ideal” doesn’t cut it … if nothing else, I’ll have finite losses in the switch and diode. The switch will likely be a MOS device and the voltage drop between source and drain may be lower than 0.2 V; the diode will likely be a Schottky device with a drop of about 0.3 V. The diode should be a fast-recovery device.
So, some basic expressions to start:
For rectangular pulse of width t:
The current is a ramp of slope V/L such that:
During the ON period:
During the OFF period:
In steady-state, = . Equating ripple current terms:
Re-arranging terms:
Noting that = and = :
gives the result:
For the Vout = 12V example, assume the diode drop is 0.3V and switch drop 0.2V. The actual output voltage becomes:
The duty cycle would need to be bumped up to 0.60 to account for diode and switching losses.
The output ripple voltage is partially defined by the equivalent series resistance (ESR) of the output capacitor:
The duty-cycle is still expressed in terms of voltages:
The output voltage is non-linearly related to the duty cycle. There is an increasing sensitivity to duty-cycle as the boost ratio increases. This may decrease regulation if variations of the duty-cycle become significant.
This is all well and good but the question remains about component values; the inductor being most critical. Since the input and output voltages as well as load current are usually mandated by the project requirements, the allowable degree of ripple current is the only free parameter; the inductor value is constrained by these other parameters. Small ripple requires a large inductance; a smaller inductance results in increased ripple. Large ripple increases the peak current … which increases stress on the switch and requires an inductor with a larger saturation capability. The inductor needs sufficient rating to handle both the resulting rms and saturation currents.
This circuit operates most efficiently with fixed or minimally varying loads. It also requires a “minimum” load. If the load becomes light enough, the circuit enters a “discontinuous-mode” where the inductor becomes fully discharged. When the load increases, the inductor needs to recharge which temporarily upsets network stability.
Should this be the situation, the inductor should be sized such that the ripple current is at least twice the minimum load current. This will assure continuous-mode operation under all loads.
The minimum inductance value can be selected as:
For example, for a 5V input and 12V output, the duty cycle would be . With a load current of 50 mA, a clock frequency of 100 kHz, and an assumed diode voltage drop of 0.4 V, the minimum inductance would be 617 H.
At this low a current level, it may be beneficial to raise the clock frequency … physical inductors are awkward, usually not able to be integrated on a die at these frequencies, and can get physically large for low frequency, high current applications. The usual procedure would be to “get close” in design values, then find a feasible component and adjust the frequency – available inductors don’t have the variety that capacitors and resistors do … and you really would prefer to not be in a position where you need to wind your own.
(Though – if need be … I have a custom-wound toroid sample laying around that didn’t quite work out.)
The inductor value is found to be:
The ripple current is:
An ESR value of 150 mΩ is not unreasonable for this type of capacitor:
From which the necessary capacitance is determined:
I plopped some parts and numbers together in a simulation circuit. I used a 2N7002 NMOS for the switch and a BAT54 Schottky diode. A 240 Ω resistor is appropriate for 12V and 50 mA. The switching clock period was 10 μs and the ON time was 5.83 μs. The steady- state results are shown below.
Top trace (CYN) is load current. Average and rms values are both 46.2 mA [50 mA]
2nd trace down (MAG) is diode voltage. Forward voltage is 548 mV [500 mV]
Middle trace (GRN) is inductor/switch node. Minimum voltage is 241 mV [0]
RED trace is control voltage as defined. Shown as reference.
Bottom trace (BLU) is output voltage. Average and rms values are both 11.1 V [12 V]
Not too bad for a quicky put-together. The output voltage is a bit low but the diode loss was a snidge higher than expected and the MOS ON voltage was not taken into account. A bit of undesired spiking at the transitions but I used unrealistic control rise and fall times. A bit more effort and selection of parts would refine this circuit to the operation desired.
Feedback is normally applied to the CLK generator but that’s a topic for a different time.
That’s good for now …