车辆横向控制的参考路径估计

news2024/11/24 12:47:29

Reference Path Estimation for Lateral Vehicle Control

车辆横向控制的参考路径估计

Abstract

Autonomous driving cars have been a hot topic in the media in recent years, with more and more tech companies and universities presenting projects with fully automated vehicles. Most of these vehicles rely on highly sophisticated and expensive sensors that are not yet feasible for commercial vehicles. On the other hand automated systems that are implemented in commercially available vehicles are largely limited to active safety scenarios where the system only assists the driver in dangerous situations such as collision avoidance or lane support.
自动驾驶汽车近年来一直是媒体的热门话题,越来越多的科技公司和大学展示了完全自动化车辆的项目。这些车辆大多依赖于高度复杂且昂贵的传感器,这些传感器对于商业车辆来说目前还不可实现。另一方面,在商业上可用的车辆中实施的自动化系统主要限于主动安全场景,其中系统仅在危险情况下协助驾驶员,例如碰撞避免或车道支持。
The goal of this thesis project is to use sensors on commercially available vehicles for automating lateral control in selected scenarios. The evaluated scenarios are limited to roads where the sensors can detect lane markings or a preceding vehicle or both. The approach was to generate two different reference paths, one from lane markings and one from the preceding vehicle information. The lane marking path is generated from filtering measurements from the lane detection cameras using a nonlinear Kalman filter. The preceding vehicle path is generated by fusing the radar and camera measurements of the preceding vehicle. In order to develop and tune the filters a detailed analysis was done on the sensor measurements collected for this project.
这篇论文项目的目标是使用商业车辆上的传感器来在选定场景中自动化横向控制。评估的场景仅限于传感器能够检测到车道标记或前车或两者的道路。方法是生成两条不同的参考路径一条来自车道标记一条来自前车信息。车道标记路径是通过使用非线性卡尔曼滤波器过滤车道检测摄像头的测量数据生成的。前车路径是通过融合前车的雷达和摄像头测量数据生成的。为了开发和调整滤波器,对该项目收集的传感器测量数据进行了详细分析。
The implemented filters improve the current system in several ways. When the lane marking are lost for short period of time the prediction from the last measurement update can provide a reference while driving up to 40 meters. The path generated from the estimates of the preceding vehicle describe the trajectory which the vehicle has driven. This way a more accurate reference signal can be generated than using only the current position of the preceding vehicle, especially in turns and at long distances. By having two references paths the lateral control is more robust and an algorithm that takes the covariances of the estimation for both paths into account guarantees a smooth transition between them.
实现的滤波器在多个方面对现有系统进行了改进。当车道标记短暂丢失时最后测量更新的预测可以提供参考允许车辆在长达40米的范围内行驶根据前车估计生成的路径描述了车辆行驶的轨迹。这样,可以生成比仅使用前车当前位置更准确的参考信号,尤其是在转弯和长距离行驶时拥有两条参考路径使得横向控制更加稳健,并且一个考虑到两种路径估计协方差的算法可以保证它们之间的平滑过渡

4.4 Generating a reference with preceding vehicle

When a vehicle is driving in front of the Ego vehicle its position can be detected by the object detection sensors (radar and camera). These positions can be used as a reference for the lateral control of Ego vehicle.
当一辆车在自车(Ego vehicle)前方行驶时,其位置可以通过物体检测传感器(雷达和摄像头)被探测到。这些位置可以作为自车横向控制的参考。

4.4.1 Generating reference path

A reference path can be constructed from the filtered position of the preceding vehicle. The path contains N number of points in the Ego vehicles coordinate system. The points are placed equidistantly in the x-axis of the Vcs with a fixed longitudinal distance deltaPrec between them.
可以从前车经过滤波的位置构建一条参考路径。该路径包含N个点,这些点位于自车坐标系统中。这些点在 V c s V_{cs} Vcs x x x 轴上等距放置,它们之间有一个固定的纵向距离 d e l t a P r e c delta_{Prec} deltaPrec

Initial path generated

