Question

Question 2: Using >> controlSystemDesigner in MATLAB, design an analog PID controller (find Kp, K, Ka values) for the given p

Could you write down the answer legible please i cannot read most of the answer sheets. Thank you in advance, professor.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

I have usedMATLAB to design the PIC controller meeting the specifications.

MATLAB code for generating the required GUI to edit anf tune the compensator is given below in bold letters.

s = tf('s');
G = 4/(s^2-2*s+5);
sisotool(G);

This code will invoke the following GUI window where you can start the design process.

Control and Estimation Tools Manager File Edit Help 笛 っ Architecture Compensator Editor Graphical Tuning Analysis Plots Autom

Now in the above window, go to analysis plots tab and select step in the plot type of plot1.And select the closed loop r yo y as shown in the following figure.

Control and Estimation Tools Manager File Edit Help Workspace Architecture Compensator Editor Graphical Tuning Analysis Plots

This will plot the unit step response of the system as shown in the below figure.

LTT Viewer for SISO Design Task File Edit Window Help Step Response x 10 -2 .4 20 30 50 60 40 Time (seconds) LTI Viewer Real-

since the system has poles on the right side of jw axis, it is unstable. therefore the system unit step response is unstable. Now we need to design a PID controller to stabilize the plant and meet the design specifcations. For that, right click on the plot and edit the design requirements as given below.

Edit Design Requirements Design requirement: ...p response bound from 0 to 1.5 seconds Design requirement parameters Initial

Now go to edit comppensator and add two zeros at -1,-1 and integrator (pole at orogin) and set the gain to 20 as shown below.

Control and Estimation Tools Manager File Edit Help Workspace Architecture Compensator Editor Graphical Tuning Analysis Plots

The response to unit step is plotted below.3

LTI Viewer for SISO Design Task File Edit Window Help Step Response 1.2 R 0.8 0.6 0.4 0.2 0.2 0.5 1.5 Time (seconds) LTI View

It is observed that the system response has met the design requirements.

The PID  controller is given by C(s) = 20*(s+1)*(s+1)/s

