final - U theta_uncomp = (G * Td) / (1 + G * Ga); t...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
s = tf('s'); s Ga = 15 / (s + 15); G Iy = 0.2; Ix = 0.1; Iz = 0.01; n = 0.0011; delta = Iz - Ix; G = 1 / (Iy * s^2 - 3 * n^2 * delta); G Td = 0.000000011 / (s^2 + 0.00000121); T Kp = 15; Kd = 400; Ki = 75; K Gc = Kp + Kd * s + Ki / s; G theta = (G * Td) / (1 + G * Ga * Gc); t U = (-1.0 * G * Ga * Gc * Td) / (1 + Ga * Gc * G);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: U theta_uncomp = (G * Td) / (1 + G * Ga); t theta_notd = (G * Gc * Ga) / (1 + G * Ga * Gc); t figure(1) margin(theta); m time = [0, 1000]; figure(2) impulse(U, time); i figure(3) margin(theta_uncomp); m figure(4) impulse(theta); i wb = bandwidth(theta_notd) w...
View Full Document

This note was uploaded on 09/18/2011 for the course ASE Controls taught by Professor Bishop during the Spring '10 term at University of Texas at Austin.

Ask a homework question - tutors are online