A control method for five-degree-of-freedom tower crane based on dynamic constraint control
By constructing the dynamic model and design performance boundary of the tower crane, combined with the third-order filter and constraint matrix function, the dynamic constraint control of the tower crane is realized, the constraint problem of the non-driven state is solved, and the stability of the system is improved. and efficiency, significantly enhancing anti-swing capability and robustness.
Patent Information
- Application Number
- CN202411087400.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-08-09
AI Technical Summary
Existing tower crane control methods are difficult to achieve effective constraint control of the non-driven state. Especially when facing external uncontrollable factors such as wind resistance, system stability and efficiency may decrease, and it is difficult to achieve rapid and accurate control of the cantilever, trolley and rope. Tracking and load sway prevention.
Construct a dynamic model of a five-degree-of-freedom tower crane through the Lagrangian method, design the performance boundary and use a third-order filter to obtain the performance boundary adjustment rules, construct a constraint matrix function, and build a virtual controller based on sensor data to achieve load swing control. The angle is dynamically constrained, and the actual controller is used to perform synchronous control of the driving state and the non-driving state.
It achieves smoother and more effective dynamic control and can quickly position the cantilever, trolley and rope. The maximum load swing angle is controlled at 1.41°, which significantly improves the anti-swing capability. The performance boundary can be dynamically expanded or converged to keep the load within the performance boundary. , which improves the robustness of the system.
Smart Images

