Simmechanics : how to use the actuating force?
1 次查看(过去 30 天)
显示 更早的评论
Dear all,
I have the 2 following problems with using simmechanics :
i)I am trying to use simmechanics to act with a sinusoïdal force on a prismatic joint. I use the following configuration.
Unfortunately, when I run the simulation the mass just mooves in one direction and don't oscillate around the zero position. Does someone have an explanation.
ii)When I try to actuate the motion and not the force, I get the error:
_
"In the dynamically coupled component containing Prismatic Joint Prismatic_Joint, there are fewer joint primitive degrees of freedom with automatically computed force or torque (0) than with motion from inputs (1). The prescribed motion trajectories in this component may not be achievable. Solve this problem by reducing the number of joint primitives with motion from inputs or increasing the number of joint primitives with automatically computed force or torque. Resolve this issue in order to simulate the model."_
I don't understand why I get this error
Thanks for all the help you can provide.
0 个评论
回答(1 个)
Swarooph
2016-10-6
Take a look at this documentation. When you set the actuation mode in your joint block, set the Force to Automatically Computed and Motion as Provided by Input. Force/Torque cannot be set to None when joint primitive is mechanically actuated (as shown in the picture in the doc link above). Snapshot below:
2 个评论
Swarooph
2016-10-7
Can you attach the model? Is your input force or motion? And I also want to make sure you are measuring velocity and not 'actuator force', because your screenshot in the original post shows you are measuring actuator force..
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!