Animating the SIMULINK model

6 次查看(过去 30 天)
Kokalz
Kokalz 2014-2-2
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