PILOTS: Embedded Software Testing for High-Power Rocketry Payloads P rocessor I n the L oop O penRocket T esting S ystem 1
Who are we? Daniel Corey Sarah Dangelo Junior Sophomore Mechanical Engineering Mechanical Engineering SHC 2016-2017 Vice President SHC CanSat Systems Engineer March 4th launch of Awww, Thanks with data collection payloads 2
What is the Space Hardware Club? 3
What problem are we trying to solve? Club-designed and built electronics are used in most projects Electrical systems can be tested on the ground, but software failures are very common and hard to test A new multistage rocketry project requires more extensive testing 4
Why not test software with real rockets? Failures can be dangerous and costly Image credit: XB Software ● Opportunities are infrequent and expensive ● Software development usually involves very frequent testing Other failures can prevent a meaningful software test 5
Why not recreate the environmental conditions of a rocket flight? Testing a CanSat in a vacuum chamber 6
Can we simulate a rocket flight? Sensor emulating and rocket simulating board (left), CanSat electronics (right) 7
How can we improve that? Embedded Simulator OpenRocket 1-axis 6 degrees of freedom simulation simulation 4th order 4th-5th order Runge- Runge-Kutta Kutta (adaptive step size) Rocket design Easy to change rocket in simulator design and parameters code 8
How did we change OpenRocket? 9
How does the sensor emulator work? Image credit: MS5607 datasheet 10
What are our results so far? 11
What are our results so far? 12
What do we still plan to do? More Sensors Bugs to Fix ● MPU9250 Inertial ● Limited SPI clock speeds Measurement Unit ● Static pressures on ● Other accelerometers supersonic flights ● GPS ● Parachute deployment via ● Analog sensors ejection charge ● More pressure sensors ● Does not properly release serial ports upon simulation completion Features to Add ● Sensor selection and configuration through user interface ● Binary feedback (ejection charges) ● PWM feedback (servo motors) Image credit: SparkFun Electronics 13
Who would we like to thank? ● The UAH Space Hardware Club ● Dr. Francis Wessling, UAH SHC Advisor ● Dr. Brian Landrum, UAH AIAA Advisor ● Elena Pradhan 14
Recommend
More recommend