How can I convert mechanical force on the rod of a double acting cylinder to hydraulic pressure using SimHydraulics blocks?

I want to reverse the action of a double acting hydraulic cylinder. I want to input a force on the rod so I can convert the mechanical energy into hydraulic pressure. How can I do it with SimHydraulics blocks?

Answers (1)

The neat thing about Simscape/SimHydraulics is that all the connections are reversible. That is, you can apply a pressure on the hydraulic side or a force on the mechanical side, and the opposite side will react accordingly.
All you need to do is use an Ideal Force Source block and connect it to the rod end of the hydraulic cylinder block.
The one thing you have to worry about is that force requires a mass to cause acceleration. So, you also want to include a Mass block to account for the mass of the cylinder and any other loads that may be on it. This will dictate the speed of the mechanical piece, which is also needed to figure out how much power is being transferred to the cylinder.
- Sebastian

2 Comments

ok I added a mass block, but it doesn't work.
the model and a screen shot of it are attached. If you could help, I'd be thankful.
Hello Sebastian.
According to ideal force source dialog box, positive direction is from R to C.
why on the source code ( force.ssc) :
f=-s ?
Thanks.

Sign in to comment.

Asked:

on 12 Jun 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!