Class in Zendir.Classes | Inherits from Software

Declaration

class MRPFeedbackControlSoftware;

Description

This module provides a general MRP feedback control law. This 3-axis control can asymptotically track a general reference attitude trajectory. The module is setup to work with or without N reaction wheels with general orientation. If the reaction wheel states are fed into this module, then the resulting RW gyroscopic terms are compensated for. If the wheel information is not present, then these terms are ignored.


Properties

DeclaredDescription
In_AttitudeErrorMsgAttitude guidance input message
In_BodyMassMsgVehicle configuration input message from the body
In_RWArrayAvailabilityMsgRW availability input message [OPTIONAL]
In_RWArrayConfigMsgRW parameter input message [OPTIONAL]
In_RWArraySpeedMsgRW speed input message [OPTIONAL]
IntegralLimit[Nm] Integration limit to avoid wind-up issue
K[rad/s] Proportional gain applied to MRP errors
Ki[Nm] Integration feedback error on rate error
KnownTorque_B[Nm] known external torque in body frame vector componentson the body frame
Out_CommandTorqueMsgCommanded spacecraft external control torque output message
PRate error feedback gain applied
SigmaIntegral[s] Integral of the known MRP attitude error measurementthat will change over time
InheritedDescription
IsEnabledIs true if the object is currently enabled.
NameThe display name or tag of this object.
ParentThe currently attached parent object (if any).

Methods

InheritedDescription
DestroyRemoves the current object from the simulation.
DisableDisable the software componentDerived classes should clear any output messages
EnableEnable the software component
FindParentWithIDReturns an attached parent that satisfies the specified ID.
FindParentWithTypeReturns an attached parent that satisfies the specified type.
FindRootWithIDReturns a root object that satisfies the specified ID.
FindRootWithTypeReturns a root object that satisfies the specified type.
InitialiseThis method is called whenever some key parameters are changedand any new local variables are required to be recalculated. Thiscan be called by the software chains if a configuration of somevalues are updated.