blockSensorCtrl3phStateGraphNG

Commutation applying PWM

Extends from OpenBLDC.Icons.ControlLaw (Icon for a control algorithm).

Information

Mit dem Rampen-algorithmus am Besten direkt auf das PWM und Brückentreiber gehen. Dann kann dort auch gleich der einfache Hall-Regler eingebaut werden.

Parameters

TypeNameDefaultDescription
IntegerPwmMode1Two-leg (1) or single-leg (2) mode
Modelica.SIunits.DurationDelayCommutation20e-006Delay commutation
Modelica.SIunits.DurationTimeoutCommutation0.01Motor has stopped when Timeout

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanOutput[3]hCtrl
Modelica.Blocks.Interfaces.BooleanOutput[3]lCtrl
Modelica.Blocks.Interfaces.RealInputangleDecoded hall
Modelica.Blocks.Interfaces.RealInputv_dcdc link voltage
Modelica.Blocks.Interfaces.RealInput[3]vvoltage per phase
Modelica.Blocks.Interfaces.RealInputdutyCycleCommanded duty cycle

Components

TypeNameDefaultDescription
BooleanchAngle
IntegerintAngle
Modelica.Blocks.Tables.CombiTable1DscombiTable1Ds
Modelica.Blocks.Sources.IntegerExpression[3]integerExpression
Modelica.StateGraph.StateGraphRootstateGraphRoot
PulseLogicpulseLogic
HalfBridgeLogicBLDC[3]halfBridgeLogicINSD
Modelica.Blocks.Sources.BooleanStepswitchOn
Modelica.Blocks.Sources.Constantconst
Modelica.Blocks.Math.Feedbackfeedback
PhaseDiffVoltageNphphaseDiffVoltageNph