Table of Contents

Class ReactionWheelMotorVoltageSoftware

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

This module assumes a set of voltages are sent to the RW motors to control their speed. It includes a simple voltage deadband.

public class ReactionWheelMotorVoltageSoftware : Software
Inheritance
ReactionWheelMotorVoltageSoftware
Inherited Members

Constructors

ReactionWheelMotorVoltageSoftware()

Default constructor for the software

public ReactionWheelMotorVoltageSoftware()

Fields

In_ArrayMotorTorqueMsg

The input motor torque message required for the reaction wheels

public ArrayMotorTorqueMessage In_ArrayMotorTorqueMsg

Field Value

ArrayMotorTorqueMessage

In_RWAvailabilityMsg

The reaction wheel availability for whether the data is toggled on or off [OPTIONAL]

public RWAvailabilityMessage In_RWAvailabilityMsg

Field Value

RWAvailabilityMessage

In_RWConfigMsg

The reaction wheel configuration

public RWArrayConfigMessage In_RWConfigMsg

Field Value

RWArrayConfigMessage

In_RWSpeedMsg

The reaction wheel speeds message [OPTIONAL]

public RWSpeedMessage In_RWSpeedMsg

Field Value

RWSpeedMessage

K

[V/Nm] Torque tracking gain for closed loop control

public double K

Field Value

double

MaxVoltage

[V] Maximum output voltage

public double MaxVoltage

Field Value

double

MinVoltage

[V] Minimum voltage below which the torque is zero

public double MinVoltage

Field Value

double

Out_ArrayMotorVoltageMsg

The Output voltage from the Reaction Wheel Motors

public ArrayMotorVoltageMessage Out_ArrayMotorVoltageMsg

Field Value

ArrayMotorVoltageMessage

Methods

OnUpdate(double, double)

Called when the 'Component' should update

protected override void OnUpdate(double time, double step)

Parameters

time double

current time (seconds)

step double

the time step (seconds)