CN116880193B - Control method of multi-unmanned vehicle cooperative system, control device, terminal and medium thereof - Google Patents
Control method of multi-unmanned vehicle cooperative system, control device, terminal and medium thereof Download PDFInfo
- Publication number
- CN116880193B CN116880193B CN202310888848.1A CN202310888848A CN116880193B CN 116880193 B CN116880193 B CN 116880193B CN 202310888848 A CN202310888848 A CN 202310888848A CN 116880193 B CN116880193 B CN 116880193B
- Authority
- CN
- China
- Prior art keywords
- unmanned vehicle
- vehicle
- order
- collision avoidance
- following
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 230000015572 biosynthetic process Effects 0.000 claims abstract description 60
- 230000008569 process Effects 0.000 claims abstract description 11
- 239000011159 matrix material Substances 0.000 claims description 37
- 238000013461 design Methods 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 14
- 230000008859 change Effects 0.000 claims description 8
- 230000001133 acceleration Effects 0.000 claims 1
- 238000012545 processing Methods 0.000 abstract description 4
- 238000010606 normalization Methods 0.000 abstract description 2
- 238000005755 formation reaction Methods 0.000 description 43
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 7
- 239000003795 chemical substances by application Substances 0.000 description 5
- 238000011160 research Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 238000009795 derivation Methods 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- YBJHBAHKTGYVGT-ZKWXMUAHSA-N (+)-Biotin Chemical compound N1C(=O)N[C@@H]2[C@H](CCCCC(=O)O)SC[C@@H]21 YBJHBAHKTGYVGT-ZKWXMUAHSA-N 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- FEPMHVLSLDOMQC-UHFFFAOYSA-N virginiamycin-S1 Natural products CC1OC(=O)C(C=2C=CC=CC=2)NC(=O)C2CC(=O)CCN2C(=O)C(CC=2C=CC=CC=2)N(C)C(=O)C2CCCN2C(=O)C(CC)NC(=O)C1NC(=O)C1=NC=CC=C1O FEPMHVLSLDOMQC-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/04—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
- G05B13/042—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
Description
技术领域Technical field
本发明涉及多无人车协同控制领域中的一种控制方法,具体是一种基于乌卡模型的领航-跟随多无人车协同系统的控制方法、与所述控制方法相对应的控制装置、采用所述控制方法的基于乌卡模型的领航-跟随多无人车协同系统、执行实现所述控制方法的计算机程序指令的计算机终端、存储有实现所述控制方法的计算机程序指令的可读存储介质。The present invention relates to a control method in the field of collaborative control of multiple unmanned vehicles, specifically a control method of a pilot-following multiple unmanned vehicle collaborative system based on the Uka model, and a control device corresponding to the control method. A Uka model-based pilot-following multi-unmanned vehicle collaborative system using the control method, a computer terminal executing computer program instructions for implementing the control method, and a readable storage storing computer program instructions for implementing the control method medium.
背景技术Background technique
多无人车系统是多智能体系统的一个分支,其编队跟踪控制研究主要有领航-跟随法、基于行为法、虚拟结构法等。领航-跟随法通过设定领航者智能体(领航车)与跟随智能体(跟随车)之间不同的位置关系,跟随者以设定的距离、速度等参量跟踪领航智能体的位置和方向,形成不同的编队队形。该方法的突出特点在于,成员间的协作是通过对领航车的状态信息共享来实现的。Multi-unmanned vehicle systems are a branch of multi-agent systems. Research on formation tracking control mainly includes leader-follower methods, behavior-based methods, virtual structure methods, etc. The leader-follower method sets different positional relationships between the leader agent (pilot car) and the follower agent (follower car), and the follower tracks the position and direction of the leader agent with set distance, speed and other parameters. Form different formations. The outstanding feature of this method is that collaboration among members is achieved through status information sharing of the pilot vehicle.
尽管当前对领航-跟随多无人车系统的编队跟踪控制研究已有较多成果,但对编队、跟踪约束解析模型的建立研究较少。且当前的研究中未将无人车间的避撞约束和领航轨迹约束进行归一化处理,现有动力学模型不精确,所提控制方法过于理想。Although there have been many achievements in research on formation tracking control of leader-follower multi-unmanned vehicle systems, there are few studies on the establishment of analytical models of formation and tracking constraints. Moreover, the collision avoidance constraints and pilot trajectory constraints of unmanned workshops are not normalized in the current research. The existing dynamics model is not accurate and the proposed control method is too ideal.
发明内容Contents of the invention
为解决现有多无人车系统编队跟踪控制中动力学建模不精确以及控制精度不高等问题,本发明提出了一种基于乌卡模型的领航-跟随多无人车协同系统的控制方法、与所述控制方法相对应的控制装置、采用所述控制方法的基于乌卡模型的领航-跟随多无人车协同系统、执行实现所述控制方法的计算机程序指令的计算机终端、存储有实现所述控制方法的计算机程序指令的可读存储介质,可满足多无人车运动过程中成员的全局避撞性以及实现多无人车系统的轨迹跟踪控制。In order to solve the problems of inaccurate dynamic modeling and low control accuracy in the existing multi-unmanned vehicle system formation tracking control, the present invention proposes a control method for the pilot-following multi-unmanned vehicle collaborative system based on the Uka model. A control device corresponding to the control method, a pilot-following multi-unmanned vehicle collaborative system based on the Uka model using the control method, a computer terminal that executes computer program instructions for implementing the control method, and a computer terminal that stores the instructions for implementing the control method. The readable storage medium of computer program instructions of the control method can satisfy the global collision avoidance of members during the movement of multiple unmanned vehicles and realize the trajectory tracking control of the multiple unmanned vehicle system.
本发明采用以下技术方案实现:一种基于乌卡模型的领航-跟随多无人车协同系统的控制方法,在N辆无人车协同系统中选任意一辆无人车为领航车,属于集合L,其余N-1辆无人车为跟随车,属于集合F;所述控制方法包括以下步骤:The present invention adopts the following technical solution to realize: a control method of a pilot-following multi-unmanned vehicle collaborative system based on the Uka model. In the N unmanned vehicle collaborative system, any one unmanned vehicle is selected as the pilot vehicle and belongs to the set L , the remaining N-1 unmanned vehicles are follower vehicles and belong to set F; the control method includes the following steps:
步骤S1,基于机械系统动力学模型,设计各车的控制器的控制输入模型;Step S1, based on the mechanical system dynamics model, design the control input model of the controller of each vehicle;
所述机械系统动力学模型为:The mechanical system dynamics model is:
式中,i∈{1,2,…,N}表示无人车的序号,Mi表示协同系统中第i辆无人车的质量矩阵,qi=[xi,yi]T表示第i辆无人车的广义坐标,xi为第i辆无人车的横坐标,yi为第i辆无人车的纵坐标,表示第i辆无人车的科里奥利力,Fi=[Fix,Fiy]T表示第i辆无人车的所受的外力之和,τi(t)=[τix(t),τiy(t)]T表示第i辆无人车随时间t的控制输入;In the formula, i∈{1,2,…,N} represents the serial number of the unmanned vehicle, M i represents the mass matrix of the i-th unmanned vehicle in the collaborative system, q i =[x i , y i ] T represents the The generalized coordinates of i unmanned vehicle, x i is the abscissa coordinate of i-th unmanned vehicle, y i is the ordinate coordinate of i-th unmanned vehicle, represents the Coriolis force of the i-th unmanned vehicle, F i = [F ix , F iy ] T represents the sum of external forces on the i-th unmanned vehicle, τ i (t) = [τ ix ( t), τ iy (t)] T represents the control input of the i-th unmanned vehicle over time t;
控制输入模型为:The control input model is:
式中,Bi=AiMi -1/2,bi表示第i辆无人车的二阶约束向量,Ai表示第i辆无人车的约束矩阵,τi2(t)表示控制输入的反馈控制部分;In the formula, B i =A i M i -1/2 , b i represents the second-order constraint vector of the i-th unmanned vehicle, A i represents the constraint matrix of the i-th unmanned vehicle, and τ i2 (t) represents the control Feedback control part of the input;
步骤S2,根据各车的控制输入模型,通过设计所述控制输入模型的各个参数,控制领航车主要负责轨迹跟踪任务,而跟随车负责与领航车保持期望队形,从而实现整体轨迹跟踪;Step S2, according to the control input model of each vehicle, by designing various parameters of the control input model, the control lead vehicle is mainly responsible for the trajectory tracking task, and the following vehicle is responsible for maintaining the desired formation with the lead vehicle, thereby achieving overall trajectory tracking;
其中:所述控制输入模型的各个参数设计方法为满足以下条件:Among them: the design method of each parameter of the control input model is to meet the following conditions:
(1)、τi2(t)=-γiMi 1/2Bi +ηi (1), τ i2 (t)=-γ i M i 1/2 B i + η i
式中,γi为第i辆无人车的常量控制参数,γi>0,ηi为第i辆无人车的约束跟随误差,ci表示第i辆无人车的一阶约束向量;In the formula, γ i is the constant control parameter of the i-th unmanned vehicle, γ i > 0, η i is the constrained following error of the i-th unmanned vehicle, c i represents the first-order constraint vector of the i-th unmanned vehicle;
(2)、 (2),
式中, In the formula,
第i辆无人车的轨迹跟踪约束矩阵第i辆无人车的队形约束矩阵 The trajectory tracking constraint matrix of the i-th unmanned vehicle The formation constraint matrix of the i-th unmanned vehicle
第i辆无人车的一阶轨迹跟踪约束向量 The first-order trajectory tracking constraint vector of the i-th unmanned vehicle
第i辆无人车的一阶队形约束向量 The first-order formation constraint vector of the i-th unmanned vehicle
第i辆无人车的二阶轨迹跟踪约束向量 The second-order trajectory tracking constraint vector of the i-th unmanned vehicle
第i辆无人车的二阶队形约束向量 The second-order formation constraint vector of the i-th unmanned vehicle
对于任意的i∈{1,2,…,N},j∈{1,2,…,N},i≠j,ri表示以第i辆无人车质心为圆心的安全半径,rj表示以第j辆无人车质心为圆心的安全半径,For any i∈{1,2,…,N}, j∈{1,2,…,N},i≠j,r i represents the safety radius with the center of mass of the i-th unmanned vehicle as the center of the circle, r j Represents the safety radius with the center of mass of the jth unmanned vehicle as the center of the circle,
则第i辆无人车与第j辆无人车之间的避撞约束矩阵为,Then the collision avoidance constraint matrix between the i-th unmanned vehicle and the j-th unmanned vehicle is for,
第i辆无人车与第j辆无人车之间的一阶避撞约束向量为,The first-order collision avoidance constraint vector between the i-th unmanned vehicle and the j-th unmanned vehicle for,
第i辆无人车与第j辆无人车之间的二阶避撞约束向量为,The second-order collision avoidance constraint vector between the i-th unmanned vehicle and the j-th unmanned vehicle for,
经过整理,第i辆无人车所需要满足的避撞约束矩阵一阶避撞约束向量/>二阶避撞约束向量/>归纳如下:After sorting, the collision avoidance constraint matrix that the i-th unmanned vehicle needs to satisfy First-order collision avoidance constraint vector/> Second-order collision avoidance constraint vector/> It can be summarized as follows:
当i=1时, When i=1,
当i=2,3,…,N-1时, When i=2,3,…,N-1,
当i=N时, When i=N,
式中,ld表示正的常量参数,xd为第i辆无人车的目标地横坐标,yd为第i辆无人车的目标地纵坐标,lil表示常量参数,lil>0,表示跟随车与领航车的相对位置,/>表示第i辆无人车与第N辆无人车之间的避撞约束矩阵,/>表示第i辆无人车与第N辆无人车之间的一阶避撞约束向量,/>表示第i辆无人车与第N辆无人车之间的二阶避撞约束向量,/>表示第i辆无人车与第1辆无人车之间的避撞约束矩阵,/>表示第i辆无人车与第1辆无人车之间的一阶避撞约束向量,/>表示第i辆无人车与第1辆无人车之间的二阶避撞约束向量。In the formula, l d represents a positive constant parameter, x d is the abscissa of the destination of the i-th unmanned vehicle, y d is the ordinate of the destination of the i-th unmanned vehicle, l il represents a constant parameter, l il > 0, Indicates the relative position of the following vehicle and the leading vehicle,/> Represents the collision avoidance constraint matrix between the i-th unmanned vehicle and the N-th unmanned vehicle, /> Represents the first-order collision avoidance constraint vector between the i-th unmanned vehicle and the N-th unmanned vehicle,/> Represents the second-order collision avoidance constraint vector between the i-th unmanned vehicle and the N-th unmanned vehicle,/> Represents the collision avoidance constraint matrix between the i-th unmanned vehicle and the first unmanned vehicle, /> Represents the first-order collision avoidance constraint vector between the i-th unmanned vehicle and the first unmanned vehicle,/> Represents the second-order collision avoidance constraint vector between the i-th unmanned vehicle and the first unmanned vehicle.
本发明还提供了一种基于乌卡模型的领航-跟随多无人车协同系统的控制装置,其应用了上述基于乌卡模型的领航-跟随多无人车协同系统的控制方法,所述控制装置包括:控制输入模型设定模块,其用于基于机械系统动力学模型,设计各车的控制器的控制输入模型;参数设计模块,其用于根据各车的控制输入模型,设计所述控制输入模型的各个参数。The present invention also provides a control device for a pilot-following multi-unmanned vehicle collaborative system based on the Ukka model, which applies the above-mentioned control method for a pilot-following multiple unmanned vehicle collaborative system based on the Ukka model. The control device The device includes: a control input model setting module, which is used to design the control input model of the controller of each vehicle based on the mechanical system dynamics model; a parameter design module, which is used to design the control based on the control input model of each vehicle. Enter various parameters of the model.
本发明还提供了一种计算机终端,其包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述程序时,实现上述基于乌卡模型的领航-跟随多无人车协同系统的控制方法的步骤。The present invention also provides a computer terminal, which includes a memory, a processor and a computer program stored on the memory and executable on the processor, wherein when the processor executes the program, the above-mentioned The steps of the control method of the pilot-follower multi-unmanned vehicle collaborative system based on the Uka model.
本发明还提供了一种可读存储介质,所述可读存储介质中存储有计算机程序指令,计算机程序指令被一处理器读取并运行时,实现上述基于乌卡模型的领航-跟随多无人车协同系统的控制方法的步骤。The present invention also provides a readable storage medium. Computer program instructions are stored in the readable storage medium. When the computer program instructions are read and run by a processor, the above-mentioned pilot-following multi-step based on Uka model is realized. The steps of the control method of the human-vehicle collaborative system.
本发明通过将避撞约束、编队约束和轨迹跟踪约束进行了归一化处理,采用乌卡方法建立了多无人车系统的解析动力学模型,提出了基于约束跟随的多无人车系统的轨迹跟踪控制,从而建立额多无人车系统的解析动力学模型,不但建模过程清晰简便,还适用于任意数目的多无人车系统动力学解析建模,具有更高的模型精度和控制精度。The present invention normalizes collision avoidance constraints, formation constraints and trajectory tracking constraints, uses the Uka method to establish an analytical dynamics model of a multi-unmanned vehicle system, and proposes a multi-unmanned vehicle system based on constraint following. Trajectory tracking control is used to establish an analytical dynamics model of multiple unmanned vehicle systems. Not only is the modeling process clear and simple, it is also suitable for analytical modeling of the dynamics of any number of multiple unmanned vehicle systems, with higher model accuracy and control. Accuracy.
附图说明Description of drawings
图1为本发明的基于乌卡模型的领航-跟随多无人车协同系统的控制方法的流程图。Figure 1 is a flow chart of the control method of the pilot-following multi-unmanned vehicle collaborative system based on the Uka model of the present invention.
图2为采用图1中控制方法的领航车轨迹跟踪情况示意图。Figure 2 is a schematic diagram of the pilot vehicle trajectory tracking using the control method in Figure 1.
图3为采用图1中控制方法的领航车X、Y方向跟踪误差示意图。Figure 3 is a schematic diagram of the tracking error in the X and Y directions of the pilot vehicle using the control method in Figure 1.
图4为采用图1中控制方法的各车轨迹跟踪情况示意图。Figure 4 is a schematic diagram of the trajectory tracking of each vehicle using the control method in Figure 1.
图5为采用图1中控制方法的跟随车与领航车之间的距离示意图。Figure 5 is a schematic diagram of the distance between the following vehicle and the leading vehicle using the control method in Figure 1.
图6为采用图1中控制方法的相邻跟随车之间的距离示意图。Figure 6 is a schematic diagram of the distance between adjacent following vehicles using the control method in Figure 1.
图7为采用图1中控制方法的不相邻跟随车之间的距离示意图。Figure 7 is a schematic diagram of the distance between non-adjacent following vehicles using the control method in Figure 1.
图8为采用图1中控制方法的各跟随车与领航车距离误差示意图。Figure 8 is a schematic diagram of the distance error between each following vehicle and the leading vehicle using the control method in Figure 1.
图9为采用图1中控制方法的各车在X方向上的控制输入示意图。Figure 9 is a schematic diagram of the control input of each vehicle in the X direction using the control method in Figure 1.
图10为采用图1中控制方法的各车在Y方向上的控制输入示意图。Figure 10 is a schematic diagram of the control input of each vehicle in the Y direction using the control method in Figure 1.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention and are not intended to limit the present invention.
请参阅图1,其为本发明的基于乌卡模型的领航-跟随多无人车协同系统的控制方法的流程图。所述控制方法需要在N辆无人车协同系统中选任意一辆无人车为领航车,属于集合L,其余N-1辆无人车为跟随车,属于集合F,本发明可满足多无人车运动过程中成员的全局避撞性以及实现多无人车系统的轨迹跟踪控制。Please refer to Figure 1, which is a flow chart of the control method of the pilot-following multi-unmanned vehicle collaborative system based on the Uka model of the present invention. The control method requires selecting any one unmanned vehicle in the N unmanned vehicle collaborative system as the pilot vehicle, which belongs to the set L, and the remaining N-1 unmanned vehicles are follower vehicles, which belongs to the set F. The present invention can satisfy the needs of many unmanned vehicles. The global collision avoidance of members during the movement of people and vehicles and the trajectory tracking control of multi-unmanned vehicle systems.
所述控制方法主要包括以下步骤:步骤S1,基于机械系统动力学模型,设计各车的控制器的控制输入模型;步骤S2,根据各车的控制输入模型,通过设计所述控制输入模型的各个参数,控制领航车主要负责轨迹跟踪任务,而跟随车负责与领航车保持期望队形,从而实现整体轨迹跟踪。The control method mainly includes the following steps: Step S1, based on the mechanical system dynamics model, design the control input model of the controller of each vehicle; Step S2, based on the control input model of each vehicle, by designing each of the control input models Parameters, controlling the leading vehicle is mainly responsible for the trajectory tracking task, while the following vehicle is responsible for maintaining the desired formation with the leading vehicle, thereby achieving overall trajectory tracking.
本发明的设计要点在于如何通过设计所述控制输入模型的各个参数,实现多无人车运动过程中成员的全局避撞性以及实现多无人车系统的轨迹跟踪控制。The design key point of the present invention lies in how to realize the global collision avoidance of members during the movement of multiple unmanned vehicles and the trajectory tracking control of the multi-unmanned vehicle system by designing various parameters of the control input model.
在步骤S1中,机械系统动力学模型为:In step S1, the mechanical system dynamics model is:
式中,i∈{1,2,…,N}表示无人车的序号,Mi表示协同系统中第i辆无人车的质量矩阵,qi=[xi,yi]T表示第i辆无人车的广义坐标,xi为第i辆无人车的横坐标,yi为第i辆无人车的纵坐标,表示第i辆无人车的科里奥利力,Fi=[Fix,Fiy]T表示第i辆无人车的所受的外力之和,τi(t)=[τix(t),τiy(t)]T表示第i辆无人车随时间t的控制输入。In the formula, i∈{1,2,…,N} represents the serial number of the unmanned vehicle, M i represents the mass matrix of the i-th unmanned vehicle in the collaborative system, q i =[x i , y i ] T represents the The generalized coordinates of i unmanned vehicle, x i is the abscissa coordinate of i-th unmanned vehicle, y i is the ordinate coordinate of i-th unmanned vehicle, represents the Coriolis force of the i-th unmanned vehicle, F i = [F ix , F iy ] T represents the sum of external forces on the i-th unmanned vehicle, τ i (t) = [τ ix ( t), τ iy (t)] T represents the control input of the i-th unmanned vehicle over time t.
控制输入模型为:The control input model is:
式中,Bi=AiMi -1/2,bi表示第i辆无人车的二阶约束向量,Ai表示第i辆无人车的约束矩阵,τi2(t)表示控制输入的反馈控制部分。In the formula, B i =A i M i -1/2 , b i represents the second-order constraint vector of the i-th unmanned vehicle, A i represents the constraint matrix of the i-th unmanned vehicle, and τ i2 (t) represents the control Feedback control section of the input.
这两个模型属于经典模型,在此不再详细叙述。These two models are classic models and will not be described in detail here.
本发明的设计要点在于对控制输入模型的各个参数的设计,其设计方法为满足以下两个条件。The design key point of the present invention lies in the design of each parameter of the control input model, and the design method is to satisfy the following two conditions.
(1)、τi2(t)=-γiMi 1/2Bi +ηi (1), τ i2 (t)=-γ i M i 1/2 B i + η i
式中,γi为第i辆无人车的常量控制参数,γi>0,ηi为第i辆无人车的约束跟随误差,ci表示第i辆无人车的一阶约束向量。In the formula, γ i is the constant control parameter of the i-th unmanned vehicle, γ i > 0, η i is the constrained following error of the i-th unmanned vehicle, c i represents the first-order constraint vector of the i-th unmanned vehicle.
(2)、 (2),
式中, In the formula,
第i辆无人车的轨迹跟踪约束矩阵第i辆无人车的队形约束矩阵 The trajectory tracking constraint matrix of the i-th unmanned vehicle The formation constraint matrix of the i-th unmanned vehicle
第i辆无人车的一阶轨迹跟踪约束向量 The first-order trajectory tracking constraint vector of the i-th unmanned vehicle
第i辆无人车的一阶队形约束向量 The first-order formation constraint vector of the i-th unmanned vehicle
第i辆无人车的二阶轨迹跟踪约束向量 The second-order trajectory tracking constraint vector of the i-th unmanned vehicle
第i辆无人车的二阶队形约束向量 The second-order formation constraint vector of the i-th unmanned vehicle
对于任意的i∈{1,2,…,N},j∈{1,2,…,N},i≠j,ri表示以第i辆无人车质心为圆心的安全半径,rj表示以第j辆无人车质心为圆心的安全半径,For any i∈{1,2,…,N}, j∈{1,2,…,N},i≠j,r i represents the safety radius with the center of mass of the i-th unmanned vehicle as the center of the circle, r j Represents the safety radius with the center of mass of the jth unmanned vehicle as the center of the circle,
则第i辆无人车与第j辆无人车之间的避撞约束矩阵为,Then the collision avoidance constraint matrix between the i-th unmanned vehicle and the j-th unmanned vehicle is for,
第i辆无人车与第j辆无人车之间的一阶避撞约束向量为,The first-order collision avoidance constraint vector between the i-th unmanned vehicle and the j-th unmanned vehicle for,
第i辆无人车与第j辆无人车之间的二阶避撞约束向量为,The second-order collision avoidance constraint vector between the i-th unmanned vehicle and the j-th unmanned vehicle for,
经过整理,第i辆无人车所需要满足的避撞约束矩阵一阶避撞约束向量/>二阶避撞约束向量/>归纳如下:After sorting, the collision avoidance constraint matrix that the i-th unmanned vehicle needs to satisfy First-order collision avoidance constraint vector/> Second-order collision avoidance constraint vector/> It can be summarized as follows:
当i=1时, When i=1,
当i=2,3,…,N-1时, When i=2,3,…,N-1,
当i=N时, When i=N,
式中,ld表示正的常量参数,xd为第i辆无人车的目标地横坐标,yd为第i辆无人车的目标地纵坐标,lil表示常量参数,lil>0,表示跟随车与领航车的相对位置,/>表示第i辆无人车与第N辆无人车之间的避撞约束矩阵,/>表示第i辆无人车与第N辆无人车之间的一阶避撞约束向量,/>表示第i辆无人车与第N辆无人车之间的二阶避撞约束向量,/>表示第i辆无人车与第1辆无人车之间的避撞约束矩阵,/>表示第i辆无人车与第1辆无人车之间的一阶避撞约束向量,/>表示第i辆无人车与第1辆无人车之间的二阶避撞约束向量。In the formula, l d represents a positive constant parameter, x d is the abscissa of the destination of the i-th unmanned vehicle, y d is the ordinate of the destination of the i-th unmanned vehicle, l il represents a constant parameter, l il > 0, Indicates the relative position of the following vehicle and the leading vehicle,/> Represents the collision avoidance constraint matrix between the i-th unmanned vehicle and the N-th unmanned vehicle, /> Represents the first-order collision avoidance constraint vector between the i-th unmanned vehicle and the N-th unmanned vehicle,/> Represents the second-order collision avoidance constraint vector between the i-th unmanned vehicle and the N-th unmanned vehicle,/> Represents the collision avoidance constraint matrix between the i-th unmanned vehicle and the first unmanned vehicle, /> Represents the first-order collision avoidance constraint vector between the i-th unmanned vehicle and the first unmanned vehicle,/> Represents the second-order collision avoidance constraint vector between the i-th unmanned vehicle and the first unmanned vehicle.
相比现有技术,本发明中采用避撞约束、编队约束和轨迹跟踪约束进行了归一化处理,采用乌卡方法建立了多无人车系统的解析动力学模型,建模过程清晰简便,适用于任意数目的多无人车系统动力学解析建模,具有更高的模型精度和控制精度。Compared with the existing technology, the present invention uses collision avoidance constraints, formation constraints and trajectory tracking constraints for normalization processing, and uses the Uka method to establish an analytical dynamics model of a multi-unmanned vehicle system. The modeling process is clear and simple. It is suitable for dynamic analytical modeling of any number of multi-unmanned vehicle systems, with higher model accuracy and control accuracy.
在本实施例中,所述控制方法还包括以下三大步骤。In this embodiment, the control method further includes the following three steps.
(1)重新选择领航车的方法。(1) Method to reselect the pilot car.
重新选择领航车的方法包括以下步骤:The method of reselecting the pilot car includes the following steps:
步骤S3,在N辆无人车运动过程中,重新选择领航车时,针对选中的领航车i(i∈L),需要接收的控制信号包括:领航车i的轨迹跟踪约束矩阵领航车i的一阶轨迹跟踪约束向量/>领航车i的二阶轨迹跟踪约束向量/>领航车i与其余任意无人车j(j∈{1,2,…,N},j≠i)的避撞约束矩阵/>领航车i与其余任意无人车j的一阶避撞约束向量/>领航车i与其余任意无人车j的二阶避撞约束向量/> Step S3: During the movement of N unmanned vehicles, when the pilot vehicle is re-selected, the control signals that need to be received for the selected pilot vehicle i (i∈L) include: the trajectory tracking constraint matrix of the pilot vehicle i The first-order trajectory tracking constraint vector of pilot vehicle i/> Second-order trajectory tracking constraint vector of pilot vehicle i/> The collision avoidance constraint matrix of the pilot vehicle i and any other unmanned vehicle j (j∈{1,2,…,N}, j≠i)/> The first-order collision avoidance constraint vector of the pilot vehicle i and any other unmanned vehicle j/> The second-order collision avoidance constraint vector of the pilot vehicle i and any other unmanned vehicle j/>
步骤S4,针对恢复的跟随车i(i∈F),需要接收的控制信号包括:跟随车i的队形约束矩阵跟随车i的一阶队形约束向量/>跟随车i的二阶队形约束向量/>跟随车i与其余任意无人车j(j∈{1,2,…,N},j≠i)的避撞约束矩阵/>跟随车i与其余任意无人车j的一阶避撞约束向量/>跟随车i与其余任意无人车j的二阶避撞约束向量/> Step S4, for the restored following vehicle i (i∈F), the control signals that need to be received include: the formation constraint matrix of following vehicle i The first-order formation constraint vector of following vehicle i/> Second-order formation constraint vector following vehicle i/> Collision avoidance constraint matrix of following vehicle i and any other unmanned vehicle j (j∈{1,2,…,N}, j≠i)/> The first-order collision avoidance constraint vector of following vehicle i and any other unmanned vehicle j/> The second-order collision avoidance constraint vector of following vehicle i and any other unmanned vehicle j/>
(2)无人车在N辆无人车运动过程中的退出方法。(2) The exit method of unmanned vehicles during the movement of N unmanned vehicles.
无人车在N辆无人车运动过程中的退出方法包括以下步骤:The exit method of an unmanned vehicle during the movement of N unmanned vehicles includes the following steps:
如果退出的无人车是领航车,则需要先执行步骤S3,再执行步骤S5,否则直接执行步骤S5;If the exiting unmanned vehicle is the pilot vehicle, step S3 needs to be executed first, and then step S5 is executed; otherwise, step S5 is executed directly;
步骤S5,针对需要退出运动过程的无人车i,需要接收的控制信号包括:无人车i与其余任意无人车j(j∈{1,2,…,N},j≠i)的避撞约束矩阵无人车i与其余任意无人车j的一阶避撞约束向量/>无人车i与其余任意无人车j的二阶避撞约束向量/> Step S5, for the unmanned vehicle i that needs to exit the movement process, the control signals that need to be received include: the relationship between the unmanned vehicle i and any other unmanned vehicle j (j∈{1,2,…,N}, j≠i) Collision avoidance constraint matrix The first-order collision avoidance constraint vector of unmanned vehicle i and any other unmanned vehicle j/> The second-order collision avoidance constraint vector of unmanned vehicle i and any other unmanned vehicle j/>
(3)目标位置的更改方法。(3) How to change the target position.
目标位置的更改方法包括以下步骤:How to change the target location involves the following steps:
步骤S6,更改目标位置,每辆无人车接收的控制信号为:更新xd、yd。Step S6, change the target position, and the control signal received by each unmanned vehicle is: update x d , y d .
在具体的实施过程中,本发明的基于乌卡模型的领航-跟随多无人车协同系统的控制方法在应用中,可以设置成软件的形式,如设计成独立的APP,或者被随时可调用的嵌入式软件,应用在计算机终端(如控制器多无人车协调系统的遥控器)中。计算机终端包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序。该计算机终端还可以是能够执行程序的智能手机、平板电脑、笔记本电脑等。处理器在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器通常用于控制计算机设备的总体操作。本实施例中,处理器用于运行存储器中存储的程序代码或者处理数据。处理器执行程序时可实现本发明的基于乌卡模型的领航-跟随多无人车协同系统的控制方法的步骤。In the specific implementation process, the control method of the pilot-following multi-unmanned vehicle collaborative system based on the Uka model of the present invention can be set in the form of software, such as designed as an independent APP, or can be called at any time The embedded software is used in computer terminals (such as remote controllers for multi-unmanned vehicle coordination systems). The computer terminal includes a memory, a processor, and a computer program stored on the memory and executable on the processor. The computer terminal can also be a smartphone, tablet computer, notebook computer, etc. that can execute programs. In some embodiments, the processor may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor is typically used to control the overall operation of a computer device. In this embodiment, the processor is used to run program codes stored in the memory or process data. When the processor executes the program, the steps of the control method of the pilot-following multi-unmanned vehicle collaborative system based on the Ukka model of the present invention can be implemented.
本发明的基于乌卡模型的领航-跟随多无人车协同系统的控制方法在应用中,还可以设计成计算机程序指令存储在可读存储介质中,如U盾,U盾中存储的各种驱动,计算机程序指令被一处理器读取并运行时,可实现本发明的基于乌卡模型的领航-跟随多无人车协同系统的控制方法的步骤。做成U盾的形式,可以通过电子插接的方式插接在传统的遥控器的数据接口上时,遥控器的CPU就可以通过读取U盾内的计算机程序指令并执行,就能解决现有多无人车系统编队跟踪控制中动力学建模不精确以及控制精度不高等问题,提高遥控器的灵敏度和准确性。故,本发明还可以非常便利的对现有遥控器进行软件升级,从而利于本发明的推广与应用。When the control method of the pilot-following multi-unmanned vehicle collaborative system based on the Uka model of the present invention is applied, it can also be designed to store computer program instructions in a readable storage medium, such as a U-shield, and various types of data stored in the U-shield. When the computer program instructions are read and run by a processor, the steps of the control method of the pilot-following multi-unmanned vehicle collaborative system based on the Uka model of the present invention can be realized. In the form of a U-shield, when it can be plugged into the data interface of a traditional remote control through electronic plugging, the CPU of the remote control can read and execute the computer program instructions in the U-shield, thus solving the problem. There are problems such as inaccurate dynamic modeling and low control accuracy in the formation tracking control of multi-unmanned vehicle systems. It is necessary to improve the sensitivity and accuracy of the remote control. Therefore, the present invention can also very conveniently upgrade the software of the existing remote control, thereby facilitating the promotion and application of the present invention.
不论是非嵌入式还是嵌入式都可以归纳为相应的基于乌卡模型的领航-跟随多无人车协同系统的控制装置。所述基于乌卡模型的领航-跟随多无人车协同系统的控制装置包括用于基于机械系统动力学模型,设计各车的控制器的控制输入模型的控制输入模型设定模块;用于根据各车的控制输入模型,设计所述控制输入模型的各个参数的参数设计模块。控制输入模型设定模块和参数设计模块分别执行上述两大步骤。Whether it is non-embedded or embedded, it can be summarized as the corresponding control device of the pilot-following multi-unmanned vehicle collaborative system based on the Uka model. The control device of the pilot-following multi-unmanned vehicle collaborative system based on the Uka model includes a control input model setting module for designing the control input model of the controller of each vehicle based on the mechanical system dynamics model; The control input model of each vehicle is used to design a parameter design module for each parameter of the control input model. The control input model setting module and parameter design module perform the above two steps respectively.
为了论证本发明技术方案的可行性,在本实施例中进行详细的理论推导以及试验仿真。In order to demonstrate the feasibility of the technical solution of the present invention, detailed theoretical derivation and experimental simulation are carried out in this embodiment.
(1)理论推导(1)Theoretical derivation
第一,机械系统动力学模型设定First, mechanical system dynamics model setting
选取由N辆无人车组成的协同系统进行目标轨迹跟踪控制设计。A collaborative system composed of N unmanned vehicles is selected for target trajectory tracking control design.
其动力学方程如下Its kinetic equation is as follows
其中i∈{1,2,…,N}表示车辆编号,Mi表示协同系统中第i辆无人车的质量矩阵,qi=[xi,yi]T表示第i辆无人车的广义坐标,表示第i辆无人车的科里奥利力,Fi=[Fix,Fiy]T表示第i辆无人车的所受的其他外力之和,τi=[τix,τiy]T表示第i辆无人车的控制输入。Where i∈{1,2,…,N} represents the vehicle number, M i represents the mass matrix of the i-th unmanned vehicle in the collaborative system, q i =[x i ,y i ] T represents the i-th unmanned vehicle The generalized coordinates of represents the Coriolis force of the i-th unmanned vehicle, F i =[F ix , F iy ] T represents the sum of other external forces on the i-th unmanned vehicle, τ i =[τ ix ,τ iy ] T represents the control input of the i-th unmanned vehicle.
将所有车辆分为1个领航车,和(N-1)个跟随车,其中领航车属于集合L,跟随车属于集合F。所有车之间相互不碰撞,领航车主要负责轨迹跟踪任务,跟随车负责与领航车保持期望队形,从而实现整体轨迹跟踪。All vehicles are divided into 1 leading vehicle and (N-1) following vehicles, where the leading vehicle belongs to the set L and the following vehicles belong to the set F. All vehicles do not collide with each other. The leading vehicle is mainly responsible for the trajectory tracking task, and the following vehicle is responsible for maintaining the desired formation with the leading vehicle, thereby achieving overall trajectory tracking.
第二,领航车的轨迹跟踪约束设计Second, the trajectory tracking constraint design of the pilot vehicle
假设给定领航车的目标轨迹为qd(t)=[xd(t),yd(t)]T,假设选择第i辆车为领航车,i∈L,其坐标为qi(t)=[xi(t),yi(t)]T。Assume that the target trajectory of the given pilot vehicle is q d (t) = [x d (t), y d (t)] T , and assume that the i-th vehicle is selected as the pilot vehicle, i∈L, and its coordinates are q i ( t)=[x i (t),y i (t)] T .
则定义轨迹跟踪误差ed(t)为ed(t)=qi(t)-qd(t),定义一阶轨迹跟踪约束为其中ld>0为常数,代入整理可得:Then define the trajectory tracking error ed (t) as ed (t) = q i (t)-q d (t), and define the first-order trajectory tracking constraint as Among them, l d > 0 is a constant, which can be obtained by substituting into:
其中/>为轨迹跟踪约束矩阵,/>为一阶轨迹跟踪约束向量; Among them/> is the trajectory tracking constraint matrix, /> is the first-order trajectory tracking constraint vector;
二阶轨迹跟踪约束为代入整理可得:The second-order trajectory tracking constraint is Substitute and organize to get:
其中/>为二阶轨迹跟踪约束向量。 Among them/> is the second-order trajectory tracking constraint vector.
具体地, specifically,
第三,跟随车朝领航车聚集编队时的期望队形约束设计Third, the desired formation constraint design when the following vehicle gathers the formation towards the lead vehicle
假设剩余的N-1辆车作为跟随车,对于任意j∈F,第j辆跟随车的位置坐标为qj(t)=[xj(t),yj(t)]T即j∈F。考虑其余跟随车朝领航车聚集编队时的期望队形约束为:Assume that the remaining N-1 vehicles serve as following vehicles. For any j∈F, the position coordinates of the jth following vehicle are q j (t) = [x j (t), y j (t)] T , that is, j∈ F. The desired formation constraint when considering the remaining following vehicles gathering towards the lead vehicle is:
其中qj(t)和ql(t)分别表示跟随无人车与领航无人车的位置,qj(t)=[xj(t),yj(t)]T ql(t)=[xl(t),yl(t)]T,表示跟随无人车与领航车的相对位置,/>和分别表示在x,y方向上的理想队形距离。上式可以视为队形约束的零阶形式,通过设置好各个跟随车与领航车的相对位置,即可形成所期望的理想队形编队。Among them, q j (t) and q l (t) represent the positions of the following unmanned vehicle and the leading unmanned vehicle respectively, q j (t) = [x j (t), y j (t)] T q l (t )=[x l (t),y l (t)] T , Indicates the relative position of the following unmanned vehicle and the pilot vehicle,/> and Represents the ideal formation distance in the x and y directions respectively. The above formula can be regarded as the zero-order form of formation constraints. By setting the relative positions of each following vehicle and the leading vehicle, the desired ideal formation can be formed.
采用队形误差的约束形式,由上述期望队形约束可定义期望队形编队误差如下:Using the constraint form of formation error, the desired formation error can be defined from the above desired formation constraints as follows:
假设对任意初始状态qj(t0),都存在一个时间Tj<∞,对于所有t≥Tj都有:Assume that for any initial state q j (t 0 ), there is a time T j <∞, and for all t ≥ T j :
其中/>为任意小的常数。将使得编队误差/>在有限时间Tj内进入任意小范围/>的编队方法称之为近似编队。 Among them/> is an arbitrarily small constant. Will make the formation error/> Enter any small range within a limited time T j /> The formation method is called approximate formation.
为实现近似编队设置了如下约束形式:The following constraint form is set to achieve approximate formation:
其中ljl>0为常量,该约束包括了编队误差ejl以及其一阶导且当t→∞时,期望队形编队误差ejl(t)将收敛到0。Among them, l jl > 0 is a constant. This constraint includes the formation error e jl and its first derivative. And when t→∞, the expected formation error e jl (t) will converge to 0.
对式求导得到二阶约束形式:pairs The derivative is used to obtain the second-order constraint form:
对期望队形编队误差求一阶导和二阶导得:Calculating the first and second derivatives of the desired formation error:
综合上式整理得一阶约束形式和二阶约束如下:Based on the above formula, the first-order constraint form and the second-order constraint are as follows:
将一阶形式和二阶形式写作如下形式:Write the first-order form and the second-order form as follows:
其中,in,
第四,任意两车之间均遵循避撞约束设计。Fourth, the collision avoidance constraint design is followed between any two vehicles.
为保证不发生任何车辆碰撞,任意两车之间均需要遵循避撞约束。具体避撞设计如下:To ensure that no vehicle collision occurs, collision avoidance constraints need to be followed between any two vehicles. The specific collision avoidance design is as follows:
设任意两车的距离为ΔSij(t),Suppose the distance between any two vehicles is ΔS ij (t),
ΔSij(t)=qi(t)-qj(t)-(ri+rj)ΔS ij (t)=q i (t)-q j (t)-(r i +r j )
其中,qi与qj表示任意两车质心的坐标,其中i,j∈{1,2,…,N},i≠j,ri表示以第i个车辆质心为圆心的安全半径。当ΔSij(t)<0时,车辆之间可能发生碰撞。为计算方便进一步定义:Among them, q i and q j represent the coordinates of the center of mass of any two vehicles, where i, j∈{1,2,...,N}, i≠j, and r i represents the safety radius with the center of mass of the i-th vehicle as the center of the circle. When ΔS ij (t)<0, collisions between vehicles may occur. Further definition for calculation convenience:
Sij(t)=||qi(t)-qj(t)||2-(ri+rj)2 S ij (t)=||q i (t)-q j (t)|| 2 -(r i +r j ) 2
将Sij进行如下因式分解:Factor S ij as follows:
Sij(t)=[||qi(t)-qj(t)||-(ri+rj)][||qi(t)-qj(t)||+(ri+rj)]S ij (t)=[||q i (t)-q j (t)||-(r i +r j )][||q i (t)-q j (t)||+(r i +r j )]
当Sij(t)<0时,任意两车的实际距离ΔSij(t)<0;当Sij(t)>0时,任意两车的实际距离ΔSij(t)>0,将Sij(t)的正负号作为判断是否发生碰撞的依据。When S ij (t)<0, the actual distance ΔS ij (t)<0 of any two vehicles; when S ij (t)>0, the actual distance ΔS ij (t)>0 of any two vehicles, set S The sign of ij (t) is used as the basis for judging whether a collision occurs.
任意的安全初始状态Sij(t0)>0,若Sij>0对于任意t≥t0成立,称该多智能体系统具有全局避撞性。为实现多无人车协同系统的全局避撞,构造如下避撞函数:Any safe initial state S ij (t 0 )>0. If S ij >0 holds for any t≥t 0 , the multi-agent system is said to have global collision avoidance. In order to achieve global collision avoidance of the multi-unmanned vehicle collaborative system, the following collision avoidance function is constructed:
该避撞函数是关于Sij(t)的对数函数,由于对数函数存在定义域约束,因此该函数有隐式约束:ΔSij(t)>0。对该函数求一阶导及二阶导:The collision avoidance function is a logarithmic function about S ij (t). Since the logarithmic function has domain constraints, the function has an implicit constraint: ΔS ij (t)>0. Find the first and second derivatives of this function:
由此构造一阶避撞约束为 From this, the first-order collision avoidance constraint is constructed as
即: Right now:
二阶避撞约束为:The second-order collision avoidance constraints are:
即:Right now:
对于协同系统中任意两车i,j∈{1,2,...,N},i≠j,其一阶避撞约束和二阶避撞约束可写成如下形式:For any two vehicles i,j∈{1,2,...,N},i≠j in the collaborative system, their first-order collision avoidance constraints and second-order collision avoidance constraints can be written in the following form:
其中,in,
对于由N辆无人车组成的协同系统,共需施加N(N-1)/2个避撞约束。由于避撞约束的作用对象为对应的两个无人车,对于同一避撞约束,只需选取两车中任意一车作为该避撞约束施加的对象即可。为防止避撞约束同时施加在两车之上的过度约束情况,将总共N(N-1)/2个避撞约束进行分配后,归纳成如下形式:For a collaborative system composed of N unmanned vehicles, a total of N(N-1)/2 collision avoidance constraints need to be imposed. Since the collision avoidance constraints are applied to the corresponding two unmanned vehicles, for the same collision avoidance constraint, you only need to select any one of the two vehicles as the object to which the collision avoidance constraints are applied. In order to prevent excessive constraints when collision avoidance constraints are applied to two vehicles at the same time, a total of N(N-1)/2 collision avoidance constraints are distributed and summarized into the following form:
当i=1时,When i=1,
当i=2,3,…,N-1时,When i=2,3,…,N-1,
当i=N时,When i=N,
第五,无人车协同系统轨迹跟踪控制器设计Fifth, the design of the trajectory tracking controller of the unmanned vehicle collaborative system
领航无人车和跟随无人车的全部约束设计完成,现将所有约束分配归纳,对于该协同系统中的任意车辆i,其所受的约束为:All the constraints of the leading unmanned vehicle and the following unmanned vehicle have been designed. Now all the constraints are allocated and summarized. For any vehicle i in the collaborative system, the constraints it is subject to are:
其中,in,
基于Udwadia-Kalaba方程,受上述约束的无人车i的理想约束力为:Based on the Udwadia-Kalaba equation, the ideal binding force of the unmanned vehicle i subject to the above constraints is:
其中,Bi=AiMi -1/2;上式可以作为理想状态下(即无不确定性以及无初始误差)各无人车的控制输入。第i辆车的理想条件下的控制Among them, B i =A i M i -1/2 ; the above formula can be used as the control input of each unmanned vehicle under an ideal state (ie, no uncertainty and no initial error). Control of the i-th vehicle under ideal conditions
考虑到协同系统在初始时刻时,各无人车零散分布,无编队关系,因此需增加如下控制输入以抑制初始误差:Considering that at the initial moment of the collaborative system, each unmanned vehicle is scattered and has no formation relationship, so the following control input needs to be added to suppress the initial error:
τi2=-γiMi 1/2Bi +ηi τ i2 =-γ i M i 1/2 B i + η i
其中,ηi为约束跟随误差,Among them, η i is the constrained following error,
γi>0为常量控制参数,γi越大,则ηi收敛的速度越快。γ i >0 is a constant control parameter. The larger γ i is, the faster the convergence speed of eta i will be.
该多无人车协同系统轨迹跟踪控制器设计为:The trajectory tracking controller of the multi-unmanned vehicle collaborative system is designed as:
τi(t)=τi1+τi2 τ i (t)=τ i1 +τ i2
(2)试验仿真:通过实验验证控制方法的有效性。(2) Experimental simulation: Verify the effectiveness of the control method through experiments.
图2反映的是领航车目标轨迹的跟踪情况,可以看出领航车的实际轨迹与目标轨迹基本重合,只在初始时刻有轻微的偏差,偏差在0.1左右。图3反映了领航车在X、Y轴方向上的轨迹跟踪误差情况,误差在0-5秒以及20-30秒时间段变化较大,原因分别是0-5秒内队形调整所产生的影响,以及20-30秒内领航车处于轨迹中间部分,轨迹曲线变化较大的影响。在跟踪的全过程中,X方向的跟踪误差均小于0.1m,Y方向的误差仅仅不到0.04m。综合图4与图5,领航车在协同系统中的轨迹跟踪情况良好,为其他跟随车实现良好的跟踪情况奠定了重要基础。Figure 2 reflects the tracking of the target trajectory of the pilot vehicle. It can be seen that the actual trajectory of the pilot vehicle basically coincides with the target trajectory, with only a slight deviation at the initial moment, and the deviation is about 0.1. Figure 3 reflects the trajectory tracking error of the pilot vehicle in the X and Y axis directions. The error changes greatly in the time periods of 0-5 seconds and 20-30 seconds. The reasons are respectively caused by the formation adjustment within 0-5 seconds. The impact is also due to the fact that the pilot car is in the middle part of the trajectory within 20-30 seconds and the trajectory curve changes significantly. During the entire tracking process, the tracking error in the X direction is less than 0.1m, and the error in the Y direction is only less than 0.04m. Based on Figure 4 and Figure 5, the trajectory tracking of the pilot vehicle in the collaborative system is good, which lays an important foundation for other following vehicles to achieve good tracking.
图6-图7分别显示的是多无人车协同系统轨迹跟踪过程中各车之间的距离的变化情况。可以看出,各车距离均在第10秒后趋于稳定。图5和6中所示车辆距离均稳定在6m左右,这些距离分别对应着所设计的正六边形队形边长以及各顶点到中心的距离。各车距离均在第20-30秒发生了轻微波动,原因是轨迹曲线中间变化处较大,但波动幅值较小,波动峰值只在0.1m左右。图7显示的是该编队中的不相邻车辆的距离,分别稳定在10.4m与12m左右,对应着正六边形的不同对角线距离。此外,可以看出,各车车距在整个过程中均大于安全距离,说明整个过程中,没有任何车辆碰撞发生。图5-图7所示结果共同验证了所设计的控制器可以较好地满足期望的队形约束。Figures 6 to 7 respectively show the changes in the distance between the vehicles during the trajectory tracking process of the multi-unmanned vehicle collaborative system. It can be seen that the distances of each vehicle tend to stabilize after the 10th second. The vehicle distance shown in Figures 5 and 6 is stable at about 6m. These distances respectively correspond to the side lengths of the designed regular hexagonal formation and the distance from each vertex to the center. The distance between each vehicle fluctuates slightly in the 20th to 30th second. The reason is that the change in the middle of the trajectory curve is large, but the fluctuation amplitude is small, and the peak value of the fluctuation is only about 0.1m. Figure 7 shows the distance between non-adjacent vehicles in this formation, which is stable at around 10.4m and 12m respectively, corresponding to different diagonal distances of a regular hexagon. In addition, it can be seen that the distance between each vehicle is greater than the safe distance throughout the entire process, indicating that no vehicle collision occurred during the entire process. The results shown in Figures 5 to 7 jointly verify that the designed controller can better meet the desired formation constraints.
图8显示了各跟随车与领航车距离误差的变化情况,可以看出在第10秒后,距离误差趋近于0。在第25秒左右,车距误差发生了轻微的波动,原因是第25秒时,各车处于轨迹曲线中间处,速度变化较大,但误差仍保持在0.1m左右。Figure 8 shows the changes in the distance error between each following vehicle and the leading vehicle. It can be seen that the distance error approaches 0 after the 10th second. Around the 25th second, the vehicle distance error fluctuates slightly. The reason is that at the 25th second, each vehicle is in the middle of the trajectory curve and the speed changes greatly, but the error still remains at about 0.1m.
图9与图10分别显示的是各无人车X、Y方向上的控制输入。可以看出,一开始X、Y方向上的控制输入均较大,最大幅值约在400N左右,原因是一开始的队形误差较大,需要较高的控制输入以实现编队行为。在第5秒后,控制输入明显变小,变化速率开始变得平缓,X方向上的控制输入在此之后保持稳定,而Y方向上的控制输入在8-20秒之间基本保持稳定,第20秒后发生明显变化,呈现类似于正弦函数波形变化,原因是各车轨迹曲线中间处产生了速度变化,在此之后的控制输入也恢复到之前的状态。此外,各车在X、Y方向上控制输入的稳定值不同,这是由于各无人车的质量、所受外力以及其他参数不同造成的。Figures 9 and 10 respectively show the control inputs in the X and Y directions of each unmanned vehicle. It can be seen that the control inputs in the X and Y directions are large at the beginning, with the maximum amplitude around 400N. The reason is that the formation error is large at the beginning, and higher control input is required to achieve formation behavior. After the 5th second, the control input becomes significantly smaller and the rate of change begins to slow down. The control input in the X direction remains stable after that, while the control input in the Y direction remains basically stable between 8 and 20 seconds. An obvious change occurred after 20 seconds, showing a change similar to the sinusoidal function waveform. The reason was that the speed changed in the middle of each vehicle's trajectory curve, and the control input after that also returned to the previous state. In addition, the stable values of the control inputs of each vehicle in the X and Y directions are different. This is due to the differences in the mass, external force and other parameters of each unmanned vehicle.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310888848.1A CN116880193B (en) | 2023-07-19 | 2023-07-19 | Control method of multi-unmanned vehicle cooperative system, control device, terminal and medium thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310888848.1A CN116880193B (en) | 2023-07-19 | 2023-07-19 | Control method of multi-unmanned vehicle cooperative system, control device, terminal and medium thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116880193A CN116880193A (en) | 2023-10-13 |
CN116880193B true CN116880193B (en) | 2024-02-23 |
Family
ID=88256489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310888848.1A Active CN116880193B (en) | 2023-07-19 | 2023-07-19 | Control method of multi-unmanned vehicle cooperative system, control device, terminal and medium thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116880193B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118226761B (en) * | 2024-05-24 | 2024-08-13 | 合肥工业大学 | Control and modeling method and device for mixed vehicle platoon |
CN118244646B (en) * | 2024-05-27 | 2024-08-23 | 合肥工业大学 | Formation control of unmanned vehicle fleet and its modeling method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108459605A (en) * | 2018-03-22 | 2018-08-28 | 合肥工业大学 | Trajectory Tracking Control method based on AGV system |
CN114594756A (en) * | 2020-11-30 | 2022-06-07 | 上海交通大学 | Multi-vehicle cooperative formation control method, terminal and medium in dynamic obstacle environment |
CN115268464A (en) * | 2022-08-25 | 2022-11-01 | 山东科技大学 | Hierarchical Constraints-Based Trajectory Tracking Control Method and Device for Autonomous Driving Vehicles |
CN115328144A (en) * | 2022-08-29 | 2022-11-11 | 江西科骏实业有限公司 | Trajectory tracking control method, system and medium for multi-unmanned vehicle cooperative delivery system |
CN116009536A (en) * | 2022-12-09 | 2023-04-25 | 清华大学 | Hierarchical modeling and constraint following control method for multi-vehicle cooperative transportation system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200148387A1 (en) * | 2017-04-12 | 2020-05-14 | Norwegian University Of Science And Technology (Ntnu) | Recovery System for UAV |
-
2023
- 2023-07-19 CN CN202310888848.1A patent/CN116880193B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108459605A (en) * | 2018-03-22 | 2018-08-28 | 合肥工业大学 | Trajectory Tracking Control method based on AGV system |
CN114594756A (en) * | 2020-11-30 | 2022-06-07 | 上海交通大学 | Multi-vehicle cooperative formation control method, terminal and medium in dynamic obstacle environment |
CN115268464A (en) * | 2022-08-25 | 2022-11-01 | 山东科技大学 | Hierarchical Constraints-Based Trajectory Tracking Control Method and Device for Autonomous Driving Vehicles |
CN115328144A (en) * | 2022-08-29 | 2022-11-11 | 江西科骏实业有限公司 | Trajectory tracking control method, system and medium for multi-unmanned vehicle cooperative delivery system |
CN116009536A (en) * | 2022-12-09 | 2023-04-25 | 清华大学 | Hierarchical modeling and constraint following control method for multi-vehicle cooperative transportation system |
Non-Patent Citations (2)
Title |
---|
Robust Approximate Constraint-following Control for Autonomous Vehicle Platoon Systems;Zhao Xiaomin, et al.;ASIAN Journal of Control;第4卷(第20期);第1611-1623页 * |
三轮全向移动平台的轨迹跟踪控制与多参数优化研究;金栋;中国优秀硕士学位论文全文数据库 工程科技II辑(第6期);第C029-60页 * |
Also Published As
Publication number | Publication date |
---|---|
CN116880193A (en) | 2023-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116880193B (en) | Control method of multi-unmanned vehicle cooperative system, control device, terminal and medium thereof | |
CN114348026B (en) | Vehicle control method, device, equipment and storage medium | |
CN114715196B (en) | A method, device, equipment and storage medium for determining following error | |
CN116449820A (en) | Unmanned tracked vehicle track tracking control method based on constraint following | |
CN113060160A (en) | Automatic driving control method and device | |
CN114690630A (en) | Vehicle control with neural network controller combined with model-based controller | |
CN115402319A (en) | A speed control method for lane change in automatic driving, computer equipment and storage medium | |
CN115042205B (en) | Force-bit hybrid control method and device, computer readable storage medium and robot | |
Zhang et al. | Automated Parking Trajectory Generation Using Deep Reinforcement Learning | |
CN112918478B (en) | A method, device and computer storage medium for predicting vehicle lane change | |
CN118579109A (en) | A vehicle automatic driving trajectory planning method and system based on edge computing | |
CN117519129A (en) | A trajectory tracking control method, device, computer equipment and storage medium | |
CN112034869A (en) | Design method and application of variable parameter neurodynamics controller of unmanned aerial vehicle | |
CN114815596B (en) | A gait planning method, device, computer-readable storage medium and robot | |
CN117465433A (en) | Method, device, equipment and storage medium for planning longitudinal cruising track of vehicle | |
CN115576332A (en) | A task-level multi-robot cooperative motion planning system and method | |
CN115008450A (en) | A robot control method, device, electronic device and storage medium | |
CN114919661A (en) | Parking control method, device, equipment and storage medium | |
CN116300419A (en) | Distributed formation control method based on group function | |
CN114741790A (en) | Vehicle path tracking control method and device, storage medium and electronic equipment | |
CN112883493A (en) | Unmanned aerial vehicle online collaborative airspace conflict resolution method based on iterative space mapping | |
CN111123944B (en) | A state-limited collaborative control method and system for multi-robot systems | |
CN118011866A (en) | Vehicle centering control simulation method, equipment and storage medium | |
CN116165890A (en) | A Fuzzy Approximate Fractional Order Control Method for Human-Computer Interaction Process | |
CN117367454A (en) | Automatic driving track planning method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |