CN105174061B - Double pendulum crane length of a game optimal trajectory planning method based on pseudo- spectrometry - Google Patents

Double pendulum crane length of a game optimal trajectory planning method based on pseudo- spectrometry Download PDF

Info

Publication number
CN105174061B
CN105174061B CN201510624100.6A CN201510624100A CN105174061B CN 105174061 B CN105174061 B CN 105174061B CN 201510624100 A CN201510624100 A CN 201510624100A CN 105174061 B CN105174061 B CN 105174061B
Authority
CN
China
Prior art keywords
theta
centerdot
trolley
max
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510624100.6A
Other languages
Chinese (zh)
Other versions
CN105174061A (en
Inventor
方勇纯
陈鹤
孙宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nankai University
Original Assignee
Nankai University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nankai University filed Critical Nankai University
Priority to CN201510624100.6A priority Critical patent/CN105174061B/en
Publication of CN105174061A publication Critical patent/CN105174061A/en
Application granted granted Critical
Publication of CN105174061B publication Critical patent/CN105174061B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control And Safety Of Cranes (AREA)

Abstract

一种基于伪谱法的双摆吊车全局时间最优轨迹规划方法。解决非线性双摆桥式吊车系统自动控制问题,方法具有良好的台车定位与两级负载摆动消除性能。首先对系统运动学模型进行变换,以方便接下来的分析。之后考虑包括两级摆角及台车速度和加速度上限值在内的多种约束,构造出相应的优化问题。随后,利用高斯伪谱法将该带约束的优化问题转化为更易于求解的非线性规划问题并求解,得到时间最优的台车轨迹。本发明利用伪谱法的思想对复杂的时间最优问题进行处理与转化,降低了求解的难度;同时,本方法可以得到全局时间最优的结果,可极大地提高吊车系统的工作效率。仿真与实验结果表明,本发明能取得良好的控制效果,具有很好的实际应用价值。

A global time-optimal trajectory planning method for a double pendulum crane based on the pseudospectral method. To solve the automatic control problem of nonlinear double pendulum bridge crane system, the method has good trolley positioning and two-stage load swing elimination performance. First, transform the kinematics model of the system to facilitate the subsequent analysis. Afterwards, a variety of constraints including the two-stage swing angle and the upper limit of the trolley speed and acceleration are considered, and a corresponding optimization problem is constructed. Then, the optimization problem with constraints is transformed into an easier-to-solve nonlinear programming problem by using the Gaussian pseudospectral method, and the time-optimal trolley trajectory is obtained. The invention uses the idea of the pseudo-spectral method to process and transform the complex time optimal problem, reducing the difficulty of solving; meanwhile, the method can obtain the global time optimal result, which can greatly improve the working efficiency of the crane system. Simulation and experimental results show that the invention can achieve good control effect and has good practical application value.

Description

基于伪谱法的双摆吊车全局时间最优轨迹规划方法Global Time Optimal Trajectory Planning Method for Double Pendulum Crane Based on Pseudospectral Method

技术领域technical field

本发明属于非线性欠驱动机电系统自动控制的技术领域,特别是涉及一种基于伪谱法的双摆吊车全局时间最优轨迹规划方法。The invention belongs to the technical field of automatic control of nonlinear underactuated electromechanical systems, and in particular relates to a global time optimal trajectory planning method for a double pendulum crane based on a pseudo-spectral method.

背景技术Background technique

在工业生产过程中,为运送负载到所期望的位置,包括桥式吊车、悬臂式吊车、塔式吊车、船用吊车在内的各类吊车系统,有着非常广泛的应用。为了简化吊车系统的机械结构,往往不直接控制负载,而是通过台车的运动,间接地拖动负载至目标位置。这种结构带来的结果是,吊车系统的控制输入维数小于待控自由度维数。具有该特性的系统即所谓的欠驱动系统[1]。相比全驱动系统,由于欠驱动特性的存在,欠驱动系统往往更难控制,而在实际生产中,吊车系统往往是由经验丰富的工人操作。如果发生误操作,可能引起负载剧烈摆动导致碰撞,甚至发生安全事故。因此,对吊车系统自动控制方法的研究具有现实意义与广泛应用价值,得到了广大学者的关注。In the industrial production process, in order to transport the load to the desired position, various types of crane systems, including bridge cranes, cantilever cranes, tower cranes, and marine cranes, are widely used. In order to simplify the mechanical structure of the crane system, the load is often not directly controlled, but indirectly dragged to the target position through the movement of the trolley. The result of this structure is that the control input dimension of the crane system is smaller than the dimension of the degrees of freedom to be controlled. A system with this characteristic is the so-called underactuated system [1] . Compared with the full-drive system, the under-actuated system is often more difficult to control due to the existence of under-actuated characteristics, and in actual production, the crane system is often operated by experienced workers. If there is a misoperation, it may cause the load to swing violently and cause a collision, or even a safety accident. Therefore, the research on the automatic control method of the crane system has practical significance and wide application value, and has attracted the attention of many scholars.

对于桥式吊车系统,主要的控制目标包括两个方面,即快速且精确的台车定位与负载摆动的抑制与消除。然而,这两方面通常是互相矛盾的,即过快的台车运动往往导致较大的负载摆动。因此,同时实现这两方面的控制目标具有较高的难度。为了获得较好的控制效果,目前国内外学者已经提出了很多吊车系统自动控制方法。Tuan等提出了基于部分反馈线性化的控制方法[2-3],可以简化桥式吊车系统的控制算法设计。在文献[4],[5]中,Singhose等利用输入整形的思想对吊车系统进行控制,可有效地抑制负载残余摆动。为处理不确定的外界干扰,研究人员利用滑模算法控制吊车系统[6-7],可以获得很好的鲁棒性。胡洲等提出了一种非线性信息融合控制方法[8],可以处理控制器输入饱和的问题,实现对吊车系统的高性能控制。文献[9],[10]提出了基于能量与无源性的控制策略,可获得较好的效果。除此之外,近年来,包括遗传算法[11]、模糊控制[12]等一些智能控制方法同样在吊车控制领域有着一定的应用。For the overhead crane system, the main control objectives include two aspects, namely fast and accurate trolley positioning and load swing suppression and elimination. However, these two aspects are usually contradictory, that is, too fast trolley movement often leads to large load swings. Therefore, it is very difficult to realize the control objectives of these two aspects at the same time. In order to obtain a better control effect, scholars at home and abroad have proposed many automatic control methods for crane systems. Tuan et al. proposed a control method based on partial feedback linearization [2-3] , which can simplify the control algorithm design of the overhead crane system. In literature [4], [5], Singhose et al. used the idea of input shaping to control the crane system, which can effectively suppress the residual swing of the load. In order to deal with uncertain external disturbances, researchers use sliding mode algorithm to control the crane system [6-7] , which can obtain good robustness. Hu Zhou et al. proposed a nonlinear information fusion control method [8] , which can deal with the problem of controller input saturation and realize high-performance control of the crane system. Literature [9], [10] proposed a control strategy based on energy and passivity, which can achieve better results. In addition, in recent years, some intelligent control methods including genetic algorithm [11] and fuzzy control [12] have also been applied in the field of crane control.

众所周知,吊车系统的负载摆动由台车的加减速运动引起,在台车运动与负载摆动之间存在着较强的耦合。基于此,可以为台车规划一条合适的轨迹,当台车按照该轨迹运动时,即可实现对其快速精确定位的目标。同时,考虑到摆角抑制与消除的要求,在轨迹规划过程中,通过深入分析与合理利用台车运动与负载摆动之间的耦合关系,可以规划出一条具有消摆能力的台车轨迹。这样即可完成台车快速精确定位与负载消摆的双重目标。基于该思想,研究人员已提出了很多吊车轨迹规划方法[13-17]。例如,在文献[13]中,Uchiyama等提出了一种针对悬臂吊车的开环控制策略,为了消除残余摆动,他们为悬臂的水平运动规划了一条S型轨迹。文献[14]则提出了一种基于相平面分析的轨迹规划方法,它可以较好地抑制负载摆动,并消除了残余摆动。As we all know, the load swing of the crane system is caused by the acceleration and deceleration motion of the trolley, and there is a strong coupling between the movement of the trolley and the swing of the load. Based on this, a suitable trajectory can be planned for the trolley, and when the trolley moves according to the trajectory, the goal of fast and accurate positioning can be achieved. At the same time, considering the requirements of swing angle suppression and elimination, in the trajectory planning process, through in-depth analysis and rational use of the coupling relationship between the motion of the trolley and the swing of the load, a trajectory of the trolley with the ability to eliminate swing can be planned. In this way, the dual goals of fast and accurate positioning of the trolley and load swing elimination can be achieved. Based on this idea, researchers have proposed many crane trajectory planning methods [13-17] . For example, in [13], Uchiyama et al. proposed an open-loop control strategy for jib cranes. In order to eliminate the residual swing, they planned an S-shaped trajectory for the horizontal motion of the jib. Literature [14] proposed a trajectory planning method based on phase plane analysis, which can better suppress the load swing and eliminate the residual swing.

对于吊车系统,虽然上述各种方法在理想情况下可以得到较好的控制效果,但是这些方法均假设吊钩的质量可以忽略且负载可看作质点,并将吊车系统的负载摆动视为单摆系统。若吊钩的质量较大,无法忽略,或者负载形状很大,不能简单看作质点,在这种情况下,吊车系统的摆动将会呈现出双摆现象,即吊钩绕台车进行一级摆动,同时负载绕吊钩发生二级摆动。此时,上述的单摆吊车控制方法无法取得令人满意的控制性能,目前仅存在极少考虑双摆效应的吊车系统控制策略。文献[18-20]通过分析双摆吊车系统的固有频率,将输入整形的方法成功地扩展到双摆吊车系统。孙宁等在考虑系统摆角约束、台车速度约束等一系列约束的前提下,提出了一种基于微分平坦理论的双摆吊车最优轨迹规划方法[21]。郭卫平等通过分析吊车系统的能量,提出了一种基于无源性的双摆吊车控制策略[22]For the crane system, although the above methods can achieve better control effects under ideal conditions, these methods all assume that the mass of the hook can be ignored and the load can be regarded as a mass point, and the load swing of the crane system is regarded as a simple pendulum system. If the mass of the hook is too large to be ignored, or the shape of the load is so large that it cannot simply be regarded as a mass point, in this case, the swing of the crane system will show a double pendulum phenomenon, that is, the hook moves around the trolley for one level. Swing, while the load undergoes a secondary swing around the hook. At this time, the above-mentioned single-pendulum crane control method cannot achieve satisfactory control performance, and there are only control strategies for crane systems that rarely consider the double-pendulum effect. Literature [18-20] successfully extended the method of input shaping to the double pendulum crane system by analyzing the natural frequency of the double pendulum crane system. Under the premise of considering a series of constraints such as system swing angle constraints and trolley speed constraints, Sun Ning et al. proposed an optimal trajectory planning method for double pendulum cranes based on differential flat theory [21] . Guo Weiping proposed a passivity-based double pendulum crane control strategy by analyzing the energy of the crane system [22] .

尽管上述控制策略可以实现对双摆吊车系统的控制,它们均无法实现全局时间最优的控制效果,即无法保证吊车系统运行效率的最大化。因此需要设计合适的控制方法,以提高吊车系统的工作效率。Although the above control strategies can realize the control of the double-pendulum crane system, they cannot achieve the optimal control effect of the global time, that is, they cannot guarantee the maximum operating efficiency of the crane system. Therefore, it is necessary to design a suitable control method to improve the working efficiency of the crane system.

发明内容Contents of the invention

本发明的目的是解决现有双摆效应桥式吊车系统轨迹规划方法存在的上述不足,提供一种基于伪谱法的双摆吊车全局时间最优轨迹规划方法。The purpose of the present invention is to solve the above-mentioned deficiencies existing in the trajectory planning method of the existing double-pendulum effect bridge crane system, and to provide a global-time optimal trajectory planning method for double-pendulum cranes based on the pseudo-spectral method.

本发明致力于通过分析具有双摆效应的桥式吊车系统的运动学模型,提出了一种基于伪谱法的双摆吊车全局时间最优轨迹规划方法,得到了一条全局时间最优的台车轨迹,在完成台车精确定位的同时,实现了两级负载摆动的快速抑制与消除,并将其应用于实际吊车平台进行实验,可极大地提高吊车系统的工作效率。The present invention is dedicated to analyzing the kinematic model of the bridge crane system with double pendulum effects, and proposes a global time optimal trajectory planning method for double pendulum cranes based on the pseudo-spectral method, and obtains a trolley with global time optimum The trajectory, while completing the precise positioning of the trolley, realizes the rapid suppression and elimination of the two-stage load swing, and it is applied to the actual crane platform for experiments, which can greatly improve the working efficiency of the crane system.

本发明提供的基于伪谱法的双摆吊车全局时间最优轨迹规划方法包括:The global time optimal trajectory planning method for a double pendulum crane based on the pseudo-spectrum method provided by the present invention includes:

第1、分析轨迹约束并构造相应的优化问题1. Analyze trajectory constraints and construct corresponding optimization problems

分析吊车系统的控制目标,考虑包括两级摆角及台车速度和加速度上限值在内的多种约束,得出如下的以运送时间为代价函数的优化问题:Analyzing the control objective of the crane system, considering various constraints including the two-stage swing angle and the upper limit of the speed and acceleration of the trolley, the following optimization problem with the transportation time as the cost function is obtained:

其中,x(t)代表台车的位置,xf表示台车的目标位置,括号中的t表示时间,变量后面(t)表示该变量为关于时间的变量,为简明起见,在公式中略去大部分变量中的(t),T表示完成运送的总时间,min表示最小,s.t.后面接表示需要考虑的约束条件;分别表示台车位置x(t)关于时间的一阶导数和二阶导数,即台车速度与加速度;vmax,amax分别代表所允许的台车最大速度与最大加速度;θ1(t),θ2(t)分别表示一级与二级摆角,表示一级与二级角速度;θ1max2max表示运送过程中允许的一级与二级最大摆角,ω1max2max表示所允许的一级与二级最大角速度。Among them, x(t) represents the position of the trolley, x f represents the target position of the trolley, t in brackets represents the time, and (t) after the variable indicates that the variable is a variable about time. For the sake of simplicity, it is omitted in the formula (t) in most variables, T represents the total time to complete the delivery, min represents the minimum, and st is followed by constraints that need to be considered; Respectively represent the first and second derivatives of the trolley position x(t) with respect to time, that is, the trolley speed and acceleration; v max and a max respectively represent the allowable maximum speed and maximum acceleration of the trolley; θ 1 (t) , θ 2 (t) represent the primary and secondary pendulum angles respectively, Indicates the primary and secondary angular velocities; θ 1max , θ 2max represent the maximum allowed swing angles of the primary and secondary during transportation, ω 1max , ω 2max represent the maximum allowable angular velocities of the primary and secondary.

第2、加速度驱动模型建立与优化问题转化2. Acceleration drive model establishment and optimization problem transformation

分析与利用双摆桥式吊车系统,得到如下的加速度驱动系统模型:By analyzing and utilizing the double pendulum bridge crane system, the following acceleration drive system model is obtained:

其中,ζ表示系统的全状态向量,具体定义如下:Among them, ζ represents the full state vector of the system, which is defined as follows:

其中,x(t),分别表示台车位置与速度,θ1(t),表示一级摆角及角速度,θ2(t),表示二级摆角及角速度,括号的上标T代表矩阵的转置运算;u(t)代表该系统的系统输入,且 为台车加速度;f(ζ),h(ζ)均代表以系统的全状态向量ζ为自变量的函数,由吊车系统运动学方程得到,具体形式见(7);为系统的全状态向量关于时间的导数。where x(t), represent the position and velocity of the trolley respectively, θ 1 (t), Indicates the primary swing angle and angular velocity, θ 2 (t), Indicates the secondary pendulum angle and angular velocity, the superscript T in the brackets represents the transposition operation of the matrix; u(t) represents the system input of the system, and is the acceleration of the trolley; f(ζ), h(ζ) both represent functions with the full state vector ζ of the system as an independent variable, obtained from the kinematic equation of the crane system, see (7) for the specific form; is the derivative of the full state vector of the system with respect to time.

利用上述加速度驱动系统模型,原优化问题转化为如下的形式:Using the above acceleration-driven system model, the original optimization problem is transformed into the following form:

其中,ζ表示系统的全状态向量,u(t)代表该系统的系统输入,且 为台车加速度;括号中的t表示时间,变量后面(t)表示该变量为关于时间的变量,为简明起见,在公式中略去大部分变量中的(t),T表示完成运送的总时间,min表示最小,s.t.后面接表示需要考虑的约束条件;向量的上标T代表矩阵的转置运算;xf表示给定的台车目标位置,表示台车速度,vmax,amax分别代表所允许的台车最大速度与最大加速度;θ1(t),θ2(t)分别表示一级与二级摆角,表示一级与二级角速度;θ1max2max表示运送过程中允许的一级与二级最大摆角,ω1max2max表示所允许的一级与二级最大角速度。Among them, ζ represents the full state vector of the system, u(t) represents the system input of the system, and is the acceleration of the trolley; the t in the brackets represents the time, and the (t) behind the variable indicates that the variable is a variable about time. For the sake of simplicity, most of the variables (t) are omitted in the formula, and T represents the total time to complete the delivery , min means the minimum, st is followed by the constraints that need to be considered; the superscript T of the vector represents the transpose operation of the matrix; x f represents the given target position of the trolley, Indicates the speed of the trolley, v max and a max respectively represent the maximum speed and maximum acceleration allowed by the trolley; θ 1 (t), θ 2 (t) represent the primary and secondary swing angles respectively, Indicates the primary and secondary angular velocities; θ 1max , θ 2max represent the maximum allowed swing angles of the primary and secondary during transportation, ω 1max , ω 2max represent the maximum allowable angular velocities of the primary and secondary.

第3、基于高斯伪谱法的轨迹规划3. Trajectory planning based on Gaussian pseudospectral method

利用高斯伪谱法的思想对第2步中的优化问题进行处理与求解,具体步骤如下:Using the idea of Gaussian pseudospectral method to process and solve the optimization problem in the second step, the specific steps are as follows:

第3.1、首先利用拉格朗日插值方法,选择勒让德-高斯(Legendre-Gauss,LG)点处的离散系统状态轨迹以及输入轨迹,通过离散轨迹与拉格朗日插值多项式,表示相应的近似轨迹模型。3.1. First, use the Lagrangian interpolation method to select the discrete system state trajectory and input trajectory at the Legendre-Gauss (Legendre-Gauss, LG) point, and express the corresponding Approximate trajectory model.

第3.2、接着,通过对近似后的轨迹模型进行求导,将系统状态的导数用拉格朗日多项式导数表示。Section 3.2. Next, by deriving the approximated trajectory model, the derivative of the system state is represented by the derivative of the Lagrangian polynomial.

第3.3、随后,利用离散的轨迹模型及其导数,将原系统运动学模型转化为一系列多项式方程;利用高斯积分,第2步中优化问题里的边界条件同样表示成多项式方程的形式。3.3. Subsequently, the original system kinematics model is converted into a series of polynomial equations by using the discrete trajectory model and its derivatives; using Gaussian integrals, the boundary conditions in the optimization problem in the second step are also expressed in the form of polynomial equations.

第3.4、最后,时间最优轨迹规划问题即转化为一种具有代数约束的非线性规划问题,通过求解即得到全局最优时间及最优轨迹。Section 3.4. Finally, the time-optimal trajectory planning problem is transformed into a nonlinear programming problem with algebraic constraints, and the global optimal time and optimal trajectory can be obtained by solving it.

第4、轨迹跟踪4. Trajectory tracking

通过码盘或激光传感器,测量台车位置与速度信号x(t),利用第3.4步所得待跟踪台车时间最优参考轨迹以及对应的速度轨迹,选择比例微分(proportional-derivative,PD)控制器如下:Measure the position and speed signal x(t) of the trolley through the code disc or laser sensor, Using the optimal time reference trajectory of the trolley to be tracked and the corresponding velocity trajectory obtained in step 3.4, select a proportional-derivative (PD) controller as follows:

其中,F(t)代表作用在台车上的驱动力,xr(t),分别表示参考位移轨迹以及速度轨迹,kp,kd是需要调整的正的控制增益。利用该控制器,能够计算得到相应的实时控制信号,驱动吊车运动,完成控制目标。Among them, F(t) represents the driving force acting on the trolley, x r (t), represent the reference displacement trajectory and velocity trajectory respectively, k p and k d are the positive control gains that need to be adjusted. Using the controller, the corresponding real-time control signal can be calculated to drive the crane to move and complete the control target.

本发明方法的理论依据及推导过程Theoretical basis and derivation process of the inventive method

第1、分析轨迹约束并构造相应的优化问题1. Analyze trajectory constraints and construct corresponding optimization problems

具有双摆效应的桥式吊车,其运动学模型如下所示:The kinematic model of an overhead crane with double pendulum effect is as follows:

其中,m1,m2分别表示吊钩和负载的质量,M表示台车的质量;x(t)表示台车位移,表示x(t)关于时间的二阶导数,即台车加速度;t表示时间,变量后面(t)表示该变量为关于时间的变量,为简明起见,在公式中略去大部分变量中的(t);θ1(t),θ2(t)表示一级与二级摆角(吊钩摆角与负载绕吊钩的摆角),为相应的角速度,为角加速度;l1表示吊绳的长度,l2为等效绳长,即负载质心与吊钩质心之间的距离;g为重力加速度。Among them, m 1 and m 2 represent the mass of the hook and the load respectively, M represents the mass of the trolley; x(t) represents the displacement of the trolley, Indicates the second derivative of x(t) with respect to time, that is, the acceleration of the trolley; t represents time, and (t) after the variable indicates that the variable is a variable with respect to time. For the sake of simplicity, most of the variables (t) are omitted in the formula ); θ 1 (t), θ 2 (t) represent the primary and secondary swing angles (swing angle of the hook and the swing angle of the load around the hook), is the corresponding angular velocity, is the angular acceleration; l 1 is the length of the sling, l 2 is the equivalent rope length, that is, the distance between the center of mass of the load and the center of mass of the hook; g is the acceleration of gravity.

对于式(1)、(2),分别两边同除以(m1+m2)l1与m2l2,并化简得:For formulas (1) and (2), divide both sides by (m 1 +m 2 )l 1 and m 2 l 2 respectively, and simplify to get:

式(3)、(4)描述了台车位移x(t)与系统两级摆角θ1(t),θ2(t)之间的耦合关系,即台车的运动对负载摆动的影响。通过深入分析该耦合关系,规划一条具有消摆能力的台车轨迹,是本发明的基础。Equations (3) and (4) describe the coupling relationship between the displacement x(t) of the trolley and the two-stage swing angles θ 1 (t), θ 2 (t) of the system, that is, the influence of the movement of the trolley on the swing of the load . Through in-depth analysis of the coupling relationship, planning a trolley trajectory with the ability to eliminate swing is the basis of the present invention.

为完成时间最优轨迹规划,考虑到吊车系统在实际工作时的目标、物理约束及安全性,本发明将系统地考虑如下几个方面的轨迹约束[21]:In order to complete the time-optimal trajectory planning, the present invention will systematically consider the trajectory constraints of the following aspects [21] , considering the objectives, physical constraints and safety of the crane system during actual work:

1)为实现快速而精确的台车定位,台车从初始位置x0开始运动,经过时间T达到目标位置xf,且开始时刻与结束时刻的台车速度、加速度均为0,即1) In order to achieve fast and accurate positioning of the trolley, the trolley starts to move from the initial position x 0 , and reaches the target position x f after a time T, and the speed and acceleration of the trolley at the start time and the end time are both 0, that is

