News & UpdatesOpen Source

Today We Fulfilled a Dream from 2021 — Nebula Technology’s Thrust-Vectoring Rocket Build and Open-Source Plans

Here’s how we completed the thrust-vectoring rocket project we proposed in 2021, along with our plans to open-source it. We’d welcome feedback and discussion from fellow enthusiasts.

In 2021, I had just started my final year of high school and was new to the rocketry community. I wanted to build a rocket with an onboard control system. After a lot of thought, we settled on a method called “thrust vectoring.” We’ve made the code and mechanical design documents discussed here open source so fellow enthusiasts can share what they learn.

Stage One

We had just started our final year of high school and used our spare time to draw and work on the design. We weren’t familiar with professional modeling tools like SolidWorks (SW) or CAD software, so we drew everything by hand. Our earliest drawings, shown in Figure 1.1, were pretty amateurish:

Figure 1.1 Early hand-drawn plans

I was mainly responsible for electronics and controls. We released the original software on GitHub. The first prototype used an Arduino Uno and an MPU6050 attitude sensor. Its controller was simple and had no parachute deployment routine.

The controller worked in theory. During testing, sensor readings fluctuated and the servo overcorrected, so the rocket rose along an S-shaped path. The airframe was still a cardboard tube, and we had yet to finish a complete set of drawings.https://pan.baidu.com/s/1KOF_xN1g44SiT1ISCOHRIQ?pwd=r1ll

All the rocket motors discussed in this article used the same type of solid propellant.

Stage Two

In later versions, I added sensor filtering and revised the feedback controller to address the first prototype’s problems.

I found a description of the filtering algorithm that went roughly like this: a Kalman filter efficiently estimates the state of a dynamic system from multiple sources of information in the presence of uncertainty. It updates its estimates recursively in real time and is widely used in target tracking, pattern recognition, and navigation. For an extended Kalman filter (EKF), the state equation of a dynamic system can be written as:

 X(t)=F(t)·X(t-1)+w(t)

The measurement equation can be written as:

Z(t)=H(t)·X(t)+v(t)

Here, X(t) is the system state vector at time t, F(t) is the state transition matrix at time t, Z(t) is the measurement vector at time t, H(t) is the measurement matrix at time t, w(t) is process noise, and v(t) is observation noise.

For attitude estimation, the article introduces a state vector based on an attitude quaternion:

X(t)=[q0 q1 q2 q3 bgx bgy bgz]T

Here, q=[q0 q1 q2 q3]T is the quaternion representing attitude, and b=[bgx bgy bgz]T is the bias in the gyroscope’s angular velocity measurements.

Figure 2.1 shows the rocket’s control flow:

Figure 2.1 Rocket control flow

I covered the PID algorithm in an earlier post, so I’ll keep it brief here. We switched to a truss-and-skin airframe and redesigned the motor assembly to make it more stable and easier to assemble.

(1) Mechanical linkage

We made a custom linkage to transfer motion from the servo to the thrust-vectoring assembly. Figure 2.2 shows the servo linkage and pushrod.

Figure 2.2 Servo pushrod assembly

(2) Parachute deployment mechanism

We designed a split nose cone with one fixed half and one movable half so the parachute could deploy. Figure 2.3 shows the inside of the fixed half. An onboard controller triggered the release mechanism to open the movable half and let the parachute deploy.

Figure 2.3 Fixed side of the nose cone

(3) Motor assembly

The motor assembly included a casing, insulation, a nozzle, seals, and mechanical fasteners. The team designed the assembly to limit leaks and hold the motor together. Figure 2.4 shows the assembly before all the fasteners were fitted.

Figure 2.4 Motor assembly diagram

(4) Motor bay design

The motor bay was designed to hold the motor in place. It also accommodated the thrust-vectoring system and held the fins in position to maintain the rocket’s aerodynamic shape. Figures 2.5–2.9 show the front and rear flanges, the upper and lower sections of the motor bay, and the fin retaining ring. The retaining features keep the motor from sliding out, the bay accommodates the control linkage, and the outer ring holds the fins in place.

Figure 2.5 Front flange

Figure 2.6 Rear flange

Figure 2.7 Upper motor bay

Figure 2.8 Lower motor bay (internal clips keep the motor from sliding out)

Figure 2.9 Fin retaining ring (holds the fins in place)

(5) Flight controller mounting bracket

The bracket had four tiers for the servos, the flight controller’s power supply, the flight controller PCB, and the inertial navigation module, in that order from bottom to top. The top tier held the IMU for monitoring the rocket’s attitude. A wireless serial module enabled real-time telemetry. Figure 2.10 shows the bracket.

Figure 2.10 Flight controller mounting bracket

(6) Thrust-vectoring nozzle design

The nozzle had a fixed section and a movable section. The movable section changed the direction of the exhaust for thrust vectoring. Figures 2.11 and 2.12 show the two sections.

Figure 2.11 Fixed nozzle section

Figure 2.12 Movable nozzle section

At this point we also 3D-printed a complete rocket model, assembled it, and tested it. Figure 2.13 shows the assembled rocket.

zhuangpei.png

Figure 2.13 Fully assembled rocket

We now had a working prototype, with details such as parachute deployment and the fins still to refine.

Stage Three

At this stage I rewrote most of the software. Building on my earlier post, I refined how the program handles each phase of flight. I also worked on actuator calibration, software limits, and sending data to the ground station.

For this generation’s avionics, we designed our own PCB around an ATmega328P microcontroller and a CH340N USB-to-TTL interface. I traced the USB detection issue mentioned in the earlier post to a poorly soldered USB-C connector and fixed it by resoldering the pins. Thanks to everyone who helped. The team’s notes identify a 74HC244D buffer on the power board. The author reports that the board handled three servos in testing and struggled with four.

We also refined the parachute deployment mechanism and the fin shape. Figure 3.1 shows the new deployment mechanism:

Figure 3.1 Diagram of the new parachute deployment mechanism

When triggered, the release mechanism opened the nose cone and let the parachute deploy, as shown in Figure 3.2:

Figure 3.2 Parachute deployment

Figure 3.3 shows the fully assembled rocket.

Figure 3.3 Fully assembled rocket

We then carried out a test launch and recovered the rocket successfully by parachute. Smoke from the motor obscured the moment the parachute opened, so the photo here shows the rocket descending. We launched at a large abandoned airfield. The telephoto lens may be why the houses look so close.

I learned a lot through this project, including things I’d never worked on before. I’m grateful to everyone on the team for their hard work and to all the friends who guided and helped us. I hope we keep working toward our dreams in the years ahead. That’s the story of how the team and I pursued ours. Some of my terminology may be off, so I’d welcome corrections. Thanks again for all your help.

Hi, I’m 005

Leave a Reply

Your email address will not be published. Required fields are marked *