Next Article in Journal
Research on Game-Playing Agents Based on Deep Reinforcement Learning
Next Article in Special Issue
Design and Scaling of Exoskeleton Power Units Considering Load Cycles of Humans
Previous Article in Journal
Gait Analysis for a Tiltrotor: The Dynamic Invertible Gait
Previous Article in Special Issue
Gait Transition from Pacing by a Quadrupedal Simulated Model and Robot with Phase Modulation by Vestibular Feedback
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Online Deflection Compensation of a Flexible Hydraulic Loader Crane Using Neural Networks and Pressure Feedback

by
Konrad Johan Jensen
*,
Morten Kjeld Ebbesen
and
Michael Rygaard Hansen
Department of Engineering Sciences, University of Agder, 4879 Grimstad, Norway
*
Author to whom correspondence should be addressed.
Robotics 2022, 11(2), 34; https://doi.org/10.3390/robotics11020034
Submission received: 21 February 2022 / Revised: 14 March 2022 / Accepted: 16 March 2022 / Published: 17 March 2022
(This article belongs to the Special Issue Mechatronics Systems and Robots)

Abstract

:
The deflection compensation of a hydraulically actuated loader crane is presented. Measurement data from the laboratory are used to design a neural network deflection estimator. Kinematic expressions are derived and used with the deflection estimator in a feedforward topology to compensate for the static deflection. A dynamic deflection compensator is implemented, using pressure feedback and an adaptive bandpass filter. Simulations are conducted to verify the performance of the control system. Experimental results showcase the effectiveness of both the static and dynamic deflection compensator while running closed-loop motion control, with a 90% decrease in static deflection.

1. Introduction

Flexible manipulators have received extensive research attention in recent years. The use of lightweight though flexible manipulators yields many advantages over rigid structures, including lower mass and inertia, lower energy consumption, higher payload-to-weight ratio, and smaller actuators. However, there are challenges associated with the structural flexibility of these manipulators that must be taken into account. The deflection, oscillations, and potential nonlinearities may lead to issues with steady-state performance, stability, and controllability.
Different approaches of modeling flexible manipulators have previously been considered, such as lumped parameter [1,2,3], assumed modes [4,5,6], Lagrangian formulation [7,8] and neural networks [9].
The control of flexible manipulators is typically divided into two groups, model-based control and model-free control. The primary goal of both control techniques is to dampen oscillations and reduce the consequences of static deflection in the flexible manipulator. Model-based control may use the modeling techniques shown earlier, and can be implemented in a feedforward topology. This includes control with linear models [10], nonlinear inverse dynamics [11], and input shaping [12]. In model-free control, the system does not rely on a mathematical model of the system, but rather sensor measurements from the system. Model-free control includes robust control and sliding mode control [13,14,15].
Another technique that has received research interest for the control of flexible manipulators is neural network control. This can include both feedforward and feedback controllers [16]. Neural networks are often combined with sliding mode control for robust control and the stabilization of nonlinear systems [17,18,19]. Kinematic control of redundant manipulators was investigated in [20,21].
Large manipulators, such as hydraulic cranes, may experience large static deflections under heavy load. This is especially an issue with weight-optimized structures, such as loader cranes. As a consequence, the calculated crane tip position based on rigid body kinematics may yield significant errors and may be a safety concern that, potentially, can lead to collisions with the surroundings if not compensated for. This is especially true when using closed-loop motion control and when forward kinematics are used to estimate the crane tip position. For manually operated cranes, the operator may visually identify and compensate for the deflections, effectively closing the loop. This is often called operator in the loop. To reach the same level of automation as industrial robots, deflection compensation may play a critical role in increasing the precision and safety when using closed-loop motion control for large cranes.
In this paper, a new method for closed-loop control of a hydraulic manipulator is presented. The novelty lies in the combination of compensation for both static and dynamic deflection while running path control. This combination of path control and static and dynamic compensation is an answer to the previously mentioned problems for highly flexible manipulators, and is therefore developed and implemented on a commercial hydraulically actuated loader crane.

2. Considered System

In this paper, a HMF 2020K4 loader crane made by HMF Group A/S (Højbjerg, Denmark) is used as a basis for simulations and experiments; see Figure 1. The crane has three degrees of freedom of interest: the rotation of the main boom, the rotation of the knuckle boom and the extension of the telescopic booms. They are controlled by means of the main cylinder, the knuckle cylinder and, working as a single sequential cylinder, the telescopic cylinders. Each cylinder is driven by a pressure-compensated directional control valve, which ensures load-independent flow control. Counterbalance valves are used for load holding, assisting in load lowering, and protection against pressure surges. An illustration of the hydraulic system for the knuckle cylinder is shown in Figure 2.

Control Strategy

The novel approach is shown in Figure 3. The crane is running path control in the actuator space with position feedback and velocity feedforward developed in [22]. The control strategy for the deflection compensation is split into static compensation and dynamic compensation. The static deflection compensator uses feedforward and adjusts the position reference based on an estimated deflection for a given actuator position. The dynamic deflection compensator uses feedback of the load pressure p L to measure and suppress the oscillations of the crane.

3. Static Deflection Compensation

The static deflection compensator is a model-based feedforward controller and is based on a deflection estimator and kinematic functions. The estimated deflection of the crane is in Cartesian space, while the motion controller operates in actuator space. The relevant kinematic relations are derived in this section and are then used to generate a modified cylinder position reference.

3.1. Measuring Deflection in Laboratory

Experiments are conducted in the laboratory using a laser tracker, namely a Leica Absolute Tracker AT960. The laser tracker measures the position of a reflector mounted on the crane tip. A 581 kg payload is connected to the winch on the crane, and by measuring the crane tip position with and without the payload, the deflection of the crane tip is effectively measured. The setup in the laboratory is shown in Figure 4. Note that 581 kg was the heaviest payload that the crane could consistently lift at this boom length and pressure level available in the laboratory.
Multiple measurements are conducted with different cylinder positions. The resulting crane tip position in the x z -plane with and without load is shown in Figure 5, with the black lines illustrating the crane position for one of the samples. Deflection is calculated as the difference between the load and no-load tip position.

