modelDemoElectronicCommutator

Test example: Demonstrate the electronic commutator

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

Information

Demonstrates how the rotor position is determined by the electronic commutator: Compare wrapAngle.y and protected variable electronicCommutator.rotorPosition.

Parameters

TypeNameDefaultDescription
Integerm5Number of phases
Integerp2Number of pole pairs
SI.FrequencyfNominal50Nominal frequqncy
SI.AngularVelocitywNominal2*pi*fNominal/pNominal speed

Components

TypeNameDefaultDescription
Modelica.Mechanics.Rotational.Sources.ConstantSpeedconstantSpeed
BLDC.Sensors.HallSensorhallSensor
Sensors.SinCosResolversinCosResolver
Utilities.SinCosEvaluationsinCosEvaluation
Modelica.Blocks.Math.WrapAnglewrapAngle
Utilities.ElectronicCommutatorelectronicCommutator