其中,T表示运送过程所需要时间;对于初始位置,不失一般性,这里选取x0=0。Among them, T represents the time required for the transportation process; for the initial position, x 0 =0 is selected here without loss of generality.

2)考虑到实际电机的输出有界,在运送过程中,台车的速度、加速度均应保持在适当的范围内,即2) Considering that the output of the actual motor is bounded, the speed and acceleration of the trolley should be kept within an appropriate range during the transportation process, that is,

其中,vmax,amax分别表示允许的台车最大速度和加速度,代表台车速度与加速度的绝对值。Among them, v max and a max represent the allowable maximum speed and acceleration of the trolley respectively, Represents the absolute value of the speed and acceleration of the trolley.

3)为保证在运送结束时可直接对负载进行下一步的处理,台车达到目标位置后应无残余摆动且角速度也均为0,即3) In order to ensure that the load can be directly processed in the next step at the end of the transportation, there should be no residual swing after the trolley reaches the target position and the angular velocity should be 0, that is,

4)为避免由于负载的剧烈摆动引起的碰撞,在运送过程中,两级摆动的摆角及角速度都应保持在允许的范围内,即4) In order to avoid the collision caused by the violent swing of the load, during the transportation process, the swing angle and angular velocity of the two-stage swing should be kept within the allowable range, that is,

其中,θ1max1max分别表示一级与二级摆角允许的最大角度;ω1max2max代表允许的一级与二级最大角速度。Among them, θ 1max and θ 1max represent the maximum angles allowed by the primary and secondary swing angles respectively; ω 1max and ω 2max represent the maximum angular velocities allowed by the primary and secondary swing angles.

综上,构造出如下的优化问题:In summary, the following optimization problem is constructed:

其中,min表示最小,s.t.后面接表示需要考虑的约束条件。接下来,将通过伪谱法求解该优化问题,并为台车规划出一条时间最优轨迹。Among them, min means the minimum, and s.t. is followed by the constraints that need to be considered. Next, the optimization problem will be solved by the pseudospectral method, and a time-optimal trajectory will be planned for the trolley.

第2、加速度驱动模型建立与优化问题转化2. Acceleration drive model establishment and optimization problem transformation

为方便后续的轨迹规划,这里首先对双摆吊车系统模型以及优化问题(5)进行转化。为此定义系统全状态向量ζ(t)如下:In order to facilitate the subsequent trajectory planning, the system model of the double pendulum crane and the optimization problem (5) are transformed first. For this purpose, the system full state vector ζ(t) is defined as follows:

其中,x(t),分别表示台车位置与速度,θ1(t),表示一级摆角及角速度,θ2(t),表示二级摆角及角速度,括号的上标T代表矩阵的转置运算。根据式(3)、(4),将台车的加速度作为系统的输入。此时,运动学模型转化为如下形式:where x(t), represent the position and velocity of the trolley respectively, θ 1 (t), Indicates the primary swing angle and angular velocity, θ 2 (t), Indicates the secondary swing angle and angular velocity, and the superscript T in the brackets represents the transposition operation of the matrix. According to formulas (3) and (4), the acceleration of the trolley is taken as the input of the system. At this point, the kinematics model is transformed into the following form:

其中,表示ζ(t)关于时间的导数;u(t)为台车加速度f(ζ),h(ζ)表示关于ζ(t)的辅助函数,具体形式如下:in, Indicates the derivative of ζ(t) with respect to time; u(t) is the acceleration of the trolley f(ζ), h(ζ) represent auxiliary functions about ζ(t), the specific form is as follows:

