Sie sind auf Seite 1von 20

2008-EE-094

LAB NO 11
TASK 01
OBJECT:
Find the step response by using simulink. Also calculate the work space values.

SIMULATION:

2
simout
s+0.5

Step T ransfer Fcn To Workspace

Scope

GRAPH:
2008-EE-094

WORK SPACE VALUES:


0
5.7114e-018
0.00040188
0.0024107
0.01244
0.062208
0.30189
0.65381
0.97224
1.2604
1.5211
1.757
1.9704
2.1636
2.3383
2.4965
2.6395
2.769
2.8861
2.9921
3.0881
3.1748
3.2534
3.3244
3.3887
3.4469
3.4995
3.5471
3.5902
3.6292
3.6645
3.6964
3.7253
3.7515
3.7751
3.7965
3.8159
3.8334
3.8493
3.8636
3.8766
3.8883
3.899
2008-EE-094

3.9086
3.9173
3.9251
3.9323
3.9387
3.9445
3.9498
3.9546
3.9589
3.9628
3.9664
3.9696
3.9725
3.973
2008-EE-094

LAB NO 11
TASK 02
OBJECT:
Find the second order response by using simulink. Also calculate the work space values.

SIMULATION:

2
si mout
s+0.5

Ramp T ransfer Fcn T o Workspace

Scope

GRAPH:
2008-EE-094

WORK SPACE VALUES:


0
8.0777e-030
0.038699
0.14985
0.32655
0.56256
0.85225
1.1905
1.5727
1.9946
2.4526
2.943
3.463
4.0096
4.5803
5.1728
5.785
6.4152
7.0615
7.7224
8.3965
9.0827
9.7797
10.486
11.202
11.926
12.657
13.394
14.138
14.886
15.64
16.398
17.16
17.926
18.695
19.467
20.242
21.019
21.798
22.579
23.362
24.147
24.933
2008-EE-094

25.72
26.509
27.298
28.089
28.88
29.673
30.466
31.26
32.054
2008-EE-094

LAB NO 11
TASK 03
OBJECT:
Find the step response of the given diagram.

3s+1
simout
5s+0.5

Step T ransfer Fcn T o Workspace

1.5

Gain
Scope

SIMULATION:
2008-EE-094

GRAPH:

WORK SPACE VALUES:


6
6
6.0003
6.0017
6.0087
6.044
6.2232
7.1898
11.218
17.227
26.191
39.565
59.515
89.278
133.68
199.92
298.73
2008-EE-094

446.15
666.07
994.16
1483.6
2213.8
3303
4928
7352.3
10969
16364
24413
36420
54333
81056
1.2092e+005
1.8039e+005
2.6912e+005
4.0148e+005
5.9893e+005
8.9351e+005
1.333e+006
1.9885e+006
2.9665e+006
4.4256e+006
6.6022e+006
9.8493e+006
1.4693e+007
2.192e+007
3.2701e+007
4.8784e+007
7.2777e+007
1.0857e+008
1.6197e+008
2.4163e+008
3.6047e+008
5.3776e+008
8.0224e+008
1.1968e+009
1.7854e+009
2.6635e+009
3.3962e+009
2008-EE-094

LAB NO 11
TASK 04
OBJECT:
Find the second order response of the given diagram.

SIMULATION:

3s+1
simout
5s+0.5

Ramp T ransfer Fcn T o Workspace

1.5

Gain
Scope
2008-EE-094

GRAPH:

WORK SPACE VALUES:


0
1.7053e-014
1.5214
3.8894
7.5204
13.036
21.362
33.881
52.656
80.764
122.79
185.59
279.38
419.39
628.36
940.2
1405.5
2008-EE-094

2099.8
3135.6
4681
6986.5
10426
15557
23212
34632
51669
77085
1.15e+005
1.7157e+005
2.5595e+005
3.8184e+005
5.6964e+005
8.4981e+005
1.2678e+006
1.8913e+006
2.8215e+006
4.2092e+006
6.2794e+006
9.3677e+006
1.3975e+007
2.0848e+007
3.1102e+007
4.6399e+007
6.9219e+007
1.0326e+008
1.5405e+008
2.2982e+008
3.4284e+008
5.1146e+008
7.6302e+008
1.1383e+009
1.6981e+009
2008-EE-094

