Project 1
Q) Develop a double-acting actuator model using Simscape Multibody and Simscape components. The mechanical system of the cylinder needs to be built using Simscape Multibody library components/blocks, and the hydraulic system needs to be modeled using Simscape library physical components.
Ans:

You can model the mechanical part of the system in Simscape Multibody. For example, to model the cylinder and piston, you can use the Revolved Solid (Simscape Multibody) and Cylindrical Solid (Simscape Multibody) blocks. To provide the translational degree of freedom for the piston, use a Prismatic Joint (Simscape Multibody) block. To easily calculate the lengths of the chambers A and B, you can attach the base frame (B) and follower frame (F) of the joint to the centers of the left inner surface of the chamber A and the left surface of the piston, respectively. Make sure that the Z-axes of the B and F frames are aligned and both point toward chamber B.
Using this convention, the length of the chamber A, dA, is the position output of the joint block, and the length of the chamber B, dB, equals the difference of the stroke length and dA. To ensure that the piston does not travel beyond the ends of the cylinder, you can specify the upper and lower position limits of the Prismatic Joint block.
Double-acting hydraulic cylinder
Double-acting hydraulic cylinders are linear hydraulic actuators that perform the movement in both directions using hydraulic pressure. The piston stroke in double-acting cylinders is much longer than in a single-acting cylinder
SIMSCAPE MODEL

Our model consists of a mechanical system, hydraulic system,hydraulic circuit and a push button. model specific reference are given to avoid simulation errors.
1)MECHANCICAL SYSTEM

CYLINDER ASSEMBLY

BOTTOM CAP

BARREL

HEAD CAP

PRISMATIC JOINT
Prismatic joints are typically used to model hydraulic and pneumatic cylinders


PISTON ASSEMBLY

PISTON

PISTON ROD

2) HYDRAULIC SYSTEM

BOTTOM CHAMBER

HEAD CHAMBER

PS CONSTANT

All the parameter values are stated above.
3) PUSH BUTTON SIGNAL

This is the input signal to control our model
4) HYDRAULIC CIRCUIT

Used to control hydraulic system
MECHANICAL EXPLOERE OUTPUT

We can see that we have developed a model of double acting actuator. the movement of the piston can be observed in the mechanical explorer