其中,为方便描述,定义了如下的辅助变量A,B,C,D:Among them, for the convenience of description, the following auxiliary variables A, B, C, D are defined:

上式中,使用了如下的简化形式:In the above formula, the following simplified form is used:

S1=sinθ1,S2=sinθ2,C1=cosθ1,C2=cosθ2,S 1 = sinθ 1 , S 2 = sinθ 2 , C 1 = cosθ 1 , C 2 = cosθ 2 ,

S1-2=sin(θ12),C1-2=cos(θ12).S 1-2 =sin(θ 12 ),C 1-2 =cos(θ 12 ).

利用所得的加速度驱动系统模型(6),原优化问题(5)以转化为:Using the obtained acceleration drive system model (6), the original optimization problem (5) can be transformed into:

其中,ζ表示系统的全状态向量,u(t)代表该系统的系统输入,且 为台车加速度;括号中的t表示时间,变量后面(t)表示该变量为关于时间的变量,为简明起见,在公式中略去大部分变量中的(t),T表示完成运送的总时间,min表示最小,s.t.后面接表示需要考虑的约束条件;向量的上标T代表矩阵的转置运算;xf表示给定的台车目标位置,表示台车速度,vmax,amax分别代表所允许的台车最大速度与最大加速度;θ1(t),θ2(t)分别表示一级与二级摆角,表示一级与二级角速度;θ1max2max表示运送过程中允许的一级与二级最大摆角,ω1max2max表示所允许的一级与二级最大角速度。Among them, ζ represents the full state vector of the system, u(t) represents the system input of the system, and is the acceleration of the trolley; the t in the brackets represents the time, and the (t) behind the variable indicates that the variable is a variable about time. For the sake of simplicity, most of the variables (t) are omitted in the formula, and T represents the total time to complete the delivery , min means the minimum, st is followed by the constraints that need to be considered; the superscript T of the vector represents the transpose operation of the matrix; x f represents the given target position of the trolley, Indicates the speed of the trolley, v max and a max respectively represent the maximum speed and maximum acceleration allowed by the trolley; θ 1 (t), θ 2 (t) represent the primary and secondary swing angles respectively, Indicates the primary and secondary angular velocities; θ 1max , θ 2max represent the maximum allowed swing angles of the primary and secondary during transportation, ω 1max , ω 2max represent the maximum allowable angular velocities of the primary and secondary.

接下来,将通过伪谱法求解该优化问题,并为台车规划出一条时间最优轨迹。Next, the optimization problem will be solved by the pseudospectral method, and a time-optimal trajectory will be planned for the trolley.

第3、基于高斯伪谱法的轨迹规划3. Trajectory planning based on Gaussian pseudospectral method

为适应高斯伪谱法的要求,首先需要利用坐标变换,将轨迹对应的时间区间由t∈[0,T]转化到区间τ∈[-1,1]上,即In order to meet the requirements of the Gaussian pseudospectral method, it is first necessary to use coordinate transformation to transform the time interval corresponding to the trajectory from t∈[0,T] to the interval τ∈[-1,1], that is

这里的τ表示类似时间的辅助变量。随后选取K个勒让德-高斯(Legendre-Gauss,LG)点{τ12,...,τK}∈(-1,1)组成点列。这里的τ12,...,τK即代表所选取的LG点,下标表示该点的序号为1,2,...,K;K为选择的LG点的数目。LG点的选取通过求解K阶的勒让德多项式的零点获得。同时,把τ0=-1加到点列的首位,待规划的系统状态量及输入量离散表示成如下的形式:Here τ denotes an auxiliary variable like time. Then select K Legendre-Gauss (Legendre-Gauss, LG) points {τ 12 ,...,τ K }∈(-1,1) to form a point sequence. Here, τ 1 , τ 2 ,...,τ K represent the selected LG points, and the subscript indicates that the serial numbers of the points are 1, 2,..., K; K is the number of selected LG points. The selection of the LG point is obtained by solving the zero point of the K-order Legendre polynomial. At the same time, add τ 0 =-1 to the first position of the point column, and the discrete expression of the system state quantity and input quantity to be planned is as follows:

ζ(τ0),ζ(τ1),ζ(τ2),...,ζ(τK),ζ(τ 0 ),ζ(τ 1 ),ζ(τ 2 ),...,ζ(τ K ),

u(τ0),u(τ1),u(τ2),...,u(τK),u(τ 0 ),u(τ 1 ),u(τ 2 ),...,u(τ K ),

利用该K+1个节点,构造出K+1个拉格朗日插值多项式,具体形式如下:Using the K+1 nodes, construct K+1 Lagrangian interpolation polynomials, the specific form is as follows:

其中,代表序号为i的拉格朗日差值多项式,i∈{0,1,...,K};这里,τ∈[-1,1];表示连乘符号,即从序号j=0的项开始,一直乘到j=K的项,且过程中跳过j=i的项。利用式(11)以及LG点处的系统状态量和输入量的值,系统的状态量轨迹以及输入量轨迹通过下面的方式近似表出:in, Represents the Lagrangian difference polynomial with serial number i, i∈{0,1,...,K}; here, τ∈[-1,1]; Indicates the multiplication symbol, that is, starting from the item with sequence number j=0, multiplying to the item of j=K, and skipping the item of j=i in the process. Using formula (11) and the values of the system state quantity and input quantity at the LG point, the state quantity trajectory and input quantity trajectory of the system are approximately expressed in the following way:

其中,ζ(τi),u(τi)分别表示τ=τi处的系统状态量以及输入量;表示累加符号,即从序号i=0的项开始累加到i=K的项。对式(12)求导,并利用式(11)中插值函数的具体形式,计算并化简,得到状态量轨迹的导数如下:Among them, ζ(τ i ), u(τ i ) represent the system state quantity and input quantity at τ=τ i respectively; Indicates the accumulation symbol, that is, the item with sequence number i=0 is accumulated to the item with i=K. Calculate the derivative of formula (12), and use the specific form of the interpolation function in formula (11), calculate and simplify, and obtain the derivative of the state quantity trajectory as follows:

其中,表示τ=τk处的状态轨迹导数值;代表τ=τk处,拉格朗日多项式的导数值,具体形式如下:in, Indicates the state trajectory derivative value at τ=τ k ; Representing τ=τ k , the Lagrangian polynomial The derivative value of , the specific form is as follows:

利用式(13)、(14)以及LG点处的轨迹值,对优化问题(9)中的微分方程约束进行离散化与近似化处理,具体结果如下:Using equations (13), (14) and the trajectory value at the LG point, the differential equation constraints in the optimization problem (9) Carry out discretization and approximation processing, the specific results are as follows:

其中,k∈{0,1,2,...,K}。式(15)具有代数约束的形式。接下来,优化问题中的边界条件约束也需要转化成代数约束的形式,其中0时刻边界约束直接改写如下:where k∈{0,1,2,...,K}. Equation (15) has an algebraically constrained form. Next, the boundary condition constraints in the optimization problem also need to be converted into the form of algebraic constraints, where the boundary constraints at time 0 are directly rewritten as follows:

ζ(0)=[0 0 0 0 0 0]T.ζ(0)=[0 0 0 0 0 0] T .

为表示运送过程结束时刻的边界约束,定义τK+1=1。由式(10)可知,τK+1=1即对应运送结束时刻t=T。利用高斯积分,该边界约束条件表示为:To express the boundary constraints at the end of the transport process, τ K+1 =1 is defined. It can be seen from formula (10) that τ K+1 =1 corresponds to the delivery end time t=T. Using Gaussian integrals, this boundary constraint is expressed as:

其中,ζ(τ0)即上述的系统初始状态向量;wk表示第k个勒让德权值(Legendreweight),具体值在求解LG点时一并求得。Among them, ζ(τ 0 ) is the above-mentioned initial state vector of the system; w k represents the kth Legendreweight (Legendreweight), and the specific value is obtained when solving the LG point.

综上,优化问题中所有的约束都可以通过代数约束的形式表出,基于此,原优化问题转化成一种具有代数约束的非线性规划问题,具体如下所示:In summary, all constraints in the optimization problem can be expressed in the form of algebraic constraints. Based on this, the original optimization problem is transformed into a nonlinear programming problem with algebraic constraints, as follows:

min Tmin T

s.t.s.t.

ζ(0)=[0 0 0 0 0 0]T,ζ(0)=[0 0 0 0 0 0] T ,

ζ(τ)-χ≤0,-ζ(τ)-χ≤0,ζ(τ)-χ≤0,-ζ(τ)-χ≤0,

u(τ)-amax≤0,-u(τ)-amax≤0u(τ)-a max ≤0,-u(τ)-a max ≤0

其中,向量χ的定义如下:Among them, the definition of vector χ is as follows:

χ=[∞ vmax θ1max ω1max θ2max ω2max]T χ=[∞ v max θ 1max ω 1max θ 2max ω 2max ] T

其中,∞代表无穷大。对于上述带约束非线性规划问题,这里选择连续二次型规划方法(sequential quadratic programming,SQP)求解,得到如下的时间最优状态向量序列:Among them, ∞ represents infinity. For the above-mentioned constrained nonlinear programming problem, the sequential quadratic programming (SQP) method is chosen here to solve it, and the following time-optimal state vector sequence is obtained:

