Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mongshil553/lead-compensator-control-of-motor-using-matlab-simulink

Using Matlab, design a Lead Compensator control system for motor.
https://github.com/mongshil553/lead-compensator-control-of-motor-using-matlab-simulink

autonomous-control bode-plot feedback-systems lead-compensators motor-control nyquist-plot simulation

Last synced: about 16 hours ago
JSON representation

Using Matlab, design a Lead Compensator control system for motor.

Awesome Lists containing this project

README

        

# Lead-Compensator-Control-of-motor-using-Matlab-Simulink

Using Matlab, design a Lead Compensator control system for motor.

Target Performance Specification: 1. Phase Margin ≥ 30, 2. Steady State Error ≤ 1%



Ciruit and Motor Free Body Diagrams


This is the circuit and motor free body diagram. Using this, we will calculate the transfer function of the plant.



After Calculation, the transfer function of the plant is equal to the equation above.



Plant Step Response



Steady State Error exists. Also, ziegler nichols method cannot be applied to this plant.



Bode Plot


Using Matlab, we get the following Bode Plot;




Nyquist Plot


Using Matlab, we get the following Nyquist Plot;




For all Ks, the system is stable.



Designing Lead Compensator


For K=5000, the Crossover Frequency is 1.04e+03 where the Phase is -136°. Therefore the PM is 44°. For Overshoot to be below 10%, PM should be equal or higher than 60°. With an extra margin of 10°, the lead compensator should compensate 26° Phase. The following is the lead compensator transfer function;




System Result


With the feedback control system, the result are the following;



Simulink results are the following;

 



Disturbance Rejection

System Model with Disturbance:



Sine Disturbance:





Step Disturbance:




Ramp Disturbance:





Parabola Disturbance:






User Defined Reference Tracking


The following is the signal defined which will be a reference.



The following is the system model.




Result(Left) and Error(Right):

The error is very minimal.