Four-Quadrant Converter
Boost converters and buck converters are two examples of power converters. Both have a positive output voltage and a positive output current into the load. We want to generalise this and be able to set voltages and currents freely.
Where are adjustable voltages and currents used? For example in electric drives. The drive torque is generally proportional to the current through an electrical machine. The voltage is generally proportional to the speed of the machine. So to accelerate a machine at positive speed, we need positive current. To brake it, we need negative current. This is explained in more detail in general terms in the following figure of the four quadrants.

In the upper left figure, current and voltage at a load are plotted against each other. Correspondingly, the right figure plots the drive torque M against the speed n. Four regions are distinguished:
In the first quadrant at the top right, voltage and current are both positive. The power is therefore also positive. For the drive of an electric car, speed and torque are both positive in this quadrant. So the car is driving forwards and accelerating.
In the second quadrant at the top left, the voltage is negative and the current is positive. The power is therefore negative. For the drive of an electric car, the speed is negative and the torque is positive. The car is driving backwards and braking.
In the third quadrant at the bottom left, voltage and current are negative. The power is therefore positive. For the drive of an electric car, speed and torque are negative. The car is driving backwards and accelerating.
In the fourth quadrant at the bottom right, the voltage is positive and the current is negative. The power is therefore negative. For the drive of an electric car, the speed is positive and the torque is negative. The car is driving forwards and braking.
The four-quadrant converter (4QS) is able to set both voltage and current at a load to positive and negative values. If you use it to control a drive, the vehicle can therefore drive forwards and backwards and accelerate or brake in both directions. The following figure shows the circuit of a 4QS:

The symbol of a motor is drawn as the load. You can also connect other loads to a 4QS. A voltage drops across the load and a current flows through the load. The directions of voltage and current at the load point the same way. The load is not connected to ground. It hangs between the midpoints of switches. The load generally contains at least one inductance.
Setting the load voltage
Let us look at the switch pairs S1 / S2 and S3 / S4. They are always switched in opposition. If S1 is closed, S2 is always open. If S4 is closed, S3 is open, and so on. If S1 and S2 were closed at the same time, we would have short-circuited the source and something would break. If S3 and S4 were both open, the current in the inductance could not continue to flow and something would break. So one of the switches within a pair is always open and the other closed.
We further assume that the switch pairs are controlled with a PWM. When the PWM signal is HIGH, the lower switch of each pair is closed and the upper switch is open. When the PWM signal is LOW, the lower switch of each pair is open and the upper switch is closed.
For simplicity, we further assume that switches S1 and S4 and switches S2 and S3 always open and close at the same time. We then obtain the following switching patterns:

In the left figure, S1 connects the left side of the load to the positive terminal of the source. S4 connects the right side of the load to the negative source terminal. This gives us a positive load voltage. In the right figure, the load voltage is negative, because S2 connects the left side of the load to the lower source terminal and S3 connects the right side of the load to the upper source terminal. Depending on the switch positions, the load can therefore only take two voltages.
The duty cycle of the PWM specifies how long the midpoint between two switches is at ground and how long it is at source potential. Let us assume that the PWM signals for controlling both switch pairs each had a duty cycle of 50%. Then the midpoints between switches S1 / S2 and S3 / S4 would each be at ground 50% of the time and at source potential 50% of the time.
In the short term, the load voltage equals the positive or negative source voltage. On average over time – i.e. viewed over a longer period – half the source voltage would be present on each side of the load, left and right. The voltage across the load is determined from the difference between the midpoint voltages. On average over time it is then 0V.

