Professional Documents
Culture Documents
1
AIM: To Study the time and frequency response of
a first order system (RC Circuit)
MODELLING:
Results:
Step Response
1
0.9
0.8
0.7
Amplitude
0.6
0.5
0.4
0.3
0.2
0.1
0
0.2
0.4
0.6
0.8
1.2
Time (sec)
1.4
bode(TF)
hold on
C=0.0046,R=43
N=1
D= [R*C 1]
TF= tf(N,D)
step (TF)
hold on
C=0.0047, R=43
N=1
D= [R*C 1]
TF= tf(N,D)
bode(TF)
hold on
Results:
Bode Diagram
Magnitude (dB)
-5
-10
-15
-20
-25
Phase (deg)
-30
0
-45
-90
-1
10
10
10
Frequency (rad/sec)
10
EXPERIMENT NO. 2
AIM: Graphical representation of step function of
an RLC circuit using MATLAB.
MODELLING:
+1/C i(t)dt
Results:
Step Response
1
0.9
0.8
0.7
Amplitude
0.6
0.5
0.4
0.3
0.2
0.1
0
0.2
0.4
0.6
0.8
Time (sec)
1.2
1.4
Results:
Bode Diagram
Magnitude (dB)
-20
-40
-60
-80
-100
Phase (deg)
-120
0
-45
-90
-135
-180
-1
10
10
10
10
Frequency (rad/sec)
10
10
10
EXPERIMENT NO. 3
AIM: Analyze first order transfer function using MATLAB.
MODELING: Governing equation of a first order system ia as
follow
or
Taking Laplace transform, we get,
(s+1)y(s) = K x(s)
Gain,
for simplicity we take k=1; =5;
we get
G(s)
K=44, J=43
N=K
D=[J 1]
TF= tf(N,D)
step(TF)
hold on
grid on
K=45, J=43
N=K
D=[J 1]
TF= tf(N,D)
step(TF)
hold on
grid on
K=46, J=43
N=K
D=[J 1]
TF= tf(N,D)
step(TF)
hold on
grid on
K=47, J=43
N=K
D=[J 1]
TF= tf(N,D)
step(TF)
hold on
grid on
Result:Step Response
50
45
40
35
Amplitude
30
25
20
15
10
5
0
50
100
150
200
250
Time (sec)
300
N=K
D=[J 1]
TF= tf(N,D)
impulse(TF)
hold on
grid on
K=46, J=43
N=K
D=[J 1]
TF= tf(N,D)
impulse(TF)
hold on
grid on
K=47, J=43
N=K
D=[J 1]
TF= tf(N,D)
impulse(TF)
hold on
grid on
Result:-
Impulse Response
1.4
1.2
Amplitude
0.8
0.6
0.4
0.2
50
100
150
Time (sec)
COMMENT:-
200
250
300
EXPERIMENT NO. 4
AIM: To analyze second order transfer function using
MATLAB.
or,
In more generalized form
Result:-
Step Response
45
40
35
Amplitude
30
25
20
15
10
5
0
10
Time (sec)
12
Result:Impulse Response
25
20
Amplitude
15
10
10
12
Time (sec)
COMMENT:-
EXPERIMENT NO. 5
AIM:
MODELLING:
Step Response
1.4
1.2
Amplitude
0.8
0.6
0.4
0.2
Result:-
COMMENT:-
5
Time (sec)
10
EXPERIMENT NO. 6
AIM:
MODELLING :
system i a as
0r
BLOCK DIAGRAM:
Applied input:
Output Response:
COMMENT:-
EXPERIMENT NO. 7
AIM:
MODELLING:
system ia as follow:
or
BLOCK DIAGRAM:
As in previous Experiment here to we made block diagram
for second order system.
here we have taken two feedback i.e. dy/dt (dot_y) and y and
after gain coefficient get multiplied to them , then they are
added with the input and again multiplied with coefficient 1/a
using gain block.this gives d2y/dx2 (ddot_y) and to get
dy/dt(dot_y) and y from d2y/dx2 (ddot_y) we used integrator
block
Applied input:
Output Response:
COMMENT:-
EXPERIMENT NO. 8
AIM:
PROBLEM STATEMENT:
In this diagram:
V is the horizontal velocity of the car ( unit of m/s).
F is the force created by the car engine to propel it
forward (unit of N)
b is the damping coefficient for the car, which is
dependent on wind resistance wheel friction ,etc.
(unit of Ns/m) and is proportional to speed.
Take
M = 1000 kg
b = 40 Ns/m
and assume the car initially at rest, and that the engine
applies a step input of F
F = 400 N at t=0
MODELLING:
get
Ma=F-bv
we get,
BLOCK DIAGRAM:
OUTPUT RESPONSE:
COMMENT: