Trimming a Simulink Model Using the Linear Analysis Tool

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

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

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

    In case it is helpful, here are all my Matlab videos in a single playlist ruclips.net/p/PLxdnSsBqCrrEU0dLSrTcl0-w9cVYKMTaF. Please let me know what you think in the comments. Thanks for watching!

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

      @Nasir Roman definitely, I have been using flixzone for months myself =)

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

      @Nasir Roman Definitely, have been watching on flixzone for years myself :)

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

      @Nasir Roman definitely, have been watching on Flixzone for since december myself :)

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

    AE 512: FYI for newer R2022a version of Matlab:
    (1) Install the "Simulink Control Design" add-on.
    (2) "Linear Analysis Tool" is now called "Model Linearizer".
    (3) Simulink menu bar is gone. Replaced by ribbon bar. Open the tool by going to Apps > Model Linearizer.

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

      Thomas, thanks for the helpful notes, I'll make sure this comment is visible in the future!

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

    AA516 - Great lecture as usual. I'm running R2020b and it took me a bit to figure out that I needed to download the Simulink Control Design addon in order to get Linear Analysis Tool. Also, in R2020b, the Linear Analysis Tool is called "Model Linearizer" and is under a different menu. This might be good info for the rest of class to know, if it wasn't already mentioned

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

      Gary, thanks for the update and for blazing the trail with the newer version of Matlab. I'm sure others will benefit from your knowledge (hopefully they read the comments 😀)

  • @Gholdoian
    @Gholdoian 3 месяца назад +1

    AE 512: Wow, very powerful and simple tool to use!

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

    AA516: Trimming for the orbit was cool to see! I am excited to use this tool.

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

    AE 512: Thanks for updating for the newer release version in the description!

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

      I'm glad you found it, sometimes it is hard to find that kind of information in the description so kudos for your detective skills :)

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

    Jason-AE512: This video gave a good overview of how I can do trimming the simulink model in the Matlab. I get well learned through the video.

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

    AA516: Thanks for showing the power of the linear analysis tool and how trimming can be made simpler. The validation steps helped me make sense of how accurate it can be.

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

    AE512: Very informative about the power of the linear analysis tool. After poking around with it, I was surprised that we could place more expansive constraints on the states (i.e not just a certain states value but rather expressions that related multiple states). Very powerful!

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

    AA516: That is very powerful tool. I've been reading some of the comments and it looks like some stuff has changed since the new updates. It looks like I have the neccessary packages installed. Thanks for the lecture Professor.

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

    AE512: very helpful tutorial here. Fairly straightforward to use.

  • @selamhendrix5252
    @selamhendrix5252 5 лет назад

    thank you for the lecture on the analysis tool and all the small hints on what could go wrong and how to restart the next day after saving.... def had to rewatch to get it to work again.

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

    AA516: This is a great tool to add to my matlab toolbox! Thank you!

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

    AE 512: Good to understand the theory behind this tool but it's so nice to just use this now.

  • @user-hu5zs4ur7i
    @user-hu5zs4ur7i 5 месяцев назад

    AA516: Allie S, This is a super handy tool. Matlab is becoming more and more of a favorite as time goes on.

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

    Dear Professor. Thank you for this video and nice explanation.

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

    AE512: This linear analysis tool could be a game changer for all kinds of engineering problems/applications. Would love to see this used in conjunction with Simscape

  • @krystoflis7157
    @krystoflis7157 5 лет назад

    Great Introduction to the Linear Analysis Tool. Thanks Chris

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

    AE512: Finding a trim point with the Linear Analysis Tool gui really simplifies the process. It should be a quick way to check trim points found using other methods.

  • @georgepb4703
    @georgepb4703 5 лет назад

    A nice explanation, Not boring and super helpful! Thank you for your video!

  • @darylfishback-duran3580
    @darylfishback-duran3580 5 лет назад

    Great tutorial of the Linear Analysis Tool as well as great tips / best practices for Simulink Development

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

    Thank you for all your efforts, i really enjoy every video that you make. I would love to see a video about the Kalman Filter.
    Happy New Year!!!

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

      Thanks, I'm working on that video and hope to have it in a few weeks, thanks for watching!

  • @user-dz6vl5eq8v
    @user-dz6vl5eq8v 4 года назад

    Dear Professor! Thanks for Your efforts!

  • @user-be9qk7vg5y
    @user-be9qk7vg5y 4 года назад +1

    you're a savior. thanks a lot. Great work.

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

      I'm glad it was helpful thanks for watching!

    • @user-be9qk7vg5y
      @user-be9qk7vg5y 4 года назад

      @@ChristopherLum can you please explain trimming using trim command in matlab. its for an assignment and i am not getting anything

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

    AA516: Forgot to comment earlier this week, very convenient function in MATLAB!

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

    AA516: Crazy powerful and also crazy simple

  • @alanlee4326
    @alanlee4326 5 лет назад

    AE511: great tutorial on this very useful Matlab controls tool.

  • @brianhumphreys5161
    @brianhumphreys5161 5 лет назад

    AE511: very helpful, especially the import/export processes between the workspace and linear analysis tool

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

    That's very interesting to me how some of the states go to very nearly their expected values in the simulation but not quite all the way (e.g. 14.999999 instead of 15).

  • @MattAero
    @MattAero 5 лет назад

    AE511: good lecture/tutorial and cool and very helpful analysis tool.

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

    Oh my god you are amazing!

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

      I'm glad it was helpful thanks for watching!

  • @efremnigusse5033
    @efremnigusse5033 4 года назад +4

    where can i find the other videos about "Trimming a Model Using Numerical Optimization (TBD)" because i couldn't find it on you channel

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

      Sorry for the delayed response. The video you are looking for is at ruclips.net/video/YzZI1V2mJw8/видео.html.

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

    amazing vedio!thank you profesor!i always have difficult in linear analysis ,you helps me a lot!

  • @edwardsanchez2331
    @edwardsanchez2331 5 лет назад

    Great video on another new matlab function

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

    AE501B: This is really good video and good tips.
    Thanks you profesor (Sam)

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

    very helpful video! thank you very much! could you please upload the video" Equations of Motion for a Planar Vehicle" to which you refer at time 7:12?

  • @gitarplayer13
    @gitarplayer13 5 лет назад +2

    Thanks professor. I was confused with some of the terminology used in this video. In case 1 when describing the constraints on xdot, specifically x2dot, it seems to me that you were saying that ydot is not at steady state. But isn't ydot at steady state, just at a constant non-zero value of 15? When you were describing the check boxes in the linear analysis tool it seemed to make more sense, that actually what you were describing is that y (x2) is not at steady state since ydot (x2dot) is non-zero. To me it would have made more sense if you would have described it as "is y (x2) at steady-state, or is ydot (x2dot) equal to zero". Do you agree, or am I not interpreting this correctly?

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

      [AE 511] I had the same question as Brad a few years ago
      Previously, you can have non-zero steady state values. It seems like steady state in the findop, we are defining steady state meaning 0

  • @wes1588
    @wes1588 5 лет назад

    Thanks Chris! This is a lot easier than using fminsearch. When would you want to use fminsearch instead of findop/Linear Analysis?

  • @kristenleenerman1351
    @kristenleenerman1351 5 лет назад

    Introduction on using the Linear Analysis tool

  • @kaisemuw7074
    @kaisemuw7074 5 лет назад

    AE 511. Excellent tools in MATLAB

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

    if you consider perturbations in the plant, for example, perturbations caused by the environment or wind, would it be right to set theta and theta dot to zero or stady state? Thanks for your video, it’s amazing. Greetings from Spain

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

    how can tun pid controlled large matlab simulink ;that can't do manually linearized since the system is nonlinear

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

    thanks for the video. I have a question for you how can I create the model in Simulink as the video. I can know creating the planar vehicle in the video

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

      Hi,
      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

  • @justinhendrick3743
    @justinhendrick3743 5 лет назад

    Is there a way to constrain a state/input/output to be within a range of values? For example, can I set a maximum and minimum xdot for the planar vehicle with Simulink's Linear Analysis Tool?

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

    Hello
    Thank you for the informative lectures.
    Can you share the code of Simulink files, please?
    I don't get how to build the planner vehicle part

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

    Hi! thank you for the videos, it is amazing! But i am having some throuble with my simulink model. It's trim using the linear analysis tool but once a initialize my model from that button on the operation point tab, my inputs changes for zero when the simulation is running. Do you know how i can solve this? thank you!

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

    I dont know why but my linearized model is far different than actual.I tried changin linearization points,getting rid of problematic blocks which collapse to zero or inf gain during linearization but didnt help..I noticed also derivative block doesnt become "s" but something different with additional pole due to "c" coefficient,maybe thats what cause problem?.Can someone give some suggestion about how can i do it properly?

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

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

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

    [AE 512] 16:24
    Why is \dot{x}_2 not steady state? It is moving at 15 m/s but it's constant which means it's at steady state? Or does steady state in this case mean 0?

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

      We want the boat moving in the +y direction so this means that y will be changing, but x is constant. Because x_1 = x and x_2 = y, this means that \dot{x}_1 should be 0 but \dot{x}_2 should be equal to the desired y-velocity.

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

      @@ChristopherLum I agree that \dot{x}_2 = \dot{y} = 15 m/s. But 15 m/s is a constant value in this trim case which also means it is steady state. One steady state value is a constant of 0, but it can be any value (like 15 m/s) and still be steady state.

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

      Ah, I see, I was using the SS notation to denote which states are in steady state. Go forward to around 24:30 and you'll see that the steady state constraint is on the state vector.

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

    I couldn't find the video which has the equations of motion
    PLEASE HELP

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

    Thank you so much for your lecture, a very helpful video. Just have a quick question, where I can find the video that you mentioned in this video at time 7:27. The video name is the "equations of motion for a Planar Vehicle". I CANNOT find it on your channel.

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

      Hi Weijun, unfortunately I'm still in the process of putting that video together. It is a little far down on the list of videos so it might take a while for it to get on the channel, sorry!

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

      @@ChristopherLum Thanks Prof. Lum for your quick reply, I will watch it when it is ready on the channel.

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

    AA 516: With the current matlab edition how can I access the analysis tab in simulink?

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

      I may have answered my own question, I just ran across Gary's comment below!

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

    A A 516: Ojasvi Kamboj

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

    what is the topic of the video mentioned in 07:15?

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

    AA 516: Can you post the planar vehicle model so we can follow along in Matlab?

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

      Hi Tim, I'd actually recommend that you follow along using your RCAM model. The planar vehicle is actually too simple and you really want to do this with your aircraft model. If you run into trouble and want the planar vehicle let me know and I can try to dig it up and send it.

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

      @@ChristopherLum I have managed to make it work on RCAM with some initial struggle. The difference between versions are quite apparent here.

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

    quick question, why 6 dof equations instead of 9 (3 translation, 3 momentums, 3 kinematics)

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

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

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

      @@ChristopherLum absolutely. thanks

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

      @@alexnguyennn Phi, great, I'll be sure to look for you over on the Patreon page. Please feel free to re-post this or any other question over there and I'll be able to respond and we can talk more about control systems on the Patreon platform. I'm looking forward to the talk!
      -Chris

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

      @@ChristopherLum i just registered and i will directly ask you if i have question. i have been following you for a month on RUclips and Linkedin :). For this video, i think there is 2D so only have 6 dof, the other video RCAM model is using full derivation.

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

      @@alexnguyennn Thanks, I'm thrilled to have you as a Patron!
      To answer your question, the nomenclature of 'degrees of freedom' is sometimes a little lose. With traditional rigid body dynamics, you can describe the orientation (sometimes also referred to as the pose) using 6 values (3 translational position and 3 rotation euler angles). This is why most people refer to this as a 6 DOF model. However, if you are generating a dynamic model of this vehicle, from our investigation of state space models, we know that we actually need twice that many number of states (3 translational positions, 3 translational velocities, 3 rotational positions, and 3 rotational velocities) for a total of 12 states. Confusingly, sometimes people refer to states as degrees of freedom so you really need to be careful of the context in which these terms are used. In this particular video, you are correct in the sense that I've restricted the motion/dynamics to a 2D plane and as such, there are only 3 DOF which need 6 states to describe. Does this answer your question?

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

    AA516

  • @user-ns7wy1pk9t
    @user-ns7wy1pk9t 5 месяцев назад

    AA516:Po