LAB NO 11
TASK 05
OBJECT:
Find the step response of the given diagram by using matlab.

CODING:
clc
n=[0 2]
d=[1 0.5]
a=tf(n,d)
b=step(n,d)
c=size(b)
t=1:1:109
plot(t,b)
xlabel('TIME')
ylabel('AMPLITUDE')
title('UNIT STEP RESPONSE')

GRAPH:
UNIT STEP RESPONSE
4

3.5

2.5
AMPLITUDE

1.5

0.5

0
0 20 40 60 80 100 120
TIME
OUTPUT:
Transfer function:
2
-------
s + 0.5
2008-EE-094

b=
0
0.2149
0.4182
0.6106
0.7927
0.9650
1.1280
1.2823
1.4283
1.5664
1.6971
1.8209
1.9379
2.0487
2.1535
2.2527
2.3466
2.4354
2.5194
2.5990
2.6742
2.7454
2.8128
2.8766
2.9369
2.9941
3.0481
3.0992
3.1476
3.1934
3.2367
3.2777
3.3165
3.3532
3.3880
3.4209
3.4520
3.4814
3.5093
3.5356
3.5606
3.5842
3.6065
2008-EE-094

3.6277
3.6477
3.6666
3.6845
3.7014
3.7175
3.7327
3.7470
3.7606
3.7735
3.7856
3.7972
3.8080
3.8184
3.8281
3.8373
3.8461
3.8544
3.8622
3.8696
3.8766
3.8832
3.8895
3.8954
3.9010
3.9064
3.9114
3.9162
3.9207
3.9249
3.9290
3.9328
3.9364
3.9398
3.9430
3.9461
3.9490
3.9517
3.9543
3.9568
3.9591
3.9613
3.9634
3.9653
2008-EE-094

3.9672
3.9690
3.9706
3.9722
3.9737
3.9751
3.9765
3.9777
3.9789
3.9800
3.9811
3.9821
3.9831
3.9840
3.9849
3.9857
3.9864
3.9872
3.9879
3.9885
3.9891
3.9897

c = 109 1
2008-EE-094

LAB NO 11
TASK 06
OBJECT:
Find the step response of the given diagram by using matlab.

CODING:
clc
n=[3 1]
d=[5 0.5]
a=tf(n,d)
b=step(n,d)
c=size(b)
t=1:1:109
plot(t,b)
xlabel('TIME')
ylabel('AMPLITUDE')
title('UNIT STEP RESPONSE')

GRAPH:
UNIT STEP RESPONSE
2

1.5
AMPLITUDE

0.5
0 20 40 60 80 100 120
TIME
2008-EE-094

OUTPUT:
n =3 1
d = 5.0000 0.5000

Transfer function:
3s+1
---------
5 s + 0.5

b=
0.6000
0.6752
0.7464
0.8137
0.8774
0.9377
0.9948
1.0488
1.0999
1.1482
1.1940
1.2373
1.2783
1.3170
1.3537
1.3884
1.4213
1.4524
1.4818
1.5096
1.5360
1.5609
1.5845
1.6068
1.6279
1.6479
1.6668
1.6847
1.7017
1.7177
1.7329
1.7472
1.7608
1.7736
2008-EE-094

1.7858
1.7973
1.8082
1.8185
1.8282
1.8375
1.8462
1.8545
1.8623
1.8697
1.8767
1.8833
1.8896
1.8955
1.9011
1.9064
1.9115
1.9162
1.9207
1.9250
1.9290
1.9328
1.9364
1.9398
1.9431
1.9461
1.9490
1.9518
1.9544
1.9568
1.9591
1.9613
1.9634
1.9654
1.9672
1.9690
1.9707
1.9722
1.9737
1.9751
1.9765
1.9777
1.9789
1.9801
2008-EE-094

1.9811
1.9821
1.9831
1.9840
1.9849
1.9857
1.9865
1.9872
1.9879
1.9885
1.9891
1.9897
1.9903
1.9908
1.9913
1.9918
1.9922
1.9926
1.9930
1.9934
1.9937
1.9941
1.9944
1.9947
1.9950
1.9953
1.9955
1.9958
1.9960
1.9962
1.9964

c = 109 1

Das könnte Ihnen auch gefallen