ReactionWheel:

Path: SCPro/ProActuators

% RWA model. This models an RWA using Hall sensors. 
   The model has three states. They are:

   [Wheel angle;...
    Omega;...
    Bristle];

   See also RWAResponse.
--------------------------------------------------------------------------
   Form:

   y = ReactionWheel( action, u )

   Actions with only inputs:

   ReactionWheel( 'initialize', rWADatastructure );
   ReactionWheel( 'set command', rWATorqueCommand );
   ReactionWheel( 'set failure', failedRWAID );
   ReactionWheel( 'set data', rWADatastructure );
   ReactionWheel( 'set tachometer states', struct( 'omega', reactionWheelRate, 'angle', reactionWheelAngle ) );

   Actions with output:

   tachometerWord          = ReactionWheel( 'GetTachometerWord ' );
   frictionTorque          = ReactionWheel( 'get friction torque' );
   reactionTorque          = ReactionWheel( 'compute reaction torque', reactionWheelState );
   electricalPower         = ReactionWheel( 'get power consumption' );
   motorCurrent            = ReactionWheel( 'get motor current' );
   motorVoltage            = ReactionWheel( 'get motor voltage' );
   xDot                    = ReactionWheel( 'get state derivative', omegaBase );
   d                       = ReactionWheel( 'get default datastructure' );

--------------------------------------------------------------------------

   ------
   Inputs
   ------
   action	  (:)    Action or state
   u         (1,1)  Input depends on action

   -------
   Outputs
   -------
   y        (:)    Output depends on action

--------------------------------------------------------------------------

Children:

SC: Actuator/FrictionBristle
Common: General/CloseIfHandle

Back to the SCPro Module page