The load hangs between the two nodes. If the potential on the right rises and the potential on the left falls, the voltage across the load is negative. For this, the duty cycle of the PWM controlling the right switches S3 / S4 must rise and that controlling the left switches S1 / S2 must fall. If the potential on the right falls and the left potential rises, the voltage across the load is positive. The duty cycles of the control must rise or fall accordingly so that the mean voltage rises or falls.
In this way the mean voltage across the load can become positive or negative. This mean value can take any value between the positive and the negative source voltage. Here are a few examples:
We have thus reached the first goal: the voltage across the load can be positive and negative – at least on average over time. The magnitude of the voltage can be set freely up to the level of the source voltage.
Time ranges
With the 4QS we consider two different time ranges. Let us look at an example: a load consisting of an inductor needs a continuous mean current of 100A for 5 minutes. Once this current is flowing, the load voltage should be 0V on average so that the inductor current neither rises nor falls. Looking at the mean value of the voltage means looking at a rather long time span in the range of minutes.
We can only set the load voltage via the two PWM voltages to the left and right of the load. If the PWM frequency is, for example, 5kHz, the load voltage changes several times per millisecond. This means looking at a short time span in the range of some 10 microseconds.
The first, long time range of the mean quantities is important for specifying the operating voltage and operating current. The second, short time range of the PWM is considered for commutation and for determining the current ripple.
Setting the load current
As an example we consider a load that consists only of an inductor with the inductance L = 100µH. A mean current of 100A is already flowing in the inductor. The load current through the inductor is determined by the inductor voltage. The load voltage (inductor voltage) leads to a change in the inductor current.
Let us first look at the load current in the PWM time range. We set the PWM for control on both sides of the load to 50% so that the current does not change on average. The PWM is switched in opposition, so that there is always 0V to the left of the load when there is 100V to the right of the load. The result is the following waveform of the potentials to the left and right of the load (top two rows):

The load voltage, as the difference of the potentials, is shown in blue in the third row. The voltage changes between -100V and 100V. On average over time this voltage is 0V. Below it, the current is shown in red. It is calculated as follows:
The current in the inductor fluctuates between 90A and 100A if it starts at 100A and the current change during the PWM is ±10A. So the mean current here is actually 95A.
Now let us look at the long time range of the mean values. If the mean load voltage is 0V, the inductor current does not change. With a positive mean load voltage, the load current rises. If a positive load current IL0 is already flowing through the inductor and the load voltage uLast(t) is positive, the inductor current continues to rise. If the load voltage is negative, the current falls. It can even fall so far that it becomes negative. For this, the mean load voltage only has to have been negative for long enough. Let us look at the case of a load voltage that is negative on average, in which the current falls. For this I switch back to the PWM time range:
If the load voltage is negative on average over time, a negative voltage is applied to the inductor for longer than a positive one. In the case above, -100V is applied for 19µs and +100V for only 1µs. That is why the current falls. If the current starts at +20A, it becomes negative within a short time. So via the load voltage we can also set the load current to positive or negative values.
With the 4QS we have thus reached our goal: voltage and current can each be positive or negative. The current can also take any value that the source can deliver. However, voltage and current do not change independently of each other. A positive mean voltage always leads to a rising current over time. A negative mean voltage leads to a falling current over time.
Exercise: Think about how you can obtain a negative load current with a positive load voltage. Is this possible for a long time, or only briefly?
Then think about how you can make the system more sluggish. How can you make the current change less strongly over time?
Freewheeling
If the two upper switches S1 and S3 are closed and the lower switches S2 and S4 are open, no voltage drops across the load. The same applies if the two lower switches are closed and the upper ones are open. This operating point is called “freewheeling”. Because no load voltage occurs during freewheeling, the load current remains constant. It then circulates through the load and the two closed switches. The upper figure shows freewheeling via the two upper switches. The lower circuit shows freewheeling via the two lower switches:

You can switch in freewheeling briefly at the rhythm of the PWM frequency. This makes the PWM somewhat more flexible, because the load voltage can now take three values (0V, positive and negative source voltage).
You can also keep freewheeling switched on for a long time and thus leave PWM operation. In practice, however, electrical energy is always converted into heat during freewheeling, so that the current falls. This is because the switches always have a residual voltage in the closed state, which reduces the inductor current. That is why freewheeling can in practice only ever be used for a limited time.
In the 4QS, exactly two switches must always be open and two switches closed. Otherwise either the inductor current can no longer flow or the source is short-circuited. With freewheeling and the opposing operation from the beginning of the chapter, we have thus considered all possible switch positions.
Buffer capacitor
A capacitor with a high capacitance is usually installed in parallel with the source. Its main purpose is to reduce overvoltages at the switches. You will learn about this a little later in this tutorial. But it also helps the sometimes sluggish source by being able to provide current for a short time.
The mean current over a long time is provided by the source. The current for commutation from one switch to the other is taken from the capacitor. For this, let us look at the current flow when the PWM switches over:

