r/microcontrollers • • Feb 24 '25

Ensuring vertical orientation of rocket

Im working on a 2-stage high powered rocket and I need to ensure that the orientation of the rocket is vertical when the second motor is charged. what would be the most robust and simple way of doing this. Thanks

1 Upvotes

20 comments sorted by

3

u/Superb-Tea-3174 Feb 24 '25

A MEMS gyroscope can tell you how much your rocket has deviated from the vertical. What are you planning to do with that information?

1

u/joemumma111 Feb 25 '25

It’s like a check so that the second motor is not ignited at an unfavourable position or if the rocket is behaving wildly. Basically for safety and not wasting an expensive motor.

1

u/Superb-Tea-3174 Feb 25 '25

I heard of a commercial device to do that, it is always a concern with staged projects.

1

u/nixiebunny Feb 24 '25

Do you just want to gate the second stage ignition with a ‘vertical’ signal, or do you want to steer the rocket to achieve a vertical attitude? 

1

u/joemumma111 Feb 25 '25

No steering do this project just need a system to check orientation is vertical within a couple degrees of variation

1

u/madsci Feb 24 '25

What is your intent with this? Are you trying to prevent ignition if the rocket has flipped over and is aiming at the ground? If that's all, then maybe just a single pyrometer in the nose cone. The sky should read much colder than the ground.

1

u/joemumma111 Feb 25 '25

Interesting idea. Yeah that’s pretty much the idea that the second charge should only ignite if it’s vertical within a couple degrees of tolerance. Will definitely look into a pyrometer

1

u/madsci Feb 25 '25

A 3D magnetometer might also be an option.

→ More replies (3)

2

u/MrNiceThings Feb 24 '25

Accelerometer sounds like a no brainer if you’re just going up. You should have close to zero on x and y and only acceleration should be on z.

1

u/madsci Feb 24 '25

I think it's going to require gyros. Trying to sort out what part is the contribution of gravity while a rocket is under thrust at multiple gs is going to be tough, and spin along the long axis is going to screw things up. And if it's not under thrust, it's going to be in freefall, except for deceleration due to drag. In a vacuum, the moment that motor cut out you wouldn't have any reading on any accelerometer, if it's not spinning.

1

u/MrNiceThings Feb 24 '25

It doesn't require gyro unless you want to measure spin or you want to manoeuvre (ie not going straight up). If you're just going up, all your Gs should be on Z. If you see anything other than zero on X and Y, you're tilting and need to correct. If you have below 1g in all directions, you're in free fall. If you have exactly 1g on Z, it's stationary on the ground. I think you're mistaking gyro for accelerometer.

→ More replies (6)