Using xPC Target to test the control system of a nano satellite

Krishna Kinger, Rajat Agarwal, Chandrasekhar Nagarajan, Bhavya Shahi, Varun Kashyap, Nikhil Gupta

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

This paper demonstrates the use of xPC Target system to simulate the space environment for testing and verifying the control system algorithms of a nano satellite. Setup includes a Host and a Target system connected via an appropriately selected communication link. Target system is connected to a data acquisition card through PCI bus. In this paper, a satellite system with magnetic actuation using magnetorquers is considered. In the proposed setup, Simulink environment is used in the Host system to model three sensors - GPS, sun sensor and magnetometer. The designed Simulink model predicts the real time space environment values for the spacecraft. These predicted values are compiled in the Host system, and output is transferred to the Target system. The Target system is configured to run Simulink at a kernel level to provide real time simulations. Data acquired at I/O ports of Target system is provided to the controller running attitude determination and control systems algorithm. The attitude values predicted by the controller are compared with the simulated sensor values, and the error rate is calculated. This error rate determines the current measure to be passed through the magnetorquer. In addition, current measure at the output is given as a feedback to the Simulink model for the prediction of the next set of sensor values. A Matlab based data acquisition tool is used to provide initial sensor readings and to monitor all the input and output parameters in real time. An analysis of complete hardware in loop simulation is described, and simulation results are provided in this paper.

Original languageEnglish
Title of host publication2016 IEEE Aerospace Conference, AERO 2016
PublisherIEEE Computer Society
Volume2016-June
ISBN (Electronic)9781467376761
DOIs
Publication statusPublished - 27-06-2016
Externally publishedYes
Event2016 IEEE Aerospace Conference, AERO 2016 - Big Sky, United States
Duration: 05-03-201612-03-2016

Conference

Conference2016 IEEE Aerospace Conference, AERO 2016
CountryUnited States
CityBig Sky
Period05-03-1612-03-16

All Science Journal Classification (ASJC) codes

  • Aerospace Engineering
  • Space and Planetary Science

Fingerprint Dive into the research topics of 'Using xPC Target to test the control system of a nano satellite'. Together they form a unique fingerprint.

  • Cite this

    Kinger, K., Agarwal, R., Nagarajan, C., Shahi, B., Kashyap, V., & Gupta, N. (2016). Using xPC Target to test the control system of a nano satellite. In 2016 IEEE Aerospace Conference, AERO 2016 (Vol. 2016-June). [7500664] IEEE Computer Society. https://doi.org/10.1109/AERO.2016.7500664