Simscape Multibody Spring-Mass System | MATLAB Tutorial

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

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

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

    hey can you send the code for the system pls?

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

      Sure! Here it is: www.mediafire.com/file/wesexyhic2qbjr8/simscape_model.slx

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

    Holy shit. Simple, useful and to the point. Finally someone understands what value is to a Student. Great job

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

      Thank you! I actually made this video while a student - I had a homework assignment using Simscape and couldn't find any useful RUclips videos on the package, so I made my own!

  • @FranciscoLuzolo
    @FranciscoLuzolo 8 месяцев назад +3

    So simple to understand! Brilliant work!!

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

    Thank you. It was very helpful.
    Can you also make a video regarding the electrical circuit with L, C & R. Thanks again!!

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

    Thanks ! Do you have the simulink of this system ?

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

    is it spring mass damper with 2 dof model?

  • @DanielRodrigues-wq1rl
    @DanielRodrigues-wq1rl Год назад +1

    Thanks!!!!!

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

    How to attach the PID controller in multibody model in spring mass damper systems

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

    Hi when i turn the position of the sensor to a signal outut and simulate it in paramter estimation it just simulates to zero

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

    Great tutorial!! I needed to do this for a torsional resonator, and got it working right away. Thumbs up!

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

      But is there something like a "Ideal Angular Position Source" that I can apply to one of my masses at the start of the simulation?

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

      @@Jaultaub great question! I've wondered this myself for some time, but haven't been able to find an answer. It seems others have had the same question on MathWorks' MATLAB Answers site, but no one has come up with a satisfactory answer, to my knowledge. Here's an interesting thread though: www.mathworks.com/matlabcentral/answers/304718-how-can-you-set-the-initital-condition-displacement-of-the-mass-in-a-simple-spring-damper-mass-sys

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

      @@ironpine5815 I found the solution: You can do this using a velocity source: Use the first derivative of speed: location. Use the velocity source to input a phase of pi/2 and the amplitude and freq. you wish. Than you need to multiply the amplitude by the freq. (inner derivative), and its done!

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

      This is how I use an oszilation to power my resonator. I use the Sine Wave block. I am unsure how to apply this to a Step Input though.

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

      @@Jaultaub Interesting solution - thanks for sharing! When simulating a system to a step input, you usually neglect any initial conditions, so I don't see it as an issue that you can't apply this method when using a step input.

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

    Very informative ,Thank you

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

    Hi! Here is an example of a transport function:
    G1(s) = X1(s) / X2(s) = 1/s * (156 x^2 + 12,89 x + 576) / (4856 x^4 + 5649864 x^3 + 21345,5 x^2 + 13218 x + 21823,58)
    At my university we have to solve mechanical systems by hand. Since this would be hard to transform to time domain by hand, the "solution of the system" is accepted in this form. My question is, is there any program that would show me transport function in this form so I could check if I solved the system correctly?

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

      Mark,
      If I understand correctly, you're looking to "input" your mechanical system and have it "output" the transfer function? I don't know of any MATLAB tools to do that, but you could simulate your system to a step input in Simscape (like I show here) and compare the step response to a step response of the transfer function you hand-derived. If they match up, then your transfer function is correct.

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

      @@ironpine5815 Yeah, that's exactly what I want. Thanks and sorry for my wierd terminology :P

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

    If I want to add an electrical system to this system, how can I do it?

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

    Hi! Thanks for this useful content. Is it possible for you to do the rotational spring mass system on simscape with 2 or 3 masses?

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

    What is the notation representation of R & C for the components in simscape?

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

    good stuff man thanks

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

    Hey...how do we get displacement vs time graph instead of velocity and position

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

      The Ideal Translational Motion Sensor plots the position in reference to the zero point - in this case that's the same as your displacement.

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

    Is it possible to simulate 2-dimensional vibration with SimScape? I need to simulate a vibration absorber with different damping rate in X- and Y-axis.

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

      Great question! I spent some time in Simscape this afternoon, but was unable to get it to work with 2-D vibration. There's probably a way to do it, but I wasn't able to figure it out through Google or by playing in Simscape myself...

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

    How can we add gravity in Simscape System for vertical hanging?

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

      I'm not sure what your application is, but in vertical spring-mass systems, gravity is usually accounted for by choosing the origin at the equilibrium position (ie. accounting for the gravitational displacement). Thus we don't have to account for gravitational effects on our system.
      If this doesn't help resolve your problem, you might be able to add in an ideal force source and give it a constant input with a magnitude of m*g.

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

      @@ironpine5815 thank you so much. I just want to show that the state of block under the z-0 on diagram. I will try ifs , thank you again

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

    Hi! How can I add cable and pulley to this system?

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

      Selin - I've never used pulleys in Simscape, so I'm afraid I'm of no help here...

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

    Hello sir....how can I contact you for any assistance in Simscape..I want your guidance for my project on Multibody dynamics in simscape

  • @HuongHoang-ez9si
    @HuongHoang-ez9si 4 года назад

    HELLO SIR,,,,
    I have downloaded this library. how to install and use it. Can you help me

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

      If you have Simscape installed, type "ssc_new" in the MATLAB command window to launch a new Simscape session.

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

    hlo
    informative tutorial sir but can you plz explain me that how l get acceleration from this model.
    kindly reply to me then it will be very helpful for me

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

    Hai dear Ironpine, can u help me how to model a single mass with 6 D-o-F by using Simscape?

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

      I'm not sure that Simscape is the right tool for the job here. But what needs to be modeled? What is acting on this mass (springs, dampers, etc.)?

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

    How can I get transfer function from this?

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

      I'm not aware of any way you can get a transfer function from a Simscape model.

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

    describing it as multibody is a bit misleading since it not utalizing the multibody lib from simscape

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

    I need your help, how can I contact you?

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

      You can contact me via the email listed on my RUclips channel under the "About" tab.

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

    Hi can you help me pls?

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

      Well - what do you need help with?

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

    Good

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

    I want output as Equation of motions for MDOF, How to do in matlab?