Main Content

BLDC Position Control with Thermal Model

This example shows how to control the rotor angle in a BLDC based electrical drive. The BLDC includes a thermal model and empirical iron losses. An ideal torque source provides the load. The Control subsystem uses a PI-based cascade control structure with three control loops: an outer position control loop, a speed control loop, and an inner current control loop. The BLDC is fed by a controlled three-phase inverter. The gate signals for the inverter are obtained from hall signals. The simulation uses step references. The initial temperature of the stator windings and rotor is set to 25 degrees Celsius. Ambient temperature is 27 degrees Celsius. The Scopes subsystem contains scopes that allow you to see the simulation results.

Model

Simulation Results from Simscape Logging

The plot below shows the requested and measured angle for the test and the rotor speed in the electric drive.

The plot below shows the winding and rotor temperatures of the motor.