Four-rotor lifting system trajectory control method under control saturation constraint
Through modeling and interference spectrum analysis of the quad-rotor lifting system, we designed a tracking differentiator and an uncertainty and interference estimator, and quantitatively selected controller parameters to solve the high-precision trajectory of the quad-rotor lifting system under control saturation constraints. tracking problems, achieving improvements in robustness and stability.
Patent Information
- Application Number
- CN202410799461.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-10-25
AI Technical Summary
The quad-rotor lifting system is difficult to achieve high-precision trajectory tracking under control saturation constraints, and existing methods are inefficient and involve experimental risks.
By modeling the quad-rotor lifting system, we design a tracking differentiator and a controller based on uncertainty and interference estimators. Combined with interference spectrum analysis, we quantitatively select controller parameters to eliminate cargo shaking interference and achieve robust control.
It achieves high-precision trajectory tracking of the four-rotor lifting system under control saturation constraints, reduces the difficulty of parameter adjustment, improves the robustness and stability of the system, and avoids system saturation problems caused by excessive control signals.
Smart Images

Figure CN118838367A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of quad-rotor automatic control, and more specifically, relates to a trajectory control method for a quad-rotor lifting system under control saturation constraints. Background Art
[0002] In recent years, the lifting system of quadcopters has been widely used in civil and military fields such as logistics delivery, underwater sampling, and military transportation. During transportation, considering that the rotational inertia of the quadcopter itself will not be changed, the cargo is usually transported by hanging with ropes, rather than directly clamping the heavy objects by the aircraft. Because it is necessary to overcome the additional gravity of the cargo to fly, the control signal generated by the quadcopter lifting system is often larger than that of a normal quadcopter flight, especially when flying at waypoints. However, when the quadcopter has control saturation due to its own structure, performance, and other reasons, the quadcopter lifting system will suffer from a decrease in control performance and even cause system instability due to the saturation constraint. This problem has not been effectively solved in the field of quadcopter lifting.
[0003] In the process of using the controller, as proposed in the patent "Robust Adaptive Control Method and System for Suspended Load System of Quad-rotor UAV" (Publication No. CN117518800A), parameters can often only be selected through experimental trial and error. Usually, there are multiple parameters in the controller and there is coupling between the parameters. The trial and error method is inefficient and has experimental risks. Therefore, it is necessary to study how to simplify parameter adjustment under the control of saturation constraints and realize robust control of high-precision trajectory tracking of the quad-rotor lifting system. Summary of the invention
[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a trajectory control method for a quad-rotor lifting system under control saturation constraints, which controls the operating trajectory of the quad-rotor by quantitatively selecting controller parameters to achieve the desired robustness.
[0005] To achieve the above-mentioned object of the invention, the present invention provides a trajectory control method for a quad-rotor lifting system under control saturation constraints, characterized in that it comprises the following steps:
[0006] (1) Model the quadrotor lifting system when lifting cargo;
[0007] The kinematic model of the quadrotor lifting system is:
[0008]
[0009] Among them, p i Indicates the position of the quadrotor in the three axes of x, y, and z; u i represents the acceleration of the quadrotor in three axes; fi It means that the quadrotor is disturbed by the shaking of the cargo in three axes;
[0010] The model of disturbance caused by cargo sway is expressed as:
[0011]
[0012] Among them, α x ,α y represents the two swing angles of the cargo on the x and y axes; L is the length of the rope used to lift the cargo; F pc is the tension on the rope; m p is the quality of the goods; x ,a y ,a z is the acceleration of the quadrotor drone in three axes; F dx ,F dy ,F dz It is the resistance encountered when the cargo is swaying;
[0013]
[0014] Among them, F d =[F dx F dy F dz ] T is the air resistance of the cargo in three axes; v p =[v px v py v pz ] T Represents the airspeed of the cargo; is the rotation matrix; sgn represents the sign function, K2, K1, K0 are the air resistance parameters;
[0015] (2) Design tracking differentiator and controller;
[0016] (2.1) Design a discrete tracking differentiator:
[0017]
[0018] Where k is the number of iterations, h is the integration step size; v0 is the reference signal; v1 is the smoothed reference signal; v2 is its corresponding differential signal; r and h0 are two adjustable parameters, and fst[] is a nonlinear function;
[0019] The nonlinear function fst(v1-v0,v2,r,h0) is defined as:
[0020]
[0021] Among them, a, d0, d, λ are intermediate variables;
[0022] (2.2) Design a controller based on uncertainty and disturbance estimator UDE:
[0023]
[0024] Among them, u i represents the controllers on the three axes, u di represents the feedforward term; k pi and k di represents feedback gain; Represents the tracking error in three axes; represents the interference estimation signal generated by UDE in three axes and satisfies:
[0025]
[0026] Among them, G i f (s) represents the transfer function in three axes and satisfies:
[0027]
[0028] Where s represents the S domain, T i >0 is an adjustable parameter that determines the bandwidth of UDE estimation;
[0029] (3) Determine the main distribution frequency band of cargo sloshing;
[0030] The air resistance parameters K2, K1, and K0 in the cargo sloshing model are determined by experimental data. Then, the Welch method is used to perform spectrum analysis on the interference caused by cargo sloshing on the quadrotor drone. According to the spectrum analysis results, it is concluded that the main distribution frequency band of the interference is f min ~f max Hz;
[0031] (4) Determine the controller parameter values based on the distribution frequency band of the interference;
[0032] (4.1), transform formula (8) to obtain:
[0033]
[0034] Among them, ω = 2πf represents the angular frequency, and f represents the frequency;
[0035] (4.2) Introducing the desired interference attenuation factor
[0036]
[0037] (4.3) According to the cargo shaking interference main frequency band f min ~f max Hz, if we want to eliminate at least σ0 interference in the frequency band, that is, Then determine the adjustable parameter T i The value of:
[0038]
[0039] (5) Given the reference trajectory and yaw angle of the quadrotor lifting system;
[0040] Given the reference trajectory of the quadrotor in three axes and the yaw angle ψ di (t);
[0041] (6) Substitute the reference trajectory into the tracking differentiator to obtain the actual reference trajectory;
[0042] Substitute the reference trajectories on the three axes into v0 in the tracking differentiator to obtain v1 and v2, where v1 is the actual reference trajectory p after smoothing on the three axes. di (t) = [p dx (t)p dy (t)p dz (t)] T ; v2 is p di The differential signal represents the reference speed of the quadrotor;
[0043] (7) The reference trajectory v1 and reference speed v2 generated by the tracking differentiator are brought into the designed controller to generate an acceleration control signal for the quadrotor. The motor speed on the quadrotor is then controlled by the acceleration control signal, so that the quadrotor lifting system flies according to the reference trajectory.
[0044] The object of the invention of the present invention is achieved in this way:
[0045] The present invention discloses a trajectory control method for a quad-rotor lifting system under control saturation constraints. First, the quad-rotor lifting system is modeled, and the interference to the system is analyzed to provide support for subsequent control design; then, a tracking differentiator is used to smooth the reference trajectory to avoid the problem of control saturation; then, a robust control method based on uncertainty and interference estimator is designed to effectively eliminate the shaking interference to the quad-rotor unmanned aerial vehicle during flight to achieve high-precision trajectory tracking, and finally, controller parameters are quantitatively selected according to the interference distribution frequency domain to control the running trajectory of the quad-rotor to achieve the desired robustness.
[0046] At the same time, the trajectory control method of a quad-rotor lifting system under control saturation constraint of the present invention also has the following beneficial effects:
[0047] (1) By introducing a zero-order air resistance to describe the equivalent air resistance caused by factors such as rope elasticity and knot friction, the problem of insufficient damping in the existing air resistance model when the cargo sways at a low swing angle is solved;
[0048] (2) Design a tracking differentiator to smooth the reference signal and convert the originally discrete waypoints into continuous trajectories, thereby avoiding the problem of system control saturation caused by large control signals when switching waypoints;
[0049] (3) Through the idea of interference estimation and compensation, the influence of external interference on the system can be effectively resisted, thereby achieving high robustness and high-precision trajectory tracking of the system;
[0050] (4) The present invention can quantitatively determine the size of the parameters to be selected by analyzing the frequency spectrum of the sway disturbance to which the quad-rotor is subjected when lifting cargo, thereby reducing the difficulty of adjusting the parameters in engineering applications and achieving simple monotonic parameter adjustment. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 It is a flow chart of a trajectory control method of a quad-rotor lifting system under control saturation constraint of the present invention;
[0052] Figure 2 It is a schematic diagram of the quadrotor lifting system;
[0053] Figure 3 It is the result diagram of spectrum analysis of interference;
[0054] Figure 4 This is the trajectory tracking result diagram. DETAILED DESCRIPTION
[0055] The specific implementation of the present invention is described below in conjunction with the accompanying drawings so that those skilled in the art can better understand the present invention. It should be noted that in the following description, when the detailed description of known functions and designs may dilute the main content of the present invention, these descriptions will be omitted here.
[0056] Example
[0057] Figure 1 It is a flow chart of a trajectory control method of a quad-rotor lifting system under control saturation constraints of the present invention.
[0058] In this embodiment, if Figure 1 As shown, the present invention provides a trajectory control method for a quad-rotor lifting system under control saturation constraints, comprising the following steps:
[0059] S1. Model the quadrotor lifting system when lifting cargo;
[0060] In order to realize the control of the quadrotor lifting system, first Figure 2 The quadrotor lifting system shown in the figure is modeled. We consider the kinematic model of the quadrotor lifting system to be a second-order system, which is expressed as:
[0061]
[0062] Among them, p i Indicates the position of the quadrotor in the three axes of x, y, and z; u i represents the acceleration of the quadrotor in three axes; f i It means that the quadrotor is disturbed by the shaking of the cargo in three axes;
[0063] The model of disturbance caused by cargo shaking is expressed as:
[0064]
[0065] Among them, α x ,α y represents the two swing angles of the cargo on the x and y axes; L is the length of the rope used to lift the cargo; F pc is the tension on the rope; m p is the quality of the goods; x ,a y ,a z is the acceleration of the quadrotor drone in three axes; F dx ,F dy ,F dz It is the resistance encountered when the cargo is swaying;
[0066]
[0067] Among them, F d =[F dx F dy F dz ] T is the air resistance of the cargo in three axes; v p =[v px v py v pz ] T Represents the cargo's airspeed; is the rotation matrix; sgn represents the sign function, K2, K1, K0 are the air resistance parameters;
[0068] In this embodiment, F d It consists of three parts, among which the second-order term -K2||v p ||v p / 2 is used to describe the drag on cargo at high airspeed; the first-order term - K1v pUsed to describe the drag on cargo at low airspeed; zero-order term -K0·sgn(v p ) describes the amount of resistance a cargo experiences at extremely low speeds.
[0069] In summary, it can be seen that in the air resistance model of cargo sway, an additional zero-order air resistance - K0·sgn(v p ) is used to describe the equivalent air resistance caused by factors such as rope elasticity and knot friction, and solve the problem of insufficient damping of the existing air resistance model when the cargo sways at a low swing angle;
[0070] S2. Design tracking differentiator and controller;
[0071] S2.1. To avoid the problem of control saturation during waypoint flight, we design a tracking differentiator to smooth the reference trajectory. Considering that the code is executed discretely in actual application, we use a discrete tracking differentiator, which is expressed as:
[0072]
[0073] Where k is the number of iterations, h is the integration step; v0 represents the reference signal; v1 represents the smoothed reference signal; v2 is its corresponding differential signal; r and h0 are two adjustable parameters, where parameter r determines the tracking speed of TD; h0 implements noise filtering, and its parameter size is selected to be the same as the program running step; fst[] is a nonlinear function;
[0074] The nonlinear function fst(v1-v0,v2,r,h0) is defined as:
[0075]
[0076] Among them, a, d0, d, λ are intermediate variables;
[0077] S2.2. Design a controller based on uncertainty and disturbance estimator UDE:
[0078]
[0079] Among them, u i represents the controllers on the three axes, u di represents the feedforward term; k pi and k di represents feedback gain; Represents the tracking error in three axes; represents the interference estimation signal generated by UDE in three axes and satisfies:
[0080]
[0081] in, Represents the transfer function in three axes. The transfer function must be strictly regular and stable to ensure the estimated signal It is physically realizable and bounded. According to the above requirements, the transfer function can be designed as:
[0082]
[0083] Where s represents the S domain, T i >0 is an adjustable parameter that determines the bandwidth of UDE estimation;
[0084] S3. Determine the main distribution frequency band of cargo sloshing;
[0085] The air resistance parameters K2, K1, and K0 in the cargo sloshing model are determined by experimental data. Then, the Welch method is used to perform spectrum analysis on the interference caused by cargo sloshing on the quadcopter. According to the spectrum analysis results, Figure 3 As shown, the main distribution frequency band of interference is f min ~f max Hz;
[0086] According to the laws of physics, the peak value of the sway disturbance depends on the length of the hanging rope and is slightly affected by the air resistance coefficient. It is worth noting that during the quadrotor hoisting flight, unless the quadrotor needs to perform very intense maneuvers or fly in a strong wind environment, the swaying of the heavy object is often at a relatively small swing angle. In this case of a small swing angle, the airspeed of the heavy object is very small. Compared with the comprehensive air resistance model, the first-order + zero-order air resistance model is more suitable to describe the air resistance of the heavy object in this case, because it is simpler than the comprehensive air resistance model while maintaining the high accuracy of the model. More importantly, based on the spectrum analysis results of the sway disturbance, the size of the parameters in the interference estimator can be quantitatively designed so that the robustness of the system can reach the expected indicators in advance.
[0087] S4. Determine the parameter value of the controller according to the distribution frequency band of the interference;
[0088] S4.1. Transform formula (8) to obtain:
[0089]
[0090] Among them, ω = 2πf represents the angular frequency, and f represents the frequency;
[0091] S4.2, the estimated performance of UDE is determined by filter 1-G f (s) stopband, or G fOnce the spectral distribution of the interference F(s) is known, the appropriate filter parameter T can be selected. i To ensure that the main frequency band of interference distribution can be 1-G f (s) is effectively filtered out, so that the interference estimation error is small enough. In order to quantitatively describe the interference estimation performance of UDE, the expected interference attenuation factor is introduced:
[0092]
[0093] S4.3. Interference of the main frequency band f according to the shaking of the cargo min ~f max Hz, if we want to eliminate at least σ0 interference in the frequency band, that is, Then determine the adjustable parameter T i The value of:
[0094]
[0095] S5, giving a reference trajectory and yaw angle of the quadrotor lifting system;
[0096] Given the reference trajectory of the quadrotor in three axes and the yaw angle ψ di (t);
[0097] S6, substituting the reference trajectory into the tracking differentiator to obtain the actual reference trajectory;
[0098] Substitute the reference trajectories on the three axes into v0 in the tracking differentiator to obtain v1 and v2, where v1 is the actual reference trajectory p after smoothing on the three axes. di (t) = [p dx (t) p dy (t) p dz (t)] T ; v2 is p di The differential signal represents the reference speed of the quadrotor;
[0099] S7, controlling the quadrotor lifting system to operate according to the reference trajectory;
[0100] The reference trajectory v1 and reference speed v2 generated by the tracking differentiator are brought into the designed controller to generate the acceleration control signal of the quadrotor. The motor speed on the quadrotor is then controlled by the acceleration control signal, so that the quadrotor lifting system operates according to the reference trajectory.
[0101] In this embodiment, we can analyze the stability of the quadrotor lifting system based on the designed controller. Substituting formula (6) into formula (1) and subtracting it from the reference system, we can get the tracking error dynamic equation of the system:
[0102]
[0103] Considering that the three axes of the quadrotor drone are similar, the subscript "i" used to represent the axis is omitted here to simplify the expression. The dynamic equation of the interference estimation error is expressed as
[0104]
[0105] The corresponding time domain expression is
[0106]
[0107] in represents the interference estimation error.
[0108] Obviously, when the system matrix A in formula (12) is Hurwitz, that is, k p >0,k d When >0, the system is stable.
[0109] In this embodiment, if Figure 4 The figure is a result diagram of the waypoint flight simulation by the method proposed in the present invention, wherein (a), (b), and (c) are the tracking effect diagrams of the quadrotor in three axes; (d) is the tracking trajectory of the quadrotor in three-dimensional space; and (e) is the Euclidean distance error curve between the quadrotor and the reference point. It can be seen that the present invention can achieve high-precision trajectory tracking.
[0110] Although the above describes the illustrative specific embodiments of the present invention to facilitate those skilled in the art to understand the present invention, it should be clear that the present invention is not limited to the scope of the specific embodiments. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations using the concept of the present invention are protected.
Claims
1. A trajectory control method for a quadrotor hoisting system under control saturation constraints, characterized in that: The following steps are involved: (1) Model the quadrotor lifting system when lifting cargo; The kinematic model of the quadrotor lifting system is: Among them, p i Indicates the position of the quadrotor in the three axes of x, y, and z; u i represents the acceleration of the quadrotor in three axes; f i It means that the quadrotor is disturbed by the shaking of the cargo in three axes; The model of disturbance caused by cargo shaking is expressed as: Among them, α x ,α y represents the two swing angles of the cargo on the x and y axes; L is the length of the rope used to lift the cargo; F pc is the tension on the rope; m p is the quality of the goods; x ,a y ,a z is the acceleration of the quadrotor drone in three axes; F dx ,F dy ,F dz It is the resistance encountered when the cargo is swaying; Among them, F d =[F dx F dy F dz ] T is the air resistance of the cargo in three axes; v p =[v px v py v pz ] T Represents the cargo's airspeed; is the rotation matrix; sgn represents the sign function, K2, K1, K0 are the air resistance parameters; (2) Design tracking differentiator and controller; (2.1) Design a discrete tracking differentiator: Where k is the number of iterations, h is the integration step size; v0 is the reference signal; v1 is the smoothed reference signal; v2 is its corresponding differential signal; r and h0 are two adjustable parameters, and fst[] is a nonlinear function; The nonlinear function fst(v1-v0,v2,r,h0) is defined as: Among them, a, d0, d, λ are intermediate variables; (2.2) Design a controller based on uncertainty and disturbance estimator UDE: Among them, u i represents the controllers on the three axes, u di represents the feedforward term; k pi and k di represents feedback gain; Represents the tracking error in three axes; represents the interference estimation signal generated by UDE in three axes and satisfies: in, Represents the transfer function in three axes and satisfies: Where s represents the S domain, T i >0 is an adjustable parameter that determines the bandwidth of UDE estimation; (3) Determine the main distribution frequency band of cargo sloshing; The air resistance parameters K2, K1, and K0 in the cargo sloshing model are determined by experimental data. Then, the Welch method is used to perform spectrum analysis on the interference caused by cargo sloshing on the quadrotor drone. According to the spectrum analysis results, it is concluded that the main distribution frequency band of the interference is f min ~f max Hz; (4) Determine the controller parameter values based on the distribution frequency band of the interference; (4.1), transform formula (8) to obtain: Among them, ω = 2πf represents the angular frequency, and f represents the frequency; (4.2) Introducing the desired interference attenuation factor (4.3) According to the interference of cargo shaking on the main frequency band f min ~f max Hz, if we want at least σ0 interference to be eliminated within the frequency band, that is, σ≥σ0, Then determine the adjustable parameter T i The value of: (5) Given the reference trajectory and yaw angle of the quadrotor lifting system; Given the reference trajectory of the quadrotor in three axes and the yaw angle ψ di (t); (6) Substitute the reference trajectories on the three axes into v0 in the tracking differentiator to obtain v1 and v2, where v1 is the actual reference trajectory p after smoothing on the three axes. di (t) = [p dx (t)p dy (t)p dz (t)] T ; v2 is p di The differential signal represents the reference speed of the quadrotor; (7) The reference trajectory v1 and reference speed v2 generated by the tracking differentiator are brought into the designed controller to generate the acceleration control signal of the quadrotor. The motor speed on the quadrotor is then controlled by the acceleration control signal, so that the quadrotor lifting system operates according to the reference trajectory.
