Abstract

In this research, a new method based on the equivalence of modal characteristics, differential flatness (DF), and active disturbance rejection control (ADRC) is proposed for the stabilization control of the long flexible arm (LFA). There are two major problems in the system of the LFA. The first problem is that the LFA is very prone to the multiple-mode coupling, while the control systems need as few sensors as possible. Another problem is that the structure of the LFA in practice is often complex and subject to various disturbances. Therefore, in this paper, the equivalent multirigid body dynamic model of a LFA is derived from the modal information of the equivalent rigid body model of the prototype. Then, the output values of the three tilt sensors are synthesized into an output based on the DF method. Finally, the effectiveness of the proposed method is verified through physical experiments. Compared with PID, the proposed method has shorter settling time. The LFA can be restored within 7 seconds under the ADRC, while it needs 90 seconds or more to calm down without the control.

1. Introduction

The application of the long arm structure in industrial and agricultural production is more and more extensive with the rapid development of the mechanical industry [14]. In the field of agricultural engineering, pruning and harvesting devices for high canopy are mostly made of lightweight materials to reduce costs and increase mobility. However, this results in low structural rigidity. In addition, with the improvement of energy-saving awareness and high maneuverability design requirements, lightweight design is the general trend. The vibration problem caused by significant flexibility brings troubles to the agricultural and engineering equipment. This poses a great challenge to the stability of long flexible arm structures.

LFA is subject to many disturbances such as working load, bumping, or wind. It takes too much time to stabilize by means of self-damping, which will seriously reduce working efficiency and even lead to serious accidents. Moreover, in the arm structure, the driving action point is located at the lower part of the arm, which leads to the multimode coexistence under the action of variable amplitude force. Vibration not only limits the working efficiency of the equipment but also becomes a serious hidden danger in the production process.

Several studies use the continuum model analysis method for dynamic modeling and response analysis of some beam structures. Weldegiorgis et al. [5] derived the model for a 0.3-metre-long cantilever beam using the system identification technique and then used the piezoelectric patches as the sensor and actuator to suppress the vibration of the beam. However, this method is difficult to be concise and effective due to the complex structure, uncertain contact condition, complex interference, and other factors in the real LFA. He et al. [6, 7] modeled the flexible arm and end-effector as a homogeneous cantilever beam and a concentrated mass and used the neural network control method in conjunction with the lumped spring-mass model to realize the stability of the flexible beam on the Quanser platform.

It is a practical goal to give a simple and quick way to get the dynamic model for the lower fundamental frequency flexible arm subjected to gravity and impact. In recent years, the pseudo-rigid body model (PRBM) method is widely used in the research of flexible body modeling [8, 9]. The pseudo-rigid body method has achieved remarkable achievements in the exact equivalent deformation of large deformation structures with flexible bodies [10]. We use the PRBM idea to carry out the dynamic equivalence in order to consider the complex and large-scale interference factors. Guided by the PRBM method, the rigid body equivalent of the flexible beam can be obtained by directly using the measured data as the output. Then, the LFA can be simplified by the equivalence of static deformation and the first two modes. The whole LFA is equivalent to three rigid segments, and the equivalent dynamic model including the single torque input and three-angle output is constructed to become an underactuated system.

Ramírez-Neria and coresearchers solved several kinds of underactuated mechanical systems successfully by using the differential flattening method combined with the ADRC or generalized proportional integral observer. Successful cases include the rotary inverted pendulum [11], wheel pendulum system, and underactuated mobile manipulators [12, 13], which have fully demonstrated the advantages of combining the dimension reduction processing of the differential flattening method with the active disturbance rejection compensation for internal and external disturbances. Sira-Ramirez [14] said that the flat output function is rather elaborate and complicated to give. For the convenience of engineering applications, we need to explore a relatively more direct way to obtain flat output variables.

