Hardware in the Loop Simulation (HILS) is intended to reduce time and development cost of control system design. HILS systems are mostly built by integrating both controller hardware and simulator software where the software is not an open source. Moreover, implementing HILS by using manufactured system is costly. This paper describes the design and implementation of HILS for Electric Ducted Fan (EDF) rocket by using open-source platform for development with middleware. This middleware system is used to bridge the data flow between controller hardware and simulator software. A low-cost ATMEGA 2560 8-bit microcontroller is used to calculate rocket's attitude with Direction Cosine Matrix (DCM) algorithm and PID controller is employed to regulate rocket's dynamics based on desired specifications. X-Plane 10 simulator software is used for generating simulated sensory data. The test results validate that HILS design meets the defined specifications, i.e. angle difference of 0.3 degrees and rise time of 0.149 seconds on pitch angle.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.