ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
Thrust Vector Control for Rockets
ฝัง
- เผยแพร่เมื่อ 6 มี.ค. 2021
- I describe the process I used to design a thrust vector controlled rocket. All the tools used are free (Freecad, python, OpenRocket). The contents:
(1) Dual-Axis Gimbal Design [0:41]
(2) Rocket Design [3:49]
(3) Algorithm Design (PID Controller) [6:36]
(4) Launch #1 [12:05]
(5) Launch #2 [13:24]
The github link for all code and cad is here:
github.com/pet...
If you found this useful and want to support my launches via Moron Industries Inc, my paypal is pjbevel@gmail.com
Great video about the design process.
Hello, thank you for your video. I plan on beginning this type of project, and you really simplified it to an understandable level.
Yep, you must zero the rocket on all three axis and lock the IMU on that position for vertical launch! 😆 DOAH! 🤣
The three axis are pitch, yaw, and roll (what you called "spin") 👍
You got me hooked on this now, you have made it look soooooo simple, with computers, we used RC back in the 70s, this looks like FUN now! 👍
Look up windup. Very common in a PID that needs to be tuned.
Start with proportional gain and work doubling each time till u see over correction/maxing out your final element. Then back down.
integral duration won’t be much of help as the time of flight will always be to short for it to correct. However if using integral watch out for over shoot and undershoot!!! This is windup.
Derivative rate is a nasty necessity. Which will look into the future. This is usually what u see as corrections. But like before is a big nasty cause of windup.
All in all great build, a little PID running and it should be smooth as butter, give weight and dimensions stay the same
Amazing video man fan from India 🙏 Namaste
Very helpful, thank you!
@13:55 looks like the mass loss after initial flight have affected the MC and COG dimensions added to the air friction and wind (if any) all of those may influance the flight path and need adjustment of the PID gains. I was thinking of an algorithm to automatically adjust for PID gains on the fly or to predict a couple of sets of those gains, say set1 and set2 and set 3, that will take over the other sets of gains and which will compensate for those variations that take place during flight. Just a food for the thought.
Hey Pete! Amazing creativity and dedication! Can you make more videos regarding same? I was curious about the actual Flight Computer code.
I link the code I used in the github in the video description
Very Interesting!
Hey @Peter, had an idea in mind that’s how I ended up on your videos. In regards to shooting through the parachute and the stability problem: Instead of having one big chute, how about multiple smaller chutes, around some kind of ring, in front of the rocket CG (with the ring around the rocket body). The rocket wouldn’t have to go through the chute and thinking about it sound also more stable than a rocket hanging bellow a single chute attach to a string? What do you think? Great project in any case!
Fantastic
Thank you.
Pete, can you share the schematics of connections in your Github repo please?
He has a video of it in his channel.
You have to have control of all three axis to have a stabile rocket, so you would also need some sort of "roll" control. That is why ever large rocket have some sort of RCS and/or small fins to control the roll so the TVC engine can control the pitch and yaw. Always put yourself in the "astronauts" set to imagine how you would program the flight computer!
Hey could you convert or copy your code to an Arduino Tweeny 3.2, .ino file? Or, a Arduino Nano R3?
I think there is only one other person that I have seen that has a grasp on TVC like you do, and of course that would be Joe.
no you don't
I have gotten to your channel late. I am a little familiar with the raspberry pi but I am unfamiliar with " soldering down the sd card" could you explain that process as I would like to incorporate raspberry pis into my future rocket builds.
there are test points on the backside of the raspberry pi zero W. You can look those up and map them to the pins on the sdcard. then I use high gauge wire (magnet wire) and solder all the points up. then kapton tape over it.
@@peterb7615 Well that sounds a bit too complicated for my level of competence I am not ashamed to admit.
I'm thinking about creating a missile control system for my graduation project from university and I don't know where to start......... Are there any tips you can offer me?
Hope I'm not to late 😅 I would first create a trajectory on Matlab or Python to know the path to target from launch point. This should then translate to an angle with respect to the ground, over time. That angle should then be translated into the missile's frame and with that you have your desired setpoint, that evolves with altitude
Windup
How can i plug a python into arduino
use raspberry pi not arduino for this code
can pid.py run under raspi nano?
pid.py is basically for modeling the system and determining P- I- and D- values. It doesn't run on the rocket. I'd recommend doing it on a desktop so you can view plots
mic
th-cam.com/video/4cw9K9yuIyU/w-d-xo.html
th-cam.com/video/5DHYm6fnJTg/w-d-xo.html