Project 1
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 modelled using Simscape library physical components.

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 (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.
The schematics show the cylinder in three configurations: half-retracted, fully retracted, and fully extended.
Double Acting Hydraulic Actuator System:
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.
This figure shows the block diagram of the double-acting cylinder model described above. The example uses two Translational mechanical converter blocks to model the chambers A and B of the cylinder. A Translational Multibody Interface block connects the Translational Mechanical Converter (IL) blocks to the Prismatic Joint block. See Connecting simscape network network to simscape multibody joint for details of how to use the Translational Multibody Interface block.

In chamber A, a tension at port A maneuvers the cylinder from 0 to stroke length. The dislodging of the cylinder equivalents to the position result of the Prismatic Joint block. To show chamber A:
Associate the ports C and R of the Translational Multibody Interface block to the ports C and R of the upper Translational Mechanical Converter (IL) block, individually.
In the Translational Mechanical Converter (IL) block, set Interface removal to Provide input signal from Multibody joint to empower port p.
Interface ports p of the Prismatic Joint block and Translational Mechanical Converter (IL) block.
In chamber B, the strain at port A maneuvers the cylinder from 0 to negative stroke length. Subsequently, you really want to change the default direction and add an offset to the information position sign of the lower Translational Mechanical Converter (IL) block. The offset approaches - dB.
In the lower Translational Mechanical Converter (IL) block, set Mechanical direction to Pressure at A makes negative dislodging of R relative C.
Set Interface uprooting to Provide input signal from Multibody joint to empower the port p.
Add a PS Constant block and indicate the steady as the stroke length of the chamber.
Add a PS Subtract block, then associate it to the PS Constant and Prismatic Joint blocks as displayed in the graph. Note that the result of the PS Subtract block rises to - dB.
To restrict the movement of the cylinder:
In the Prismatic Joint block, under the Limits segment, select the Specify Lower Limit and Specify Upper Limit boundaries.
Under the Specify Lower Limit area, the Bound boundary shows the base distance between the edges B and F of the joint block. In this model, determine the Bound boundary as 0 m.
Under Specify Upper Limit, the Bound boundary shows the greatest distance between outlines B and F of the Prismatic Joint block. In this model, determine the Bound boundary as the stroke length of the chamber.
Twofold acting chamber frameworks can be utilized in numerous applications. For instance, a dump trailer can utilize a twofold acting chamber to incite a scissor lift instrument that raises and brings down the landfill bed. See Hydraulic Interface - Dump Trailer with Hydraulic Cylinder (Simscape Multibody) for additional subtleties. Under the cover of the Double-Acting Hydraulic Cylinder block in the scissor raise are the mechanical and water driven subsystems, which are associated by a Translational Multibody Interface block. The Prismatic Joint block in the mechanical subsystem gives the position data to the two actuators in the pressure driven subsystem, Head Chamber and Bottom Chamber, that have the contrary settings of the Mechanical direction boundary. The Constant block C gives a position signal offset to the Head Chamber actuator, since when the Bottom Chamber is at dead volume (where position p = 0), the Head Chamber is at most extreme stroke.
Double-acting hydraulic cylinder working principle, Application, and troubleshooting
A hydraulic cylinder is a mechanical device that uses hydraulic power to create pressure. They are commonly used in various industrial applications and are also common in hydraulic pumps. They can be used in various ways, including as actuators or as lifting devices.
Double-acting hydraulic cylinder
A double-acting hydraulic cylinder is a mechanical device that uses two chambers to regulate pressure. It has a control valve on each end that allows the user to selectively fill each chamber with pressurized fluid. This makes it possible to actuate the cylinder in two different ways: by pushing or pulling the lever in one direction (resembling the first action of a simple hydraulic cylinder), or by pushing or pulling the lever in the opposite direction (resembling the second act of a simple hydraulic cylinder).
In case of a hydraulic failure, the cylinder will retain the pressure in one of the chambers until the supply of oil is restored, thereby preventing any damage or injury. There are two types of double-acting cylinders:
- Double-acting cylinder with a piston rod on one side.
- Double-acting cylinder with a piston rod on both sides.
Double-acting hydraulic cylinder applications
- Double-acting hydraulic cylinders are typically used in industrial processes that require a quick force.
- Double-acting cylinders are used for power steering and the more powerful the car the more power you need to be able to steer it.
- This type of cylinder is widely used in industrial equipment, such as cranes, forklifts, lifts, and other heavy-duty machines.
- Double-acting cylinders are used in hydraulic systems that raise and lower things such as landing gear, door hinges, etc.
- A very common use for a double-acting hydraulic cylinder is to open or close some kind of “flap” on an aircraft wing.
How does a double-acting hydraulic cylinder work
A double-acting hydraulic cylinder has two distinct chambers: One chamber is filled with oil, and the other is empty. When the piston rod is retracted into the cylinder, the oil is forced into the empty chamber, and thus creates pressure. This pressure pushes the piston rod out, resulting in the extension of the cylinder. On the other hand, when the piston rod is pushed into the cylinder, the oil is forced into the chamber filled with oil, thus creating a vacuum. This vacuum pulls the piston rod into the cylinder, and thus retracts it. This action is reversed when you remove the force (that is when you let go of the rod). In this manner, you can use double-acting hydraulic cylinders to create the force necessary to push or pull something.
Double-acting hydraulic cylinders perform two types of operations including:
- Differential types and
- Synchronous types.
Differential type hydraulic cylinders
Differential type is the most common type of hydraulic cylinder. It has two pistons; one connected to the rod and the other connected to the body. As the input force increases, the rod extends. At the same time, the body remains stationary because the second piston is locked into the cylinder. This causes the output force to increase. As the input force decreases, the rod retracts. At the same time, the body remains stationary because the second piston is locked into the cylinder. This causes the output force to decrease. The body will always remain in its original position as long as the input force is equal to the output force. However, the rod will move up or down depending on which one of the two forces is greater. Therefore, a differential type hydraulic cylinder is very useful. For example, if you want to raise a heavy box, you should use a rod connected to the body of the cylinder. Make sure that there is a safety factor so the force exerted by the rod is always greater than the weight of the object being lifted.
Synchronous type hydraulic cylinders
Synchronous type cylinders work on a different principle. Instead of oil pressure, an electrical signal is sent to a valve that allows the oil to enter the cylinder and keep the piston moving up and down. When the signal is stopped, the oil stops flowing into the cylinder and the piston comes to a stop. This makes the cylinder very efficient in terms of power usage.
Synchronous type hydraulic cylinders have only one piston. This piston will expand and contract at the same time regardless of the amount of hydraulic fluid that is inside the cylinder. This makes this type of cylinder very efficient but not as powerful as the other type. You will find this type of hydraulic cylinder mainly used on automobiles, farm equipment, and industrial machinery.
Mechanical system:

1.Cylinder Assembly:

Bottom Cap:

Barrel Cap:

Head Cap:

- Prismatic Joint:
A prismatic joint is often called a slider — for example, a “crank-slider linkage.” This is a type of kinematic pair and an idealized way to describe how motions are constrained within machines.
There are several physical embodiments of a prismatic joint, such as slideways. Rectangular cross-sections may be used in combination with plain or rolling bearings to enable linear motion while preventing rotation about the axis of movement.
Hydraulic and pneumatic cylinders are typically modeled as prismatic joints although they may also permit rotation about their axis. Kinematic pairs are classified as higher pairs and lower pairs. Higher pairs involve point or line contact, such as a ball or roller that’s rolling over a surface. Lower pairs can be visualized as surface contact.

- Piston Assembly:
The inlet or outlet flow inside the barrel pushes the Piston or Plunger of hydraulic cylinders. When the Piston moves to either side of the cylinder, the Rod contracts or expands.
These are the parts of the basic hydraulic cylinders. More types of cylinders are more complex in their construction. However, these components are essential to almost all hydraulic cylinders, and it is good to know what they are and how they work.

Piston:

Rod:

Hydraulic system:

Chamber A:

Chamber B:

C:

Hydraulics:

Valve Control:

Valve:





Iso thermal liquid properties:
isothermal liquid domain, the working fluid is a mixture of liquid and a small amount of entrained air. Entrained air is the relative amount of non-dissolved gas trapped in the fluid. You can control the liquid and air properties separately: You can specify zero amount of entrained air.



Result: The animation of the acutuator can be observed while running the Simulink file attached below.
