Hydraulic Interface - Dump Trailer with Hydraulic Cylinder
This example shows a dump trailer powered by a double-acting hydraulic cylinder. The cylinder actuates a scissor hoist mechanism that raises and lowers the dump bed. The model provides an example of how to interface Simscape™ Multibody™ joints with Simscape components that have mechanical domain ports.
The Double-Acting Hydraulic Cylinder block in the scissor hoist contains mechanical and hydraulic subsystems. The mechanical subsystem models the piston and barrel. A Prismatic Joint block provides the translational degree of freedom needed for piston extension and retraction. The piston's range of motion is constrained using joint limits. The hydraulic subsystem contains two Translational Mechanical Converter blocks from the Isothermal Liquid (IL) foundation library in Simscape. These blocks exchange velocity and force information with the prismatic joint via a Translational Multibody Interface block. In addition, both of the converter blocks are configured to accept a physical position signal from the prismatic joint. These connections ensure that the state of the hyraulic chambers in the converter blocks are always consistent with the state of the prismatic joint.
The Double-Acting Hydraulic Cylinder block is located in the sm_interface_elements_lib supporting library.