Optimization of Kinematics of Inclined Swinging Pin

The inclined swinging pin simply transforms the rotary motion into a rotational oscillation. It consists of three components, a rotating inclined tenon, a crossbeam, and a stirrup. The pitch angle of the inclined tenon relative to the x -axis of its rotation is decisive for the kinematics of this joint. Too small inclination angle will result in small amplitude of oscillation; too much inclination will lead to an impulse dynamic stress that can damage the pin. The optimal angle of inclination can be determined from the mathematical model, created in the Maple environment, which uses linear algebra resources to describe the behavior of the joint. Vectors of coordinates of the critical points are created for each joint component. Further-more, transformation matrices are created which describe the behavior of the corresponding kinematic chain in relation to the inclination angle of the inclined tenon and time.


Introduction
The inclined swinging pin is used for the simple conversion of rotational motion into oscillation in many agricultural machines. For example, in combine harvesters, it is used to drive a mowing bar that cuts stems. It is composed of three basic components: an inclined tenon-red, a crossbeam-green, and a stirrup-blue, see Figure 1. We study the movement of individual components in a rectangular coordinate system, see Figure 1.
Similar mechanisms are described, for example, in the book [1] that is available in an electronic version [2]. Many animations can be found on the Web, if you use keywords rotation to oscillation mechanism, Google will offer you over 20,000 links.

The basic components 2.1 Tenon
The pin is a basic component. Its basic part is an oblique nose. Its axis of symmetry forms an angle ϕ with the axis of rotation of the whole pin, which is identical to the axis x of the coordinate system. The axis of symmetry of the nose passes through the beginning of the coordinate system. The spacer serves to secure the nose to the support shaft, see Figure 2.

Crossbeam and stirrup
The crossbeam is the middle member of the kinematic chain. The tenon nose is pushed through its center hole. As the nose rotates, the crossbar turns. The stirrup is attached to its side pins, and therefore the axis of the side pins is constantly in the plane z = 0, see Figure 3.
Depending on how the crossbeam swings, the stirrup oscillates. The driven device connects to the vertical axis of the stirrup, see Figure 4.

Deriving of transform matrices
We will derive the transformation matrices in the Maple13 program environment. The decisive element for which the transformation matrix will be derived is the crossbeam.
Allow us to specify axes of the base coordinate system in which tenon- Figures 1 and 2-are displayed as [x, y, z]. The axes of the moving coordinate system in which we plot the actual position of the crossbeam are denoted as [X, Y, Z]. Let us denote the transformation matrix from system [x, y, z] into system [X, Y, Z] as R_xyz. The individual rows of the R_xyz matrix are the x, y, z coordinates of the unit vectors in the X, Y, Z direction.
The direction of the X-axis is entered as the direction of the tenon's nose axis. The axis X, which is equal to the axis of the nose, creates the angle ϕ with the x-axis and generally the entire tenon is rotated by an angle ψ around the x-axis.
A detailed description of the properties of transformation matrices can be found, for example, in [3].
> X:=convert(R_xz.<1,0,0>,list); Equation (2) specifies the direction of the nose axis, thus X-axis vector in the coordinates [x, y, z]. Coordinates Y are calculated easily. We know that |Y| = 1 and Yz must always be equal to 0 and that X and Y must be perpendicular to each other, i.e., XÁY = 0, the scalar product X and Y must be equal to 0. Therefore, we choose the vector coordinates Y = [Yx, Yy, 0] and Yx and Yy are calculated from the following equations: Equations E1 and E2 have two solutions. In order for the XYZ system to be oriented counterclockwise, a second solution has to be chosen. Coordinates Z are calculated from the conditions XÁZ = 0, YÁZ = 0, and |Z| = 1.
From the vectors X, Y, Z, it is possible to create a transformation matrix M_XYZ, which will describe the orientation of the crossbeam depending on the angle ϕ and the angle of rotation ψ.
Finally, it is possible to create a graph showing the curves described by the endpoints of the X, Y, and Z vectors. For instance, if ϕ ¼ 2π=15 and ψ ∈ 0; 2π h iare selected, then the resulting graph is Figure 5. The corresponding animation is stored in the file An_Axes.avi, available to download in the Videos section.

