Voltage-Source Converter#
Model#
Figure 1 shows a three-phase two-level voltage-source converter, where \(\udc\) is the DC-bus voltage, \(\idc\) is the external DC current, and \(\Cdc\) is the DC-bus capacitance. The converter can operate both as an inverter and a rectifier, depending on the direction of the power flow. This model is provided in the motulator.drive.model.VoltageSourceConverter
class. It can be extended with a diode bridge model, see Six-Pulse Diode Bridge.
Figure 1: Three-phase two-level voltage-source converter. The negative potential of the DC bus is marked with N and the output terminals with a, b, and c.#
Figure 1: Three-phase two-level voltage-source converter. The negative potential of the DC bus is marked with N and the output terminals with a, b, and c.#
Assuming ideal transistors and diodes, the converter can be modeled with the equivalent circuit shown in Figure 2, in which the legs are modeled as bi-positional switches. Each changeover switch is connected to either negative or positive potential of the DC bus, and the switching phenomena are assumed to be infinitely fast. The state of each switch is defined using the switching state, which, using phase \(a\) as an example, is \(\qA = 0\) when the switch is connected to the negative potential and \(\qA = 1\) when the switch is connected to the positive potential.
Figure 2: Equivalent circuit of a three-phase voltage-source converter, connected to a generic three-phase load. The neutral point of the load is marked with n. In this example, the positions of the bi-positional switches correspond to the instantaneous switching states \(\qA = 1\), \(\qB = 0\), and \(\qC = 0\).#
Figure 2: Equivalent circuit of a three-phase voltage-source converter, connected to a generic three-phase load. The neutral point of the load is marked with n. In this example, the positions of the bi-positional switches correspond to the instantaneous switching states \(\qA = 1\), \(\qB = 0\), and \(\qC = 0\).#
By default, the DC-bus voltage is constant, i.e., the DC-bus capacitor is replaced with a constant DC voltage source. Alternatively, if the DC bus is fed from an external current source \(\idc\), the DC-bus dynamics are modeled as
where the converter-side DC current depends on the phase currents \(\iA\), \(\iB\), and \(\iC\) as
Carrier Comparison#
In pulse-width modulation (PWM), carrier comparison is commonly used to generate instantaneous switching state signals \(\qA\), \(\qB\), and \(\qC\) from duty ratios \(\dA\), \(\dB\), and \(\dC\). The duty ratios are continuous signals in the range [0, 1] while the switching states are either 0 or 1.
Figure 3 shows the principle of carrier comparison. The logic shown in the figure is implemented in the motulator.common.model.CarrierComparison
class, where the switching instants are explicitly computed in the beginning of each sampling period (instead of searching for zero crossings), allowing faster simulations. The sampling period \(\Ts\) is returned by the control method, and it does not need to be constant.
Figure 3: Carrier comparison. The duty ratios \(\dA\), \(\dB\), and \(\dC\) are constant over the sampling period \(\Ts\) (or, optionally, over the switching period \(\Tsw = 2\Ts\)). The carrier signal is the same for all three phases and varies between 0 and 1.#
Figure 3: Carrier comparison. The duty ratios \(\dA\), \(\dB\), and \(\dC\) are constant over the sampling period \(\Ts\) (or, optionally, over the switching period \(\Tsw = 2\Ts\)). The carrier signal is the same for all three phases and varies between 0 and 1.#
The zero-sequence voltage does not affect the phase currents if the neutral of the load is not connected. Therefore, the reference potential of the phase voltages can be freely chosen when computing the space vector of the converter output voltage. The converter voltage vector in stationary coordinates is
where \(\qcs\) is the switching-state space vector.
Note
The carrier comparison is compatible with all standard pulse-width modulation (PWM) methods, such as space-vector PWM (see motulator.common.control.PWM
) and discontinuous PWM [Hava et al., 1999, Holtz, 1994].
Switching-Cycle Averaging#
If the switching ripple is not of interest in simulations, the carrier comparison can be replaced with zero-order hold (ZOH) of the duty ratios. In this case, the output voltage vector is
where \(\dcs\) is the duty ratio space vector. This ZOH is the default option in most Drives and Grid Converters examples.