Modeling a Thrust Vectored Rocket In Simulink

Поделиться
HTML-код
  • Опубликовано: 13 окт 2020
  • Thanks to Mathworks for sponsoring this video! The Aerospace Blockset model, and Simscape model, can be found for free here: github.com/mathworks/Modeling...
    For MATLAB and Simulink videos, subscribe to the MATLAB RUclips channel: / matlab
    Learn how to get MATLAB and Simulink: www.mathworks.com/products/ge...
    Help support BPS.space: / bps_space
    Second channel, mostly for KSP: / musicmakr
    For more info:
    / joebarnard
    / bps_space
    / bps.space
    / bps.space
    www.bps.space
  • НаукаНаука

Комментарии • 650

  • @P0tux
    @P0tux 3 года назад +584

    As an aerospace student myself I would love to see what you're closed loop system would look like. Also as a side note: You touched on so many important topics and processes that we encounter day to day so awesome work!
    (just calculating inertia values with oscillation was fantastic tbh)

    • @nocare
      @nocare 3 года назад +4

      I would love to know a way to do the calculation without being able to physically manipulate the craft. Things like finding CM via multiple simultaneous scales rather than balancing.
      IDK how to extend such techniques to inertia measurements.
      Some vehicles are too large and cumbersome to do this kind of test easily.

    • @Haellsigh
      @Haellsigh 3 года назад +6

      @@nocare At that point wouldn't you rather use a 3D model to estimate the values?

    • @nocare
      @nocare 3 года назад +3

      @@Haellsigh The problem is for hobbyist grade projects there is generally only one person working on it.
      So a large projects like my 11ft wingspan flying wing can become challenging to model in enough detail and accuracy. You need to add every part in the correct place at the correct weight to the model for that to work.
      Glue joints also tend to add weight that isnt modeled reducing accuracy.
      Yes a 3d model can allow you to do the calculations on a model too large to manipulate easily but you usually need a team of people to get it done right and in a timely manner.

    • @irakliabzianidze7180
      @irakliabzianidze7180 3 года назад

      Doesnt the oscillation time depend on how hard you push the rocket? How do you know if you have the right values?

    • @killorkubed
      @killorkubed 3 года назад +17

      @@irakliabzianidze7180 oscillation time (period) does not depend on how hard you pushed a rocket (or its amplitude) actually, the same principle as a pendulum.. a pendulum of a certain length with always have the same period, Period T = 2pisqrt(L/g) where L= length and g=gravity, mass of the bob or amplitude are not related, physics is awesome!
      Engineering student here

  • @MrHichammohsen1
    @MrHichammohsen1 3 года назад +325

    WELL OF COURSE WE WANT MORE STUFF LIKE THIS!

    • @Jxmiecole
      @Jxmiecole 3 года назад +3

      I agree!!!!!!

    • @RustyMTB
      @RustyMTB 3 года назад +11

      for a second I though that this was NASA... wow

  • @ErikBongers
    @ErikBongers 3 года назад +175

    Yeah, PID feedback would be nice. And how you tweak the P, I and D factors.

    • @priyanshusrivastava9288
      @priyanshusrivastava9288 3 года назад +2

      Observation and math!

    • @Silverlightnick
      @Silverlightnick 3 года назад +2

      Basically it’s a matter of math, at first you do the math model in the continue domain, then you translate it into digital with some equations that give you the PID values

    • @Kokiloki1000
      @Kokiloki1000 3 года назад +3

      @@michaelkruger2736 IMO Ziegler-Nichols is not suitable for such applications
      .

    • @locutusvonborg2k3
      @locutusvonborg2k3 3 года назад +2

      actually matlab is capable to tweak pid itself, like other programms can do

    • @youjustdo
      @youjustdo 3 года назад

      pid 튜너라고 있으니까 그거 써. 아니면 컨트롤 툴박스에 리니어 어널리시스라고 있는데 거기서 선형 모델링 뽑아주거든 그거 써.

  • @ryanrising2237
    @ryanrising2237 3 года назад +264

    “We won’t get into PID controllers or some of the more fancy thrust vector control stuff...”
    aww man
    “...today.”
    WOO!! Excited to see more of how you deal with these, even though you’ve probably gone over this stuff in other places before.

    • @picoplanetdev
      @picoplanetdev 3 года назад +6

      I totally love this video and really hope that Joe makes one on simulating the PID system!

    • @ms-fk6eb
      @ms-fk6eb 3 года назад

      hell yeah!

    • @bsodmike
      @bsodmike 3 года назад

      @@picoplanetdev Definitely

  • @joeymurphy2464
    @joeymurphy2464 3 года назад +78

    2:10
    Quick tip for finding center of mass of a long body (rather than guess and check): Stick your two fingers out in front of you like you're doing finger guns. Lay the long body across your two fingers. If you pull your two fingers slowly together, the rocket will automagically end up balancing on your fingers, which are now at the center of mass. Definitely try it out; don't take my word for it as hearsay :).

    • @Mariano.Bernacki
      @Mariano.Bernacki 3 года назад +12

      Just tried it with a 20 cm ruler, fingers came together at 102 mm, and the first half has a little hole so the center of mas should be skewed slightly above the 100 mm mark. Amazing.

    • @kevin42
      @kevin42 3 года назад +5

      Was about to say. Friction rules!

    • @realvideosrv1879
      @realvideosrv1879 3 года назад +1

      Prettt cool if you have the object perfectly straight, and the friction coëfficiënt between your fingers and the material is exactly the same at all times.

    • @edisonyang3283
      @edisonyang3283 3 года назад +1

      Ok what the hell why does this work

    • @tgschaef
      @tgschaef 3 года назад +1

      Dangit! I was about to relay that Don Herbert/Mr. Wizard tip and thought, "well, let's scan the comments first."

  • @TheNinjaDwarfBiker
    @TheNinjaDwarfBiker 3 года назад +35

    BPS : *Makes Sponsored Video*
    Everyone : We want more

    • @SchneiderTony
      @SchneiderTony 3 года назад

      Probably a stupid question, but your nose cones are 3D printed as well? Yes? Love your content!

    • @SchneiderTony
      @SchneiderTony 3 года назад

      Lol you have a plant.... good for u.

  • @danieltakawi9919
    @danieltakawi9919 3 года назад +2

    This guy is one of those teachers/professors that made complex concepts easy to understand and made you confidently understand things you never imagined you would be able to. Great Work! Earned a Sub and can't wait for more !!

  • @pinochet3317
    @pinochet3317 3 года назад +476

    (Listens to Joe Barnard talk Rockets)
    Me:
    “I like your funny words, magic man”

    • @cecil5
      @cecil5 3 года назад +1

      Hello fellow tik Tok addict

    • @pinochet3317
      @pinochet3317 3 года назад +1

      @@cecil5
      waddup

    • @fredriko
      @fredriko 3 года назад +2

      I love you so very much Pinochet

    • @ChucksSEADnDEAD
      @ChucksSEADnDEAD 3 года назад +4

      Nothing in this world is free except for helicopter rides.

    • @MSI2k
      @MSI2k 3 года назад

      It's just basic high school Trig, dude

  • @bahashwaiki
    @bahashwaiki 3 года назад +4

    As a mechanical engineering student, what you covered here is very informative and helpful. More of these videos is definitely a good idea!

  • @udaymandhata
    @udaymandhata 3 года назад +1

    As a subscriber and a fan of this channel, and as a Simulink language developer, it gives me immense satisfaction to see the tool we develop gain more traction in the non-commercial rocket community. Thank you Joe!

  • @malgailany
    @malgailany 3 года назад

    I'm impressed. The way you measured the inertia, Simulink implementation, and the very cool Simscape simulation!
    Thanks.

  • @alphaomegarocketry4390
    @alphaomegarocketry4390 3 года назад +6

    This EXACTLY what I needed! I’m in the middle of my own simulations and this will help a lot!!!

  • @sourabhk2373
    @sourabhk2373 3 года назад

    I work at Mathworks and I am a huge fan of your work!
    Glad to see Mathworks sponsoring RUclipsr's !
    Godspeed.

  • @Markharlan95
    @Markharlan95 3 года назад +1

    Yes - 100% would love to see this become a series!! Thanks Joe.

  • @916senna
    @916senna 3 года назад

    I for one would really like you to expand on this with more video's. You present stuff I havent done for 30 years in a very clear manner and its fascinating. Big thumbs UP

  • @cai_49
    @cai_49 3 года назад

    I tell you man, your channel is so unique, you're doing something really cool and special, teaching model rocketry in a way that everyone can understand

  • @martijnschuman
    @martijnschuman 3 года назад +16

    That RGB PBS logo in the background is nicely played. Exactly between the walls

    • @stickz9871
      @stickz9871 3 года назад +1

      RgB Is GAe

    • @MrOliver1312
      @MrOliver1312 3 года назад +1

      @@stickz9871 funny

    • @thePronto
      @thePronto 3 года назад +2

      BPS or Public Broadcasting System?
      Red Green Blue or Ruth Bader Ginsburg?

    • @BPSspace
      @BPSspace  3 года назад +5

      I move everything around to get it just right, glad you like it :)

    • @martijnschuman
      @martijnschuman 3 года назад

      @@BPSspace haha, I live everything you do. I'm really getting into space and model rockets lately, I unfortunately haven't had the opportunity to buy/fly any model rockets but it's definitely on my bucket List

  • @sethmlazgar9171
    @sethmlazgar9171 3 года назад +1

    YES a closed loop controller video would be awesome! I just finished my first System Dynamics and Controls class for my undergrad
    and I can't get enough of it!

  • @tobiasnielsen578
    @tobiasnielsen578 3 года назад +1

    I am absolutely ready. We did a bunch of this when i was in the university, but never really got to play with it after I graduated - but i do remember it as fun math! So ready for that brush up!

  • @wickedwalrus
    @wickedwalrus 8 дней назад

    As an Australian, it brings me great joy to watch you do all of this in Metric

  • @samblake9953
    @samblake9953 Год назад

    The way you casually highlighted elements of dynamics better than most of my professors in a video mostly about modeling is awesome

  • @al1us
    @al1us 3 года назад +1

    Yes please, MathWorks please sponsor this guy! He does an amazing job

  • @andreasklintberg104
    @andreasklintberg104 3 года назад

    Extremely interesting and awesome format, short but got so much from it in terms of both practical stuff and theoretical understanding. I would love more of these looking into more advanced concepts.

  • @milindsharma8106
    @milindsharma8106 3 года назад +1

    Hi Joe!!! Pleaseeee do another video like this one! learned so much from just ten minutes, and I'd love to learn even more!

  • @_Eamon
    @_Eamon 3 года назад

    WOW. I've been researching moment of inertia determination for my senior design project. This could not be more timely!

  • @tj16417
    @tj16417 3 года назад

    This is so cool Joe! I just learned to use simulink in my college and seen this type of content makes me so happy, 'cause I understand better some of the rocket science you do! Nice video by the way!

  • @blazepascal1878
    @blazepascal1878 3 года назад +1

    Dude we need more of this! Make this into a series!
    I would love to see more about how to make the simscape model with the stl file visualization, plus closed loop and PID simulation.

  • @Spinomine
    @Spinomine 3 года назад +4

    That was fascinating! As an engineering student I'd really love to see another one of those videos

  • @beesod6412
    @beesod6412 3 года назад

    love the old tape from previous use! great video Joe! You make building rockets, fun!

  • @abdullahcerkezoglu9450
    @abdullahcerkezoglu9450 3 года назад

    This is actually gold mine. Thanks. Looking forward for the next video.

  • @Shutupalready47
    @Shutupalready47 3 года назад +2

    The Simulink coding standard would like to have a word with those kinked lines...
    I kid. For real though, congrats for landing a Mathworks sponsorship! That’s awesome!
    If you keep doing this as a series you should look into scripting Monte Carlo runs for data-driven design optimization. I think the community would really get a kick out of that.

  • @Brixxter
    @Brixxter 3 года назад

    I absolutely love these kinds of videos, even though many people are probably here for fancy rockets and spectacular failures (I can't blame them! :D) this is probably my favorite video format. Easy to follow along, very detailed and informative without being hard to grasp. I could watch these on loop for days.

  • @asuthoshcr9581
    @asuthoshcr9581 3 года назад

    I liked the concept you explained. that was short and sweet. Me being an Aerospace student I love the way you explained each term. I will give a shot to your Simulink model.

  • @MesserMorfeo
    @MesserMorfeo 3 года назад +1

    This is a fantastic explanation. I can't believe you made me comprehend (at least to some extent) rocket science.

  • @LuccasLab
    @LuccasLab 3 года назад

    I would love to see more Simulink videos like these. Awesome work, Joey!

  • @Bananarammaa
    @Bananarammaa 3 года назад

    Yes please keep posting these!! I’d love to learn more about creating my own simulation and control software

  • @SKYWURX
    @SKYWURX 3 года назад

    This... this is what I've been waiting for! Thank you :)

  • @uNitZZe
    @uNitZZe 3 года назад

    I loved this video! Amazing content please continue collaborating with MathWorks.

  • @chandanmchatrapathi174
    @chandanmchatrapathi174 Год назад

    Joe you inspire me lot and you know what I am an aeroplane engineer I learnt more from you than my degree years kudos dude.

  • @patrickknight8907
    @patrickknight8907 3 года назад +1

    The measurement of the mass moment of inertia was great. Would be awesome to see the PID and more detailed TVC stuff in the future

  • @ashutoshdhaka9630
    @ashutoshdhaka9630 3 года назад

    Great video man !!!!
    Very informative for students getting into this field, really shows how self-learning can help you break down complex problems.

  • @juancarlosabad3298
    @juancarlosabad3298 2 года назад

    Excellent example of control system identification , thank you!

  • @codyporter4680
    @codyporter4680 3 года назад

    This was an awesome video, I would be thrilled to see some more about this. I have recently started an attempt to gimbal a model rocket.

  • @Tupiniviking_de_osasco
    @Tupiniviking_de_osasco 3 месяца назад

    I have just bumped into this amazing channel. I would love to see more Simulink videos ❤

  • @TheRealJavahead
    @TheRealJavahead 3 года назад

    Thanks Joe, please keep the Mathworks content coming.

  • @kreelaban3420
    @kreelaban3420 3 года назад

    What an inspiration ! I understand very little of it but I enjoy watching a real engineer !
    Thanks

  • @Phughy
    @Phughy 3 года назад

    Yes! I want the closed loop explanation! Impressive work. Makes me want to go back to control system design

  • @Ameliaross106
    @Ameliaross106 3 года назад

    I can not tell you how useful this is thank you so much.

  • @leilahabylhan
    @leilahabylhan Год назад

    great job. very easy and visible to understand. I'm grateful

  • @MrRemi1802
    @MrRemi1802 3 года назад

    Thank you for offering us this delightful piece of engineering.

  • @KcK702
    @KcK702 3 года назад

    These videos are great! I’m looking forward to the more detailed ones.

  • @chaimlukasmaier335
    @chaimlukasmaier335 3 года назад

    Love this
    Also congrats on the mathworks sponsorship!

  • @markmcculfor6113
    @markmcculfor6113 10 месяцев назад

    I love seeing the dynamics I learned in college last semester! Mechanical engineering is awesome

  • @SergioIO79
    @SergioIO79 3 года назад

    Excellent video. Hope to see more like this one. Great work!

  • @maximeg3659
    @maximeg3659 3 года назад

    calculating inertia via oscillation was unexpected and smart ! nice video !

  • @TreyRuiz
    @TreyRuiz 3 года назад

    Thank you Mathworks, and BPS.space! This is the heart of controlling your project.

  • @gabrieleguazzotti
    @gabrieleguazzotti 3 года назад +1

    Very good work man!!! You kill it!

  • @gigatentaction2356
    @gigatentaction2356 3 года назад

    Please do more video like this, this is so useful and easy to understand

  • @essayashaile359
    @essayashaile359 3 года назад

    I like your simplicity, genius explanation.

  • @cartermckenzie2623
    @cartermckenzie2623 3 года назад

    I would love to see some closed loop systems! Great job explaining everything like always Joe. I am studying stuff this right now in control systems class and you make it sound easy.

  • @k2_robotics
    @k2_robotics 3 года назад

    Thanks Joe for such an awesome vídeo. 854 seconds of learning. I´m trying to build a model rocket (to honor some spanish rockets, the old España 1 and Miura 5 from PLDspace) with a TVC. The desing, the building, the 3D printing, the electronics and the programing is almost done, but I have no idea of simulation, so I need to learn every single concept in the way to find the right Kp, Ki and Kd constants. So I'll be so pleased to do that way with you. Thanks Joe.

  • @AlexKite68
    @AlexKite68 3 года назад

    Perfect! Thanks! Awaiting PID simulation!

  • @Beltonius
    @Beltonius 3 года назад +1

    The world needs more Matlab based YT videos

  • @Lorenzo_apd
    @Lorenzo_apd 3 года назад

    I am really interested into seeing how your closed loop control system looks like.
    I thank you for all the great work you have shared with the community because many of your videos helped me and I think many other people understand better some kinematics problems and mechanical engineering designs choices.👍

  • @gedaliakoehler6992
    @gedaliakoehler6992 3 года назад

    Cool stuff. Like to see it!
    I'm used to doing matlab for class. It's crazy that you got sponsored by them, lol. good stuff.

  • @JacksonsPOV
    @JacksonsPOV 3 года назад

    As a Computer and Aerospace Engineer, I would love to see more videos like these!

  • @victorboesen3837
    @victorboesen3837 3 года назад

    It's good to see Boe Jarnard having a good time on the table:))

  • @chockman3833
    @chockman3833 3 года назад

    This is great, I would love more MATLAB/simulation content!

  • @andyrechenberg
    @andyrechenberg 3 года назад

    Would love more videos like this. Thanks. This is great!

  • @tiagosamarques5356
    @tiagosamarques5356 3 года назад

    I enjoy this type of videos quite a lot!

  • @eeplaylist2093
    @eeplaylist2093 3 года назад

    You explain things surprisingly well 👏👏👏

  • @JakeDownsWuzHere
    @JakeDownsWuzHere 3 года назад

    would love to see more man, this stuff is fascinating!

  • @IanJohnstonblog
    @IanJohnstonblog 3 года назад

    I very much enjoyed this video. Please do more like this!!!

  • @hu5116
    @hu5116 2 года назад

    Loved your simulink / simscape video! Very few of the aeroblockset blocks have any examples which really inhibits the ability of a new user to figure out which is which and which one to use. I think MathWorks should hire you to make rocket examples for all the blocks! I would very much like to see more videos like this going into more blocks and more use cases and since you are such a good teacher, even just straight out simulink and simscape tutorials. THANKS!

  • @MmoviesE
    @MmoviesE 3 года назад

    Just finished my Simulink modeling assignment for my dynamic controls class last week. I actually understand what hes doing. Holy crap I am LEARNING.

  • @shay5025
    @shay5025 3 года назад

    Super cool! Thanks for this detail, really really excellent content!

  • @angelo_pavan
    @angelo_pavan 3 года назад

    Awesome! I would love another video like this one!

  • @Turcian
    @Turcian 3 года назад

    We need more of this!

  • @angelo3926
    @angelo3926 3 года назад

    Amazing video! Hoping for much more please!

  • @RobofGabriola
    @RobofGabriola 3 года назад

    That was a truly fantastic tutorial! I wish my professors in Aero Eng had half as much imagination.

  • @EscapeMCP
    @EscapeMCP 3 года назад

    This is awesome. More of this please!

  • @tim3609
    @tim3609 3 года назад

    Thanks a lot for this brief introduction. While I so far have only used transfer functions in Mechatronics I, it´s great to see how the more advanced blocks can be used. Looking forward to Mechatronics II. I would be very interested in a video covering Simscape and other simulation tools you might use.

  • @danielle2328
    @danielle2328 3 года назад

    Nice video! It would be great to see the next video of the closed-loop control of the rocket and maybe comparing whether or not there is a significant difference in the method of doing the PID control.

  • @Quantum_Dots
    @Quantum_Dots 3 года назад

    Yes pid simulation is needed , I loved actually that last part where you did simulation with a small rocket

  • @tommasorizzi6932
    @tommasorizzi6932 3 года назад

    Fantastic video!! Super interesting, I'll wait fo pid simulation video

  • @rabinniroula5201
    @rabinniroula5201 3 года назад +23

    ive never been this fast at clicking the notification

  • @clouvyx1657
    @clouvyx1657 3 года назад +1

    I fired my first model rocket thanks to you for all the inspiration thank you

  • @R_Alexander029
    @R_Alexander029 3 года назад

    Reminds me of my engineering days at uni. Awesome stuff.

  • @Irish2050
    @Irish2050 3 года назад +118

    I literally can't comprehend this guys genius.

    • @willtheelectrician8184
      @willtheelectrician8184 3 года назад

      Lol, same

    • @MichaelLloyd
      @MichaelLloyd 3 года назад +10

      You need to get a degree in music...

    • @confusednsutian7100
      @confusednsutian7100 3 года назад +8

      It's not that difficult

    • @t_c5266
      @t_c5266 3 года назад +12

      Thats what separates the engineers from the rest.
      He's not doing really much but following a control scheme found in numerous textbooks

    • @rikiz98
      @rikiz98 3 года назад

      @@t_c5266 i love to Watch videos like this and seeing something that i studied in engineering classes!

  • @benclifford7891
    @benclifford7891 3 года назад

    I would LOVE to see more of this

  • @dhruvmalik795
    @dhruvmalik795 3 года назад

    It would be a dream to work with this guy.Awesome dude

  • @bbmindianhi-techsongs8741
    @bbmindianhi-techsongs8741 3 года назад

    Amazing man
    I see your all video
    It's nice
    Experience is necessary for practical 🙏

  • @ismailmacit1675
    @ismailmacit1675 3 года назад +1

    Great video I would love to see another one of these videos.

  • @pladselsker8340
    @pladselsker8340 3 года назад

    Hey Joe, this is not a usual tutorial to me, this is fucking helpfull. I would greatly apreciate a followup video with feedback loops, pid controlers and whatever you think is relevant.
    You're saving me a lot of time and frustration with this, I love you.

  • @manastiwari693
    @manastiwari693 3 года назад

    Highly inspiring!! Keep on the good work and yup i would very well like to see the PID video too!

  • @EXOgreenMC
    @EXOgreenMC 3 года назад

    I use a program called Rhino for 3D modeling, and it has some visual programming elements like this to create tweakable designs. I find that visual programming in this sense helps me teach other classmates bout how to make something because it forces you to think through an order of operations and because it lays out alot of the options you can use instead of having to googe what formulas you might need. Very cool and I hope to see more like this!

  • @ldohlj1
    @ldohlj1 3 года назад

    Thank you. More of this please!!!

  • @kundudev1449
    @kundudev1449 3 года назад

    Please make many such videos, these are awesome!!!

  • @user-yv1sp1ey1e
    @user-yv1sp1ey1e 3 года назад

    I had a really cool teacher in my Modeling course on bachelor degree, and we studied the subject in a playful way. And one of these tasks was to develop the Falcon 9 landing system, but we also had to manage the landing legs separately. The final result was calculated as the sum of time, landing speed, and accuracy. All this is seasoned with beautiful visualization.
    It was 2018...

  • @pramitchaudhury1821
    @pramitchaudhury1821 3 года назад

    Please make a complete series feels so go to see the practical usage of high school physics