As an important progress in the field of control engineering in the past two decades, ADRC is gradually understood and recognized by the industry. A large number of studies have shown that ADRC has good performance on complex linear or nonlinear systems with uncertainties [1517]. In order to deal with the uncertain internal or external disturbances and the higher-order ones caused by differential flattening, ADRC method can deal with these difficulties effectively and skillfully [18].

The contributions of this manuscript are as follows:(i)The modal equivalent method of transforming the LFA into the rigid body model is built.(ii)A differential flat output for the three-bar two-torsion-spring mechanism is constructed based on the differential flat principle, and a single-input single-output system model in the form of differential equations is established.(iii)Taking the differential flat output as the system output, PID and ADRC controllers are used to suppress the vibration under impact disturbance, respectively. The experiment is carried out on the long arm experimental device.

The rest of this paper is organized as follows: in Section 2, the modeling method of the equivalent rigid body model for the cantilever section of the LFA is described. In Section 3, the equivalent dynamic model analysis of three rods and two springs is carried out. Section 4 discusses the differential flatness method for the single-input multiple-output system. In Section 5, a single differential flat output and single torque input stabilization system with the linear active disturbance rejected control method is studied. In Section 6, the effectiveness of this method is verified by experiments, and the manuscript is concluded in Section 7.

2. Equivalent Model of the LFA

According to the principle of the mode superposition method, the lower modes are the main components of the dynamic response. The internal structure of the LFA is often so complex that it is difficult to build an accurate kinetic model according to the mechanism. In order to construct an algorithm with wide applicability, the LFA on the left side in Figure 1 is equivalent to the plane multirigid body and spring system on the right side according to the modal information. When the LFA is disturbed and shakes, the first and second modes are the most significant in the dynamic response process, so the LFA is regarded as a planar hinge mechanism composed of three rods and two torsion springs, which is shown in Figure 1. The multirigid body dynamic method is used to get the equivalent dynamic response of the continuum arm approximately. The symbols are defined as follows: θ0 is the expected elevation of the flexible long arm, θ1, θ2, and θ3 are the elevations of the equivalent rods relative to the horizontal plane, and li, mi, Ici, and ki represent the rod length, mass, moment of inertia according to the mass centers, and torsion spring stiffness of the ith rod in the equivalent mechanism, respectively. In order to simplify the derivation process, the torque at the bottom of the first rod is used to represent the force Fd acting at point O’.

The tilt sensor based on MEMS technology has been very cheap, even the price of the vibration detection type has been reduced to a hundred dollars, so it is used to collect kinematic information of the LFA in the process of vibration. In order to obtain more valuable dynamic information, we use the method of arranging tilt sensors at the root, middle, and top of the LFA to establish the feedback control system. The part between the fixed hinge point O of the LFA and the action point O' of the luffing support is usually stronger as the support part. Because the flexibility of this section is weak and ignored, it is directly represented as a rigid body. So, the segment OO' is taken as the first rod of the equivalent multirigid-body and spring (MRB&S) model.

Then, we need to determine the installation position on the LFA for every tilt sensor. Tilt sensor 1 can be installed at the root of the LFA at will, while for tilt sensor 3, it can be seen that the vibration of rod 3 can be obtained more significantly when it is installed at the end. The key task in this stage is to determine the installation location of tilt sensor 2, that is, to determine the value of lk1. Furthermore, we need to determine the mass and length of each rod in the equivalent model and the stiffness coefficient of the torsion spring.

The specific process is as follows: firstly, the length of two equivalent rigid bars and the sensor installation position on the LFA are determined by parameter matching according to the second-order mode shape of the continuous arm. The mass of two rigid bars and the stiffness coefficients of two equivalent torsion springs are unknown. Then, the static deformation of the cantilever section, the static moment at the root, and the mode shapes of the first two modes are used to determine the four undetermined coefficients.

2.1. Dynamic Model of the Two-Rod and Two-Spring Mechanism

