DCMotor:

Path: Electrical/Motor

% DC motor model.
--------------------------------------------------------------------------
   Form:
   u = DCMotor( v, omega, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   v   	      (:)     Input voltage
   omega         (:)     Angular rate (rad/sec)
   d             (:)     Data structure 
                         .kT  Torque constant
                         .r    Resistance
                         .iMax Maximum current
                         .iMin Minimum current
                         .kG   Power amplifier gain
                         .vMax Maximum voltage

   -------
   Outputs
   -------
   u   	      (:)     Voltage

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

Back to the Electrical Module page