Lag-lead compensation
27 views (last 30 days)
Show older comments
Using the information in the attached screenshots, I am to design a passive lag-lead compensator to achive 5% steady state error with a transcient response of 10% and a settling time of 60s for a step input. Am I able to achieve this in MATLAB?
4 Comments
David Wilson
on 19 Apr 2019
Here is something to get you started. Note that I have not done the hard part, which is to design your compensator.
Below I have set , you will need to adjust that following a design procedure in your textbook.
I have not used the sisotool below, but did everything in raw control toolbox functions.
%% Lead/Lag
Gv = tf(0.02,[4 1]); G1 = tf(70,[50 1]); H = tf(1,[12 1]);
Gc = tf(1); % dummy static gain
Gol = Gc*Gv*G1; % Openloop: I'm assuming Gp = G1
Gcl = feedback(Gol,H); % closed loop
step(Gcl) % look at the response
stepinfo(Gcl) % extract key data for your design
Answers (0)
See Also
Categories
Find more on Dynamic System Models in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!