Question

In: Electrical Engineering

Design a digital PID controller based on the Ziegler_Nichols method for for the following system: G(s)=1/((s+1)^4...

Design a digital PID controller based on the Ziegler_Nichols method for for the following system:

G(s)=1/((s+1)^4 )

use the sampling time of T=0.1 seconds and simulate the resulting controlled system by applying a unit

step and then changing the value of input to another value after some appropriate time

Discus the effect of set point change.

Solutions

Expert Solution

Hello,
          Please find the answer attached as under. Please give a thumbs up rating if you find the answer useful! Have a rocking day ahead!

********** Matlab Code *********


s = tf('s');
h = 1/(s+1)^4;                                  % given transfer function
rlocus(h);                                      % root locus to apply to zeigler nichols tuning method
v=[-4 4 -4 4]; axis(v);
Kp = 2.28;Ti = pi;Td = pi/4;
gc = (Kp/Ti)*(Td*Ti*s*s + Ti*s + 1)/(s);        % PID controller
Ts = 0.1;
Gd = c2d(gc,Ts,'tustin');                       % discrete versions
G = c2d(h,Ts);

sys = feedback(G*Gd,1);                         % closed loop system
t = 0:Ts:40;                                    % time vector
x1 = ones(1,length(t));                         % unit step
x1(1)=0;
x2 = double(t>20);                              % delayed step
x = x1+x2;

figure;
lsim(sys,x,t)                                   % time response
grid;

**** Output ****

?The set point change simply changes the input to the system and acts as if a new step input has been applied to the system. The system will behave with the same dynamics as with a normal step input.


Related Solutions

Design a digital PID controller based on the Ziegler_Nichols method for for the following system: G(s)=s/((s+1)^4...
Design a digital PID controller based on the Ziegler_Nichols method for for the following system: G(s)=s/((s+1)^4 ) use the sampling time of T=0.1 seconds and simulate the resulting controlled system by applying a unit step and then changing the value of input to another value after some appropriate time Discus the effect of set point change.
what is the advantages to use PID controller in control system design ?
what is the advantages to use PID controller in control system design ?
how to design linear PID controller via convex optimization? (for first and second order system)
how to design linear PID controller via convex optimization? (for first and second order system)
Consider a system with the following transfer function, G(s) = 10/ [s(s + 1)]. Design a...
Consider a system with the following transfer function, G(s) = 10/ [s(s + 1)]. Design a compensator according to the following design objectives: • Kv = 20 sec−1 ; • PM = 50 oF; • GM ≥ 10 dB. Submit your answer regarding the detailed compensator design procedures, and the corresponding MATLAB code and figures to verify your design. In addition, compare the step response of both uncompensated and compensated systems in MATLAB
control system Design a system that will run on a PID process
control system Design a system that will run on a PID process
Design an IIR digital filter based on the bilinear transformation method using the following transfer function...
Design an IIR digital filter based on the bilinear transformation method using the following transfer function as a reference (use three decimal places of precision for your response): H (s) = 5 / (s ^ 2 + 1.1s +5) The digital filter must have a resonant frequency at wr = pi / 3 a) Calculate H (z) b) Find the correctly simplified difference equation of the designed system. c) Implement the discrete system obtained using block diagram.. Show every step
I have a transfer function T(S)=.023/(.02913S^3+.1543s^2+.1205S). I need to design a PI, PD, or PID controller...
I have a transfer function T(S)=.023/(.02913S^3+.1543s^2+.1205S). I need to design a PI, PD, or PID controller to give this system a peak overshoot PO of 15% and a rising time Tr of 3 seconds. I have equations that relate the characteristic equation to the PO and Tr, but that only works for a second order equation.
Consider the following system at equilibrium. S(s)+O2(g)<--->SO2(g) 1. How will adding more S(s) shift the equilibrium?...
Consider the following system at equilibrium. S(s)+O2(g)<--->SO2(g) 1. How will adding more S(s) shift the equilibrium? A) to the right B) to the left C) no effect 2. How will removing some SO2(g) shift the equilibrium? A) to the right B) to the left C) no effect 3. How will decreasing the volume of the container shift the equilibrium? A) to the right B) to the left C) no effect
Give two examples of the tunning of PID controllers using the method based in the reaction...
Give two examples of the tunning of PID controllers using the method based in the reaction curve (Ziegler Nichols)
6.2 Simulation in MATLAB by command or Simulink is either fine! 1. Adding a PID controller...
6.2 Simulation in MATLAB by command or Simulink is either fine! 1. Adding a PID controller 2. Increasing Kp gain, until the output tracks the input and begins oscillations 3. Adjusting Kp gain, for minimum overshoot 4. Adjusting Kd gain, for stability guarantee 5. Adjusting Ki gain, for error elimination, and record the final result with figure Mention the controller gain value (Kp, Ki, Kd) that you used
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT