Boost Converter
First we consider circuits that generate a DC output voltage from a DC input voltage. The boost converter is used to generate an output voltage that is higher than the input voltage. An inductor, a capacitor, a voltage source and switches are available for this.
First we charge an inductor with current. Then we discharge it into a capacitor. In this way, current flows into the capacitor again and again. Its voltage rises during these phases. When a load current flows out of the capacitor, its voltage falls again. The level of the output voltage is therefore determined by the difference between the current flowing into and out of the capacitor. The circuit of a boost converter looks like this:

Looking at the inductor
Let us ignore the load resistor and the capacitor for now. The circuit consists of a source U0, which corresponds to the pump in the water model. Just as the pump pumps water to a certain height, the ideal voltage source raises the potential above the source above ground potential. The DC voltage source builds up a DC voltage between its terminals. We define the potential at the bottom of the source as ground.
In the first case (state 1), switch 1 is closed and switch 2 is open. The source voltage U0 drops across the inductor. The current flows from the source through the inductor and switch 1 in a loop. The current in the inductor rises continuously. The current-carrying part of the circuit is highlighted in red. We assume that no current flows in the inductor at the start of the analysis.


The inductor is “charged” with current for 1 ms. To do this, state 1 is held for Δt = 1 ms. The current rises while the positive voltage of U = 100 V is applied to the inductor.
At t = 2 ms we switch over and change to state 2. Switch 1 is opened and switch 2 is closed. Now the capacitor comes into play. We continue to ignore the load resistor. The capacitor corresponds to the tank in the water model. Its “level” corresponds to the capacitor voltage. When current flows into the capacitor, its voltage rises.
As in the water circuit, we consider the case in which the tank has a higher level than the pump. So the capacitor is already charged to, for example, UC = 190 V. The value is chosen arbitrarily; at the end you will see where this leads. Let us look again at the circuit, voltages and currents:

The capacitor voltage is higher than the source voltage, so the inductor pushes the current “uphill”, so to speak. Energy is pushed from the inductor into the capacitor, which is why the current in the inductor falls from 100 A to 10 A in state 2. Throughout state 2 the inductor pushes current into the capacitor. The capacitor voltage rises.
Even this relatively simple circuit is complicated to calculate. We have to solve integral equations at the storage elements. This works quite well as long as the voltage and current being integrated are constant. That is not the case here, however. The capacitor voltage rises when the inductor pushes current into the capacitor. As a result, the inductor voltage changes during the integration; it is not actually constant as assumed above. The inductor current therefore falls somewhat less than assumed.
Taking the capacitor into account
The inductor current falls roughly linearly from 100 A to about 10 A. To calculate the rise in capacitor voltage, we have to set up a function and integrate it using an antiderivative. Let me work this out for you once:

The capacitor is charged by the inductor current from 190 V to 210 V. The example shows that the voltage across the inductor can easily jump from +100 V to -90 V. The current through the inductor, however, does not change abruptly but continuously.
But we are not finished yet. We now consider the load resistor RLast (load). It is connected in parallel with the capacitor. It represents a consumer in the model of the circuit. A consumer can be, for example, a heating element, a motor or a charger for an electric car. The consumer is modelled as an ohmic resistor. The relationship between voltage and current at the consumer therefore follows Ohm’s law.
The consumer draws current from the capacitor. To be able to calculate this more easily, we assume that the capacitor voltage is constant over time. We have just calculated that it is not constant, but we assume it for simplicity. The capacitor voltage averages 200 V. A resistor of RLast = 8 Ω thus draws a constant current of ILast = 25 A from the capacitor. Its voltage therefore falls continuously over time. We calculate the capacitor current from the node equation at the node above the capacitor:

On average over time, the resistor draws 25 A from the capacitor. During state 2, a mean current of about 50 A is pushed from the inductor to the capacitor. State 1 and state 2 last equally long. So on average over time, the current supplied equals the current drawn. The system is therefore stable, and the capacitor voltage and the load current are indeed approximately constant.
Simulation
It is clear that calculating the processes in the circuit by hand is quite complex. In addition, many assumptions had to be made for simplification. In such situations it makes sense to switch to a simulation and let it calculate how such a circuit works. I demonstrate this in LTspice, a freely available simulation software.
First we replace the ideal switches with real switches. The lower switch S1 is implemented as a MOSFET or IGBT. It has to be opened and closed actively. The second switch is implemented as a diode. It is switched by the current flow through the diode. Whenever S1 is closed, the diode is blocked (voltage direction). The inductor current then flows from the source through S1. If S1 is open, the inductor drives the current through the diode and opens it.
First the circuit diagram in LTspice:

On the left you can see the input source V1. It is followed by the inductor L1, the diode D1 and the load consisting of R1 and C1. The switch S1 is driven by a control source V2. Depending on the voltage of V2, S1 is open or closed.
The switch S1 is operated periodically. Every millisecond the circuit changes between state 1 and state 2. A PWM signal with f = 500 Hz is therefore used as the control source for switch S1.
The figure below shows the waveforms of the capacitor voltage and the inductor current in the steady state.

The left y-axis shows the voltage (blue) across the capacitor, the right y-axis the current (red) through the inductor. In the simulation, the current fluctuates triangularly between 0 A and 100 A; its mean value is 50 A. In the calculation it only fell from 100 A to 10 A in state 2, because we calculated with UC = 190 V instead of the mean value of 200 V. The capacitor voltage rises and falls between approx. 193 V and 204 V. The simulation takes into account that the load current continuously lowers the capacitor voltage.
The simulation takes into account all real effects that we neglected in the calculation. It is surprisingly similar to the calculation. So we have probably not made any gross error in either the simulation or the calculation.
A simulation must always be verified by a calculation or a measurement. Otherwise you have no chance of finding errors in the simulation. You must know the result approximately before the simulation. To do this, consider which quantities remain approximately constant and keep them constant for the calculation. This introduces an error, but not a large one. This works particularly well for quantities that vary around a mean value, such as the capacitor voltage in the example above. If the simulation ends up within about ±20 % of the calculated result, you have probably simulated correctly.
The capacitor
The role of the inductor as a flywheel became clear in the last chapter. What does the capacitor do in the circuit? In the water model, the capacitor represents a tank or water reservoir. If water is filled in (positive current), the level (voltage) rises. If water is taken out (negative current), the level (voltage) falls.
It behaves in every respect reciprocally to the inductor. At a capacitor, the voltage changes continuously, while the current can change abruptly. An inductor is used to smooth a current. With a capacitor we smooth a voltage.
Although the current into the capacitor is triangular, the voltage across the capacitor is relatively constant. The higher the capacitance of the capacitor, the smaller the change in voltage caused by the current. We have:
The larger C is, the less uC changes with the current iC. The voltage UC0, which was already present in the capacitor before the current flowed, then dominates the equation above.
The capacitor as a storage element decouples the inductor current from the load current. The inductor pushes current into the capacitor only in state 2. The load resistor continuously draws current from the capacitor. Whatever current is pushed back and forth, the voltage remains roughly constant.
Varying the control
So far we have run both states for equal lengths of time. If state 1 lasts longer and state 2 shorter, the current rises for longer than it falls. As a result, the inductor current increases. More current is pushed into the capacitor than is drawn out. The output voltage therefore rises. By varying the duration of the states, the level of the output voltage can be varied. You can simulate this or build it as a circuit. We do this in the lecture.
Summary
We have built a circuit from an inductor, a capacitor and switches that generates an output voltage for a load that is higher than the input voltage. To do this, we “charge” the inductor with current and then let it “discharge” into the capacitor. This changes the voltage of the capacitor.
Let us summarise the most important findings of this chapter:
1. Inductors behave like rotating flywheels with which charge is moved in circuits. Because of their inertia, the current through an inductor changes only continuously and only when a voltage is applied to the inductor from outside.
2. The inductor current rises when the voltage in the current direction is positive. This corresponds to water flowing downhill along the flywheel and thereby driving it. The inductor current falls when the voltage in the current direction is negative. This corresponds to water being pushed uphill by the flywheel and thereby braking it. The voltage across the inductor corresponds to the slope of the water.
3. With an inductor, a capacitor and two switches, a circuit can be built that generates a higher DC output voltage from a DC input voltage.
4. In a complex system we resort to simulation when the calculation becomes mathematically too difficult. We need rough calculations based on approximations to verify the simulation. For these estimates we treat only slowly varying quantities as constant.
The output voltage of the circuit is higher than the input voltage. We call this circuit topology a “boost converter”. By the duration of the states we can vary the level of the output voltage.