We use the Euler–Lagrange formulism to derive the model of the system. The kinetic energy Ti and potential energy Vi of rod 2 and rod 3 are

The elastic potential energy of two equivalent torsion springs is

Substituting the terms in equations (1) and (2) into the Lagrange operator ,

According to the principle of Lagrange dynamics,

The equilibrium equation about is as follows:

Let be the initial value of the angle when the ith rod is in the static state, and of each rod occurs near its respective static values, and the angle increment deviating from the equilibrium position is small. It means that .

The differences between the elevation angles of the adjacent rigid bars are small, generally not more than 0.09 radians in the equilibrium state. Using the small deformation assumption for linearization, the value of (6) is approximately determined.

Then, equation (5) can be simplified as

2.2. Equivalent of Static Conditions

The static balance includes two aspects: one is the balance state of the static deformation of the cantilever section, and the other is the balance between the root bending moment and the moment caused by the mass of the arm. The static equilibrium deformation and modal shape information of the actual LFA can be obtained by experiment, analysis, or finite element calculation. In the state of static equilibrium, according to the balance relationship between the torsion of the equivalent springs and the gravity of the rigid rods, the following equation can be obtained:

Here, the two expressions can be merged into the following:

According to the triangular function formulas, we take the following approximation:

Equation (7) can be simplified as (11) when the center of each rod is at the mass center.where

2.3. Equivalent of Two Mode Shapes

The characteristic matrix of the undamped simple harmonic vibration of the mechanism composed of two rods and two springs can be expressed as

For a specific mode of a certain order, ratios R1 and R2 of the two tilt sensors’ values can also be obtained by experiments, physical operation, or finite element method. The mechanism with two rigid rods and two torsion springs can be equivalent to the extension of the LFA in the sense of dynamics. In addition to the equivalent natural angular frequency, it must also meet the equivalent mode shape. In the equivalent rigid body model, the natural angular frequency values of the corresponding modes are substituted into characteristic matrix B in (13), and the adjoint matrix is obtained. In each adjoint matrix shown in (14), any row vector of the matrix can be used as the mode vector expressed by angle values. Corresponding to the LFA in practice, ratios R1 and R2 of the two amplitudes corresponding to the position of tilt sensor 2 and tilt sensor 3 in the first two modes can be obtained by modal analysis or modal experiment.

Two equivalent equilibria (15) can be obtained by making the ratio of the row vector elements in the equivalent mode shape and the corresponding mode angle ratio of the cantilever section of the LFA.

In the state of static balance, to maintain the balance of the cantilever section, it is necessary to provide a static moment at the root, which is equal to the gravity moment. Therefore, there is the following equation:

By combining equations (9), (15), and (16), the mass of equivalent rods (m2 and m3) and the stiffness coefficients (k1 and k2) of equivalent torsion springs can be obtained by the numerical solution.

3. Equivalent Rigid Body Dynamic Model

After obtaining the equivalent two-bar and two-spring mechanism of the cantilever section, the whole equivalent three-bar and two-spring mechanism can be constructed by considering the parameters of the root section of the arm.

3.1. The Complete Lagrange Dynamic Model

The translational kinetic energy of the three rods is

The rotational kinetic energy of the ith rod around mass centers is

The potential energy of three links is

The elastic potential energy of two equivalent torsion springs is

The total potential energy of the system is

Substitute the terms in (17)–(21) into the Lagrange operator, and then use the Lagrange function to obtain ith Lagrange (22) for the generalized coordinate .

3.2. Linear Approximation

It is assumed that each angle vibrates in a small range near its static position . And when the springs are in the state of static balance, the following equation exists:

The static balance torque of the first link required to maintain the balance state is

The torque increment is . Ignoring the higher-order infinitesimal and then substituting (23) and (24) into (22), it will be expressed aswhere

4. Determination of the DF Output

