How to add gravitational acceleration acting on a mass that is connected to a cylinder in Simscape?
Show older comments
I have a double-acting cylinder connected to a mass at its mechanical port R, and I am adding pressure at end A of the cylinder to extend the piston and hence drop the mass. I want to add a gravitational acceleration acting on the mass as well. I tried to use the ideal force source (to implement F=mg), but it does not seem to work. I have uploaded a screenshot to show what I did. Could you please help me?
Thanks a lot. Asmaa
Accepted Answer
More Answers (1)
Hamed Shamsi khani
on 23 Apr 2022
Edited: Hamed Shamsi khani
on 23 Apr 2022
0 votes
Hi.
A physical signal constant (PS Constant block) : B1
An Ideal Force Source (Ideal Force Source block): B2
connect 1 to S port of B2.
connect C port of B2 to ground.
connect R port of B2 to rod of cylinder.
Categories
Find more on Troubleshooting in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!