diff --git a/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_InverterDrive.mo b/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_InverterDrive.mo index 085ef79b15..70246d5655 100644 --- a/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_InverterDrive.mo +++ b/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_InverterDrive.mo @@ -5,23 +5,27 @@ model IMC_InverterDrive import Modelica.Constants.pi; import Modelica.Electrical.Polyphase.Functions.factorY2DC; constant Integer m=3 "Number of phases"; - parameter SI.Voltage VNominal=400 - "Nominal RMS voltage per phase"; - parameter SI.Frequency fNominal=50 "Nominal frequency"; + parameter SI.Frequency fGrid=50 "Grid frequency"; + parameter SI.Voltage V_LL=400 "RMS line-to-line grid voltage"; + parameter SI.Voltage V_DC=sqrt(2)*V_LL*3/pi "DC voltage (six-pulse) w/o voltage drop"; + parameter SI.Voltage V_max=2/3*V_DC*cos(pi/6) "Maximum space vector (incircle of hexagon)"; + parameter SI.Voltage VNominal=400 "Nominal RMS voltage per machine phase (D)"; + parameter SI.Frequency fNominal=50 "Nominal frequency of machine"; parameter SI.Resistance RGrid=10e-3 "Grid choke resistance"; - parameter SI.Inductance LGrid=500e-6 "Grid choke inductance"; - parameter SI.Voltage VDC=factorY2DC(m)*VNominal/sqrt(3) "Theoretical DC voltage"; + parameter SI.Inductance LGrid=250e-6 "Grid choke inductance"; parameter SI.Capacitance CDC=5e-3 "DC capacitor"; + parameter SI.Frequency fSwitch=2000 "Switching frequency"; parameter SI.Torque TLoad=161.4 "Nominal load torque"; parameter SI.AngularVelocity wLoad=Modelica.Units.Conversions.from_rpm(1440.45) "Nominal load speed"; parameter SI.Inertia JLoad=0.29 "Load's moment of inertia"; + output SI.Voltage vDC=capacitor.v "DC voltage"; Polyphase.Sources.SineVoltage sineVoltage( final m=m, final phase=-Modelica.Electrical.Polyphase.Functions.symmetricOrientation(m), - final f=fill(fNominal, m), + final f=fill(fGrid, m), final offset=zeros(m), final startTime=zeros(m), - final V=fill(VNominal*sqrt(2/3), m)) + final V=fill(V_LL*sqrt(2/3), m)) annotation (Placement(transformation( extent={{-10,-10},{10,10}}, rotation=270, @@ -57,7 +61,7 @@ model IMC_InverterDrive PowerConverters.ACDC.DiodeBridge2mPulse rectifier(RonDiode=1e-4, GoffDiode= 1e-4) annotation (Placement(transformation(extent={{-68,60},{-48,80}}))); - Analog.Basic.Capacitor capacitor(v(fixed=true, start=VDC), C=CDC) + Analog.Basic.Capacitor capacitor(v(fixed=true, start=V_DC),C=CDC) annotation (Placement(transformation( extent={{-10,-10},{10,10}}, rotation=270, @@ -114,7 +118,8 @@ model IMC_InverterDrive TorqueDirection=false, w_nominal=wLoad) annotation (Placement(transformation(extent={{100,-40},{80,-20}}))); - Modelica.Blocks.Sources.Ramp ramp(height=fNominal, + Modelica.Blocks.Sources.Ramp ramp( + height=fNominal, startTime=0, duration=1.2) annotation ( @@ -122,7 +127,7 @@ model IMC_InverterDrive origin={-20,-50}))); Machines.Utilities.VfController vfController( final m=m, - VNominal=VNominal, + VNominal=VNominal/sqrt(3), fNominal=fNominal, EconomyMode=true) annotation (Placement(transformation( extent={{-10,-10},{10,10}}, @@ -133,7 +138,9 @@ model IMC_InverterDrive annotation (Placement(transformation(extent={{-10,-10},{10,10}}, rotation=90, origin={0,10}))); - PowerConverters.DCAC.Control.PWM pwm(uMax=VDC, f=2000) + PowerConverters.DCAC.Control.PWM pwm( + pwmType=Modelica.Electrical.PowerConverters.Types.PWMType.SVPWM, + uMax=V_max, f=fSwitch) annotation (Placement(transformation(extent={{-10,-10},{10,10}}, rotation=90, origin={0,40}))); @@ -207,8 +214,24 @@ This is a model of a complete inverter drive comprising:
Please note: Be patient, two switching devices cause many event iterations which cost performance.
-Note that due to the voltage drop the voltage at the machine can't reach the full voltage which means torque reduction.
-Default machine parameters are adapted to nominal phase voltage 400 V and nominal phase current 25 A.
+
+Default machine parameters are adapted to nominal phase voltage 400 V (delta connection) and nominal phase current 25 A.
+Be patient, two switching devices cause many event iterations which cost performance.
+
+The DC voltage which shows a ripple with a frequency of six times the grid frequency.
+The average is too low to reach the full nominal voltage at the machine, even with space vector PWM.
+Additonally the voltage drop at the grid lowers the DC voltage.
+The machine can't reach nominal speed and draws a higher current.
+Using intersective PWM, the DC voltage is lower by a factor 3/π than with SVPWM.
+The machine's speed is even lower and the current consumption higher.
+
+A comparison of results obtained with SVPWM and intersective PWM will show remarkable dofferences,
+e.g. when looking at the rotor frequency (aimc.airGap.psi_mr[]).
+
+Additional measures like injection of third harmonic would imporve the result of intersective PWM.
+An active grid rectifier would lead to a nearly perfect result, since the DC voltage can be controlled.
+