When there is no vehicle visible to the sensors no path is generated. As soon as a vehicle appears in the field of view of the Ego vehicle a path between the Ego vehicle and the preceding vehicle is generated depending if the lane markings path is available or not. The path is a series of N points in the vehicle coordinate system. If the lane markings are available the points are placed parallel to the lane markings with an offset. The offset is the lateral difference between the position of the preceding vehicle to the lane markings. The lane marking path consists of N-1 points in the vehicle coordinate system, therefore the Nth point in the preceding vehicle path is the position of the preceding vehicle. This method of generating the initial path can be seen in figure 4.6 A. If no lane marking path is available the initial points are placed by linear interpolating six points between the Ego vehicle and the preceding vehicle (figure 4.6 B).
传感器没有检测到任何车辆时,不会生成路径。一旦自车的视野中出现车辆,就会根据是否可用车道标记路径生成自车与前车之间的路径。路径是车辆坐标系统中的一系列N个点如果车道标记可用,这些点会与车道标记平行放置,并有一个偏移量偏移量是前车位置与车道标记之间的横向差异。车道标记路径由车辆坐标系统中的N-1个点组成,因此前车路径中的第N个点是前车的位置。生成初始路径的这种方法可以在图4.6 A 中看到。如果没有可用的车道标记路径,初始点是通过在自车和前车之间线性插值六个点来放置的(见图4.6 B)。
在这里插入图片描述
图4.6:当车辆进入视野时从前车生成的初始路径。A)展示了如果车道标记路径可用,如何通过偏移车道标记路径并添加前车位置作为第N个点来生成路径中的N个点B)展示了当没有车道标记路径可用时,如何通过自车位置和前车位置之间的线性插值来生成这些点

Movement of the path

The points of the path represent the trajectory of the preceding vehicle in Ego vehicle coordinate system. Since the coordinate system moves with the Ego vehicle the points need to move within the coordinate system according to the distance traveled (dx) and change in orientation (dϕ) of the Ego vehicle. The distance and the orientation is calculated using the yaw rate (ϕ˙), the velocity measurement(v) and the step length(dt):
路径上的点代表了前车在自车坐标系统中的轨迹。由于坐标系随自车移动,因此这些点需要根据自车行驶的距离 ( d x ) (dx) (dx)和方向变化 ( d ϕ ) (d \phi) (dϕ)在坐标系内移动。距离和方向的变化是利用偏航率 ( ϕ ˙ ) (\dot \phi) (ϕ˙) 、速度测量 ( v ) (v) (v)和步长 ( d t ) (dt) (dt)来计算的:
在这里插入图片描述

Update points of the path

When the distance between the point in path which is closest to the preceding vehicle and the current filtered point on the preceding vehicle is equal to deltaPrec, oldest point (furthest away from the preceding vehicle) is discarded and current filtered point added to the path. The update is illustrated in figure 4.7.
当路径上离前车最近的点与前车上当前经过滤波的点之间的距离等于 d e l t a P r e c deltaPrec deltaPrec 时,最旧的点(离前车最远的点)会被丢弃并将当前经过滤波的点添加到路径中。更新过程如图4.7 所示。
在这里插入图片描述
图4.7:更新前车路径。每当路径上最新点与前车之间的距离大于deltaPrec时,就移除离前车最远的点,并将前车的位置作为新点添加进来。

deltaPrec的意思应该就是不要把所有的点都记录下来,按照一定最小间隔来采样路径点

Uncertainties

The movement of the points can be considered as pure prediction since there are no measurements of the points in the path to update with. The prediction step is the same as for the lane marking sampled points and therefore the same prediction model can be used. The covariance is based on the noise of the yaw rate and the velocity. Since there is no update step, the uncertainties increase over time, which results in very uncertain points on the path especially if the preceding vehicle is far ahead. By filtering the states of the vehicle such as vehicle and heading a more accurate movement of the vehicle between time instances can be achieved. This was not in the scope of this thesis but discussed in future work chapter 8.
路径上点的移动可以看作是纯粹的预测,因为路径上的点没有测量数据可供更新。预测步骤与车道标记采样点的步骤相同,因此可以使用相同的预测模型协方差基于偏航率和速度的噪声由于没有更新步骤,不确定性会随着时间的推移而增加,这会导致路径上的点特别在前车距离较远时变得非常不确定。通过对车辆状态,如车辆位置和航向进行滤波,可以在时间间隔之间实现更准确的车辆运动。这并不在本论文的研究范围内,但在第8章的未来工作讨论中有所提及。

