How Do I Set Simscape Multibody Spring Damper Initial Properties?
显示 更早的评论
I've been having some issues in much larger code I've been working and seem to have narrowed it down to the spring damper block.
I have a spring damper block between two frame transforms. The spring damper block is set to an initial position of zero. I would assume, then, that this means that the spring is at 0 length, meaning that the initial position of the block relative to the world frame would be simply the two frame transforms added together.
This is not the case.
I am not sure why this is happening, or if there's some other way I should be setting this up. This is a simplified example of what I have going on elsewhere in larger code - the "world" frame there is the center of the body, and then there are transforms to the hard mounts on the body where other systems actually connect. I've found that adding a spring damper block helps the simulation tremendously, but this failure to initialize correctly is killing my program.
Any help would be greatly appreciated, even if it's just an explanation of why this isn't working the way I expected.

采纳的回答
更多回答(1 个)
Omar Crypps
2016-10-2
0 个投票
Hi, I designed a model of 1 degree of freedom on Solidworks and i followed all the steps to export it to the Simulink of Matlab. However, there is always an error that appears after exporting it on Simlink.
Unfortuntely, I can't add a screen shot here but the error tells me " Constraint is not supported , the constraint has been exported as unknown constraint .
1 个评论
Omar Crypps
2016-10-2
</matlabcentral/answers/uploaded_files/60361/pastedImage_0.png> here is the screen shot of my error
类别
在 帮助中心 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!