Next Article in Journal
Sequence-Based Indoor Localization with Channel Status Information
Previous Article in Journal
Real-Time Monitoring for BDS Signal-In-Space Anomalies Using Ground Observation Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Dynamics and Embedded Internet of Things Input Shaping Control for Overhead Cranes Transporting Multibody Payloads

by
Gerardo Peláez
1,*,†,
Joshua Vaugan
2,†,
Pablo Izquierdo
1,†,
Higinio Rubio
3,† and
Juan Carlos García-Prada
3,†
1
Department of Mechanical Engineering, Universidade de Vigo, 36310 Pontevedra, Spain
2
Department of Mechanical Engineering, University of Louisiana at Lafayette, Lafayette, LA 70504, USA
3
Department of Mechanical Engineering, Universidad Carlos III de Madrid, 28903 Madrid, Spain
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2018, 18(6), 1817; https://doi.org/10.3390/s18061817
Submission received: 4 May 2018 / Revised: 23 May 2018 / Accepted: 30 May 2018 / Published: 4 June 2018
(This article belongs to the Section Internet of Things)

Abstract

:
Input shaping is an Optimal Control feedforward strategy whose ability to define how and when a flexible dynamical system defined by Ordinary Differential Equations (ODEs) and computer controlled would move into its operative space, without command induced unwanted dynamics, has been exhaustively demonstrated. This work examines the issue of Embedded Internet of Things (IoT) Input Shaping with regard to real time control of multibody oscillatory systems whose dynamics are better described by differential algebraic equations (DAEs). An overhead crane hanging a double link multibody payload has been appointed as a benchmark case; it is a multibody, multimode system. This might be worst scenario to implement Input Shaping. The reasons can be found in the wide array of constraints that arise. Firstly, the reliability of the multibody model was tested on a Functional Mock-Up Interface (FMI) with the two link payload suspended from the trolley by comparing the experimental video tapping signals in time domain faced with the signals extracted from the multibody model. The FFTs of the simulated and the experimental signal contain the same frequency harmonics only with somewhat different power due to the real world light damping in the joints. The application of this approach may be extended to other cases i.e., the usefulness of mobile hydraulic cranes is limited because the payload is supported by an overhead cable under tension that allows oscillation to occur during crane motion. If the payload size is not negligible small when compared with the cable length may introduce an additional oscillatory mode that creates a multibody double pendulum. To give the insight into the double pendulum dynamics by Lagrangian methods two slender rods as payloads are analyzed dealing with the overhead crane and a composite revolute-revolute joint is proposed to model the cable of the hydraulic crane, both assumptions facilitates an affordable analysis. This allows developing a general study of this type of multibody payloads dynamics including its normal modes, modes ratios plus ranges of frequencies expected. Input Shapers were calculated for those multimodes of vibration by convolving Specified Insensitivity (SI) shapers for each mode plus a novel Direct SI-SI shaper well suited to reduce the computational requirements, i.e., the number of the shaper taps, to carry out the convolution sum in real time by the IoT device based on a single microcontroller working as the command generator. Several comparisons are presented for the shaped and unshaped responses using both the multibody model, the experimental FMI set-up and finally a real world hydraulic crane under slewing motion commanded by an analog Joystick connected by two RF modules 802.15.4 to the IoT device that carry out the convolution sum in real time. Input Shaping improves the performances for all the cases.

1. Introduction

Multibody dynamics analysis is a generalized mechanical engineering method that does not make any assumptions based on intuition. Therefore, it is the objective of a multibody strategy to introduce computational techniques that can be applied methodically to dynamic systems composed of bodies undergoing spatial or planar motions in order to accurately carry out their dynamic response, regardless of their complexity [1,2,3].
Figure 1 depicts two systems composed of several bodies. The first system consisting of three moving bodies, the trolley plus a payload formed by two rigid links, might constitute a multibody model of an overhead crane. The bodies of this system interact with each other through translational-plus-revolute joints. The kinematic constraint equations corresponding to the joints set up a dependence between the bodies coordinates, so the overhead crane mechanism can be referred to as a three Degree Of Freedom multibody system. The second system is also a (3-DOF), but the bodies do not reach each other through joints but forces. In other words, the spring-mass system can not be considered strictly as a multibody system, and it is customary to model this system considering the masses as particles Figure 1b. Both systems exhibit an underdamped response, so mechanical vibration occurs when moving without taking into account such flexibility. The corresponding oscillatory responses can be determined using a particle oriented model regarding the three masses and springs system or a well suited multibody model for the overhead crane case.
The overhead cranes referred to above feed components to warehouses and manufacturing cells in industry. Such operations usually involve moving distributed, multibody payloads. Mitigating the transient sway helps avoid the collisions between such payloads and surroundings. Cancelling the residual vibration at the end of the motion facilitates the operations of loading and unloading. Obviously, overcoming such vibration benefits the performance. Overhead cranes are only a small group of the wide array of crane systems. Subsequently, it is not surprising that a quite valuable amount of research and development has faced the flexibility problem, thinking about improving human operation and performances of crane systems that exhibit oscillatory dynamics. Attenuating vibration induced during the maneuvering of oscillatory mechanical systems by designing the command reference signal profile is one of the most appealing solutions adopted [4,5,6]. The generalized term formally accepted for this strategy is command shaping. The method requires only estimates of the natural frequencies and damping ratio parameters. The apparent simplicity regarding the identification of these parameters, dealing with linear systems whose dynamics is described by ordinary differential equations (ODEs), allows it to be used in a straightforward manner as shown in Figure 2. In this figure a step input is convolved with a two impulse sequence, and resulting convolution sum causes no system vibration. In fact, the two mass and spring particle oriented model has become the command shaping benchmark system. The intuitive Newtonian laws application is the more customary option to obtain the ordinary differential equations describing the dynamics for such type of linear systems in the command shaping research [7,8,9,10,11,12,13,14].
Nonetheless, there is a wide array of mechanical systems, composed by bodies in contact by kinematic joints, that exhibit oscillatory responses and represent good candidates to apply Input Shaping. For these systems a multibody model is more accurate and performs better than a simple particle-oriented model. The contribution of this work is in the application of Input Shaping to this group of multibody systems, whose dynamics are described by Differential Algebraic equations (DAEs) rather than (ODEs) [3]. The overhead cranes hanging distributed multibody payloads are only one case.
There is a reduced group of works relative to the application of Input Shaping dealing with actual multibody systems whose dynamics is described by DAEs models [15], where the identification of the natural frequencies and damping ratios is not as straightforward to obtain as in the case of linear systems described by ODEs models [16,17,18]. In addition, the difficulties increase if only an Internet of Things (IoT) device—microcontroller-based—is available as command generator instead of a powerful computer. If this is the case, one has to resort to Direct Specified Insensitive Shapers filters with the shorter number of taps keeping unchanged the robustness for the frequencies ranges to be mitigated. This is the challenge that this work faces with. However, this is the real world case for a wide array of cranes.

2. Contributions

In words, the contribution of this work is to make embedded IoT input shaping real-time control well suited for multibody-multimode systems whose dynamics is described by DAEs according to a reliable set of solutions.
  • First, the kinematic joints constraint equations of the multibody system model are written in compact form using generalized coordinates ϕ [ c ] = 0 . Thus, deriving, the velocity constraints are obtained arising the corresponding Jacobian matrix of the multibody model DAEs ϕ ˙ = D c ˙ = 0 .
  • The reliability of the multibody model is validated facing the simulated responses with the experimental signal of the real-world responses, extracted by video-tapping the functional mock up interface (FMI) motion.
  • The FFTs of the experimental and the simulated signals contain the same frequency harmonics only with somewhat different power due to some real world light damping in the joints. Nonetheless the high degree correspondence between the signal spectrums guarantees the reliable multibody system flexible modes of vibration identification.
  • To give some insight into the multibody double pendulum dynamics by Lagrangian methods a somewhat simplified, using a composite revolute-revolute joint, two link benchmark multibody model, is proposed. This allows to develop a general study of this type of multibody payloads dynamics including its normal modes, modes ratios plus ranges of frequencies expected.
  • A robust Direct Specified Insenstivity (DSI) shaper is synthesized for the frequency ranges to be cancelled with help of the pair GAMS-CONOPT a proven choice for highly nonlinear problems. The DSI shaper is robust plus optimal, regarding the number of the filter taps, to be implemented in an embedded microcontroller working as the system command generator that carry out the convolution sum in real-time.
  • The DSI shaper robustness performance is tested by simulation using the multibody model plus facing the DSI burned microcontroller working as the command generator of the real world FMI set up and the hydraulic crane.
The next two sections of this work brief review the synthesis of robust input shapers in addition describes how the multibody model was formed. Section 5 deals with the validation, by facing the numerical simulated responses with the experimental response of a Functional Mock-Up Interface of an overhead crane handling two links as payload. Secondly the two-modes of vibration are analytical studied with the help of a proposed benchmark model applying Lagrangian methods. The Section 6 documents and illustrates the tailored features and advantages of DSI embedded IoT command shaping to improve the dynamics of overhead cranes transporting multibody payloads. The Section 7 compares simulation and experimental results coming from the FMI plus a real world hydraulic crane. Finally some conclusions are given in the last section.