4.5 Preceding Vehicle Filter

The position of the preceding vehicle is measured with the camera and radar. The camera measures longitudinal and lateral distances to the preceding vehicle relative to the Ego vehicle. The radar has the same measurements as the camera but also outputs the relative velocity in longitudinal and lateral direction. These sensor information can be fused together to obtain an estimate of the position of the preceding vehicle relative to Ego vehicle. Based on the measurements of the preceding vehicle the most straight forward choice of a state vector would be [x, y, vx, vy] where x and y is the longitudinal and lateral distances respectively, vx and vy are the corresponding velocities in longitudinal and lateral direction. All of the states are relative to the Ego vehicle.
前车的位置是通过摄像头和雷达进行测量的。摄像头测量与自车相对的前车的纵向和横向距离。雷达具有与摄像头相同的测量功能,并且还输出纵向和横向的相对速度。这些传感器信息可以结合在一起,以获得相对于自车的前车位置的估计。基于对前车的测量,状态向量最直接的选择是包含 x 、 y 、 v x 和 v y x、y、v_x和v_y xyvxvy,其中 x 和 y 分别是相对于自车的纵向和横向距离, v x 和 v y v_x和v_y vxvy 是相应的纵向和横向速度。所有这些状态都是相对于自车来定义的。

4.5.1 Prediction step

When choosing a process model the changes between the measurements samples need to be considered. The measurements are relative to the Ego vehicle and the assumption can be made that the two vehicles travel on the same lane with similar velocity which makes the changes in velocity slow. Therefore a constant velocity (CV) model was chosen. Adding acceleration to the model would not be bring much improvements since the change in acceleration are very small. Since the CV process model is linear the optimal prediction method would be using the Kalman prediction. Since the measurements are not synchronous the step length dt might need to be adaptive, analysis on different step lengths can be seen in section 6.4. The Kalman prediction equations and a discretized CV model can be seen in equation4.11.
在选择过程模型时,需要考虑测量样本之间的变化。由于测量是相对于自车进行的,可以假设两辆车在同一车道上以相似的速度行驶,这使得速度变化较为缓慢。因此,选择了一个恒定速度(CV)模型。在模型中加入加速度不会带来太大的改进,因为加速度的变化非常小。由于CV过程模型是线性的,最优的预测方法就是使用卡尔曼预测。由于测量不是同步进行的,步长 dt 可能需要是自适应的,不同步长的分析可以在第6.4节中找到。卡尔曼预测方程和离散化的CV模型可以在公式4.11中查看。
在这里插入图片描述

4.5.2 Update step

In the update step both the radar and the camera measure the x and y states. Different methods can be used to derive the estimate. The optimal method would be to update first using one sensor and then update with the second one. In equation 4.12 the radar and the camera update steps can be seen.
在更新步骤中,雷达和摄像头都测量 x 和 y 状态。可以使用不同的方法来推导出估计值。最优的方法是首先使用一个传感器进行更新然后使用第二个传感器进行更新。在公式4.12中,可以看到雷达和摄像头的更新步骤。
在这里插入图片描述
Since the radar and camera measurements are not synchronous there are few cases to consider dependent on which measurements are available when the filter is executed:
Radar and camera measurements available The update step includes both updates according to equation 4.12.
Only radar measurement available The update step runs update 1 from equation 4.12.
Only camera measurement available The update step runs update 2 from equation 4.12.
No measurements available Update step is skipped.
由于雷达和摄像头的测量不是同步的,在执行滤波器时需要考虑几种情况,这取决于滤波器执行时可用的测量数据:

  1. 雷达和摄像头测量数据都可用:更新步骤包括根据公式4.12进行的两次更新。
  2. 只有雷达测量数据可用:更新步骤执行公式4.12中的更新1。
  3. 只有摄像头测量数据可用:更新步骤执行公式4.12中的更新2。
  4. 没有测量数据可用:跳过更新步骤。

4.6 Control Signals

The reference paths from the lane marking and preceding vehicle are represented in same way. The control signals can therefore be calculated in same way for both paths. The control signals are lateral error and heading error of the truck relative to the lane at a look ahead distance (see figure 4.8). The look ahead distance is dependent on the trucks velocity and a look ahead time (lookAheadDistance = velocity · lookAheadTime), the look ahead time is set to 1 second. A decision has to be made which path to follow and that is done by using the uncertainty of the paths at the look ahead point.
车道标记和前车的参考路径以相同的方式表示。因此,对于两条路径都可以以相同的方式计算控制信号。控制信号是卡车相对于车道的横向误差和航向误差,在预瞄距离上(见图4.8)。预瞄距离取决于卡车的速度和一个预瞄时间(预瞄距离 = 速度 × 预瞄时间),预瞄时间设定为1秒。需要做出决定,选择跟随哪条路径,这是通过使用路径在预瞄点的不确定性来完成的。
Lane Marking Path Calculate the control signal from the lane marking path. If the uncertainty of the lane marking gets larger than uncertainty of preceding vehicle path change to the state “Preceding Path”.
车道标记路径:基于车道标记路径计算控制信号。如果车道标记的不确定性超过了前车路径的不确定性,就改变到“前车路径”状态
Preceding Path Calculate the control signal from the preceding vehicle path. If the uncertainty of the preceding vehicle path grows larger than uncertainty of lane marking path, change to the state “Lane Marking Path”.
前车路径:基于前车路径计算控制信号。如果前车路径的不确定性超过了车道标记路径的不确定性,就改变到“车道标记路径”状态。
Another approach could be to fuse the two paths together obtaining a single path that can be used as reference. This approach was not chosen since the lane marking path is in the middle of the lane but the preceding path is varied from the middle. This is because it is difficult to keep a constant lateral position in a lane while driving. This can be seen in figure 6.14. Also the uncertainty of the lane marking is much smaller than the uncertainty of the preceding vehicle path when lane marking measurements are available.
另一种方法是将两条路径合并,形成一个单一的参考路径。由于车道标记路径位于车道的中间,而前车路径则与车道中心有所偏差,因此没有选择这种方法。这是因为在驾驶过程中,很难保持在车道中的恒定横向位置。这一点可以在图6.14中观察到。同时,当车道标记测量可用时,车道标记的不确定性远小于前车路径的不确定性。
In the case of coefficient filter the lateral error is calculated using the approximation in equation 4.2 and the heading error is then its derivative. The equations can be seen in equation 4.13.
在系数滤波器的情况下,横向误差是使用公式4.2中的近似值来计算的,然后航向误差是它的导数。这些公式可以在公式4.13中看到。
在这里插入图片描述

6 Results

6.5 Preceding vehicle path

A reference path was constructed from the filtered preceding vehicle position according to section 4.4.1. The coordinate transformation of the points that represent the path in Ego’s coordinate system is based on dead reckoning of the Ego vehicle. This results in increasing uncertainty as the points move away from the preceding vehicle. The path from the preceding vehicle can be seen in figure 6.14. The path from the preceding vehicle is not as smooth as the lane path since the preceding vehicle does not always drive in the middle of the road. It might be of interest to smoothen the path before calculating the control signals but that was not investigated further in this thesis.
根据4.4.1节的描述,从前车滤波位置构建了一条参考路径代表路径的点在自车坐标系中的坐标转换基于自车的航位推算。这导致随着这些点远离前车,不确定性逐渐增加前车路径可以在图6.14中看到由于前车并不总是在道路中间行驶,前车路径没有车道路径那样平滑在计算控制信号之前,可能有兴趣先平滑路径,但这一点在本论文中没有进一步研究。
在这里插入图片描述
图6.14:为横向控制生成的路径。绿色路径是车道标记参考路径蓝色线是前车路径蓝色圆圈是前车当前估计位置红色十字是预瞄点灰色线条是右侧和左侧的车道标记

8 Future Work