Optimization
The orientation of the Y axis can be derived from the matrix M_XYZ, see Eq. (5). The orientation of this axis indicates the angle of rotation of the stirrup about the z axis.
The angle of rotation of the stirrup is equal to the angle between the y and Y axes. Let us denote this angle as θ.
It is now possible to determine the angular velocity of the stirrup oscillations, ω ¼ d θ τ ð Þ=dτ, and the angular acceleration of the stirrup oscillations, ε ¼ d 2 θ τ ð Þ=dτ 2 . > omega:=diff(theta,tau); > epsilon:=normal(diff(omega,tau)); Now we plot the graph of ε(τ) for τ ∈ 0; 1 h i: The values of ϕ will be chosen between 5 and 45°with a step of 5°, see Figure 6. It is quite clear from Figure 6 that with an increase in angle ϕ-that is, the angle between the pin nose and the x-axis-the course of the angular acceleration of the oscillations begins to deviate sharply from the sinusoidal shape. Thus, large variations in angular acceleration will occur for large ϕ values, resulting in rapid wear of the entire mechanism. This can lead to mechanical damage, because high angular acceleration values require high torque forces. Conversely, small values of the angle ϕ will lead only to a low oscillation amplitude, which may not be sufficient for the proper operation of the driven device. It is therefore necessary to find the optimum angle value ϕ.

Plotting of the dependencies in phase spaces
Further evidence of the choice of the optimum angle value Φ, that is, the choice of a suitable compromise between the oscillation amplitude and smooth oscillation over time, can be given by plotting the phase diagrams, which are graphs in which one kinematic variable is plotted against another kinematic variable.
In this case, we will present three phase diagrams, where we will plot the dependence of the oscillation angular velocity on the current value of the oscillation angle-ω(θ(τ)), see Figure 10, then the course of the angular acceleration of the oscillations against the current value of the oscillation angle-ε(θ(τ)), see Figure 11 and finally the course of the angular acceleration of the oscillations versus the angular velocity of the oscillations-ε(ω(τ)), see Figure 12.

Results and conclusions
All of the presented calculations and graphs show that the optimal angle of the nose inclination is ϕ = arctan(5 À1/2 ) = 0.4205343352 rad = 24°5 0 41.43″. If the angle ϕ is less than the optimum value, then the amplitude of the resulting oscillations will be low and gears will be required. This will lead to a significant increase in the price of the whole pin. Otherwise, when the value of the angle ϕ is higher than the optimum value, there is a sharp increase in the instantaneous angular acceleration of the oscillations. High angular acceleration values mean that the entire pin must transmit high torque values to which the entire pin must be dimensioned. This will mean either increasing the size of the pin or using materials with satisfactory mechanical properties. This solution again leads to an increase in the price of the whole pin. If the pin is not appropriately sized for the transmitted torque, it may be mechanically damaged or blocked. The condition for the optimum angle value ϕ in Eq. (12), thus, appears to be the optimal compromise between the oscillation amplitude and the mechanical stress of the entire joint.
Of course, the optimum shape of the oscillations should have a sinusoidal waveform, i.e., θ(t) = a sin(2πt/T), where θ = oscillation angle, t = time, a = oscillation amplitude, and T = oscillation period. The corresponding dependencies of angular velocity and angular acceleration over time are also in the form of sine or cosine functions. If we draw phase diagrams for these oscillations, then the graph of the dependencies [θ(τ), ω(τ)] = ω(θ(τ)) and [ω(τ), ε(τ)] = ε(ω(τ)) is the shape of an ellipse and the dependency [θ(τ), ε(τ)] = ε(θ(τ)) is the shape of a line segment. The amplitude of the oscillations is then equal to the length of the main half-axis of the ellipse, which displays ε(θ(τ)).
If we examine the graphs in Figures 10-12, we find that the highlighted curve that corresponds to the optimum angle ϕ are an excellent compromise between the shape of the curve (ellipse or line segment) and the dimensions of the curve that correspond to the oscillation amplitude. Similarly, the graphs of functions θ(τ), ω(τ), and ε(τ), which correspond to the optimal value of the angle ϕ, are the best compromise between the desired function shape and the oscillation amplitude, see the graphs in Figures 7-9. Figure 1 shows the entire inclined swinging pin, while Figure 2 shows the tenon plotted for this angle. Several bottom views of the entire joint during one quarter of the working period are shown in Figure 13.
The main advantages of an inclined swinging pin compared to similar mechanisms are: 1. Simplicity: The whole pin consists of only three main components that can be forged.
2. Compactness: All components are similar in dimensions.
3. Durability: All parts of the mechanism are subjected to approximately the same forces. No component will receive more wear than others.
For these reasons, it is used in a wide variety of agricultural machines. An animation (An_Joint.avi) that displays the entire device's activity can be downloaded from the Videos section.

Videos
All videos referenced in this chapter are available from: https://bit.ly/2vZVGXR

Author details
Stanislav Barton Faculty of Electrical Engineering, Automatics and Informatics, Department of Informatics, Technical University of Opole, Poland *Address all correspondence to: s.barton@po.opole.pl © 2019 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/ by/3.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.