3. Conceptualization: Robust Input Shaping

The Figure 3 shows several sensitivity curves, where the amplitude of the residual vibration is plotted as a function of the actual frequency. The vertical axis is the percentage of vibration given by Equation (1), while the horizontal axis is the frequency range considered, corresponding to the system natural frequency. Notice that the residual vibration of the Zero Vibration and Derivative (ZVD) shaper, shown as a black line, increases rapidly as the actual frequency deviates from the central frequency of around 1 Hz. The ZVD shaper, can be synthesized from Equation (1) applying the constraints: V t o l = 0 plus d V t o l d ω = 0 .
The shaper’s robustness can be measured quantitatively by measuring the width of the curve at some low level of tolerable vibration V t o l . This non-dimensional parameter is called the shaper’s frequency i n s e n s i t i v i t y I. V t o l can be written as:
V t o l e ζ ω T n · ( C ( ω , ζ ) 2 + S ( ω , ζ ) 2
where
C ( ω , ζ ) = e ζ ω T i · A i · cos ( ω 1 δ 2 T i )
S ( ω , ζ ) = e ζ ω T i · A i · sin ( ω 1 δ 2 T i )
In the Input Shaping research [16,19,20], this important equation can be found repeatedly. By using Equation (1) as a constraint equation, it is possible to set the residual vibration to a desired percentage of the pre-existing vibration, that is, the vibration that occurs without filtering with Input Shaping. As demonstrated in Figure 3, increased and selective robustness can be achieving if a Specified Insensitive (SI) shaper is designed to mitigate vibration at specified frequency ranges. The most straightforward method for generating a shaper with specified insensitivity to frequency uncertainty is the technique of frequency sampling [19]. This method implies repeated use of the also called residual energy Equation (1) at each one of a frequencies set, spaced at a regular sampling period, contained in the given frequency band. In each case, V t o l ( ω , ζ ) is set less or equal to the tolerable level of residual energy. If the limit V t o l is relaxed, allowing some increase, then the robustness of the Shaper/Filter also increases, keeping unchanged the set of frequencies where such constrain is applied as demonstrates Figure 3.
An alternative strategy to generate SI Filters by frequency sampling, entails parameterizing the sensitivity curve plus the filter coefficients and solving for the optimal parameters via a gradient-based constraint optimization algorithm. If this is the case, the filter can be parameterized in terms of delay times and gains. For instance, the SI-shaper, can be expressed as:
I S = A 1 δ ( t ) + A 2 δ ( t T s 2 ) + A 3 δ ( t T s 3 ) + A 4 δ ( t T s 4 )
where A 1 , A 2 , A 3 and A 4 are the amplitudes of the Input Shaper taps, while T s 2 , T s 3 and T s 4 are the times where the impulses or filter taps are applied. Here, it is assumed that the first impulse is applied at time zero, in order to minimize the delay induced by the filter. In this sense, the contribution of Tarunraj Singh research must be referenced [21]. Singh proposed Time Delay Filters (TDF), which are insensitive to different uncertainties, the stiffness especially, and posed them in the framework of a minimax optimization problem [22,23]. His work converges with Singhose previous works plus results [24] both remarkable. In addition, the other aforementioned parameters are the unknown frequency ω h 1 at which the peak of the sensitivity curve occurs plus the touch frequencies ω z 1 , ω z 2 where the SI-filter sensitivity curve must be forced to be zero between the frequency ω h 1 where the hump of the sensitivity curve takes place, i.e., the slope equals zero. At this point all the parameters to be determined have been enumerated. The resulting non-linear programming is:
objective
m i n i m i z e T s f
subject to
V t o l e ( ζ ω e 1 T s f ) ( C ( ω e 1 , ζ ) ) 2 + ( S ( ω e 1 , ζ ) ) 2 ω e 1 = ( 1 I 2 ) ω m
V t o l e ( ζ ω e 2 T s f ) ( C ( ω e 2 , ζ ) ) 2 + ( S ( ω e 2 , ζ ) ) 2 ω e 2 = ( 1 + I 2 ) ω m
V t o l = e ( ζ ω h 1 T s f ) ( C ( ω h 1 , ζ ) ) 2 + ( S ( ω h 1 , ζ ) ) 2
0 = d d ω e ( ζ ω h 1 T s f ) ( C ( ω h 1 , ζ ) ) 2 + ( S ( ω h 1 , ζ ) ) 2
0 = e ( ζ ω z 1 T s f ) ( C ( ω z 1 , ζ ) ) 2 + ( S ( ω z 1 , ζ ) ) 2
0 = e ( ζ ω z 2 T s f ) ( C ( ω z 2 , ζ ) ) 2 + ( S ( ω z 2 , ζ ) ) 2
where ω z 1 , ω z 2 are the unknown frequencies that interweave the edge and hump frequency ω h 1 , delivering another set of constraints
( 1 I 2 ) ω m < ω z 1 < ω h 1 < ω z 2 < ( 1 + I 2 ) ω m
Finally, the amplitudes must sum to one, in order to the shaped command will reach the same final set point as the unshaped command.
1 = Σ i A i
Interest in Input Shaping was increased by Singhose’s development of a very robust insensitive to modeling errors input shaper, named as Extra Insensitive (EI), [24]. Later on, procedures for precisely specifying the degree of robustness were presented. Characteristics of the impulse sequence as a function of robustness and system damping were discussed by in [16]. Dealing with the aforementioned work, Singhose introduced a second more sophisticated procedure, that yields exact solutions. All these works assume that the frequency range where the benchmark second order system tend to vibrate can be easily estimated from the ordinary second order differential equation.
Dooroo Kim, Joshua Vaughan and William Singhose in [17] point to that the double particle pendulum payload dynamics introduce an additional oscillatory mode. As will be proved later some multibody systems pertain to the same array of multimode systems. If this is the case, these systems require increased robustness which is significantly different than that available with the standard input shapers i.e., ZV, ZVD, EI. In view of this, procedures to precisely set up the constraint equations that must be satisfied do not remain fixed, rather they vary with the desired level of insensitivity and frequencies ranges to be cancelled.
The Quantitative Feedback Input Shaping technique addresses nonlinear and time-varying systems even a trade-off to vibration induced by disturbance and noise can be quantifiable with this technique. Unfortunately, large and powerful computers are needed [25].
Advances in robustness dealing with actual trapezoidal profiles instead of theoretical pulses corresponding to Bang-Bang optimal time negative input shaping are remarkable as in the work of [26], however the control fall on proprietary closed hardware.
For a more detailed review dealing with the history of Input Shaping/Time Delay filtering theory, readers are referred to the work of John Y. Hung [27], where the basic principles of Posicast theory [28], some of its past history, and new trends and fields of application are presented. Also, readers might consult [29,30]. Recently Singhose, Kivila and Seering develop an interactive textbook dealing with command shaping methods to exploit the interactive functions of tablets [31].

4. Overhead Crane Multibody Model

The multibody system of Figure 4 contains three moving bodies: the trolley numbered as ①, the first link numbered as ② and the second link of the payload numbered as ③. Also a non-moving x-y frame has been numbered as ⓪. Three body-fixed frames are also defined, assuming that the mass centres are known, the origins of the body frames are positioned at the mass centres. The pin joints are positioned with respect to their corresponding frame. As shows in Figure 5, there are:
  • A sliding joint between the body ①, the trolley, and the fixed frame.
  • A pin joint between the body ②, the first link, and the trolley, body ①.
  • A pin joint between the body ③, the second link, and the body ②, the first link.
The three moving bodies and ground, without considering the existence of the joints, form an unconstrained system shown in Figure 5. The x- and y-coordinates of the origin of each ξ η frame describe the translational coordinates of that body. The angle between each ξ -axis and the x-axis describes the rotational coordinate of that body, ϕ i . Obviously, the presence of the kinematic joints, these variables no longer remain independent from one another, i.e., they are dependent coordinates.
From Figure 5, the constraint equation for the revolute joint at pin A ( A 1 A 2 ) is:
( r , 2 ) Φ = r 2 A r 1 A = r 2 + s 2 A r 1 s 1 A = 0
where s 2 A and s 1 A are the vectors from the origin of the local frames to the point. These vectors can be written as a function of the local coordinates ( ξ 2 A ,   η 2 A ) of point A ( A 1 A 2 ) in the local axis of body 2, without loss of generality:
s 2 A = c o s ϕ 2 s i n ϕ 2 s i n ϕ 2 c o s ϕ 2 · ξ 2 A η 2 A
In view of this, the constraint expressed by Equation (14) can be expanded in the following form:
x 2 y 2 + c o s ϕ 2 s i n ϕ 2 s i n ϕ 2 c o s ϕ 2 · ξ 2 A η 2 A x 1 y 1 = 0 0
The constraint equation for the revolute joint at pin B ( B 2 B 3 ) is written in compact form:
( r , 2 ) Φ = r 3 B r 2 B = 0
Also, this constraint may be expanded by the same manner of the revolute joint A.
On the axis of the sliding joint, two points and one unit vector are needed to set up the constraint equation in a compact expression
( t , 2 ) Φ = u 0 ˘ · d ϕ 1 = 0
where u 0 = ( 1 , 0 ) . Please note that this unit vector is referred to the global axis (x, y), thus its local coordinates obviously coincides with its global coordinates. Points O and A are used to construct the vector d = r 1 r 0 . Thus, d = { x 1 0 , y 1 0 } . According to Equation (18) the dot product value between the vector ŭ, by the vector d is zero. As a result:
( t , 2 ) Φ = u 0 y d x + u 0 x d y ϕ 1 = 0 · x 1 + 1 · y 1 ϕ 1 = 0 0
The sliding joint constraint implies a zero constant value for y 1 plus the angle between the local axis ξ 1 and the global axis x, i.e., the angle ϕ 1 behaves zero during the whole motion. In addition to the kinematic constraints, the driver constraint would be considered because the motion of the trolley, body along the sliding axis, is defined by such constraint. Thus, its position depends on the value of a function of time shaped f s ( t ) or unshaped f u ( t ) . This constraint can be expressed as:
( d x 1 , 1 ) Φ = { x 1 f ( t ) } = 0
It is a rehonomous constraint. The equation of this constraint contains time as explicit variable. In view of this, in the following the appended constraint method is select to deal with it, apart from the escleronomous constraints introduced above [3] . The trolley plus the two links payload and the ground, without considering the existence of the referred joints and driver, form an unconstrained system, shown in Figure 5. The x- and y-coordinates of the origin of each ξ η frame describes the translational coordinates of such body. The angle between each ξ -axis and the x-axis describes the rotational coordinates of the double link. These coordinates are arranged in three arrays as:
c 1 = x 1 y 1 ϕ 1 , c 2 = x 2 y 2 ϕ 2 , c 3 = x 3 y 3 ϕ 3
These nine coordinates are variables; that is, if the bodies are allowed to move free in the plane, the coordinates find different values. In the presence of the kinematic joints described above, these variables are no longer independent from one another. The degrees of freedom of this mechanical system is three according to DOF = n v n c = 9 − 6 = 3, without considering the driver constraint. Six constraint equations correspond to the kinematic joints. The n v dependent coordinates defined as c are given by:
c = x 1 y 1 ϕ 1 x 2 y 2 ϕ 2 x 3 y 3 ϕ 3
The position constraints introduced in Equations (14)–(19) can be expressed in general form as:
Φ ( c ) = 0
The velocity constrains are obtained from the time derivative of Equation (10)
Φ ˙ = D · c ˙ = 0
where the matrix D is the Jacobian of the constraint Equations (14)–(19). The Jacobian can be carried out step by step deriving such equations. The time derivative of the constraint equation of the revolute joint A in a compact form is given by:
( r , 2 ) Φ ˙ = r 2 ˙ + s ˘ 2 A · ϕ 2 ˙ r 1 ˙
as a function of the local frames of reference this equation can be expanded to obtain the subjacobian of the revolute joint A:
( r , 2 ) Φ ˙ = 1 0 0 1 0 ( ξ 2 A · s i n ϕ 2 + η 2 A · c o s ϕ 2 ) 0 1 0 0 1 ( ξ 2 A · c o s ϕ 2 η 2 A · s i n ϕ 2 ) · x ˙ 1 y ˙ 1 ϕ ˙ 1 x ˙ 2 y ˙ 2 ϕ ˙ 2
The time derivative of the constraint equation corresponding to the revolute joint B in a compact form is:
( r , 2 ) Φ ˙ = r 3 ˙ + s ˘ 3 B · ϕ 3 ˙ r 2 ˙ s ˘ 2 B · ϕ 2 ˙
Thus, as a function of the local frames of reference, this equation can be expanded to obtain the subjacobian corresponding to the revolute joint B:
Φ ˙ = 1 0 ξ 2 B sin ϕ 2 + η 2 B cos ϕ 2 1 0 ( ξ 3 B sin ϕ 3 + η 3 B cos ϕ 3 ) 0 1 ξ 2 B cos ϕ 2 + η 2 B sin ϕ 2 0 1 ξ 3 B cos ϕ 3 η 3 B sin ϕ 3 x ˙ 2 y ˙ 2 ϕ ˙ 2 x ˙ 3 y ˙ 3 ϕ ˙ 3
Finally, the velocity constraints corresponding to the translational joint are:
( t , 2 ) Φ ˙ = 0 1 0 0 0 1 · x 1 ˙ y 1 ˙ ϕ 1 ˙
Equations (25)–(29) build the velocity constraints delivering the Jacobian matrix of the multibody system multiplied by the vector of the dependent variables:
0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 ( ξ 2 A · s i n ϕ 2 + η 2 A · c o s ϕ 2 ) 0 0 0 0 1 0 0 1 ( ξ 2 A · c o s ϕ 2 η 2 A · s i n ϕ 2 ) 0 0 0 0 0 0 1 0 ( ξ 2 B · s i n ϕ 2 + η 2 B · c o s ϕ 2 ) 1 0 ( ξ 3 B · s i n ϕ 3 + η 3 B · c o s ϕ 3 ) 0 0 0 0 1 ( ξ 2 B · c o s ϕ 2 η 2 B · s i n ϕ 2 ) 0 1 ( ξ 3 B · c o s ϕ 3 η 3 B · s i n ϕ 3 ) · c ˙ = 0
This equation can be written in a more compact form as:
Φ ˙ = D · c ˙ = 0
deriving again, the acceleration constraint becomes:
Φ ¨ = D · c ¨ + D ˙ · c ˙ = D · c ¨ γ = 0
The equations of motion for the unconstrained system of bodies shown in Figure 5 can be expressed as:
M c ¨ = h
The equations of motion for the constrained overhead system depicted in Figure 4 must include the contact forces between the bodies. These contact forces can be modeled in a straightforward manner, with the help of the Jacobian plus the Lagrange multipliers, as follows:
M c ¨ = h + D · λ
These equations represent the dynamics of the set of constrained bodies formulated in body coordinates. If the unknowns are the accelerations, c ¨ , and Lagrange multipliers, λ , these equations are treated as linear algebraic equations. However, when the unknowns are the coordinates and velocities, the same equations must be treated as second-order differential-algebraic equations (DAE).
Algebraic equations like (34) must be solved for the accelerations. However, there are more unknowns in these equations than the number of equations. To make the number of equations equal to the number of unknowns, it is appended the acceleration constraints of (32)–(34). Rearranged in matrix form:
M D D 0 · c ¨ λ = h γ
These algebraic equations can be solved for the unknows c ¨ and λ and can be considered as the equations of motion for any arbitrary multibody system.

5. Validation of the Model

The validation of this model can proceed in two ways. Facing the numerical simulation results with the experimental measurements extracted from a Functional Mock Up interface whose sketch is shown in Figure 6. Or comparing their numerical simulation results with the outcomes obtained by Lagrangian methods.

5.1. Validation of the Model Simulation Results Face to Face with Experimental FMI Outcomes

To give a more detailed description of the overhead crane with the double-pendulum multibody payload during motion, the position of the link-1 and link-2 within the Newtonian frame are written in the independent coordinates judiciously: x 1 , θ 1 and θ 2 respectively as shows Figure 6 corresponding to the functional mock-up interface (FMI). The trolley moves lengthwise the linear guide, its position is described by x 1 . As stated above the payload is composed by two rigid links plus two revolute joints. The link-1 of length l 1 hangs from the trolley via the revolute joint A, the second link-2 is connected to the link-1 via the revolute joint B. Both links are represented as rigid bodies having masses m 1 , m 2 plus the corresponding inertial properties I G 1 and I G 2 . The angles describing the deviations from vertical are shown in Figure 6. Notice that the angles θ 1 and θ 2 are defined by a vertical line in the Y-axis direction from the trolley to the floor.
The analytical equations of motion for this model are too complex to show in their entirety here, as they are not compact expressions. The most appealing option, as stated above consist in resort to the numerical integration of the multibody model DAEs, for some set of numerical values of the aforementioned parameters, they are depicted in Table 1.
There is a wide array of computational tools available in order to numerically integrate (35). MBS3D is an open-source general purpose program for the dynamic simulation of multibody systems. It is entirely programmed as plain text in Matlab and uses a very efficient and tested mathematical semi-recursive method due to García de Jalón [2]. Due to its popularity and easy of use, Matlab was chosen as the programming language for the routines that are developed in each chapter of Nikravesh textbook [3]. Those routines are available for engineers to form complete programs for a particular multibody system. Most of them have been used in this work to ensure simulations reliability by taking advantage of Nikravesh functions. If this is the case, the constraint violation stabilization using the gradient feedback or Baumgarte method is necessary, it is very effective and easy to implement in controlling of the geometric constrains [32]. Thus, the term:
D · c ¨ = D ˙ · c ˙ = γ
has been substituted by:
D · c ¨ = γ 2 α Φ ˙ β 2 · Φ
In general, for nonzero values of α and β , the numerical solution oscillates about the correct solution. Here, a value of α = β = 20 has been adopted according to Paulo Flores works [33].
Finally, given the availability of the Matlab Simmechanics parser, the recent SolidWorks releases can export using ≪.xml≫ file format, the mates between the pieces plus the inertial properties of such pieces -treated as bodies-, to Matlab Simmechanics. Once this parser launch the ≪.xml≫ file, a simulink model is available to perform the dynamic simulation of the multibody system. In the present work this option has also been used to compare with the numerical integration of (35) by using Nikravesh Matlab functions plus procedures [3] .
The multibody model was tested on the functional mock up interface (FMI) with the two link payload suspended from the trolley, using both measuring FMI real world system through a comparison of results obtained from the multibody model simulation as in [34]. The payload free vibration data was collected by video tapping the trajectory and measuring position of the mass centres plus revolute joints at each frame. The selected video recording speed was 60 fps. The payload response to initial conditions well suited to excite the first and second modes of vibration can be seen in the corresponding Figure 7 plus Figure 8. Dealing with the first mode both links oscillate closely to 30 about the equilibrium position at a frequency of 1.1 Hz Figure 7. The second mode which is at 2.4 Hz shown in Figure 8 despite the actual experimental underdamped response when compared with the undamped multibody model response both behave closely. Nonetheless, as the number of vibration cycles increases the damping at joint B becomes relevant. This might cause some frequency mismatch, recall that ω d = ω n 1 ζ 2 , especially as the number of cycles increases.
The overall Figure 9 shows the Fast Fourier Transform (FFT) of the aforementioned experimental signals corresponding to video tapping both modes of vibration. To reinforce the notion about the reliability of the multibody model tunning for the experimental FMI, Figure 10 depicts the FFT of the dynamic signal θ 2 corresponding to the second link deflection from vertical of the multibody model. Only differences dealing with the power of the first and second harmonics can be found between the experimental and the modeled FFT spectrum. Thus the reliability of the multibody model as a fair tool for the frequency analysis of a particular showcase has been proved.
Nonetheless the question about how is the general dynamics behavior of the multibody system remains still unanswered.

5.2. Lagrangian Analysis

To give some insight into the multibody double pendulum dynamics by analytical methods the initial goal consist in develop the free vibration analysis considering negligible small damping in the joints of the multibody system. From the corresponding Euler-Lagrange equations
d d t T θ i ˙ ( T V ) θ i + F θ i ˙ = Q
where the index i = 1, 2 reference the variables θ 1 ( t ) , θ 2 ( t ) , can be obtained the linearized Ordinary Differential Equations (ODEs) of motion for this two link payload free vibration given by:
1 24 · m · l 2 · ( ( 24 · α 2 + 8 · α 2 R ) · θ 1 ¨ + 12 · α · θ 2 ¨ ) + m · g · α · l · ( 1 + 1 2 R ) θ 1 = 0
1 24 · m · l 2 · ( 8 · θ 2 ¨ + 12 · α · θ 1 ¨ ) + m · g · l 2 · θ 2 = 0
where l = l 2 is the rigging length, R = m 2 / m 1 the mass ratio and finally the additional parameter α = l 1 / l 2 depicts the lengths ratio of both links was also used. From this point the symbolic computation of Mapple 18 was employed to determine the natural frequencies depicted in Figure 11. The Figure 11 shows the two oscillation frequencies as a function of the links mass ratio R = m 2 / m 1 and the rigging length of the second rod l 2 .
According to Figure 11 keeping unchanged the mass ratio the low frequency increases as the rigging length l 2 decreases. Please note that over the range of parameters considered the low frequency varies about the 30 per cent from its mean value while for the second mode deviates about the 60 per cent.
The relative contribution of both modes can be examined using the mode ratio depicted in Figure 12. The surface indicates that the second mode is most important for the multibody system dynamics when low second link to first link mass ratio occurs. The second mode contribution is particularly large when the suspension and rigging lengths are approximately equal. Recall that this is the case of the FMI where l 1 = 0.186 and l 2 = 0.14 , due to the overhead crane functional mock-up interface distance limitations between the trolley and the floor. Therefore, two-mode input shaping may be necessary under these conditions.
Dealing with the Hydraulic crane payload let assume, because there is a wide array of cases, that the mass of the first link—usually a cable under tension—is negligible small when compared with the mass of the second link. If this is the case, the initial model may be simplified to that shown in Figure 13. This simplified model allows a much more affordable analytical approach of the system dynamics and provides fair estimates of the two natural frequencies behaviour. This estimates will be quite valuable to carry out input shapers for hydraulic cranes transporting payloads whose dynamics behaves closely to the benchmark rope plus a rod. Here the rope has been modelled as composite revolute-revolute joint shown in Figure 13.
Under these conditions from the from the Euler-Lagrange equations can be extracted the linearized ordinary differential equations (ODEs) of motion for this payload free vibration given by
1 24 · m · l 2 · ( 24 · α 2 · θ 1 ¨ + 12 · α · θ 2 ¨ ) + m · g · α · l · θ 1 = 0
1 24 · m · l 2 · ( 8 · θ 2 ¨ + 12 · α · θ 1 ¨ ) + m · g · l 2 · θ 2 = 0
where α is the length ratio between the massless cable and the weighted second link lengths depicted in Figure 13 and g is the acceleration due to gravity.
At this point, we are interested in whether the cable and link-2 can oscillate harmonically with the same frequency and phase angle but with different amplitudes. Assuming that it is possible to have harmonic motion of the cable and link-2 at the same frequency ω and the same phase angle ϕ , the solutions to Equations (41) and (42) would be
θ 1 ( t ) = Θ 1 · c o s ( ω t + ϕ )
θ 2 ( t ) = Θ 2 · c o s ( ω t + ϕ )
where Θ 1 and Θ 2 are the maximum amplitudes and ϕ the phase angle of θ 1 ( t ) and θ 2 ( t ) , whose motion is not independent but is couple by the revolute joint B. Shortly, assuming a solution of the type θ i ( t ) = X i · e j ω t , i = 1, 2 and substituting into the two Equations (39) and (40) yields
1 12 · α 2 l 2 ω 4 ( 3 α + 2 ) 6 · l g α ω 2 + g 2 α 2 = 0
The above equation is called the frequency or characteristic equation because solution of this equation yields two possible values for ω 2 ; both real plus positive ω itself. This will be the two frequencies characteristic values of the two degree of freedom multibody pendulum system.
ω 2 , 1 = ± l · α · ( ± 3 · α ± 2 + 9 · α 2 + 6 · α + 4 ) · g l · α
Please note that both frequencies depend on the lengths ratio α
α = M a s s l e s s L i n k L e n g t h W e i g h t e d L i n k L e n g t h
plus the own length of the weighted second link l .
The Figure 14 shows the two oscillation frequencies as a function of ( α , l ) when the second link or rod length remains bellow 1 m. As shown in Table 2, the low frequency ω 1 is maximized when both α plus l tend to the lowest value closed to zero. Please note that for the parameter length range [0.1–0.5 m] shown in Table 1 the standard deviation from the mean value σ is 8.84. While for the second mode, the standard deviation of the high frequency ω 2 according to Table 3 values, reach σ = 15 over the same range for the aforementioned parameters α and l. In addition from Table 2 when α = 4/3 plus l = 0.2 ω 1 equals 0.81 Hz this value fairly match the experimental FMI low frequency of around 1 Hz. From Table 3 when α = 4/3 keeping unchanged l = 0.2, ω 2 equals 3.24 Hz somewhat higher when compared with the FMI second mode frequency of around 2.5 Hz.
These initial outcomes suggest that the control scheme for the reference input signal feed to the trolley u ( t ) , in order to mitigate the oscillations of the modelled two link payload plus the hydarulic crane payload, would need well suited robustness dealing with the second mode. Nonetheless if the amplitudes of vibration corresponding to the second mode are exiguous when compared with the first mode then this constraint may not be critical. Anyway, to address the relative contribution of the two modes of vibration to the hydraulic crane payload swing amplitude of vibration, the mode ratio parameter
χ ( i ) = Θ 2 ( i ) Θ 1 ( i )
given by the ratio of the maximum amplitudes of vibration Θ 1 , Θ 2 might be the most appealing option.
The global Figure 15 shows the mode ratios χ ( i ) i = 1, 2, as a function of the aforementioned range of parameters ( α , l ) , given by
χ ( i ) = Θ 2 ( i ) Θ 1 ( i ) = 1 2 l · α · ω i 2 g 2 1 3 · l · ω i 2
Regarding Figure 15a the mode ratio χ ( 1 ) behaves positive, if this is the case, both the cable plus the rod swing nearly in phase. Also for the range of values considered χ ( 1 ) behaves less than 1.4, χ ( 1 ) 1.4 thus, in addition the amplitude of vibration Θ 2 ( 1 ) value remains closed to Θ 1 ( 1 ) value.
At this point, considering Figure 15b that depicts the mode ratio χ ( 2 ) = Θ 2 ( 2 ) / Θ 1 ( 2 ) for the range of link-2 lengths and lengths ratio addressed, χ ( 2 ) remains negative. This negative value of χ ( 2 ) indicates that the cable and rod swing tendency consist in undergo opposite phases while somewhat conditioning by the initial conditions of course. In addition 0 > χ ( 2 ) 2 implies that the amplitude corresponding to the second mode of vibration Θ 2 ( 2 ) become slightly greater than Θ 1 ( 2 ) . The surface indicates that the mode ratio χ ( 2 ) increases with high cable to rod length ratios α 1 keeping unchanged the condition low cable to rod mass ratios. Therefore, while somewhat limited on the scope due to the constraint applied regarding the massless cable, from these primary results the notion that a two-mode input shaping control schema would also be the most appealing option.
Finally, the system can be made to vibrate only in its ith normal mode (i = 1, 2) by subjecting it to the specific initial conditions. The formal normal modes correspond to χ ( 1 ) = 1 plus χ ( 2 ) = 1 . To attain a normal mode as response, the system might be customized solving for the parameters α plus l, the resulting non-linear programming is:
ω 1 l · α · ( 3 · α 2 + 9 · α 2 + 6 · α + 4 ) · g l · α = 0 ;
ω 2 l · α · ( 3 · α + 2 + 9 · α 2 + 6 · α + 4 ) · g l · α = 0 ;
χ ( 1 ) 1 = 0 ;
χ ( 2 ) + 1 = 0 ;
The NLP programming converges to the following parameters values: ω 1 = 0.5 Hz, ω 2 = 1.86 Hz, α = 0.5833 , l = 0.8571 m (see Figure 16). Nonetheless as it is customary, both modes will be excited for any other general conditions, the resulting motion can be obtained by a linear superposition of the two normal modes.
The next goal of this modest work addresses the Input Shaping method to define how and when the trolley of the overhead crane would move lengthwise the linear guide in order to do not induce the two link payload vibration i.e., excite any of the two modes. Dealing with the hydraulic crane what shape must have the slewing motion. If a well suited Input Shaping Filter is applied correctly, no-one of the two modes of vibration nor a linear combination of both modes described by:
θ 1 ( t ) = Θ 1 ( 1 ) · c o s ( ω 1 t + ϕ 1 ) + χ ( 1 ) · Θ 1 ( 1 ) · c o s ( ω 2 t + ϕ 2 )
θ 2 ( t ) = Θ 1 ( 2 ) · c o s ( ω 1 t + ϕ 1 ) + χ ( 2 ) · Θ 1 ( 2 ) · c o s ( ω 2 t + ϕ 2 )
will degrade the performances of the overhead crane or the hydraulic crane. Particularly Input Shaping performs well reducing the deviations from vertical of the multibody payload after the time of the last tap is applied plus mitigating the residual vibration at move end. This will be faced in the following.

6. Multimode Specified Insensitivity Input Shapers for Multibody Systems

Figure 17 shows the general block diagram of the overhead crane control system. The desired motion, D(t), is fed into a command generator usually a Joystick. The command generator transform the desired motion into a reference command r(t) which is a physical signal an analog signal dealing with the open loop FMI setup or the Hydraulic crane. Correspondingly this signal is then used to drive the servomotor or the hydraulic proportional valves. No feedback signal nor a closed-loop controller exist. However both control systems does have some form of command generator. For example, the command generator for the hydraulic crane is the human who attempts to produce an appropriate reference command in real time.
The preceding introduction section demonstrated the important role of the reference command. The commands that will be especially shaped for the systems under consideration will yield substantial performance improvements (residual vibration reduction) with very little cost (increase in the rise time). If this is the case the command generator can be thought of as having two distinct components as shown in Figure 18 . The first component (the Joystick) transforms the desired motion D(t) into a reference command. For example a rapid change in position is converted into a step. The second component takes into account the unwanted system dynamics and filters the reference command to produce a shaped reference command r(t). If the convolution sum to carry out the time delay filtering does not faces with a high number of filter(shaper) taps, then this process can be implemented in real time plus using an IoT device micro controller-based.
The uncomplicated way to carry out a two-mode shaper is to convolve two single mode shapers. In this case, the ZVD shapers obtained are:
A i T i = 0.25 0.5 0.25 0 0.4545 0.9091 ( 1.1 H z Z V D )
A i T i = 0.25 0.5 0.25 0 0.2083 0.4167 ( 2.4 H z Z V D )
Convolving the shapers given in Equations (54) and(55), generates a ZVD-ZVD given by:
A i T i = 0.0625 0.1250 0.0625 0.1250 0.25 0.1250 0.0625 0.1250 0.0625 0 0.2070 0.4160 0.4540 0.6610 0.8760 0.8080 1.1150 1.3240
The Figure 19a corresponds to the sensitivity curves of the convolved ZVD-ZVD shaper for the range of frequencies [0.9–1.5] and [2–3.5] according to the FFT of Figure 10. The convolved shaper is very robust to modelling errors closed to the second mode 2.5 Hz frequency.
Nonetheless the price that is necessary to pay comes from the convolved shaper length: it last for 1.32 s. In addition the real time computational load in order to convolve the nine filter taps into the time credit window, that last for only 5 ms, becomes critical, because overlapping of the IoT device temporized interrupt routine may occur. Then a trade off between robustness increase and filter length must be negotiated.
Unless the convolved shapers, where the constraint equations on each mode are solved separately, the direct solution is obtained by simultaneously solving the constraint equations for both modes. To demonstrate this an example from the literature of a direct-shaper ZVD-ZVD is repeated here [35]:
S I 1 Hz 2.5 Hz = 0.1673 δ ( t ) + 0.1489 δ ( t 0.2857 ) + 0.3677
δ ( t 0.5714 ) + 0.1489 δ ( t 0.8571 ) + 0.1673 δ ( t 1.1429 )
it last for 1.143 s i.e., 0.1811 s shorter than the previous convolved ZVD-ZVD shaper. In addition it has only five taps thus the computational load is reduced. The Figure 19b shows the sensitivity curve corresponding to this Direct shaper.
Nonetheless the two-link payload can be customized in order to change the two-modes. Then let assume that the new second mode -the easiest to change- becomes closed to the 3.75 Hz. This will help to fully appreciate the direct shapers advantages, especially for mode ratios up to 3 the direct shaper properties light their own.
To this goal first a SI shaper was carried out for 1.17 Hz. A feasible solution is attained with the help of the General Algebraic Modeling System for mathematical programming and optimization (GAMS).
S I 1.17 Hz 3.51 Hz = 0.262500 δ ( t ) + 0.475000 δ ( t 0.416667 ) + 0.262500 δ ( t 0.833333 )
The SI shaper the attenuation properties are translated to the odd multiples of the addressed frequency i.e., 3.51 Hz as demonstrated in Figure 20. Thus this shaper does not guarantees the vibration suppression at the assumed high mode frequency 3.75 Hz. A more robust solution can be attained by convolving two SI shapers for each flexible mode: 1.17 Hz plus 3.75 Hz, given by
C o S I 1.17 Hz 3.75 Hz = 0.0742 δ ( t ) + 0.121 δ ( t 0.1690 ) + 0.0681
δ ( t 0.3380 ) + 0.1337 δ ( t 0.4540 ) + 0.2180 δ ( t 0.6230 ) +
+ 0.1228 δ ( t 0.7920 ) + 0.0742 δ ( t 0.9080 ) +
+ 0.121 δ ( t 1.0770 ) + 0.0681 δ ( t 1.2460 )
The sensitivity curves for the single-mode 1.17 Hz SI shaper and the Convolved (Co-SI-SI) are shown in Figure 21a. Dealing with the convolved Co-SI-SI, shaper the attenuation properties of the SI shaper for the low frequency are somewhat translated to the high frequency. However, there are some penalties: the convolved shaper contains nine impulses thus the computational requirements to perform the convolution sum at each temporized interrupt routine increase thus the time credit window of 5 ms might be insufficient. In addition the rise time delay also increases in 0.39 s. To reduce the computational requirements during run-time a Direct shaper for the two ranges of interest can be carried out. The method consist of the following stages assuming a sensitivity curve owning one hump for each mode:
  • Limit the residual vibration amplitude to below Vtol at the edges or guess limits of the frequency ranges to be cancelled [(1 − I/2) w m i and (1 + I/2) w m i ] i = 1, 2.
  • Set the residual vibration to Vtol at the unknown frequencies where the sensitivity curve reach one of the two local maximums.
  • Set the slope of the sensitivity curve of such local maximums to zero.
  • Force the residual vibration to zero at the four unknown touch frequencies w z i twice for each associate hump of every mode.
  • Solve the aforementioned constrain equations using a proven choice for highly nonlinear problems. At this point CONOPT’s efficient and reliable multi-method architecture handles a broad range of models. Specialized techniques achieve feasibility quickly, while powerful preprocessing tools reduce problem size and suggest formulation improvements.
The Direct shaper contains only five taps,
D S I 1.17 H z 3.75 H z = 0.223370 δ ( t ) + 0.2341130 δ ( t 0.4164916 ) + 0.2843494
δ ( t 0.6185118 ) + 0.2233707 δ ( t 1.0339999 ) + 0.0347959 δ ( t 1.2360201 )
The computational requirements are reduced when compared with the convolved shaper. In addition this shaper keeps unchanged the robustness I = 0.4 at the shifted high mode 3.75 Hz. The Figure 21b depicts the sensitivity curve corresponding to the Direct Shaper. As expected, this shaper mitigates the amplitude of the residual vibration over the two ranges of interest (see Figure 22).

7. Embedded Input Shaping Design Methodology and Experimental Results

The Embedded Input Shaping Design consist in set-up a three state petri-network on an mbed IoT device. The first state discriminates an unwanted action over the Joystick from a planned motion action. The minimum time that the operator activate the Joystick should be greater than the Direct Shaper length in order to consider a planned motion action. The second state initiates the shaping process using the stored input values into a memory pool those values are convolved with the Direct SI shaper taps. Finally once the operator deactivates the Joytstick the convolution sum still runs until the time delay induced by the filter length is completed, thus the last petri-network third state is finished and the finite state machine or petri network come back to state one.
The Experimental results shown here will be presented by modulating the baseline trapezoidal velocity profile command signal of the trolley, which has the following parameters: unshaped slope x 1 ¨ = 0.8 m/s 2 , final velocity 1 m s , rise time 1.25 s. The Convolved SI-SI shaper duration is 1.2460 s. The overall Figure 23 shows the responses when the trolley of the FMI undergoes the unshaped baseline velocity profile the Direct and the Convolved SI-SI Shaped velocity profiles. The second-link deflection has been chosen as the most descriptive variable to examine the video tapping responses. These responses are labeled with Unshaped, Direct Shaped and Convolved SI-SI Shaped marked with discontinuous line for the first case, continuous line for the second case and a hypen-line for the third case. Significant vibration exists for the unshaped response, the ϕ 3 (generalzed coordinates) or θ 2 (generalized coordinates) angle have a wide variation. For the Direct-shaped case the ϕ 3 keeps close to its rest position. Please note that for the Convolved SI-SI case, the response is delayed in time regarding the Direct SI shaper. Nonetheless, as expected for the same range of kinematic parameters the shaped residual vibration always remains small. If the shaped vibration amplitude is divided by the unshaped vibration, then the resulting percentage of vibration is less than the 5%.
The experiments were conducted on the mini-overhead crane FMI called MUTOC (Multibody Two Link payload Overhead Crane). MUTOC consists of a rack fixed to the frame of reference, a linear bearing guide 1.5 m long whose trolley is actuated by an Accurax G5 Omron servomotor that is fastened firmly to the trolley by a bracket plus a miniature T-slot structure licensed by Markerbeam. To the servomotor shaft a gear was fixed using a parallel key.
A revolute rolling element bearing joint is based between the trolley and the first link, without any rotary sensor do not measures the deflection from the vertical of the first link, i.e., the angle ϕ 2 , in order to do not introduce coulombian friction or any additional inertial parameter. Instead, a web camera video tape recording at 60 frames per second the whole motion, will allow the estimation of the angle ϕ 2 plus the second link body deflection angle ϕ 3 relative to frame of reference. By extracting the mass centres of the bodies plus the joints positions at each video frame, the corresponding deflections of both links are carried out by a Matlab script that uses the Image Processing Toolbox (see Figure 24).
Thus, the Omron RD-88 servomotor-driver is connected to the mbed microcontroller via D/A converter . The velocity baseline signal is generated trough C code run by the mbed. MUTOC is able to move attending the analog JoyStick commands feed to the mbed. Direct Input Shaper data was introduced into the mbed C-program in order to carry out in real time the convolution sum. To this goal a temporized interrupt subroutine with five milliseconds time credit window was programmed as in [36].
At this point the company Guerra Industries grant our laboratory an hydraulic crane shown in Figure 25 well suited to interface with it the aforementioned hardware adding a pair of XBee-ZigBee radio modules the crane was moved performing the slewing motion, including ramp up and ramp down phases, for more than 3.5 s through its workspace. The responses to the unfiltered and filtered commands can be seen in the overall Figure 26. The unfiltered command, Figure 26a, causes significant deviations of the links from vertical. However, as it can be seen the Direct SI-Filtered command mitigates the vibration of both links depicted in Figure 26b. Regarding the percentage of residual vibration to be honest only a small amount of vibration of around the 10 percent dealing with the angle ϕ ( 2 ) plus a 7 percent dealing with the angle ϕ ( 3 ) still remains due to some actuator dead-zones plus hydraulic system uncertainties [37].

8. Conclusions

For the wide array of overhead cranes composed by bodies plus kinematic joints, good candidates to implement Input Shaping, a multibody model would be the most appealing option better than a particle oriented model. A method oriented to the application of Input Shaping dealing with actual multibody systems whose dynamics is better described by DAEs has been presented. For these systems the identification of the natural frequencies is not as straight forward to obtain as in the case of linear systems described by ODEs, coming from simple particle oriented models sometimes unaccurately.
The reliability of the multibody model was tested on a functional mock up interface (FMI) with a two link payload suspended from the trolley. The FFTs of the simulated and the experimental signal contain the same frequency harmonics only with somewhat different power due to the real world light damping in the joints. To give some insight into the multibody double pendulum dynamics by Lagrangian methods a two link benchmark multibody model is proposed. This allows to develop a general study of this type of multibody payloads dynamics including its normal modes, modes ratios plus ranges of frequencies expected. Also for wide array of hydraulic cranes if the payload size is not negligible small when compared with the cable length may introduce an additional oscillatory mode that creates a multibody double pendulum. A somewhat simplified multibody model is proposed assuming a composite revolute-revolute joint to model the overhead cable.
Input Shaping has been adopted as feedforward strategy to do not induce unwanted multibody payload dynamics by shaping the reference input feed to trolley motion lengthwise the linear guide. To this goal, Convolved and Direct Specified Insensitive shapers that attenuate the vibration at the necessary ranges of frequency have been carried out. The log of the experimental real time deflection for the unshaped and shaped responses demonstrates clearly the beneficial effect of applying input shaping in the command generator. The command generator consist on an Internet Of Things device 32 bits microcontroller based. The Embedded Input Shaping Design consist in set-up a three state petri-network on the mbed IoT device. The first state discriminates an unwanted action over the Joystick from a planned motion action. The minimum time that the operator activate the Joystick should be greater than the Direct Shaper length in order to consider a planned motion action. The second state initiates the shaping process using the stored input values into a memory pool those values are convolved with the Direct SI shaper taps. Finally once the operator deactivates the Joytstick the convolution sum still runs until the time delay induced by the filter length is completed, thus the last petri-network third state is finished and the finite state machine or petri network come back to state one. This IoT command generator was tested on the overhead crane FMI and the hydraulic real-world crane hanging distributed multibody playloads.

Author Contributions

Conceptualization, G.P. and J.V.; Methodology, G.P. and H.R.; Software, G.P. and P.I.; Validation, J.C.G.-P., H R. and J.V.; Formal Analysis, G.P. and J.V.; Investigation, G.P. and J.V.; Resources, J.V. and G.P.; Data Curation, P.I.; Writing—Original Draft Preparation, J.V. and G.P.; Writing—Review & Editing, G.P. and J.V.; Visualization, H.R. and G.P.; Supervision, J.C.G.-P.; Project Administration, J.C.G.-P.; Funding Acquisition, J.C.G.-P.

Funding

This research was funded by Ministerio de Ciencia e Innovación and FEDER Funds. Research project MAQ-STATUS-2016.

Acknowledgments

The authors would like to thank William E. Singhose for helpful discussions regarding the systems candidates to implement command shaping. Also thanks so much to Tarunraj Singh for his helpful perspective on how to solve the associated optimization problems dealing with Time Delay Filtering. I am particularly grateful to Juan Pou and Juan Pardo dean of the School of Industrial Engineering of Vigo for promote the FMI ability at the EDUGAL show-room congress. Of course to the company Guerra Industries they grant our laboratory an hydraulic crane for a long time. Finally to some Georgia Institue of Technology professors, for help me to grow as a modest engineer and person.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this work:
ODEsordinary differential equations
DAEsdifferential algebraic equations
s i p the vector since the origin of the local frames to the point
ŭthe vector u rotated counterclockwise 90°
ξ i local x-axis of body i at the mass centre
η i local y-axis of body i at the mass centre
ϕ i rotational coordinate of body i
x i X component of the mass centre of body i
y i Y component of the mass centre of body i
Φ ( c ) joints constraints equations
Φ ˙ velocity constraints equations
DJacobian of the velocity constraints equations
γ the (right-hand side) of the acceleration constraints
Marray of inertial properties of the bodies
hexternal forces
λ Lagrange multipliers
θ i independent coordinate i
AState Space Jacobian matrix
Z V Zero Vibration Shaper
Z V D Zero Vibration and Derivative Shaper
S I Specified Insensitivity Shaper
F M I Functional Mock-Up Interface

References

  1. Haugh, E.J. Computer Aided Kinematics and Dynamics of Mechanical Systems; Allyn and Bacon Series in Engineering; Allyn and Bacon: Boston, MA, USA, 1989. [Google Scholar]
  2. García de Jalón, J.; Bayo, E. Kinematic and Dynamic Simulation of Multibody Systems: The Real-Time Challenge; Springer: New York, NY, USA, 1994. [Google Scholar]
  3. Nikravesh, P.E. Planar Multibody Dynamics: Formulation Programming and Applications; CRC Press: Boca Raton, FL, USA, 2008. [Google Scholar]
  4. Book, W.J. Controlled Motion in an Elastic World. J. Dyn. Syst. Meas. Control 1993, 115, 252–261. [Google Scholar] [CrossRef]
  5. Cook, G. Control of flexible structures via Posicast. In Proceedings of the Southeastern Symposium on System Theory, Knoxville, TN, USA, 7–8 April 1987; pp. 31–35. [Google Scholar]
  6. Junkins, J.L.; Kim, Y. Introduction to Dynamics and Control of Flexible Structures; American Institute of Aeronautics and Astronautics, Inc.: Washington, DC, USA, 1993. [Google Scholar]
  7. Banerjee, A.K.; Singhose, W.E. Minimum Time Fuel Efficient Maneuver of Flexible Spacecraft with Vibration Amplitude Constraint. In Proceedings of the AAS Astrodynamics Specialist Conference, Halifax, NS, Canada, 14–17 August 1995; Volume 95, pp. 318–323. [Google Scholar]
  8. Ben-Asher, J.; Burns, J.A.; Cliff, E.M. Time-Optimal Slewing of Flexible Spacecraft. J. Guid. Control Dyn. 1992, 15, 360–367. [Google Scholar] [CrossRef]
  9. Liu, Q.; Wie, B. Robust Time-Optimal Control of Uncertain Flexible Spacecraft. J. Guid. Control Dyn. 1992, 15, 597–604. [Google Scholar] [CrossRef]
  10. Pao, L.Y.; Singhose, W.E. A Comparison of Constant and Variable Amplitude Command Shaping Techniques for Vibration Reduction. In Proceedings of the IEEE Conference on Control Application Applications, Albany, NY, USA, 28–29 September 1995; pp. 875–881. [Google Scholar]
  11. Pao, L.Y. Characteristics of Time-Optimal Control of Flexible Structures with Damping. In Proceedings of the IEEE International Conference on Control and Applications, Glasgow, UK, 24–26 August 1994; pp. 1299–1304. [Google Scholar]
  12. Rogers, K.; Seering, W.P. Input Shaping for Limiting Loads and Vibration in Systems with On-Off Actuators. In Proceedings of the AIAA Guidance, Navigation, and Control Conference, San Diego, CA, USA, 29–31 July 1996. [Google Scholar]
  13. Singhose, W.E.; Seering, W.P.; Banerjee, A.K. An Evaluation of Fuel-Efficient On-Off Input Shaping with Deflection Limiting. In Proceedings of the AIAA/AAS Astrodynamics Specialist Conference, San Diego, CA, USA, 29–31 July 1996. [Google Scholar]
  14. Singhose, W.E.; Seering, W.P.; Banerjee, A.K. Limiting Deflection During the Slewing of Flexible Spacecraft Using Deflection Sampling. In Proceedings of the AIAA Guidance, Navigation, and Control Conference, San Diego, CA, USA, 29–31 July 1996. [Google Scholar]
  15. Blackburn, D.; Singhose, W.; Kitchen, J.; Patrangenaru, V.; Lawrence, J.; Kamoi, T.; Taura, A. Command Shaping for Nonlinear Crane Dynamics. J. Vib. Control 2010, 16, 477–501. [Google Scholar] [CrossRef]
  16. Singhose, W.E.; Singer, N.C. Input Shaping for Vibration Reduction with Specified Insensitivity to Modeling Errors. In Proceedings of the 1996 Japan-USA Symposium on Flexible Automation, Boston, MA, USA, 7–10 July 1996. [Google Scholar]
  17. Vaughan, J.; Kim, D.; Singhose, W.E. Control of Tower Cranes With Double-Pendulum Payload Dynamics. Trans. Control Syst. Tech. 2010, 18, 1345–1358. [Google Scholar] [CrossRef]
  18. Singhose, W.E.; Vaughan, J.; Peng, K.C.C.; Pridgen, B.; Glauser, U.; de Juanes Márquez, J.; Hong, S. Use of Cranes in Education an International Collaboration. J. Robot. Mechatron. 2011, 23, 881–892. [Google Scholar] [CrossRef]
  19. Singer, N.C.; Seering, W.P. An extension of Command Shaping Methods for Controlling Residual Vibration Using Frequency Sampling. In Proceedings of the IEEE International Conference on Robotics and Automation, Nice, France, 12–14 May 1992; Volume 1, pp. 800–805. [Google Scholar]
  20. Singhose, W.E.; Porter, L.; Tuttle, T.D.; Singer, N. Vibration reduction Using Multi-Hump Input Shapers. Trans. ASME J. Dyn. Syst. Meas. Control 1997, 119, 320–326. [Google Scholar] [CrossRef]
  21. Singh, T.; Valadi, S.R. Robust Time-Delay Control. ASME J. Dyn. Syst. Meas. Control 1993, 112, 303–306. [Google Scholar] [CrossRef]
  22. Singh, T. Minimax Design of Robust Controllers for Flexible Systems. J. Guid. Control Dyn. 2002, 25, 868–875. [Google Scholar] [CrossRef]
  23. Singh, T. Minimax Input Shaper Design Using Linear Programming. J. Dyn. Syst. Meas. Control 2008, 130, 9–18. [Google Scholar] [CrossRef]
  24. Singhose, W.E.; Potter, L.; Singer, N.C. Vibration Reduction Using Multi-Hump Extra Insensitive Input Shapers. In Proceedings of the American Control Conference, Seattle, WA, USA, 21–23 June 1995; pp. 3830–3834. [Google Scholar]
  25. Chatlatanagulchai, W.; Kijdech, D.; Benjalersyarnon, T. Quantitative Feedback Input Shaping for Flexible-Joint Robot Manipulator. J. Dyn. Syst. Meas. Control 2016, 138, 061006. [Google Scholar] [CrossRef]
  26. Sung, Y.-G.; Jang, W.-S.; Kim, J.-Y. Negative Input Shaped Commands for Unequal Acceleration and Braking Delays of Actuators. J. Dyn. Syst. Meas. Control 2018, 140, 094501. [Google Scholar] [CrossRef]
  27. Hung, J.Y. Posicast Control Past and Present. IEEE Multidiscip. Eng. Educ. Mag. 2007, 2, 7–11. [Google Scholar]
  28. Smith, O.J.M. Posicast control of damped oscillatory systems. Proc. IRE 1957, 45, 1249–1255. [Google Scholar] [CrossRef]
  29. Singh, T. Optimal Reference Shaping for Dynamical Systems: Theory and Applications; CRC Press: Boca Raton, FL, USA, 2010. [Google Scholar]
  30. Singhose, W.E.; Seering, W. Command Generation for Dynamic Systems; Lulu Press: Morrisville, NC, USA, 2012. [Google Scholar]
  31. Singhose, W.E.; Kivila, A.; Seering, W. Development of an Interactive Textbook for Command-Shaping Control Methods. In Proceedings of the ASME Dynamics Systems and Control Conference, Stanford, CA, USA, 21–23 October 2013. [Google Scholar]
  32. Yoon, S.; Howe, R.M.; Greenwood, D.T. Constraint Violation Stabilization Using Gradient feedback in Constrained Dynamics Simulation. J. Guid. Control Dyn. 1992, 15, 1467–1474. [Google Scholar] [CrossRef]
  33. Flores, P.; Seabra, E. Dynamics of Planar Multibody Systems: Concept, Formulation and Resolution; VDM Verlag Dr. Müller: Saarbrücken, Germany, 2010; ISBN-13: 978-3-8364-7746-8. [Google Scholar]
  34. Gómez, M.J.; Castejón, C.; García-Prada, J.C.; Ceccarelli, M. Analysis and Comparison of Motion Capture Systems for Human Walking. Exp. Tech. 2016, 40, 875–883. [Google Scholar] [CrossRef]
  35. Singhose, W.E. Command Generation for Flexible Systems. Ph.D. Thesis, Massachusetts Institute of Technology, Cambridge, MA, USA, 9 May 1997. [Google Scholar]
  36. Peláez, G.; Singhose, W. Implementation of Input Shaping on Flexible Machines with Integer Controllers. IFAC Proc. Vol. 2002, 35, 37–42. [Google Scholar] [CrossRef]
  37. Peláez, G.; Caparrini, N.; García-Prada, J.C. Two Impulse Sequence Input Shaper Design for Link Mechanism with Non-Linearities. In Proceedings of the American Control Conference, New York, NY, USA, 9–13 July 2007; pp. 822–827, ISBN 1-4244-0989-6. [Google Scholar]
Figure 1. (a) Bodies that interact with each other through joints. (b) Particles that interact with each other throught forces.
Figure 1. (a) Bodies that interact with each other through joints. (b) Particles that interact with each other throught forces.
Sensors 18 01817 g001
Figure 2. Step response, Posicast shaped command and resulting output.
Figure 2. Step response, Posicast shaped command and resulting output.
Sensors 18 01817 g002
Figure 3. Robust input shapers sensitivity curves as a function of the vibration limit.
Figure 3. Robust input shapers sensitivity curves as a function of the vibration limit.
Sensors 18 01817 g003
Figure 4. The overhead crane: the trolley plus the two-link payload, modeled as a multibody system.
Figure 4. The overhead crane: the trolley plus the two-link payload, modeled as a multibody system.
Sensors 18 01817 g004
Figure 5. The multibody system viewed as an unconstrained system.
Figure 5. The multibody system viewed as an unconstrained system.
Sensors 18 01817 g005
Figure 6. Sketch of the overhead crane Funtional Mock-Up Interface (FMI) with double pendulum multibody payload dynamics. Conditions: first link, length l 1 mass m 1 , plus moment of inertia about the mass center I z z G 1 ; second link, length l 2 mass m 2 , plus moment of inertia about the mass center I z z G 2 .
Figure 6. Sketch of the overhead crane Funtional Mock-Up Interface (FMI) with double pendulum multibody payload dynamics. Conditions: first link, length l 1 mass m 1 , plus moment of inertia about the mass center I z z G 1 ; second link, length l 2 mass m 2 , plus moment of inertia about the mass center I z z G 2 .
Sensors 18 01817 g006
Figure 7. Plots of Experimental FMI and Multibody model free vibration motion responses closely to the first mode. Initial Conditions: first link deviation from vertical Θ 1 = 31.84 , clockwise, second link deviation from vertical Θ 2 = 26.39 , clockwise.
Figure 7. Plots of Experimental FMI and Multibody model free vibration motion responses closely to the first mode. Initial Conditions: first link deviation from vertical Θ 1 = 31.84 , clockwise, second link deviation from vertical Θ 2 = 26.39 , clockwise.
Sensors 18 01817 g007
Figure 8. Plots of Experimental FMI and Multibody model free vibration motion responses closely to the second mode. Initial Conditions: first link from vertical Θ 1 = 35.65 , clockwise, second link from vertical Θ 1 = 14.42 counter clockwise.
Figure 8. Plots of Experimental FMI and Multibody model free vibration motion responses closely to the second mode. Initial Conditions: first link from vertical Θ 1 = 35.65 , clockwise, second link from vertical Θ 1 = 14.42 counter clockwise.
Sensors 18 01817 g008
Figure 9. Fast Fourier Transform (FFT) of the experimental dynamic signals θ 1 ( t ) , θ 2 ( t ) . Conditions: sampling frequency 60 Hz.
Figure 9. Fast Fourier Transform (FFT) of the experimental dynamic signals θ 1 ( t ) , θ 2 ( t ) . Conditions: sampling frequency 60 Hz.
Sensors 18 01817 g009
Figure 10. Fast Fourier Transform (FFT) of the simulated dynamic signal θ 2 ( t ) . Conditions: Multibody model, sampling frequency 60 Hz.
Figure 10. Fast Fourier Transform (FFT) of the simulated dynamic signal θ 2 ( t ) . Conditions: Multibody model, sampling frequency 60 Hz.
Sensors 18 01817 g010
Figure 11. Variation of first and second mode frequencies when 0 < l 2 < 1.5 and 0 < R < 2.
Figure 11. Variation of first and second mode frequencies when 0 < l 2 < 1.5 and 0 < R < 2.
Sensors 18 01817 g011
Figure 12. Mode Ratio High Mode to Low Mode amplitude. Conditions 0.5 < l 2 < 1 and 0.5 < R < 1.
Figure 12. Mode Ratio High Mode to Low Mode amplitude. Conditions 0.5 < l 2 < 1 and 0.5 < R < 1.
Sensors 18 01817 g012
Figure 13. Planar double pendulum. Conditions: massless first link length α · l equivalence with composite revolute-revolute joint and the weighted second link with mass m, plus moment of inertia about the mass center I z z G .
Figure 13. Planar double pendulum. Conditions: massless first link length α · l equivalence with composite revolute-revolute joint and the weighted second link with mass m, plus moment of inertia about the mass center I z z G .
Sensors 18 01817 g013
Figure 14. Variation of first and second mode frequencies when 0 < l < 1 and 0 < α 2 .
Figure 14. Variation of first and second mode frequencies when 0 < l < 1 and 0 < α 2 .
Sensors 18 01817 g014
Figure 15. Mode ratio results: first mode 1.5 χ ( 1 ) > 0 both links swing in nearly in phase; second mode 0 > χ ( 2 ) > 2 both links swing in opposite phases. Conditions: l 1 m, 0 < α 1 .
Figure 15. Mode ratio results: first mode 1.5 χ ( 1 ) > 0 both links swing in nearly in phase; second mode 0 > χ ( 2 ) > 2 both links swing in opposite phases. Conditions: l 1 m, 0 < α 1 .
Sensors 18 01817 g015
Figure 16. Normal Modes of Vibration. First mode both links swing closely in phase; second mode both links swing in opposite phases. Conditions: ω 1 = 0.5 Hz, ω 2 = 1.86 Hz, α = 0.5833 , l = 0.8571 m.
Figure 16. Normal Modes of Vibration. First mode both links swing closely in phase; second mode both links swing in opposite phases. Conditions: ω 1 = 0.5 Hz, ω 2 = 1.86 Hz, α = 0.5833 , l = 0.8571 m.
Sensors 18 01817 g016
Figure 17. Block diagram of the generic control system.
Figure 17. Block diagram of the generic control system.
Sensors 18 01817 g017
Figure 18. Command generator for real-time command shaping.
Figure 18. Command generator for real-time command shaping.
Sensors 18 01817 g018
Figure 19. Convolved and Direct Two Mode ZVD-ZVD Shapers for 1 Hz and 2.5 Hz.
Figure 19. Convolved and Direct Two Mode ZVD-ZVD Shapers for 1 Hz and 2.5 Hz.
Sensors 18 01817 g019aSensors 18 01817 g019b
Figure 20. SI Shaper 1.17 Hz sensitivity curve.
Figure 20. SI Shaper 1.17 Hz sensitivity curve.
Sensors 18 01817 g020
Figure 21. Convolved and Direct Two Mode SI-SI Shapers for 1.1 Hz and 3.75 Hz.
Figure 21. Convolved and Direct Two Mode SI-SI Shapers for 1.1 Hz and 3.75 Hz.
Sensors 18 01817 g021
Figure 22. Three-Dimensional Sensitivity Curve of SI-SI Shaper Designed with Vtol = 5 percent, I = 0.5 and Suppressed Frequency Ranges 1.1–3.75 Hz.
Figure 22. Three-Dimensional Sensitivity Curve of SI-SI Shaper Designed with Vtol = 5 percent, I = 0.5 and Suppressed Frequency Ranges 1.1–3.75 Hz.
Sensors 18 01817 g022
Figure 23. Comparison of Direct SI Shaped and Unshaped ϕ 3 or θ 2 Deflection-Limited and Unlimited Responses.
Figure 23. Comparison of Direct SI Shaped and Unshaped ϕ 3 or θ 2 Deflection-Limited and Unlimited Responses.
Sensors 18 01817 g023
Figure 24. Mini Overhead Crane functional mock-up interface.
Figure 24. Mini Overhead Crane functional mock-up interface.
Sensors 18 01817 g024
Figure 25. The hydraulic crane at the laboratory for the test.
Figure 25. The hydraulic crane at the laboratory for the test.
Sensors 18 01817 g025
Figure 26. Unshaped and Direct SI-Shaped Experimental Responses of the Hydraulic crane under slewing motion. Conditions: sampling frequency 60 Hz.
Figure 26. Unshaped and Direct SI-Shaped Experimental Responses of the Hydraulic crane under slewing motion. Conditions: sampling frequency 60 Hz.
Sensors 18 01817 g026
Table 1. Simulation Parameters.
Table 1. Simulation Parameters.
Multibody Model ParameterValue
ξ 2 A −0.0825 (m)
ξ 2 B 0.0825 (m)
ξ 3 B −0.070 (m)
I z z 2 2.26875 × 10 4 (Kgr·m 2 )
I z z 3 1.21422 × 10 4 (Kgr·m 2 )
m 1 585 (gr)
m 2 99.12 (gr)
m 3 74.34 (gr)
Table 2. First Mode frequency ω 1 (Hz).
Table 2. First Mode frequency ω 1 (Hz).
α = 1 2 α = 1 α = 4 / 3 α = 2
Length [m]
l = 0.11.50971.26221.14910.9900
l = 0.21.06750.89250.81250.7001
l = 0.30.87160.72870.66340.5716
l = 0.40.75480.63110.57450.4950
l = 0.50.67510.56450.51390.4428
Table 3. Second mode frequency ω 2 (Hz).
Table 3. Second mode frequency ω 2 (Hz).
α α = 1 α = 4 / 3 α = 2
Length [m]
l = 0.14.82244.58734.3473
l = 0.23.41003.24373.0740
l = 0.32.78422.64852.5099
l = 0.42.41122.29372.1737
l = 0.52.15672.05151.9442

Share and Cite

MDPI and ACS Style

Peláez, G.; Vaugan, J.; Izquierdo, P.; Rubio, H.; García-Prada, J.C. Dynamics and Embedded Internet of Things Input Shaping Control for Overhead Cranes Transporting Multibody Payloads. Sensors 2018, 18, 1817. https://doi.org/10.3390/s18061817

AMA Style

Peláez G, Vaugan J, Izquierdo P, Rubio H, García-Prada JC. Dynamics and Embedded Internet of Things Input Shaping Control for Overhead Cranes Transporting Multibody Payloads. Sensors. 2018; 18(6):1817. https://doi.org/10.3390/s18061817

Chicago/Turabian Style

Peláez, Gerardo, Joshua Vaugan, Pablo Izquierdo, Higinio Rubio, and Juan Carlos García-Prada. 2018. "Dynamics and Embedded Internet of Things Input Shaping Control for Overhead Cranes Transporting Multibody Payloads" Sensors 18, no. 6: 1817. https://doi.org/10.3390/s18061817

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop