![National Instruments NI MATRIXx Xmath Specification Sheet Download Page 86](http://html.mh-extra.com/html/national-instruments/ni-matrixx-xmath/ni-matrixx-xmath_specification-sheet_709742086.webp)
Chapter 4
Frequency-Weighted Error Reduction
4-16
ni.com
3.
Only continuous systems are accepted; for discrete systems use
makecontinuous( )
before calling
bst( )
, then discretize the
result.
Sys=fracred(makecontinuous(SysD));
SysD=discretize(Sys);
Defining and Reducing a Controller
Suppose
P
(
s
) =
C
(
sI
–
A
)
–1
B
and
A
–
BK
R
and
A
–
K
E
C
are stable (where
K
R
is a stabilizing state feedback gain and
K
E
a stabilizing observer gain).
A controller for the plant
P
(
s
) can be defined by
(with
u
the plant input and
y
the plant output). The associated series
compensator under unity negative feedback is
and this may be written as a left or right MFD as follows:
(4-5)
(4-6)
The reduction procedures
"right perf"
and
"left perf"
have similar
rationales. We shall describe
"right perf"
, refer to [AnM89] and
[LiA86]. The first rationale involves observing that to reduce
C
(
s
), one
might as well reduce its numerator and denominator simultaneously, and
then form a new fraction
C
r
(
s
) of lower order than
C
(
s
).
This amounts to reducing
(4-7)
x
ˆ·
Ax
ˆ
Bu K
E
Cx
ˆ
y
–
(
)
–
+
=
u
K
R
x
ˆ
–
=
C s
( )
K
R
sI A BK
R
K
E
C
+
+
–
(
)
1
–
K
E
=
C s
( )
I K
R
sI A K
E
C
+
–
(
)
1
–
B
+
[
]
1
–
K
R
sI A K
E
C
+
–
(
)
1
–
K
E
=
C s
( )
K
R
sI A BK
R
+
–
(
)
1
–
K
E
I C sI A BK
R
+
–
(
)
1
–
K
E
+
[
]
1
–
=
E s
( )
K
R
C
sI A BK
R
+
–
(
)
1
–
K
E
=