modelMotorComparisonLzero

Test setup to compare the effect of Lzero

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

Information

This model is used to compare the stator frame PMSM model with the model from the MSL.

Play around with the coupling coefficient m_k and observe the impact on the motor currents.

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
Integerppz6Motor pairs of poles
Modelica.SIunits.ResistanceR_p0.33/2Motor per phase resistance
Modelica.SIunits.InductanceL_p3.5e-5/2Motor per phase inductance
Realm_k0.5Mutual coupling coefficient
Modelica.Electrical.Machines.Utilities.SynchronousMachineDatasmeeData

Components

TypeNameDefaultDescription
Sensors.HallDigital123hallDigital123
Modelica.Mechanics.Rotational.Sources.ConstantSpeedconstantSpeed
Modelica.Mechanics.Rotational.Components.Fixedfixed
Blocks.HallDecodehallDecode
Modelica.Electrical.Analog.Basic.Groundground1
Machines.PMSMmpMSM_run
Modelica.Electrical.Analog.Ideal.IdealClosingSwitchswitch1b
Modelica.Electrical.Analog.Ideal.IdealClosingSwitchswitch1c
Modelica.Electrical.Analog.Ideal.IdealClosingSwitchswitch1a
Modelica.Electrical.Analog.Ideal.IdealClosingSwitchswitch2b
Modelica.Electrical.Analog.Ideal.IdealClosingSwitchswitch2c
Modelica.Electrical.Analog.Ideal.IdealClosingSwitchswitch2a
Modelica.Blocks.Sources.BooleanPulsebooleanStep
Machines.SM_PermanentMagnet_WRPsM_PermanentMagnet_WRP1
Modelica.Electrical.Analog.Sources.ConstantVoltageconstantVoltage
Modelica.Electrical.Analog.Ideal.IdealDioded1
Modelica.Electrical.Analog.Ideal.IdealDioded2
Modelica.Electrical.Analog.Ideal.IdealDioded3
Modelica.Electrical.Analog.Ideal.IdealDioded4
Modelica.Electrical.Analog.Ideal.IdealDioded5
Modelica.Electrical.Analog.Ideal.IdealDioded6