Sunteți pe pagina 1din 4

Control Systems Laboratory (C&IA)-1st Sem.

Electrical Engineering Department, NIT Silchar


(MATLAB Basic) Sheet 1
1. Familiarization with MATLAB software; Control systems tool box; (Use help and
demo command).
2. Practice of basic matrix operations like addition, subtraction, multiplication,
inverse, transpose etc.
3. Practice of basic commands for (i) finding roots of a polynomial, (ii) finding poles
and zeros of a transfer function, (iii) step response of a transfer function, (iv)
plotting y(t) vs t; Assume y(t) be the output expression of a step response of a 2 nd
order system.
4. Familiarization with MATLAB programming; Create your own directory and save
your m-files in your directory. Change the working directory to work with your
m-files. File name be chosen as prob_(sheet no)_(problem no)_(sub problem no);
Thus prob_4_3_g means the problem No- 3(g) from Sheet -4.
5. Write programme for basic matrix operations like addition, subtraction,
multiplication, inverse, transpose etc. Consider the dimension of the matrix and
data of matrix as input.
6. Find out the partial fraction from transfer function of the following using
MATLAB thereafter form the polynomial from its partial fraction expansion.
2 s 3 5s 2 3s 6
G ( s) 3
S 6 s 2 11s 6 .
7. Finding Zeros and Poles of the following function using MATLAB. Thereafter
finding the polynomial from given Zeros and Poles and gain K using MATLAB.
G ( s)

4s 2 16s 12
s 4 12 s 3 44 s 2 48s

8. Solve the following differential equation using MATLAB (.m file and also using
Simulink).
..

x 2 x 10 x t 2 , x(0) 0, x(0) 0 .
9. Obtain the partial-fraction expansion of the following function with MATLAB:
F (s )

10( s 2)( s 4)
( s 1)( s 3)( s 5) 2

Then obtain the inverse Laplace transform of F(s).


10. Consider the following function F(s):
s 4 5s 3 6s 2 9 s 30
F ( s) 4
s 6 s 3 21s 2 46s 30
Using MATLAB, obtain the partial-fraction expansion of F(s). Then, obtain the
inverse Laplace transform of F(s).
11. A function B(s)/A(s) consist of the following zeros, poles, and gain K:
Zeros at s=-1, s=-2
Poles at s=0, s= - 4, s=-6
Gain K=5.
Obtain the expression for B(s)/A(s) = num/den with MATLAB.
12. Obtain the transfer function of the system defined by the following state space
representation using MATLAB.
.
x1
0 0
x1
0 1 0 x1
.
u1
y1
1 0 0

x2 0 0 1 x2 0 1 u
y 0 1 0 x2

2
.
2 4 6 x3
1 0
x3
x
&
3

13. Find the Transfer function for the cases (i) Cascaded TF (ii) Parallel connected TF
(iii) Feedback connected (closed loop TF) for following two components using
10

5
s 2 2 s 10

MATLAB. G1(s) =
& G2(s) = s 5 .
14. Find out the state space representation of the following TF using MATLAB.
25 s 5
2
G(s) = s 5s 25s 5 .
3

15. Obtain the state space equation and output equation for the system defined by the
following function using MATLAB.
G( s)

2s3 s 2 s 2
s 3 4 s 2 5s 2

16. Consider the following MIMO system and find out


Y1 ( s)
U1 ( s) using MATLAB.

Y2 ( s) Y1 ( s ) Y2 ( s)
U1 ( s ) , U 2 ( s ) , U 2 ( s ) &

.
1 x1
x1 0
25 4 x
.

2
x2

1 1
0 1

u1
u
2

y1
1 0 x1
y 0 1 x

2
& 2

0 0 u1
0 0 u

17. Consider the system described by the following equation derive the state space
representation of the system using MATLAB.
...

..

y 3 y 2 y u
18. Using m-file programming fit an approximated polynomial for the following data
and verify it.

x 1 2 3 4 5 6 7 y 2.1 4.25 6.08 8.03 10.2 12.04 14.5


,
19.
a) Simulate a dynamic system described by following differential equation in
Simulink.

dx1
dx
x1 2 x2 u ; 2 2 x1 3x2 u; y x1 x2
dt
dt
Where u is the
input and y is the output.
b) Export

the

data

t , x1 , x2 , y

to

the

workspace

and

plot

i) y vs t ii) x1 vs t iii ) x2 vs t iv) x1 vs x2 in the same figure but in


separate window. (Take u(t) a delayed step input by 5sec )
c) From the plot y vs t find
i)
Steady state value of y,
ii)
Time required to have the steady value (ts ) ,
iii)
iv)

Time required to reach the steady value for the first time (tr )
(M p )
Maximum Overshoot of y,

d) Selecting suitable input to verify that the system is LTI or not.


20.Write a programe to plot a signal of the form y (t )= Asinwt with A,
and t as input.
21.Write a program to simulate and plot the response of a unity feedback

G(s)
system having
When excited by

5
s( s 1)( s 2)

r ( t ) =Asinwt with A =1 and =10.

22. Steady state response of Prob-21 should be in the form of

y (t )=Bsin(wt + ) . Update the programe to find the value of B and


.
23.Repeat Prob-22 for = 0.1, 0.5, 1, 2, 5, 10, 100, 1000; Plot B/A Vs
and

vs .

S-ar putea să vă placă și