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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | m | 5 | Number of phases |
| Integer | p | 2 | Number of pole pairs |
| SI.Frequency | fNominal | 50 | Nominal frequqncy |
| SI.AngularVelocity | wNominal | 2*pi*fNominal/p | Nominal speed |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.Rotational.Sources.ConstantSpeed | constantSpeed | ||
| BLDC.Sensors.HallSensor | hallSensor | ||
| Sensors.SinCosResolver | sinCosResolver | ||
| Utilities.SinCosEvaluation | sinCosEvaluation | ||
| Modelica.Blocks.Math.WrapAngle | wrapAngle | ||
| Utilities.ElectronicCommutator | electronicCommutator |