CN113359710B - LOS theory-based agricultural machinery path tracking method - Google Patents
LOS theory-based agricultural machinery path tracking method Download PDFInfo
- Publication number
- CN113359710B CN113359710B CN202110561035.2A CN202110561035A CN113359710B CN 113359710 B CN113359710 B CN 113359710B CN 202110561035 A CN202110561035 A CN 202110561035A CN 113359710 B CN113359710 B CN 113359710B
- Authority
- CN
- China
- Prior art keywords
- path
- agricultural machinery
- tracking
- angle
- los
- 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 30
- 230000008569 process Effects 0.000 claims abstract description 10
- 230000008859 change Effects 0.000 claims abstract description 4
- 230000004927 fusion Effects 0.000 claims description 3
- 238000012360 testing method Methods 0.000 claims description 3
- 230000000007 visual effect Effects 0.000 claims description 3
- 230000007246 mechanism Effects 0.000 claims description 2
- 229920000535 Tan II Polymers 0.000 claims 1
- 230000010354 integration Effects 0.000 claims 1
- 238000005516 engineering process Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000004519 manufacturing process Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000009313 farming Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0231—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
- G05D1/0246—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0212—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
- G05D1/0219—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory ensuring the processing of the whole working surface
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0276—Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Electromagnetism (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
- Guiding Agricultural Machines (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种基于LOS理论的农机路径跟踪方法,属于农机智能控制技术领域。The invention relates to an agricultural machinery path tracking method based on LOS theory, and belongs to the technical field of agricultural machinery intelligent control.
背景技术Background technique
我国是一个农业大国,农业是社会经济发展的基础和人民物质生活的保障,为了促进农业生产率的提高,实现农业现代化的发展,人们提出了精准农业这一概念,它主要是利用导航卫星定位技术、传感器技术和遥感控制等技术完成农用机械自主作业,自动化导航目的,有效地减少了农田耕作时间,提高了耕作效率,并且可以代替人力劳动实现自动驾驶,缓解了驾驶员的工作疲劳,降低生产事故发生率,提高了生产安全性。my country is a large agricultural country. Agriculture is the foundation of social and economic development and the guarantee of people's material life. In order to promote the improvement of agricultural productivity and realize the development of agricultural modernization, people put forward the concept of precision agriculture. It mainly uses navigation satellite positioning technology , sensor technology, remote sensing control and other technologies to complete the autonomous operation of agricultural machinery, the purpose of automatic navigation, effectively reducing the time of farmland cultivation, improving the efficiency of farming, and can replace human labor to achieve automatic driving, relieve the driver's work fatigue and reduce production. Accident rate, improve production safety.
其中农机路径跟踪方法作为农机自动化导航的关键技术,一直是农机智能控制技术领域的研究热点。现有的农机路径跟踪技术主要依赖农机上位机系统导航定位技术和下位机系统传感器精度、液压转向来控制,这样大大增加了系统设计的复杂性和控制模型的依赖性,提高了生产成本,降低了生产效益,并且农机作业环境适应性不强。所以如何在简化农机自动导航系统结构的前提下,优化出一套鲁棒性强,精确性高的路径跟踪控制器,是实现农业精准化、智能化的关键所在。Among them, the path tracking method of agricultural machinery, as the key technology of automatic navigation of agricultural machinery, has always been a research hotspot in the field of intelligent control technology of agricultural machinery. The existing agricultural machinery path tracking technology mainly relies on the navigation and positioning technology of the upper computer system of agricultural machinery, the sensor accuracy of the lower computer system, and hydraulic steering to control, which greatly increases the complexity of system design and the dependence of control models, increases production costs, and reduces The production efficiency is reduced, and the adaptability of the agricultural machinery operation environment is not strong. Therefore, on the premise of simplifying the structure of the automatic navigation system of agricultural machinery, how to optimize a set of path tracking controller with strong robustness and high accuracy is the key to realize the precision and intelligence of agriculture.
发明内容Contents of the invention
本发明提供一种基于LOS理论的农机路径跟踪控制方法,可以在系统模型参数不确定或作业环境扰动性大的情况下稳定有效地对无人农机进行路径跟踪控制,使得农机在原有硬件系统结构简化的基础上保证了非线性反馈控制器的稳定性和精确性。The invention provides a path tracking control method for agricultural machinery based on the LOS theory, which can stably and effectively perform path tracking control on unmanned agricultural machinery under the condition of uncertain system model parameters or large disturbances in the operating environment, so that the agricultural machinery can be controlled in the original hardware system structure. The simplified basis ensures the stability and accuracy of the nonlinear feedback controller.
为了解决以上技术问题,本发明采取以下技术方案:In order to solve the above technical problems, the present invention takes the following technical solutions:
一种基于LOS理论的农机路径跟踪方法,包括以下步骤:A method for tracking the path of agricultural machinery based on LOS theory, comprising the following steps:
S1,农机在已设定的直线路径上行驶时,由导航定位模块获取农机实时位置信息;S1, when the agricultural machinery is driving on the set straight path, the real-time location information of the agricultural machinery is obtained by the navigation and positioning module;
S2,将位置信息通过上位机系统解析的坐标、横向跟踪误差等参数传送到LOS算法器中得出当前行驶的航向角;S2, the position information is transmitted to the LOS algorithm through the coordinates analyzed by the upper computer system, the lateral tracking error and other parameters to obtain the current heading angle;
S3,前轮反馈控制器根据航向角和横向跟踪误差,输出系统期望的车轮转向角度,由此可以得出车轮的转向偏差角,重复以上步骤,实现路径跟踪控制。S3, the front wheel feedback controller outputs the wheel steering angle expected by the system according to the heading angle and lateral tracking error, and thus the steering deviation angle of the wheel can be obtained, and the above steps are repeated to realize path tracking control.
进一步,所述步骤S1具体包括:Further, the step S1 specifically includes:
S11,通过北斗RTK定位模块和视觉识别CDD模块设定农机工作田块边界,进而打点出若干条平行的直线轨迹。S11, set the boundary of the agricultural machinery working field through the Beidou RTK positioning module and the visual recognition CDD module, and then draw several parallel straight-line trajectories.
S12,北斗RTK导航模块实时输出农机的位置,轨迹点信息,同时与矩形田块的三个顶点坐标转化到高斯平面坐标系中,并将规划的路径以二维数组形式储存到导航系统中,实现导航路径规划。S12, the Beidou RTK navigation module outputs the position and track point information of the agricultural machinery in real time, and at the same time transforms the coordinates of the three vertices of the rectangular field into the Gaussian plane coordinate system, and stores the planned path in the navigation system in the form of a two-dimensional array. Realize navigation path planning.
进一步,所述步骤S11具体为:Further, the step S11 is specifically:
利用RTK-CCD定位视觉传感器融合系统,测定试验田三个坐标顶点确定一个矩形,假设为地头节点A、B、C、D定位坐标;以每条作业行距离最长为原则,结合地块实际几何形状,选取边界AD作为作业行规划的基准线,以其为基准划定若干条平行作业线,平行线距离依作业行间距而定,最后一条作业线与边界BC的最短距离不得小于1/2个作业间距,将所有Q条平行作业线与边界AB和CD的焦点,作为规划作业线节点,并将相应作业线节点存进二维数组中,供基于LOS算法器的导航控制软件调用。Use the RTK-CCD positioning vision sensor fusion system to measure the three coordinate vertices of the test field to determine a rectangle, which is assumed to be the positioning coordinates of the headland nodes A, B, C, and D; the principle of the longest distance between each operation line, combined with the actual geometry of the plot Shape, select the boundary AD as the baseline for the planning of the operation line, and draw several parallel operation lines based on it. The distance between the parallel lines depends on the distance between the operation lines. The shortest distance between the last operation line and the boundary BC should not be less than 1/2 A working distance, all Q parallel working lines and the focal points of boundaries AB and CD are used as planned working line nodes, and the corresponding working line nodes are stored in a two-dimensional array for calling by the navigation control software based on the LOS algorithm.
进一步,所述步骤S2具体包括:Further, the step S2 specifically includes:
S21:确定一条由两个路径点和定义的直线跟踪路径,并且路径坐标系的原点在农机在路径固定的坐标系内坐标为pn(t)=[x(t),y(t)],且满足公式: S21: Determine a path consisting of two path points and The defined line traces the path, and the origin of the path coordinate system is at The coordinates of the agricultural machinery in the fixed path coordinate system are p n (t)=[x(t),y(t)], and satisfy the formula:
式中:In the formula:
αk=atan2(yk+1-yk,xk+1-xk)∈S; α k =atan2(y k+1 -y k , x k+1 -x k )∈S;
αk为大地坐标系正北方与期望路径Pk和Pk+1的夹角,a为系数;α k is the angle between the true north of the geodetic coordinate system and the expected path P k and P k+1 , and a is the coefficient;
S22:令ε(t)=[s(t),e(t)]T∈R2,其中:S22: Let ε(t)=[s(t),e(t)] T ∈ R 2 , where:
s(t)=[x(t)-xk]cos(αk)+[y(t)-yk]sin(αk)s(t)=[x(t)-x k ]cos(α k )+[y(t)-y k ]sin(α k )
e(t)=-[x(t)-xk]sin(αk)+[y(t)-yk]cos(αk)e(t)=-[x(t)-x k ]sin(α k )+[y(t)-y k ]cos(α k )
s(t)为农机路径跟踪距离,e(t)为横向跟踪误差,在实际路径跟踪过程中,只需要关注农机本身行驶的横向偏差,因为当横向偏差e(t)=0时,意味着农机已经收敛于期望跟踪路径上,路径跟踪控制目标即为: s(t) is the path tracking distance of the agricultural machinery, and e(t) is the lateral tracking error. In the actual path tracking process, we only need to pay attention to the lateral deviation of the agricultural machine itself, because when the lateral deviation e(t)=0, it means The agricultural machinery has converged on the expected tracking path, and the path tracking control target is:
S23:设定LOS导航算法为: S23: Set the LOS navigation algorithm as:
式中: In the formula:
为速度—路径相关角,其中Δ为农机的前视距离,e为横向跟踪误差; is the speed-path correlation angle, where Δ is the look-ahead distance of the agricultural machinery, and e is the lateral tracking error;
若农机当行驶方向角为则航向角为:If the driving direction angle of the agricultural machinery is Then the heading angle is:
进一步,所述步骤S3具体包括:Further, the step S3 specifically includes:
S31:分别通过导航定位系统和位姿采集系统获取农机实时位置、车轮速度和转角等信息,结合农机结构参数和二自由度模型理论,进行运动学建模,具体为:S31: Obtain information such as the real-time position, wheel speed, and rotation angle of the agricultural machinery through the navigation and positioning system and the pose acquisition system, and carry out kinematic modeling in combination with the structural parameters of the agricultural machinery and the two-degree-of-freedom model theory, specifically:
将农机路径跟踪过程看作是在X-Y平面坐标系内的低速运动,则根据上下三角弦定理得:Considering the path tracking process of agricultural machinery as a low-speed movement in the X-Y plane coordinate system, according to the upper and lower triangular chord theorem:
其中δf、δr分别为前轮转角和后轮转角;lf、lr分别为前轴距和后轴距;β为农机行驶速度方向角;R为转弯半径;Where δ f , δ r are the front and rear wheel angles respectively; l f , l r are the front wheelbase and rear wheelbase respectively; β is the speed direction angle of the agricultural machinery; R is the turning radius;
两式化简并在两侧分别乘以得:Simplify the two equations and multiply both sides by have to:
农机在低速行驶工况条件下,车辆方向变化率为:Under the conditions of low-speed driving of agricultural machinery, the vehicle direction change rate is:
即 which is
由于农机不考虑后轮转向情况,即tan(δr)=0时整理得:Since the agricultural machinery does not consider the steering of the rear wheels, that is, when tan(δ r )=0, we can get:
其中为航向角,v为行驶速度,δ为前轮转角;in is the heading angle, v is the driving speed, and δ is the front wheel rotation angle;
在低速作业环境下,假设车轮转角方向与速度方向一致,即δ=β,则运动学模型为:In a low-speed operating environment, assuming that the direction of the wheel rotation angle is consistent with the direction of the speed, that is, δ=β, the kinematic model is:
S32:由农机转向特点可得前轮转角: S32: From the steering characteristics of agricultural machinery, the front wheel angle can be obtained:
其中为航向角,可由LOS算法器求出;δe(t)为转向偏差角;in is the heading angle, which can be obtained by the LOS algorithm; δ e (t) is the steering deviation angle;
在不考虑行驶跟踪偏差情况下,横向跟踪误差e(t)越大,前轮转向角越大,假设车辆预期轨迹在距离前轮延长线d(t)与给定路径上的最近切线相交,根据几何关系得出如下非线性比例函数:Without considering the driving tracking deviation, the larger the lateral tracking error e(t), the larger the front wheel steering angle, assuming that the expected trajectory of the vehicle intersects the nearest tangent line on the given path at a distance d(t) from the front wheel extension line, According to the geometric relationship, the following nonlinear proportional function is obtained:
其中d(t)与车速相关,用车速v(t)与增益参数k表示。Among them, d(t) is related to vehicle speed, expressed by vehicle speed v(t) and gain parameter k.
在不考虑横向跟踪误差情况下,前轮转向偏差角与期望路径切线方向一致,即在没有横向误差时,前轮方向与期望路径方向相同: Without considering the lateral tracking error, the steering deviation angle of the front wheels is consistent with the tangent direction of the expected path, that is, when there is no lateral error, the direction of the front wheels is the same as the expected path direction:
随着横向跟踪误差的增大,非线性比例函数产生一个直接指向期望路径的前轮偏角,且:As the lateral tracking error increases, the non-linear scaling function produces a slip angle that points directly to the desired path, and:
为使两个微分方程在零点误差交界处具有全局渐进稳定平衡性,综合两方面控制因素,非线性前轮反馈控制器设计如下:In order to make the two differential equations have a global asymptotically stable balance at the junction of the zero point error, the nonlinear front wheel feedback controller is designed as follows:
并且根据几何关系可得:And according to the geometric relationship:
所以 so
因此,e(t)收敛速度介于v(t)的线性收敛速度和增益参数k的指数收敛速度之间,当横向跟踪误差e(t)很小时,(ke(t)/v(t))2趋近于0,则Therefore, the convergence speed of e(t) is between the linear convergence speed of v(t) and the exponential convergence speed of the gain parameter k, when the lateral tracking error e(t) is small, (ke(t)/v(t) ) 2 tends to 0, then
积分可得: Points can be earned:
e(t)=e(0)*exp-kt e(t)=e(0)*exp -kt
对于任意横向误差,微分方程都单调收敛到0,实现了对路径跟踪控制目标。For any lateral error, the differential equation converges monotonously to 0, and the path tracking control goal is realized.
进一步,将导航控制器得出的车轮转向偏差信息传送到农机下位机系统中,由转向传感器和光电编码器的值来修正真正的偏差值,将其传送到控制机构液压系统,来控制液压系统的流量和流向,最终控制车轮的转向,达到车辆按照设定的路线行驶。Further, the wheel steering deviation information obtained by the navigation controller is transmitted to the lower computer system of agricultural machinery, the real deviation value is corrected by the value of the steering sensor and the photoelectric encoder, and it is transmitted to the hydraulic system of the control mechanism to control the hydraulic system The flow and direction of the flow, and finally control the steering of the wheels, so that the vehicle can travel according to the set route.
通过以上技术方案,与现有技术相比,本发明具有以下有益效果:Through the above technical solutions, compared with the prior art, the present invention has the following beneficial effects:
为了解决农机路径跟踪技术适应性差,系统设计复杂,控制不稳定问题,本发明公开了一种基于LOS理论的农机路径跟踪方法;利用LOS算法器获取农机路径跟踪的航向角,并且能够自动切换跟踪路径目标点,确保了当前控制器输入的横向跟踪误差等状态参数的更新,实现对转向的实时控制,能够更快稳定地收敛到期望跟踪路径;并且LOS算法不依赖系统参数模型,在外界扰动大的时候也能够输出精确的农机航向角,结合所设计的前轮反馈非线性控制器使得农机作业环境适应性增强,同时简化整体控制系统框架,鲁棒性高,适合农业机械使用。In order to solve the problems of poor adaptability, complex system design and unstable control of agricultural machinery path tracking technology, the invention discloses an agricultural machinery path tracking method based on LOS theory; the LOS algorithm is used to obtain the heading angle of agricultural machinery path tracking, and it can automatically switch tracking The path target point ensures the update of state parameters such as the lateral tracking error input by the current controller, realizes real-time control of steering, and can converge to the desired tracking path more quickly and stably; and the LOS algorithm does not depend on the system parameter model When it is large, it can also output accurate heading angle of agricultural machinery. Combined with the designed front wheel feedback nonlinear controller, the adaptability of agricultural machinery operation environment is enhanced, and the overall control system framework is simplified at the same time. It has high robustness and is suitable for agricultural machinery.
附图说明Description of drawings
图1为基于LOS理论的农机路径跟踪系统结构图;Figure 1 is a structural diagram of the path tracking system for agricultural machinery based on the LOS theory;
图2为LOS控制算法原理图;Figure 2 is a schematic diagram of the LOS control algorithm;
图3为农机运动学模型图;Fig. 3 is the agricultural machinery kinematics model diagram;
图4为两种系统控制方法的仿真对比图;(a)为期望跟踪和实际跟踪路径对比图;(b)为期望跟踪和基于LOS法跟踪路径对比图。Figure 4 is a simulation comparison diagram of two system control methods; (a) is a comparison diagram of expected tracking and actual tracking paths; (b) is a comparison diagram of expected tracking and tracking paths based on the LOS method.
具体实施方式Detailed ways
为了能进一步了解本发明的特征、技术手段以及所达到了具体目的、功能,下面结合附图和具体实施方式对本发明作进一步详细描述。In order to further understand the features, technical means, and specific objectives and functions achieved by the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
如图1所示的系统结构图,一种基于LOS理论的农机路径跟踪方法,包括以下步骤:As shown in the system structure diagram in Figure 1, a method for tracking the path of agricultural machinery based on LOS theory includes the following steps:
S1,农机在已设定的直线路径上行驶时,由导航定位模块获取农机实时位置信息;S1, when the agricultural machinery is driving on the set straight path, the real-time location information of the agricultural machinery is obtained by the navigation and positioning module;
S2,将位置信息通过上位机系统解析的坐标、横向跟踪误差等参数传送到LOS算法器中得出当前行驶的航向角;S2, the position information is transmitted to the LOS algorithm through the coordinates analyzed by the upper computer system, the lateral tracking error and other parameters to obtain the current heading angle;
S3,前轮反馈控制器根据航向角和横向跟踪误差,输出系统期望的车轮转向角度,由此可以得出车轮的转向偏差角,重复以上步骤,实现路径跟踪控制。S3, the front wheel feedback controller outputs the wheel steering angle expected by the system according to the heading angle and lateral tracking error, and thus the steering deviation angle of the wheel can be obtained, and the above steps are repeated to realize path tracking control.
所述步骤S1具体包括:The step S1 specifically includes:
S11,通过北斗RTK定位模块和视觉识别CDD模块设定农机工作田块边界,进而打点出若干条平行的直线轨迹。S11, set the boundary of the agricultural machinery working field through the Beidou RTK positioning module and the visual recognition CDD module, and then draw several parallel straight-line trajectories.
S12,北斗RTK导航模块实时输出农机的位置,轨迹点信息,同时与矩形田块的三个顶点坐标转化到高斯平面坐标系中,并将规划的路径以二维数组形式储存到导航系统中,实现导航路径规划。S12, the Beidou RTK navigation module outputs the position and track point information of the agricultural machinery in real time, and at the same time transforms the coordinates of the three vertices of the rectangular field into the Gaussian plane coordinate system, and stores the planned path in the navigation system in the form of a two-dimensional array. Realize navigation path planning.
所述步骤S11具体为:The step S11 is specifically:
利用RTK-CCD定位视觉传感器融合系统,测定试验田三个坐标顶点确定一个矩形,假设为地头节点A、B、C、D定位坐标;以每条作业行距离最长为原则,结合地块实际几何形状,选取边界AD作为作业行规划的基准线,以其为基准划定若干条平行作业线,平行线距离依作业行间距而定,最后一条作业线与边界BC的最短距离不得小于1/2个作业间距,将所有Q条平行作业线与边界AB和CD的焦点,作为规划作业线节点,并将相应作业线节点存进二维数组中,供基于LOS算法器的导航控制软件调用。Use the RTK-CCD positioning vision sensor fusion system to measure the three coordinate vertices of the test field to determine a rectangle, which is assumed to be the positioning coordinates of the headland nodes A, B, C, and D; the principle of the longest distance between each operation line, combined with the actual geometry of the plot Shape, select the boundary AD as the baseline for the planning of the operation line, and draw several parallel operation lines based on it. The distance between the parallel lines depends on the distance between the operation lines. The shortest distance between the last operation line and the boundary BC should not be less than 1/2 A working distance, all Q parallel working lines and the focal points of boundaries AB and CD are used as planned working line nodes, and the corresponding working line nodes are stored in a two-dimensional array for calling by the navigation control software based on the LOS algorithm.
如图2所示,基于LOS导航算法处理过程,步骤S2具体包括:As shown in Figure 2, based on the LOS navigation algorithm processing process, step S2 specifically includes:
S21:确定一条由两个路径点和定义的直线跟踪路径,并且路径坐标系的原点在农机在路径固定的坐标系内坐标为pn(t)=[x(t),y(t)],且满足公式: S21: Determine a path consisting of two path points and The defined line traces the path, and the origin of the path coordinate system is at The coordinates of the agricultural machinery in the fixed path coordinate system are p n (t)=[x(t),y(t)], and satisfy the formula:
式中:In the formula:
αk=atan2(yk+1-yk,xk+1-xk)∈S; α k =atan2(y k+1 -y k , x k+1 -x k )∈S;
αk为大地坐标系正北方与期望路径Pk和Pk+1的夹角。α k is the angle between the true north of the geodetic coordinate system and the expected path P k and P k+1 .
S22:令ε(t)=[s(t),e(t)]T∈R2,其中:S22: Let ε(t)=[s(t),e(t)] T ∈ R 2 , where:
s(t)=[x(t)-xk]cos(αk)+[y(t)-yk]sin(αk)s(t)=[x(t)-x k ]cos(α k )+[y(t)-y k ]sin(α k )
e(t)=-[x(t)-xk]sin(αk)+[y(t)-yk]cos(αk)e(t)=-[x(t)-x k ]sin(α k )+[y(t)-y k ]cos(α k )
s(t)为农机路径跟踪距离,e(t)为横向跟踪误差,在实际路径跟踪过程中,我们只需要关注农机本身行驶的横向偏差,因为当横向偏差e(t)=0时,意味着农机已经收敛于期望跟踪路径上,路径跟踪控制目标即为: s(t) is the path tracking distance of agricultural machinery, and e(t) is the lateral tracking error. In the actual path tracking process, we only need to pay attention to the lateral deviation of the agricultural machine itself, because when the lateral deviation e(t)=0, it means The agricultural machinery has converged on the expected tracking path, and the path tracking control target is:
S23:设定LOS导航算法为: S23: Set the LOS navigation algorithm as:
式中: In the formula:
为速度—路径相关角。其中Δ为农机的前视距离,e为横向跟踪误差; is the velocity-path relative angle. Where Δ is the forward-looking distance of the agricultural machinery, and e is the lateral tracking error;
若农机当行驶方向角为则航向角为:If the driving direction angle of the agricultural machinery is Then the heading angle is:
所述步骤S3具体包括:Described step S3 specifically comprises:
S31:如图3所示,分别通过导航定位系统和位姿采集系统获取农机实时位置、车轮速度和转角等信息,结合农机结构参数和二自由度模型理论,进行运动学建模,具体为:S31: As shown in Figure 3, obtain information such as the real-time position, wheel speed, and rotation angle of the agricultural machinery through the navigation and positioning system and the pose acquisition system, and carry out kinematic modeling in combination with the structural parameters of the agricultural machinery and the two-degree-of-freedom model theory, specifically:
将农机路径跟踪过程看作是在X-Y平面坐标系内的低速运动,则根据上下三角弦定理得:Considering the path tracking process of agricultural machinery as a low-speed movement in the X-Y plane coordinate system, according to the upper and lower triangular chord theorem:
其中δf、δr分别为前轮转角和后轮转角;lf、lr分别为前轴距和后轴距;Among them, δ f and δ r are the front and rear wheel rotation angles respectively; l f and l r are the front wheelbase and rear wheelbase respectively;
β为农机行驶速度方向角;R为转弯半径;β is the direction angle of the agricultural machinery driving speed; R is the turning radius;
两式化简并在两侧分别乘以得:Simplify the two equations and multiply both sides by have to:
农机在低速行驶工况条件下,车辆方向变化率为:Under the conditions of low-speed driving of agricultural machinery, the vehicle direction change rate is:
即 which is
由于农机不考虑后轮转向情况,即tan(δr)=0时整理得:Since the agricultural machinery does not consider the steering of the rear wheels, that is, when tan(δ r )=0, we can get:
其中为航向角,v为行驶速度,δ为前轮转角。in is the heading angle, v is the driving speed, and δ is the front wheel rotation angle.
在低速作业环境下,假设车轮转角方向与速度方向一致,即δ=β,则运动学模型为:In a low-speed operating environment, assuming that the direction of the wheel rotation angle is consistent with the direction of the speed, that is, δ=β, the kinematic model is:
S32:由农机转向特点可得前轮转角: S32: From the steering characteristics of agricultural machinery, the front wheel angle can be obtained:
其中为航向角,可由LOS算法器求出;δe(t)为转向偏差角。in is the heading angle, which can be obtained by the LOS algorithm; δ e (t) is the steering deviation angle.
在不考虑行驶跟踪偏差情况下,横向跟踪误差e(t)越大,前轮转向角越大,假设车辆预期轨迹在距离前轮延长线d(t)与给定路径上的最近切线相交,根据几何关系得出如下非线性比例函数:Without considering the driving tracking deviation, the larger the lateral tracking error e(t), the larger the front wheel steering angle, assuming that the expected trajectory of the vehicle intersects the nearest tangent line on the given path at a distance d(t) from the front wheel extension line, According to the geometric relationship, the following nonlinear proportional function is obtained:
其中d(t)与车速相关,用车速v(t)与增益参数k表示。Among them, d(t) is related to vehicle speed, expressed by vehicle speed v(t) and gain parameter k.
在不考虑横向跟踪误差情况下,前轮转向偏差角与期望路径切线方向一致,即在没有横向误差时,前轮方向与期望路径方向相同: Without considering the lateral tracking error, the steering deviation angle of the front wheels is consistent with the tangent direction of the expected path, that is, when there is no lateral error, the direction of the front wheels is the same as the expected path direction:
随着横向跟踪误差的增大,非线性比例函数产生一个直接指向期望路径的前轮偏角,且:As the lateral tracking error increases, the non-linear scaling function produces a slip angle that points directly to the desired path, and:
为使两个微分方程在零点误差交界处具有全局渐进稳定平衡性,综合两方面控制因素,非线性前轮反馈控制器设计如下:In order to make the two differential equations have a global asymptotically stable balance at the junction of the zero point error, the nonlinear front wheel feedback controller is designed as follows:
并且根据几何关系可得:And according to the geometric relationship:
所以 so
因此,e(t)收敛速度介于v(t)的线性收敛速度和增益参数k的指数收敛速度之间,当横向跟踪误差e(t)很小时,(ke(t)/v(t))2趋近于0,则Therefore, the convergence speed of e(t) is between the linear convergence speed of v(t) and the exponential convergence speed of the gain parameter k, when the lateral tracking error e(t) is small, (ke(t)/v(t) ) 2 tends to 0, then
积分可得: Points can be earned:
e(t)=e(0)*exp-kt e(t)=e(0)*exp -kt
对于任意横向误差,微分方程都单调收敛到0,实现了对路径跟踪控制目标。For any lateral error, the differential equation converges monotonously to 0, and the path tracking control goal is realized.
通过农机上位机和下位机等附属设备如GPS、位姿传感器和角度传感器等,将采集的位置、角度等信息,并将信息在控制器与液压转向传动系统之间反馈过程部分不再赘述。Through the agricultural machinery upper computer and lower computer and other auxiliary equipment such as GPS, position and attitude sensors and angle sensors, the information such as position and angle will be collected, and the information will be fed back between the controller and the hydraulic steering transmission system.
如图4所示,通过路径跟踪控制的仿真对比,可以得出结论:本发明的基于LOS理论的农机路径跟踪控制方法,能够使控制目标更加快速、稳定地收敛到期望路径,并且在路径跟踪过程中转角变化次数较少,过程更加平缓,有着良好的控制效果。As shown in Figure 4, through the simulation comparison of path tracking control, it can be concluded that the agricultural machinery path tracking control method based on the LOS theory of the present invention can make the control target more quickly and stably converge to the desired path, and the path tracking During the process, the number of corner changes is less, the process is more gentle, and has a good control effect.
以上所述仅为本发明的优选实施例而已,并不用以限制本发明,任何内容的修改替换和改进,只要不脱离本发明的原理规则,均在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, replacements and improvements, as long as they do not deviate from the principles and rules of the present invention, are within the protection scope of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110561035.2A CN113359710B (en) | 2021-05-21 | 2021-05-21 | LOS theory-based agricultural machinery path tracking method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110561035.2A CN113359710B (en) | 2021-05-21 | 2021-05-21 | LOS theory-based agricultural machinery path tracking method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113359710A CN113359710A (en) | 2021-09-07 |
CN113359710B true CN113359710B (en) | 2022-11-18 |
Family
ID=77526715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110561035.2A Active CN113359710B (en) | 2021-05-21 | 2021-05-21 | LOS theory-based agricultural machinery path tracking method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113359710B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113635892B (en) * | 2021-10-18 | 2022-02-18 | 禾多科技(北京)有限公司 | Vehicle control method, apparatus, electronic device, and computer-readable medium |
CN114047748B (en) * | 2021-10-19 | 2024-05-14 | 江苏大学 | Adaptive feedforward model predictive control method and system for automatic driving of agricultural machinery |
CN114128695B (en) * | 2021-11-11 | 2023-05-05 | 江苏大学 | Crawler-type autonomous accurate variable air-assisted spraying robot structure and path planning and variable spraying method thereof |
CN114115274B (en) * | 2021-11-25 | 2024-12-13 | 江苏大学 | A path-following output feedback control strategy for agricultural wheeled tractors |
CN114162127B (en) * | 2021-12-28 | 2023-06-27 | 华南农业大学 | Paddy field unmanned agricultural machinery path tracking control method based on machine pose estimation |
CN114312988B (en) * | 2022-01-20 | 2023-10-20 | 东南大学 | Track control method based on yaw angle and steering system corner conversion model |
CN114812536A (en) * | 2022-02-17 | 2022-07-29 | 东南大学 | A vision-based design method for precise positioning and operation between rows of agricultural machinery in smart orchards |
CN114815806A (en) * | 2022-03-11 | 2022-07-29 | 山东科技大学 | Motion control method based on AGV control system |
CN114721387B (en) * | 2022-04-08 | 2024-11-01 | 中国铁建重工集团股份有限公司 | Automatic navigation method, system, equipment and medium for agricultural machinery |
CN115903845A (en) * | 2022-12-23 | 2023-04-04 | 东风悦享科技有限公司 | Deviation fault-tolerant path tracking control method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5062583A (en) * | 1990-02-16 | 1991-11-05 | Martin Marietta Corporation | High accuracy bank-to-turn autopilot |
CN105629973A (en) * | 2015-12-18 | 2016-06-01 | 广州中海达卫星导航技术股份有限公司 | RTK technology-based agricultural machinery straight driving method and RTK technology-based agricultural machinery straight driving device |
CN106950955A (en) * | 2017-03-17 | 2017-07-14 | 武汉理工大学 | Based on the ship's track-keepping control method for improving LOS bootstrap algorithms |
CN110673598A (en) * | 2019-09-29 | 2020-01-10 | 哈尔滨工程大学 | A kind of intelligent path tracking control method for surface unmanned boat |
CN111506086A (en) * | 2020-05-22 | 2020-08-07 | 中国石油大学(华东) | An improved LOS guidance law combined with fuzzy PID path tracking control method for unmanned ship |
CN112414404A (en) * | 2019-08-20 | 2021-02-26 | 中国科学院沈阳自动化研究所 | Automatic navigation modeling and control method of agricultural machinery based on steering-by-wire |
CN112612268A (en) * | 2020-12-10 | 2021-04-06 | 武汉轻工大学 | Path tracking control method, device, equipment and storage medium |
-
2021
- 2021-05-21 CN CN202110561035.2A patent/CN113359710B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5062583A (en) * | 1990-02-16 | 1991-11-05 | Martin Marietta Corporation | High accuracy bank-to-turn autopilot |
CN105629973A (en) * | 2015-12-18 | 2016-06-01 | 广州中海达卫星导航技术股份有限公司 | RTK technology-based agricultural machinery straight driving method and RTK technology-based agricultural machinery straight driving device |
CN106950955A (en) * | 2017-03-17 | 2017-07-14 | 武汉理工大学 | Based on the ship's track-keepping control method for improving LOS bootstrap algorithms |
CN112414404A (en) * | 2019-08-20 | 2021-02-26 | 中国科学院沈阳自动化研究所 | Automatic navigation modeling and control method of agricultural machinery based on steering-by-wire |
CN110673598A (en) * | 2019-09-29 | 2020-01-10 | 哈尔滨工程大学 | A kind of intelligent path tracking control method for surface unmanned boat |
CN111506086A (en) * | 2020-05-22 | 2020-08-07 | 中国石油大学(华东) | An improved LOS guidance law combined with fuzzy PID path tracking control method for unmanned ship |
CN112612268A (en) * | 2020-12-10 | 2021-04-06 | 武汉轻工大学 | Path tracking control method, device, equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
田勇 等.无人水面艇直线航迹跟踪控制器的设计与验证.《大连海事大学学报》.2015,第41卷(第4期),第14页-第18页. * |
Also Published As
Publication number | Publication date |
---|---|
CN113359710A (en) | 2021-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113359710B (en) | LOS theory-based agricultural machinery path tracking method | |
Yang et al. | An optimal goal point determination algorithm for automatic navigation of agricultural machinery: Improving the tracking accuracy of the Pure Pursuit algorithm | |
Morales et al. | Pure-pursuit reactive path tracking for nonholonomic mobile robots with a 2D laser scanner | |
CN106909151A (en) | For the unpiloted path planning of agricultural machinery and its control method | |
CN106909144A (en) | For the unpiloted field obstacle-avoiding route planning of agricultural machinery and its control method | |
CN111610523B (en) | A parameter correction method for wheeled mobile robots | |
CN104834309A (en) | Single mobile robot optimal itineration control method based on target tracking control strategy | |
WO2016172729A1 (en) | System, apparatus, and method for controlling a vehicle | |
CN108469823A (en) | A kind of Mobile Robot Formation's follower method based on homography | |
Zhao et al. | An obstacle avoidance path planner for an autonomous tractor using the minimum snap algorithm | |
Hu et al. | Path tracking control for brake-steering tracked vehicles based on an improved pure pursuit algorithm | |
CN116839570A (en) | Crop interline operation navigation method based on sensor fusion target detection | |
Shamshiri et al. | A modular sensing system with CANBUS communication for assisted navigation of an agricultural mobile robot | |
Li et al. | Research on robot path planning based on point cloud map in orchard environment | |
Guo et al. | Path planning of greenhouse electric crawler tractor based on the improved A* and DWA algorithms | |
CN113485354B (en) | Heterogeneous multi-robot positioning and controlling method based on orchard map | |
TWI770966B (en) | Guidance control method of unmanned self-propelled vehicle | |
Zhenyu et al. | Research on an orchard row centreline multipoint autonomous navigation method based on LiDAR | |
Li et al. | Development of the automatic navigation system for combine harvester based on GNSS | |
CN117470241A (en) | An adaptive mapless navigation method and system for uneven terrain | |
Barbosa et al. | Vision-based autonomous crop row navigation for wheeled mobile robots using super-twisting sliding mode control | |
Takigawa et al. | Trajectory control and its application to approach a target: Part I. Development of trajectory control algorithms for an autonomous vehicle | |
Rapoport et al. | Navigation and control problems in precision farming | |
Bao et al. | Research on trajectory planning and control system of general mobile platform for Mountain Orchard | |
Avanzini et al. | A control strategy taking advantage of inter-vehicle communication for platooning navigation in urban environment |
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 |