Buck Converter
To understand the behaviour of inductors and switches in real applications, let us look at another example application: the buck converter. The output voltage of the buck converter is lower than the input voltage. The circuit of a buck converter looks like this:

The values of the load resistor, capacitor and inductor are chosen so that the circuit behaves peacefully. We will change the values in the lecture and see what happens.
Let us anticipate the result: the circuit is to halve the input voltage. The output voltage should therefore be 100V when the input voltage is 200V. With these assumptions we can now calculate voltages and currents. How we change the value of the output voltage by controlling the switches is something you will learn in the lecture.
For current to flow continuously through the inductor, one of the two switches must always be closed. Let us first look at state 1, in which switch S1 is closed and S2 is open. The current flows through the upper switch from the source into the load. The current-carrying lines are highlighted in red.

Next, let us look at state 2, in which the upper switch is open and the lower one is closed.

The capacitor ensures that the voltage across the load stays roughly constant. We pretend that the voltage across the load remains completely unchanged so that we can calculate more easily. Switching then only changes the inductor voltage. We assume that the current in the inductor does not change, even though different voltages are applied to the inductor. So once again we simplify in order to be able to calculate at all.
We now operate the system 50% of the time in state 1 and 50% of the time in state 2. Half of the time the load current comes from the source via S1. The other half of the time the load current circulates via S2. For the example we assume that each state is held for t = 1ms.
To calculate the current, we look at the voltage across the inductor. With a negative voltage the inductor current falls, with a positive voltage the inductor current rises. The following applies:
The current rises and falls by ±10A when ±100V is applied to the inductor for 1ms.
Let us look at the simulation. We replace the ideal switches with real switches. The upper switch S1 is switched actively. When S1 is closed, the current flows from the source through S1 and the inductor into the load. The lower switch is implemented as a diode. It takes over the current as soon as S1 is open. The current then flows from the diode through the inductor into the load.
The waveforms of voltage and current over time look like this:


The mean current of approx. 100A results in an output voltage of 100V across the load resistor of R = 1Ω. The capacitor smooths the output voltage. The current changes from 95A to 105A, i.e. by ±10A.
Control
As with the boost converter, the level of the output voltage of the buck converter also changes when the duration of the two states is varied. The longer state 1 is – and thus the shorter state 2 is – the greater the output voltage.