modelSinglephaseInverter

Single phase AC/DC inverter

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Here the enhance single phase PLL is tested at the output voltages of a single phase PWM inverter. Note that there are distortions present at the outputs but keep in mind that normally such a PWM inverter is used with a line inductor, the voltage to synchronize with is measured at the input of the line inductor and this voltage contains less harmonics than the voltage directly at the input of the H-bridge.

Parameters

TypeNameDefaultDescription
SI.Frequencyfac50AC nominal frequency
SI.VoltageVac100AC nominal voltage rms
SI.FrequencyfRef50Reference frequency
SI.VoltageVRefsqrt(2)*Vac*fRef/facReference voltage amplitude
SI.VoltageVdc2/pi*sqrt(2)*VacDC voltage
SI.Frequencyfsw5e3Switching frequency

Components

TypeNameDefaultDescription
Modelica.Electrical.Analog.Basic.Groundground
PowerElectronics.HBridgeinverter
PowerElectronics.BipolarPWMbipolarPWM
Modelica.Electrical.Analog.Sources.ConstantVoltageconstantVoltage
Modelica.Electrical.Analog.Sensors.VoltageSensorvoltageSensor
Modelica.Blocks.Math.Harmonicharmonic
Modelica.Blocks.Sources.Cosinecosine
Components.Enhanced1phasePLLenhanced1phasePLL