# CME7.1 - CME 7.1 a PO = 1 ts = 1 Specify percent overshoot...

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

Sheet1 Page 1 %------------------------------------------------------ % CME 7.1 %------------------------------------------------------ a) PO = 1 % 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:2] step(Des,td) b) PO = 1 % 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)% Desired control law % eigenvalues Des = tf(num,den) % from num2 and den2 figure td = [0:0.01:2] step(Des,td) c) A = [-1 0 B = [1 C = [1 -(sqrt(2)/2)]

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

View Full Document
Sheet1 Page 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 wn = 4/(zeta*ts) % Natural frequency from
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 6

CME7.1 - CME 7.1 a PO = 1 ts = 1 Specify percent overshoot...

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

View Full Document
Ask a homework question - tutors are online