Inner/Outer control loop test.

This is for a wheel coupled to a body. -------------------------------------------------------------------------

%--------------------------------------------------------------------------
%   Copyright (c) 2000 Princeton Satellite Systems, Inc.
%   All rights reserved.
%--------------------------------------------------------------------------

I    = 10;
J    =  1;
k    =  1;
w    = 0.1;
z    =  1;

% Inputs are angle and rate
% Output is wheel torque
%--------------------------
a    = 0
b    = [1 0]
c    = k*I*w^2
d    = k*[I*2*w*z -J]

k    = (I/J)*2*z*w;
tau  = k/((I/J)*w^2);
wN   = sqrt(k/tau)
zeta = 0.5*k/wN

% PSS internal file version information
%--------------------------------------
% $Date$
% $Id: ebb9b971b914a62b4a1069df76e0b3715515d15f $
a =

     0


b =

     1     0


c =

          0.1


d =

     2    -1


wN =

      0.31623


zeta =

       3.1623