© National Instruments Corporation 6-1 Xmath Model Reduction Module
6
TutorialThis chapter illustrates a number of the MRM functions and their
underlying ideas. A plant and full-order controller are defined, and then
theeffects of various reduction algorithms are examined. The data for this
example is stored in the file mr_disc.xmd in the Xmath demos directory.
To follow the example, start Xmath, and then select File»Load from the
Xmath Commands menu, or enter the load command with the file
specification appropriate to your operating system from the Xmath
Commands area. For example:
load "$XMATH/demos/mr_disc"
Plant and Full-Order Controller
The plant in question comprises four spinning disks, connected by a
flexible shaft. A motor applies torque to the third disk, and the output
variable of interest is the angular displacement of the first disk. The plant
transfer function, which is nonminimum phase and has a double pole at the
origin, is as follows:
with:
ζ0=0.02 ω0=1
ζ1=-0.4 ω1=5.65
ζ2=0.02 ω2=0.765
ζ3=0.02 ω3=1.41
ζ4=0.02 ω4=1.85
a=4.84
Gs() 1
4s2
--------
s22ζ0ω0sω0
2
+
ω0
2
------------------------------------s2ζ1ω1sω1
2
+
ω1
2
-------------------------------- sa+
a
-----------
⋅⋅
s22ζ2ω2sω2
2
+
ω2
2
------------------------------------s22ζ3ω3sω3
2
+
ω3
2
------------------------------------s22ζ4ω4sω4
2
+
ω4
2
------------------------------------
⋅⋅
---------------------------------------------------------------------------------------------------------------------
=