Figure CN118597981B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of five-degree-of-freedom tower crane control, and in particular relates to a five-degree-of-freedom tower crane control method based on dynamic constraint control. Background Art
[0002] Tower cranes play a very important role in engineering construction with their high load-bearing capacity and flexibility. In actual working environments, due to the influence of external uncontrollable factors such as wind resistance, the stability and efficiency of the system during operation may decrease, or even get out of control, so it is necessary to constrain each state of the system within safety limits. For tower crane systems, they have the characteristics of being under-driven, so it is a challenge to simultaneously achieve fast and accurate tracking of the driven state (cantilever, trolley and rope) and anti-sway of the non-driven state (swing angles in both directions of the load).
[0003] Two important indicators for measuring the control effect of tower crane controllers are tracking error accuracy (the positive difference between the actual and expected values of the cantilever, trolley and rope lengths) and the swing amplitude of the load in both directions. The constraint control methods for tower crane systems can be mainly divided into funnel control, obstacle Lyapunov function and preset performance. Most of the existing constraint control methods convert state constraints into error constraints for design, which makes it difficult to achieve constraint control of non-driven states and are rarely applied to tower crane systems. Summary of the invention
[0004] The technical problem to be solved by the present invention is to make up for the deficiencies of the prior art and provide a five-degree-of-freedom tower crane control method based on dynamic constraint control.
[0005] To solve the above technical problems, the technical solution of the present invention is:
[0006] A five-degree-of-freedom tower crane control method based on dynamic constraint control comprises the following steps:
[0007] Step S1: construct a dynamic model of a five-degree-of-freedom tower crane by using the Lagrangian method and perform system transformation;
[0008] Step S2: By designing the performance boundary, the load swing angle vector is always constrained within the performance boundary. The performance boundary is obtained by a set of third-order filters, and a performance boundary adjustment rule is constructed for the third-order filters; a constraint matrix function is constructed based on the load swing angle vector and the performance boundary;
[0009] Step S3: obtaining the actual position through the sensor, the actual position includes the cantilever swing angle, the trolley position and the rope length; setting the expected position, the expected position includes the expected cantilever swing angle, the expected trolley position and the expected rope length; taking the difference between the actual position and the expected position as the position error, and constructing the first error function by coupling the load swing angle vector and the position error; constructing a virtual controller according to the first error function, the constraint matrix function, the load swing angular velocity vector and the change in the expected position;
[0010] Step S4: taking the difference between the change of the driving state quantity and the virtual controller as the second error function; constructing the actual controller according to the first error function, the second error function and the virtual controller.
[0011] Furthermore, in step S1, the dynamic model of the five-degree-of-freedom tower crane is:
[0012] (1);
[0013] in, is the state vector of the system, and ; is the cantilever swing angle, It is the position of the car. is the rope length, It’s time; is the swing angle of the load in the horizontal direction of the cantilever, is the swing angle of the load in the vertical direction of the cantilever;
[0014] is the system damping vector, and ; , and are the friction coefficients of the cantilever, trolley and rope respectively. is the friction coefficient between the load and the air when the cantilever swings horizontally, It is the friction coefficient between the load and the air when the cantilever swings in the vertical direction; is the speed of the cantilever when it rotates, is the speed of the car when it moves, is the speed at which the rope is raised and lowered, is the speed at which the load swings in the horizontal direction of the cantilever. is the speed at which the load swings in the vertical direction of the cantilever;
[0015] is the control input vector, and ; and They are the control torque of the boom, the driving force of the trolley and the driving force of the rope;
[0016] is the gravity vector, is the inertia matrix, is the centripetal-Coriolis force matrix.
[0017] Furthermore, in step S1, record:
[0018] ;
[0019] ;
[0020] Then formula (1) can be rewritten as:
[0021] (2);
[0022] After system transformation, formula (2) becomes:
[0023] (3);
[0024] in, , ; ;
[0025] is the torque of the control system, , and They represent the control torque of the boom, the driving force of the trolley and the driving force of the rope respectively; is the actual output of the system.
[0026] Furthermore, in step S2, the performance boundary is:
[0027] (4);
[0028] in, 1,2;
[0029] The load slew angle vector is always constrained within the performance boundaries: - ;
[0030] The third-order filter is:
[0031] (5);
[0032] in, is the output of the first filter, is the output of the second filter, is the output of the third filter; is the initial value of the first filter, is the initial value of the second filter, is the initial value of the third filter;
[0033] is the adjustment factor, , and is a positive constant;
[0034] The performance boundary adjustment rule is:
[0035] (6);
[0036] in, and is the design parameter, and , ; is the expected steady-state value of the boundary, and >0;
[0037] is a design parameter, and , is the expected dominant pole, is the first expected non-dominant pole, is the second expected non-dominant pole;
[0038] By configuration To calculate 、 , ,as follows:
[0039] Construct the actual characteristic polynomial of a third-order filter:
[0040] (7);
[0041] in, is a variable;
[0042] Construct the ideal characteristic polynomial of a third-order filter:
[0043] (8);
[0044] make , we can get:
[0045] (9);
[0046] Based on the properties of the first-order steady-state linear system, let is the time constant, is the time for the performance boundary to converge to within the 2% error band of the steady-state value; then , according to the principle of dominant pole configuration, , ;
[0047] According to formula (9), we can get 、 , ;
[0048] The constraint matrix function is:
[0049] (10);
[0050] in, is the design parameter, and , .
[0051] Further, in step S3, the position error is:
[0052] (11);
[0053] in, is the desired position vector, and , is the desired cantilever swing angle, is the desired car position, is the desired rope length;
[0054] The first error function is:
[0055] (12);
[0056] in, is a 3×3 dimensional positive definite matrix, is a 3×2 dimensional positive definite matrix,
[0057] The virtual controller is:
[0058] (13);
[0059] Further, in step S4, the second error function is:
[0060] (14);
[0061] The actual controller is:
[0062] (15);
[0063] in, ;
[0064] is a 3×3 positive definite matrix.
[0065] An electronic device comprises: a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the above-mentioned five-degree-of-freedom tower crane control method based on dynamic constraint control are performed.
[0066] A computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the steps of the above-mentioned five-degree-of-freedom tower crane control method based on dynamic constraint control.
[0067] The beneficial effects that can be achieved by the present invention are:
[0068] (1) The designed performance function is obtained through a set of third-order filters, which satisfies the differentiability of the performance function and can achieve smoother and more effective dynamic control. The effect is shown in Figure 7-Figure 8 .
[0069] (2) A performance boundary adjustment rule is constructed for the third-order filter, so that the performance boundary can be dynamically expanded or converged according to the distance between the load swing angle and the performance boundary, so that the angle is always kept within the performance boundary, effectively preventing the load swing angle from breaking through the performance boundary; at the same time, when the swing angle returns to the equilibrium point, the performance boundary can converge to the steady-state value. The effect is shown in Figure 2. Figure 7-Figure 8 .
[0070] (3) The virtual controller couples the driven state variables with the non-driven state variables through a simple linear relationship to achieve synchronous control of rotational / translational positioning and swing suppression.
[0071] (4) From Figure 2-Figure 5 It can be seen from the experimental data that the control method proposed in the present invention can locate the desired position in about 6 seconds, indicating that the present method can achieve rapid positioning of the cantilever, cart and rope length; the maximum swing angle of the load during the movement is 1.41°, which proves that the present method has a strong anti-sway ability. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Figure 1 It is a structural schematic diagram of a five-degree-of-freedom tower crane.
[0073] Figure 2 It is the driving state quantity in Experiment 1 , , Graph of changes over time.
[0074] Figure 3 is the swing angle of the load in the horizontal direction of the cantilever in Experiment 1 Graph of changes over time.
[0075] Figure 4 is the swing angle of the load in the horizontal direction of the cantilever in Experiment 1 Graph of changes over time.
[0076] Figure 5 This is a graph showing the change of control input over time in Experiment 1.
[0077] Figure 6 It is the driving state quantity in Experiment 2 , , Graph of changes over time.
[0078] Figure 7 is the swing angle of the load in the horizontal direction of the cantilever in Experiment 2 Graph of changes over time.
[0079] Figure 8 is the swing angle of the load in the horizontal direction of the cantilever in Experiment 2 Graph of changes over time.
[0080] Fig. 9 This is a graph showing the change of control input over time in Experiment 2.
[0081] In the figure: 1-base, 2-mast, 3-trolley, 4-cantilever, 5-rope, 6-load. DETAILED DESCRIPTION
[0082] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0083] like Figure 1 As shown, the five-degree-of-freedom tower crane includes a base 1, a mast 2, a trolley 3, a cantilever 4 and a rope 5, and a load 6 is fixed to the end of the rope 5.
[0084] A five-degree-of-freedom tower crane control method based on dynamic constraint control comprises the following steps:
[0085] Step 1: Construct the dynamic model of the five-degree-of-freedom tower crane through the Lagrangian method and perform system transformation.
[0086] The dynamic model of a five-degree-of-freedom tower crane is:
[0087] (1);
[0088] in, is the state vector of the system, and ; is the cantilever swing angle, It is the position of the car. is the rope length, It’s time; is the swing angle of the load in the horizontal direction of the cantilever, is the swing angle of the load in the vertical direction of the cantilever;
[0089] is the system damping vector, and ; , and are the friction coefficients of the cantilever, trolley and rope respectively. is the friction coefficient between the load and the air when the cantilever swings horizontally, It is the friction coefficient between the load and the air when the cantilever swings in the vertical direction; is the speed of the cantilever when it rotates, is the speed of the car when it moves, is the speed at which the rope is raised and lowered, is the speed at which the load swings in the horizontal direction of the cantilever. is the speed at which the load swings in the vertical direction of the cantilever;
[0090] is the control input vector, and ; and They are the control torque of the boom, the driving force of the trolley and the driving force of the rope;
[0091] is the gravity vector, is the inertia matrix, is the centripetal-Coriolis force matrix;
[0092] ;
[0093] ;
[0094] ;
[0095]
[0096]
[0097]
[0098]
[0099]
[0100] in, and are the masses of the trolley and the load, respectively. is the gravitational constant, is the moment of inertia of the boom.
[0101] remember:
[0102] ;
[0103] ;
[0104] Then formula (1) can be written as:
[0105] (2);
[0106] Formula (2) can be transformed into the following form:
[0107] (3);
[0108] in ,
[0109] is the system matrix.
[0110] is the torque of the control system, 、 and They represent the control torque of the cantilever, the driving force of the trolley and the driving force of the rope respectively. y is the actual output of the system.
[0111] is the driving state variable, is a non-driven state variable.
[0112] Step 2: The load swing angle vector is always constrained within the performance boundary by designing the performance boundary. The performance boundary is obtained through a set of third-order filters, and performance boundary adjustment rules are constructed for the third-order filters; a constraint matrix function is constructed based on the load swing angle vector and the performance boundary.
[0113] 1. Design performance boundaries for:
[0114] (4);
[0115] in, 1,2;
[0116] Swing angle and Always constrained by performance boundaries Within, that is - .
[0117] This can be obtained by the following set of third-order filters.
[0118] 2. The third-order filter is:
[0119] (5);
[0120] is the output of the first filter, and its derivative is ;
[0121] is the output of the second filter, and its derivative is ;
[0122] is the output of the third filter, and its derivative is .
[0123] is the initial value of the first filter, is the initial value of the performance boundary.
[0124] is the initial value of the second filter, It is the performance boundary The initial value of the first-order derivative of ;
[0125] is the initial value of the third filter; For performance boundaries The initial value of the second-order derivative of ;
[0126] is the adjustment factor, , and is a positive constant, and the calculation process will be given later.
[0127] Whether the performance boundary is adjusted dynamically depends on the adjustment factor , the adjustment rules are:
[0128] (6);
[0129] in, and is the design parameter, and , ; is the expected steady-state value of the boundary, and >0, its value can be determined according to the actual requirements of the system steady-state error; is the absolute value of the load swing angle; , and is the expected extreme point introduced later ( is the expected dominant pole, is the first expected non-dominant pole, is the second expected non-dominant pole).
[0130] Next, introduce , and , by configuring the desired poles to obtain , and ,as follows:
[0131] Construct the actual characteristic polynomial of a third-order filter:
[0132] (7);
[0133] Here, s is a variable.
[0134] Construct the ideal characteristic polynomial of a third-order filter:
[0135] (8);
[0136] make , we can get:
[0137] (9);
[0138] Based on the properties of the first-order steady-state linear system, is the time constant, is the time for the performance margin to converge to within a 2% error band of the steady-state value. The desired dominant pole is given by According to the principle of dominant pole configuration, it should be ensured that and The value of is More than five times.
[0139] According to formula (9), we can get , and The value of .
[0140] 3. Design the 3×3 dimensional constraint matrix function as follows:
[0141] (10);
[0142] in,
[0143] and is the design parameter.
[0144] Step 3: Get the actual position through the sensor, the actual position includes the cantilever swing angle, the trolley position and the rope length; set the expected position, the expected position includes the expected cantilever swing angle, the expected trolley position and the expected rope length; take the difference between the actual position and the expected position as the position error, and construct the first error function by coupling the load swing angle vector and the position error; construct a virtual controller based on the first error function, the constraint matrix function, the load swing angular velocity vector and the change in the expected position.
[0145] 1. Design position error:
[0146] (11);
[0147] in, is the actual position vector, the actual cantilever swing angle , Cart position and rope length Can be obtained through sensors; is the desired position vector, is the desired cantilever swing angle, is the desired car position, is the desired rope length.
[0148] 2. Position error e and load swing angle vector Perform linear coupling and construct the first error function as follows:
[0149] (12);
[0150] in, is the vector composed of the swing angles of the load in two directions, is a 3×3 dimensional positive definite matrix, is a 3×2 dimensional positive definite matrix, which can be:
[0151] ;
[0152] 3. Introduce the constraint function matrix in step 1 and design the virtual controller for:
[0153] (13);
[0154] in, is the velocity vector composed of two swing angles.
[0155] Step 4: Change the driving state quantity (the speed of the cantilever when rotating) , the speed of the car when moving and the speed of the rope ) and the virtual controller as the second error function; and construct an actual controller based on the first error function, the second error function and the virtual controller.
[0156] 1. Construct the second error function as:
[0157] (14);
[0158] in , is the speed of the cantilever when it rotates, is the speed of the car when it moves, is the speed at which the rope is raised and lowered.
[0159] 2. The actual controller design is:
[0160] (15);
[0161] in,
[0162] is a 3×3 dimensional positive definite matrix, which can be:
[0163] .
[0164] Hardware experiment analysis:
[0165] In order to fully verify the performance of the proposed control method, two groups of experiments were carried out for the three control methods respectively, and the performance of the controller was compared and analyzed through the experimental results.
[0166] The three control methods are:
[0167] The method of this embodiment: The control method proposed in this embodiment is denoted as PCM.
[0168] Comparison method 1: Backstepping method without performance boundary, denoted as CBM.
[0169] Comparison method 2: PID method, denoted as PID.
[0170] For all experiments, the initial value of the crane is , the expected value is set to .
[0171] Experiment 1:
[0172] In Experiment 1, the proposed control method (PCM) is compared and analyzed with the existing Backstepping method (CBM) and PID method.
[0173] The experimental results are as follows Figure 2-Figure 5The statistical results are shown in Tables 1 and 2:
[0174] Table 1: Experimental results of Experiment 1 (I)
[0175]
[0176] Table 2: Experimental results of Experiment 1 (II)
[0177]
[0178] It can be seen from the above experimental results that the three methods can all achieve rapid positioning of the tower crane, but in comparison, the method of this embodiment is more effective in achieving synchronous positioning of the cantilever, trolley and rope length, and has the best anti-sway capability.
[0179] Experiment 2:
[0180] In order to verify the robustness of the proposed controller, external disturbances were added to the tower crane test platform under three control methods: PCM, CBM and PID. In addition, a set of experiments in which the performance boundary cannot be dynamically adjusted, denoted as NDBM, was added to demonstrate the effectiveness of the designed new performance boundary.
[0181] Figure 6-Figure 9 The results of applying a perturbation at t = 20 s are shown. Figure 6 It can be seen that the tracking performance of the cantilever, trolley and rope of the four methods is not greatly affected when the disturbance is applied.
[0182] The load angle changes as Figure 7-Figure 8 The results show that when disturbances occur suddenly, the dynamic boundary designed in this embodiment will expand, so that the load angle is stabilized within the performance boundary, and the robustness of the tower crane is enhanced. And when the swing angle increases suddenly, the performance boundary can achieve smoother and more efficient dynamic changes.
[0183] In addition, CBM requires 12 s to eliminate the swing. For PID, the anti-swing performance is poor, and there is still a large load swing angle when t=40s. It is also easy to see that under NDBM, the load angle continues to fluctuate and the swing amplitude increases. Under the method of this embodiment, as the swing angle decreases, the dynamic boundary converges to the state before the change in about 8s. It can be seen that the anti-swing speed of the method of this embodiment is much faster than the other three controllers.
Claims
1. A five-degree-of-freedom tower crane control method based on dynamic constraint control, Its characteristics are: The steps include: Step S1: construct a dynamic model of a five-degree-of-freedom tower crane by using the Lagrangian method and perform system transformation; Step S2: By designing the performance boundary, the load swing angle vector is always constrained within the performance boundary. The performance boundary is obtained by a set of third-order filters, and a performance boundary adjustment rule is constructed for the third-order filters; a constraint matrix function is constructed based on the load swing angle vector and the performance boundary; Step S3: obtaining the actual position through the sensor, the actual position includes the cantilever swing angle, the trolley position and the rope length; setting the expected position, the expected position includes the expected cantilever swing angle, the expected trolley position and the expected rope length; taking the difference between the actual position and the expected position as the position error, and constructing the first error function by coupling the load swing angle vector and the position error; constructing a virtual controller according to the first error function, the constraint matrix function, the load swing angular velocity vector and the change in the expected position; Step S4: taking the difference between the change of the driving state quantity and the virtual controller as the second error function; constructing the actual controller according to the first error function, the second error function and the virtual controller; In step S1, the dynamic model of the five-degree-of-freedom tower crane is: (1); in, is the state vector of the system, and ; is the cantilever swing angle, It is the position of the car. is the rope length, It’s time; is the swing angle of the load in the horizontal direction of the cantilever, is the swing angle of the load in the vertical direction of the cantilever; is the system damping vector, and ; , and are the friction coefficients of the cantilever, trolley and rope respectively. is the friction coefficient between the load and the air when the cantilever swings horizontally, It is the friction coefficient between the load and the air when the cantilever swings in the vertical direction; is the speed of the cantilever when it rotates, is the speed of the car when it moves, is the speed at which the rope is raised and lowered, is the speed at which the load swings in the horizontal direction of the cantilever. is the speed at which the load swings in the vertical direction of the cantilever; is the control input vector, and ; and They are the control torque of the boom, the driving force of the trolley and the driving force of the rope; is the gravity vector, is the inertia matrix, is the centripetal-Coriolis force matrix.
2. The five-degree-of-freedom tower crane control method based on dynamic constraint control according to claim 1, Its characteristics are: In step S1, record: ; ; Then formula (1) can be rewritten as: (2); After system transformation, formula (2) becomes: (3); in, , ; ; is the torque of the control system, , and They represent the control torque of the boom, the driving force of the trolley and the driving force of the rope respectively; is the actual output of the system.
3. The five-degree-of-freedom tower crane control method based on dynamic constraint control according to claim 2, Its characteristics are: In step S2, the performance boundary is: (4); in, 1,2; The load slew angle vector is always constrained within the performance boundaries: - ; The third-order filter is: (5); in, is the output of the first filter, is the output of the second filter, is the output of the third filter; is the initial value of the first filter, is the initial value of the second filter, is the initial value of the third filter; is the adjustment factor, , and is a positive constant; The performance boundary adjustment rule is: (6); in, and is the design parameter, and , ; is the expected steady-state value of the boundary, and >0; is a design parameter, and , is the expected dominant pole, is the first expected non-dominant pole, is the second expected non-dominant pole; By configuration To calculate 、 、 ,as follows: Construct the actual characteristic polynomial of a third-order filter: (7); in, is a variable; Construct the ideal characteristic polynomial of a third-order filter: (8); make , we can get: (9); Based on the properties of the first-order steady-state linear system, let is the time constant, is the time for the performance boundary to converge to within the 2% error band of the steady-state value; then , according to the principle of dominant pole configuration, , ; According to formula (9), we can get 、 , ; The constraint matrix function is: (10); in, is the design parameter, and , .
4. The five-degree-of-freedom tower crane control method based on dynamic constraint control according to claim 3, Its characteristics are: In step S3, the position error is: (11); in, is the desired position vector, and , is the desired cantilever swing angle, is the desired car position, is the desired rope length; The first error function is: (12); in, is a 3×3 dimensional positive definite matrix, is a 3×2 dimensional positive definite matrix, The virtual controller is: (13)。 5. The five-degree-of-freedom tower crane control method based on dynamic constraint control according to claim 4, Its characteristics are: In step S4, the second error function is: (14); The actual controller is: (15); in, ; is a 3×3 positive definite matrix.
6. An electronic device, include: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the five-degree-of-freedom tower crane control method based on dynamic constraint control described in claim 1 are implemented.
7. A computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the five-degree-of-freedom tower crane control method based on dynamic constraint control as described in claim 1.
