Modeling and Simulation of Advanced Amateur Rockets

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 126

  • @BPSspace
    @BPSspace 3 місяці тому +322

    Lafayette out here producing banger after banger - also this is so niche but I have a whole rant about how there is no true "optimal control" approach like LQR, since making a system like this LTI removes all the hard stuff like the nonlinearities you mention, so you're tuning for an entirely fake system. Anyway this stuff is so impressive!

    • @Charlie-gf4mv
      @Charlie-gf4mv 3 місяці тому +24

      Non linear model predictive control enters the chat

    • @ivoryas1696
      @ivoryas1696 3 місяці тому +1

      @BPSspace
      Lol, I thought this was you looking at the notif. 😅

    • @BEDOOFSpace
      @BEDOOFSpace 3 місяці тому +2

      Wow

    • @TheTokkie
      @TheTokkie Місяць тому +1

      interior point optimisation of non linear control let's go

  • @Rockethead293
    @Rockethead293 3 місяці тому +186

    thank you for the tutorial, they'll never see it coming

  • @sonickiller360
    @sonickiller360 3 місяці тому +62

    As a mechanical engineering student that has mainly been focused on mechanical design so far, this project blows me away with what you’ve been able to achieve here. Projects like these fascinate me because they encompass all the things I’m currently bad at as a student but want to get better at in the future. I’m starting systems and controls this semester but my fluid dynamics and programming skills are very rusty and I have little experience with electronics. So, I would be interested if you had any advice for people such as myself on how to tackle projects similar to yours.

    • @LafayetteSystems
      @LafayetteSystems  3 місяці тому +28

      The best advice I have is to tackle learning new things one at a time. There’s lot of free resources out there that can help with aerodynamics and controls. They are kind of dark magic even to the people with PhDs but learning a practical amount is surprisingly accessible!

    • @sonickiller360
      @sonickiller360 3 місяці тому +4

      @@LafayetteSystems Thanks for responding!

  • @henrinisonen2832
    @henrinisonen2832 3 місяці тому +39

    Having such deep domain expertise on so many engineering disciplines is WILD! I am beyond impressed, but simultaneously my head hurts just thinking about the mountain of hours that rocket has devoured. On the plus side, your resume can now just be a picture of that bad boy with a link to your channel.

  • @Guywiththetypewriter
    @Guywiththetypewriter 2 місяці тому +19

    Hey there Lafayette. Aerospace Engineering Lecturer in the UK here. Coincidentally someone who's going to be soon doing some bug-fixing PR's on open rocket.
    That in mind, I would like remind you that MATLAB has a Java API which , if integrated into your project, could allow you to make some gorgeous UI's / general apps that could act as a middle man between several software.
    Could be something worth pursuing (as, for context, OpenRocket is written in Java)

  • @Meowzofficial
    @Meowzofficial 3 місяці тому +198

    BPSspace: I am scared of ITAR so I´m gonna only show half of how the rocket works
    Lafayette Systems: Lmao here is how the code in matlab works, have fun.
    Man i love armchair engineers who know what they are doing

    • @doktork3406
      @doktork3406 3 місяці тому +33

      A while ago, i wanted to learn how all of these things work behind the scenes, in greater detail for the thesis i chose back in university, it was like a final project.
      Nobody ever said a useful thing from everywhere i could find online. I had to search seemingly unrelated stuff and slowly glean tidbits of physics from nasa website and things like this.
      The guy you mention at first would not help in the slightest, only saying "Buy my thing for 200$". Right... a dirt eater poor like myself would become a US citizen and buy his trash, sure.
      I've managed to learn and discover everything by myself, reinventing the wheel... didn't even know about these simulink subsystems... did everything by hand from scratch, slowly and painfully.
      I watch here, for a dose of catharsis, seeing how there's still decent people that offer knowledge for free.

    • @yamashe8480
      @yamashe8480 3 місяці тому +3

      same here. my thesis is about 6 DOF two stage rocket

    • @tariqsingh3747
      @tariqsingh3747 3 місяці тому +10

      Lafayette chose to not share any code or CAD in any video yet, as far as I know

    • @vikramgogoi3621
      @vikramgogoi3621 2 місяці тому

      It's a simplified model. They did nothing bold.

    • @tariqsingh3747
      @tariqsingh3747 2 місяці тому

      @@vikramgogoi3621 +1

  • @skyer1085
    @skyer1085 20 днів тому +3

    Homework due tomorrow morning and I'm here watching this

  • @fastSPX_90
    @fastSPX_90 3 місяці тому +97

    - « This guidance test system seems accurate enough for my purposes »
    - Mmh what purposes ??

    • @alert2
      @alert2 3 місяці тому +16

      they will never see it coming

    • @okko7788
      @okko7788 2 місяці тому

      @@alert2 """"they"""" o.o

  • @akilaperera822
    @akilaperera822 Місяць тому +4

    Finally Its Rocket Science!!

  • @viduraherath4008
    @viduraherath4008 3 місяці тому +36

    With optimal materials, a decent infrared camera and 4 axis gimbal system as well as object tracking, lead and trajectory computers and better optimised guidance fins, this man could turn a project into a project that would get him in trouble (please don't do this they arent afraid to come by on a Thursday morning)

    • @ratulxy
      @ratulxy 2 місяці тому

      You mean thermal camera?

  • @qualifiednot
    @qualifiednot 2 місяці тому +3

    This is a really kickass intro to not just control theory but approaching problems from a systems level. If I was a freshman engineering student, a video on scoping out avionics/hardware and one for creating a nice top-down cad model for manufacturing would have saved me 2 years of figuring out how to actually engineer something. Amazing work!

  • @hu5116
    @hu5116 3 місяці тому +4

    Hey great video! If you are looking for topics, there is one black hole in all this that I have never filled. That is the physics and math of the aero forces and moments and how they get modeled in all this. A body and a fin will have lift and drag, and a moment. Where does one get those parameters? And then, how are they combined to model the flight dynamics in the software such that a controller can do something to control the rocket intelligently? I think that is worth at least one video if not two or three. First video might be how to find, get calculate derive the aero coefficients of the rocket parts. Next video could be how to take those aero coefficients and combine them to get net rocket linear and rotational forces. And a third video could be how to take those forces and integrate them into final net rocket accelerations, velocities, positions and resultant path. Thanks for considering!

  • @vacoff2717
    @vacoff2717 3 місяці тому +3

    Man I feel bad watching your videos, at the same time feel really inspired. I can't believe how much a better engineer you are. Please do more deep dive into all the sections you have done before

  • @pecora31
    @pecora31 3 місяці тому +9

    I just love this man!!!

  • @liriani
    @liriani Місяць тому +1

    There is a game called, stormworks search and rescue. You build boats and helicopters to search and rescure, but the developers of the game have made it so you can build more advanced stuff like rockets, where you have parts like gps, altitude indicator, yaw angle and pitch angle, and you can even design your own logic like PID controllers based on what the insturments output. In that game i made pretty much what you are making in real life, just that what i made was more like a ballistic missle. I made the rocket ascend until its midway to the waypoint it has to hit and than it starts descending aiming straight to its target.
    The airdynamics are very unrealistic but its very fun and a bit complicated.

  • @yamashe8480
    @yamashe8480 3 місяці тому +2

    cant wait for the next video. please make more detail videos, specially about how you use Simulink.

  • @baldricbuah7330
    @baldricbuah7330 3 місяці тому +1

    Thank God i found your video man, i just got into Rocketry because i had a stupid idea😭🙏🏾

  • @AirCommandRockets
    @AirCommandRockets 3 місяці тому +3

    Really informative video! Thanks for sharing.

  • @hadesaerospace5072
    @hadesaerospace5072 3 місяці тому +1

    You are preparing us for our WW3 air defense system. Amazing job and thank you for your fantastic explanation!

  • @storminmormin14
    @storminmormin14 3 місяці тому +4

    OpenRocket is much more accurate than you would think. The problem is you have to put in ALL the parameters and have it reflect your design. Most people using OpenRocket do not even know just how many parameters there are. Did you know you can input the approximate surface roughness of the paint on your rocket? You need specialized measurement tools to get that value but if you can, OpenRocket can be really good. Where it struggles are atmospheric modeling which is pretty simplistic and doesn’t allow for measured high altitude winds and it struggles with compressible flow dynamics. But if you’re flying a subsonic rocket to less than 10,000ft you can get within less than a percent error almost every time.

  • @Mirzye
    @Mirzye Місяць тому +2

    thanks for the tutorial, they are gonna regret messing up with my country now

  • @exqavator
    @exqavator 16 днів тому

    Excellent job! I would also suggest to consider that adding guiding flaps on the top side of the rocket. not solid flap, flaps with hives. It will work like a gyroscopic motor for fast angle and rotation recovery.
    Also the rocket diameter and length ratio looking ok.
    Have you ever think to make smaller the chamber and make bigger the nozzle about %10 of their size.
    Good job bro. Keep going to the space !

  • @johnbrown7516
    @johnbrown7516 3 місяці тому +1

    This channel is an absolute gem dude. Keep of the great work, these videos are such good quality for a newer channel; I'd imagine if you keep up with this level of quality and consistency you'll gain quite the following in no time. I appreciate the look at things I'm interested in tinkering with... Unfortunately, a certain four-letter agency has made it incredibly difficult to find any information on such things. I'm more interested in the simulation and control theory side of it all anyway; but ITAR will be damned if I can find information on any of it...Llet alone get a comprehensive look at the implementation and experience of someone else's attempts. Love the content man.

  • @baudeliomeraz1362
    @baudeliomeraz1362 3 місяці тому +1

    Just found you. Ive built a few Estes and just bought some wanting to progress from Beginner to Level 5. Lol your like level 9000! Now ive got open rocket and open motor not sure what to do with it yet, but clear i need it. Love your videos keep it up!!

  • @williamdavidson4702
    @williamdavidson4702 3 місяці тому +3

    Watching this before interviewing for a GNC engineer internship later this week

  • @JacksonBohne
    @JacksonBohne 3 місяці тому +2

    Let's go new video I'm so excited to watch this thank you you make good videos

  • @nv7213
    @nv7213 3 місяці тому +4

    I think the hardest part for me has been figuring out how those control inputs then affect the output, so please make a video about that! I've tried running CFD at various fin deflection angles but I didn't find it to match my experimental flights, and I'm curious how you do it!

  • @moistsushi2096
    @moistsushi2096 3 місяці тому +1

    This is really cool! Love your explanations about the software stack and variables used in your rocket
    I wonder if, given enough data of your launches, a neural network can be trained to make the rocket steer towards a moving point in space
    That would be equally interesting to see

  • @paxon57
    @paxon57 3 місяці тому +1

    Great video. I was hoping for proper HITL test with software running on the ground with real time simulation data

  • @peeper2070
    @peeper2070 24 дні тому +3

    20 missed calls from Lockheed Martin

  • @dfgaJK
    @dfgaJK 3 місяці тому +5

    7:01 "turned out to be useful for" or "turned out to have the potential to be useful for"?

  • @argfasdfgadfgasdfgsdfgsdfg6351
    @argfasdfgadfgasdfgsdfgsdfg6351 3 місяці тому

    Very systematic. I love it.

  • @KofiAsare0
    @KofiAsare0 3 місяці тому

    Woohoo!
    Amazing video as always!

  • @bgtcsjm
    @bgtcsjm Місяць тому

    This guy will be coming to Anduril soon. Or if he's the adventurous type, NK sure can offer him a lot 😄

  • @alexkart9239
    @alexkart9239 3 місяці тому +1

    Lafayette Systems: correct calculation and accurate simulation are very important. Mistakes are not allowed.
    Me: 😮 🚀 he has a rocket and it does whizz-whizz

  • @maplinxxgd5234
    @maplinxxgd5234 3 місяці тому

    Super cool keep up the good work

  • @zeeu
    @zeeu 2 місяці тому

    Great content. thanks man

  • @MellolaMason
    @MellolaMason Місяць тому

    that is a nice looking tube

  • @johnkost2514
    @johnkost2514 Місяць тому

    Outstanding ..

  • @ToastedToast-j4t
    @ToastedToast-j4t Місяць тому

    Literally rocket science

  • @johnconner4695
    @johnconner4695 3 місяці тому

    Dudeeeeee great video

  • @darkknight700
    @darkknight700 3 місяці тому

    i love it , thank you !

  • @vahanabrahamyann
    @vahanabrahamyann 3 місяці тому +1

    Great!🚀

  • @thestonedshaman
    @thestonedshaman 2 місяці тому +1

    we got senku ishigami irl before gta 6 🔥🔥

  • @chess1011
    @chess1011 Місяць тому

    Great video. Thank you for this. Also can you share us resources for learning mathlab and simulink for rockets? I learned in my 5th semester, but it was not intense. It was a simple how to course with basic examples. But the blocks you used in the Simulink, that was very technical.

  • @7177YT
    @7177YT 3 місяці тому

    This is a superb project and presentation is top as well! Thank you!
    btw: have you ever experimented with rollerons like they have on sidewinders to stabilise flight? They would autocorrect trajectory during flight, might mess up the landing phase though. (:

  • @davidE.90151
    @davidE.90151 3 місяці тому

    getting sponsored by aura
    +10000 aura

  • @sleepymodee
    @sleepymodee Місяць тому +1

    "Suboptimal" had me dead lol

  • @unlucky-777
    @unlucky-777 Місяць тому

    Thanks, dont forget the watch the news a week later

  • @armaansengupta
    @armaansengupta 2 місяці тому

    Very inspiring, my student rocketry team plans to attempt something similar this year, would love to connect to ask for some advice

  • @mattmartinez3442
    @mattmartinez3442 3 місяці тому

    Insane sponsor segway

  • @rocket-lee7495
    @rocket-lee7495 3 місяці тому +2

    Why dont you use Simulink's code generator to convert your model into c++?

  • @boldizsarszabo
    @boldizsarszabo 3 місяці тому +2

    Have you ever thought about using a learning based solution? I'm working on quadcopters and we have created a learned dynamics model, where we augment a physics based dynamics model with machine learning, obviously this requires some real world flight data, but it can be super sample efficient with the right approach. With our own project we have an infinitely better dynamics model than we ever could create by traditional means, and we strongly believe this is the only feasible way to simulate the aerodynamic effects to this extend.
    You could also use a MLP trained with something like PPO in sim for the actual flight controller, instead of relying on more traditional control systems.

    • @dashs2597
      @dashs2597 3 місяці тому

      That's very interesting! In what ways is the model better? In the sense that it takes into account tiny things that traditional rigid-body modeling + some aero forces doesn't?

    • @boldizsarszabo
      @boldizsarszabo 3 місяці тому +1

      ​@@dashs2597 you can model the rigid body stuff really well, the problem comes down to the aerodynamics, for example with a quadcopter you have 4 propellers creating all sorts of turbulence around the body, and the worst part is the airflow generated by each propeller interacts with the other 3 as well, it's impossible to simulate this with CFD. This is actually the trick, to use a well put together rigid body simulation and augment it by estimating the external forces acting on the body given the current state.
      I'm not that familiar with rockets, but obviously simulating the aerodynamics is a huge issue there as well, although significantly less compared to quadcopters. Not sure as to whether it is worthwhile using a learned dynamics model, because it's complicated, computationally slower than using approximation for aerodynamics, and it requires diverse flight data. 🤷‍♂

    • @edwardtang3140
      @edwardtang3140 2 місяці тому

      ​@@boldizsarszabo
      I think this learned approach is generally done as well, but in a more manual fashion for rocketry projects. It's usually the case that a autopilot tuning is done after a flight test through engineering intuition and experience.
      I do think that the reinforcement learning benefits you'll see for rockets are probably going to be less than quadcopters, just simply because there is less to learn. Generally subsonic to supersonic rocket aerodynamics is pretty well understood and captured by empirical and data based aerodynamic tables (see DATCOM), and the flow around said vehicle is generally pretty linear since static airframe body contact to air dominates.
      The nonlinearities are usually a result of the smaller fins that actuate, but if the flow is subsonic and the fins are placed rearward (meaning fins are downstream of a majority of the rocket body), you can get away with linear assumptions for aero. Of course this breaks down a bit for supersonic flow, but still, at low angles of attack you can get away with a lot of linear assumptions.
      Compare that to very large non-linearities in the flow for a quadcopter, due to the large rotating propellers that heavily determine the flow structure around a quadcopter body.

  • @Piotrek_ryb
    @Piotrek_ryb 3 місяці тому

    I have a question more for the previous video, but i will ask here since its the latest one. You got some amazing results in waypoint mission, but, i wonder if you verified your Inertial positioning system against GPS or some other reference frame to make sure that the rocket really "knows where it is"? ;)
    Impressed by your work

  • @excellenceinanimation960
    @excellenceinanimation960 Місяць тому +1

    How do you learn this stuff? I don’t even know here to start!

  • @manfredbogner9799
    @manfredbogner9799 2 місяці тому

    Sehr gut

  • @dfgaJK
    @dfgaJK 3 місяці тому +1

    16:49 "hatchet" aka switchblade 😅

  • @kushyglowy8409
    @kushyglowy8409 Місяць тому

    Brutal

  • @downstream0114
    @downstream0114 2 місяці тому

    I like to think of a shuttlecock when thinking about COM/COP

  • @captjohnny
    @captjohnny 3 місяці тому +1

    Nick...question....Do you think that your approach to model rocketry design... aka OR / RockSim + Matlab + ground simulation + electronics... will ever take off in the model rocketry arena? In other words, will the average rocketeer (that wants more than just the "how high" and "how fast" to seem like an expert) ever catch on to what you're doing, as I'm sure that you have followers that have already...aka...me and the others.

    • @LafayetteSystems
      @LafayetteSystems  3 місяці тому +1

      For the average rocketeer, the last two phases probably won’t be very common. They really aren’t super necessary without a control system unless you’re doing them for fun/experience. Some of the commercial flight computers have some ground test options available, but without a control system they don’t need to be and aren’t very sophisticated.

  • @skeletonmasterkiller
    @skeletonmasterkiller 3 місяці тому

    Rollerons! We need rollerons!

  • @nichgod5784
    @nichgod5784 25 днів тому

    How did he make this HUD? Is it just a popup that he runs in vs code? Thanks

  • @BEDOOFSpace
    @BEDOOFSpace 3 місяці тому

    WOW NICE ROCKET 🚀 AND WERE IS THE CAT

  • @peacepeople10
    @peacepeople10 3 місяці тому +1

    Hey man awesome new video. Thank you for answering my email i know it must have been uncomortable to answer. Youre the man!

  • @kevinsenquiz902
    @kevinsenquiz902 Місяць тому

    Software name? Looks nice

  • @Kenionatus
    @Kenionatus 3 місяці тому +1

    So... how much of a payload can that mi... model rocket with wings and sea... camera carry? Asking for a friend.

  • @agwe9378
    @agwe9378 Місяць тому

    I'm really interested in your ground control system and telemetry, please please for links that can aid me design one. its your humble follower 🙏🙏

  • @kingzayn4818
    @kingzayn4818 Місяць тому

    Can you start a tutorial serie for beginners

  • @airman122469
    @airman122469 Місяць тому

    Why exactly are you hand-translating matlab to C/C++? There are tools for doing that already. Why do it by hand?

  • @Media-i7o
    @Media-i7o Місяць тому

    How much does it cost you to build this
    I want to build something like this for Nigeria army

  • @Letsbiketo
    @Letsbiketo Місяць тому

    This videos is forbiden 😮😮

  • @dammmmm01
    @dammmmm01 2 місяці тому

    name of software for desigining ?

  • @princebutterofknob19
    @princebutterofknob19 Місяць тому

    Are you in Indiana?

  • @ll-py6pu
    @ll-py6pu 2 місяці тому

    What did he study to know this stuff?

  • @Quoteoftheday228
    @Quoteoftheday228 18 днів тому

    If you are seeing this pls i want to learn simulation systems and flight controls am good st programming and am planning on learning electronics with ardwino pls what else am a computer science major

  • @tuannguyencaotri1331
    @tuannguyencaotri1331 2 місяці тому

    16:51 that's look familiar... .________.

  • @tulgar5219
    @tulgar5219 3 місяці тому

    mükemmel

  • @islam-kh3py
    @islam-kh3py Місяць тому

    Code please 🥺

  • @MOHA_1484.
    @MOHA_1484. 3 місяці тому +2

    I want to make rockets but sadly it is banned in my country 😢

  • @zeeu
    @zeeu 2 місяці тому

    Bro made a Patriot missile in his backyard

    • @zeeu
      @zeeu 2 місяці тому

      Bro is making a cruise missile 😂

  • @TomTheWise_
    @TomTheWise_ 3 місяці тому +11

    This dude keeps forgetting to set his application videos for RTX and LM as non listed videos...

  • @HH-yb2dv
    @HH-yb2dv 2 місяці тому

    Hi

  • @cavemansounds
    @cavemansounds 3 місяці тому

    Hi! How r u making money? I mean whats the business model here?

    • @LafayetteSystems
      @LafayetteSystems  3 місяці тому

      lol this is just a hobby!

    • @cavemansounds
      @cavemansounds 3 місяці тому

      @@LafayetteSystems is there any chance that this could be turned into profitable business?

    • @LafayetteSystems
      @LafayetteSystems  3 місяці тому +2

      It’s possible but I’m totally ok just doing it as a hobby for now

    • @cavemansounds
      @cavemansounds 3 місяці тому

      @@LafayetteSystems hmm ok

  • @SufianDira
    @SufianDira 3 місяці тому

    FBI open up

  • @brandonroome1667
    @brandonroome1667 24 дні тому

    I mean, it's not brain surgery..

  • @kto1376
    @kto1376 3 місяці тому

    2:10 What the F indonesian sim Card😅

  • @yfcanaan1386
    @yfcanaan1386 Місяць тому

    I am a Palestinian why the fuck has youtube suggetsed this video? Is it a message? 🤣🤣

  • @DM-qm5sc
    @DM-qm5sc 2 місяці тому

    IS this guy a fed? I feel like hes trying to get certain people excited in this so they can get arrested preemptively.

  • @evidenceX
    @evidenceX 3 місяці тому

    You not going to show it to the viewers but you want their views to earn? 😊 quite cool quick manipulation. If you don’t want to show then don’t talk about it at all this tell viewers that although you know the best way out but intentionally want them to be ignorance of the truth. Will you feed your child stone as bread when you know you have bread