National Instruments 370760B-01 Calculator User Manual


 
116 CHAPTER 3. FUNCTIONAL DESCRIPTION OF Xµ
Wperf = makepoly([0.01,1],"s")/makepoly([1,0.01],"s")
Wact = 0.1* makepoly([1,1],"s")/makepoly([0.05,1],"s")
Wnoise = 0.01
Wref = makepoly([0.005,1],"s")/makepoly([0.05,1],"s")
Wperfg = freq(Wperf,omega)
Wactg = freq(Wact,omega)
Wnoiseg = conpdm(Wnoise,omega)
Wrefg = freq(Wref,omega)
g2 = ctrlplot(Wperfg,{logmagplot});
g2 = ctrlplot(Wactg,g2,{logmagplot,line
style=3});
g2 = ctrlplot(Wnoiseg,g2,{logmagplot,line
style=4});
g2 = ctrlplot(Wrefg,g2,{logmagplot,line
style=5});
g2 = plot(g2,{title="Performance Weights",y
min=0.001,...
legend=["tracking error";"actuator";...
"noise";"reference input"],!grid})?
Frequency
0.1 1 100.01 100
Magnitude
0.01
0.1
1
10
0.001
100
Performance Weights
tracking error
actuator
noise
reference input
Set up a weighted interconnection structure for unity gain negative feedback. This
includes the perturbation weight as well as those for the design performance objectives.
A scalar multiplier is factored out of the perturbation. This is done to give a more
interesting D-scale problem for this example.