ζ(τ0),ζ(τ1),ζ(τ2),...,ζ(τK),ζ(τK+1),ζ(τ 0 ),ζ(τ 1 ),ζ(τ 2 ),...,ζ(τ K ),ζ(τ K+1 ),

上式即时间离散的最优状态向量序列。取每个向量的前两项(台车位移与台车速度),并进行插值,即得到相应的全局时间最优的台车位移与速度轨迹。The above formula is the time-discrete optimal state vector sequence. Take the first two items of each vector (car displacement and trolley speed) and perform interpolation to obtain the corresponding global time optimal trolley displacement and velocity trajectory.

第4、轨迹跟踪4. Trajectory tracking

通过码盘或激光传感器,测量台车位置与速度信号x(t),利用第3步所得待跟踪台车时间最优参考轨迹以及对应的速度轨迹,选择比例微分(proportional-derivative,PD)控制器如下:Measure the position and speed signal x(t) of the trolley through the code disc or laser sensor, Using the optimal time reference trajectory of the trolley to be tracked and the corresponding velocity trajectory obtained in step 3, select a proportional-derivative (PD) controller as follows:

其中,F(t)代表作用在台车上的驱动力,xr(t),分别表示参考位移轨迹以及速度轨迹,kp,kd是需要调整的正的控制增益。利用该控制器,能够计算得到相应的实时控制信号,驱动吊车运动,完成控制目标。Among them, F(t) represents the driving force acting on the trolley, x r (t), represent the reference displacement trajectory and velocity trajectory respectively, k p and k d are the positive control gains that need to be adjusted. Using the controller, the corresponding real-time control signal can be calculated to drive the crane to move and complete the control target.

本发明的优点和有益效果Advantages and beneficial effects of the present invention

本发明针对具有双摆效应的桥式吊车,提出了一种基于伪谱法的双摆吊车全局时间最优轨迹规划方法。具体而言,首先将吊车系统的运动学模型转化为一种加速度驱动模型,并基于此模型,考虑各种约束,构造出带约束的优化问题;随后,利用高斯伪谱法对所得优化问题进行处理,将其转化为更方便求解的非线性规划问题。在此基础上,即可得到时间最优台车轨迹。本发明提出的这种轨迹规划方法除了考虑消摆的目标之外,还可以非常方便地处理摆角约束、角速度约束、台车速度约束、加速度约束等实际物理约束。与现有方法不同的是,本发明提出的方法可获得全局时间最优解,极大地提高了吊车系统的工作效率。最后,通过仿真与实验,验证了本发明的有效性。Aiming at the bridge crane with double pendulum effect, the invention proposes a global time optimal trajectory planning method for the double pendulum crane based on the pseudo spectrum method. Specifically, firstly, the kinematics model of the crane system is transformed into an acceleration-driven model, and based on this model, various constraints are considered to construct an optimization problem with constraints; then, the obtained optimization problem is analyzed by using the Gaussian pseudospectral method Transform it into a nonlinear programming problem that is more convenient to solve. On this basis, the time-optimal trolley trajectory can be obtained. The trajectory planning method proposed by the present invention can handle practical physical constraints such as swing angle constraints, angular velocity constraints, trolley speed constraints, and acceleration constraints very conveniently, in addition to considering the goal of swing elimination. Different from the existing method, the method proposed by the invention can obtain the global time optimal solution, which greatly improves the working efficiency of the crane system. Finally, the effectiveness of the present invention is verified through simulation and experiment.

附图说明:Description of drawings:

图1表示本发明中轨迹规划仿真结果1(台车位移与速度曲线);Fig. 1 represents trajectory planning simulation result 1 (carriage displacement and speed curve) among the present invention;

图2表示本发明中轨迹规划仿真结果2(两级摆角及角速度曲线);Fig. 2 represents trajectory planning simulation result 2 (two-stage swing angle and angular velocity curve) among the present invention;

图3表示本发明中轨迹规划实验结果;Fig. 3 represents trajectory planning experiment result among the present invention;

图4表示线性二次型控制器实验结果;Figure 4 shows the experimental results of the linear quadratic controller;

图5表示多项式轨迹规划实验结果。Figure 5 shows the experimental results of polynomial trajectory planning.

具体实施方式:detailed description:

实施例1:Example 1:

分析吊车系统的控制目标,考虑包括两级摆角及台车速度和加速度上限值在内的多种约束,得到如下的以运送时间为代价函数的优化问题:Analyzing the control objective of the crane system, considering various constraints including the two-stage swing angle and the upper limit of the speed and acceleration of the trolley, the following optimization problem with the transportation time as the cost function is obtained:

这里,选择台车的目标位置为xf=0.6m,轨迹约束如下:Here, the target position of the trolley is selected as x f =0.6m, and the trajectory constraints are as follows:

θ1max=θ2max=2deg,vmax=0.3m/s,ω1max=ω2max=5deg/s,amax=0.15m/s2 θ 1max =θ 2max =2deg, v max =0.3m/s, ω 1max =ω 2max =5deg/s, a max =0.15m/s 2

第2、加速度驱动模型建立与优化问题转化2. Acceleration drive model establishment and optimization problem transformation

分析与利用双摆桥式吊车系统,建立如下的加速度驱动系统模型:Analyze and utilize the double pendulum overhead crane system to establish the following acceleration drive system model:

由于该模型具体表达式过于复杂,这里不再赘述,仅给出吊车系统的相应物理参数,如下所示:Since the specific expression of the model is too complicated, it is not repeated here, only the corresponding physical parameters of the crane system are given, as follows:

M=6.5kg,m1=2.003kg,m2=0.559kg,g=9.8m/s2,l1=0.53m,l2=0.4m.M=6.5kg, m 1 =2.003kg, m 2 =0.559kg, g=9.8m/s 2 , l 1 =0.53m, l 2 =0.4m.

接着优化问题转化为如下的形式:Then the optimization problem is transformed into the following form:

第3、基于高斯伪谱法的轨迹规划3. Trajectory planning based on Gaussian pseudospectral method

为实现本发明所提出的基于伪谱法的轨迹规划方法,这里使用GPOPS软件工具箱[23]以及SNOPT工具箱[24]离线求解第2步中的优化问题并得到相应的时间最优轨迹。其中,选取勒让德-高斯点参数K=750。具体的结果参见仿真实验描述部分。In order to realize the trajectory planning method based on the pseudospectral method proposed by the present invention, the GPOPS software toolbox [23] and the SNOPT toolbox [24] are used to solve the optimization problem in the second step offline and obtain the corresponding time optimal trajectory. Wherein, the Legendre-Gauss point parameter K=750 is selected. For the specific results, please refer to the description part of the simulation experiment.

第4、仿真实验效果描述4. Description of simulation experiment effect

第4.1、仿真结果Section 4.1, Simulation Results

为验证本发明提出轨迹规划算法的可行性,首先在MATLAB/Simulink环境中进行数值仿真。仿真过程分为两步。第一步,按照本方法为台车规划一条时间最优的参考轨迹;第二步,假定台车按照该参考轨迹运行,得到台车及摆角的轨迹。In order to verify the feasibility of the trajectory planning algorithm proposed by the present invention, numerical simulation is first carried out in the MATLAB/Simulink environment. The simulation process is divided into two steps. The first step is to plan a time-optimal reference trajectory for the trolley according to this method; the second step is to assume that the trolley runs according to the reference trajectory to obtain the trajectory of the trolley and its swing angle.

仿真的结果如附图1、附图2所示。附图1中,虚线代表台车目标位置,点画线代表台车速度约束,实线代表仿真结果。附图2中,虚线代表角度约束,点画线代表角速度约束,实线代表仿真结果。从附图1中可以看出,当台车沿参考轨迹运行时,台车快速且精确地收敛到目标位置xf=0.6m;同时,在整个过程中,台车的速度满足所设定约束。从附图2中可以看出,台车运送过程中,两级摆角均小于所给约束值2deg;同时,角速度也在所约束范围内;且在运送结束时,两级摆角均不存在残余摆动,即快速消摆的目标也可实现。The simulation results are shown in Figure 1 and Figure 2 . In Figure 1, the dotted line represents the target position of the trolley, the dotted line represents the speed constraint of the trolley, and the solid line represents the simulation result. In Figure 2, the dotted line represents the angular constraint, the dotted line represents the angular velocity constraint, and the solid line represents the simulation result. It can be seen from Figure 1 that when the trolley runs along the reference trajectory, the trolley quickly and accurately converges to the target position x f =0.6m; at the same time, during the whole process, the speed of the trolley satisfies the set constraints . It can be seen from Figure 2 that during the transportation of the trolley, the two-stage swing angles are less than the given constraint value 2deg; at the same time, the angular velocity is also within the restricted range; and at the end of the transportation, the two-stage swing angles do not exist The goal of residual swing, i.e. fast swing elimination, is also achievable.

第4.2、实验结果Section 4.2. Experimental results

通过码盘或激光传感器,测量台车位置与速度信号x(t),利用第3步所得待跟踪台车时间最优参考轨迹以及对应的速度轨迹,选择比例微分(proportional-derivative,PD)控制器如下:Measure the position and speed signal x(t) of the trolley through the code disc or laser sensor, Using the optimal time reference trajectory of the trolley to be tracked and the corresponding velocity trajectory obtained in step 3, select a proportional-derivative (PD) controller as follows:

其中,F(t)代表作用在台车上的驱动力,xr(t),分别表示参考位移轨迹以及速度轨迹,kp,kd是需要调整的正的控制增益。利用该控制器,能够计算得到相应的实时控制信号,驱动吊车运动,完成控制目标。Among them, F(t) represents the driving force acting on the trolley, x r (t), represent the reference displacement trajectory and velocity trajectory respectively, k p and k d are the positive control gains that need to be adjusted. Using the controller, the corresponding real-time control signal can be calculated to drive the crane to move and complete the control target.

在实验中,选取的跟踪控制器控制增益为:In the experiment, the selected tracking controller control gain is:

kp=750,kd=150k p =750, k d =150

实验结果如附图3所示。其中,点画线代表摆角约束,实线表示实际的台车运动轨迹以及摆角轨迹。从图中可以看出,在PD控制器作用下,台车可以较好地跟踪该参考轨迹,实现快速精确台车定位的控制目标。两级摆角在整个运送过程中均保持在给定的范围内,且运送结束时,几乎没有残余摆动。该实验结果验证了本发明可以实现较好的效果。The experimental results are shown in Figure 3. Among them, the dotted line represents the constraint of the swing angle, and the solid line represents the actual trajectory of the trolley and the trajectory of the swing angle. It can be seen from the figure that under the action of the PD controller, the trolley can track the reference trajectory well and achieve the control goal of fast and accurate trolley positioning. The two-stage swing angles are maintained within a given range during the entire delivery process, and there is almost no residual swing at the end of delivery. The experimental results have verified that the present invention can achieve better effects.

为进一步体现本发明的有效性,作为对比,这里给出了文献[21]的最优轨迹规划方法,以及线性二次型调节器(linear quadratic regulator,LQR)方法的实验结果。其中,文献[21]中轨迹规划方法的约束选取与本发明所提方法的约束一致;而对于LQR方法,其控制器表达式如下:In order to further demonstrate the effectiveness of the present invention, as a comparison, the optimal trajectory planning method in [21] and the experimental results of the linear quadratic regulator (LQR) method are given here. Among them, the constraint selection of the trajectory planning method in literature [21] is consistent with the constraints of the method proposed in the present invention; and for the LQR method, the controller expression is as follows:

其中,F(t)代表作用在台车上的驱动力;x(t),表示实时测量的台车位置与速度;xf即给定的目标位置,设为xf=0.6m;θ1(t),表示一级摆角及其角速度;θ2(t),表示二级摆角及其角速度,k1,k2,k3,k4,k5,k6均为相应的控制增益,具体取值见下文。同时,该方法代价函数选取如下:Among them, F(t) represents the driving force acting on the trolley; x(t), Indicates the position and speed of the trolley measured in real time; x f is the given target position, set x f =0.6m; θ 1 (t), Indicates the first-order pendulum angle and its angular velocity; θ 2 (t), Indicates the secondary swing angle and its angular velocity. k 1 , k 2 , k 3 , k 4 , k 5 , and k 6 are the corresponding control gains. See below for specific values. At the same time, the cost function of this method is selected as follows:

其中,X定义如下where X is defined as follows

e(t)代表台车定位误差,e(t)=x(t)-xf;矩阵Q,R的选择如下:e(t) represents the positioning error of the trolley, e(t)=x(t)-x f ; the selection of matrix Q and R is as follows:

Q=diag{200,1,200,1,200,1},R=0.05Q=diag{200,1,200,1,200,1}, R=0.05

计算得到控制器增益如下:The calculated controller gain is as follows:

k1=63.2456,k2=50.7765,k3=-129.3086,k4=-6.9634,k5=19.9137,k6=-6.7856.k 1 =63.2456, k 2 =50.7765, k 3 =-129.3086, k 4 =-6.9634, k 5 =19.9137, k 6 =-6.7856.

LQR方法以及文献[21]中方法,实验结果如附图4、附图5所示。其中,附图5为利用文献[21]中方法的实验结果,实线代表实验结果,点画线代表摆角约束。The LQR method and the method in the literature [21], the experimental results are shown in Figure 4 and Figure 5. Among them, Figure 5 shows the experimental results using the method in literature [21], the solid line represents the experimental results, and the dotted line represents the swing angle constraint.

从附图3中可以看出,当台车跟踪所规划最优轨迹运行时,完成运送过程仅需4.095s,且整个过程中两级摆动均保持在给定约束2deg以内,运送完成时基本无残余摆动。而对于文献[21]所提方法,完成运送过程需要5.445s;对于LQR方法,完成运送过程需要7.425s。同时,LQR方法导致的一级摆动最大摆角达到6.5deg,二级摆动最大摆角达到11.5deg,远大于本发明所提方法的摆角。综上可知,本发明所设计的方法可以实现台车的精确定位以及系统两级摆动的快速消除,获得良好的控制性能。It can be seen from Figure 3 that when the trolley tracks the optimal trajectory planned, it only takes 4.095s to complete the transportation process, and the two-stage swings are kept within the given constraint 2deg during the whole process, and there is basically no problem when the transportation is completed. Residual swing. For the method proposed in [21], it takes 5.445s to complete the delivery process; for the LQR method, it takes 7.425s to complete the delivery process. At the same time, the maximum swing angle of the first-stage swing and the maximum swing angle of the second-stage swing caused by the LQR method reach 6.5 deg, which are much larger than the swing angle of the method proposed in the present invention. In summary, the method designed in the present invention can realize the precise positioning of the trolley and the rapid elimination of the two-stage swing of the system, and obtain good control performance.

参考文献references

[1]Liu Y,Yu H.A survey of underactuated mechanical systems.IETControl Theory&Applications.2013,7(7):921-935[1]Liu Y, Yu H.A survey of underactuated mechanical systems.IET Control Theory&Applications.2013,7(7):921-935

[2]TuanLA,Lee S G,DangVH,Moon S,KimB.Partial feedbacklinearizationcontrol of a three-dimensional overhead crane.International Journal ofControl,Automation and Systems,2013,11(4):718-727[2] TuanLA, Lee S G, DangVH, Moon S, KimB. Partial feedback linearization control of a three-dimensional overhead crane. International Journal of Control, Automation and Systems, 2013, 11(4): 718-727

[3]TuanLA,Kim GH,KimMY,Lee S G.Partial feedbacklinearization controlofoverhead cranes with varying cable lengths.International JournalofPrecision Engineering and Manufacturing,2012,13(4):501-507[3] TuanLA, Kim GH, KimMY, Lee S G. Partial feedback linearization control of overhead cranes with varying cable lengths. International Journal of Precision Engineering and Manufacturing, 2012, 13(4): 501-507

[4]Singhose W,Kim D,Kenison M.Input shaping control of double-pendulum bridge crane oscillations.ASME Journal ofDynamic Systems,Measurement,and Control,2008,130(3):034504.1-034504.7[4] Singhose W, Kim D, Kenison M. Input shaping control of double-pendulum bridge crane oscillations. ASME Journal of Dynamic Systems, Measurement, and Control, 2008, 130(3): 034504.1-034504.7

[5]Blackburn D,Singhose W,Kitchen J,Patrangenaru V,Lawrence J,KamoiT,Taura A.Command shapingfor nonlinear crane dynamics.Journal of Vibrationand Control,2010,16(4):477-501[5] Blackburn D, Singhose W, Kitchen J, Patrangenaru V, Lawrence J, Kamoi T, Taura A. Command shaping for nonlinear crane dynamics. Journal of Vibration and Control, 2010, 16(4): 477-501

[6]王伟,易建强,赵冬斌,刘殿通.桥式吊车系统的分级滑模控制方法.自动化学报,2004,30(5):784-788[6] Wang Wei, Yi Jianqiang, Zhao Dongbin, Liu Diantong. Hierarchical sliding mode control method for bridge crane system. Acta Automatica Sinica, 2004, 30(5): 784-788

[7]Xi Z,Hesketh T.Discrete time integral sliding mode control foroverhead crane with uncertainties.IETControl Theory&Applications,2010,4(10):2071-2081[7] Xi Z, Hesketh T. Discrete time integral sliding mode control foroverhead crane with uncertainties. IET Control Theory & Applications, 2010, 4 (10): 2071-2081

[8]胡洲,王志胜,甄子洋.带输入饱和的欠驱动吊车非线性信息融合控制.自动化学报,2014,40(7):1522-1527[8] Hu Zhou, Wang Zhisheng, Zhen Ziyang. Nonlinear Information Fusion Control of Underactuated Crane with Input Saturation. Acta Automatica Sinica, 2014,40(7):1522-1527

[9]Sun N,Fang Y,Zhang X.Energy coupling output feedback control of4-DOF underactuated cranes with saturated inputs.Automatica,2013,49(5):1318-1325[9] Sun N, Fang Y, Zhang X. Energy coupling output feedback control of 4-DOF underactuated cranes with saturated inputs. Automatica, 2013, 49(5): 1318-1325

