LQR-BASED ANTI-SWAY CONTROL METHOD AND SYSTEM FOR LIFTING SYSTEM

Information

  • Patent Application
  • 20230107388
  • Publication Number
    20230107388
  • Date Filed
    February 26, 2021
    3 years ago
  • Date Published
    April 06, 2023
    a year ago
Abstract
The present invention provides a linear quadratic regulator (LQR)-based anti-sway control method for a hoisting system, comprising the following steps: obtaining a target position of a trolley, and obtaining a planned real-time path of the trolley according to the maximum velocity vm and maximum acceleration am of the trolley; establishing a dynamic model of the hoisting system according to a Lagrange's equation, for the Lagrange's equation, the trolley displacement x, the spreader sway angle θ, and the rope length l of the hoisting system being selected as generalized coordinate directions; observing lumped disturbance d using an extended state observer, and compensating for same in a controller, the lumped disturbance d comprising the dynamic model error and external disturbance to the hoisting system; tracking the planned real-time path of the trolley by a Q matrix and an R matrix using a linear quadratic regulator controller. The LQR-based anti-sway control method for a hoisting system provided by the present invention can make the hoisting system operate more smoothly, reduce sway during operation, and quickly eliminate sway when in place while observing the lumped disturbance using an extended state observer.
Description
TECHNICAL FIELD

The present invention relates to the field of hoisting system transportation, and more particularly to a LQR-based anti-sway control method and system for a hoisting system.


BACKGROUND ART

Hoisting systems such as tire cranes, rail cranes, bridge cranes, etc. are widely used in the field of industrial transportation because of their strong load capacity and high flexibility. Tire cranes and bridge cranes are the two most common equipment in port terminals, which are respectively responsible for the container transportation between ships and internal trucks, between yards and internal trucks, and between yards and external trucks. At present, the hoisting system operation of port terminals is mostly manual. With the improvement of the requirements for throughput, gradually the manual operation mode can not meet the demand.


The operation process of the hoisting system is mainly divided into three stages: rising, falling and moving. In actual operation, the key link affecting the efficiency is the moving stage. Moving will cause the spreader of the hoisting system to shake, so that the container can not be accurately grasped when the spreader is lowered. Therefore, it is particularly important to control the anti-sway of the trolley or cart in the moving stage. Hoisting system is a typical underactuated system, which is a system with independent control input variable degrees of freedom less than the system degrees of freedom. The underactuated system has fewer actuators. Although it has the advantage of low cost, the underactuated system brings difficulties to the system control. For the movement of the hoisting system, the goal is to reach the designated position quickly and accurately and the sway angle is as small as possible in the process of movement, but the hoisting system can not directly act on the sway angle, but can only control its position or velocity.


Accordingly, there is a need to provide an anti-sway method, which can control the shaking of the hoisting system in the moving stage.


SUMMARY OF THE INVENTION

The technical problem to be solved by the present invention is to provide a LQR-based anti-sway control method and system for a hoisting system which can control the shaking of the hoisting system in the moving stage and quickly eliminate sway when in place by using an extended state observer and a linear quadratic regulator.


The technical solution adopted by the present invention to solve the above technical problem is to provide a LQR-based anti-sway control method for a hoisting system, characterized in that comprising the following steps:


obtaining a target position of a trolley, and obtaining a planned real-time path of the trolley according to the maximum velocity vm and maximum acceleration am of the trolley;


establishing a dynamic model of the hoisting system according to a Lagrange's equation, for the Lagrange's equation, the trolley displacement x, the spreader sway angle θ, and the rope length l of the hoisting system being selected as generalized coordinate directions;


observing lumped disturbance d using an extended state observer, and compensating for same in a controller, the lumped disturbance d comprising the dynamic model error and external disturbance to the hoisting system; tracking the planned real-time path of the trolley by a Q matrix and an R matrix using a linear quadratic regulator controller.