For the single-input multiple-output (SIMO) model, the DF method is used to find an output, and the general controller is used to achieve the purpose of LFA vibration suppression. Under this idea, the dynamic relationship between the output variables in the underactuated system can make the system into a SISO form, which can be easily controlled.

4.1. Combination of 3 Tilt Angles

Equation (25) can be written aswhile

Premultiplying both sides of (27) by the inverse matrix , it will bewhere

In order to control the arm to be stable in a certain attitude, the three elevation angles will be balanced at a special situation under an angle command, so the linear combination of three tilt angle increments is used to form a differential flatness output, namely,

Premultiplying by at both sides of (29), the result is

In addition, the second derivative for both sides of (31) with respect to time is

4.2. Parameters of the DF Output

The core of the DF method is that the selected flatness output and its continuous multiorder derivatives can represent the m state variables and n input variables algebraically as a basis vector. It means that the flatness output and its derivatives are linearly independent, which can represent all the original state variables and input variables linearly to satisfy this condition [19]. Therefore, the flatness processing is to find an output y and its (m + n−1) derivatives so that the (m + n)-dimensional basis vector elements can represent all the state variables and input variables linearly. Here are three angular outputs and three derivatives of the angular outputs and a force input in formula (25), a total of seven variables must be expressed linearly by the vector basis of the flatness output F. Therefore, the differential flat output and at least the six-order differentiations are needed to decouple the original system.

On the contrary, is the only input; this means, under the only input, the other six variables must respond concurrently. In short, must be expressed by the fourth-order or much lower differential terms of F; otherwise, the second-order derivative term of angles must be expressed as a linear combination of more than six-order differential terms of F. When equation (33) contains only the second derivative of F and the increment of each angle, the system input cannot be decoupled in this case. So, the solution to equation (32) is to use the following constraints:

Under such a condition, (32) is transformed into (30).where

Let ; we can get

In this way, two undetermined coefficients can be represented only by p in the following equation:

Substituting (38) into (32), we can getwhere

Taking the second derivative of both sides of equation (39) gives the following result:

The first and third forms of (27) are combined with (39) and are arranged into the following form:

By solving equation (42), can be expressed by in the formula which contains the unknown variable p. Substitute into equation (41) to obtain the expression of . According to the need of solving, only the coefficient of in this expression is listed here.

Taking the same way as (34), let coefficient (43) be zero to eliminate the possible decoupling relationship between the fourth derivative of output F and the input torque. Then, we can get

The explicit expression of F can be obtained by substituting the value of p into (33), and then substitute the value of p into (41) to get the following equation:where

Taking the second derivative on both sides of (46),

By solving equations (31), (33), (39), (41), (45), and (47) simultaneously, the results can be obtained.

Substituting the variables in (48) into the first formula in (25), we can getwhere

So far, all the angles and their second derivatives in the dynamic model of the three-bar and two-spring mechanism can be expressed linearly by F and its first six derivatives; that is, when F is used as the controlled variable, the system is flat, that is, the system is controllable.

5. The ADRC System Based on the DF Output

The research of ADRC has experienced 30 years of exploration. A large number of studies have proved that dynamic systems, linear or nonlinear, under some conditions can be transformed into the canonical form of cascade integrators via feedback [20, 21]. This makes the control system have excellent ability to resist internal and external disturbances, even if the information of the model is very scarce.

The vibration-suppressing control system for the LFA based on ADRC, as shown in Figure 2, is constructed after the output of the controlled object is synthesized into the DF output.

We are more focused on the fast stabilization method of the low-frequency large-amplitude oscillation. In order to avoid the more complex response caused by substituting the high-order terms into the controller and make full use of ESO’s strong points [16], the high-order term together with the error caused by the linearization of the model and other neglected unmodeled uncertainties (ψ) and unknown external disturbance (D) are regarded as the integrated disturbance; that is, .

Then, formula (49) can be written aswhere

5.1. The Extended State Observer (ESO)

