Main Content

BLDC Commutation Logic

Switch-commutation logic for brushless DC motors

  • BLDC Commutation Logic block

Libraries:
Simscape / Electrical / Control / BLDC Control

Description

The BLDC Commutation Logic block implements a commutation logic for brushless DC motors as part of this control algorithm.

The commutation logic is based on the Hall signals as summarized in this table.

Hall SensorsMotor Phases
Hall aHall bHall cPhase aPhase bPhase c
000000
1 1001-1
010-110
011-101
0010-11
1011-10
10010-1
111000

Examples

Ports

Input

expand all

Hall sensor data.

Data Types: single | double

Direction of motor rotation.

Data Types: single | double

Output

expand all

Motor phase indicated by the commutation logic.

Data Types: single | double

Parameters

expand all

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.

References

[1] Stirban, A., I. Boldea, and G. D. Andreescu. "Motion-Sensorless Control of BLDC-PM Motor With Offline FEM-Information-Assisted Position and Speed Observer." IEEE Transactions on Industry Applications. 48, no. 6 (2012): 1950-1958.

Extended Capabilities

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

Version History

Introduced in R2018a