Animating the SIMULINK model

조회 수: 6 (최근 30일)
Kokalz
Kokalz 2014년 2월 2일
답변: senthil kumar 2015년 8월 27일
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!

답변 (2개)

senthil kumar
senthil kumar 2015년 8월 27일
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 2014년 4월 15일
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

카테고리

Help CenterFile Exchange에서 Simulation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by