We refer to the basis of linear ADRC theory [22, 23]; consider f as an extended state, and it is differentiable; that is, .

Then, the extended system can be expressed aswhere

The Luenberger observer shown in equation (55) is used to observe the state of system (53) and the extended state variable f.

The linear ADRC structure is used to place the poles at (), while is named as the bandwidth of the observer. It means .

Then, the observer gain is

5.2. The Controller

Based on observer (55) configured by (56), the system (A-BK) is asymptotically stable, which means that the generalized disturbance estimated by the observer can be used for compensation in the controller so that the generalized disturbance itself can be rejected. By using the reasonable control law for the feedback control, the system will be simplified as a canonical form of cascade integrators.

Therefore, the control law is designed as

Use (59) to set the eigenvalue of the feedback controller (A-BK) at .

By substituting right model information into the controller, the tuning range will be smaller; more importantly, the burden of the observer can be effectively reduced [24, 25]. The tuning of system parameters becomes simple; only and need to be adjusted. To a certain extent, the wider the stability threshold of the observer is, the more stable the system is. This method, also known as the grey box method, is a way to utilize model information as much as possible in the model-free control process, which is also a beneficial development of ADRC thinking.

6. The Prototype Experiment Based on the DF Output

Equipment required for mechanized pollination of high branches in agricultural production is shown in Figure 3. The working scenarios of the LFA include high crown pruning, flower thinning, and picking. The overall arm length is 4.9 m, the length of the cantilever section above the hinge point of the electric cylinder is 4.2 m, the hollow square aluminum tube used is 30 mm in section width, 20 mm in section height, and 2 mm in wall thickness, and the section moment of inertia is .

6.1. The Equivalent of the Cantilever Part
6.1.1. Determination of the Rod Length and Sensor Installation Position

The cantilever section of the research object is a structure with uniform material and constant cross section, and the first two natural frequencies are obtained by using the partial differential equation method [26].where material elastic modulus is E = 27 GPa, length density is , and the constant terms . It can be concluded that the natural angular frequencies of the first two modes are

The function of the first two modes is

The mode function of the second mode and its first and second derivative curves are shown in Figure 4. The first derivative of the second mode equation is zero at point A1 with an extension of 1.98 m. Then, according to the point where the second derivative of the second mode function is zero, the point with the most significant change of the rotation angle in the vibration process is determined as the installation position of tilt sensor 2. The second derivative of the second-order mode curve equation of the beam is zero at the A2 point which is 0.91 m away from zero; it means lk1 = 0.91 m, and tilt sensor 3 is installed at the end of the beam.

6.1.2. Determination of Equivalent Model Parameters

The static deformation of the cantilever part of the LFA under the effect of self-weight can be obtained by finite element analysis or direct analysis or experimental measurement for the beam with constant cross section. In this paper, a statically balanced attitude is selected randomly. The optional elevation angles corresponding to each sensor position are

According to the Euler beam theory, the derivative of the deflection curve of the beam can express the angle of the section, so the derivative of the mode function can express the natural mode of vibration in the form of angle. The first derivative of the first-order mode function of the cantilever section of the LFA is calculated by using (62), and the ratio of angular mode function at A2 and A1 is R1 = 1.47. Similarly, taking the first derivative of the second-order mode function, the angle ratio between A2 and A1 is R2 = −2.05.

Equations (9), (16), and (18) contain two equivalent masses and two equivalent torsion spring stiffness. In addition, the part between the two hinged joints at the bottom of the long arm is relatively strong, so it is regarded as a rigid segment, and its mass and length are directly measured. In this way, eight necessary parameters of the equivalent model for the rods and springs of the LFA are determined quickly and effectively, as shown in Table 1.

6.2. The Experiment and Result
6.2.1. Determination of the Parameter for the DF Output

