Animating the SIMULINK model

6 visualizzazioni (ultimi 30 giorni)
Kokalz
Kokalz il 2 Feb 2014
Risposto: senthil kumar il 27 Ago 2015
Hi guys!
I am working on a project and accidentally came across this video, where the person animates his quarter vehicle suspension using the VR toolbox:
While it is not very useful for my project I became really interested in how he did it. I've read quite a few guides/ watched MATLAB tutorial videos/ SIMULINK help files but I still cannot get my head around this toolbox. I was hoping that maybe one of you could help me with understanding how to connect my current SIMULINK model to VR toolbox.
Basically what I have is a quarter vehicle model. The input is given in terms of a "Fcn" block. It then goes into 2 main subsystems containing passive and semi-active suspension. The outputs of these two subsystems are the displacement of the body and the wheel of the quarter-vehicle model. What are the steps to produce similar animation to his ? As far as I understand he uses the "octavia" model found somewhere in VR toolbox. I guess he then positions the camera in, say, x-direction view. He also somehow uses (from what it looks like) different inputs for his suspension and VR Sink subsystems. How does that work? Anyone could give me some guidance? Thank you very much and sorry for the wall of text!

Risposte (2)

senthil kumar
senthil kumar il 27 Ago 2015
hi, you can do animation of suspension system in two ways . 1. simulink 3d animation 2. simmechanics under simscape i did animation of active suspension using simmechanics tool box. first create 3d model of quarter car model in solidworks. then you can import it to matlab through simmechanics.
after that connect your simulink model to simmechanics model. you can see animation of your model .it works well

Jan
Jan il 15 Apr 2014
Hi Kokalz,
Look at the vr_octavia example. It shows how to animate objects in the 3D scene based on Simulink signals.
Best Regards,
Jan

Categorie

Scopri di più su Simulation in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by