scenario_ClosedLoopManeuver#

Overview#

This BSK-Sim scenario demonstrates how a Delta-V maneuver can be performed using thrusters. A few minutes before the maneuver, the attitude of the spacecraft is brought to the DV attitude, i.e. the DV thrusters of the spacecraft are aligned with the DV direction. This is done using the reaction wheels and the modules dvGuidance, mrpFeedback and rwMotorTorque. During the maneuver, the attitude os controlled with the DV thrusters and the modules dvGuidance, mrpFeedback, thrForceMapping and thrFiringRemainder. The DV maneuver is executed using the dvExecuteGuidance module. The maneuver starts at a specified burn start time and ends once the desired DV has been accumulated.

The script is found in the folder xmera/examples/BskSim/scenarios and executed by using:

python3 scenario_ClosedLoopManeuver.py

Custom Dynamics Configurations Instructions#

Delta-V thrusters were added to the BSK_Dynamics framework. The properties of the DV thrusters can be changed there, but keep in mind to also change the thruster properties in BSK_FSW.

Custom FSW Configurations Instructions#

Delta-V thrusters were added to the BSK_FSW framework. The properties of the DV thrusters can be changed there, but keep in mind to also change the thruster properties in BSK_Dynamics. Make sure to call FswModel.SetAttThrusters(useDvThrusters = True) if it is desired to use the DV thrusters for attitude control, otherwise the ACS thrusters will be used by default.

The necessary modules for attitude control with thrusters, i.e. thrForceMapping and thrFiringRemainder were added, and the module properties can be changed there. An additional MRP feedback module was added for thrusters. Modules for the DV execution, i.e. dvGuidance for DV attitude control and dvExecuteGuidance for maneuver execution were also added and can be adjusted in BSK_FSW.

Illustration of Simulation Results#

showPlots = True
_images/Scenarios/scenario_ClosedLoopManeuver_attitudeErrorNorm.svg _images/Scenarios/scenario_ClosedLoopManeuver_attitudeRateError.svg _images/Scenarios/scenario_ClosedLoopManeuver_controlTorque.svg _images/Scenarios/scenario_ClosedLoopManeuver_dvOrientation.svg _images/Scenarios/scenario_ClosedLoopManeuver_dvCommand.svg _images/Scenarios/scenario_ClosedLoopManeuver_dvAccumulation.svg _images/Scenarios/scenario_ClosedLoopManeuver_thrusterOnTime.svg _images/Scenarios/scenario_ClosedLoopManeuver_thrusterForce.svg