Initial preceding vehicle path estimation The estimation of the initial preceding vehicle path when no lane marking path is available could be improved. In the proposed solution the path is set by linear interpolation between the Ego vehicle and the preceding vehicle. Since the heading of the Ego vehicle is known a cubic interpolation could be used to get the estimated path to follow the curve of the road.
初始前车路径估计:在没有车道标记路径可用时,对初始前车路径的估计可以进行改进。在提出的解决方案中,路径是通过在自车和前车之间进行线性插值得到的。由于已知自车的航向,可以使用三次插值来使估计出的路径跟随道路的曲线

Reference paths The reference paths are currently represented with 5 to 6 points which could cause problems for the controller. The paths could be smoothed by drawing a bezier curve through the points before calculating the control signal. This method was looked into but not investigated further because of time constraints on the project.
参考路径目前由5到6个点表示,这可能会给控制器带来问题。在计算控制信号之前,可以通过在点之间绘制贝塞尔曲线来平滑这些路径。这种方法被考虑过,但由于项目时间限制,没有进一步研究。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2045961.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

同态加密和SEAL库的介绍(九)CKKS 参数心得 1

写在前面: 前面几篇有官方的说明和示例做支撑,相信能给大家比较多的参考价值。但是由于没能对同态加密有更深入的了解,所以在我具体使用的时候出现各种问题。本篇是针对这些问题做的一些测试,由结论产生的了些个人的推测&#xff…

准大学生电脑应该怎么选?

随着夏日的尾声悄然临近,各位准大学生们是不是已经迫不及待想要翻开大学生活的崭新篇章了呢?作为准大学生,选择一台称心如意的电脑绝对是大家最近最头疼的事情,那我们应该怎么选择适合自己的电脑呢? 01 处理器&#x…

井字棋游戏(HTML+CSS+JavaScript)

🌏个人博客主页:心.c 前言:这两天在写植物大战僵尸,写不动了,现在和大家分享一下之前我写的一个很简单的小游戏井字棋,这个没有AI,可以两个人一起玩,如果大家觉得我哪里写的有一些问…

【Redis】Linux CentOS Redis 的安装—(一)

Redis 一、获取源二、解压编译 一、获取源 //redis-stable是最新稳定版 wget https://download.redis.io/redis-stable.tar.gz二、解压编译 //我指定目录/app tar -xzvf redis-stable.tar.gz -C /appcd /app/redis-stablemake && make install##三 、修改配置启动 …

重复的子字符串 | LeetCode-459 | 字符串匹配 | KMP | 双指针

🙋大家好!我是毛毛张! 🌈个人首页: 神马都会亿点点的毛毛张 🕹️KMP练习题 📌LeetCode链接:459. 重复的子字符串 文章目录 1.题目描述🍍2.题解🫐2.1 暴力解法&#x1…

enhanced Input Action IA_Look中Action value引脚没有分割结构体引脚的选项

