Description

The Voltage Torque Conversion Software is a flight software module that translates voltage commands into motor torque commands. This conversion is essential for interfacing command and control systems with electromechanical actuators such as reaction wheels, control moment gyroscopes, and deployment mechanisms. The module applies configurable gain, scale factor, and bias parameters to each motor channel, enabling accurate modeling of motor driver characteristics and calibration errors.


Example Use Cases

  • Reaction Wheel Control: Convert voltage commands from an attitude controller into torque commands for reaction wheel motors.
  • Mechanism Actuation: Translate driver voltage signals into torque commands for deployment or articulation motors.
  • Hardware-in-the-Loop Testing: Model motor driver electronics for closed-loop simulation with flight software.

Module Implementation

The Voltage Torque Conversion Software is a Software component that processes an array of voltage commands and produces corresponding motor torque commands.

Conversion Equation

For each motor channel , the torque is computed as:

where:

  • is the output motor torque [N·m]
  • is the voltage-to-torque gain [N·m/V]
  • is the scale factor [-]
  • is the input voltage command [V]
  • is the torque bias [N·m]

Default Values

If a parameter array has fewer elements than the number of motors, default values are applied:

ParameterDefault Value
Gain ()0.0
Scale Factor ()1.0
Bias ()0.0

Parameter Applications

The parameters enable modeling of various motor driver characteristics:

ParameterPhysical Interpretation
GainMotor torque constant and driver amplification
Scale FactorCalibration errors or intentional gain adjustments
BiasResidual torque offsets or friction compensation

Assumptions/Limitations

  • The conversion is linear; nonlinear motor characteristics such as saturation or dead zones are not modeled.
  • Parameter arrays are indexed by motor number; mismatched array lengths use default values for missing elements.
  • The output array is resized to match the input voltage array length at each update.
  • No filtering or rate limiting is applied to the torque