Main Content

SRM Commutation Logic

Commutation logic for switched reluctance machines

  • SRM Commutation Logic block

Simscape / Electrical / Control / SRM Control


The SRM Commutation Logic block provides a logic signal for the Switched Reluctance Machine (SRM) block. The signal indicates when to switch the supply for each phase on and off.

The commutation signal for each phase is:

  • 1 if θonθphθoff.

  • 0 if θph < θon.

  • 0 if θph > θoff.


  • θph is the phase angle in the interval [0,β ].

  • β is the torque capability angle.

  • θon is the switch-on angle.

  • θoff is the switch-off angle.



expand all

Phase angle, θph, in the interval [0, β ].

Data Types: single | double

Lower threshold for turning on the switch.

Data Types: single | double

Upper threshold for turning off the switch.

Data Types: single | double


expand all

Commutation signal for each phase: 1 for the switch-on condition and 0 for switch-off condition

Data Types: single | double


expand all

The torque production capability of one rotor pole, in radians.

Time, in s, between consecutive block executions. During execution, the block produces outputs and, if appropriate, updates its internal state. For more information, see What Is Sample Time? and Specify Sample Time.

If this block is inside a triggered subsystem, inherit the sample time by setting this parameter to -1. If this block is in a continuous variable-step model, specify the sample time explicitly using a positive scalar.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2018a