MATLAB SIMULATION

advertisement
UNIVERSITY OF NAIROBI
DEPARTMENT OF MECHANICAL AND MANUFACTURING ENGINEERING
FME 511: MECHANICS OF MACHINES
AUTOMATIC CONTROL SYSTEMS
ASSSIGNMENT: MATLAB SIMULATIONS
BY: MELAKU NARDOS DEMERE
REG.NO: F18/37208/2013
SUBMITTED TO: DR. JACKSON GITHU NJIRI
DATE OF SUBMISSION:-JANUARY/11/2019
TASK 1
TASK 2
TASK 3
num = [2.5];
den = [2.5 1];
G =tf(num,den,'InputDelay',1);
% exp(-1*s) * 2.5
%
-----------%
2.5 s + 1
K = 1;
H = feedback (G,K)
margin (H)
grid
1
MATLAB Command Window
Page 1
Trial License -- for use to evaluate programs for possible purchase as an end-user
only.
>> Task3
>> Task3
H =
A =
x1
x1
-1.4
B =
x1
u1
1
C =
y1
x1
1
D =
y1
u1
0
(values computed with all internal delays set to zero)
Internal delays (seconds): 1
Continuous-time state-space model.
>> Task3
H =
A =
x1
x1
-1.4
B =
x1
u1
1
C =
y1
x1
1
D =
y1
u1
0
MATLAB Command Window
(values computed with all internal delays set to zero)
Internal delays (seconds): 1
Continuous-time state-space model.
>>
Page 2
TASK 4
Untitled
Task 4 (part b)
plot(q4)
>> grid
>> stepinfo q4
ans =
struct with fields:
RiseTime:
SettlingTime:
SettlingMin:
SettlingMax:
Overshoot:
Undershoot:
Peak:
PeakTime:
0.8000
1.9800
52
52
117.3077
0
113
1
Page 1
Untitled
Task 4 (part c)
plot(q4c)
>> grid
>> stepinfo q4c
ans =
struct with fields:
RiseTime:
SettlingTime:
SettlingMin:
SettlingMax:
Overshoot:
Undershoot:
Peak:
PeakTime:
0.1836
2.9800
52
99
14.1414
0
113
1
Page 1
Untitled
Task 4 (part d)
Proportional-Integral-Controller (PID)
Page 1
Download
Random flashcards

Marketing

– Cards

History of Europe

– Cards

Gastroenterology

– Cards

Create flashcards