This work introduces the foundation of a new class of input shaping algorithm, designed based on the particle swarm optimisation. This algorithm is utilised to control the residual vibrations in the crane system. The motivation is the development of simple algorithms and architecture for controlling the motion in under-actuated nonlinear systems with minimal modelling effort. By recording the payload swing signal of the crane only once, the approach can automatically calculate the optimisation amplitude and time locations of the impulses required by a common zero-vibration-derivative (ZVD) technique. In this work, we use this algorithm to design a ZVD shaper for controlling the motion of an under-actuated nonlinear crane model system. We validate the approach using experiments. If this algorithm is implanted into the embedded system and applied to the actual crane, which will solve the problem of the traditional ZVD parameter adjustment and improve the vibration suppression effect of the ZVD Algorithm.
- Vibration suppression
- Particle swarm optimisation
Cranes have been a critical component of many industries. There have been dramatic improvements in crane payload capacity during their history , but one major problem is shared between today's cranes and the cranes of centuries ago: payload oscillation. To solve the problem, some efficient vibration suppression algorithms have been developed. As one of the most efficient algorithms, input shaping had been used for vibration suppression of crane from 2000s [2, 3]. The algorithm was proposed to reduce vibration by slightly modifying the reference command through convolution of it with a series of impulses. Until the early 1990s, Signer et al. improved the robustness of this method, which allowed the algorithm to be applied. After that, Singhose, Seering and Singer proposed an extremely insensitive method to improve the robustness of the system . Since then, input shaping has gradually formed a variety of methods. These include negative unity-magnitude (UM) shaping, specified-negative-amplitude (SNA) shaping, negative zero-vibration (ZV)shaping , negative zero-vibration-derivative (ZVD)  and shaping and negative zero-vibration-derivative–derivative (ZVDD) shaping.
Input shaping has been applied to a wide variety of cranes [6, 7], including bridge, tower and boom crane [8, 9]. As an open-loop algorithm, the input shaping algorithm is simple and efficient, and no additional sensors (or estimation algorithms) are needed. But the parameters of input shaping are difficult to determine. For example, there are five parameters to be determined in the algorithm of ZVD shaping, and they are coupled with each other. The best way to find the parameters of ZVD shaping is to build the model of crane system [10, 11]. But as an under-actuated system, the dynamics are highly nonlinear and complex . Especially in the actual hoisting, the payload parameters and states are therefore difficult to measure. As a result the difficulty in measuring the payload parameters becomes an even larger problem.
In order to decrease the difficulty of parameter selection, many scholars focus on improving the robustness of input shaping algorithm [13, 14]. The robustness of the algorithm is increased by adding constraints, such as ZVDD. However, by contrast, the sensitivity of the algorithm is reduced and the dynamic performance of the system is sacrificed. Therefore, it is more important to find the parameters accurately than to improve the robustness of the input shaping algorithm. Recently, scholars have paid attention to the method of parameter selection of ZVD shaping [10, 15]. For instance, Vaughan J. proposed a method of designing input shaping based on the length of suspension cable only, and studied the accuracy of these estimates by simulation and experiment. Ha M. estimated the effect of the natural frequency error for residual vibration of flexible beam in ZV, ZVD and ZVDD shaping. Nonetheless so far, no efficient and accurate method has been proposed.
In this work we use an under-actuated nonlinear crane as the model system, and propose an automatic parameter selection ZVD (APS-ZVD) shaping algorithm based on particle swarm optimisation (PSO). Then, we verified the effectiveness of this algorithm by experiments, where the vibration has been suppressed by 89.85%. The vibration suppression frequency calculated by the APS-ZVD shaping algorithm agreed very well with the resonant frequency of the model system. The APS-ZVD shaping algorithm is simple and efficient, no modelling is required and it is easy to be implemented in engineering.
The amplitude of these three impulses are defined as
According to the difficulty of parameters selection in the traditional ZVD shaping algorithm, we proposed an APS-ZVD shaping algorithm for crane vibration suppression based on particle swarm optimisation. The APS-ZVD shaping algorithm comprises three parts: signal acquisition, evaluation and particle swarm optimisation, as shown in Figure 1. This algorithm comprises the following steps:
A square-wave speed command A(t) is entered to the transfer function of ZVD input shaper The suppressed pendulum angles The e(t) are evaluated by transfer function of evaluation The evaluated results are feedback to the PSO as the fitness values; According to the fitness values, PSO adjusts the parameters ( Repeat steps 2–6 to find the optimal parameters of Finally, the optimal
A square-wave speed command
A(t) is entered to the transfer function of ZVD input shaper
The suppressed pendulum angles
The e(t) are evaluated by transfer function of evaluation
The evaluated results are feedback to the PSO as the fitness values;
According to the fitness values, PSO adjusts the parameters (
Repeat steps 2–6 to find the optimal parameters of
Finally, the optimal
We input a square-wave speed signal to the system to let the trolley move for a short time, and collect the pendulum angle during the movement. The speed and acceleration of the trolley's movement should be as large as possible so as to do not damage the system. Because a short-time motion with a large acceleration contains enormous low-frequency vibration energy, under this circumstance the low-order resonance frequency of the system can be fully stimulated. In this way, the pendulum angle can be used to translate the characteristics more accurately.
As shown in Equations (1–6), there are five parameters to be optimised,
The evaluation function should be able to evaluate the impact of adjustment time, amplitude and overshooting on the crane system. Considering the above factors, the design evaluation function can be written as Equation 8:
The particle swarm optimisation algorithm is described as:
In order to simulate the real crane structure, an experimental platform was built, as shown in Figure 8. The platform comprises a servo motor, a pendulum (14.5 mm) and a payload (0.05 kg). The encoder records the swing angle of the pendulum.
Figure 3 shows the swing angles of pendulum recorded at the trolley's speed of 480 mm/s. It can be seen that the swing angle of the pendulum was very large (35 o) when the trolley stops at the beginning (at 4.5 s), then it decreased gradually until 0 o at 12.4 s.
The recorded swing angles of pendulum were input to APS-ZVD (as described in Figure 2). The key parameters of APS-ZVD algorithm
Initial parameters of PSO
Figure 5 shows the fitness curve of PSO. After 10 iterations, the final fitness value stabilised at 26.68. Compared with 44.6 in the first iteration, the fitness value decreased by 40.17%.
The optimisation curves of parameter
We put the achieved C(t) in front of the model system to verify the effect of APS-ZVD, the swing angles of pendulum with APS-ZVD and without APS-ZVD as shown in Figure 8. With APS-ZVD, the time to stop swinging is shortened from 7.9 s to 1.26 s, and the maximum swing angle is decreased from 35° to 6.6°.
We next quantified the swing energy of the pendulum with and without the APS-ZVD using Equation 13:
We did the Fourier transform for the swing of the pendulum and found the resonance frequency to be 1.4 Hz (shown in Figure 9, blue). We also detected the sensitivity curve of APS-ZVD (shown in Figure 9, green), and found the optimal frequency of the suppression is 1.38 Hz, which is matched very well with the resonance frequency of the pendulum. The Fourier transform for the swing of the pendulum with APS-ZVD is also plotted in Figure 7, shown in the red, where the swing amplitude has been sharply reduced by the order of three.
In the actual hoisting, usually the position of trolley and the length of cable are changed frequently, which affects the vibration suppression effect. Thus, we changed the pendulum length to detect the suppression effect of optimal parameter found by APS-ZVD, and the results are as shown in Table 2. In Table 2, Pendulum 1 is the original one which is used to generate the optimal parameters. The length of Pendulum 2 is extended by 6.9% compared to 1, and the length of Pendulum 3 is shortened by 13.8% compared to 1. The parameters found by the APS-ZVD algorithm based on the length of Pendulum 1 were used in all three experiments (
Vibration suppression effect
In the case of Pendulum 3, the pendulum length changed by 13.8% compared to 1; the damping percentage of APS-ZVD shaper can still achieve 62%, and the peak swing angle and the adjusting time of residual vibration did not change significantly. The comparison shows that the robustness of the selected parameters can be ensured by our designed APS-ZVD algorithm.
In this work, an APS-ZVD shaper based on particle swarm optimization algorithm has been put forward. The key advantage of this algorithm is that by collecting the swing angle of the crane system once, the algorithm can calculate the ZVD parameters automatically. The experimental results show that the central suppression frequency of APS-ZVD matched very well with the resonance frequency of the model crane system, and vibration suppression effect was obtained and the maximum reduction can reach 89.85%. The accuracy and robustness of the selected parameters of the APS-ZVD algorithm have been verified in both time and frequency domains. We believe the proposed APS-ZVD algorithm will provide a new idea for the application of ZVD shaper in the crane industry.
Initial parameters of PSO
Vibration suppression effect