3.2. Forward Kinematics

Forward kinematics are used to go from joint space to Cartesian space. The forward kinematics are calculated based on Denavit–Hartenberg parameters. Figure 6 shows the joint angles, telescopic length, lifting radius, and tip position. Figure 7 shows the geometry which is used with the Denavit–Hartenberg parameters, where both booms are horizontal. The dimensions between consecutive joints are shown in Table 1. The Denavit–Hartenberg parameters are shown in Table 2, where R and T are rotational and translational matrices, respectively. The angles θ m and θ k denote the rotation about the main joint and knuckle joint, respectively. The forward kinematics are similar to what was developed earlier in [23], with the addition of the telescopic actuator length x t used in this paper.
The transformation matrix A D H is given as
A D H = T z ( l 2 ) · T x ( l 1 ) · R x ( 90 ) · R z ( θ m ) · R x ( 90 ) · T z ( l 4 ) · T x ( l 3 ) · R x ( 90 ) · R z ( θ k ) · R x ( 90 ) · T z ( l 6 ) · T x ( l 5 ) · T x ( x t )
= c θ m + θ k 0 s θ m + θ k x T i p 0 1 0 0 s θ m + θ k 0 c θ m + θ k z T i p 0 0 0 1
The crane tip positions x T i p and z T i p are given in Equations (3) and (4), using the notation cos ( θ ) = c θ and sin ( θ ) = s θ .
x T i p = l 1 + l 3 · c θ m l 4 · s θ m + l 5 · c θ m + θ k + l 6 · s θ m + θ k + x t · c θ m + θ k
z T i p = l 2 + l 3 · s θ m + l 4 · c θ m + l 5 · s θ m + θ k l 6 · c θ m + θ k + x t · s θ m + θ k

3.3. Inverse Kinematics

Inverse kinematics are used to go from Cartesian space to joint space. Solving the inverse kinematics of the crane is similar to a typical two-link manipulator, with the exception that the length of each link is split into an x-component and z-component. In addition, the three actuators give the crane kinematic redundancy in the case of motion in the x z -plane. This is solved by keeping the telescopic actuator length x t fixed and solving for the main joint angle θ m and knuckle joint angle θ k . This is done because the main cylinder and knuckle cylinder are easier to control and have less friction than the telescopic cylinder.
The calculations are based on the lifting radius R, which is the distance from the main joint to the crane tip. The squared lifting radius R 2 is given by
R 2 = x T i p + l 1 2 + z T i p l 2 2
Some intermediate equations are used to solve for the knuckle boom angle θ k . Inserting Equations (3) and (4) into (5) yields
R 2 = ( l 3 · c θ m l 4 · s θ m + l 5 · c θ m + θ k + l 6 · s θ m + θ k + x t · c θ m + θ k ) 2 + ( l 3 · s θ m + l 4 · c θ m + l 5 · s θ m + θ k l 6 · c θ m + θ k + x t · s θ m + θ k ) 2 = 2 · l 3 · l 5 l 4 · l 6 + l 3 · x t · c θ k + 2 · l 3 · l 6 + l 4 · l 5 + l 4 · x t · s θ k + l 3 2 + l 4 2 + l 5 2 + l 6 2 + 2 · l 5 · x t + x t 2
The equations in a more compact form are given below:
R 2 = A · c θ k + B · s θ k + C
A = 2 · l 3 · l 5 l 4 · l 6 + l 3 · x t
B = 2 · l 3 · l 6 + l 4 · l 5 + l 4 · x t
C = l 3 2 + l 4 2 + l 5 2 + l 6 2 + 2 · l 5 · x t + x t 2
Solving Equation (7) yields two solutions, and by taking the minimum angle, the crane will be in the desired elbow-up configuration. The calculation of θ k is shown below:
θ k * = 2 · tan 1 B ± A 2 + B 2 C 2 + 2 · C · R 2 R 4 A C + R 2
θ k = min θ k *
To find θ m , Equations (3) and (4) are expanded, and the terms containing θ m are factorized out.
x T i p = ( l 5 · c θ k + l 6 · s θ k + x t · c θ k + l 3 ) · c θ m ( l 5 · s θ k l 6 · c θ k + x t · s θ k + l 4 ) · s θ m l 1
z T i p = ( l 5 · s θ k l 6 · c θ k + x t · s θ k + l 4 ) · c θ m + ( l 5 · c θ k + l 6 · s θ k + x t · c θ k + l 3 ) · s θ m + l 2
Rearranging gives a more compact form, yielding two equations with two unknowns, namely cos ( θ m ) and sin ( θ m ) .
x T i p = E · c θ m D · s θ m l 1
z T i p = D · c θ m + E · s θ m + l 2
D = l 5 · s θ k l 6 · c θ k + x t · s θ k + l 4
E = l 5 · c θ k + l 6 · s θ k + x t · c θ k + l 3
These two equations are then solved to find θ m .
c θ m = D · z T i p D · l 2 + E · x T i p + E · l 1 D 2 + E 2
s θ m = E · z T i p E · l 2 D · x T i p D · l 1 D 2 + E 2
θ m = tan 1 s θ m c θ m

3.4. Actuator Kinematics

Actuator kinematics are used to go from actuator space to joint space. They were developed earlier in [23]. An illustration of the main joint linkage is shown in Figure 8. The associated lengths are given in Table 3.
For reference, the calculation of the main joint angle θ m = θ m ( x m ) is given below:
θ a = cos 1 l a 2 + l c 2 l b 2 2 · l a · l c
θ b = cos 1 l a 2 + l d 2 x m 2 2 · l a · l d
θ c = θ a θ b
l e = l c 2 + l d 2 2 · l c · l d · c θ c
θ d = cos 1 l e 2 + l g 2 l f 2 2 · l e · l g
θ e = cos 1 l b 2 + l e 2 x m 2 2 · l b · l e
θ m = θ d + θ e θ ˜ m

