How to simulate/create a spring in an already generated Block Diagram of a CAD Model in Simscape Multibody?
7 次查看(过去 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!