Professional Documents
Culture Documents
ECX - 4242 Model Answer New1
ECX - 4242 Model Answer New1
Assignment 1
Model Answer
Desired
input Output
Controller Processor
(Actual Response)
Desired Output
Controller Processor
input
Actual
Response
Measurement
sensor
Feedback
path
- closed loop control
Fig. 1
1
1 (b) Detailed Block diagram of a closed Loop control system.
Actuator
Comparator
output
Reference Controlled
+ Controller Actuator Process
input - Output
Sensor Measuring
Out put Device / sensor
Fig. 2
2
Input
value
water
input
pivot
Ball
(pivot)
water
outlet
Fig. 3
2. (a)
x1 x2
F(t) m1 m2
1kg 1kg
k
Fig. 4
..
m x
1 1
Free body k x1 k x2
m1 + m1
diagrams
for m1 F(t)
..
m x k x2
1 1
m1 k x1
F(t)
Fig. 5
..
m1 x 1 k ( x 2 x1 ) F (t ) (1)
3
..
m x
2 2
k x2 k x1
Free body m2 + m2
diagrams
for m2
Fig. 6
..
m2 x 2 k ( x1 x 2 ) (2)
m1 s 2 X 1 ( s ) kX 2 ( s ) kX 1 ( s) F ( s ) (3)
m2 s 2 X 2 ( s) kX 1 ( s) kX 2 ( s ) (4)
1
X 1 ( s) ( K m2 s 2 ) X 2 ( s) (5)
k
From (3),
1
(m1 s 2 k ) (t m2 s 2 ) X 2 ( s ) kX 2 ( s ) F ( s )
k
X 2 ( s) k
F ( s ) (m1 s k )(m2 s 2 k ) k
2
1
( s 1)( s 2 1) 1
2
1
s 2s 2
4
L
(3) R
+
L = 1H
C
V2(t)
R = 2Ω
V1(t) Vc(t) Vc(t) = V2(t)
i (r)
Fig. 7
di
V1 (t ) L i (t ) R V2 (t ) (1)
dt
4
dv c dv (t )
i (t ) C C 2 (2)
dt dt
d 2 v 2 (t ) dv (t )
Vi (t ) LC RC 2 v 2 (t)
dt dt
.. .
v (t ) v (t ) 2 v (t ) v (t ) (3)
1 2 2 2
.. ..
(b) v (t ) v (t ) 2 v (t ) v (t )
1 2 2 2
We know that, L x (t ) X ( s )
.
L x (t ) sX ( s ) x(t 0 ) (4)
.. .
L x (t ) s 2 X ( s ) sx(t 0 ) x (t 0 ) (5)
V1 ( s ) 1
V2 ( s ) ( S 2 2s 1)
(c) Applying equations (4) and (5) in (3),
.
V1 ( s ) s 2V2 ( s ) sV2 (t 0 ) V2 (t 0 ) 2 sV2 ( s ) 2v 2 (t 0 ) V2 ( s )
.
V (t ) 1V , V (t )0
2 0 2 0
V1 ( s) ( s 2 2s 1)V2 ( s) s 0s 2
( s 2) V1 ( s) s 2 1 s 1
V2 ( s ) 2 V1 ( s )
( s 2 s 1)
2
s 2s 1 s
( s 2 2s 1) 1
2 s
s ( s 2 s 1)
v 2 (t ) 1V
(c) Since v 2 (t ) is a constant value of 1V, its final value also equals to 1V or you can use final value
theorem for this.
5
(4)
G1(s)
N(s)
+ +
R(s) + Y(s)
G2(s) G3(s)
+ +
- -
H1(s)
G1(s)
N(s)
-H1(s)
-1
G1(s)
-H1(s)
-1
y out N
M
M k k
y in k 1
k = for the part of the SFG, that is nontouching with the kth forward path
1 (G3 ( s ) H 1 ( s ) G 2 ( s )G3 ( s ))
1 G3 ( s ) H 1 ( s ) G 2 ( s )G3 ( s )
Y (s) N
M k k
R( s) N 0 k 1
G1 ( s )G3 ( s ) G 2 ( s )G3 ( s )
1 G3 ( s ) H 1 ( s ) G 2 ( s )G3 ( s )
E ( s)
2 forward paths
R( s) N 0
E (s) 1 G3 ( s ) H 1 ( s ) G1 ( s ) G3 ( s )
R( s) N 0
1 G 3 ( s ) H 1 ( s ) G 2 ( s ) G3 ( s )
when R 0
N(s)
-H(s)
-1
Y s
No of forward paths 1
N s R 0
1 (G3 ( s ) H 1 ( s ) G 2 ( s )G3 ( s ))
Y (s) 1
N (s) R 0
1 G3 ( s ) H 1 ( s ) G 2 ( s )G3 ( s )
E ( s) (1) (1)
(since forward path gain 1)
N ( s) R 0
1 G 3 ( s ) H 1 ( s ) G 2 ( s )G 3 ( s )
(c) We can use the principle if super position to get the complete output due to the 2 inputs R(s) and
N(s).
Y ( s) Y ( s) N 0
Y ( s) R 0
8
G1(s)
+
R(s) Y(s)
G2(s) G3(s)
+ +
- -
H1(s)
G1(s)
+
R(s) E(s) G3 ( s )
G2(s) Y(s)
+ 1 G3 ( s ) H ( s )
-
R( s) Y ( s) E ( s) (1)
G3 ( s )
Y ( s ) E ( s )G2 ( s) R ( s)G1 ( s) (2)
1 G3 ( s ) H 1 ( s )
Y (s) G ( s )G ( s ) G ( s )G ( s )
1 3 2 3
R(s) 1 G ( s )G ( s ) G ( s ) H ( s )
N 0 2 3 3 1
9
E ( s) Y ( s)
1
R( s ) N 0
R( s ) N 0
G1 ( s ) G3 ( s) G2 ( s) G3 ( s)
1
1 G 2 ( s ) G 3 ( s ) G3 ( s ) H 1 ( s )
1 G1 ( s) G3 ( s) G3 ( s ) H 1 ( s )
1 G 2 ( s ) G 3 ( s ) G3 ( s ) H 1 ( s )
R(s)=0
10
N(S)
E(s) + Y(S)
G 2 (s) G 3 (s)
-
H 1 (s)
-1
N(s)
Y(s)
G 3 (s)
- -
H 1 (s)
G 2 (s)
N(s)
+ + Y(s)
G 3 (s)
Y ( s ) N ( s ) Y ( s )G3 ( s ) G 2 ( s ) H 1 ( s )
Y ( s) 1
N (s) R ( s ) 0
1 G 2 ( s ) G3 ( s ) H 1 ( s ) G3 ( s )
E ( s ) (1) Y ( s )
E (s) Y (s) 1
(1)
N (s) N ( s ) 1 G2 ( s )G3 ( s ) G3 ( s ) H 1 ( s )
11
(5)
(a) Settling time :
- is defined as the time For the response to reach and stay within 2% of its final value.
Rise time :
- is defined as the time for the wave Form to go form 0.1 to 0.9 of its Final value.
Peak Overshoot:
- is defined as the amount that the waveform overshoots the steady-state, or final value at the
peak time.
(c) For stability, rise time, settling time and peak overshoot must be low. Peak overshoot is a measure
of relative stability and is a function of damping ratio only. This can be improved by increasing the
value of the damping ratio.
C(t)
Peak overshoot
0.1c final
t
Rise time Tsetting
r(t) kr s 1 + K Y(t)
sa S (Ts 1)
-
K s (Ts 1)
r(t) kr s 1 Y(t)
K
sa 1
s (Ts 1)
12
lim lim
Steady state error E ss e(t ) s E ( s)
t s0
K ( K r s 1)
R ( s) 1
( s a)(Ts s k )
2
1 K ( K r s 1)
Unit step input E ( s ) 1
s ( s a )(Ts s k )
2
lim
E ss s E ( s)
s0
lim K ( K r s 1)
1
s 0 (s a)(Ts 2 s k )
K
1 1 1
aK a
(iii) Steady state error is independent of the value of K r .It depends only on a. For large values of
a the steady state error will be large.
(iv) Kr = 0.1;
a = 10;
K = 1;
T = 1;
num = [(K*Kr) K];
den = [T (1+a*T) (K+a) a];
t=0:5:20;
step(num,den,t)
Use the above M-file to plot the response for each case. By changing the variables you can analyze
the system. The easiest way to check the values of given parameters, you can use MATLAB built in
possibilities. Right click on the figure(graph) you obtained using step command. In the small window
that opens on the figure, select chatacteristics and then select what you want to see(rise time, peak
value etc.). After you do that you will see dots on the graph on the points that represent the values you
have chosen to show. Left click on the point will write the value on the graph permanently. You can
change the alignment of the text using right click on the appropriate point. Following is the plot for the
case of K=1, T=1, Kr=0.1 and a=10.
13