3.5. Inverse Actuator Kinematics

Inverse actuator kinematics are used to go from joint space to actuator space. As taking the inverse of Equation () is difficult due to it being such a complex expression, curve fitting is used instead. The 9th order polynomials are used, shown below:
x = p 9 · θ 9 + p 8 · θ 8 + p 7 · θ 7 + p 6 · θ 6 + p 5 · θ 5 + p 4 · θ 4 + p 3 · θ 3 + p 2 · θ 2 + p 1 · θ + p 0
While the mapping θ m = θ m ( x m ) given in Equation (28) describes the actuator kinematics for the main cylinder, the inverse kinematics is the mapping x m = x m ( θ m ) . Iteratively calculating and plotting θ m = θ m ( x m ) and then switching the axis gives a solution on which the curve is fitted. The coefficients for the main cylinder and knuckle cylinder are given in Table 4, and plots of the curve fits are shown in Figure 9, showing that the curve fit yields a close match to the numerical inverse.

3.6. Neural Network Deflection Estimator

A neural network is used to estimate the deflection of the crane tip. Measurements from the laboratory make up the training data for the network. The network predicts the deflection in the x- and z-directions based on the cylinder positions x m , x k , and x t . The selected topology is a classical multilayer perceptron with a single hidden layer. Each node uses the tanh activation function. Input scaling is employed to normalize the data to the range [−1, 1], in order to stay in the center region of the tanh activation function. Likewise, the output scaling is used to scale the outputs from [−1, 1] to a desired range, set by the measured deflection in the output training data. An illustration of a single node with weights, bias, and activation function is shown in Figure 10. An overview of the neural network with input scaling, output scaling, and ten hidden neurons is shown in Figure 11.

3.6.1. Forward Propagation

Forward propagation refers to computing the outputs of the network with a given input. The computations are done using vectors and matrices to calculate the output of each layer in a single step. The formula for the input scaling is shown in Equations (30)–(34). The input is scaled to lie between −1 and 1 based on the maximum and minimum value of the input training data x t r a i n i n g .
s x = ( x x m i n ) · s x , m a x s x , m i n x m a x x m i n + s x , m i n
x m i n = min ( x t r a i n i n g )
x m a x = max ( x t r a i n i n g )
s x , m i n = 1
s x , m a x = 1
Forward propagation for the hidden layer and output layer using tanh as the activation function is shown in Equations (35)–(38).
z h = W h · s x + b h
h = tanh ( z h )
z y = W y · h + b y
y = tanh ( z y )
where
  • W h = weight matrix of the hidden layer;
  • b h = bias vector of the hidden layer;
  • W y = weight matrix of the output layer;
  • b y = bias vector of the output layer.
The output scaling is similar to the input scaling, and is shown in Equations (39)–(43).
s y = ( y y m i n ) · s y , m a x s y , m i n y m a x y m i n + s y , m i n
y m i n = 1
y m a x = 1
s y , m i n = min ( y t r a i n i n g )
s y , m a x = max ( y t r a i n i n g )

3.6.2. Backpropagation

Backpropagation refers to the process of calculating the gradient of the cost function with respect to the weights. This is typically done using the chain rule one layer at the time. The gradient descent is then used to update the weights. The training data are now a matrix, where each column is a single measurement. The cost function is made using the squared Frobenius norm of the scaled output minus the output training data. The cost function is defined as
C = 1 2 · s y y t r a i n i n g F 2
To train the network, the partial derivatives of the cost function must first be calculated. Note that the derivative of the activation function is d d x tanh ( x ) = 1 tanh 2 ( x ) . The backpropagation for the output layer and the weight W h is shown in Equations (45)–(49). Dividing by the number of training examples, N is used to average the calculations across the training set.
C y = s y y t r a i n i n g
y z y = 1 tanh 2 ( z y )
C z y = C y · y z y
z y W y = h T
C W y = 1 N · C z y · z y W y
The partial derivatives are then used to update the weights. L2 regularization is used to avoid overfitting. This limits the value of the weights in the network to achieve better generalization. Updating the weights with L2 regularization only requires one additional parameter λ , in addition to the learning rate η . The adjusted cost function and the updates to the weight W h are shown in Equations (50)–(51).
C * = C + λ 2 · N · W h F 2
W h W h η · C W h + λ · W h

3.6.3. Training Results

The measured deflection from the laboratory is used to train the network. The network is trained using η = 1 and λ = 10 4 and converged after 3 × 10 5 iterations. Surface plots of the estimated deflection for some cylinder lengths are shown in Figure 12 and Figure 13. It can be seen that the telescope length x t does not significantly impact the deflection in x-direction, but it has a major contribution to the deflection in the z-direction.

3.7. Control System

The block diagram for the static deflection compensator is shown in Figure 14. The system uses actuator kinematics (Act. Kin.) and forward kinematics (For. Kin.) to transform the cylinder position references into Cartesian space. The output of the deflection estimator (Def. Est.) is added to the Cartesian position reference. Inverse kinematics (Inv. Kin.) and inverse actuator kinematics (Inv. Act.) are then used to generate the modified cylinder position references x ^ r e f . It should be noted that while the telescopic position reference is used in the calculations, it is not modified since only the main cylinder and knuckle cylinder compensate for the deflection.

4. Dynamic Deflection Compensation

