Hanus_cntlr_rev1.m
SYNTAX: [AH,BH,CH,DH,Cr,Dr,D1inv] = Hanus_cntlr(Ac,Bc,Cc,Dc,rcols,mcols,scols)
PURPOSE: Convert controller to Hanus conditioned controller. This
provides a means to eliminate anti-windup when output of the controller
is limited in a known or measurable manner (e.g. by saturation).
Constructed controller contains extra inputs for the signals representing
the limited controller output.
INPUT:
Ac,Bc,Cc,Dc = controller to convert - either digital or continuous
rcols = columns of input matrices (Bc,Dc) corresp. to references
mcols = columns of input matrices (Bc,Dc) corresp. to measurements
scols = columns of input matrices (Bc,Dc) corresp. to chosen subblock
(scols must = first noutputs columns of Dc, where
noutputs = number of outputs)
OUTPUT:
AH,BH,CH,DH = Hanus controller system description
Cr,Dr = output matrices which compute realizable reference
(realizable ref.= Cr*[cntlr state] + Dr*[cntlr inputs]
Note: no matter where reference signal comes into input controller, Hanus
controller arranges inputs as [measurements, references, limited outputs]
RESTRICTIONS:
This version is experimental. It inverts a square subblock of the full
D matrix chosen by the user. Explain why somewhere....
Right now, only works for Dc which has more columns than rows, and
scols must be first set of colums in Dc.
This function only works on controllers Ac,Bc,Cc,Dc which
feed references and measurements into controller separately. (I.e. NOT
error feedback controllers.) Also, although theory predicts resulting
controller should work for both continous and discrete controllers, I've
only been able to make it work for discrete.
METHOD: See R.Hanus, M.Kinnaert, J.L.Henrotte, "Conditioning Technique,
a General Anti-Windup and Bumpless Transfer Method", Automatica, v.23, no.6,
pp. 729-739,1987
Dependencies