Skip to content

Exemple: Piston Connecting Rod

Carlos Adir edited this page Oct 28, 2021 · 2 revisions

A disk of inertia Id is connected to an extremity of a bar with a distance of a of its center. This bar has length b and mass mb and in the other extremity is connected a piston of mass mp.

So, lets call (x, y) the position of the extremity of the bar connected to the disk, and (x+q, 0) the position of the piston.

Constraint functions

To solve this problem we are going to use three variables that we call x, y and q. Therefore, our variable vector X is (x, y, q).

As this problem has only one degree of freedom, that could be the angle theta of the disk, we need two constraint functions:

So, the gradient is

Energy

In this problem, we have three objects and we don't have any potential energy, only kinetic energy.

Disk's energy

If it rotates with an angular speed of w, it will have the energy of

Bar's energy

After some calculs, we get the energy like

Piston's energy

Total energy

Summing all the energies we get

Putting it in a matricial form we get:

Lagrangian

As we know, we have the lagrangian operator:

Which, with the matricial notation of energy we get only:

Lagrange multipliers

Once we get the lagrangian, and knowing that there is no external force, we have:

Which gives us

Adding the constraint functions we get

Which gives, in our case

Solving numerically

We could use this matrix, with the initial conditions. But we are going to inverse the matrix Mexp to show that we can make the solution faster.

So, as show in this link, we can find the inverse of Mexp using the inverse of M and the gradient of g.

TODO

  • Finish and show inverse of Mexp