The dynamic deflection compensator is based on the feedback of the load pressure on the main cylinder. Pressure feedback has previously shown its effectiveness in [24], where it was used to suppress oscillations for the slewing motion of the HMF 2020K4 loader crane. The load pressure is defined as the effective pressure acting on a cylinder—see Equation (52)—and is derived from the a-side and b-side pressures, respectively. By measuring these pressures, the load pressure can be calculated. Further, by measuring the position and velocity of the cylinder, the gravitational term G ( x ) and the friction term F f r i c can be estimated. Using proper filtering, the acceleration x ¨ can be estimated based on Equation (53). The inertia term M ( x ) represents the effective mass of the cylinder.
p L = p a A b A a · p b
M ( x ) · x ¨ = p L · A a G ( x ) F f r i c ( x ˙ )

4.1. Crane Natural Frequency

In the laboratory, the oscillations of the crane tip are measured using the Leica Absolute Tracker AT960. The hanging load is rapidly lifted for a short distance to induce oscillations in the crane, similar to an impulse response. Figure 15 shows the crane tip z-position in the laboratory with two load impulses for x t = 3.288 m at t = 2 s and x t = 2.906 m at t = 32 s.
The natural frequency is extracted from the time series data, and by taking multiple measurements with varying telescopic lengths, the natural frequency of the crane tip is estimated using curve fitting. The measured and estimated crane tip natural frequency is shown in Figure 16. The formula for the estimate is given as
ω ^ T i p = 0.11 rad / s m 2 · x t 2 1.716 rad / s m · x t + 11.63 rad / s

4.2. Adaptive Bandpass Filter

An adaptive bandpass filter is used to extract the crane tip oscillations from the main cylinder load pressure. A critically damped bandpass filter is selected, which has the following transfer function:
G B P ( s ) = 2 · s · ω f s 2 + 2 · s · ω f + ω f 2
= 2 · ω f s + ω f · s s + ω f
The bandpass filter is used in a feedback loop to suppress the oscillations. The control signal from the dynamic compensator with feedback gain k p L is then given as
u c o m p = k p L · p L · G B P ( s )
A digital implementation with variable bandpass frequency is made by separating the bandpass filter into a lowpass filter and a highpass filter, shown in Equations (58)–(62). The estimated eigenfrequency of the crane is used as the center frequency of the filter. y H P , y L P , and y B P denote the output of the highpass, lowpass, and bandpass filters, respectively.
ω f = ω ^ T i p ( x t )
α = 1 1 + ω f · T s
y H P , i = α · y H P , i 1 + α · ( x i x i 1 )
y L P , i = α · y L P , i 1 + ( 1 α ) · y H P , i
y B P , i = 2 · y L P , i
where
  • i = sample number;
  • x = filter input;
  • y = filter output(s);
  • T s = sample time, 0.01 s;
  • ω ^ T i p = estimated tip eigenfrequency.

5. Modeling of Telescopic Actuation System

A model of the crane containing the hydraulic system, main boom, and knuckle boom was previously created using Simscape™ components; see [23,24,25]. For this paper, the telescopic actuation system is modeled and added to the Simscape model. A section view from the CAD model is given in Figure 17, showing how the telescopic booms are packed inside each other, as well as showing the unique telescopic cylinders. An illustration of a telescopic cylinder is given in Figure 18, showing how the three tubes are used to transport the fluid through the telescopic system. The associated diameters D and stroke length h are given in Table 5. Note that D i , m refers to the inner diameter of the middle tube, etc.
The inner tube allows for the a-side of all cylinders to be connected together, effectively making the cylinders connected in parallel, hydraulically. Mechanically, the booms are connected in series. The effective area and area ratio ϕ of the cylinders are given by
A a = π 4 · D i , o 2
A b = π 4 · D i , o 2 π 4 · D o , m 2
ϕ = A b A a
The hydraulic system for the telescopic cylinders is shown in Figure 19. The counterbalance valve is a special recirculating type, which effectively connects the a-side and b-side to the same pressure during the out-stroke motion. The workings of the telescopic circuit are shown in detail in Figure 20. Since the outer diameter of the middle tube is larger for cylinders 1 and 2, they have a smaller b-side area and will start moving first. The counterbalance valve has a rated flow of 70 L/min, and a pilot area ratio of 4. The directional control valve has a rated flow of 40 L/min.
To obtain the proper motion sequence of the telescopic cylinders as observed on the physical crane, the friction in each is adjusted such that the outer cylinders have slightly more friction. The inner cylinder has an estimated Coulomb friction of 10 kN and viscous friction of 2 kN· s/m. The outer cylinders have an adjusted viscous friction of 2.1, 2.2, and 2.3 kN· s/m, respectively. Figure 21 shows that the inner cylinder moves first, as is desired. It can also be seen that the velocities of cylinders 3 and 4 are slightly higher since they have a larger area ratio ϕ , which results in a higher Q a during the out-stroke motion.

6. Simulation Results

To verify the performance and feasibility of the static and dynamic deflection compensator, simulations are performed in the MATLAB Simulink® environment. A simplification of the flexibility is made by placing a rotational spring between the knuckle boom and first telescopic boom, illustrated in Figure 22. A similar approach was used in [26]. The deflection on the physical crane is due to many factors, such as structural flexibility, deformation of the sliding blocks between the booms, slack between the booms, and compression of the liquid in the cylinders. As such, an accurate model corresponding to the measured data is difficult to create, which is why a neural network is used to estimate the deflection in the first place. The purpose of the simplified model is to give the crane model an approximate static and dynamic deflection on which the developed compensator will be tested. Note that the neural network is simply re-trained to fit the measurements from the Simscape model in this section.
In the simulations, the crane is running path control, developed earlier in [22]. Three simulations are performed, one without load, one with load, and one with load and deflection compensation. A load impulse is done at t = 20 s. The crane is moving from [ x m , x k , x t ] T = [ 1.38 m , 1.8 m , 4 m ] T to [ 1.43   m , 1.85   m , 2   m ] T . Figure 23 shows the vertical position z T i p during simulations, as the deflection is largest in the z-direction. It can be seen that the static deflection is compensated for after 6 s. The dynamic deflection compensator quickly dampens the oscillations induced by the load impulse.
To investigate the effects of the deflection compensator, the change in cylinder position reference Δ x r e f = x ^ r e f x r e f from the static compensator and the control signal u c o m p from the dynamic compensator is shown in Figure 24. The static deflection compensator modifies the cylinder position reference by a few centimeters, varying smoothly with the cylinder positions. The effect of the dynamic deflection compensator is most prominent at the load impulse at t = 20 s, giving a rapid correction to dampen the oscillations.

