Question

PROBLEM 3 The system in Figure 3 comprises a motor and a contoller. The performance requirements entail a steady state error

PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!!

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

MATLAB code is given below in bold letters.

clc;
close all;
clear all;

% define the laplace vaiable s
s = tf('s');

% define the plant
Gp = 10/(s*(s+5)*(s+10));

% define the gain range
k = 0:0.01:20;

% plot the root locus
figure;
rlocus(Gp,k);

root locus plot is shown below

Gain: 8.44 Pole: -1.891.98i Damping: 0.69 Overshoot(%): 4.99 Frequency (rad/s) 2.74 -2 -3 -4 -14 12 -8 -4 Real Axis (seconds)

from the above plot it is observed that for gain K = 8.44 the peak overshoot is <5%.

The settling time corresponding to this is given by 4 / real part of the pole at gain = 8.44

Therefore Ts = 4 / 1.89 ~ 2 sec

the unit step response is plotted below with a gain of K = 8.44.

MATLAB code:

% plot the unit step response
figure;
step(feedback(8.44*Gp,1));grid on;

the response is plotted below.

Step Response 0.8 0.6 0.4 02F 0.5 2.5 3.5 Time (seconds)

Question C

The MATLAB code is given below in bold letters.


% assume W = 1 i.e. unit step disturbance
% then y(s) is plotted below
figure;
step(feedback(8.44*Gp,1)+feedback(Gp,8.44));grid on;
title('y(t) for unit step input and unit step disturbance');

The response is plotted below.

y(t) for unit step input and unit step disturbance 0.8 0.6 0.4 0.2F... 0.5 2.5 3.5 Time (seconds)

From the above response, it is observed that the steady-state error due to unit step disturbance is 0.12. i.e. 12 %

Add a comment
Know the answer?
Add Answer to:
PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MATLAB !!!!!! PLEASE SOLVE IN MAT...
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
  • Write as MATLAB code with comments thank you. The system in Figure 3 comprises a motor and a contoller. The performance requirements entail a steady state error for ramp input r(t) Ct, smaller than 0...

    Write as MATLAB code with comments thank you. The system in Figure 3 comprises a motor and a contoller. The performance requirements entail a steady state error for ramp input r(t) Ct, smaller than 0.01C. Here, C is a constant. The overshoot for step input must be such that P.0.S 5% and the settling time with a 2% error should be T. 2 seconds. (a) Based on rlocus function, write a piece of MATLAB code which establishes the controller. (b)...

  • please solve as matlab code. The system in Figure 3 comprises a motor and a contoller. The performance requirements entail a steady state error for ramp input r(t) Ct, smaller than 0.01C. Here, C...

    please solve as matlab code. The system in Figure 3 comprises a motor and a contoller. The performance requirements entail a steady state error for ramp input r(t) Ct, smaller than 0.01C. Here, C is a constant. The overshoot for step input must be such that P.0. 5% and the settling time with a 2% error should be T, 2 seconds (a) Based on rlocus function, write a piece of MATLAB code which establishes the controller. (b) Create the graph...

  • Matlab Simulink please list all the steps Extra Credit: Simulink Disturbance Analysis D(s) Controller Plant Gp(s)...

    Matlab Simulink please list all the steps Extra Credit: Simulink Disturbance Analysis D(s) Controller Plant Gp(s) Ge REs 92.9s213.63s 1 97.6s (0.1s + 1) 127 s(s +1)(s +2)(s 5) (s 10) Ge(s) Gp (s) The controller for the system above was designed to accurately track a variety of input signals for the given plant/process. Verify that the feedback system is well suited to this task by creating a model in Simulink and performing the following: 1. Create a model to:...

  • 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...

  • PLEASE USE MATLAB TO ANSWER ALL OF THE PARTS. PROVIDE MATLAB CODE FOR EACH OF THE...

    PLEASE USE MATLAB TO ANSWER ALL OF THE PARTS. PROVIDE MATLAB CODE FOR EACH OF THE PART. PUT THE ANSWER IN A BOX. Consider the unity feedback system depicted in Figure 1 G(s) R(s) 50K s(s + a) Figure 1 1. Determine the system's closed loop transfer function. 2. Plot the system's step response for K=10 and: • a= 2 • a=5 • a= 10 3. What happens to the system's response as a increases? Justify your answer. 4. In...

  • Control and System Matlab and Simulink

    Design of Lead Compensator With Matlab...G(s) = 9/(s^2+0.5s) and Gc(s) = 1Transfer Function, maximum overshoot...DESIGN of a LEAD COMPENSATOR with MATLABFor the figure below, G(s)=9 / s(s+0.5)a) For the compensator Gc(s)=1 Obtain- Transfer function,- Maximum overshoot and settling time for unit-step input- Drawi. unit step-response curve in MATLAB.ii. unit ramp-response curve in MATLAB.iii. Root- locus curve in MATLAB- Obtain steady state error for unit-ramp inputb) Design a lead compensator Gc(s) to shift the poles at new locations of s₁=-4+j4 and...

  • PLEASE solve it with MATLAB code A unity feedback closed loop control system is displayed in...

    PLEASE solve it with MATLAB code A unity feedback closed loop control system is displayed in Figure 4 (a) Assume that the controller is given by G (s)-2. Based on the Isim function of MATLAB, calculate and obtain the graph of the response for 6, (t)-at. Here a : 0.5%, Find the height error after 10 seconds, G) -2 This is a Proportional-Integral (PI) controller. Repeat part (a) in the presence of Pl controller, and juxtapose the steady state error...

  • 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...

  • (This problem requires MATLAB to solve.) Figure 1 shows a basic block diagram of an open loop con...

    (This problem requires MATLAB to solve.) Figure 1 shows a basic block diagram of an open loop control system with Ea(s) representing the reference input and TL(s) representing the load-torque disturbance input. Its transfer function between the speed output and the disturbance input is described by the equation Please develop a Simulink model to simulate the speed output response due to a step disturbance input of 0.1Nm at t=2s with the values provided in table 1. (Use Ea=10 and Ea=20...

  • Consider the same plant G(s) Design a controller so that if you desire an angle of...

    Consider the same plant G(s) Design a controller so that if you desire an angle of r 1 rad, s(s+10) (s+20) (R the actual angle of the motor y(t) has an overshoot less than or equal to 20% and a settling time less than or equal to 0.3s as it is settling down to the steady state angle. Write down the steps you followed in the sisotool (or otherwise), include: i. ii. iii. iv. Your error calculations and calculations for...

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