The project's aim is to practice compensation and controller design and also develop problem solving skills by modeling of real-life electromechanical system.
-
Using MATLAB commands to simulate Control Blocks and execute algorithms and operations on the data
-
Using SIMULINK to design controller by using available tools as PID Tuner
- Using SIMULINK to develop PD Controller with a predetermined lead compensator can't be achieved so, we had to find another way.
Problem with PID Tuner in SIMULINK
- So, we had to find another way which is to use a PI Controller to use the PID Tuner normally and add a block equivalent to
$\frac{s}{s + 1000}$ The term (s + 1000) is the lead compensator given. The term s is to remove the effect of the s in integrator denominator while keeping the Numerator as it is. We then swapped in our Matlab Code Kp for Kd as it was multiplied by s and KI became Kp
Compensator Block is selected. The PI block is also on the left which parameters were tuned and the block on the right is the system