Write as MATLAB code with comments thank you.
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
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.
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.
From the above response, it is observed that the steady-state error due to unit step disturbance is 0.12. i.e. 12 %
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...
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...
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 !!!!!! PROBLEM 3 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...
Question 2 Consider the system shown in Figure Q2, where Wis a unit step disturbance and R is a unit step input. 0.4 s+ 1 10 Figure Q2 (5 marks) (3 marks) (c) Find the value for K so that the steady state error due to w(t) is less than 0.01; 6 marks) (d) In order to eliminate the steady state error, show whether a PI controller can be successful 6 marks) (a) Find the expression of E(s)-R(s)-Y(s) in terms...
Question 2 Consider the system shown in Figure Q2, where Wis a unit step disturbance and R is a unit step input. 0.4 s+ 1 10 Figure Q2 (5 marks) (3 marks) (c) Find the value for K so that the steady state error due to w(t) is less than 0.01; 6 marks) (d) In order to eliminate the steady state error, show whether a PI controller can be successful 6 marks) (a) Find the expression of E(s)-R(s)-Y(s) in terms...
Consider the closed loop systema) Design a PD controller (that is, calculate K1 and K2) such that the system isstable and the steady-state error for the input r (t) = unity ramp letless than or equal to 0.02.b) Select a value from K1 and K2 and build the model in Simulink or solutionanalytical to obtain the response of the system to the magnitude rampr (t) = 2t.c) Graph the answer
G) r(t) Figure 1: Feedback control system A pulley and belt transmission has a linearized relationship between the driven pulley angle θ(t) in degrees and the input torque u(t) in Newton meters given by the following differential equation du(t) A feedback control system (illustrated in Figure 1) needs to be designed such that the closed-loop system is asymptotically stable and such that the following design criteria are met: 1. the gain crossover frequency a should be between and a 2....