[10]Sun N,Fang Y.New energy analytical results for the regulation ofunderactuated overhead cranes:An end-effector motion-based approach.IEEETransactions on Industrial Electronics,2012,59(12):4723-4734[10] Sun N, Fang Y. New energy analytical results for the regulation of underactuated overhead cranes: An end-effector motion-based approach. IEEE Transactions on Industrial Electronics, 2012, 59(12): 4723-4734

[11]Nakazono K,Ohnishi K,Kinjo H,Yamamoto T.Load swing suppressionfor rotary crane system using direct gradient descent controller optimized bygenetic algorithm.Transactions ofthe Institute ofSystems,Control andInformation Engineers,2011,22(8):303-310[11] Nakazono K, Ohnishi K, Kinjo H, Yamamoto T. Load swing suppression for rotary crane system using direct gradient descent controller optimized by genetic algorithm. Transactions of the Institute of Systems, Control and Information Engineers, 2011, 22(8): 303-310

[12]Zhao Y,Gao H.Fuzzy-model-based control of an overhead crane withinput delay and actuator saturation.IEEE Transactions on Fuzzy Systems,2012,20(1):181-186[12] Zhao Y, Gao H. Fuzzy-model-based control of an overhead crane within input delay and actuator saturation. IEEE Transactions on Fuzzy Systems, 2012, 20(1): 181-186

[13]Uchiyama N,Ouyang H,Sano S.Simple rotary crane dynamics modelingand open-loop control for residual load sway suppression by only horizontalboom motion.Mechatronics,2013,23(8):1223-1236[13] Uchiyama N, Ouyang H, Sano S. Simple rotary crane dynamics modeling and open-loop control for residual load sway suppression by only horizontal boom motion. Mechatronics, 2013, 23(8): 1223-1236

[14]Sun N,Fang Y,Zhang X,Yuan Y.Transportation task-orientedtrajectory planning for underactuated overhead cranes using geometricanalysis.IET Control Theory&Applications,2012,6(10):1410-1423[14]Sun N, Fang Y, Zhang X, Yuan Y.Transportation task-oriented trajectory planning for underactuated overhead cranes using geometricalysis.IET Control Theory&Applications,2012,6(10):1410-1423

[15]孙宁,方勇纯,王鹏程,张雪波.欠驱动三维桥式吊车系统自适应跟踪控制器设计.自动化学报,2010,36(9):1287-1294[15] Sun Ning, Fang Yongchun, Wang Pengcheng, Zhang Xuebo. Design of Adaptive Tracking Controller for Underactuated 3D Bridge Crane System. Acta Automatica Sinica, 2010,36(9):1287-1294

[16]Sun N,Fang Y,Zhang X,Ma B.A novel kinematic coupling-basedtrajectory planning method for overhead cranes.IEEE/ASME Transactions onMechatronics,2012,20(1):241-248[16]Sun N, Fang Y, Zhang X, Ma B.A novel kinematic coupling-based trajectory planning method for overhead cranes.IEEE/ASME Transactions on Mechatronics,2012,20(1):241-248

[17]Wang Peng-Cheng,Fang Yong-Chun,Jiang Zi-Ya.A direct swingconstraint-based trajectory planning method for underactuated overheadcranes.Acta Automatica Sinica,2014,40(11):2414-2419[17] Wang Peng-Cheng, Fang Yong-Chun, Jiang Zi-Ya. A direct swing constraint-based trajectory planning method for underactuated overhead cranes. Acta Automatica Sinica, 2014, 40(11): 2414-2419

[18]Vaughan J,Kim D,Singhose W.Control of tower cranes with double-pendulum payload dynamics.IEEE Transactions on ControlSystems Technology,2010,18(6):1345-1358[18]Vaughan J, Kim D, Singhose W. Control of tower cranes with double-pendulum payload dynamics. IEEE Transactions on ControlSystems Technology, 2010, 18(6): 1345-1358

[19]Singhose W,Kim D.Manipulation with tower cranes exhibitingdouble-pendulum oscillations.In:Proceedings of 2007IEEE InternationalConference on Robotics and Automation.Roma,Italy:IEEE,2007.4550-4555[19] Singhose W, Kim D. Manipulation with tower cranes exhibiting double-pendulum oscillations. In: Proceedings of 2007 IEEE International Conference on Robotics and Automation. Roma, Italy: IEEE, 2007.4550-4555

[20]Masoud Z,Alhazza K,Abu-Nada E,Majeed M.A hybrid command-shaperfor double-pendulum overhead cranes.Journal ofVibration andControl,2014,20(1):24-37[20] Masoud Z, Alhazza K, Abu-Nada E, Majeed M.A hybrid command-shaper for double-pendulum overhead cranes. Journal of Vibration and Control, 2014, 20(1): 24-37

[21]孙宁,方勇纯,钱彧哲.带有状态约束的双摆效应吊车轨迹规划.控制理论与应用,2014,31(7):974-980[21] Sun Ning, Fang Yongchun, Qian Yuzhe. Trajectory Planning of Crane with Double Pendulum Effect with State Constraints. Control Theory and Application, 2014,31(7):974-980

[22]郭卫平,刘殿通.二级摆型吊车系统动态及基于无源的控制.系统仿真学报,2008,20(18):4945-4948[22] Guo Weiping, Liu Diantong. Dynamics and Passive-Based Control of Two-stage Pendulum Crane System. Journal of System Simulation, 2008,20(18):4945-4948

[23]Garg D,Patterson M,Hager W,Rao A,Benson D,Huntington G.A unifiedframework for the numerical solution of optimal control problems usingpseudospectral methods.Automatica,2010,46(11):1843-1851[23]Garg D, Patterson M, Hager W, Rao A, Benson D, Huntington G.A unified framework for the numerical solution of optimal control problems using pseudospectral methods.Automatica,2010,46(11):1843-1851

[24]Gill P,Murray W,Saunders M.SNOPT:An SQP algorithm for large-scaleconstrained optimization.SIAMReview,2005,47:99-131。[24] Gill P, Murray W, Saunders M. SNOPT: An SQP algorithm for large-scale constrained optimization. SIAM Review, 2005, 47:99-131.

Claims (1)

