Flight Computer and Navigation Software for a Fin-Controlled Rocket

  Рет қаралды 107,726

Jacob Thornhill

Jacob Thornhill

Күн бұрын

Пікірлер: 112
@jacobthornhill
@jacobthornhill 3 ай бұрын
I forgot to mention that PCBWay is hosting its annual design contest at the moment! You can enter your electronics, CAD, or STM32 projects to be judged by a team of engineers. Prizes include cash, coupons, and various DIY electronics. Details: www.pcbway.com/activity/7th-project-design-contest.html
@Wi8had0w
@Wi8had0w 3 ай бұрын
my honest question is , what do you do to pay bills while working on this . thanks .
@BPSspace
@BPSspace 3 ай бұрын
You're really great at striking the balance of technical detail and brevity for KZbin. Also I've got my kalman filter set up the same way! I assume you're doing your filter in the inertial frame, and acceleration is rotated out of body frame first?
@JackOHaraEngineering
@JackOHaraEngineering 3 ай бұрын
Real men convert to perifocal and hate themselves
@jacobthornhill
@jacobthornhill 3 ай бұрын
Thank you so much Joe! Yes exactly, I’m transforming the acceleration to the inertial frame before it goes into the filter.
@ZeRoTVLife
@ZeRoTVLife 2 ай бұрын
Two GOATs in the same space! Damn
@stratos2
@stratos2 3 ай бұрын
Finally a video that at least somewhat explains the magical Kalman filter. Love the more technically in-depth stuff, very nice work!
@888berg
@888berg 2 ай бұрын
Yes would love to see you explain a kalman filter with your rocket example :))
@karoliszukauskas9601
@karoliszukauskas9601 3 ай бұрын
Very nice project. I am really impressed how much knowledge you have in such different fields (math, programming, electronics, aerodynamics etc.). I hope you can successfully finish your model rocket. Best of luck!
@PCBWay
@PCBWay 3 ай бұрын
Good job, Jacob ❤‍🔥! Can't wait to see your next one!
@heatherryan9820
@heatherryan9820 3 ай бұрын
Omg, thank you so much for making this video. I have been completely stuck on trying to create my own flight controller for a long time now, and thus explains so much. Definitely going to save this video so I can reference it later. Again thank you so much.
@LafayetteSystems
@LafayetteSystems 3 ай бұрын
Excellent video, thank you for sharing! Excited for your first flight!
@jacobthornhill
@jacobthornhill 3 ай бұрын
Thank you!
@KofiAsare0
@KofiAsare0 3 ай бұрын
Great IMU choice, integration, and video!
@jacobthornhill
@jacobthornhill 3 ай бұрын
Thank you! I'm loving your content too, and I'm very envious of your telemetry system!
@cool_lateef
@cool_lateef 3 ай бұрын
I have no idea what you're talking about. Feels exactly like rocket science!
@elisdotenv
@elisdotenv 2 ай бұрын
I feel you man, same here 😂
@AshrafulR7p-ey8yl
@AshrafulR7p-ey8yl Ай бұрын
Same here 😂😂
@arinascimento547
@arinascimento547 5 күн бұрын
You may use Galileo HAS for better accuracy positioning and IMU error reseting. Very nice project by way. The Kalman Filtering is a smart choice.
@jacobthornhill
@jacobthornhill 4 күн бұрын
Thanks! I haven't heard of HAS before, it looks very interesting.
@Vader141D
@Vader141D 2 ай бұрын
I'm also making flight computer for my Model rocket too . Using same module as you are using but . Not as advanced as yours you literally had all of them in a single pcb . And you are also steering it man that's so cool
@NatxoVarona
@NatxoVarona 3 ай бұрын
Great job, you are a wizard in the world of rockets, congratulations Jacob 🚀
@Vrey662
@Vrey662 3 ай бұрын
Impressive. Somehow, you summarised all that in 10 min video.
@jeroincababat565
@jeroincababat565 Ай бұрын
I don't have enough knowledge about electronics but I find this cool
@Bob_too
@Bob_too 3 ай бұрын
Super clear and insightful explanations. Great work Jacob 🚀
@youssefn.3437
@youssefn.3437 3 ай бұрын
I wish you would make a video about the roadmap to get to this level of excellence
@FW190D9
@FW190D9 3 ай бұрын
Extremely impressive, thanks for explaining it
@yacineyaker7485
@yacineyaker7485 3 ай бұрын
finaly a good quality video on youtube😂
@iforce2d
@iforce2d 3 ай бұрын
Very interesting stuff, and well explained too.
@nicola_gaiani
@nicola_gaiani 3 ай бұрын
Great work, impressive!
@jacobthornhill
@jacobthornhill 3 ай бұрын
Thanks! I actually came across your channel last week - amazing stuff and very professionally done. Congrats on all the views, and good luck with whatever comes next!
@nicola_gaiani
@nicola_gaiani 3 ай бұрын
⁠@@jacobthornhillappreciate it! I’ll be reading the madgwick paper you left in the description, seems really useful
@maxmyzer9172
@maxmyzer9172 3 ай бұрын
This is awesome!
@annaj7918
@annaj7918 3 ай бұрын
Great video, this is so inspiring! Thank you Jacob, keep up the hard work🙌🙌
@jacobthornhill
@jacobthornhill 3 ай бұрын
Thank you Anna!! Will do 🤓
@iforce2d
@iforce2d 3 ай бұрын
With the right antennas the 'high-power'/PA nRF24 can definitely transmit over long distance (eg. 30+km on my high altitude balloon), but it would require the antenna to be sticking out sideways which I guess is not ideal for a rocket. Also you'd want it to be in transmit only mode, which would not allow sending commands to the rocket. Starting in bi-directional mode and then switching to transmit-only right before launching would be possible, but not reversible wirelessly. Most likely you'd get better range with one of those off-the-shelf modules (with the RF shield can) than you would with your own PCB - I'm no expert, but I do know that RF traces are a devilishly difficult thing to get right.
@jacobthornhill
@jacobthornhill 3 ай бұрын
Thanks for the detail! My last rocket had a nRF24 without the PA, so I probably should have given a nRF24+PA a spin before switching to LoRa. 30 km range is crazy! Definitely going to watch your series on that now. Also, I’ve used plenty of your GPS and RF range tests as reference when deciding what to go for - clearly I should have paid more attention to your nRF24 range testing video!!
@durjoypurakayastha6978
@durjoypurakayastha6978 2 ай бұрын
Great explanation
@MrI8igmac
@MrI8igmac 3 ай бұрын
I really like your board it has everything. Im testing with esp32s3. I subscribed!
@unknown3t
@unknown3t 3 ай бұрын
Ah yes. The missile knows where it is at all times. It knows this because it knows where it isn't, by subtracting where it is, from where it isn't, or where it isn't, from where it is, whichever is greater, it obtains a difference, or deviation. jk, great video, can't wait for more
@marcspeck
@marcspeck 3 ай бұрын
great you share your knowledge, thank you! I only watched the IMU part. You seem to you pick your favorite car for the highest indication written on the speedometer, not for the real top speed? 🙂bit resolution typically doesn't matter that much, focus on the noise instead, e.g. 2.8mdps/sqrt(Hz) for the gyro. If you integrate over time, the noise of the time gets as important as the sensor noise (as you mentioned with the external clock signal)
@jacobthornhill
@jacobthornhill 3 ай бұрын
Interesting, thank you!
@ilbey
@ilbey 3 ай бұрын
MORE
@jacobthornhill
@jacobthornhill 3 ай бұрын
Thank you so much!! More to come…
@LordCaptainFather
@LordCaptainFather 7 күн бұрын
Thankyou....
@piconano
@piconano 3 ай бұрын
I know the ESP32 well. Now it seems I have to learn the STM32 since they are used everywhere. Learning any new chip in depth is a 1,000+ page of manual pain.
@도둘리-i7k
@도둘리-i7k 3 ай бұрын
Nice video. One question for AHRS fusion alrogithm. Why did you use Madgwick filter even if you can implement kalman filter for position tracking? One of the most key benefit of using Kalman Filter is fast initial convergence and most commercial SOMs using it for this reason. Of course they put their own recipe filters to cope with the external disturbrance and optimizations.🐱🐒🦄🐅🐹🐘🐪
@vasylcf
@vasylcf 3 ай бұрын
Amazing video 🎉
@jhyland87
@jhyland87 2 ай бұрын
Is your code vailable in a repo somewhere? Would be neat to be able to read through it in detail
@tomrybarski
@tomrybarski 2 ай бұрын
I agree, even if it would be accessible only through patronite, that would be helpful
@TerragonAI
@TerragonAI 2 ай бұрын
cool project 🙂
@ahmedmoustafa6829
@ahmedmoustafa6829 3 ай бұрын
BNO055 and BNO085 are better alternatives. They can make sensor fusion for you as well 😊 BNO055 is 9 axis IMU so you save one component on board
@ЕвгенийШепард-р2х
@ЕвгенийШепард-р2х 3 ай бұрын
Super cool!
@JanetGrech
@JanetGrech 3 ай бұрын
Blimey, I feel like an amoeba by comparison. Thank you for demonstrating the importance inherent in not standing still in a world where the 'progress' genie is well and truly out of the bottle. Education is key. By the way, which docking port at the ISS are you going to rendezvous with?
@Plutonium_357
@Plutonium_357 2 ай бұрын
You are a genius...
@osmanpasha_diy
@osmanpasha_diy 3 ай бұрын
Very impressive!
@Marryatau
@Marryatau 3 ай бұрын
Who would’ve guessed it? Quaternions did it again!!! 😂
@HENEKETT
@HENEKETT 3 ай бұрын
Great work. Everything seems to be clear after watching. But how to make first step. Specially when you are on the couch :P
@pareshprajapati7916
@pareshprajapati7916 2 ай бұрын
Thank you sir
@attilagergely6734
@attilagergely6734 3 ай бұрын
Great video on the flight computer and navigation software for your fin-controlled rocket, Jacob! I was fascinated by the design process and implementation details you shared. I'm curious - are the CAD files, schematics, and code for this project available anywhere? It would be amazing to dig deeper into the technical aspects. Keep up the awesome work!
@CanAltineller
@CanAltineller 3 ай бұрын
Hello Jacob, the MEMS sensors do have a cross coupling effect under linear acceleration, and in your case of use there is a lot of linear acceleration. As one axis of acceletometer faces acceleration, the other axises produce false data, that manifests itself as a twist. Have you observed it in your experiments?
@andersgranskov9649
@andersgranskov9649 3 ай бұрын
What PCB software did you use to design your PCB? Great video :)
@jacobthornhill
@jacobthornhill 3 ай бұрын
Thanks! I used KiCad for this project
@EngineerAnandu
@EngineerAnandu 3 ай бұрын
good.
@ViliamBodor-f8t
@ViliamBodor-f8t 3 ай бұрын
I would like to make aerospace embedded systems in the future. I am thinking about learning, starting using STM 32. Is this microcontroller used also in professional aerospace systems? Or is it just for hobbyist? If so, what other microcontrollers should I learn?
@RF_Micrwave
@RF_Micrwave 3 ай бұрын
good job man
@chess1011
@chess1011 2 ай бұрын
Can you tell us what software you used to build 2d circuit board design and PCB design? Is it tinkercad and easyPCB?
@RixtronixLAB
@RixtronixLAB 3 ай бұрын
Nice,thank you :)
@BrandonJJackson
@BrandonJJackson 3 ай бұрын
How do you guys do handle the real time stuff? I would like to know why you guys dont use embedded linux devices or microprocessors and how do you guys simulate all this? Gazeebo with ros? Not because i want to build a actual rocket but i would love to use sensor fusion and kalman Filter aswell, maybe for a fixed wing uav. Huge respects!
@faygo04
@faygo04 3 ай бұрын
Hello! What software are you using to desing the 3d models of the rockets ?
@jacobthornhill
@jacobthornhill 3 ай бұрын
Fusion360!
@faygo04
@faygo04 3 ай бұрын
Thx 🦅🦅
@shubham2295
@shubham2295 2 ай бұрын
If integrating GNSS/GPS data with Kalman Filter, how are you dealing with low data rates from GPS/GNSS. Isn't the max data acquisition rate set by the ublox M9N is 25 Hz, which I personally have never seen. Btw awesome project, am still learning would love to help you in some way.
@jacobthornhill
@jacobthornhill Ай бұрын
The ‘predict’ step of the filter is called at a fast rate, but the GNSS and barometer update procedures are only called when new data is available. The M9N can do 25Hz, but from what I remember this comes at the cost of accuracy - I think it can only process certain constellations at this rate.
@shubham2295
@shubham2295 Ай бұрын
@jacobthornhill I think all constellations work on that but yes accuracy is bigger sacrifice here. The M9N has few nuances which can be accessed with ublox ucentre 2, if you haven't looked up. Still I am keenly interested in what you are building best of luck for the rocket.
@barfbot
@barfbot 24 күн бұрын
also did you battery back that m9n module for warm locks or is there a warmup period you have on pad? i also have never got them anywhere near 25 Hz even with all other ubx messages disabled
@shubham2295
@shubham2295 16 күн бұрын
@barfbot I am currently working on AHRS based on BNO 055 and subsequently trying to perform dead reckoning and i know i will have to integrate GNSS ahead and I am totally expecting 8Hz worth of speed with low accuracy 😭
@siddharthsharma2248
@siddharthsharma2248 2 ай бұрын
1/ how did you learn to design the PCB? 2/ can you share your firmware code? 3/ why design your own PCB? why not use something off the shelf?
@ashutoshshukla4680
@ashutoshshukla4680 3 ай бұрын
Can you share code for orientation estimation and how you calibration is done of sensors
@3dmicroproject
@3dmicroproject 3 ай бұрын
Hello, what name of website you buy componen?
@eto38581
@eto38581 2 ай бұрын
Hey man! I built 59 rockets so far using your library. Two of them actually went through Israel's iron dome. Others got intercepted. How can I implement an avoidance algorithm to counter iron dome? Love from Lebanon 🇱🇧 🇱🇧 الحب من لبنان
@javierramon8721
@javierramon8721 3 ай бұрын
how did you learn to design pcb? any recommendations I would love to know about this and start? any tutorials, any books you could recommend? thanks a lot
@jacobthornhill
@jacobthornhill 3 ай бұрын
The Phil’s lab KZbin channel has great tutorials for KiCad and Altium!
@sergiogcollado
@sergiogcollado 3 ай бұрын
impressive
@tomrybarski
@tomrybarski 2 ай бұрын
Hi Jacob, any chance for the software that you are presenting here to be uploaded on to your Patreon profile? Cheers
@florians.8081
@florians.8081 3 ай бұрын
Why STM32 instead of ESP32, Teensy or RP2040 ?
@jacobthornhill
@jacobthornhill 3 ай бұрын
I really like the STM32 dev environment, and I have quite a bit of experience with them 👍
@JrTesla
@JrTesla 3 ай бұрын
@@jacobthornhillbut the best for this project is rp2040
@manfredbogner9799
@manfredbogner9799 3 ай бұрын
Sehr gut
@aladinmovies
@aladinmovies 3 ай бұрын
Interesting
@alberdemir8877
@alberdemir8877 3 ай бұрын
Wow I always thought a simple gyro module's data would be sufficient to steer a rocket!
@Mhmmmmmmmmd
@Mhmmmmmmmmd 3 ай бұрын
We need a file for the three-dimensional design of the rocket
@armaniox
@armaniox 3 ай бұрын
Nice
@ghostronics-4113
@ghostronics-4113 27 күн бұрын
sir can you please share this code.
@thedalton482
@thedalton482 15 күн бұрын
Your imu samples at 8000hz you down sample at 200? So you’re processing 40 samples every 5ms? Surprised the microcontroller can keep up with that timing
@AbdiPianoChannel
@AbdiPianoChannel 2 ай бұрын
Rocket science
@ioijiopjkiopjkp
@ioijiopjkiopjkp 3 ай бұрын
Fin-controlled rocket, ie a missile. Hope you're ready for a visit from the authorities lol
@fleshwound8875
@fleshwound8875 Ай бұрын
Is that what missiles are call now? fin controlled rockets? lol...
@LeonardoCuadriello
@LeonardoCuadriello 2 ай бұрын
Next step would be a ICBM
@pc2753
@pc2753 3 ай бұрын
Ok. I'm not an engineer 😅
@piconano
@piconano 3 ай бұрын
They don't call it rocket science for no reason!
@oddzc
@oddzc 3 ай бұрын
Just remember your accuracy in lowest bits is only as good as your noise floor on things like power supplies etc
@superjimnz
@superjimnz 3 ай бұрын
I was of the impression that adding guidance to a rocket was illegal?
@jacobthornhill
@jacobthornhill 3 ай бұрын
It depends, but that’s not what I’m doing. My rocket has navigation and control systems, but not a guidance system
@keybrent64
@keybrent64 3 ай бұрын
"model rocket"
@florians.8081
@florians.8081 3 ай бұрын
Your image is really good, but your sound is shit. Please change it, and the video will be as nice to watch as BPS's.
@jacobthornhill
@jacobthornhill 3 ай бұрын
Yeah, it might be time for a new microphone…
@evanbarnes9984
@evanbarnes9984 3 ай бұрын
It's really not that bad. It's not amazing audio, but totally passable. I think before dropping cash on a new mic, you should try running your audio through a gentle de-esser and maybe a subtle EQ and compressor, and I bet that would take the audio a long way for free. Although there is something really pleasurable about recording with a really good mic!
@bengamble7033
@bengamble7033 3 ай бұрын
Stl??
@Alisachit617
@Alisachit617 3 ай бұрын
How i can talk with you about some problem i cant solve it
@alirezaabasi.
@alirezaabasi. 3 ай бұрын
Great video 👌
SpaceX Starship Test Model - BFR
12:23
Tom Stanton
Рет қаралды 453 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
The AVA Flight Computer
18:22
BPS.space
Рет қаралды 892 М.
The "Impossible Torpedo" was real
16:33
Steve Mould
Рет қаралды 1,6 МЛН
Did I Make the World's Smallest Rocket Flight Computer?
15:10
BPS.space
Рет қаралды 1,4 МЛН
The Genius of Cycloidal Propellers: Future of Flight?
11:36
Ziroth
Рет қаралды 1,2 МЛН
Forget WiFi! This Wireless Method is WAY Better? (ESP-NOW)
12:14
GreatScott!
Рет қаралды 779 М.
Rocket Avionics - Building Lumineer
28:55
BPS.space
Рет қаралды 262 М.
Why build an entire computer on breadboards?
28:43
Ben Eater
Рет қаралды 3,2 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН