WO2022000967A1 - Path tracking control method and system, and computer readable storage medium - Google Patents

Path tracking control method and system, and computer readable storage medium Download PDF

Info

Publication number
WO2022000967A1
WO2022000967A1 PCT/CN2020/131789 CN2020131789W WO2022000967A1 WO 2022000967 A1 WO2022000967 A1 WO 2022000967A1 CN 2020131789 W CN2020131789 W CN 2020131789W WO 2022000967 A1 WO2022000967 A1 WO 2022000967A1
Authority
WO
WIPO (PCT)
Prior art keywords
path tracking
tracking control
state
control method
wheel
Prior art date
Application number
PCT/CN2020/131789
Other languages
French (fr)
Chinese (zh)
Inventor
刘胜明
杨松岩
司秀芬
Original Assignee
苏州艾吉威机器人有限公司
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 苏州艾吉威机器人有限公司 filed Critical 苏州艾吉威机器人有限公司
Publication of WO2022000967A1 publication Critical patent/WO2022000967A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/04Adaptive 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/042Adaptive 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/04Adaptive 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

Definitions

  • the present invention relates to the technical field, and in particular, to a path tracking control method, system and computer-readable storage medium.
  • Path tracking is a key technology in the research direction of unmanned vehicles.
  • the path tracking control method refers to a control method that can make the unmanned vehicle drive safely and stably according to the preset path.
  • PID control Proportional-integral-derivative control
  • control deviation is formed according to the given value and the actual output value, and the deviation is formed by linear combination of proportional, integral and differential to form the control amount, and the controlled object is controlled.
  • a conventional PID controller acts as a linear controller.
  • the technical problem to be solved by the present invention is to provide a path tracking control method, system and computer-readable storage medium, which can precisely control a mobile robot.
  • a path tracking control method comprising the following steps:
  • the state equation of the controlled system is:
  • x(t) represents the real-time pose of the robot, which can be represented by coordinates and angles as
  • u(t) represents the control amount of the robot, which is represented by the speed and angle of the steering wheel
  • K(t) is the state feedback controller
  • the input volume is The observed value is
  • Q(t) and R(t) are the control weights of x(t) and u(t) respectively, Q(t) is a semi-positive definite matrix, and R(t) is a positive definite matrix.
  • K(t) is related to P(t), and P(t) is an assumed quantity, and P(t) only needs to make equation (9) true.
  • the feedback matrix K(t) that minimizes the Cost-Function objective function can be obtained according to equation (8).
  • the present invention also proposes a path tracking control system, including:
  • a calculation unit for calculating matrix coefficients from system state variables and control inputs
  • the acquisition unit is used to establish the Cost-Function objective function, and acquire the state feedback controller under the condition that the objective function is minimized in the prediction period;
  • the execution unit is used for obtaining the optimal control input in the next prediction period and starting the obtaining unit.
  • the present invention also provides a path tracking control device, including a memory and a processor; the memory is used to store a computer program; the processor is used to implement the above-mentioned path tracking control method when the computer program is executed .
  • the present invention also provides a computer-readable storage medium, characterized in that, a computer program is stored on the storage medium, and when the computer program is executed by the processor, the above-mentioned path tracking control method is implemented.
  • the path tracking control method, system and computer-readable storage medium proposed by the present invention adopts the idea of LQR optimal control, which makes the control more accurate.
  • FIG. 1 is a flowchart of a path tracking control method proposed by an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a path tracking control system proposed by an embodiment of the present invention.
  • FIG. 3 is a vehicle model diagram of a path tracking control method proposed by an embodiment of the present invention.
  • an embodiment of the present invention provides a path tracking control method, which includes the following steps:
  • the path tracking control method, system and computer-readable storage medium proposed in the embodiments of the present invention adopt the idea of LQR optimal control, which makes the control more accurate.
  • x(t) represents the real-time pose of the robot, which can be represented by coordinates and angles as
  • u(t) represents the control amount of the robot, which is represented by the speed and angle of the steering wheel
  • K(t) is the state feedback controller.
  • control state equation of the system can be expressed as:
  • the input volume is The observed value is
  • the first-order Taylor expansion can be used to obtain the matrix coefficients A and B in equation (1).
  • Q(t) and R(t) are the control weights of x(t) and u(t) respectively, Q(t) is a semi-positive definite matrix, and R(t) is a positive definite matrix.
  • K(t) is related to P(t), and P(t) is an assumed quantity, and P(t) only needs to make equation (9) true.
  • the feedback matrix K(t) that minimizes the Cost-Function objective function can be obtained according to equation (8).
  • the present invention also proposes a path tracking control system, including:
  • establishing unit 21 for establishing a kinematic model and state space equation of the mobile robot
  • the calculation unit 22 is used for calculating matrix coefficients from system state variables and control inputs
  • the acquisition unit 23 is used to establish the Cost-Function objective function, and acquires the state feedback controller under the condition that the objective function is minimized in the prediction period;
  • the execution unit 24 is configured to obtain the optimal control input in the next prediction period and start the obtaining unit.
  • An embodiment of the present invention also provides a path tracking control device, including a memory and a processor; the memory is used to store a computer program; the processor is used to implement the above path tracking control when the computer program is executed method.
  • the embodiments of the present invention also provide a computer-readable storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by the processor, the above-mentioned path tracking control method is implemented.
  • a computer program product includes one or more computer instructions.
  • the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server, or data center over a wire (e.g.
  • the computer-readable storage medium can be any available medium that can be stored by a computer or a data storage device such as a server, a data center, etc. that includes one or more available media integrated.
  • Useful media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.

Abstract

A path tracking control method and system, and a computer readable storage medium. The path tracking control method comprises the following steps: establishing a kinematic model and a state space equation for a mobile robot (S101); calculating a matrix coefficient by means of a system state variable and a control input (S102); establishing a Cost-Function objective function, and obtaining a state feedback controller in the case that the objective function is minimized within a prediction period (S103); and obtaining an optimal control input within the next prediction period and executing the step S103 (S104). According to the path tracking control method and system and the computer readable storage medium, the mobile robot can be accurately controlled.

Description

一种路径跟踪控制方法、系统及计算机可读存储介质A path tracking control method, system and computer readable storage medium 技术领域technical field
本发明涉及技术领域,尤其涉及一种路径跟踪控制方法、系统及计算机可读存储介质。The present invention relates to the technical field, and in particular, to a path tracking control method, system and computer-readable storage medium.
背景技术Background technique
路径跟踪是无人车研究方向的一项关键技术。路径跟踪控制方法是指能够使无人车按照预设路径,安全稳定行驶的控制方法。Path tracking is a key technology in the research direction of unmanned vehicles. The path tracking control method refers to a control method that can make the unmanned vehicle drive safely and stably according to the preset path.
比例积分微分控制,简称PID控制,是最早发展起来的控制策略之一,由于其算法简单、鲁棒性好和可靠性高,被广泛应用于工业过程控制,至今仍有90%左右的控制回路具有PID结构。Proportional-integral-derivative control, referred to as PID control, is one of the earliest developed control strategies. Because of its simple algorithm, good robustness and high reliability, it is widely used in industrial process control, and there are still about 90% of the control loops. Has a PID structure.
简单的说,根据给定值和实际输出值构成控制偏差,将偏差按比例、积分和微分通过线性组合构成控制量,对被控对象进行控制。常规PID控制器作为一种线性控制器。Simply put, the control deviation is formed according to the given value and the actual output value, and the deviation is formed by linear combination of proportional, integral and differential to form the control amount, and the controlled object is controlled. A conventional PID controller acts as a linear controller.
在进行移动机器人的控制时,PID控制不够精准。In the control of mobile robots, PID control is not accurate enough.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明要解决的技术问题是提供一种路径跟踪控制方法、系统及计算机可读存储介质,能够对移动机器人进行精准控制。In view of this, the technical problem to be solved by the present invention is to provide a path tracking control method, system and computer-readable storage medium, which can precisely control a mobile robot.
本发明的技术方案是这样实现的:The technical scheme of the present invention is realized as follows:
一种路径跟踪控制方法,包括以下步骤:A path tracking control method, comprising the following steps:
S1、建立移动机器人的运动学模型和状态空间方程;S1. Establish the kinematics model and state space equation of the mobile robot;
S2、由系统状态变量和控制输入,计算矩阵系数;S2. Calculate matrix coefficients from system state variables and control inputs;
S3、建立Cost-Function目标函数,获取在预测周期内使目标函数最小情况下的状态反馈控制器;S3. Establish a Cost-Function objective function to obtain a state feedback controller that minimizes the objective function within the prediction period;
S4、得到下一个预测周期内的最优控制输入并执行S3。S4. Obtain the optimal control input in the next prediction period and execute S3.
优选的,所述S1中,被控系统的状态方程为:Preferably, in the S1, the state equation of the controlled system is:
Figure PCTCN2020131789-appb-000001
Figure PCTCN2020131789-appb-000001
u(t)=K(t)x(t)u(t)=K(t)x(t)
其中x(t)表示机器人的实时位姿,可由坐标和角度表示为
Figure PCTCN2020131789-appb-000002
where x(t) represents the real-time pose of the robot, which can be represented by coordinates and angles as
Figure PCTCN2020131789-appb-000002
u(t)表示机器人的控制量,由舵轮的速度和角度表示
Figure PCTCN2020131789-appb-000003
u(t) represents the control amount of the robot, which is represented by the speed and angle of the steering wheel
Figure PCTCN2020131789-appb-000003
K(t)为状态反馈控制器;K(t) is the state feedback controller;
则系统的控制状态方程表示为:Then the control state equation of the system is expressed as:
Figure PCTCN2020131789-appb-000004
Figure PCTCN2020131789-appb-000004
输入量是
Figure PCTCN2020131789-appb-000005
观测值是
Figure PCTCN2020131789-appb-000006
The input volume is
Figure PCTCN2020131789-appb-000005
The observed value is
Figure PCTCN2020131789-appb-000006
优选的,所述移动机器人舵轮速度V wheel、舵轮角度α wheel、运动中心至舵轮的距离L;车体角速度:w=V wheel*sin(α wheel)/L Preferably, the steering wheel speed V wheel of the mobile robot, the steering wheel angle α wheel , the distance L from the motion center to the steering wheel; the angular velocity of the vehicle body: w=V wheel *sin(α wheel )/L
车体运动中心速度:V car=w*L/tanθ=V wheel*cos(α wheel) Vehicle body motion center speed: V car =w*L/tanθ=V wheel *cos(α wheel )
则:but:
Figure PCTCN2020131789-appb-000007
Figure PCTCN2020131789-appb-000007
Figure PCTCN2020131789-appb-000008
Figure PCTCN2020131789-appb-000008
Figure PCTCN2020131789-appb-000009
Figure PCTCN2020131789-appb-000009
得到get
Figure PCTCN2020131789-appb-000010
Figure PCTCN2020131789-appb-000010
对于非线性系统进行线性化。Linearize nonlinear systems.
Figure PCTCN2020131789-appb-000011
分别对
Figure PCTCN2020131789-appb-000012
Figure PCTCN2020131789-appb-000013
进行一阶泰勒展开得到矩阵系数A和B。
will
Figure PCTCN2020131789-appb-000011
respectively
Figure PCTCN2020131789-appb-000012
and
Figure PCTCN2020131789-appb-000013
Perform a first-order Taylor expansion to get the matrix coefficients A and B.
建立Cost-Function目标函数,求预测周期内,使目标函数最小情况下的状态反馈控制器K(t);建立Cost-Function目标函数,寻找一个最优控制函数u(t),使得系统从给定的状态x 0出发转移到目标控制末态x tf时,使得系统指标最优 Establish a Cost-Function objective function to find the state feedback controller K(t) under the condition that the objective function is minimized within the prediction period; establish a Cost-Function objective function to find an optimal control function u(t), so that the system can change from given When the given state x 0 starts and transfers to the target control final state x tf , the system index is optimized
Figure PCTCN2020131789-appb-000014
Figure PCTCN2020131789-appb-000014
其中Q(t)、R(t)分别为x(t)、u(t)的控制权重,Q(t)为半正定矩阵、R(t)为正定矩阵。将(2)式代入(6)式,得到Among them, Q(t) and R(t) are the control weights of x(t) and u(t) respectively, Q(t) is a semi-positive definite matrix, and R(t) is a positive definite matrix. Substituting (2) into (6), we get
Figure PCTCN2020131789-appb-000015
Figure PCTCN2020131789-appb-000015
根据黎卡提方法According to the Riccati method
K(t)=R -1(t)B T(t)P(t)     (8) K(t)=R -1 (t)B T (t)P(t) (8)
A T(t)P(t)+P(t)A(t)+Q(t)-P(t)B(t)R -1(t)B T(t)P(t)=0  (9) A T (t)P(t)+P(t)A(t)+Q(t)-P(t)B(t)R -1 (t)B T (t)P(t)=0 ( 9)
K(t)的取值和P(t)有关,而P(t)是假设的一个量,P(t)只要使得(9)式成立即可。P(t)求得后,根据(8)式即可求得使Cost-Function目标函数最小时的反馈矩阵K(t)。得到下一个预测周期内的最优控制输入u(t)根据(2)式u(t)=K(t)·x(t),可以求得最终的控制量,即下一个周期舵轮的速度和角度,转步骤3。The value of K(t) is related to P(t), and P(t) is an assumed quantity, and P(t) only needs to make equation (9) true. After P(t) is obtained, the feedback matrix K(t) that minimizes the Cost-Function objective function can be obtained according to equation (8). Obtain the optimal control input u(t) in the next prediction cycle. According to the formula (2) u(t)=K(t) x(t), the final control quantity can be obtained, that is, the speed of the steering wheel in the next cycle and angle, go to step 3.
本发明还提出了路径跟踪控制系统,包括:The present invention also proposes a path tracking control system, including:
建立单元,用于建立移动机器人的运动学模型和状态空间方程;Establishment unit for establishing the kinematic model and state space equation of the mobile robot;
计算单元,用于由系统状态变量和控制输入,计算矩阵系数;a calculation unit for calculating matrix coefficients from system state variables and control inputs;
获取单元,用于建立Cost-Function目标函数,获取在预测周期内使目标函数最小情况下的状态反馈控制器;The acquisition unit is used to establish the Cost-Function objective function, and acquire the state feedback controller under the condition that the objective function is minimized in the prediction period;
执行单元,用于得到下一个预测周期内的最优控制输入并启动所述获取单元。The execution unit is used for obtaining the optimal control input in the next prediction period and starting the obtaining unit.
本发明还提出了路径跟踪控制装置,包括存储器和处理器;所述存储器,用于存储计算机程序;所述处理器,用于当执行所述计算机程序时,实现上述所述的路径跟踪控制方法。The present invention also provides a path tracking control device, including a memory and a processor; the memory is used to store a computer program; the processor is used to implement the above-mentioned path tracking control method when the computer program is executed .
本发明还提出了计算机可读存储介质,其特征在于,所述存储介质上存储有计算机程序,当所述计算机程序被处理器执行时,实现上述所述的路径 跟踪控制方法。The present invention also provides a computer-readable storage medium, characterized in that, a computer program is stored on the storage medium, and when the computer program is executed by the processor, the above-mentioned path tracking control method is implemented.
本发明提出的路径跟踪控制方法、系统及计算机可读存储介质,相比于传统的PID控制,采用LQR最优控制的思想,使得控制更加精准。Compared with the traditional PID control, the path tracking control method, system and computer-readable storage medium proposed by the present invention adopts the idea of LQR optimal control, which makes the control more accurate.
附图说明Description of drawings
图1为本发明实施例提出的路径跟踪控制方法的流程图;1 is a flowchart of a path tracking control method proposed by an embodiment of the present invention;
图2为本发明实施例提出的路径跟踪控制系统的结构框图;2 is a structural block diagram of a path tracking control system proposed by an embodiment of the present invention;
图3为本发明实施例提出的路径跟踪控制方法的车辆模型图。FIG. 3 is a vehicle model diagram of a path tracking control method proposed by an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
如图1所示,本发明实施例提出了一种路径跟踪控制方法,包括以下步骤:As shown in FIG. 1 , an embodiment of the present invention provides a path tracking control method, which includes the following steps:
S101、建立移动机器人的运动学模型和状态空间方程;S101. Establish a kinematic model and state space equation of the mobile robot;
S102、由系统状态变量和控制输入,计算矩阵系数;S102, calculating matrix coefficients from system state variables and control inputs;
S103、建立Cost-Function目标函数,获取在预测周期内使目标函数最小情况下的状态反馈控制器;S103, establishing a Cost-Function objective function, and obtaining a state feedback controller under the condition that the objective function is minimized within the prediction period;
S104、得到下一个预测周期内的最优控制输入并执行S103。S104, obtain the optimal control input in the next prediction period and execute S103.
可见,本发明实施例提出的路径跟踪控制方法、系统及计算机可读存储介质,相比于传统的PID控制,采用LQR最优控制的思想,使得控制更加精准。It can be seen that, compared with the traditional PID control, the path tracking control method, system and computer-readable storage medium proposed in the embodiments of the present invention adopt the idea of LQR optimal control, which makes the control more accurate.
本发明实施例具体步骤如下:The specific steps of the embodiment of the present invention are as follows:
建立移动机器人的运动学模型,及状态空间方程;Establish the kinematic model of the mobile robot and the state space equation;
已知被控系统的状态方程为:The state equation of the known controlled system is:
Figure PCTCN2020131789-appb-000016
Figure PCTCN2020131789-appb-000016
u(t)=K(t)x(t)      (2)u(t)=K(t)x(t) (2)
其中x(t)表示机器人的实时位姿,可由坐标和角度表示为
Figure PCTCN2020131789-appb-000017
where x(t) represents the real-time pose of the robot, which can be represented by coordinates and angles as
Figure PCTCN2020131789-appb-000017
u(t)表示机器人的控制量,由舵轮的速度和角度表示
Figure PCTCN2020131789-appb-000018
u(t) represents the control amount of the robot, which is represented by the speed and angle of the steering wheel
Figure PCTCN2020131789-appb-000018
K(t)为状态反馈控制器。K(t) is the state feedback controller.
则系统的控制状态方程可表示为:Then the control state equation of the system can be expressed as:
Figure PCTCN2020131789-appb-000019
Figure PCTCN2020131789-appb-000019
输入量是
Figure PCTCN2020131789-appb-000020
观测值是
Figure PCTCN2020131789-appb-000021
The input volume is
Figure PCTCN2020131789-appb-000020
The observed value is
Figure PCTCN2020131789-appb-000021
由系统状态变量和控制输入,求出矩阵系数A(t)和B(t)From the system state variables and control input, find the matrix coefficients A(t) and B(t)
已知车辆模型如图3;移动机器人舵轮速度V wheel、舵轮角度α wheel、运动中心至舵轮的距离L;车体角速度:w=V wheel*sin(α wheel)/L The known vehicle model is shown in Figure 3; the steering wheel speed V wheel of the mobile robot, the steering wheel angle α wheel , the distance L from the motion center to the steering wheel; the angular velocity of the vehicle body: w=V wheel *sin(α wheel )/L
车体运动中心速度:V car=w*L/tanθ=V wheel*cos(α wheel)则: Vehicle body motion center speed: V car =w*L/tanθ=V wheel *cos(α wheel ):
Figure PCTCN2020131789-appb-000022
Figure PCTCN2020131789-appb-000022
将(4)式代入(1)式整理得到:Substitute (4) into (1) to get:
Figure PCTCN2020131789-appb-000023
Figure PCTCN2020131789-appb-000023
需要对于非线性系统进行线性化。Linearization is required for nonlinear systems.
Figure PCTCN2020131789-appb-000024
分别对
Figure PCTCN2020131789-appb-000025
Figure PCTCN2020131789-appb-000026
进行一阶泰勒展开,可以求得(1)式中的矩阵系数A和B。
will
Figure PCTCN2020131789-appb-000024
respectively
Figure PCTCN2020131789-appb-000025
and
Figure PCTCN2020131789-appb-000026
The first-order Taylor expansion can be used to obtain the matrix coefficients A and B in equation (1).
建立Cost-Function目标函数,求预测周期内,使目标函数最小情况下的状态反馈控制器K(t);Establish a Cost-Function objective function, and find the state feedback controller K(t) under the condition that the objective function is minimized in the prediction period;
建立Cost-Function目标函数,寻找一个最优控制函数u(t),使得系统从给定的状态x 0出发转移到目标控制末态x tf时,使得系统指标最优 Establish a Cost-Function objective function and find an optimal control function u(t), so that when the system transitions from a given state x 0 to the target control final state x tf , the system index is optimal
Figure PCTCN2020131789-appb-000027
Figure PCTCN2020131789-appb-000027
其中Q(t)、R(t)分别为x(t)、u(t)的控制权重,Q(t)为半正定矩阵、R(t)为正定矩阵。将(2)式代入(6)式,得到Among them, Q(t) and R(t) are the control weights of x(t) and u(t) respectively, Q(t) is a semi-positive definite matrix, and R(t) is a positive definite matrix. Substituting (2) into (6), we get
Figure PCTCN2020131789-appb-000028
Figure PCTCN2020131789-appb-000028
根据黎卡提方法:According to the Riccati method:
K(t)=R -1(t)B T(t)P(t)   (8) K(t)=R -1 (t)B T (t)P(t) (8)
A T(t)P(t)+P(t)A(t)+Q(t)-P(t)B(t)R -1(t)B T(t)P(t)=0   (9) A T (t)P(t)+P(t)A(t)+Q(t)-P(t)B(t)R -1 (t)B T (t)P(t)=0 ( 9)
K(t)的取值和P(t)有关,而P(t)是假设的一个量,P(t)只要使得(9)式成立即可。P(t)求得后,根据(8)式即可求得使Cost-Function目标函数最小时的反馈矩阵K(t)。得到下一个预测周期内的最优控制输入u(t)根据(2)式u(t)=K(t)·x(t),可以求得最终的控制量,即下一个周期舵轮的速度和角度,转步骤3。The value of K(t) is related to P(t), and P(t) is an assumed quantity, and P(t) only needs to make equation (9) true. After P(t) is obtained, the feedback matrix K(t) that minimizes the Cost-Function objective function can be obtained according to equation (8). Obtain the optimal control input u(t) in the next prediction cycle. According to the formula (2) u(t)=K(t) x(t), the final control quantity can be obtained, that is, the speed of the steering wheel in the next cycle and angle, go to step 3.
如图2所示,本发明还提出了路径跟踪控制系统,包括:As shown in Figure 2, the present invention also proposes a path tracking control system, including:
建立单元21,用于建立移动机器人的运动学模型和状态空间方程;establishing unit 21 for establishing a kinematic model and state space equation of the mobile robot;
计算单元22,用于由系统状态变量和控制输入,计算矩阵系数;The calculation unit 22 is used for calculating matrix coefficients from system state variables and control inputs;
获取单元23,用于建立Cost-Function目标函数,获取在预测周期内使目标函数最小情况下的状态反馈控制器;The acquisition unit 23 is used to establish the Cost-Function objective function, and acquires the state feedback controller under the condition that the objective function is minimized in the prediction period;
执行单元24,用于得到下一个预测周期内的最优控制输入并启动所述获取单元。The execution unit 24 is configured to obtain the optimal control input in the next prediction period and start the obtaining unit.
本发明实施例还提出了一种路径跟踪控制装置,包括存储器和处理器;所述存储器,用于存储计算机程序;所述处理器,用于当执行所述计算机程序时,实现上述路径跟踪控制方法。An embodiment of the present invention also provides a path tracking control device, including a memory and a processor; the memory is used to store a computer program; the processor is used to implement the above path tracking control when the computer program is executed method.
本发明实施例还提出了计算机可读存储介质,所述存储介质上存储有计算机程序,当所述计算机程序被处理器执行时,实现上述所述的路径跟踪控制方法。The embodiments of the present invention also provide a computer-readable storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by the processor, the above-mentioned path tracking control method is implemented.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CPU、专用存储器、专用元器件等来实现。一般情况下,凡由计算机程序完成的功能都可以很容易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本申请而言更多情况下软件程序实现是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘、U盘、移动硬盘、ROM、RAM、磁碟或者光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general-purpose hardware. Special components, etc. to achieve. Under normal circumstances, all functions completed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structures used to implement the same function can also be various, such as analog circuits, digital circuits or special circuit, etc. However, a software program implementation is a better implementation in many cases for this application. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that make contributions to the prior art. The computer software products are stored in a readable storage medium, such as a floppy disk of a computer. , U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments of the present application.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、 服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solidstatedisk,SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedures or functions according to the embodiments of the present application are generated in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server, or data center over a wire (e.g. coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) to another website site, computer, server, or data center. The computer-readable storage medium can be any available medium that can be stored by a computer or a data storage device such as a server, a data center, etc. that includes one or more available media integrated. Useful media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.
最后需要说明的是:以上所述仅为本发明的较佳实施例,仅用于说明本发明的技术方案,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所做的任何修改、等同替换、改进等,均包含在本发明的保护范围内。Finally, it should be noted that the above descriptions are only preferred embodiments of the present invention, and are only used to illustrate the technical solutions of the present invention, but not to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (7)

  1. 一种路径跟踪控制方法,其特征在于,包括以下步骤:A path tracking control method, comprising the following steps:
    S1.建立移动机器人的运动学模型和状态空间方程;S1. Establish the kinematic model and state space equation of the mobile robot;
    S2.由系统状态变量和控制输入,计算矩阵系数;S2. Calculate matrix coefficients from system state variables and control inputs;
    S3.建立Cost-Function目标函数,获取在预测周期内使目标函数最小情况下的状态反馈控制器;S3. Establish a Cost-Function objective function, and obtain a state feedback controller that minimizes the objective function within the prediction period;
    S4.得到下一个预测周期内的最优控制输入并执行S3。S4. Obtain the optimal control input in the next prediction period and execute S3.
  2. 如权利要求1所述的路径跟踪控制方法,其特征在于,所述S1中,被控系统的状态方程为:The path tracking control method according to claim 1, wherein in the S1, the state equation of the controlled system is:
    Figure PCTCN2020131789-appb-100001
    Figure PCTCN2020131789-appb-100001
    u(t)=K(t)x(t)u(t)=K(t)x(t)
    其中x(t)表示机器人的实时位姿,可由坐标和角度表示为
    Figure PCTCN2020131789-appb-100002
    where x(t) represents the real-time pose of the robot, which can be represented by coordinates and angles as
    Figure PCTCN2020131789-appb-100002
    u(t)表示机器人的控制量,由舵轮的速度和角度表示
    Figure PCTCN2020131789-appb-100003
    u(t) represents the control amount of the robot, which is represented by the speed and angle of the steering wheel
    Figure PCTCN2020131789-appb-100003
    K(t)为状态反馈控制器;K(t) is the state feedback controller;
    则系统的控制状态方程表示为:Then the control state equation of the system is expressed as:
    Figure PCTCN2020131789-appb-100004
    Figure PCTCN2020131789-appb-100004
    输入量是
    Figure PCTCN2020131789-appb-100005
    观测值是
    Figure PCTCN2020131789-appb-100006
    The input volume is
    Figure PCTCN2020131789-appb-100005
    The observed value is
    Figure PCTCN2020131789-appb-100006
  3. 如权利要求2所述的路径跟踪控制方法,其特征在于,所述移动机器人舵轮速度v wheel、舵轮角度α wheel、运动中心至舵轮的距离L;车体角速度:w=V wheel*sin(α wheel)/L The path tracking control method according to claim 2, wherein, the steering wheel speed v wheel of the mobile robot, the steering wheel angle α wheel , the distance L from the motion center to the steering wheel; the vehicle body angular velocity: w=V wheel *sin(α wheel )/L
    车体运动中心速度:V car+w*L/tanθ=v wheel*cos(α wheel) Vehicle body motion center speed: V car +w*L/tanθ=v wheel *cos(α wheel )
    则:but:
    Figure PCTCN2020131789-appb-100007
    Figure PCTCN2020131789-appb-100007
    Figure PCTCN2020131789-appb-100008
    Figure PCTCN2020131789-appb-100008
    Figure PCTCN2020131789-appb-100009
    Figure PCTCN2020131789-appb-100009
    得到get
    Figure PCTCN2020131789-appb-100010
    Figure PCTCN2020131789-appb-100010
    对于非线性系统进行线性化;将
    Figure PCTCN2020131789-appb-100011
    分别对
    Figure PCTCN2020131789-appb-100012
    Figure PCTCN2020131789-appb-100013
    进行一阶泰勒展开得到矩阵系数A和B。
    Linearize nonlinear systems; put
    Figure PCTCN2020131789-appb-100011
    respectively
    Figure PCTCN2020131789-appb-100012
    and
    Figure PCTCN2020131789-appb-100013
    Perform a first-order Taylor expansion to get the matrix coefficients A and B.
  4. 如权利要求2所述的路径跟踪控制方法,其特征在于,所述S3具体包括:The path tracking control method according to claim 2, wherein the S3 specifically comprises:
    建立Cost-Function目标函数,寻找一个最优控制函数u(t),使得系统从给定的状态x 0出发转移到目标控制末态x tf时,使得系统指标最优; Establish a Cost-Function objective function and find an optimal control function u(t), so that when the system transitions from a given state x 0 to the target control final state x tf , the system index is optimal;
    Figure PCTCN2020131789-appb-100014
    Figure PCTCN2020131789-appb-100014
    其中Q(t)、R(t)分别为x(t)、u(t)的控制权重,Q(t)为半正定矩阵、R(t)为正定矩阵;Among them, Q(t) and R(t) are the control weights of x(t) and u(t) respectively, Q(t) is a semi-positive definite matrix, and R(t) is a positive definite matrix;
    计算得到:Calculated:
    Figure PCTCN2020131789-appb-100015
    Figure PCTCN2020131789-appb-100015
    根据黎卡提方法:According to the Riccati method:
    K(t)=R -1(t)B T(t)P(t) K(t)=R -1 (t)B T (t)P(t)
    A T(t)P(t)+P(t)A(t)+Q(t)-P(t)B(t)R -1(t)B T(t)P(t)=0 A T (t)P(t)+P(t)A(t)+Q(t)-P(t)B(t)R -1 (t)B T (t)P(t)=0
    计算使Cost-Function目标函数最小时的反馈矩阵K(t)。Compute the feedback matrix K(t) that minimizes the Cost-Function objective function.
  5. 路径跟踪控制系统,其特征在于,包括:A path tracking control system, characterized in that it includes:
    建立单元,用于建立移动机器人的运动学模型和状态空间方程;Establishment unit for establishing the kinematic model and state space equation of the mobile robot;
    计算单元,用于由系统状态变量和控制输入,计算矩阵系数;a calculation unit for calculating matrix coefficients from system state variables and control inputs;
    获取单元,用于建立Cost-Function目标函数,获取在预测周期内使目标函数最小情况下的状态反馈控制器;The acquisition unit is used to establish the Cost-Function objective function, and acquire the state feedback controller under the condition that the objective function is minimized in the prediction period;
    执行单元,用于得到下一个预测周期内的最优控制输入并启动所述获取单元。The execution unit is used for obtaining the optimal control input in the next prediction period and starting the obtaining unit.
  6. 路径跟踪控制装置,其特征在于,包括存储器和处理器;所述存储器,用于存储计算机程序;所述处理器,用于当执行所述计算机程序时,实现如权利要求1-4任一项所述的路径跟踪控制方法。A path tracking control device, characterized in that it includes a memory and a processor; the memory is used to store a computer program; the processor is used to implement any one of claims 1-4 when executing the computer program The described path tracking control method.
  7. 计算机可读存储介质,其特征在于,所述存储介质上存储有计算机程序,当所述计算机程序被处理器执行时,实现如权利要求1-4任一项所述的路径跟踪控制方法。A computer-readable storage medium, characterized in that a computer program is stored on the storage medium, and when the computer program is executed by a processor, the path tracking control method according to any one of claims 1-4 is implemented.
PCT/CN2020/131789 2020-07-02 2020-11-26 Path tracking control method and system, and computer readable storage medium WO2022000967A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010637988.8 2020-07-02
CN202010637988.8A CN113885317A (en) 2020-07-02 2020-07-02 Path tracking control method, system and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2022000967A1 true WO2022000967A1 (en) 2022-01-06

Family

ID=79013365

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131789 WO2022000967A1 (en) 2020-07-02 2020-11-26 Path tracking control method and system, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN113885317A (en)
WO (1) WO2022000967A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115077549A (en) * 2022-06-16 2022-09-20 南昌智能新能源汽车研究院 Vehicle state tracking method, system, computer and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160244077A1 (en) * 2015-02-23 2016-08-25 Mitsubishi Electric Research Laboratories, Inc. System and Method for Stopping Trains Using Simultaneous Parameter Estimation
CN108490780A (en) * 2018-03-21 2018-09-04 中南大学 A kind of quadrotor drone wide-angle complexity Attitude tracking control method of low-power consumption
CN108536171A (en) * 2018-03-21 2018-09-14 电子科技大学 The paths planning method of multiple no-manned plane collaboration tracking under a kind of multiple constraint
CN108919640A (en) * 2018-04-20 2018-11-30 西北工业大学 The implementation method of the adaptive multiple target tracking of unmanned plane
CN109491389A (en) * 2018-11-23 2019-03-19 河海大学常州校区 A kind of robot trace tracking method with constraint of velocity
CN110275549A (en) * 2019-06-11 2019-09-24 深圳大学 A kind of multiple agent autonomous type tracking, device and computer can storage mediums

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110348115B (en) * 2019-07-09 2023-11-28 顺丰科技有限公司 LQR control method and device for forklift, storage medium and controller
CN110286683B (en) * 2019-07-15 2020-07-24 北京科技大学 Autonomous driving path tracking control method of crawler-type mobile robot
CN110850895B (en) * 2019-08-05 2023-04-07 中国第一汽车股份有限公司 Path tracking method, device, equipment and storage medium
CN111273551B (en) * 2020-03-12 2021-03-16 山东大学 Double-steering wheel automatic guided vehicle trajectory tracking control method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160244077A1 (en) * 2015-02-23 2016-08-25 Mitsubishi Electric Research Laboratories, Inc. System and Method for Stopping Trains Using Simultaneous Parameter Estimation
CN108490780A (en) * 2018-03-21 2018-09-04 中南大学 A kind of quadrotor drone wide-angle complexity Attitude tracking control method of low-power consumption
CN108536171A (en) * 2018-03-21 2018-09-14 电子科技大学 The paths planning method of multiple no-manned plane collaboration tracking under a kind of multiple constraint
CN108919640A (en) * 2018-04-20 2018-11-30 西北工业大学 The implementation method of the adaptive multiple target tracking of unmanned plane
CN109491389A (en) * 2018-11-23 2019-03-19 河海大学常州校区 A kind of robot trace tracking method with constraint of velocity
CN110275549A (en) * 2019-06-11 2019-09-24 深圳大学 A kind of multiple agent autonomous type tracking, device and computer can storage mediums

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115077549A (en) * 2022-06-16 2022-09-20 南昌智能新能源汽车研究院 Vehicle state tracking method, system, computer and readable storage medium
CN115077549B (en) * 2022-06-16 2024-04-26 南昌智能新能源汽车研究院 Vehicle state tracking method, system, computer and readable storage medium

Also Published As

Publication number Publication date
CN113885317A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
Blažič On periodic control laws for mobile robots
CN108681243B (en) Robot trajectory tracking method
WO2022000967A1 (en) Path tracking control method and system, and computer readable storage medium
CN113128018B (en) Friction force calculation method and device, robot and readable storage medium
CN111965976B (en) Robot joint sliding mode control method and system based on neural network observer
CN112025697B (en) Integral model prediction control method of omnidirectional mobile robot
CN111553239A (en) Robot joint visual servo control method, terminal device and storage medium
WO2023207152A1 (en) Control method and apparatus for crane boom, and controller and crane
CN114274147B (en) Target tracking control method and device, mechanical arm control equipment and storage medium
CN115256395A (en) Model uncertain robot safety control method based on control barrier function
CN113428218B (en) Vehicle steering control method, device, equipment and storage medium
CN109857108B (en) Mobile robot track tracking method and system based on internal model control algorithm
CN107398903B (en) Track control method for industrial mechanical arm execution end
CN114179089A (en) Robust region tracking control method for mechanical arm
Ding et al. Straight-line tracking controller design of agricultural tractors based on third-order sliding mode
CN115981159A (en) Generalized improved active disturbance rejection control method based on model assistance and similar Smith estimation
CN114355976B (en) Method for controlling unmanned aerial vehicle to complete track tracking under wind disturbance based on learning
CN113459083B (en) Self-adaptive fixed time control method and system for mechanical arm under event trigger
JP2024516410A (en) Apparatus and method for building a reliable deep learning controller by imposing model constraints
CN112034869B (en) Design method and application of variable parameter neurodynamics controller of unmanned aerial vehicle
CN115167111A (en) Servo motor control method and system based on improved fractional order PID
Wang et al. Tracking moving target for 6 degree-of-freedom robot manipulator with adaptive visual servoing based on deep reinforcement learning PID controller
CN112346344A (en) Trajectory tracking control method for wheeled robot
CN113031590B (en) Mobile robot vision servo control method based on Lyapunov function
CN114035436B (en) Backstepping control method, storage medium and device based on saturation adaptive law

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20943635

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20943635

Country of ref document: EP

Kind code of ref document: A1