7. Experimental Verification

Experiments are conducted on the HMF 2020K4 loader crane in the laboratory. The deflection compensator is implemented on a CompactRIO connected to the crane. A picture of the test setup is shown in Figure 25.
There is some deadband in the valves on the loader crane. Deadband compensation is implemented for the laboratory experiments. The deadbands are identified from the test and are shown in Table 6. The equation for the deadband compensator is shown in Equation (66). A small transition region u ˜ is introduced to keep the control signal continuous, which reduces unnecessary oscillations, and ensures that the valve will be able to stay closed when no movement is needed. Parameters used in the experiments are shown in Table 7.
u ^ = min u + + ( 1 u + ) u , u + u ˜ u if u > 0 max u + ( 1 + u ) u , u u ˜ u else
where
  • u ^ = compensated control signal
  • u = control signal
  • u + = out-stroke deadband
  • u = in-stroke deadband
  • u ˜ = transition region, 0.01.
The crane moves from [ x m , x k , x t ] T = [ 0.395   m , 0.6151   m , 4.168   m ] T to [ 0.4869   m , 0.6161   m , 2.015   m ] T while using the path controller. The path is run three times, one without load, one with load, and one with load and deflection compensation. A plot of the tip position in the x z -plane is shown in Figure 26, while the z-position versus time is shown in Figure 27. It can be seen that the compensator is able to compensate for the static deflection almost completely, in addition to removing the oscillations at the start and end of the motion. At the end of the path, the static deflection of the vertical coordinate of the crane tip, z T i p , is reduced from 56.8 mm to 5.7 mm, a 90% decrease.
To showcase the effects of the deflection compensator, the change in cylinder position reference Δ x r e f = x ^ r e f x r e f from the static compensator and the control signal u c o m p from the dynamic compensator is shown in Figure 28. The static deflection compensator modifies the cylinder position reference smoothly. The effect of the dynamic deflection compensator can be seen throughout the whole motion, actively suppressing oscillations.
To demonstrate the capabilities of the dynamic deflection compensator more clearly, a load impulse test is performed similar to the simulations. In this case, the position controller is disabled and only the dynamic compensator is activated. It can be seen in Figure 29 that the dynamic deflection compensator quickly dampens the oscillations. The slight drift at the end occurs simply because the position controller is deactivated during this test.

8. Conclusions

In this paper, a novel method for stable deflection compensation is introduced and implemented on a commercially available loader crane. The new method is verified both numerically via simulations and experimentally by conducting several path-following tasks that all clearly demonstrate the simultaneous effect of compensating for crane tip deflections while suppressing oscillations in the system. The deflection of the crane tip is first measured in the laboratory using a laser tracker. A neural network deflection estimator is designed and trained using backpropagation with training data from laboratory measurements. The relevant kinematic functions are derived for the static compensator and are used to transform the cylinder position reference from the actuator space to Cartesian coordinates. The estimated tip deflection is added to the reference, and inverse kinematics are then used to transform the modified reference from Cartesian space into actuator space. The dynamic compensator uses pressure feedback with an adaptive bandpass filter to extract the crane tip oscillations while allowing for steady-state variations. This signal is then used in a feedback loop to compensate for these oscillations.
Simulation results show that the static compensator is able to minimize the effects of the deflection and move the crane tip to a similar position as in the no-load case. The dynamic compensator is able to suppress the oscillations in both general path traveling as well as load impulse situations.
Laboratory experiments are conducted to evaluate the control system on the hydraulic loader crane in practice. Experimental results are similar to the simulations in that both the static and dynamic compensators are able to minimize the effects of the deflection and oscillations. The crane tip is able to follow the same position as in the no-load case with a 90% decrease in static deflection. In the laboratory, the control signal from the dynamic compensator successfully suppresses the oscillations during the entire motion.
Further work may include stability analysis of the neural network deflection estimator and adaptive bandpass filter. Since the system was tested with a heavy payload, the effects of lighter loads may also be investigated, for example, by adding another input to the deflection estimator representing the measured or estimated weight of the payload. Different types of neural networks may also be investigated, for example, dynamic neural networks. In addition, the novel method requires a mapping of the deflection and an estimate of the natural frequency of the crane. While the best results are obtained by physical measurements as presented in this paper, it is expected that simpler and less time consuming estimates can still yield significant improvement in accuracy and stability when implemented using the presented method.

Author Contributions

