Hanus_cntlr.m
SYNTAX: [AH,BH,CH,DH,Cr,Dr,Dinv] = Hanus_cntlr(Ac,Bc,Cc,Dc,refcols,meascols)
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
refcols = columns of input matrices (Bc,Dc) corresp. to references
meascols = columns of input matrices (Bc,Dc) corresp. to measurements
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 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