CN110275529B - 基于中位角自适应调节的收获机智能辅助驾驶方法 - Google Patents
基于中位角自适应调节的收获机智能辅助驾驶方法 Download PDFInfo
- Publication number
- CN110275529B CN110275529B CN201910500926.XA CN201910500926A CN110275529B CN 110275529 B CN110275529 B CN 110275529B CN 201910500926 A CN201910500926 A CN 201910500926A CN 110275529 B CN110275529 B CN 110275529B
- Authority
- CN
- China
- Prior art keywords
- harvester
- angle
- neutral angle
- theta
- neutral
- 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
- 230000007935 neutral effect Effects 0.000 title claims abstract description 67
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000012937 correction Methods 0.000 claims abstract description 19
- 239000002245 particle Substances 0.000 claims description 49
- 238000004364 calculation method Methods 0.000 claims description 7
- 230000003044 adaptive effect Effects 0.000 claims description 5
- 238000013178 mathematical model Methods 0.000 claims description 3
- 238000012935 Averaging Methods 0.000 claims description 2
- 238000009434 installation Methods 0.000 abstract description 3
- 230000000694 effects Effects 0.000 description 4
- 238000005520 cutting process Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000005299 abrasion Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 238000012271 agricultural production Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003306 harvesting Methods 0.000 description 1
- 230000002401 inhibitory effect Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000001105 regulatory effect Effects 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/0212—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
- G05D1/0221—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving a learning process
-
- 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/0223—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving speed control of the vehicle
-
- 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)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Guiding Agricultural Machines (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
- Steering Control In Accordance With Driving Conditions (AREA)
Abstract
本发明公开了一种基于中位角自适应调节的收获机智能辅助驾驶方法,包括如下步骤:1、在当前k时刻,根据前kmax个时刻收获机的位置计算收获机与期望路径的距离偏差的平均值2、判断中位角θ是否有偏差,如果保持中位角不变;如果计算中位角θ的修正值θcorrect,并对中位角进行修正;3、计算当前k时刻收获机的期望转角δ(k)、车轮目标转角α(k)=θ+δ(k);利用角度跟踪控制算法,调整车辆转向轮,跟踪车轮目标转角α(k);4、循环执行步骤1‑3,在每一时刻判断收获机中位角是否有偏差,计算车轮目标转角,并调整转向轮跟踪车轮目标转角。该方法能够提高提高中位角标定精度、补偿航向传感器安装误差,从而提高了收获机的操作便捷性。
Description
技术领域
本发明涉及收获机路径跟踪领域,具体是基于中位角自适应调节的收获机智能辅助驾驶方法。
背景技术
收获机的辅助驾驶技术作为农业自动驾驶技术的重要组成部分,有助于推进农业机械化、智能化,对于农业生产精细化、规模化、智能化研究有着重要意义。高精度的收获机辅助驾驶系统是开展精准农业实践的前提与技术保障,具有如下意义:提高收获机作业效率,使收获过程不受昼夜及能见度低的恶劣天气的影响;降低驾驶员劳动强度及驾驶技术要求,可使驾驶员集中精力调节割台、拨禾轮、割刀等其余设备的协调运转;有效改善重复作业和遗漏作业的问题。
中位角是指收获机沿直线行驶时的车轮实际转角,该角度需与收获机的航向采集系统相匹配,否则将造成恒偏误差,使收获机的实际跟踪路线始终位于目标路径的一侧,造成漏割或重割情况,降低作业效率。目前该角度多为人工设定,通过驾驶员人为驾驶收获机以直线方向行驶,将该时间段内的实际转角的平均值作为中位角的实际值。随着系统的使用,由于车辆机械结构的磨损及地面不平整度的影响,需对中位角再次进行人工标定,极大的限制了系统的智能性和便捷性。为提高中位角的标定精度,需延长行驶距离,但受限于农田不平整的地形和弯曲的行驶道路,降低标定精度,影响辅助驾驶的跟踪性能。此方法无法标定航向传感器的安装误差,影响系统性能。
开展对中位角标定自适应算法的研究,对智能车辅助驾驶技术的发展,实现智能农业、精准农业的战略目标具有重要意义。
发明内容
发明目的:本发明旨在提供一种自适应调整中位角的收获机辅助驾驶方法,该方法能够提高提高中位角标定精度、补偿航向传感器安装误差,从而提高了收获机的操作便捷性。
技术方案:本发明采用如下技术方案:
基于中位角自适应调节的收获机智能辅助驾驶方法,包括如下步骤:
(1)在当前k时刻,根据k-kmax,k-kmax+1,…,k-1时刻收获机的位置和航向角,计算收获机与期望路径的距离偏差de(k-i)的平均值 mean(·)为求均值运算;i=1,2,…,kmax;
(2)判断中位角θ是否有偏差:如果中位角无偏差,保持中位角不变;如果计算中位角θ的修正值θcorrect,并对中位角进行修正:θ=θold+θcorrect;其中为距离偏差阈值,θold为修正前的中位角;
(3)计算当前k时刻收获机的期望转角δ(k)、车轮目标转角α(k)=θ+δ(k);
利用角度跟踪控制算法,调整车辆转向轮,跟踪车轮目标转角α(k);
(4)循环执行步骤1-3,在每一时刻判断收获机中位角是否有偏差,计算车轮目标转角,并调整转向轮跟踪车轮目标转角。
k-i时刻收获机与期望路径的距离偏差de(k-i)的计算为:
k-i时刻利用卫星导航系统获取收获机的位置(xh(k-i),yh(k-i));
所述步骤(2)中,计算中位角的修正值包括如下步骤:
(2.2)计算中位角增量θcorrect_inc:
θcorrect_inc=kp×(derror-dnext)+ki×derror+kd×(derror-2×dnext+dlast)
其中kp为比例系数,ki为积分系数,kd为微分系数;
(2.3)更新dlast和dnext:dlast=dnext,dnext=derror;
(2.4)中位角的修正值θcorrect为:θcorrect=θcorrect′+θcorrect_inc,其中θcorrect′为上一次对中位角进行修正时计算的中位角修正值。
步骤(2.2)中系数kp、ki、kd的确定包括如下步骤:
(2.2.1)定义m个粒子组成粒子集X={xj|j=1..m},随机初始化每个粒子的位置和速度,将待确定的系数kp、ki、kd作为粒子的位置,记第j个粒子的位置为posj=(kpj,kij,kdj),速度为Vj=(Vpj,Vij,Vdj);
其中de(z|(kp′,ki′,kd′))为比例系数、积分系数和微分系数分别为kp′,ki′,kd′的条件下,在z时刻收获机与期望路径的距离偏差,zmax为适应度统计时宽;
(2.2.3)按如下更新方程更新粒子集X中粒子xj的位置和速度:
迭代次数l加一;
(2.2.4)重复步骤(2.2.3),直到迭代次数l达到预设的阈值Lth,或gbest的适应度小于预设的阈值Fth,结束迭代;此时gbest的值(kpbest,kibest,kdbest)为步骤2.2中比例系数kp、积分系数ki、微分系数kd的最优值。
步骤(3)中计算k时刻收获机的期望转角δ(k)的计算式为:
步骤(3)中采用PID角度跟踪控制算法,通过实时调整收获机转向比例阀的输入信号,实现控制收获机转向轮跟踪车轮目标转角α(k)。
有益效果:与现有技术相比,本发明公开的收获机智能辅助驾驶方法具有以下优点:1、根据收获机与期望路径的距离偏差自适应地对中位角进行标定,无需人工操作,不受田间地形和机械磨损的影响,提高了中位角标定的便捷性和标定精度;2、利用粒子群算法对中位角增量计算式中的参数进行优化,消除了人为干预,通过设计合理的适应度函数,可快速准确的确定比例系数、积分系数和微分系数,提高中位角标定的快速性、准确性;
附图说明
图1为本发明公开的收获机智能辅助驾驶方法的流程图;
图2为实施例中本发明公开的方法与其他调节方法的效果对比图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明的具体实施案例做说明。
如图1所示,本发明公开了一种基于中位角自适应调节的收获机智能辅助驾驶方法,包括如下步骤:
步骤1、在当前k时刻,根据k-kmax,k-kmax+1,…,k-1时刻收获机的位置和航向角,计算收获机与期望路径的距离偏差de(k-i)的平均值 mean(i)为求均值运算;i=1,2,…,kmax;
本实施例中,利用卫星导航系统GNSS获取收获机的位置和航向角信息,k-i时刻收获机与期望路径的距离偏差de(k-i)的计算为:
k-i时刻利用卫星导航系统获取收获机的位置(xh(k-i),yh(k-i))和航向角;
步骤2、判断中位角θ是否有偏差:如果中位角无偏差,保持中位角不变;如果计算中位角θ的修正值θcorrect,并对中位角进行修正:θ=θold+θcorrect;其中为距离偏差阈值,θold为修正前的中位角;
本发明采用增量式PID控制算法来计算中位角的修正值θcorrect,包括如下步骤:
(2.2)计算中位角增量θcorrect_inc:
θcorrect_inc=kp×(derror-dnext)+ki×derror+kd×(derror-2×dnext+dlast)
其中kp为比例系数,ki为积分系数,kd为微分系数;
(2.3)更新dlast和dnext:dlast=dnext,dnext=derror;
(2.4)中位角的修正值θcorrect为:θcorrect=θcorrect′+θcorrect_inc,其中θcorrect′为上一次对中位角进行修正时计算的中位角修正值。
步骤3、计算当前k时刻收获机的期望转角δ(k)、车轮目标转角α(k)=θ+δ(k);
计算k时刻收获机的期望转角δ(k)的计算式为:
利用角度跟踪控制算法,通过实时调整收获机转向比例阀的输入信号,调整车辆转向轮,跟踪车轮目标转角α(k);
步骤4、循环执行步骤1-3,在每一时刻判断收获机中位角是否有偏差,计算车轮目标转角,并调整转向轮跟踪车轮目标转角。
本发明中,步骤(2.2)中的系数kp、ki、kd采用离线确定,包括如下步骤:
(2.2.1)定义m个粒子组成粒子集X={xj|j=1..m},随机初始化每个粒子的位置和速度,将待确定的系数kp、ki、kd作为粒子的位置,记第j个粒子的位置为posj=(kpj,kij,kdj),速度为Vj=(Vpj,Vij,Vdj);
其中de(z|(kp′,ki′,kd′))为比例系数、积分系数和微分系数分别为kp′,ki′,kd′的条件下,在z时刻收获机与期望路径的距离偏差,zmax为适应度统计时宽。即固定比例系数、积分系数和微分系数不变,循环执行步骤1-3,获取zmax个时刻的收获机与期望路径的距离偏差,求和得到适应度。
(2.2.3)按如下更新方程更新粒子集X中粒子xj的位置和速度:
迭代次数l加一;
(2.2.4)重复步骤(2.2.3),直到迭代次数l达到预设的阈值Lth,或gbest的适应度小于预设的阈值Fth,结束迭代;此时gbest的值(kpbest,kibest,kdbest)为步骤2.2中比例系数kp、积分系数ki、微分系数kd的最优值。
为验证本发明公开的收获机辅助驾驶方法的效果,在中位角转向偏差为1度,航向偏差为0.1度的情况下,与未进行中位角标定的辅助驾驶系统、人工消除中位角误差的辅助驾驶系统、人工设定PID参数的辅助驾驶系统进行对比,误差如图2所示,图中“+”为未进行中位角标定的辅助驾驶系统的误差曲线,“□”为人工消除中位角误差的辅助驾驶系统的误差曲线,“—”为采用本发明公开的收获机辅助驾驶方法的误差曲线,具体的对比效果如下:
未进行中位角标定的辅助驾驶系统的最大误差为5.62cm,收敛后恒偏误差为-4.71cm;人工消除中位角误差的辅助驾驶系统的最大误差为1.79cm,收敛后恒偏误差为-0.7726cm;本发明提出的方法最大误差为5.67cm,收敛后恒偏误差为3.3×10-3cm。
未进行中位角标定且包含航向偏差的辅助驾驶系统具有恒偏误差,严重影响收获机作业精度和作业效率。
仅对中位角标定的辅助驾驶系统由于航向偏差的存在,仍存在较小的恒偏误差,影响作业效率,但人工标定航向偏差需高精度仪器设备对整车进行标定,浪费人力物力。
本发明提出的基于中位角自适应调节的收获机辅助驾驶方法通过粒子群算法对PID参数进行自整定,并实时调节中位角参数,收敛速度最快且对横向偏差抑制效果最好。
Claims (5)
1.基于中位角自适应调节的收获机智能辅助驾驶方法,其特征在于,包括如下步骤:
(1)在当前k时刻,根据k-kmax,k-kmax+1,…,k-1时刻收获机的位置和航向角,计算收获机与期望路径的距离偏差de(k-i)的平均值 mean(·)为求均值运算;i=1,2,…,kmax;
(2)判断中位角θ是否有偏差:如果中位角无偏差,保持中位角不变;如果计算中位角θ的修正值θcorrect,并对中位角进行修正:θ=θold+θcorrect;其中为距离偏差阈值,θold为修正前的中位角;
(3)计算当前k时刻收获机的期望转角δ(k)、车轮目标转角α(k)=θ+δ(k);
利用角度跟踪控制算法,调整车辆转向轮,跟踪车轮目标转角α(k);
(4)循环执行步骤1-3,在每一时刻判断收获机中位角是否有偏差,计算车轮目标转角,并调整转向轮跟踪车轮目标转角;
所述步骤(2)中,计算中位角的修正值包括如下步骤:
(2.2)计算中位角增量θcorrect_inc:
θcorrect_inc=kp×(derror-dnext)+ki×derror+kd×(derror-2×dnext+dlast)
其中kp为比例系数,ki为积分系数,kd为微分系数;
(2.3)更新dlast和dnext:dlast=dnext,dnext=derror;
(2.4)中位角的修正值θcorrect为:θcorrect=θcorrect′+θcorrect_inc,其中θcorrect′为上一次对中位角进行修正时计算的中位角修正值。
3.根据权利要求1所述的基于中位角自适应调节的收获机智能辅助驾驶方法,其特征在于,步骤(2.2)中系数kp、ki、kd的确定包括如下步骤:
(2.2.1)定义m个粒子组成粒子集X={xj|j=1..m},随机初始化每个粒子的位置和速度,将待确定的系数kp、ki、kd作为粒子的位置,记第j个粒子的位置为posj=(kpj,kij,kdj),速度为Vj=(Vpj,Vij,Vdj);
其中de(z|(kp′,ki′,kd′))为比例系数、积分系数和微分系数分别为kp′,ki′,kd′的条件下,在z时刻收获机与期望路径的距离偏差,zmax为适应度统计时宽;
(2.2.3)按如下更新方程更新粒子集X中粒子xj的位置和速度:
迭代次数l加一;
(2.2.4)重复步骤(2.2.3),直到迭代次数l达到预设的阈值Lth,或gbest的适应度小于预设的阈值Fth,结束迭代;此时gbest的值(kpbest,kibest,kdbest)为步骤2.2中比例系数kp、积分系数ki、微分系数kd的最优值。
5.根据权利要求1所述的基于中位角自适应调节的收获机智能辅助驾驶方法,其特征在于,步骤(3)中采用PID角度跟踪控制算法,通过实时调整收获机转向比例阀的输入信号,实现控制收获机转向轮跟踪车轮目标转角α(k)。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910500926.XA CN110275529B (zh) | 2019-06-11 | 2019-06-11 | 基于中位角自适应调节的收获机智能辅助驾驶方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910500926.XA CN110275529B (zh) | 2019-06-11 | 2019-06-11 | 基于中位角自适应调节的收获机智能辅助驾驶方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110275529A CN110275529A (zh) | 2019-09-24 |
CN110275529B true CN110275529B (zh) | 2021-06-11 |
Family
ID=67960653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910500926.XA Active CN110275529B (zh) | 2019-06-11 | 2019-06-11 | 基于中位角自适应调节的收获机智能辅助驾驶方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110275529B (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110809995B (zh) * | 2019-10-09 | 2021-09-10 | 江苏大学 | 一种履带式联合收获机满割幅控制方法和系统 |
CN110641462B (zh) * | 2019-10-30 | 2020-11-17 | 山东理工大学 | 一种农业机械自动转向方法 |
CN112026909B (zh) * | 2020-08-12 | 2022-06-03 | 武汉路特斯汽车有限公司 | 一种用于四轮转向车辆的中位学习方法、装置及系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105005196A (zh) * | 2015-05-14 | 2015-10-28 | 南京农业大学 | 农用车辆自主导航转向控制方法 |
US9567004B1 (en) * | 2015-12-29 | 2017-02-14 | Automotive Research & Testing Center | Method and apparatus for vehicle path tracking with error correction |
CN108490943A (zh) * | 2018-04-04 | 2018-09-04 | 上海华测导航技术股份有限公司 | 一种农业机械自适应曲线自动驾驶控制方法 |
CN108646747A (zh) * | 2018-06-05 | 2018-10-12 | 上海交通大学 | 农用车辆路径跟踪控制方法 |
-
2019
- 2019-06-11 CN CN201910500926.XA patent/CN110275529B/zh active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105005196A (zh) * | 2015-05-14 | 2015-10-28 | 南京农业大学 | 农用车辆自主导航转向控制方法 |
US9567004B1 (en) * | 2015-12-29 | 2017-02-14 | Automotive Research & Testing Center | Method and apparatus for vehicle path tracking with error correction |
CN108490943A (zh) * | 2018-04-04 | 2018-09-04 | 上海华测导航技术股份有限公司 | 一种农业机械自适应曲线自动驾驶控制方法 |
CN108646747A (zh) * | 2018-06-05 | 2018-10-12 | 上海交通大学 | 农用车辆路径跟踪控制方法 |
Non-Patent Citations (1)
Title |
---|
"农机导航自校正模型控制方法研究";白晓平 等;《农业机械学报》;20150228(第2期);第1-7页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110275529A (zh) | 2019-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110275529B (zh) | 基于中位角自适应调节的收获机智能辅助驾驶方法 | |
CN111638712B (zh) | 自动驾驶车辆横向运动控制方法、装置和自动驾驶车辆 | |
US10795369B2 (en) | System and method for controlling a vehicle | |
US8060269B2 (en) | Swath line creation including slope compensation for an automatic guidance system of a work vehicle | |
US20200356097A1 (en) | Apparatus and method for controlling a vehicle | |
AU2015307084B2 (en) | System and method for steering of an implement on sloped ground | |
CN109405846B (zh) | 一种自适应调整前视距离与延迟参数的路径追踪方法 | |
US7054731B1 (en) | Farm implement guidance method and apparatus | |
JP5953426B2 (ja) | 作業用車両の自動操舵システム | |
US8515626B2 (en) | System and method for machine guidance control | |
WO2020238011A1 (zh) | 一种履带式拖拉机运动学估计及偏差校准方法 | |
AU2017249162A1 (en) | Line acquisition path generation | |
CN108646747A (zh) | 农用车辆路径跟踪控制方法 | |
Oksanen et al. | Guidance system for agricultural tractor with four wheel steering | |
CN109416540A (zh) | 用于控制车辆的系统和方法 | |
WO2016172729A1 (en) | System, apparatus, and method for controlling a vehicle | |
US9538696B2 (en) | Guidance and control of vehicle travel path and components | |
WO2021128773A1 (zh) | 履带式无人驾驶联合收割机直角转弯方法与系统 | |
CN115435816B (zh) | 在线双舵轮agv内外参标定方法、系统、介质及设备 | |
CN112109732A (zh) | 一种智能驾驶自适应曲线预瞄方法 | |
BR102016029253A2 (pt) | Vehicle system, method and environment legible by non-temporary computer | |
Bodur et al. | Double look-ahead reference point control for autonomous agricultural vehicles | |
US7640088B2 (en) | Method and system for controlling steering deadband in a mobile machine | |
CN113311845B (zh) | 基于路径曲率的纯跟踪控制误差补偿方法及装置 | |
EP3432109B1 (en) | System and method for self-tuning of an agricultural tractor and implement |
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 |