Lim Activity8 Second-Order-System
Lim Activity8 Second-Order-System
Lim Activity8 Second-Order-System
DATE: 03/31/24
PCEIT-29-601P
ACTIVITY #8 SECOND ORDER SYSTEM SHERYL LIM
1.
Matlab m file:
%Calculate the %OS, Tpeak(sec), Trise(sec),Tsettling(sec) wn=input('Enter
value of wn>')
zeta=input('Enter value of zeta>') num=[0 0
wn^2]
den=[1 2*zeta*wn wn^2]
T=tf(num,den)
Ts=4/(zeta*wn)
Tp=pi/(wn*sqrt(1-zeta^2))
Tr=((1.76*zeta^3-
0.417*zeta^2+1.039*zeta+1)/wn)
percentOS=(exp(-(zeta*pi)/sqrt(1-
zeta^2))*100) subplot(221)
step(T)
'(Pole-Zero Map)'
6.