1. A double-pendulum crane global time optimal trajectory planning method based on a pseudo-spectrum method is characterized by comprising the following steps:
1, analyzing track constraint and constructing corresponding optimization problem
Analyzing the control target of the crane system, and considering various constraints including two-stage swing angles and upper limit values of the speed and the acceleration of the trolley, obtaining the following optimization problem taking the conveying time as a cost function:
min T s . t . x ( 0 ) = x · ( 0 ) = x ·· ( 0 ) = 0 , x ( T ) = x f , x · ( T ) = x ·· ( T ) = 0 , | x · ( t ) | ≤ v max , | x ·· ( t ) | ≤ a max , θ 1 ( 0 ) = θ · 1 ( 0 ) = 0 , θ 1 ( T ) = θ · 1 ( T ) = 0 , θ 2 ( 0 ) = θ · 2 ( 0 ) = 0 , θ 2 ( T ) = θ · 2 ( T ) = 0 , | θ 1 ( t ) | ≤ θ 1 max , | θ 2 ( t ) | ≤ θ 2 max , | θ · 1 ( t ) | ≤ ω 1 max , | θ · 2 ( t ) | ≤ ω 2 max , - - - ( 5 )
wherein x (t) represents the position of the trolley, xfIndicating the target position of the trolley, T in brackets indicates time, the variable is followed by (T) indicating that the variable is a variable related to time, for simplicity, most of the variables are omitted in the formula, and T indicates the total time for completing the deliveryMin represents minimum, and s.t. is followed by constraint conditions to be considered;first and second derivatives with respect to time, i.e. trolley speed and acceleration, respectively, representing trolley position x (t); v. ofmax,amaxRespectively representing the maximum speed and the maximum acceleration of the trolley; theta1(t),θ2(t) respectively representing a primary swing angle and a secondary swing angle,representing primary and secondary angular velocities; theta1max2maxRepresenting the allowable primary and secondary maximum swing angles, ω, during transport1max2maxRepresenting the allowable primary and secondary maximum angular velocities;
2, establishing an acceleration driving model and converting an optimization problem
Analyzing and utilizing a double-pendulum bridge crane system to obtain the following acceleration driving system model:
ζ · = f ( ζ ) + h ( ζ ) u , - - - ( 6 )
where ζ represents an all-state vector of the system, and is specifically defined as follows:
ζ = x x · θ 1 θ · 1 θ 2 θ · 2 T
wherein, x (t),respectively representing position and speed of the trolley, theta1(t),Representing first-order swing angle and angular velocity, theta2(t),Representing a secondary swing angle and an angular speed, and the superscript T of the bracket represents the transposition operation of the matrix; u (t) represents the system input of the system, and is the trolley acceleration; f (zeta), h (zeta) are all the functions of system state vector zeta as independent variable and are used by crane systemObtaining a system kinematic equation, wherein the specific form is shown in (7);a derivative with respect to time of an all-state vector of the system;
f ( ζ ) = x · 0 θ · 1 A θ · 2 B T , h ( ζ ) = 0 1 0 C 0 D T - - - ( 7 )
for convenience of description, the following auxiliary variables a, B, C, D are defined:
A = - m 2 C 1 - 2 l 1 ( m 1 + m 2 ) - m 2 l 1 C 1 - 2 2 [ l 1 S 1 - 2 θ · 1 2 + m 2 l 2 m 1 + m 2 S 1 - 2 C 1 - 2 θ · 2 2 - g ( S 2 - S 1 C 1 - 2 ) ] - 1 l 1 gS 1 - m 2 l 2 l 1 ( m 1 + m 2 ) S 1 - 2 θ · 2 2 B = m 1 + m 2 l 2 ( m 1 + m 2 ) - m 2 l 2 C 1 - 2 2 [ m 2 l 2 m 1 + m 2 S 1 - 2 C 1 - 2 θ · 2 2 + l 1 S 1 - 2 θ · 1 2 - g ( S 2 - S 1 C 1 - 2 ) ] , C = m 2 C 1 - 2 l 1 ( m 1 + m 2 ) - m 2 l 1 C 1 - 2 2 [ C 2 - C 1 C 1 - 2 ) - 1 l 1 C 1 , D = - m 1 + m 2 l 2 ( m 1 + m 2 ) - m 2 l 2 C 1 - 2 2 ( C 2 - C 1 C 1 - 2 ) , - - - ( 8 )
(8) in the formula, the following simplified form is used:
S 1 = sinθ 1 , S 2 = sinθ 2 , C 1 = cosθ 1 , C 2 = cosθ 2 , S 1 - 2 = s i n ( θ 1 - θ 2 ) , C 1 - 2 = cos ( θ 1 - θ 2 ) . ;
by utilizing the acceleration driving system model, the original optimization problem is converted into the following form:
min T s . t . ζ · = f ( ζ ) + h ( ζ ) u , ζ ( 0 ) = 0 0 0 0 0 0 T , ζ ( T ) = x f 0 0 0 0 0 T , | x · ( t ) | ≤ v max , | u ( t ) | ≤ a max , | θ 1 ( t ) | ≤ θ 1 max , | θ 2 ( t ) | ≤ θ 2 max , | θ · 1 ( t ) | ≤ ω 1 max , | θ · 2 ( t ) | ≤ ω 2 max - - - ( 9 )
where ζ represents the full state vector of the system, u (t) represents the system input of the system, and is the trolley acceleration; the superscript T of the vector represents the transposition operation of the matrix;
3, trajectory planning based on Gaussian pseudo-spectral method
And (3) processing and solving the optimization problem in the step 2 by using the idea of a Gaussian pseudo-spectrum method, wherein the method comprises the following specific steps:
3.1, selecting a discrete system state track and an input track at a Legendre-Gaussian (LG) point by using a Lagrange interpolation method, and representing a corresponding approximate track model by using a discrete track and a Lagrange interpolation polynomial;
3.2, then, carrying out derivation on the approximated track model, and expressing the derivative of the system state by a Lagrange polynomial derivative;
3.3, then, converting the original system kinematic model into a series of polynomial equations by using the discrete track model and the derivative thereof; using Gaussian integration, the boundary conditions in the optimization problem in step 2 are also expressed in the form of polynomial equation;
3.4, finally, converting the time optimal trajectory planning problem into a nonlinear planning problem with algebraic constraints, and obtaining the global optimal time and optimal trajectory by solving;
4 th, track following
Measuring position and speed signals x (t) of the trolley through a code disc or a laser sensor,and (3) selecting a proportional-derivative (PD) controller by using the optimal reference track of the trolley time to be tracked and the corresponding speed track obtained in the step (3.4) as follows:
F ( t ) = - k p ( x ( t ) - x r ( t ) ) - k d ( x · ( t ) - x · r ( t ) ) - - - ( 16 )
wherein F (t) represents a driving force acting on the carriage, xr(t),Respectively representing a reference displacement trajectory and a velocity trajectory, kp,kdIs in need of adjustmentA positive control gain of unity; by utilizing the controller, a corresponding real-time control signal can be obtained through calculation, the crane is driven to move, and a control target is completed.
CN201510624100.6A 2015-09-28 2015-09-28 Double pendulum crane length of a game optimal trajectory planning method based on pseudo- spectrometry Active CN105174061B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510624100.6A CN105174061B (en) 2015-09-28 2015-09-28 Double pendulum crane length of a game optimal trajectory planning method based on pseudo- spectrometry

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510624100.6A CN105174061B (en) 2015-09-28 2015-09-28 Double pendulum crane length of a game optimal trajectory planning method based on pseudo- spectrometry

Publications (2)

Publication Number Publication Date
CN105174061A CN105174061A (en) 2015-12-23
CN105174061B true CN105174061B (en) 2017-03-29

Family

ID=54896613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510624100.6A Active CN105174061B (en) 2015-09-28 2015-09-28 Double pendulum crane length of a game optimal trajectory planning method based on pseudo- spectrometry

Country Status (1)

Country Link
CN (1) CN105174061B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106315414B (en) * 2016-03-30 2017-12-05 南开大学 Overhead crane control method based on sliding-mode surface
CN105858481B (en) * 2016-06-27 2017-07-25 南开大学 Online trajectory planning method for accurate positioning of bridge crane based on phase plane analysis
CN107194039B (en) * 2017-04-26 2020-05-01 西北工业大学 Space flexible system expansion control method based on improved Gaussian pseudo-spectral method
CN108319281B (en) * 2018-01-08 2021-02-02 南开大学 Time-optimized motion planning method for rotorcraft hoisting system
CN108345217B (en) * 2018-02-12 2021-09-10 南开大学 Time optimal trajectory planning method, device and system for variable-rope-length crane system
CN110203831B (en) * 2019-05-24 2020-04-28 浙江理工大学 Global sliding mode control method of bridge crane system
CN110436347B (en) * 2019-08-23 2020-08-04 武汉理工大学 Optimized anti-swing control method for double-swing system of bridge crane
CN112850495B (en) * 2021-03-26 2021-11-30 山东大学 Double-pendulum type slewing crane trajectory planning control method and system considering state constraint
CN113336110B (en) * 2021-06-15 2023-03-31 河北工业大学 Time optimal trajectory control method and system for offshore crane

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419764A (en) * 2008-10-17 2009-04-29 南开大学 Automatic experiment system for bridge type crane
CN102030263A (en) * 2010-12-17 2011-04-27 南开大学 Motion planning-based adaptive control method for bridge crane
CN102765665A (en) * 2012-07-13 2012-11-07 南开大学 Nonlinear coupling control method for bridge crane based on generalized movement of load
CN102795544B (en) * 2012-08-16 2014-05-07 南开大学 Online trajectory planning based efficient bridge crane swing elimination control method
CN104192713A (en) * 2014-09-10 2014-12-10 南开大学 Time-optimal bridge crane track planning method based on differential flatness and B-spline
CN104444817B (en) * 2014-11-14 2016-08-24 南开大学 Drive lacking crane self adaptation disappears pendulum position control method

Also Published As

Publication number Publication date
CN105174061A (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN105174061B (en) Double pendulum crane length of a game optimal trajectory planning method based on pseudo- spectrometry
Yang et al. Observer-based nonlinear control for tower cranes suffering from uncertain friction and actuator constraints with experimental verification
Sun et al. Amplitude-saturated nonlinear output feedback antiswing control for underactuated cranes with double-pendulum cargo dynamics
CN106315414B (en) Overhead crane control method based on sliding-mode surface
Wu et al. Nonlinear energy-based regulation control of three-dimensional overhead cranes
Sun et al. A novel kinematic coupling-based trajectory planning method for overhead cranes
CN102795544B (en) Online trajectory planning based efficient bridge crane swing elimination control method
Li et al. Time-polynomial-based optimal trajectory planning for double-pendulum tower crane with full-state constraints and obstacle avoidance
CN106976804B (en) Double pendulum crane energy consumption optimal trajectory planning method
CN105772917B (en) A kind of three joint spot welding robot's Trajectory Tracking Control methods
CN104129713B (en) A kind of traverse crane method for controlling trajectory of off-line
CN104192713A (en) Time-optimal bridge crane track planning method based on differential flatness and B-spline
CN103213129A (en) Position/force hybrid control method for space manipulator
CN102765665A (en) Nonlinear coupling control method for bridge crane based on generalized movement of load
CN102501251A (en) Mechanical shoulder joint position control method with dynamic friction compensation
CN105858481A (en) Method for accurately positioning bridge cranes and planning tracks in online manner on basis of phase plane analysis
Fu et al. Adaptive coupling anti-swing tracking control of underactuated dual boom crane systems
Chai et al. Linear active disturbance rejection control for double-pendulum overhead cranes
Yang et al. Swing suppression and accurate positioning control for underactuated offshore crane systems suffering from disturbances
CN113336110B (en) Time optimal trajectory control method and system for offshore crane
Korayem et al. Trajectory optimization of flexible link manipulators in point-to-point motion
CN104876128A (en) Enhanced coupled nonlinear control method for 3D bridge crane with state constraints
Qian et al. An energy-based nonlinear coupling control for offshore ship-mounted cranes
CN113955637A (en) An anti-swing control method and control system for a three-dimensional double-swing bridge crane
Zhong et al. Design of dual-drive vertical lift servo system and synchronous control performance analysis

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant