0% found this document useful (0 votes)
9 views4 pages

Control system Lab 1 (1)

Uploaded by

belal ma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views4 pages

Control system Lab 1 (1)

Uploaded by

belal ma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Control system 2 Lab1

Lab1: Proportional Controller

write a MATLAB program to plot the root locus and find the following specification:

1) Find the value of k that make the system marginally stable


2) Design a proportional controller Kp such that the damping ratio of closed loop pole will be equal
to 0.6
3) From step response plot and when K =6 find peek response, setting time, rise time and steady
state error

Solution

MATLAB program is
clear all
clc
s=tf('s')
'Gp(s)'%display label
Gp=1/(s^3+5*s^2+4*s)%or Gp=(1/(s*(s+1)*(s+4))create and display
rltool(Gp)

computer response
Using simulink plot the output for k=2, k=20, for the system below

Or
The response For k=2

Command window

>> plot(time,response)

>> grid
The response For k=20

Command window

>> plot(time,response)

>> grid

You might also like