Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mongshil553/lead-compensator-control-of-motor-using-matlab-simulink
- Owner: mongshil553
- Created: 2024-07-11T17:03:16.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-12T17:32:12.000Z (4 months ago)
- Last Synced: 2024-07-13T18:52:51.217Z (4 months ago)
- Topics: autonomous-control, bode-plot, feedback-systems, lead-compensators, motor-control, nyquist-plot, simulation
- Language: MATLAB
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.