chapter 7 CE1

# chapter 7 CE1 - Chapter 7 CE1 PO = 5 ts = 2 Specify percent...

This preview shows pages 1–3. Sign up to view the full content.

Sheet1 Page 1 %------------------------------------------------------ % Chapter 7 CE1 %------------------------------------------------------ PO = 5 % overshoot and settling % time term = pi^2 + log(PO/100)^2 zeta = log(PO/100)/sqrt(term) % Damping ratio from PO wn = 4/(zeta*ts) % Natural frequency from % settling time and zeta num = wn^2 % second-order system den = [1 2*zeta*wn wn^2] DesEig = roots(den)% Desired control law % eigenvalues Des = tf(num,den) % from num2 and den2 figure td = [0:0.01:3] step(Des,td) b) A=[0 1 0 0 B=[0 0 C=[1 0 0 0 D=[0] PO = 5 % overshoot and settling % time term = pi^2 + log(PO/100)^2 zeta = log(PO/100)/sqrt(term) wn = 4/(zeta*ts) num = wn^2 den = [1 1.4*-wn wn^2] DesEig = roots(den) % eigenvalues K = place(A,B,DesEig) % feedback gain matrix Des = tf(num,den) % from num2 and den2 figure td = [0:0.01:2] step(Des,td)

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Sheet1 Page 2 c) A = [-1 0 B = [1 C = [1 -(sqrt(2)/2)] D = [0] PO = 1 % overshoot and settling % time term = pi^2 + log(PO/100)^2 zeta = log(PO/100)/sqrt(term) % Damping ratio from PO
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 09/14/2011 for the course ELEN 236 taught by Professor Dr.migdathodzic during the Spring '11 term at Santa Clara.

### Page1 / 6

chapter 7 CE1 - Chapter 7 CE1 PO = 5 ts = 2 Specify percent...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online