Conceptualization, K.J.J., M.K.E. and M.R.H.; methodology, K.J.J.; software, K.J.J.; validation, K.J.J.; formal analysis, K.J.J.; investigation, K.J.J.; data curation, K.J.J.; writing—original draft preparation, K.J.J.; writing—review and editing, K.J.J., M.K.E. and M.R.H.; visualization, K.J.J.; supervision, M.K.E. and M.R.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Norwegian Ministry of Education and Research grant number 155597. The APC was funded by the University of Agder.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Giorgio, I.; Del Vescovo, D. Non-Linear Lumped-Parameter Modeling of Planar Multi-Link Manipulators with Highly Flexible Arms. Robotics 2018, 7, 60. [Google Scholar] [CrossRef] [Green Version]
  2. Wanner, J.; Sawodny, O. A lumped parameter model of the boom of a mobile concrete pump. In Proceedings of the 2019 18th European Control Conference (ECC), Naples, Italy, 25–28 June 2019; pp. 2808–2813. [Google Scholar] [CrossRef]
  3. Sun, C.; He, W.; Hong, J. Neural Network Control of a Flexible Robotic Manipulator Using the Lumped Spring-Mass Model. IEEE Trans. Syst. Man, Cybern. Syst. 2017, 47, 1863–1874. [Google Scholar] [CrossRef]
  4. Rahimi, H.; Nazemizadeh, M. Dynamic analysis and intelligent control techniques for flexible manipulators: A review. Adv. Robot. 2014, 28, 63–76. [Google Scholar] [CrossRef]
  5. Lochan, K.; Roy, B.; Subudhi, B. A review on two-link flexible manipulators. Annu. Rev. Control 2016, 42, 346–367. [Google Scholar] [CrossRef]
  6. Subedi, D.; Tyapin, I.; Hovland, G. Dynamic Modeling of Planar Multi-Link Flexible Manipulators. Robotics 2021, 10, 70. [Google Scholar] [CrossRef]
  7. Lochan, K.; Roy, B.; Subudhi, B. Recursive Lagrangian dynamic modeling and simulation of multi-link spatial flexible manipulator arms. Appl. Math. Mech.-Engl. Ed. 2009, 30, 1283–1294. [Google Scholar] [CrossRef]
  8. Beres, W.; Sasiadek, J.; Vukovich, G. Control and dynamic analysis of multilink flexible manipulator. In Proceedings of the IEEE International Conference on Robotics and Automation, Atlanta, GA, USA, 2–6 May 1993; Volume 3, pp. 478–483. [Google Scholar] [CrossRef]
  9. Talebi, H.; Patel, R.; Asmer, H. Dynamic modeling of flexible-link manipulators using neural networks with application to the SSRMS. In Proceedings of the 1998 IEEE/RSJ International Conference on Intelligent Robots and Systems. Innovations in Theory, Practice and Applications (Cat. No. 98CH36190), Victoria, BC, Canada, 17 October 1998; Volume 1, pp. 673–678. [Google Scholar] [CrossRef]
  10. Comi, F.; Miguel, A.O.; Cavenago, F.; Ferretti, G.; Magnani, G.; Rusconi, A. Modelling, Validation and Control of DELIAN Flexible Manipulator. IFAC-PapersOnLine 2019, 52, 364–369. [Google Scholar] [CrossRef]
  11. Lozano, R.; Valera, A.; Albertos, P.; Arimoto, S. PD control of robot manipulators considering joint flexibility, actuators dynamics and friction. In Proceedings of the 1997 American Control Conference (Cat. No. 97CH36041), Albuquerque, NM, USA, 6 June 1997; Volume 5, pp. 2638–2641. [Google Scholar] [CrossRef]
  12. Newman, D.; Vaughan, J. Concurrent Design of Linear Control with Input Shaping for a Two-Link Flexible Manipulator Arm. In Proceedings of the 14th IFAC Workshop on Time Delay Systems TDS 2018, Budapest, Hungary, 28–30 June 2018; Volume 51, pp. 66–71. [Google Scholar] [CrossRef]
  13. Mohamed, Z.; Khairudin, M.; Husain, A.R.; Subudhi, B. Linear matrix inequality-based robust proportional derivative control of a two-link flexible manipulator. J. Vib. Control 2016, 22, 1244–1256. [Google Scholar] [CrossRef]
  14. Xu, Q.; Wang, W.; Xia, H.; Wang, Y.; Feng, Y. Second-Order Non-Singular Terminal Sliding Mode Optimal Control of Uncertain Flexible Manipulator. In Proceedings of the 2018 IEEE 8th Annual International Conference on CYBER Technology in Automation, Control, and Intelligent Systems (CYBER), Tianjin, China, 19–23 July 2018; pp. 1376–1381. [Google Scholar] [CrossRef]
  15. Lochan, K.; Roy, B.; Subudhi, B. SMC Controlled Chaotic Trajectory Tracking of Two-Link Flexible Manipulator with PID Sliding Surface. IFAC-PapersOnLine 2016, 49, 219–224. [Google Scholar] [CrossRef]
  16. Talebi, H.; Patel, R.; Khorasani, K. Inverse dynamics control of flexible-link manipulators using neural networks. In Proceedings of the 1998 IEEE International Conference on Robotics and Automation (Cat. No. 98CH36146), Leuven, Belgium, 20 May 1998; Volume 1, pp. 806–811. [Google Scholar] [CrossRef]
  17. Tang, Y.G.; Sun, F.C.; Sun, F.; Hu, T.L. Tip Position Control of a Flexible-Link Manipulator with Neural Networks. Int. J. Control Autom. Syst. 2006, 4, 308–317. [Google Scholar]
  18. Tang, Y.; Sun, F.; Sun, Z. Neural network control of flexible-link manipulators using sliding mode. Neurocomputing 2006, 70, 288–295. [Google Scholar] [CrossRef]
  19. Zhang, Y.; Yang, T.; Sun, Z. Neuro-sliding-mode control of flexible-link manipulators based on singularly perturbed model. Tsinghua Sci. Technol. 2009, 14, 444–451. [Google Scholar] [CrossRef]
  20. Li, S.; Wang, H.; Rafique, M.U. A Novel Recurrent Neural Network for Manipulator Control With Improved Noise Tolerance. IEEE Trans. Neural Netw. Learn. Syst. 2018, 29, 1908–1918. [Google Scholar] [CrossRef] [PubMed]
  21. Li, S.; Zhang, Y.; Jin, L. Kinematic Control of Redundant Manipulators Using Neural Networks. IEEE Trans. Neural Netw. Learn. Syst. 2017, 28, 2243–2254. [Google Scholar] [CrossRef] [PubMed]
  22. Jensen, K.J.; Kjeld Ebbesen, M.; Rygaard Hansen, M. Development of Point-to-Point Path Control in Actuator Space for Hydraulic Knuckle Boom Crane. Actuators 2020, 9, 27. [Google Scholar] [CrossRef] [Green Version]
  23. Jensen, K.J.; Ebbesen, M.K.; Hansen, M.R. Anti-swing control of a hydraulic loader crane with a hanging load. Mechatronics 2021, 77, 102599. [Google Scholar] [CrossRef]
  24. Jensen, K.J.; Ebbesen, M.K.; Hansen, M.R. Development of 3D Anti-Swing Control for Hydraulic Knuckle Boom Crane. Model. Identif. Control 2021, 42, 113–129. [Google Scholar] [CrossRef]
  25. Jensen, K.J.; Kjeld Ebbesen, M.; Rygaard Hansen, M. Adaptive Feedforward Control of a Pressure Compensated Differential Cylinder. Appl. Sci. 2020, 10, 7847. [Google Scholar] [CrossRef]
  26. Pedersen, M.M.; Hansen, M.R.; Ballebye, M. Developing a Tool Point Control Scheme for a Hydraulic Crane Using Interactive Real-time Dynamic Simulation. Model. Identif. Control 2010, 31, 133–143. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Illustration of the HMF 2020K4 loader crane.