Add a comment
Know the answer?
Add Answer to:
Could you write down the answer legible please i cannot read most of the answer sheets. Thank you in advance, professor...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question: CODE: >> %% PID controller design Kp = 65.2861; Ki = 146.8418; Kd = 4.0444;...

    Question: CODE: >> %% PID controller design Kp = 65.2861; Ki = 146.8418; Kd = 4.0444; Gc = pid(Kp,Ki,Kd); % close-loop TF T = feedback(G*Gc,1); %% checking the design obejective a_pid = stepinfo(T); % Settling Time tp_pid = a_pid.SettlingTime % Overshhot OS_pid = a_pid.Overshoot %% steady-state error [yout_pid,tout_pid] = lsim(T,stepInput,t); % steady-state error ess_pid = stepInput(end) - yout_pid(end); >> %% Effect of P in G Kp = 65.2861; Ki = 0; Kd = 0; Gc = pid(Kp,Ki,Kd); % close-loop TF...

  • I have no more posting for this month, please solve these for me thanks 1. Given...

    I have no more posting for this month, please solve these for me thanks 1. Given the following unity feedback system where s+z s2 (s + 10) and the controller is a proportional controller Ge = K, do the following: a. If z = 2, find K so that the damped frequency of the oscillation of the transient response is 5 rad/s. b. The system is to be redesigned by changing the values of z and K. If the new...

  • 3. Consider the following mass-spring-damper system. Let m= 1 kg, b = 10 Ns/m, and k...

    3. Consider the following mass-spring-damper system. Let m= 1 kg, b = 10 Ns/m, and k = 20 N/m. b m F k a) Derive the open-loop transfer function X(S) F(s) Plot the step response using matlab. b) Derive the closed-loop transfer function with P-controller with Kp = 300. Plot the step response using matlab. c) Derive the closed-loop transfer function with PD-controller with Ky and Ka = 10. Plot the step response using matlab. d) Derive the closed-loop transfer...

  • Matlab 2. A PID controller allows one to adjust the performance of a plant to the...

    Matlab 2. A PID controller allows one to adjust the performance of a plant to the designer's specifications. The following system is given (s+1)(0.2 s+ 1 )(0.04 s + 1 )(0.00%+1) Create this system symbolically in Matlab. Use the command expand to get it in the form of a ratio of polynomials. Use the coefficients to create a transfer function. Import the transfer function to 'pidTuner. There is no perfect controller. So, to achieve the best result, one has to...

  • Could you write down the answer legible please i cannot read most of the answer sheets. Thank you in advance, professor...

    Could you write down the answer legible please i cannot read most of the answer sheets. Thank you in advance, professor. ZAS fk) e(k) C(z) r(k) w(k) Question 4: Write the closed-loop transfer function H(z)Wz)/R(z)of the control system given above. State the order of the system. ZAS fk) e(k) C(z) r(k) w(k) Question 4: Write the closed-loop transfer function H(z)Wz)/R(z)of the control system given above. State the order of the system.

  • Could you write down the answer legible please i cannot read most of the answer sheets. Thank you in advance, professor...

    Could you write down the answer legible please i cannot read most of the answer sheets. Thank you in advance, professor. sir, you said Your question needs more information to be answered. but this question was asked by professor. i sent it in same way directly. Design a down counter whose upper limit can be adjusted. An input L is the 4-bit upper limit input. Count cycle must be L, L-1, L-2, ..., 1, 0, subtractor, and some glue logic....

  • Could you write down the answer legible please i cannot read most of the answer sheets. Thank you in advance, professor...

    Could you write down the answer legible please i cannot read most of the answer sheets. Thank you in advance, professor. sir, you said Your question needs more information to be answered. but this question was asked by professor. i sent it in same way directly. Design a t3 bit barrel shifter circuit that shift a 4-bit number both left or right. The control inputs are x (shifts two bits), y (shifts one bit), d (determines the shift direction, 0:...

  • PLEASE DO IN MATLAB Problem 8 (PID feedback control). This problem is about Proportional-Integral-Derivative feedback control...

    PLEASE DO IN MATLAB Problem 8 (PID feedback control). This problem is about Proportional-Integral-Derivative feedback control systems. The general setup of the system we are going to look at is given below: e(t) u(t) |C(s) y(t) P(s) r(t) Here the various signals are: signal/system r(t) y(t) e(t) P(s) C(s) и(t) meaning desired output signal actual output signal error signal r(t) y(t) Laplace transform of the (unstable) plant controller to be designed control signal Our goal is to design a controller...

  • on Matlab please!!!! Problem 1- (a) Design a controller for a plant with transfer function, G(s)-(+ to obtain (i) estep(00)s 0, (ii) T12%) < 1 s, and (iii) an-5 rad/s (4 points). (b) Plot the u...

    on Matlab please!!!! Problem 1- (a) Design a controller for a plant with transfer function, G(s)-(+ to obtain (i) estep(00)s 0, (ii) T12%) < 1 s, and (iii) an-5 rad/s (4 points). (b) Plot the unit step response of the closed-loop system you design and find the percentage of overshoot, the time to the first peak, settling time and eramp[oo) (4 points). (c) Can you modify your design, without compromising design specifications, in order to further shorten T1296) while keeping...

  • Using matlab and simulink! Lab Assignment Solve the following problems using the Word and MATLAB. The...

    Using matlab and simulink! Lab Assignment Solve the following problems using the Word and MATLAB. The table should be prepared in Word (Do not use MATLAB) for this. Use the MATLAB PUBLISH to submit your code. If you cannot, you may submit your report as a pdf form (prepare in word and save as pdf). The code, simulink model and figures should be included (print as a pdf or screen capture - consider readability). 1. Create the Simulink model as...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT