
Could you write down the answer legible please i cannot read most of the answer sheets. Thank you in advance, professor.
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.

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.

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

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.

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.

The response to unit step is plotted below.3

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
Could you write down the answer legible please i cannot read most of the answer sheets. Thank you in advance, professor...
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 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 = 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...
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.
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.
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.
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:...
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...
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...
I required to design a PID controller that has overshoot less
than 10% with minimise rise time, settling time, peak time and
steady-state error.
The transfer function of the plant is shown below:
and the step response of the open loop system by using unit-step
is shown below:
Then I have designed my PID controller by referring to the
example from Modern Control Engineering 5th Edition by Katsuhiko
Ogata page 572 by using Ziegler Nichols 2nd Method.
I get Kcr...