Contenido principal

Six-Step Commutation

Design motor control algorithms using six-step commutation technique

Six-step commutation, also known as trapezoidal control, is a fundamental technique used to drive Brushless DC (BLDC) motors by sequentially energizing their stator phases. The process involves dividing a single electrical revolution into six equal 60-degree segments, with a unique switching state assigned to each interval. During any specific step, two of the three motor phases are energized—one connected to the positive DC bus and the other to the negative—while the third phase remains floating. To maintain synchronization, the controller typically uses Hall-effect sensors to detect the rotor's magnetic position and trigger the transition to the next commutation state. This sequence creates a rotating magnetic field in the stator that pulls the permanent magnet rotor behind it, though the discrete switching inherently produces more torque ripple than sinusoidal methods.

Blocks

expand all

Control Reference

Six Step CommutationGenerate switching sequence for six-step commutation of brushless DC (BLDC) motor

Controllers

Sensorless Six-Step CommutationUse six-step commutation to run a BLDC motor or PMSM using sensorless control (Since R2025a)
Protection RelayImplement protection relay with definite minimum time (DMT) trip characteristics
Host Serial ReceiveConfigure host-side serial communications interface to receive data from serial port
Host Serial SetupConfigure communication ports used by Host Serial Receive and Host Serial Transmit blocks
Host Serial TransmitConfigure host-side serial communications interface to transmit data to serial port
Hall Speed and PositionCompute speed and estimate position of rotor by using Hall sensors
Hall ValidityCompute rotor spin direction and validity of Hall sensor sequence
Mechanical to Electrical PositionCompute electrical position of rotor from mechanical position
Quadrature DecoderCompute position of quadrature encoder
Resolver DecoderCompute motor mechanical position and speed and sine and cosine values of motor electrical position
Software Watchdog TimerOutput true until counter reaches maximum count limit
Speed MeasurementCompute speed from rotor angular position
Sliding Mode ObserverCompute electrical position and mechanical speed of a surface-mount PMSM (Since R2021b)
Flux ObserverCompute electrical position, magnetic flux, and electrical torque of rotor
Pulsating High Freq ObserverEstimate initial rotor electrical position of interior PMSM using pulsating high frequency (PHF) injection (Since R2022b)
Extended EMF ObserverCompute electrical position and mechanical speed of permanent magnet synchronous motor (PMSM) (Since R2023a)

Featured Examples