Optionally, obtaining the planned real-time path of the trolley according to the maximum velocity vm and maximum acceleration am of the trolley specifically comprising the following formula:









x
.

r

(
t
)

=

{







v
m

2



(

1
-

cos

π



2


a
m



v
m



t


)


,

0
<
t



v
m


2


a
m











v
m

,



v
m


2


a
m



<
t




v
m


2


a
m



+

t
c












v
m

2

[

1
+

cos

π



2


a
m



v
m




(

t
-


v
m


2


a
m



-

t
c


)



]

,




v
m


2


a
m



+

t
c



t




v
m


a
m


+

t
c












wherein, t is the running time of the trolley, tc is the constant velocity time of the trolley, {dot over (x)}r(t) is the real-time velocity of the planned path of the trolley, obtaining the planned real-time path of the trolley by integrating, the constant velocity time tc is determined according to the target position path of the trolley. Optionally, establishing a nonlinear equation of the system according to the Lagrange equation as follows:






{







(

M
+
m

)



x
¨


+

m


l
¨


sin

θ

+

2

m


l
.



θ
.


cos

θ

+

ml


θ
¨


cos

θ

-

ml



θ
.

2


sin

θ

+

μ


x
.



=
F








2


l
.



θ
.


+

l


θ
¨


+


x
¨


cos

θ

+

g

sin

θ


=
0








m


l
¨


+

m


x
¨


sin

θ

-

ml



θ
.

2


-

mg

cos

θ


=

F
1









wherein, M is the trolley mass, m is the spreader mass, and l is the rope length, θ is the spreader sway angle, μ is the friction coefficient, x is the trolley displacement, F is the motor force, F1 is the pulling force between the trolley and the spreader, and g is the gravitational acceleration.


Optionally, the rope length l remains unchanged, the spreader sway angle θ is greater than −5° and less than 5°, simplifying the nonlinear equation as follows:








l
.

=


l
¨

=
0


,


cos

θ


1

,


sin

θ


θ










θ
¨


cos

θ

-



θ
.

2


sin

θ


=



d
dt



(


θ
.


cos

θ

)


=



d
dt



(

θ
.

)


=

θ
¨







obtaining the following linearization equation by further linearization:






{





M


x
¨


-

mg

θ

+

μ


x
.


+
F








l


θ
¨


+

x
¨

+

g

θ


=
0








Optionally, obtaining the following equation by introducing a lumped disturbance d in the linearization equation:






{






M


x
¨


-

mg

θ

+

μ


x
.


-
d

=
F








l


θ
¨


+

x
¨

+

g

θ


=
0








taking the state variables as the trolly displacement x and spreader sway angle θ, input as motor force F, establishing the following state equation, and rewriting the said equation into the standard state equation form in control theory:






{





X
.

=

AX
+

B

(

u
+
d

)









y
m

=


C
m


X









wherein:






A
=

[



0


1


0


0




0



-

μ
M





mg
M



0




0


0


0


1




0



μ
Ml




-



(

M
+
m

)


g

Ml




0



]







B
=


[



0



1
M



0



-

1
Ml





]

T








C
m

=

[



1


0


0



0
]









u is the control variable, X is the vector representing the system state, ym is the system output, A is the system state matrix, B is the system input matrix, Cm is the system output matrix, and the subscript m represents the directly observable.


Optionally, a new variable x5=d is introduced into the state equation, d is used to represent lumped disturbance:






{






x
˙

1

=

x
2









x
˙

2

=


1
M



(



-
μ



x
2


+

m

g


x
3


+

x
5

+
u

)










x
˙

3

=

x
4









x
.

4

=


-

1

M

l





(



-
μ



x
2


+


(

M
+
m

)


g


x
3


+

x
5

+
u

)










x
.

5

=

d
.












y
m

=


C
m


X





wherein, x1 is the displacement of the trolley, x2 is the trolley velocity, x3 is the spreader sway angle, x4 is the angle velocity of the spreader sway angle.


Optionally, in order to realize the observation of system state and lumped disturbance, the extended state observer is designed as follows:






{







x
ˆ

.

1

=



x
ˆ

2

+


l
1

(



x
ˆ

1

-

x
1


)











x
ˆ

.

2

=



1
M



(



-
μ




x
ˆ

2


+

m

g



x
ˆ

3


+


x
ˆ

5

+
u

)


+


l
2

(



x
ˆ

1

-

x
1


)











x
ˆ

.

3

=



x
ˆ

4

+


l
3

(



x
ˆ

1

-

x
1


)











x
ˆ

.

4

=


-


1

M

l


[



-
μ




x
ˆ

2


+


(

M
+
m

)


g



x
ˆ

3


+


x
ˆ

5

+
u

]


+


l
4

(



x
ˆ

1

-

x
1


)











x
ˆ

.

5

=


l
5

(



x
ˆ

1

-

x
1


)









wherein, {circumflex over (x)}1, {circumflex over (x)}2, {circumflex over (x)}3, {circumflex over (x)}4, {circumflex over (x)}5 is the observed value of x1, x2, x3, x4, x5, l1, l2, l3, l4, l5 is the observer gain to be designed.


Optionally, tracking the planned real-time path of the trolley by a Q matrix and an R matrix using a linear quadratic regulator controller comprising the use of the following composite control:






u=K
x[{circumflex over (x)}1 {circumflex over (x)}2 {circumflex over (x)}3 x4]−{circumflex over (x)}5


wherein, Kx is the feedback control gain.


The technical solution adopted by the present invention to solve the above technical problem is to provide a LQR-based anti-sway control system for a hoisting system, comprising: a server which comprising a memory, a processor and a computer program stored on the memory and running on the processor, when the the program executed by the processor, the said LQR-based anti-sway control method for the hoisting system is executed.


The technical solution adopted by the present invention to solve the above technical problem is to provide a computer readable storage medium on which a computer program is stored, when the program is executed by a processor, the said LQR-based anti-sway control method for the hoisting system is executed.


Compared to the prior art, the technical solutions of embodiments of the present invention have the following advantageous effects.


The LQR-based anti-sway control method for a hoisting system provided by the present invention, obtaining a target position of a trolley, and obtaining a planned real-time path of the trolley according to the maximum velocity vm and maximum acceleration am of the trolley and establishing a dynamic model of the hoisting system according to a Lagrange's equation, which can make the hoisting system operate more smoothly, reduce sway during operation, and quickly eliminate sway when in place while observing the lumped disturbance using an extended state observer.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a physical schematic diagram of the two-dimensional movement of the hoisting system according to an embodiment of the present invention;



FIG. 2 is a flow chart of a LQR-based anti-sway control method for a hoisting system according to an embodiment of the present invention;



FIG. 3 is a control structure diagram of a LQR-based anti-sway control method for a hoisting system according to an embodiment of the present invention;



FIG. 4 is a comparison diagram of the trolley displacement, angle and control amount whether a planned path is used in an embodiment of the present invention;



FIG. 5 shows the control effect comparison diagram between the LQR controller based on the extended state observer in an embodiment of the present invention and other controllers.





DETAILED DESCRIPTION OF THE INVENTION

The present invention will be further described below in combination with the accompanying drawings and embodiments.


In the following description, many specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to those skilled in the art that the present invention can be practiced without these specific details. Therefore, the specific details are only exemplary, and the specific details may vary from the spirit and scope of the unrestrained and are still considered to be within the spirit and scope of the present invention.


The hoisting system in this embodiment can be used for port logistics. The hoisting system includes a crane, which includes but is not limited to a tire crane, a straddle carrier and a stacker. The following takes a tire crane as an example to illustrate the working principle of the automatic deviation correction control method of the hoisting system of the present invention.


Now refer to FIG. 1, FIG. 1 is a physical schematic diagram of the two-dimensional movement of the hoisting system according to an embodiment of the present invention. Wherein, M is the trolley mass, m is the spreader mass, and l is the rope length, θ is the spreader sway angle, is the friction coefficient, x is the trolley displacement, F is the motor force, F1 is the pulling force between the trolley and the spreader, and g is the gravitational acceleration.



FIG. 2 is a flow chart of a Linear Quadratic Regulator (LQR)-based anti-sway control method for a hoisting system according to an embodiment of the present invention. First step 101: obtaining a target position of a trolley, and obtaining a planned real-time path of the trolley according to the maximum velocity vm and maximum acceleration am of the trolley. Then step 102: establishing a dynamic model of the hoisting system according to a Lagrange's equation, for the Lagrange's equation, the trolley displacement x, the spreader sway angle θ, and the rope length l of the hoisting system being selected as generalized coordinate directions. Then step 103: observing lumped disturbance d using an extended state observer, and compensating for same in a controller, the lumped disturbance d comprising the dynamic model error and external disturbance to the hoisting system. Last step 104: tracking the planned real-time path of the trolley by a Q matrix and an R matrix using a linear quadratic regulator controller.


Wherein, a Q matrix and an R matrix are inherent matrices in LQR (linear quadratic regulator) method. Q is the weight matrix of state variables and diagonal matrix. The larger the corresponding value of Q, the more important the state is in the performance function. R is the weight of the control quantity. The larger the corresponding value of R, the more important the state is in the performance function.


In a particular implementation, obtaining the planned real-time path of the trolley according to the maximum velocity vm and maximum acceleration am of the trolley specifically comprising the following formula:









x
˙

r

(
t
)

=

{







v
m

2



(

1
-

cos

π



2


a
m



v
m



t


)


,

0
<
t



v
m


2


a
m











v
m

,



v
m


2


a
m



<
t




v
m


2


a
m



+

t
c












v
m

2

[

1
+

cos

π



2


a
m



v
m




(

t
-


v
m


2


a
m



-

t
c


)



]

,




v
m


2


a
m



+

t
c



t




v
m


a
m


+

t
c












wherein, t is the running time of the trolley, tc is the constant velocity time of the trolley, {dot over (x)}r(t) is the real-time velocity of the planned path of the trolley, obtaining the planned real-time path of the trolley by integrating {dot over (x)}r(t), the constant velocity time tc is determined according to the target position path of the trolley.


For the vibration system with multiple degrees of freedom, the Lagrange equation in the dynamic model of the hoisting system established according to the Lagrange equation is as follows:






{





L

(

q
,

q
.


)

=


T

(

q
,

q
.


)

-

V

(

q
,

q
.


)











d

d

t




(



L





q
˙

i



)


-



L




q
i




=

Q
i









Wherein, q represents generalized coordinates, Q represents generalized force, L represents Lagrangian operator, T represents kinetic energy of the system, V represents potential energy of the system.


The crane operation scenario is relatively complex, and the following assumptions are first made when modeling:


1. During the movement of the trolley or the cart, the trolley or the cart is in a static state.


2. There is friction between the trolley and the track, and the friction is proportional to the trolley velocity.


3. Because cranes mostly use spreaders with eight rope, the spreaders are regarded as particles in two-dimensional motion.


4. Ignore the influence of air resistance, wind force, friction between trolley and steel wire rope and other factors.


Selecting three generalized coordinates of the rope length l, the spreader sway angle θ and the trolley displacement x according to the said dynamic differential equation to establish a nonlinear equation of the system according to the Lagrange equation as follows:






{







(

M
+
m

)



x
¨


+

m


l
¨


sin

θ

+

2

m


l
.



θ
˙


cos

θ

+

m

l


θ
¨


cos

θ

-

m

l



θ
˙

2


sin

θ

+

μ


x
.



=
F








2


l
.



θ
˙


+

l


θ
¨


+


x
¨


cos

θ

+

g

sin

θ


=
0








m


l
¨


+

m


x
¨


sin

θ

-

m

l



θ
˙

2


-

m

g

cos

θ


=

F
1









wherein, M is the trolley mass, m is the spreader mass, and l is the rope length, θ is the spreader sway angle, is the friction coefficient, x is the trolley displacement, F is the motor force, F1 is the pulling force between the trolley and the spreader, and g is the gravitational acceleration.


In the process of crane operation, the movement of the cart and the trolley is often carried out separately, so it can be considered that the rope length l remains unchanged. At the same time, because the steel wire rope length l is relatively long, in order to ensure the safety of operation and avoid collision, the spreader sway angle θ can not be too big, the spreader sway angle θ is greater than −5° and less than 5°, simplifying the nonlinear equation as follows:








l
.

=


l
¨

=
0


,


cos

θ


1

,


sin

θ


θ










θ
¨


cos

θ

-



θ
˙

2


sin

θ


=



d

d

t




(


θ
˙


cos

θ

)


=



d

d

t




(

θ
˙

)


=

θ
¨







obtaining the following linearization equation by further linearization:






{






M


x
¨


-

mg

θ

+

μ


x
.



=
F








l


θ
¨


+

x
¨

+

g

θ


=
0








Obtaining the following equation by introducing the lumped disturbance d in the linearization equation:






{






M


x
¨


-

mg

θ

+

μ


x
.



=
F








l


θ
¨


+

x
¨

+

g

θ


=
0








taking the state variables as the trolley displacement x and spreader sway angle θ, input as motor force F, establishing the following state equation, and rewriting the said equation into the standard state equation form in control theory:






{





X
˙

=


A

X

+

B

(

u
+
d

)









y
m

=


C
m


X









wherein:






A
=

[



0


1


0


0




0



-

μ
M






m

g

M



0




0


0


0


1




0



μ
Ml




-



(

M
+
m

)


g

Ml




0



]







B
=


[



0



1
M



0



-

1

M

l






]

T








C
m

=

[



1


0


0


0



]





u is the control variable, X is the vector representing the system state, ym is the system output, A is the system state matrix, B is the system input matrix, Cm is the system output matrix, and the subscript m represents the directly observable.


A new variable x5=d is introduced into the state equation, d is used to represent lumped disturbance:






{






x
˙

1

=

x
2









x
˙

2

=


1
M



(



-
μ



x
2


+

m

g


x
3


+

x
5

+
u

)










x
˙

3

=

x
4









x
.

4

=


-

1

M

l





(



-
μ



x
2


+


(

M
+
m

)


g


x
3


+

x
5

+
u

)










x
.

5

=

d
.












y
m

=


C
m


X





wherein, x1 is the trolley displacement, x2 is the trolley velocity, x3 is the spreader sway angle, x4 is the angle velocity of the spreader sway angle.


In actual operation, the spreader sway angle θ It is difficult to measure accurately, and the system modeling errors including the change of lifting weight and rope length l, as well as external disturbances including wind, will affect the control performance. The extended state observer is used to observe the lumped disturbance d and compensate in the controller, the lumped disturbance d includes system modeling errors and external disturbances.


A new variable x5=d is introduced into the state equation, d is used to represent lumped disturbance:






{






x
˙

1

=

x
2









x
˙

2

=


1
M



(



-
μ



x
2


+

m

g


x
3


+

x
5

+
u

)










x
˙

3

=

x
4









x
.

4

=


-

1

M

l





(



-
μ



x
2


+


(

M
+
m

)


g


x
3


+

x
5

+
u

)










x
.

5

=

d
.












y
m

=


C
m


X





wherein, x1 is the trolley displacement, x2 is the trolley velocity, x3 is the spreader sway angle, x4 is the angle velocity of the spreader sway angle.


The system modeling error and external disturbance d appear in the two channels x2, x4 with equal values, so the state equation is rewritten as follows:






{






x
˙

1

=

x
2









x
˙

2

=



-

μ
M




x
2


+



m

g

M



x
3


+


1
M


u

+
d









x
˙

3

=

x
4









x
.

4

=



-

μ

M

l





x
2


+


-



(

M
+
m

)


g

lM




x
3


-


1
Ml


u

+
d









x
.

5

=

d
.









In order to realize the observation of system state and lumped disturbance, the extended state observer is designed as follows:






{







x
ˆ

.

1

=



x
ˆ

2

+


l
1

(



x
ˆ

1

-

x
1


)











x
ˆ

.

2

=



1
M



(



-
μ




x
ˆ

2


+

m

g



x
ˆ

3


+


x
ˆ

5

+
u

)


+


l
2

(



x
ˆ

1

-

x
1


)











x
ˆ

.

3

=



x
ˆ

4

+


l
3

(



x
ˆ

1

-

x
1


)











x
ˆ

.

4

=


-


1

M

l


[



-
μ




x
ˆ

2


+


(

M
+
m

)


g



x
ˆ

3


+


x
ˆ

5

+
u

]


+


l
4

(



x
ˆ

1

-

x
1


)











x
ˆ

.

5

=


l
5

(



x
ˆ

1

-

x
1


)









wherein, {circumflex over (x)}1, {circumflex over (x)}2, {circumflex over (x)}3, {circumflex over (x)}4, {circumflex over (x)}5 is the observed value of x1, x2, x3, x4, x5, l1, l2, l3, l4, l5 is the observer gain to be designed.


In a particular implementation, tracking the planned real-time path of the trolley by a Q matrix and an R matrix using a linear quadratic regulator controller comprising the use of the following composite control:






U=K
x[{circumflex over (x)}1 {circumflex over (x)}2 {circumflex over (x)}3 {circumflex over (x)}4]−{circumflex over (x)}5


wherein, Kx is the feedback control gain.



FIG. 3 is a control structure diagram of a LQR-based anti-sway control method for a hoisting system according to an embodiment of the present invention. Now refer to FIG. 3, wherein, x* is the target position of the trolley, vm is the maximum trolley velocity, a m is the maximum acceleration, xr is the planned real-time path of the trolley, Kx is the feedback control gain, U is the control quantity, that is, the controller output, d is the lumped disturbance of the system modeling error and external disturbance, e1 is the state error, {circumflex over (d)} is the disturbance observation value, and the expanded state observer is used to observe the lumped disturbance d and compensate it in the controller, yo, ym are output and observable output respectively. The stability of the LQR-based anti-sway control method of the hoisting system is analyzed. It is assumed that the lumped interference d and its derivatives {dot over (d)} are bounded, and that the lumped interference d has a constant value in the steady state, that is, d satisfies









lim

t





d

(
t
)


=



d
s



lim


t







d
˙

(
t
)



=
0


,




wherein ds is a constant vector.






{







x
ˆ

.

1

=



x
ˆ

2

+


l
1

(



x
ˆ

1

-

x
1


)











x
ˆ

.

2

=



1
M



(



-
μ




x
ˆ

2


+

m

g



x
ˆ

3


+


x
ˆ

5

+
u

)


+


l
2

(



x
ˆ

1

-

x
1


)











x
ˆ

.

3

=



x
ˆ

4

+


l
3

(



x
ˆ

1

-

x
1


)











x
ˆ

.

4

=


-


1

M

l


[



-
μ




x
ˆ

2


+


(

M
+
m

)


g



x
ˆ

3


+


x
ˆ

5

+
u

]


+


l
4

(



x
ˆ

1

-

x
1


)











x
ˆ

.

5

=


l
5

(



x
ˆ

1

-

x
1


)









Assuming that the above conditions are satisfied, the extended state observer designed l1, l2, l3, l4, l5 in the above equation is asymptotically stable.


The error system can be written as the following equation:






{






e
.

1

=


e
2

+


l
1



e
1











e
.

2

=



1
M



(



-
μ



e
2


+

m

g


e
3


+

e
5

+
u

)


+


l
2



e
1











e
.

3

=


e
4

+


l
3



e
1











e
.

4

=


-


1

M

l


[



-
μ



e
2


+


(

M
+
m

)


g


e
3


+

e
5

+
u

]


+


l
4



e
1











e
.

5

=



l
5



e
1


-

d
˙










Wherein, ei={circumflex over (x)}i−xi, (i=1, 2, 3, 4, 5) represents the estimation error, the coefficient matrix Ā of the error system is as follows, Ā is a Hurwitz matrix:







A
¯

=

[




l
1



1


0


0


0





l
2




-

μ
M






m
M


g



0


1





l
3



0


0


1


0





l
4




μ

M

l






-


M
+
m


M

l




g



0


1





l
5



0


0


0


0



]





According to the Input State Stability (ISS) theory, if Ā is a Hurwitz matrix, it can be concluded that the error system conforms to the ISS theory. It is assumed that the lumped interference d and its derivatives {dot over (d)} are bounded, and that the lumped interference d has a constant value in the steady state, the stability of the extended state observer can be achieved. Therefore, the error dynamics of the extended state observer are asymptotically stable and satisfies








lim

t





e
i


=
0.






{





X
˙

=


A

X

+

B

(

u
+
d

)









y
m

=


C
m


X











u
=



K
x



X
ˆ


+

d
ˆ






Combining the above two formulas, the following closed-loop equations of the crane system can be obtained:






{dot over (X)}=(A+BKx)X


Wherein, Kx is the feedback control gain, {circumflex over (d)} is the observed value.


The control performance of the LQR-based anti-sway control method of the hoisting system in the embodiment is verified by simulation. After the Q matrix and R matrix are configured as follows, they can be calculated Kx=[8.94, 19.52, −8.78, 4.47]







Q
=

[




8

0



0


0


0




0


180


0


0




0


0


1800


0




0


0


0



2

0




]


,

R
=
1





The observer gain in the following formula is designed as L=diag(100, 397, −776, 1943, −2894)






{







x
ˆ

.

1

=



x
ˆ

2

+


l
1

(



x
ˆ

1

-

x
1


)











x
ˆ

.

2

=



1
M



(



-
μ




x
ˆ

2


+

m

g



x
ˆ

3


+


x
ˆ

5

+
u

)


+


l
2

(



x
ˆ

1

-

x
1


)











x
ˆ

.

3

=



x
ˆ

4

+


l
3

(



x
ˆ

1

-

x
1


)











x
ˆ

.

4

=


-


1

M

l


[



-
μ




x
ˆ

2


+


(

M
+
m

)


g



x
ˆ

3


+


x
ˆ

5

+
u

]


+


l
4

(



x
ˆ

1

-

x
1


)











x
ˆ

.

5

=


l
5

(



x
ˆ

1

-

x
1


)









In the simulation experiment, the effects of whether to use a planned path and various controllers are compared. In the first simulation, the control effects of whether to use a planned path are compared. In the second simulation, the effects of various controllers are compared, and the anti-interference performance of the proposed method is tested, that is, increasing the disturbance when the system reaches the steady state (20 s).



FIG. 4 is a comparison diagram of the trolley displacement, angle and control amount whether a planned path is used in an embodiment of the present invention. FIG. 5 shows the control effect comparison diagram between the LQR controller based on the extended state observer in an embodiment of the present invention and other controllers. PID marked in FIG. 5 refers to PID (proportional integral derivative control) controller, which is one of the most commonly used controllers. LQR+ESO (Extended State Observer) marked in FIG. 5 represents the combination of extended state observer and LQR controller. It is obvious from these two figures that, compared with not using a planned path, although it is slow in place by using a planned path, but its spreader sway angle is smaller and its impact on the actuator is smaller. LQR controller can use a Q matrix and an R matrix to configure the weight of the trolley displacement, spreader sway angle and other state variables, and ESO extended state observer can observe the system disturbance. Therefore, compared with PID controller, LQR controller based on ESO extended state observer can better track the path, and the spreader sway angle is smaller. When the system disturbance occurs, it can also quickly recover without static error under the control of this controller.


The embodiment of the present invention also provides a LQR-based anti-sway control system for a hoisting system, comprising: a server which comprising a memory, a processor and a computer program stored on the memory and running on the processor, when the the program executed by the processor, the said LQR-based anti-sway control method for the hoisting system is executed.


The embodiment of the present invention also provides a computer readable storage medium on which a computer program is stored, when the program is executed by a processor, the said LQR-based anti-sway control method for the hoisting system is executed.


In summary, a LQR-based anti-sway control method and system for a hoisting system provided by the present invention obtaining a target position of a trolley, and obtaining a planned real-time path of the trolley according to the maximum velocity vm and maximum acceleration a m of the trolley and establishing a dynamic model of the hoisting system according to a Lagrange's equation, which can make the hoisting system operate more smoothly, reduce sway during operation, and quickly eliminate sway when in place while observing the lumped disturbance using an extended state observer.


Although the present invention has been disclosed as above in a preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art can make some modifications and improvements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be subject to those defined in the claims.

Claims
  • 1. A LQR-based anti-sway control method for a hoisting system, characterized in that comprising the following steps: obtaining a target position of a trolley, and obtaining a planned real-time path of the trolley according to the maximum velocity vm and maximum acceleration am of the trolley;establishing a dynamic model of the hoisting system according to a Lagrange's equation, for the Lagrange's equation, the trolley displacement x, the spreader sway angle θ, and the rope length l of the hoisting system being selected as generalized coordinate directions;observing lumped disturbance d using an extended state observer, and compensating for same in a controller, the lumped disturbance d comprising the dynamic model error and external disturbance to the hoisting system;tracking the planned real-time path of the trolley by a Q matrix and an R matrix using a linear quadratic regulator controller;wherein, obtaining the planned real-time path of the trolley according to the maximum velocity vm and maximum acceleration am of the trolley specifically comprising the following formula:
  • 2. The LQR-based anti-sway control method for the hoisting system according to claim 1, characterized in that establishing a nonlinear equation of the system according to the Lagrange equation as follows:
  • 3. The LQR-based anti-sway control method for the hoisting system according to claim 2, characterized in that the rope length l remains unchanged, the spreader sway angle θ is greater than −5° and less than 5°, simplifying the nonlinear equation as follows:
  • 4. The LQR-based anti-sway control method for the hoisting system according to claim 3, characterized in that obtaining the following equation by introducing a lumped disturbance d in the linearization equation:
  • 5. The LQR-based anti-sway control method for the hoisting system according to claim 4, characterized in that a new variable x5=d is introduced into the state equation, d is used to represent lumped disturbance:
  • 6. The LQR-based anti-sway control method for the hoisting system according to claim 5, characterized in that in order to realize the observation of system state and lumped disturbance, the extended state observer is designed as follows:
  • 7. The LQR-based anti-sway control method for the hoisting system according to claim 1, characterized in that tracking the planned real-time path of the trolley by a Q matrix and an R matrix using a linear quadratic regulator controller comprising the use of the following composite control: u=Kx[{circumflex over (x)}1 {circumflex over (x)}2 {circumflex over (x)}3 {circumflex over (x)}4]−{circumflex over (x)}5 wherein, Kx is the feedback control gain.
  • 8. A LQR-based anti-sway control system for a hoisting system, characterized in that comprising: a server which comprising a memory, a processor and a computer program stored on the memory and running on the processor, when the the program executed by the processor, the method of claim 1 is executed.
  • 9. A computer readable storage medium on which a computer program is stored, characterized in that when the program is executed by a processor, the method of claim 1 is executed.
Priority Claims (1)
Number Date Country Kind
202010252737.8 Apr 2020 CN national
PCT Information
Filing Document Filing Date Country Kind
PCT/CN2021/078138 2/26/2021 WO