Help build the future of open source observability software Open positions

Check out the open source projects we support Downloads

Grot cannot remember your choice unless you click the consent notice at the bottom.

How Grafana helped a rocket engineering team break a world record

How Grafana helped a rocket engineering team break a world record

21 Apr, 2023 6 min

Philip Do is a university student, software engineer, and space enthusiast from Southern California. He currently studies Computer Science and Engineering (CSE) at UCLA, where he is the Electronics Subteam Lead and Avionics Software Lead for Rocket Project, and Webmaster for the Engineering Society at UCLA. Learn more about Philip, his other projects, and his experience at the NASA Jet Propulsion Laboratory, on his portfolio website.

A photo of a rocket named Phoenix launching in the desert.
Phoenix climbing the launch rail.

T-5, 4, 3, 2, 1. Fire!

The bright flame and roar of our rocket, Phoenix, as it goes supersonic are a sight and sound to behold. My teammates and I on the Project Ares launch crew listen intently as the sonic boom dies out and is replaced by the callouts from our avionics (aviation electronics) team, who had positioned themselves out in the mountains so they had a clear line of sight with the rocket’s communications system. They read out the nose cone avionics system altitude readings: 2,000 feet. 7,000 feet. 14,000 feet. 20,000 feet. 22,000 feet. The bunker goes silent before erupting with cheers and cries of joy.

On March 18, I was part of a team that broke the collegiate world record for highest liquid rocket altitude and also won the Dollar Per Foot Challenge, a competition hosted by the Friends of Amateur Rocketry. The organization rewards teams with a dollar for every foot of altitude, for the purposes of rocketry education.

My teammates and I are all members of Rocket Project at UCLA, a student engineering team that teaches rocket engineering through hands-on exposure to the complete design-build-test cycle. It gives students an opportunity to apply classroom subjects to a project with real-world challenges and thrilling results. Specifically, we are part of Project Ares, the club’s flagship liquid bi-propellant rocket team. The goal of the project is to cultivate experienced rocket engineers through the design, build, and test of a liquid bi-propellant rocket.

As the Project Ares electronics subteam lead, I was a first-hand witness to the special, record-breaking moment — and the stressful situations that occurred in the control bunker right before that. (I’ll explain more below.) It was quite surreal to see a product that I have worked on for nearly two years in all successfully come to fruition in a blaze of glory.

Getting to the point where we can achieve a successful launch requires countless hours in the lab. One tool our team relies on heavily is Grafana. With our dashboards, we can quickly visualize data and monitor potential hardware issues during critical phases of testing and launch.

In this blog post, I’m going to share what happens in our typical development cycle and explain how we use Grafana to develop, test, and launch record-setting rockets.

A photo of a group of people in the desert, holding a rocket and standing in front of a sign that says Rocket Project at UCLA
Project Ares launch crew

Rocketry basics

What sets our project team apart from many other university rocketry teams is that we work with liquid propellant rockets instead of solid fuel rockets.

While solid rocket motors can produce high thrust and are simpler to implement, they cannot be controlled once they are ignited and must burn until the fuel runs out. On the other hand, liquid propellant rockets can be fine-tuned and controlled during the entire launch process — at the cost of increased complexity. This benefit tends to outweigh the detriments for major systems, and make liquid rockets the standard for all major aerospace endeavors (such as SpaceX’s Falcon 9), giving members of our team industry-applicable skills.

A group of people from the Project Ares Electronics Subteam posing in the desert
Project Ares electronics subteam

The testing stage

Before our team is ready to launch, we begin testing, which comes in two phases: cold flows and hot fires. We rely on numerous sensors to make sure our systems are working properly, but two of the most important ones are pressure transducers and thermocouples.

Pressure transducers convert pressure into an electrical signal represented as a changing voltage. Thermocouples essentially do the same thing, but with a temperature-dependent voltage. The combination of pressure transducers and thermocouples allows us to get pressure and temperature data from our liquid oxygen and fuel tanks to make sure our system is performing nominally.

Our software stack for this year includes Flask, Telegraf, InfluxDB, and Grafana. Here is an overview of the entire ground systems architecture:

A diagram with boxes and arrows showing an overview of Rocket Project's ground systems architecture
Ground systems architecture overview

The first phase of our testing, cold flows, is done on campus and involves pressuring our system and allowing liquid nitrogen to flow through our plumbing to make sure there are no leaks and anomalies. We use Grafana here not only to observe the pressure and temperature of our liquid oxygen and fuel tanks, but also to make sure that our valves are properly actuating.

Having a timeline in Grafana that displays when the relays actuate also allows us to make sure we are properly cycling through the correct order of switches. Additionally, the quick visualization of data helps us calibrate our sensors to properly convert the raw voltages into useful metrics.

A photo of an open laptop displaying a Grafana dashboard beside a monitor and a slice of pizza
Grafana cold flow test setup

The second phase of our testing, hot fires, is performed at a test site in the Mojave Desert. It is very similar to the aforementioned cold flows, but with one key difference: We also read in load cell data.

The load cell data that is also displayed on our Grafana dashboard is used to generate a thrust curve that we can use to verify that our system is able to reach our targeted apogee.

A photo of two people and one is pointing at a panel in a Grafana dashboard
Grafana hot fire test setup

The launch stage

Once our rocketry system has passed all of our required tests, it’s time to get ready to launch. 

A photo of a group of people in the desert carrying a large rocket.
The team carrying the rocket to the rail.

Part of our preparation includes bringing all our components to the Mojave and performing leak checks and actuation checks using the Grafana dashboard below. It shows all of the pressures, temperatures, and valve switch states I’ve previously mentioned.

A screenshot of a Grafana dashboard with sensor and valve data from a rocket test

Having a dashboard like this on hand means we can view live data from the tanks and quickly notice issues and fix them on the fly — which is exactly what happened right before the record-breaking launch.

Thankfully, the team monitoring the rocket in the bunker noticed that a relay was not properly actuating.

A photo of the author's hand holding a switch next to a laptop displaying a Grafana dashboard
Here I am checking switch valve actuation.

The Big Event

Once those final checks are completed, the time to launch is imminent. 

On launch day at 4:59pm, there was tension in the air — and only one minute left on the clock before the FAA disallows launches. As the ignitor went off, we watched a year of hard work shriek through the sky and clouds.

Here is a look at the sensor and valve data in our launch dashboard:

A screenshot of a Grafana dashboard with sensor and valve data from a rocket launch

Once the rocket successfully launched and started descending from its apogee, we scanned the sky, anxiously awaiting the sight of a deployed drogue and parachute.

“There it is!” someone shouted as our heads turned, and we gazed upward at the slowly descending object.

Touchdown marked the first time that our team was able to successfully recover a rocket entirely intact, a key component of the competition. A sigh of relief and sense of pride was ignited as we hiked towards the landing site, thrilled with what we had accomplished.

A photo of rocket in desert brush. The rocket is covered in stickers from Grafana, 3M, UCLA, Siemens, and Solidworks.
Our successfully recovered rocket with its Grafana sticker still intact

Future plans

Looking ahead, we hope to develop a new dashboard for live avionics data that monitors key metrics like altitude and position for the next launch cycle.

In the meantime, the entire UCLA Project Ares team would like to thank Grafana Labs for being a major part of making this passion project possible, and we look forward to our continued partnership.

Want to share your Grafana story and dashboards with the community? Drop us a note at stories@grafana.com.