modelDemoBLDC

Test example: Brushless DC machine drive

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

Information

A permanent magnet synchronous machine is fed from a variable DC voltage source. The fire signals of the inverter bridge are determined from the output signals of the hall sensor. Thus the currents are electronically commutated from one phase to the next. After the machine ha accelerated, a load torque step is applied.

Plot the machine's speed smpm.wMechanical, the electrical torque smpm.tauElectrical and the quasi-RMS current quasiRMSsensor.I. Note that - if the reference voltage reaches VDC - full constant DC voltage without switching (except the commutation) is applied.

Note:

The spatial distribution of the magnetic field of the permanent magnet rotor is sinusoidal. Therefore the induced voltage is sinusoidal w.r.t. to time. A machine design with rectangular spatial field distribution leads to trapezoidal induced voltage. Such a design might be better suited for usage as brushless DC machine. However, such a machine model is not yet available.

Parameters

TypeNameDefaultDescription
SI.VoltageVDCsmpmData.VsNominal*Modelica.Electrical.Polyphase.Functions.factorY2DC(smpmData.m)Nominal DC voltage
SI.InertiaJLoadsmpmData.JrLoad inertia
ParameterRecords.SmpmDatasmpmDataSynchronous machine data

Components

TypeNameDefaultDescription
Modelica.Magnetic.FundamentalWave.BasicMachines.SynchronousMachines.SM_PermanentMagnetsmpm
Modelica.Electrical.Analog.Basic.Groundground
Modelica.Mechanics.Rotational.Components.InertialoadInertia
Modelica.Electrical.Machines.Utilities.MultiTerminalBoxterminalBox
BLDC.Sensors.HallSensorhallSensor
Modelica.Electrical.PowerConverters.DCAC.Polyphase2Levelinverter
Modelica.Electrical.Analog.Sources.SignalVoltagesignalVoltage
Utilities.ElectronicCommutatorelectronicCommutator
Modelica.Blocks.Sources.RampvoltageRamp
Modelica.Mechanics.Rotational.Sources.TorqueSteploadTorque
Modelica.Electrical.Polyphase.Sensors.CurrentQuasiRMSSensorcurrentRMSSensor
Modelica.Electrical.Polyphase.Basic.Starstar
ToMSL.TriggeredMeantriggeredMeanDC
Utilities.MeasurementTriggermeasurementTrigger
Modelica.Electrical.Analog.Sensors.CurrentSensorcurrentSensor
ToMSL.TriggeredMeantriggeredMeanAC