By substituting the constants in Table 1 into (44), the value of p is 0.3562, and the coefficients of DF can be obtained: . Due to the influence of elevation, operating load, and other conditions, the static balance condition under different attitudes is not easy to specify continuously and accurately. It is unrealistic and unreliable to set the target angle for the sensor position corresponding to each equivalent bar. Under the assumption that the vibration process is small angle deformation, an overall target elevation angle is used as the unified target for the three rods. In this way, we can get the differential flat output as . The purpose is to make F close to zero as soon as possible by controlling the torque .

6.2.2. Uncontrolled Free Vibration

An impact is applied in the middle of the LFA, and a swing of about 9° amplitude is produced at the endpoint while keeping the drive motor locked during the experiment. Figure 5 depicts the process of free vibration and gradual attenuation. Since there is no complete constraint between the track chassis and the ground, it can be seen from the data of tilt sensor 1 that the whole arm vibrates significantly under the severe impact at the initial stage, which even causes the chassis to swing. Another problem is that the effect of damping is not considered in the process of control model derivation, but the actual experimental object has its own weak distributed damping characteristics, so the LFA stabilizes slowly without any control. After being impacted, the arm needs about 90 seconds to stabilize slowly until the end vibration amplitude is less than 1°.

6.2.3. PID Controller Experiment

The control factors of a traditional PID controller are obtained by using the turn tool. The PID controller coefficients are as follows: proportion coefficient of 8, differential coefficient of 4, and integral coefficient of 0.2. The Bode diagram of the closed-loop system is shown in Figure 6. We can see that the phase margin is 69. In order to suppress the low-frequency residual vibration rapidly, the system can be stable between the first and second natural frequencies.

The PID controller with a proportion coefficient of 8, differential coefficient of 4, and integral coefficient of 0.2 is adopted. It can be seen from the response curve of Figure 7 that the initial impact makes the endpoint vibrate with an amplitude of about 8°. It takes 9 seconds for the terminal to reach the state of amplitude close to 1°. After that, the relatively stable stage is in the state of small-amplitude high-frequency vibration. In order to prevent more violent dynamic response, the gain used in this experiment is relatively small. The PID controller uses high-frequency response to compensate the angle deviation. Comparing Figures 5 and 6, it is obvious that although this method can eliminate the jitter of large amplitude, the vibration frequency of small amplitude is more than twice that of free vibration.

6.2.4. ADRC Experiment

It is an attractive advantage of ADRC to substitute model information into the controller to reduce the burden of the observer. Here, eight values of the mass and length of the equivalent rigid body model and the stiffness coefficient of the equivalent torsion spring are substituted into (51), and the two important results are obtained here: .

Take these two values into controller (60), and set the observer bandwidth as 1.1 and the controller bandwidth as 1.32. The experimental effect is shown in Figure 8. The impact load is also applied in the middle of the LFA, which makes the end jitter about 10°. It took six seconds for the control system to reduce the amplitude to less than 3°. It is worth noting that, in this way, the records of the second and third tilt sensors show that the oscillation frequency is less than 1 Hz. After 9 seconds, the amplitude dropped to less than 1°. The duty cycle of the controller output is close to 0.9, which shows that the torque capacity of the motor is utilized well.

7. Conclusion

It is simple and effective to establish a multibody dynamic model to characterize the LFA by means of statics and mode equivalence. The linear independence method is used to obtain the differential flat output from the three outputs, which makes the system a SISO structure. The controller based on the ADRC principle makes full use of the information of the model and skillfully uses the high-order dynamic model obtained from the differential flat output in the form of the extended state observer. The effectiveness and superiority of the method are shown in the experiment of the physical model. The control system based on the equivalent rigid body model, differential flatness, and ADRC can give full play to the ability of driving components and significantly reduce the switch frequency of the motor.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Acknowledgments

The authors thank the Ministry of Finance and The Ministry of Agriculture, PRC, for funding this work through the Chinese Agricultural Research System (CARS-27).