blockDetectCommutationZeroCrossingSimple
Detects sensorless when commutation is required by zero crossings
Extends from DetectCommutationPartial (I/O ports for commutation detection algorithm).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Duration | DelayCommutation (from DetectCommutationPartial) | 5e-005 | Delay commutation |
| Real | minEMF (from DetectCommutationPartial) | 0.5 | Minimum EMF for good speed |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput[3] | bridgeState (from DetectCommutationPartial) | ||
| Modelica.Blocks.Interfaces.RealInput[3] | v (from DetectCommutationPartial) | Voltage per phase | |
| Modelica.Blocks.Interfaces.RealInput | v_dc (from DetectCommutationPartial) | dc link voltage | |
| Modelica.Blocks.Interfaces.BooleanInput | senseBEMF (from DetectCommutationPartial) | BEMF sensing active | |
| Modelica.Blocks.Interfaces.BooleanOutput | y (from DetectCommutationPartial) | Commutate when true | |
| Modelica.Blocks.Interfaces.BooleanOutput | speedOK (from DetectCommutationPartial) | Sufficient EMF for good commutation | |
| Modelica.Blocks.Interfaces.RealInput | KV (from DetectCommutationPartial) | Voltage constant | |
| Interfaces.PwmControlBusConnectorIn | pwmControlBusConnectorIn (from DetectCommutationPartial) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Integer[3] | bridgeStateInt (from DetectCommutationPartial) | ||
| Integer | senseBridgeID (from DetectCommutationPartial) | ||
| Real | senseBridgeSign (from DetectCommutationPartial) | ||
| Real | maxBEMF | Max EMF in this cycle | |
| Real | bemf | ||
| Boolean | v_greaterthan0 | ||
| Real | time2commutate | Duration when next commutation shall happen from last zero crossing | |
| Real | time_from_zc | Time from the last zero crossing |