How to simulate/create a spring in an already generated Block Diagram of a CAD Model in Simscape Multibody?
9 ビュー (過去 30 日間)
古いコメントを表示
Hello there,
i am trying to simulate a double wishbone suspension. For that, i created a CAD Model in Solidworks and exported it to Simulink.
The wishbone connected with a spring damper, is the part i am having trouble with. In fact how can I simulate the spring itself? Since the spring and damper component can not be visualized, how do I add the needed joints or blocks to the already generated block diagram of the imported CAD Model?
The requirements are that, the spring and damper component is not represented by a cylinder/piston (like shown in various videos) so only by a spring.
So again, how do i connect a spring with the wishbones so that the wishbone can "oscillate". Which joint(s) is/are required?
Thanks
0 件のコメント
採用された回答
Yifeng Tang
2021 年 5 月 1 日
You'll need to first define how the two ends of the spring is connected to the wishbone part and the vehicle body, including the locations, orientations, and joint types. The locations and orientations is defined by Rigid Tranform blocks, and the joint types are probably two ball joints or one ball joint and one revolute joint.
Then the longitudinal motion of the spring can be constrained using prismatic or cylindrial joints. From there, you have two options to model the spring & damper force: (1) inside the joint itself, OR (2) couple with Simscape translational mechanical domain in 1D. For (1), you need to specify the "internal mechanics" in the joint, while for (2) you need to enable the force actuation and velocity sensing in the joint and a translational multibody interface block.
11 件のコメント
Yifeng Tang
2021 年 5 月 6 日
You were pretty close actually. So here are the list of minor fixes I put in:
- replace telescope joints with spherical. longitudinal DOF not necessary.
- replace revolute joint with spherical. direction and location were too hard to determine by hand for the revolute joint. If you have CAD data, it will be easier.
- add mass to both ends of the prismatic joint, to avoid zero mass degenerate system. Also made it ugly so it's very noticeable.
- Turn on simscape data logging, run the model, to find out the initial position of the prismatic joint.
- Use initial position of prismatic joint to set up internal mechanism with a spring. stiffness and damping randomly picked.
Now the model runs. The lower wishbone oscillates to a stop but the upper one is swinging. I suppose you need some kind of mechanical connection to bind the two wishbones together.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Bodies についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!