UE5系列文章目录 文章目录 UE5系列文章目录前言二、使用步骤解决办法 前言 据说,unreal engine5中准备废弃“项目设置”中“输入”,操作映射,轴映射。取而代之的是: 使用增强的输入动作(Enhanced Input Actions&#…

【QT】Qt SDK的下载,安装和环境配置

目录 一,Qt SDK的下载二,Qt SDK的安装三,验证Qt SDK安装是否成功四,Qt环境变量配置 一,Qt SDK的下载 进入下面两个网站都可以进行下载: Qt 下载官⽹ 国内清华源 进⼊官⽹,按如下图⽰进⾏相应…

Allegro如何导入DXF结构文件并生成板框(1)?

在用Allegro进行PCB设计时,需要导入DXF结构文件,由此来生成PCB的板框。 本节先讲Allegro如何导入DXF结构文件?下节讲如何利用导入的DXF结构文件生成OUTLINE板框。 Allegro如何导入DXF结构文件并生成板框(2)?-CSDN博客 详细操作方法如下: 1、选择菜单栏File 选择Import…

【EI会议】第三届环境工程与可持续能源国际会议征稿开启

第三届环境工程与可持续能源国际会议(EESE 2024)将于2024年12月20日至21日在湖南长沙召开,诚挚邀请相关领域学者、专家加入会议,开展学术讨论和研究,共同助推环境工程与可持续能源产学研领域的进步! 征稿主…

SDK does not contain ‘libarclite‘ at the path

Xcode15运行报错:SDK does not contain libarclite at the path /Applications/Xcode.app/Contents/ Developer/Toolchains/XcodeDefault.xctoolchain/us/lib/arc/libarclite_iphoneos.a 如下图: 阅读报错信息,它的意思是 SDK没有包含 libarclite 这个文件,这个文件的路径是: …

基于 face_recognition 的人脸识别的小工具

使用 face_recognition 和 pyside2,开发了一个小工具,识别指定的人脸照片,保存到指定的文件夹。 源码如下: import sys import os import shutil import face_recognition import logging from PySide2.QtWidgets import QApplic…

PDF文件转换为HTML文件

推荐使用 pdf2htmlEX(因为确实做的比较全) pdf2htmlEX 是一个开源工具,可以将PDF文件转换为HTML文件。你需要先安装pdf2htmlEX工具,并确保它在你的系统路径中可用。(花时间最多就是找包) 安装 pdf2htmlEX …

API以及添加学生信息练习

API:应用程序编程接口 简单理解:API就是别人已经写好的东西,我们不需要自己编写,直接使用即可 Java API:指的就是jdk中提供的各种功能的Java类,这些类将底层的实现封装起来,我们不需关心这些类是如何实现的…

什么是神中神公司?发表内卷言论,分分钟要你道歉...

谷歌 海的那边,这几天最乐的新闻,是谷歌前 CEO 批评员工不拼命工作后道歉。 今年 4 月,谷歌前 CEO 埃里克施密特(Eric Schmidt)在斯坦福大学的一次演讲中,被问及 OpenAI 和 Anthropic 等初创公司目前在人工…

【全面解析】芯片采购渠道策略:原厂直采VS代理VS现货市场

芯片作为现代科技的基石,其重要性不言而喻。无论是智能手机、汽车电子、物联网设备还是高性能计算领域,都离不开芯片的支持。随着5G、AI、大数据等前沿技术的飞速发展,对芯片的需求量持续攀升,如何确保稳定、高效的芯片供应链成为…

A3VLM: Actionable Articulation-Aware Vision Language Model

发表时间:13 Jun 2024 作者单位:SJTU Motivation:以往的机器人VLM如RT-1[4]、RT-2[3]和ManipLLM[21]都专注于直接学习以机器人为中心的动作。这种方法需要收集大量的机器人交互数据,这在现实世界中非常昂贵。 解决方法&#xf…

数据中台之数据开发-离线开发和实时开发

目录 一、离线开发 1.1 概述 1.2 作业调度 1.3 基线控制 1.4 异构存储 1.5 代码校验 1.6 多环境级联 1.7 推荐依赖 1.8 数据权限 二、实时开发 2.1 概述 2.2 实时计算的特点 2.2.1 实时且无界(unbounded)的数据流 2.2.2 持续且高效的计算 2.2.3 流式且实时的数据…

go,gin封装gorm使用,增删改查

1、主 package mainimport ("fmt""wbGo/configs" )type Dades struct {Id intName stringAge int }func main() {//连接数据库configs.BaseName("wbrj_sample")var data []Dades//查询configs.Db.Raw("select * from dade where id>…

机器学习/深度学习——关于分类任务的机器学习、深度学习模型的评估指标详解

机器学习/深度学习——模型的评估详解 搭配以下文章进行学习: 卷积神经网络: 深度学习——卷积神经网络(convolutional neural network)CNN详解(一)——概述. 步骤清晰0基础可看 深度学习——卷积神经网…

Ciallo~(∠・ω・ )⌒☆第十七篇 Ubuntu基础使用 其一

Ubuntu是一种基于Linux的操作系统,它是开源的、免费的,并且具有广泛的用户群体。 基本文件操作:Ubuntu使用命令行工具来进行文件操作。以下是一些常用的命令: 切换到用户主目录: cd ~ 切换到上级目录: cd .…