top of page

MATLAB Implementation of Speed Control of BLDC Motor using Sliding Mode Control

Writer: LMS RSLMS RS

Introduction to the System Model

The simulation model consists of several key components: a DC source, a three-phase inverter, a BLDC motor drive, and motor parameters such as speed and torque. The system is designed to measure the motor's speed and electromagnetic torque using a Hall effect sensor, which plays a crucial role in the feedback mechanism.

The heart of the system is the Sliding Mode Controller, which uses the error between the reference speed and the actual speed to adjust the motor’s operation. By comparing these two speeds, the controller generates an error voltage and processes it to determine the necessary adjustments.



Sliding Mode Controller and Its Working

The Sliding Mode Controller operates by receiving two key inputs: the reference speed and the actual speed of the motor. The difference between these two speeds, also known as the error, is calculated. The controller then processes this error and the rate of change of the error through a mathematical function involving the sliding mode surface.

This surface dictates how the motor's speed is adjusted. Based on this surface, the controller generates a modulation signal (duty cycle), which is sent to the switching logic circuit of the BLDC motor drive. The duty cycle is compared with a triangular wave, and a pulse is generated to drive the voltage source inverter.

Motor Control through Inverter and Switching Logic

The voltage source inverter, which has six switches, plays a key role in controlling the motor's voltage. The switches are driven by the pulse signals generated from the sliding mode controller’s modulation signal. These pulses ensure that the voltage supplied to the BLDC motor is adjusted accordingly, enabling precise control over the motor’s speed.

Simulation Results: Step Changes in Speed

In the simulation, the reference speed is initially set to 1,000 RPM, and after 2 seconds, the reference speed is increased to 1,500 RPM. As expected, the motor’s actual speed follows the reference speed with minimal overshoot. The actual speed increases from 1,000 to 1,500 RPM smoothly, with a very small overshoot of about 2% at 1,000 RPM and 4% at 1,500 RPM.

The system’s ability to maintain speed with minimal deviation showcases the effectiveness of the Sliding Mode Controller in regulating the motor’s operation.

Handling Step Changes in Speed

Next, we simulate a step change in the reference speed, where the speed is changed from 1,500 RPM to 200 RPM. After the change, the motor’s speed stabilizes at the new reference speed of 200 RPM. The error between the reference and actual speed is minimal (only about 2 RPM), demonstrating the controller’s effectiveness in handling abrupt changes in speed.

The torque during this transition briefly fluctuates to compensate for the speed change, but it stabilizes at a constant value of 5 Nm, ensuring consistent performance during the reference speed change.

Conclusion

The MATLAB simulation model for speed control of a BLDC motor using a Sliding Mode Controller effectively demonstrates the system’s ability to control motor speed with high precision. The controller handles both step increases and decreases in reference speed with minimal overshoot and error, making it a reliable method for BLDC motor speed control.

By using the Sliding Mode Controller, we can achieve efficient and stable speed regulation for BLDC motors, even in the presence of disturbances and varying load conditions.

 
 
 

Comments


bottom of page