Building a Matlab/Simulink Model of an Aircraft: The Research Civil Aircraft Model (RCAM)

Поделиться
HTML-код
  • Опубликовано: 10 ноя 2024

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

  • @ChristopherLum
    @ChristopherLum  4 года назад +11

    In case it is helpful, here are all the Flight Mechanics videos in a single playlist ruclips.net/p/PLxdnSsBqCrrEx3A6W94sQGClk6Q4YCg-h. You can support this channel via Patreon at www.patreon.com/christopherwlum. Please let me know what you think in the comments. Thanks for watching!

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

      pro tip : you can watch series at flixzone. Been using them for watching lots of of movies recently.

  • @sarojdebnath1112
    @sarojdebnath1112 4 года назад +8

    U r a gem here for the enthusiastic student

  • @reesetaylor3506
    @reesetaylor3506 6 месяцев назад +1

    AE 512: Its super helpful when you walk through every step of the simulink creation and explain what is going on. Appreciate your effort in these videos!

    • @ChristopherLum
      @ChristopherLum  6 месяцев назад

      I'm glad it is useful, hopefully it helps get your model implemented and tested!

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

    Excellent video! As a new aerospace grad student this series has been an immense help in understanding modeling considerations and how to actually implement them. Thank you very much!

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

      I'm glad it was helpful. There are several related videos on the channel. Please feel free to check them out and I would love to hear what you think in the comments. Thanks for watching!

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

    Hands down THE BEST video for this topic.

    • @ChristopherLum
      @ChristopherLum  4 года назад +1

      I'm glad it was helpful. There are other similar videos on the channel please feel free to check them out and let me know what you think in the comments. Thanks for watching!

    • @jshamel
      @jshamel 4 года назад

      I've been watching the rest of the videos in this playlist and they are all outstanding!
      I'm a former Aerospace Engineer, still miss it, and have decided to ramp up my skills with modeling dynamic systems, just for fun. I am attempting to model a two-stage launch vehicle into low earth orbit. I found a paper titled "Two-Stage Launch Vehicle Trajectory Modeling for Low Earth Orbit Applications" by Sallam and Makled. In the paper they are using Matlab/Simulink without a lot of actual model examples.
      It appears that your playlist is what I need to work through this. Do you think there will be some topic areas that I will need in addition to what you have presented in this playlist?

  • @sethwhittington28
    @sethwhittington28 2 года назад +1

    AE512: I always appreciate you walking through the example like this. I don't work with Simulink in my professional life and this is always helpful.

  • @janerikludwighorvath7761
    @janerikludwighorvath7761 12 часов назад

    You are an incredible resource! True inspiration

  • @matthewbajamundi8774
    @matthewbajamundi8774 2 года назад +1

    AE 512 Great video! It really helped me visualize how the inputs affected the RCAM.

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

    You are so excited about this content that you are throwing your pen around. Your passion for this subject shows and it makes these videos much more enjoyable and interesting. Thank you.

  • @edwardmau5877
    @edwardmau5877 6 месяцев назад

    AE 512: Great video at showing how the theory of obtaining the different states in the state vector can be implemented in MATLAB. Even cooler to see the graphs at the end match up with intuition. Connects the dots between mathematical theory and reality.

  • @EomjiKim
    @EomjiKim 9 месяцев назад

    AA516: Thank you for showing how to build a aircraft model from scratch! Easy to follow, so very helpful to practice making simulink:)

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

    AE512: Very helpful! Simulink has always been difficult for me so a detailed walk through is very much appreciated

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

      Ryan, in case you're interested, I have a video to get started with Simulink at ruclips.net/video/WLPvCefp6Qo/видео.html

  • @ThomasNiemisto
    @ThomasNiemisto 2 года назад +2

    AE 512: The anticipation of where this is going is getting to me. Can't wait to make a flight simulator. :)

  • @tonymcdaniel6878
    @tonymcdaniel6878 8 месяцев назад

    AA516: Really cool to see all of the previous videos build up to this model.

  • @xxangelbobaxx5182
    @xxangelbobaxx5182 4 года назад +1

    This is absolutely fantastic. I can't test until I see how the next phase turns out. Thank you for your kind service

    • @ChristopherLum
      @ChristopherLum  4 года назад +1

      You're very welcome, this is a part of a series of videos on the channel. Please feel free to check them out and let me know what you think. Thanks for watching!

  • @AlexandraSurprise
    @AlexandraSurprise 8 месяцев назад

    AA 516: Allie S, this is awesome! thanks for sharing such a cool resource

  • @aimeepak717
    @aimeepak717 6 месяцев назад +1

    AE512: This video was very helpful in building the RCAM simulink model :)

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

    AA 516 - Pretty cool to see everything come together!

  • @milesrobertroane955
    @milesrobertroane955 8 месяцев назад +1

    AA516: It is so cool that such a (relatively) simple process yields such an awesome result. Who need a private jet when I have a plane inside of my computer??

  • @cdvvvvvvvv
    @cdvvvvvvvv 6 месяцев назад

    It was awesome and exactly what I am looking for. Thank you so much

  • @34lokos
    @34lokos 11 месяцев назад

    God bless your work sir❤

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

    This is very helpful and well explained, thanks a lot.
    I have a tip, in Matlab we can start new section with two percent signs and a space (%% ), and then we get nicely separated section.

  • @bsgove
    @bsgove 5 месяцев назад

    AE512: I expected this to be so much nastier looking, but it's actually pretty elegant. Thankfully, we swept most of the computation under the rug in the RCAM matlab function.

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

    AA516 - I really enjoyed following along with this lecture and building the model. I think this will be a big help for the project

  • @rowellcastro2683
    @rowellcastro2683 9 месяцев назад

    AA516: Thanks for the lecture Professor.

  • @sunildhull8878
    @sunildhull8878 4 года назад

    Thanks, just because of u I don't give up on my project .u r greatttttttttttttttttttttttttttttttttt

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

    AA516: Being relatively new to Simulink, I appreciate the walkthrough of building a model on this platform

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

    Hi prof Lum, I extremely love this video. it covers most materials of my control class

  • @WalkingDeaDJ
    @WalkingDeaDJ 6 месяцев назад

    Jason-AE512: This video helps me a lot on solving homework problems.

  • @kurtcobainsr
    @kurtcobainsr 4 года назад

    Great video! Can't wait to see more flight mechanics videos in the future!

  • @MicheleLuciano
    @MicheleLuciano 4 года назад +9

    Hi, did you publish the matlab file somewhere? great video! that open my mind!

  • @deiluminario
    @deiluminario 4 года назад

    Your video is just amazing. It's being an great help in the development of my own project and I'll be looking forward to more content on the same matter. Infinite thanks for sharing all this knowledge!

  • @davidtelgen8114
    @davidtelgen8114 6 месяцев назад +1

    AE 512: It's all coming together!

  • @cansuyklmaz5072
    @cansuyklmaz5072 4 года назад

    Thank you so much. It helped me to understand the behaviour of aircraft very well .

  • @aryanmishra5591
    @aryanmishra5591 4 года назад +7

    This was an epic video. It was really easy to follow along and finally I was able to make this work. Thousand times Thank you for this.
    One thing though here you put x0 as an initial condition in the integrator block. I tried a different method ie. using initial condition block (i.e. it will provide the input just for the first time step) between the integrator and the input and I am getting an error. The results are coming out to be completely different in both cases. This is confusing me a lot as both the approaches look the same to me. Obviously I am missing something important. It would be great if you could clear this doubt.
    Thanks again for making this video this is just too awesome.

  • @shavykashyap
    @shavykashyap 8 месяцев назад

    AA516 - Very cool !!

  • @justinhendrick3743
    @justinhendrick3743 4 года назад +5

    "More confused than a chameleon in a bag full of skittles", haha that's a good one!

    • @ChristopherLum
      @ChristopherLum  4 года назад

      Hi Justin, I'm glad you enjoyed it, thanks for the feedback!

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

    Great video sir, I really appreciate your work!

  • @parthviradiya6666
    @parthviradiya6666 4 года назад +2

    wow. thanks for the great video. i was thinking of building similar model recently with arduino and inputs from the pin or joystick. this video will definitely help me doing that easily.

    • @ChristopherLum
      @ChristopherLum  4 года назад +1

      I'm glad you enjoyed it. I've got several other videos in this series on the channel (and more coming in the very near future). Please let me know what you think of the other videos, thanks for watching!

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

    Superb series

  • @Kumky605
    @Kumky605 8 месяцев назад

    AA516- super interesting and helpful for hw

  • @petermay6090
    @petermay6090 8 месяцев назад

    AA516: very cool!

  • @chayweaver.2995
    @chayweaver.2995 5 месяцев назад

    AE512: Pretty amazing that it just takes under 300 lines of code to model a dynamic, 6 degree of freedom, aircraft

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

    Great presentations ! Excellent work.
    How about taking the simulation one step further and connect the model you created to a Joystick and FlightGear and show us that it really flies ?
    How does your plant model compare to the Simulink 6 DOF model ? Do they agree ?

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

    Very helpful!

  • @atanusadhukhan1019
    @atanusadhukhan1019 4 года назад

    Waiting for upcoming video related to Simulink.

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

    Thats the stuff

  • @atanusadhukhan1019
    @atanusadhukhan1019 4 года назад

    Your video lectures boost up interest in flight dynamics. I have one query related to Simulink. How methodology like ML, KF etc can be implemented in Simulink Model to estimate stability derivatives.

  • @zachsmith1973
    @zachsmith1973 Год назад +1

    AA 516: Awesome video! I'm struggling with the dimensions of C_bs and other matrices involving arrays like alpha or Va (HW6 1b). For C_bs I can only seem to get a 2977x1. The only way I can think to fix it is with a for loop and iterate over all the values of alpha, but then I would have to index everything which it sounded like we wanted to avoid based on this video.

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

      Zach, that seems odd, do you have a timestamp that illustrates when you think things are going wrong?

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

      @@ChristopherLum In the 13 to 16 minute range. I'm messing with it right now but it might be easier if I could email you separately, or just wait until office hours!

  • @pakistanigamer3887
    @pakistanigamer3887 4 года назад +1

    Dear Chris... can you refer some document where can i find these aerodynamic and geometric features for Boeing 737.... i need to model it on the same way as you have done for RCAM... thanks

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

    AA 516: Fun lecture! (and homework) I'm excited to continue bridging the gap between the theory/modeling and what we do in MATLAB/Simulink!
    I'm curious (if you're allowed to share) how much Simulink do you use in industry, and how applicable would something like this process we're doing here be as a controls/gnc engineer?

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

      Jack, excellent question. This obviously depends on what company and even what group you are in within said company. A lot of GNC engineers use Matlab/Simulink extensively for simulation, control, and other analysis. Let's just say I use it on a daily basis.

  • @i_am_omobeautie
    @i_am_omobeautie 2 месяца назад

    Hello pls I have a question: “At what stage in the Modeling did he define the ‘tout’ and ‘t’ variables that appeared as 162x1 double in the workspace upon running the code???”

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

    Hey Professor Christopher, this is such a great video and super well explained as well. I was attempting to build a similar model for my thesis at university and was wondering if there’s anywhere I could find the Matlab scripts and simulink for this model, currently have one that Im trying to visualise in flightgear and failing miserably.

    • @ChristopherLum
      @ChristopherLum  Год назад +1

      Hi Dhruv,
      Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. I can also answer any questions, provide code, notes, downloads, etc. on Patreon. Thanks for watching!
      -Chris

  • @yaffetbedru6612
    @yaffetbedru6612 9 месяцев назад +1

    AA516: I can see the possibilities for joystick input that we are heading towards.

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

    Hi, Greetings from Africa Dear Professor Christopher...
    I really thank you I have learnt from you a lot,,, and I have one question if you please ----> Can we trim this model as you explained in the Lecture of (Trimming a Simulink Model Using the Linear Analysis Tool) ?? ,,, How can I trim this model into a state of equilibrium ??
    Thanks in advance

  • @Colin_Baxter_UW
    @Colin_Baxter_UW 8 месяцев назад +1

    AA516: I was going to ask if there was a more efficient way of performing the limit checks rather than the if statements, but then we switched to the saturation blocks, so that sort of answers my question.

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

    Hi Christopher, your videos are great and educational, and you are probably a great professor. I have implemented the codes, along with the Navigation equations and the geodetic equations but I got a question... Since we mostly get a negative theta (meaning we are heading downwards (?), WHY does the state variable X3 (z- axis velocity on Body frame ) turns out to be NEGATIVE?!! I can't put my finger on it. The rest of the variables, including the downward velocity (z- axis on Vehicle frame) behave as expected

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

      Thanks for reaching out, I'm glad you enjoyed the video. Unfortunately I'm unable to respond to questions on RUclips due to the sheer volume of inquiries that I receive. That being said, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum as I'll be able to answer questions there. I'd love to have you as a Patron as I'm able to talk/interact personally with Patrons. Thanks for watching!

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

      Hello, I am studying this lecture recently. As far as I know, even if the angle of attack is negative, as long as it is greater than the zero-lift angle of attack, the body can still rise (which means the speed in the Z direction is negative). If you have answers or other ideas, you can reply to me for further discussion.

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

    What is the discontinuity at ~32 seconds in the upper middle graph at @49:30 ? There are other discontinuities in other graphs at that point as well. Did a numerator go to zero somewhere ?

  • @ironsimonx4221
    @ironsimonx4221 2 года назад +1

    Is there a possibility to download the MATLAB-Code?

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

    Hi Christopher, is there a way to have the user-defined Matlab Function Block, and still avoid duplicating the matlab code in RCAM_model.m? In other words, is there something analogous to a C #include feature?! It seems like I need the user-defined Matlab Function block, so that I can generate standalone C code for my matlab function. Once again, it's a pleasure to watch you video on such a dry subject!

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

      Hi Sree,
      First let me say thank you for your generous support of the channel, it is very much appreciated!
      To answer your question, yes, one of the easiest ways to avoid duplication is have the Matlab Function block simply call your RCAM_model.m function. All the implementation would be in RCAM_model.m and the Matlab Function is simply a wrapper for this function call.
      Do you have any particular interests in terms of videos or topics? I try to prioritize request made by interested parties as much as possible as I plan future videos.
      If you are interested, I interact personally with all Patreon members at www.patreon.com/christopherwlum. Given your interest in the topic, I'd love to have you as a Patron.
      In any event, I want to again say thank you for your contribution and for supporting the channel. I hope to hear from you at a future RUclips video or on Patreon!
      -Chris

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

      @@ChristopherLum Thanks for your very quick response. I'll try your suggestion.

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

    Thanks!

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

      Oops! I apologize for not figuring out how to suppress the comment re the donation!

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

      Hi Sree,
      First let me say thank you for your generous support of the channel, it is very much appreciated! Also, Let me apologize for the late response. Somehow this comment slipped through the cracks and I only just noticed it.
      Do you have any particular interests in terms of videos or topics? I try to prioritize request made by interested parties as much as possible as I plan future videos.
      If you are interested, I interact personally with all Patreon members at www.patreon.com/christopherwlum. Given your interest in the topic, I'd love to have you as a Patron.
      In any event, I want to again say thank you for your contribution and for supporting the channel. I hope to hear from you at a future RUclips video or on Patreon!
      -Chris

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

    Learnt a lot from this video! Just wondering, will you be also covering the Matlab/Simulink model of a tilt-rotor aircraft too?

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

    Thanks

    • @ChristopherLum
      @ChristopherLum  2 года назад +2

      Hi Lorenzo,
      First let me say thank you for your generous support of the channel, it is very much appreciated!
      Do you have any particular interests in terms of videos or topics? I try to prioritize request made by interested parties as much as possible as I plan future videos.
      If you are interested, I interact personally with all Patreon members at www.patreon.com/christopherwlum. Given your interest in the topic, I'd love to have you as a Patron (I also have downloads like code, notes, models, etc. on Patreon).
      In any event, I want to again say thank you for your contribution and for supporting the channel. I hope to hear from you at a future RUclips video or on Patreon!
      -Chris

  • @nathanlipshutz3140
    @nathanlipshutz3140 6 месяцев назад

    AE512:
    Regarding the inertia matrix inverse. If we were considering a time variant system, we would obviously be stuck updating the inertia matrix and it's inverse.
    If this was written for software that was being loaded onto a flight computer, how would you assess the impact of having to compute that inverse at each time step?

    • @ChristopherLum
      @ChristopherLum  6 месяцев назад

      If the inertia was changing then you'd have to compute the inverse each time step. That being said, it is only a 3x3 and the inverse of this is very easy to compute efficiently.

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

    Sir, I tried to run this in a parafoil model, but its showing error. Cud u pls help me sir

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

    AA 516: Hi prof Lum, I'm curious if you wanted to express the position of the aircraft in the NED (inertial) frame, would it be as simple as transforming u,v,w using the euler angles phi,theta,psi to get airspeed in the inertial frame, and then integrating to get position? Thanks!!

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

      Hi Patrick, yes, in fact that is exactly what we talk about in the videos for this week, you're just a bit ahead of the scheduled program :)

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

    Hi Christopher. I am working on a project using Matlab/Simulink aerospace blockset. i want to modify the example on Parrot mambo drone for implementation on the physical drone. please i need help urgently

  • @charanteja2456
    @charanteja2456 2 года назад +1

    Hello Christopher sir....Great explanation...very nice...All of your sessions...I tried for the simulation of RCAM_model and RCAMSimulation....in Matlab 2021a...but I am getting an error like...
    Error using InitializeConstants (line 22)
    Not enough input arguments.
    Error using InitializeConstants (line 22)
    Error in 'RCAMSimulation/Interpreted MATLAB Function' while evaluating expression.
    please tell me how to rectify them.

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

      Hi Charan,
      Thanks for reaching out, I'm glad you enjoyed the video. Unfortunately I'm unable to respond to questions on RUclips due to the sheer volume of inquiries that I receive. That being said, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum as I'll be able to answer questions there. Given your interest in the topic, I'd love to have you as a Patron as I'm able to talk/interact personally with Patrons. Thanks for watching!
      -Chris

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

      could you solve this problem man?

    • @phobiatheory3791
      @phobiatheory3791 11 месяцев назад

      Did you figure this out ?

  • @antonete125
    @antonete125 4 года назад

    why do you use as state the velocity written in the body fixed reference frame instead of the the velocity written in the inertial frame? In the other form, the equations for translational dynamics are more compact.

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

    FROM WHERE I CAN GET THE ENTIRE CODE ?

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

    Hi Professor, i got an issue when plotting the graphs of the results, the speed of "u" drops down while "r" gains. I've checked the code and the lecture many times and I still don't find the issue.
    Can you give me any idea of where I exactly may have screw up?

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

      Hi Patricio,
      Thanks for reaching out, I'm glad you enjoyed the video. Unfortunately I'm unable to respond to questions on RUclips due to the sheer volume of inquiries that I receive. That being said, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum as I'll be able to answer questions there. Given your interest in the topic, I'd love to have you as a Patron as I'm able to talk/interact personally with Patrons. Thanks for watching!
      -Chris

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

    thanks a lot , would you please dvelop a vehicle model using simulink and matlab step by step like RCAM_model. I wonder if u do that

  • @hellstromeyoung8015
    @hellstromeyoung8015 4 года назад

    Hello Christopher, been trying to access the source document "Robust Flight Control Design Challenge Problem Formulation and Manual: the Research Civil Aircraft Model (RCAM)" but I am only able to get an older version, any suggestions as to how I can get the one used here?

    • @alexsopo9917
      @alexsopo9917 4 года назад

      i have Robust Flight Control Design Challenge Problem Formulation and Manual - the Research Civil Aircraft Model (RCAM)(TP88-3) from 1997 if it would help you.

    • @hellstromeyoung8015
      @hellstromeyoung8015 4 года назад

      Hello, @@alexsopo9917 Yes! That would be incredibly helpful, please advise how I can gain access to it. Thank you!

    • @alexsopo9917
      @alexsopo9917 4 года назад

      @@hellstromeyoung8015 garteur.org/technical-reports/ at the Flight mechanics, systems and integration section

    • @hellstromeyoung8015
      @hellstromeyoung8015 4 года назад

      @@alexsopo9917 at the Garteur site I came across the 1995 model published in 1996, is this the same one?

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

    where is the RCAM.m file? how do you find the source code?

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

    where can we find the Matlab scripts u copied and pasted in this video ?

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

    Hi, can you upload the Simulink file to github? I've tried following along in Simulink and want to cross-check if both outputs are same

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

    Wow! Great video. It would be great help for us, if you share your RCAM_model.m matlab code. So, I request you to share your matlab code in description.

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

    Hello Christopher, could you help by letting me know what are the changes to be made for MATLAB 2020?
    Thanks for the detailed video!

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

      did you get it?

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

      Hi there, I am using MATLAB 2022a, was wondering if you have found the solution@@nachiketsankhe1086

  • @RazvanGabor
    @RazvanGabor 4 года назад +1

    This is really depressing considering I am student and I know I'll never in my life be this good...

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

      Don't discount yourself like that. If you spent a couple years studying this stuff as a MSc or PhD candidate, you'd know it this well too.

  • @zaneyosif
    @zaneyosif 6 месяцев назад

    AE512: As someone who does a lot of software programming, I know all too well about the pain of having copied code in two (or more!) separate locations. Would much rather prefer to have it in one single location, to make sure that if it needs to be updated it only is updated in one place!

    • @ChristopherLum
      @ChristopherLum  6 месяцев назад

      I completely agree. Good software habits are super important!

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

    An error occurred while running the simulation and the simulation was terminated
    Caused by:
    Error due to multiple causes.
    Attempt to execute SCRIPT RCAM_model as a function:
    C:\Users\Public\Downloads\Simul\RCAM_model.m
    Error in 'RCAMsimulation/Interpreted MATLAB Function' while evaluating expression.
    Sir i am experiencing this error

  • @nithinadidela
    @nithinadidela 8 месяцев назад

    AA516: My constant U control vector isn't produced as a time-series. It's just a single value at t = 0.

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

    A A 516: realized I forgot to leave comments!

  • @marcosszmania5874
    @marcosszmania5874 2 года назад +1

    AE512: Hi Professor, thanks for the video. I followed your steps but I am getting an error when running the SIMULINK.
    Caused by: Error in 'RCAMSimulation/Interpreted MATLAB Function' while computing the output. The width of the result was 9 when a width of 1 was expected.
    My XDOT is a 9x1 matrix so I don't know what is going on. Thanks.

    • @ChristopherLum
      @ChristopherLum  2 года назад +1

      Marcos, you can try to manually specify the dimension of the output as 9. Sometimes Simulink needs help understanding the dimension of signals. I can show you how to do this at office hours if you've never seen this before.

  • @shemafonso3206
    @shemafonso3206 4 года назад

    Could anyone please tell me what would be the state and control surface inputs for a steady flight..

  • @AndersonYuan-j7g
    @AndersonYuan-j7g 8 месяцев назад

    AA516: Celeste Yuan.

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

    can u provide us the code for the model?

  • @노른자-f9v
    @노른자-f9v 10 месяцев назад

    I followed you exactly, but the result is different......

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

    Please help me solve the problem in Matlab 2021. I did everything as in the video.
    Error using InitializeConstant
    Error due to multiple causes.
    Cause by:
    Error using InitializeConstant
    Not enough input arguments.
    Error using InitializeConstant
    Error in 'RCAMSimulation/interpreted MATLAB Function' while evaluating expression.

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

      I realized that I need to somehow set the initial state vector (X))

    • @phobiatheory3791
      @phobiatheory3791 11 месяцев назад

      @@gts6676 Did you figure it out ?

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

      Can you help me too ? I have R2023a version

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

    Please publish your files so we can follow along as you work through things.

  • @timproby7624
    @timproby7624 6 месяцев назад

    [AE 512] Excited to build a flight simulator!
    Do you know if anyone has gotten a PS4 controller to work with the sim? I know you mentioned Xbox.

    • @ChristopherLum
      @ChristopherLum  6 месяцев назад

      I think I've seen a PS4 controller work. To be more specific, I believe it was a playstation controller with a USB interface but I can't 100% remember. It might be a good thing to try.

    • @timproby7624
      @timproby7624 6 месяцев назад

      I got the PS4 working with my computer so I think it should work.

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

    you sound like linus! from linuxtech youtube channel

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

    Can someone please send the source code for this?

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

      Hi Pavani,
      Thanks for reaching out. If you have questions or would like to request a video or source code, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. I'd love to have you as a Patron as I'm able to talk/interact personally with Patrons. Thanks for watching!
      -Chris

  • @princekeoki4603
    @princekeoki4603 8 месяцев назад

    AA516: Flight Simulator 👀👀👀👀👀👀

    • @ChristopherLum
      @ChristopherLum  8 месяцев назад

      Can you shoot me an email and let me know who this is so I can award appropriate participation points, thanks.

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

    Doesn't work on R2020a.

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

      Sorry to disturb you. How did you get the source code?

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

      faça a modificação na versao 2020
      ________________________________________
      %% Run modelo
      saida = sim('RCAM_Simulation')
      %% Gráfico dos Resultados
      t = saida.simX.Time;
      % Extraindo os dados do Simulink
      u1 = saida.simU.Data(:,1);
      u2 = saida.simU.Data(:,2);
      u3 = saida.simU.Data(:,3);
      u4 = saida.simU.Data(:,4);
      u5 = saida.simU.Data(:,5);
      x1 = saida.simX.Data(:,1);
      x2 = saida.simX.Data(:,2);
      x3 = saida.simX.Data(:,3);
      x4 = saida.simX.Data(:,4);
      x5 = saida.simX.Data(:,5);
      x6 = saida.simX.Data(:,6);
      x7 = saida.simX.Data(:,7);
      x8 = saida.simX.Data(:,8);
      x9 = saida.simX.Data(:,9);
      ______________________________________
      Agora deve funcionar.
      Excelente vídeo.
      Obrigado Sr Christopher Lum

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

      @@diogopinheiro520 você conseguiu fazer o código? Eu tô com um projeto de um avião por rádio controle e preciso fazer um relatório que entra essa simulação, mas é algo muito novo pra mim, poderia me ajudar? Me envia uma resposta no meu e-mail por favor camilabueno@estudante.ufscar.br Obrigada 😊

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

    Isn 't there a problem with calculating rol pitch yaw moment at section:
    %------------------------------------------------6. AERODYNAMIC MOMENT ABOUT Aerodynamic Center in Fb----------------------------------------------------------------
    % Normalize to an aerodynamic moment
    MAac_b = CMac_b*Q*S*cbar;
    all Cl Cm and Cn are multiplied by c_bar however the Cl & Cm has to be multiplied by b (wing span) instead of c_bar (mean aerodynamşc chord)?
    Thanks a lot..

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

      Hi Akan,
      Thanks for reaching out, I'm glad you enjoyed the video. Unfortunately I'm unable to respond to questions on RUclips due to the sheer volume of inquiries that I receive. That being said, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum as I'll be able to answer questions there. Given your interest in the topic, I'd love to have you as a Patron as I'm able to talk/interact personally with Patrons. Thanks for watching!
      -Chris

    • @txemagonz
      @txemagonz Год назад +1

      Well that's because the RCAM model normalizes Wind tunnel coefficients around cbar, just in case you still keep interest.
      What it is really weird to me is that applying Euler angles to North East Down reference frame, an idling plane increases altitude due to a negative w. I'm pretty sure there must be a little inconsistency hiding there.

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

      @@txemagonz -w means increasing vertical velocity therefore altitude raises. It has been quite a while that I studied this. Shortly, I adjust parameters to maintain required behaviour of the aircraft.

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

    thanks