Figure 1. Illustration of the HMF 2020K4 loader crane.
Robotics 11 00034 g001
Figure 2. Hydraulic system of the knuckle cylinder.
Figure 2. Hydraulic system of the knuckle cylinder.
Robotics 11 00034 g002
Figure 3. Control strategy with the novel deflection compensators highlighted in light blue.
Figure 3. Control strategy with the novel deflection compensators highlighted in light blue.
Robotics 11 00034 g003
Figure 4. Experimental setup in the lab. The laser tracker measures the crane tip position using the attached reflector. (a) Crane tip showing the telescopic boom, reflector, and payload, (b) Leica Absolute Tracker AT960.
Figure 4. Experimental setup in the lab. The laser tracker measures the crane tip position using the attached reflector. (a) Crane tip showing the telescopic boom, reflector, and payload, (b) Leica Absolute Tracker AT960.
Robotics 11 00034 g004
Figure 5. Crane tip position in x z -plane with and without load from laboratory measurements. Crane position illustrated in black with its three degrees of freedom.
Figure 5. Crane tip position in x z -plane with and without load from laboratory measurements. Crane position illustrated in black with its three degrees of freedom.
Robotics 11 00034 g005
Figure 6. Crane geometry showing joint angles, lifting radius R, telescopic length x t , and crane tip position.
Figure 6. Crane geometry showing joint angles, lifting radius R, telescopic length x t , and crane tip position.
Robotics 11 00034 g006
Figure 7. Crane geometry used with Denavit–Hartenberg parameters.
Figure 7. Crane geometry used with Denavit–Hartenberg parameters.
Robotics 11 00034 g007
Figure 8. Illustration of the main joint actuator kinematics.
Figure 8. Illustration of the main joint actuator kinematics.
Robotics 11 00034 g008
Figure 9. Curve fit for inverse actuator kinematics. (a) Curve fit for main cylinder, (b) Curve fit for knuckle cylinder.
Figure 9. Curve fit for inverse actuator kinematics. (a) Curve fit for main cylinder, (b) Curve fit for knuckle cylinder.
Robotics 11 00034 g009
Figure 10. Illustration of a single node.
Figure 10. Illustration of a single node.
Robotics 11 00034 g010
Figure 11. Overview of the neural network.
Figure 11. Overview of the neural network.
Robotics 11 00034 g011
Figure 12. Predicted deflection in x-direction δ x . Black dots show measured data from the laboratory. (a) Predicted δ x with x t = 2.973 m. (b) Predicted δ x with x t = 4.567 m.
Figure 12. Predicted deflection in x-direction δ x . Black dots show measured data from the laboratory. (a) Predicted δ x with x t = 2.973 m. (b) Predicted δ x with x t = 4.567 m.
Robotics 11 00034 g012
Figure 13. Predicted deflection in z-direction δ z . Black dots show measured data from the laboratory. (a) Predicted δ z with x t = 2.973 m. (b) Predicted δ z with x t = 4.567 m.
Figure 13. Predicted deflection in z-direction δ z . Black dots show measured data from the laboratory. (a) Predicted δ z with x t = 2.973 m. (b) Predicted δ z with x t = 4.567 m.
Robotics 11 00034 g013
Figure 14. Block diagram of the static deflection compensator.
Figure 14. Block diagram of the static deflection compensator.
Robotics 11 00034 g014
Figure 15. Crane tip oscillations from laboratory.
Figure 15. Crane tip oscillations from laboratory.
Robotics 11 00034 g015
Figure 16. Estimated crane natural frequency.
Figure 16. Estimated crane natural frequency.
Robotics 11 00034 g016
Figure 17. Section view of the telescopic system, from CAD model.
Figure 17. Section view of the telescopic system, from CAD model.
Robotics 11 00034 g017
Figure 18. Illustration of a telescopic cylinder.
Figure 18. Illustration of a telescopic cylinder.
Robotics 11 00034 g018
Figure 19. Hydraulic system for the telescopic cylinders.
Figure 19. Hydraulic system for the telescopic cylinders.
Robotics 11 00034 g019
Figure 20. Flows in the telescopic circuit. (a) Flows in the telescopic circuit during out-stroke motion. (b) Flows in the telescopic circuit during in-stroke motion.
Figure 20. Flows in the telescopic circuit. (a) Flows in the telescopic circuit during out-stroke motion. (b) Flows in the telescopic circuit during in-stroke motion.
Robotics 11 00034 g020
Figure 21. Motion sequence and velocity of the telescopic cylinders. (a) Position of each telescopic cylinder. (b) Velocity of the full telescopic system.
Figure 21. Motion sequence and velocity of the telescopic cylinders. (a) Position of each telescopic cylinder. (b) Velocity of the full telescopic system.
Robotics 11 00034 g021
Figure 22. Illustration of the simplified flexible model.
Figure 22. Illustration of the simplified flexible model.
Robotics 11 00034 g022
Figure 23. The vertical coordinate of the crane tip, z T i p , is plotted as a function of time for three different conditions.
Figure 23. The vertical coordinate of the crane tip, z T i p , is plotted as a function of time for three different conditions.
Robotics 11 00034 g023
Figure 24. Effects of the static and dynamic deflection compensator. (a) Change in cylinder position reference from the static deflection compensator, (b) control signal from the dynamic deflection compensator u c o m p , and motion controller u F F + u F B .
Figure 24. Effects of the static and dynamic deflection compensator. (a) Change in cylinder position reference from the static deflection compensator, (b) control signal from the dynamic deflection compensator u c o m p , and motion controller u F F + u F B .
Robotics 11 00034 g024
Figure 25. Experimental setup in the laboratory, showing the crane with a hanging load.
Figure 25. Experimental setup in the laboratory, showing the crane with a hanging load.
Robotics 11 00034 g025
Figure 26. Crane tip position in the x z -plane during motion in laboratory.
Figure 26. Crane tip position in the x z -plane during motion in laboratory.
Robotics 11 00034 g026
Figure 27. The vertical coordinate of the crane tip, z T i p , plotted as a function of time during motion in laboratory.
Figure 27. The vertical coordinate of the crane tip, z T i p , plotted as a function of time during motion in laboratory.
Robotics 11 00034 g027
Figure 28. Effects of the static and dynamic deflection compensator in laboratory. (a) Change in cylinder position reference from the static deflection compensator. (b) Control signal from the dynamic deflection compensator.
Figure 28. Effects of the static and dynamic deflection compensator in laboratory. (a) Change in cylinder position reference from the static deflection compensator. (b) Control signal from the dynamic deflection compensator.
Robotics 11 00034 g028
Figure 29. Load impulse test with only dynamic compensator activated.
Figure 29. Load impulse test with only dynamic compensator activated.
Robotics 11 00034 g029
Table 1. Dimensions shown in Figure 7.
Table 1. Dimensions shown in Figure 7.
NameLength [m]
l 1 0.250
l 2 1.569
l 3 2.400
l 4 0.070
l 5 2.429
l 6 0.093
Table 2. Denavit–Hartenberg parameters.
Table 2. Denavit–Hartenberg parameters.
R z T z T x R x
0 l 2 l 1 90
θ m 00 90
0 l 4 l 3 90
θ k 00 90
0 l 6 l 5 0
00 x t 0
Table 3. Lengths of the parts in the main linkage.
Table 3. Lengths of the parts in the main linkage.
NameLength [m]
l a 1.473
l b 1.514
l c 0.143
l d 0.490
l f 0.170
l g 0.340
Table 4. Curve-fitting coefficients for inverse actuator kinematics.
Table 4. Curve-fitting coefficients for inverse actuator kinematics.
CoefficientMainKnuckle
p 9 8.324 × 10 5 2.044 × 10 5
p 8 4.068 × 10 4 2.996 × 10 4
p 7 4.087 × 10 4 1.571 × 10 3
p 6 1.797 × 10 3 4.609 × 10 3
p 5 2.914 × 10 3 1.045 × 10 2
p 4 1.293 × 10 2 1.135 × 10 2
p 3 4.794 × 10 2 3.451 × 10 3
p 2 2.438 × 10 2 1.153 × 10 2
p 1 3.471 × 10 1 3.042 × 10 1
p 0 1.291 1.923
Table 5. Telescopic cylinder data, in [mm].
Table 5. Telescopic cylinder data, in [mm].
D o , o D i , o D o , m D i , m D o , i D i , i h
Cylinder 18070553520151885
Cylinder 28070553520151950
Cylinder 38070503420152000
Cylinder 48070503420152100
Table 6. Identified deadband for the actuators.
Table 6. Identified deadband for the actuators.
ActuatorOut, u + In, u
Main0.24−0.22
Knuckle0.20−0.31
Telescope0.33−0.33
Table 7. Parameters used in laboratory.
Table 7. Parameters used in laboratory.
DescriptionNameValue
Main feedback k p , m 15 m−1
Main out-stroke feedforward k f f , m + 30.16 s/m
Main in-stroke feedforward k f f , m 18.37 s/m
Knuckle feedback k p , k 20 m−1
Knuckle out-stroke feedforward k f f , k + 26.51 s/m
Knuckle in-stroke feedforward k f f , k 14.72 s/m
Telescope feedback k p , t 2 m−1
Telescope out-stroke feedforward k f f , t + 3.33 s/m
Telescope in-stroke feedforward k f f , t 3.7 s/m
Pressure feedback gain k p L 0.02 bar−1
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Jensen, K.J.; Ebbesen, M.K.; Hansen, M.R. Online Deflection Compensation of a Flexible Hydraulic Loader Crane Using Neural Networks and Pressure Feedback. Robotics 2022, 11, 34. https://doi.org/10.3390/robotics11020034

AMA Style

Jensen KJ, Ebbesen MK, Hansen MR. Online Deflection Compensation of a Flexible Hydraulic Loader Crane Using Neural Networks and Pressure Feedback. Robotics. 2022; 11(2):34. https://doi.org/10.3390/robotics11020034

Chicago/Turabian Style

Jensen, Konrad Johan, Morten Kjeld Ebbesen, and Michael Rygaard Hansen. 2022. "Online Deflection Compensation of a Flexible Hydraulic Loader Crane Using Neural Networks and Pressure Feedback" Robotics 11, no. 2: 34. https://doi.org/10.3390/robotics11020034

APA Style

Jensen, K. J., Ebbesen, M. K., & Hansen, M. R. (2022). Online Deflection Compensation of a Flexible Hydraulic Loader Crane Using Neural Networks and Pressure Feedback. Robotics, 11(2), 34. https://doi.org/10.3390/robotics11020034

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