In the left figure, S1 and S4 are closed. In the right figure, S2 and S3 are closed. The current through the inductor is positive on average, so it always flows in the direction shown, from left to right. Its value changes only insignificantly during a PWM period, because the inductor keeps it almost constant. The load voltage is positive, so the current rises slightly.
Let us look at the current at the capacitor. In the left figure, this current flows out of the capacitor at the top and back into the capacitor at the bottom. The capacitor voltage therefore falls.
In the right figure, the load voltage is briefly negative, but the mean current is still positive. It falls slightly for a short time, but the mean direction of current flow is maintained by the inertia of the inductor. For the capacitor this means that its current direction reverses. The current now flows into the capacitor at the top and out again at the bottom. The capacitor voltage rises.
The direction of current flow at the capacitor changes with every switchover. As a charge store, it is designed precisely for this operation. With every commutation the capacitor is briefly charged and discharged again.
Should more current be taken from the capacitor on average than flows into it, its voltage falls over a longer time range. This difference is compensated by the battery. The battery is connected in parallel with the capacitor, so both voltages are theoretically equal. In practice, the sluggish battery cannot react quickly enough to compensate every short voltage change at the capacitor. The cell chemistry is too slow for that. It only ensures that, on average, the voltage across the capacitor equals the battery voltage.
Let us look at the processes using the water model: a flywheel (inductor) drives a mean water flow from left to right. With the PWM you repeatedly change the gradient of the water at the inductor for very short times. The gradient is sometimes positive and sometimes negative. Because of the inertia of the flywheel, the mean water flow is fairly unaffected by this. The short changes in gradient lead only to small changes in the amount of water that is conveyed from left to right on average.
The water flowing to the flywheel is led to it via two paths that can be switched over. Never do both paths carry water, only ever one. On one path, water is taken from a reservoir. This lowers its level. On the other path, water is fed into the reservoir. This raises its level.
Water is alternately taken from this very large reservoir and then refilled again. The level of the bucket changes little as a result, because it has a large base area relative to the change in the amount of water. In the same way, the voltage across the capacitor changes only a little if its capacitance is large compared with the current it has to deliver.
Exercise:Think about in which switch position the capacitor is charged and discharged if the current flows through the load the other way round on average.
Chopper
In this subsection we consider only mean values of voltage and current. In the four quadrants we distinguish four combinations of the directions of voltage and current at the load. What is interesting here is whether the source has to deliver power or absorb power in each case.
When the mean power is negative, current flows from the load back into the source. This is the case, for example, when an electric car recuperates. The speed of the machine is positive, because the car is driving forwards. The voltage across the machine is therefore positive. The load current, however, is negative, because the machine is operated as a generator. In an electric car, the recuperation load current is fed back into the battery. The current into the source is always negative during recuperation.
This sometimes causes problems. If the source (i.e. the battery in an electric car) cannot absorb the current, for example because it is full, the DC voltage across the buffer capacitor rises sharply. The energy has to go somewhere. If you operate a load on the grid and the load recuperates, the energy is absorbed by the grid. If the grid fails briefly, the input voltage rises so much that something breaks.
Choppers are used for this case. Choppers are networks that are connected in parallel with the battery and can conduct current when required. The chopper absorbs the recuperation current when required.
Choppers usually contain an ohmic resistor that ensures that energy is taken from the system. This means that, for example, a drive slowly comes to a stop. In the resistor, electrical energy is converted into heat. Energy is thus quickly removed from the system. Since choppers are only activated in the event of a fault / problem, removing energy (and thus braking an electric car) is often the right decision.
The fault “there is too much energy in the system because the source cannot absorb any more” shows up as a steep rise in the voltage at the source. If an overvoltage is detected here, the chopper is activated. The chopper is switched in via a switch (S5).

The time range of mean voltages and currents is served by the battery. The PWM time range in microseconds is ignored by the source and supplied by the buffer capacitor. The considerations about the direction of current at the battery apply only to the mean current, not to currents that briefly flow back towards the source / capacitor because of commutation.
Classification
Power converters are classified according to the number of phases and the number of quadrants they can operate in. So far we have only met power converters with a single load phase. You can operate several power converters in parallel and then also drive more load phases. There are also power converters that can only operate in two quadrants. In these, switches S3 and S4 are missing. Boost converters and buck converters can only operate in two quadrants, because they cannot generate negative voltages.
The following convention is used for naming power converters: