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
@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 @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!
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.
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
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.
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
Glad to see that my math is correct. Instead of going straight up, I want mine to do a gravity turn with no roll control.
Hello, thank you for your video. I plan on beginning this type of project, and you really simplified it to an understandable level.
Great video about the design process.
Amazing video man fan from India 🙏 Namaste
bro literally got me a job
How so?
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! 👍
Very helpful, thank you!
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
@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
Pete, can you share the schematics of connections in your Github repo please?
He has a video of it in his channel.
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!
Very Interesting!
Fantastic
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.
Thank you.
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
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
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
Windup
mic
th-cam.com/video/4cw9K9yuIyU/w-d-xo.html
th-cam.com/video/5DHYm6fnJTg/w-d-xo.html
please stop calling the center of pressure "Center of Phase" lmfao
Sorry, you're right! I do most of my work on antennas and get things backwards from time to time. www.youtube.com/@pjbevel