Prob. 3.6 The read arm on a computer disk drive has the transfer function
G(s) =
1000 s2
Design a digital controller that has a bandwidth of 100 Hz and a phase margin of 50. Use a sample rate of 6 kHz.
Method 1: Simplest approach is single lead with 10:1 lead ratio (b/a = 10) for PM = 50. For wbw = 2*pi*100, pick a = wbw/sqrt(10) & b = wbw*sqrt(10). Then adjust k so that crossover is at max. phase. ďƒ k = 1300. Bode Diagram Bode Diagram Gm = 0 dB (at 31.6 rad/sec) , Pm = 0 deg (at 31.6 Gm rad/sec) = Inf dB (at Inf rad/sec) , Pm = 54.9 deg (at 650 rad/sec) 20 100
50 Magnitude (dB)
Magnitude (dB)
10
0
-10
-20 -179
0
-50
-100 -120
Phase (deg)
Phase (deg)
-179.5 -180 -180.5 -181
-150
-180 1
2
10
5
10 Frequency (rad/sec)
10
EECE 413, Fall, 2006
Frequency (rad/sec)
% Prob_3_6.m % G = tf(1000,[1 0 0]); w = 2*pi*100; a = w/sqrt(10); b = w*sqrt(10); k = 1300; D = tf(k*[1 a],[1 b]); figure(1) subplot(2,2,[1 3]) margin(G),grid on subplot(2,2,[2 4]) margin(G),grid on,hold on margin(D*G),grid on,hold off figure(2) sysCL = feedback(D*G,1); margin(sysCL),grid 1 on
D( s) = k
s+a s+b