CN115716476A - Lane changing method, device, electronic device and storage medium for automatic driving - Google Patents
Lane changing method, device, electronic device and storage medium for automatic driving Download PDFInfo
- Publication number
- CN115716476A CN115716476A CN202211445165.0A CN202211445165A CN115716476A CN 115716476 A CN115716476 A CN 115716476A CN 202211445165 A CN202211445165 A CN 202211445165A CN 115716476 A CN115716476 A CN 115716476A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- information
- lane
- driving
- condition information
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000008859 change Effects 0.000 claims abstract description 51
- 230000009471 action Effects 0.000 claims abstract description 11
- 238000012549 training Methods 0.000 claims description 68
- 230000015654 memory Effects 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 18
- 210000004556 brain Anatomy 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 11
- 230000009467 reduction Effects 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 6
- 238000003062 neural network model Methods 0.000 claims description 5
- 230000014509 gene expression Effects 0.000 claims description 3
- 238000007781 pre-processing Methods 0.000 claims description 3
- 230000035772 mutation Effects 0.000 claims description 2
- 230000004888 barrier function Effects 0.000 claims 7
- 238000005516 engineering process Methods 0.000 description 22
- 238000013473 artificial intelligence Methods 0.000 description 15
- 238000004891 communication Methods 0.000 description 9
- 230000006399 behavior Effects 0.000 description 8
- 238000010801 machine learning Methods 0.000 description 8
- 230000008901 benefit Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000013135 deep learning Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000008447 perception Effects 0.000 description 5
- 239000011159 matrix material Substances 0.000 description 4
- 238000013528 artificial neural network Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 206010039203 Road traffic accident Diseases 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000003058 natural language processing Methods 0.000 description 2
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013527 convolutional neural network Methods 0.000 description 1
- 238000010219 correlation analysis Methods 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 208000014674 injury Diseases 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000013526 transfer learning Methods 0.000 description 1
Images
Landscapes
- Traffic Control Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及自动驾驶技术领域,尤其是一种自动驾驶变道方法、装置、电子设备及存储介质。The present invention relates to the technical field of automatic driving, in particular to an automatic driving lane changing method, device, electronic equipment and storage medium.
背景技术Background technique
目前,道路交通伤害已成为人群的重要死亡原因之一,约95%的各类机动车事故在一定程度上是由驾驶员操作不当造成的,而完全由驾驶员不恰当的驾驶行为诱发的交通事故占到了事故总数的四分之三。因此,对驾驶员行为及驾驶员状态的分析是非常必要的。At present, road traffic injuries have become one of the important causes of death among people. About 95% of all kinds of motor vehicle accidents are caused to a certain extent by improper operation of drivers, while traffic accidents caused entirely by inappropriate driving behaviors of drivers Accidents accounted for three quarters of the total number of accidents. Therefore, it is very necessary to analyze the driver's behavior and driver's state.
目前自动驾驶多应用于特定场景,在复杂工况下还无法比拟人类驾驶员的决策控制能力,难以实现全工况应用。At present, autonomous driving is mostly used in specific scenarios, and it is still unable to match the decision-making and control capabilities of human drivers under complex working conditions, making it difficult to achieve full-working-condition applications.
发明内容Contents of the invention
本发明的目的是提供一种自动驾驶变道方法、装置、电子设备及存储介质,旨在提高自动驾驶变道时的同步性和安全性。The object of the present invention is to provide a method, device, electronic equipment and storage medium for automatic driving lane change, aiming at improving the synchronization and safety of automatic driving lane change.
第一方面,提供一种自动驾驶变道方法,包括:In the first aspect, a method for changing lanes in automatic driving is provided, including:
获取实时的路况信息和实时的车况信息,所述路况信息包括车道数量、自车所在车道、行驶车辆以及表征自车与行驶车辆或障碍物相对距离的障碍间距,所述车况信息包括自车速度和自车定位;Obtain real-time road condition information and real-time vehicle condition information. The road condition information includes the number of lanes, the lane where the vehicle is located, the driving vehicle, and the distance between obstacles representing the relative distance between the vehicle and the vehicle or obstacles. The vehicle condition information includes the speed of the vehicle and ego positioning;
对驾驶员进行脑电采集,得到实时的脑电信息,所述脑电信息表征驾驶员驾驶意图;Collect the EEG of the driver to obtain real-time EEG information, which represents the driver's driving intention;
基于实时的路况信息和实时的车况信息,利用训练好的变道决策模型预测自车在当前路况行驶的行驶路线,得到路线预测结果;Based on real-time road condition information and real-time vehicle condition information, use the trained lane change decision-making model to predict the driving route of the own vehicle in the current road condition, and obtain the route prediction result;
将路线预测结果和脑电信息所表征的驾驶员驾驶意图进行比较,在路线预测结果与驾驶员驾驶意图一致时,控制自车沿路线预测结果执行变道行驶动作。The route prediction result is compared with the driver's driving intention represented by EEG information, and when the route prediction result is consistent with the driver's driving intention, the ego vehicle is controlled to change lanes along the route prediction result.
在一些实施例中,在所述获取路况信息和车况信息之前,还包括:In some embodiments, before the acquisition of road condition information and vehicle condition information, it also includes:
获取离线训练信息,所述离线训练信息包括离线的路况信息和离线的车况信息;Obtain offline training information, where the offline training information includes offline road condition information and offline vehicle condition information;
使用离线训练信息构造决策表;Construct a decision table using offline training information;
对决策表中的离线训练信息进行离散化处理,利用预设的神经网络模型对离散化后的离线训练信息进行分类,得到离散分类结果;Discretize the offline training information in the decision table, use the preset neural network model to classify the discretized offline training information, and obtain discrete classification results;
依据离散分类结果对决策表进行属性约减,确定用于表达决策的最小条件属性集;Perform attribute reduction on the decision table according to the discrete classification results, and determine the minimum conditional attribute set for expressing the decision;
整合表达决策结果相同的最小条件属性集,计算整合后的最小条件属性集的覆盖度和置信水平以确定离线决策规则;Integrate the minimum conditional attribute set that expresses the same decision result, and calculate the coverage and confidence level of the integrated minimum conditional attribute set to determine the offline decision rule;
使用离线决策规则对变道决策模型进行训练,将变道决策模型的路线预测结果与离线的脑电信息进行比较。The lane-changing decision-making model is trained using offline decision-making rules, and the route prediction results of the lane-changing decision-making model are compared with offline EEG information.
在一些实施例中,所述依据离散分类对决策表进行属性约减,确定用于表达决策结果的最小条件属性集,包括:In some embodiments, performing attribute reduction on the decision table according to the discrete classification, and determining the minimum conditional attribute set for expressing the decision result include:
依据离线训练信息构建训练数据集,随机对训练数据集中的各个类型的离线训练信息进行编码;Construct a training data set according to the offline training information, and randomly encode each type of offline training information in the training data set;
计算决策属性对决策所需离线训练信息的依赖程度;Calculate the dependence of decision attributes on offline training information required for decision-making;
判断当前的依赖程度是否等于最小相对依赖值;Determine whether the current degree of dependence is equal to the minimum relative dependence value;
若是,在连续若干代最优适应度的训练数据集不再提高时,输出最小条件属性集;If yes, output the minimum conditional attribute set when the training data set with optimal fitness for several consecutive generations is no longer improved;
若否,迭代地对训练数据集进行随机选择、交叉和变异处理,将最优适应度的训练数据集复制给下一代的训练数据集,直至连续若干代最优适应度的训练数据集不再提高并输出最小条件属性集。If not, randomly select, crossover and mutate the training data set iteratively, copy the training data set with the best fitness to the next generation training data set, until the training data set with the best fitness for several consecutive generations is no longer Raise and output a minimal set of conditional attributes.
在一些实施例中,所述对驾驶员进行脑电采集,得到表征驾驶员驾驶意图的脑电信息,包括:In some embodiments, the EEG collection of the driver to obtain the EEG information representing the driver's driving intention includes:
采集驾驶员驾驶时产生的脑电波信号,得到初始脑电信息;Collect the brain wave signal generated by the driver while driving to obtain the initial brain wave information;
对初始脑电信息进行预处理,使用预设的脑电类比模板对预处理后的初始脑电信息进行比较,得到脑电类比结果;Preprocessing the initial EEG information, using a preset EEG analog template to compare the preprocessed initial EEG information, to obtain an EEG analog result;
依据脑电类比结果确定预处理后的初始脑电信息中存在的错误电位并进行剔除处理,得到表征驾驶员驾驶意图的脑电信息。According to the EEG analogy results, the error potentials in the preprocessed initial EEG information are determined and eliminated, and the EEG information representing the driver's driving intention is obtained.
在一些实施例中,所述控制自车沿路线预测结果执行变道行驶动作,包括:In some embodiments, the controlling the ego vehicle to perform lane-changing actions along the predicted route includes:
依据自车与障碍物的距离找寻若干个预瞄点,使用预瞄点构建的贝塞尔曲线绘制换道路线;Find several preview points according to the distance between the vehicle and the obstacle, and use the Bezier curve constructed by the preview points to draw the lane change route;
对障碍物进行边界膨胀处理,依据当前的换道路线和自车环境信息设定障碍物的膨胀半径;Boundary expansion processing is performed on obstacles, and the expansion radius of obstacles is set according to the current lane change route and the environment information of the vehicle;
判断障碍物的膨胀半径是否大于障碍物的宽度;Determine whether the expansion radius of the obstacle is greater than the width of the obstacle;
若是,控制自车沿当前的换道路线行驶;If so, control the vehicle to travel along the current lane change route;
若否,重置预瞄点的位置,使用重置后的预瞄点构建的贝塞尔曲线重新绘制换道路线,重新绘制的换道路线所对应的自车转向角大于上一次绘制的换道路线所对应的自车转向角,返回对障碍物进行边界膨胀处理的步骤。If not, reset the position of the preview point, use the Bezier curve constructed by the reset preview point to redraw the road change route, and the steering angle of the vehicle corresponding to the redrawn road change route is greater than the last drawn The steering angle of the ego vehicle corresponding to the road line returns to the step of performing boundary expansion processing on obstacles.
在一些实施例中,所述控制自车沿当前的换道路线行驶,包括:In some embodiments, the controlling the ego vehicle to travel along the current lane change route includes:
检测范围内未出现连续障碍物时,控制换道后的自车驶过障碍物后再变换至初始行驶路线的车道;检测范围内出现连续障碍物时,控制换道后的自车驶过连续障碍物后再变换至初始行驶路线的车道;When there is no continuous obstacle within the detection range, control the ego vehicle after changing lanes to drive past the obstacle and then change to the lane of the initial driving route; Change to the lane of the original driving route after obstacles;
所述连续障碍物为与相同车道中的前一个障碍物的距离小于预设的障碍距离阈值的障碍物。The continuous obstacle is an obstacle whose distance from the previous obstacle in the same lane is smaller than a preset obstacle distance threshold.
在一些实施例中,依据实时的路况信息和实时的车况信息构建模拟行驶情景,将模拟行驶情景进行显示,所述模拟行驶情景将实时的路况信息转换为模拟的路况信息以及将实时的车况信息转换为模拟的车况信息。In some embodiments, a simulated driving scenario is constructed based on real-time road condition information and real-time vehicle condition information, and the simulated driving scenario is displayed. The simulated driving scenario converts real-time road condition information into simulated road condition information and converts the real-time vehicle condition information Convert to simulated vehicle condition information.
第二方面,提供一种自动驾驶变道装置,所述装置包括:In a second aspect, an automatic driving lane changing device is provided, the device comprising:
获取模块,用于获取实时的路况信息和实时的车况信息,所述路况信息包括车道数量、自车所在车道、行驶车辆以及表征自车与行驶车辆或障碍物相对距离的障碍间距,所述车况信息包括自车速度和自车定位;The acquisition module is used to obtain real-time road condition information and real-time vehicle condition information. The road condition information includes the number of lanes, the lane where the vehicle is located, the driving vehicle, and the obstacle distance representing the relative distance between the vehicle and the vehicle or obstacle. The vehicle condition Information includes ego speed and ego location;
采集模块,用于对驾驶员进行脑电采集,得到实时的脑电信息,所述脑电信息表征驾驶员驾驶意图;The acquisition module is used to collect the EEG of the driver to obtain real-time EEG information, and the EEG information represents the driving intention of the driver;
预测模块,用于基于实时的路况信息和实时的车况信息,利用训练好的变道决策模型预测自车在当前路况行驶的行驶路线,得到路线预测结果;The prediction module is used to predict the driving route of the own vehicle in the current road condition by using the trained lane change decision model based on the real-time road condition information and the real-time vehicle condition information, and obtain the route prediction result;
控制模块,用于将路线预测结果和脑电信息所表征的驾驶员驾驶意图进行比较,在路线预测结果与驾驶员驾驶意图一致时,控制自车沿路线预测结果执行变道行驶动作。The control module is used to compare the route prediction result with the driver's driving intention represented by the EEG information, and when the route prediction result is consistent with the driver's driving intention, control the own vehicle to perform a lane-changing action along the route prediction result.
第三方面,提供一种电子设备,所述电子设备包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现第一方面所述的自动驾驶变道方法。In a third aspect, an electronic device is provided, the electronic device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the method for changing lanes for automatic driving according to the first aspect is realized .
第四方面,提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现第一方面所述的自动驾驶变道方法。In a fourth aspect, a computer-readable storage medium is provided, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the lane-changing method for automatic driving described in the first aspect is implemented.
本发明的有益效果:基于深度学习的方法,基于离线的路况信息、车况信息和表征驾驶员驾驶意图的脑电信息对变道决策模型进行训练,促进类人自动驾驶的实现,基于脑电的驾驶员意图识别客观且准确率高,提升自动驾驶变道时的同步性和安全性。Beneficial effects of the present invention: based on the method of deep learning, the lane change decision model is trained based on offline road condition information, vehicle condition information and EEG information representing the driver's driving intention, which promotes the realization of human-like automatic driving. The driver's intention recognition is objective and accurate, improving the synchronization and safety when changing lanes in automatic driving.
附图说明Description of drawings
图1是第一个实施例示出的一种自动驾驶变道方法的流程示意图。Fig. 1 is a schematic flowchart of a lane changing method for automatic driving shown in the first embodiment.
图2是第二个实施例示出的一种自动驾驶变道方法的流程示意图。Fig. 2 is a schematic flowchart of a lane changing method for automatic driving shown in the second embodiment.
图3是图2中的步骤S204的第一种流程示意图。FIG. 3 is a schematic flow chart of the first type of step S204 in FIG. 2 .
图4是图1中的步骤S102的第二种流程示意图。FIG. 4 is a second schematic flowchart of step S102 in FIG. 1 .
图5是图1中的步骤S104的第三种流程示意图。FIG. 5 is a third schematic flow chart of step S104 in FIG. 1 .
图6是本申请实施例提供的自动驾驶变道装置的结构示意图。Fig. 6 is a schematic structural diagram of an automatic driving lane changing device provided by an embodiment of the present application.
图7是本申请实施例提供的电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
图8是第一个实施例示出的绘制换道路线的示意图。Fig. 8 is a schematic diagram of drawing a lane changing route shown in the first embodiment.
图9是第二个实施例示出的绘制换道路线的示意图。Fig. 9 is a schematic diagram of drawing a lane changing route shown in the second embodiment.
图10是第三个实施例示出的绘制换道路线的示意图。Fig. 10 is a schematic diagram of drawing a lane changing route shown in the third embodiment.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清晰,下面将结合实施例和附图,对本发明作进一步的描述。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the present invention will be further described below in conjunction with the embodiments and the accompanying drawings.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.
需要说明的是,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that although the functional modules are divided in the schematic diagram of the device, and the logical sequence is shown in the flowchart, in some cases, it can be executed in a different order than the module division in the device or the flowchart in the flowchart. steps shown or described. The terms "first", "second" and the like in the specification and claims and the above drawings are used to distinguish similar objects, and not necessarily used to describe a specific sequence or sequence.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application, and are not intended to limit the present application.
首先,对本申请中涉及的若干名词进行解析:First, analyze some nouns involved in this application:
1)人工智能(Artificial Intelligence,AI)1) Artificial Intelligence (AI)
人工智能是利用数字计算机或者数字计算机控制的机器模拟、延伸和扩展人的智能,感知环境、获取知识并使用知识获得最佳结果的理论、方法、技术及应用系统。换句话说,人工智能是计算机科学的一个综合技术,它企图了解智能的实质,并生产出一种新的能以人类智能相似的方式做出反应的智能机器。人工智能也就是研究各种智能机器的设计原理与实现方法,使机器具有感知、推理与决策的功能。Artificial intelligence is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technique of computer science that attempts to understand the nature of intelligence and produce a new kind of intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines, so that the machines have the functions of perception, reasoning and decision-making.
人工智能技术是一门综合学科,涉及领域广泛,既有硬件层面的技术也有软件层面的技术。人工智能基础技术一般包括如传感器、专用人工智能芯片、云计算、分布式存储、大数据处理技术、操作/交互系统、机电一体化等技术。人工智能软件技术主要包括计算机视觉技术、语音处理技术、自然语言处理技术以及机器学习/深度学习等几大方向。Artificial intelligence technology is a comprehensive subject that involves a wide range of fields, including both hardware-level technology and software-level technology. Artificial intelligence basic technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation/interaction systems, and mechatronics. Artificial intelligence software technology mainly includes several major directions such as computer vision technology, speech processing technology, natural language processing technology, and machine learning/deep learning.
2)机器学习(Machine Learning,ML)2) Machine Learning (Machine Learning, ML)
机器学习是一门多领域交叉学科,涉及概率论、统计学、逼近论、凸分析、算法复杂度理论等多门学科。专门研究计算机怎样模拟或实现人类的学习行为,以获取新的知识或技能,重新组织已有的知识结构使之不断改善自身的性能。机器学习是人工智能的核心,是使计算机具有智能的根本途径,其应用遍及人工智能的各个领域。机器学习和深度学习通常包括人工神经网络、置信网络、强化学习、迁移学习、归纳学习、示教学习等技术。Machine learning is a multi-field interdisciplinary subject, involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. Specializes in the study of how computers simulate or implement human learning behaviors to acquire new knowledge or skills, and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent, and its application pervades all fields of artificial intelligence. Machine learning and deep learning usually include techniques such as artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and teaching and learning.
相关技术中,行为决策的算法主要包括基于规则的行为决策算法和基于学习的行为决策算法;基于规则的决策方法在场景遍历广度上具备优势,逻辑可解释性强,易于根据场景分模块设计,国内外均有很多应用有限状态机的决策系统实例。然而其系统结构决定了其在场景遍历深度、决策正确率上存在一定的瓶颈,难以处理复杂工况;基于学习算法的行为决策系统的优点是具备场景遍历深度的优势,针对某一细分场景,通过大数据系统更容易覆盖全部工况,但学习算法不具备场景遍历广度优势,不同场景所需采用的学习模型可能完全不同;机器学习需要大量试验数据作为学习样本;决策效果依赖数据质量,样本不足、数据质量差、网络结构不合理等会导致过学习、欠学习等问题,在复杂工况下还无法比拟人类驾驶员的决策控制能力,难以实现全工况应用。In related technologies, the behavior decision-making algorithms mainly include rule-based behavior decision-making algorithms and learning-based behavior decision-making algorithms; the rule-based decision-making method has advantages in the breadth of scene traversal, strong logical interpretability, and is easy to design in modules according to the scene. There are many examples of decision-making systems using finite state machines at home and abroad. However, its system structure determines that it has a certain bottleneck in the depth of scene traversal and the accuracy of decision-making, and it is difficult to handle complex working conditions; the advantage of the behavior decision system based on learning algorithms is that it has the advantage of scene traversal depth. , it is easier to cover all working conditions through the big data system, but the learning algorithm does not have the advantage of scene traversal breadth, and the learning models required for different scenarios may be completely different; machine learning requires a large amount of experimental data as learning samples; decision-making effects depend on data quality, Insufficient samples, poor data quality, unreasonable network structure, etc. will lead to problems such as over-learning and under-learning. Under complex working conditions, it is still unable to match the decision-making and control capabilities of human drivers, and it is difficult to realize the application of all working conditions.
基于此,本申请实施例提供了一种自动驾驶变道方法、装置、电子设备及存储介质,旨在提高自动驾驶变道时的同步性和安全性。Based on this, embodiments of the present application provide a method, device, electronic device, and storage medium for lane changing in automatic driving, aiming at improving synchronization and safety when changing lanes in automatic driving.
本申请实施例提供的自动驾驶变道方法、装置、电子设备及存储介质,具体通过如下实施例进行说明,首先描述本申请实施例中的推荐方法。The automatic driving lane changing method, device, electronic device, and storage medium provided in the embodiments of the present application are specifically described through the following embodiments. First, the recommended method in the embodiments of the present application is described.
本申请实施例可以基于人工智能技术对相关的数据进行获取和处理。其中,人工智能(Artificial Intelligence,AI)是利用数字计算机或者数字计算机控制的机器模拟、延伸和扩展人的智能,感知环境、获取知识并使用知识获得最佳结果的理论、方法、技术及应用系统。The embodiments of the present application may acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. .
人工智能基础技术一般包括如传感器、专用人工智能芯片、云计算、分布式存储、大数据处理技术、操作/交互系统、机电一体化等技术。人工智能软件技术主要包括计算机视觉技术、机器人技术、生物识别技术、语音处理技术、自然语言处理技术以及机器学习/深度学习等几大方向。Artificial intelligence basic technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation/interaction systems, and mechatronics. Artificial intelligence software technology mainly includes computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning/deep learning.
本申请实施例提供的自动驾驶变道方法,涉及人工智能技术领域。本申请实施例提供的自动驾驶变道方法可应用于终端中,也可应用于服务器端中,还可以是运行于终端或服务器端中的软件。在一些实施例中,终端可以是智能手机、平板电脑、笔记本电脑、台式计算机等;服务器端可以配置成独立的物理服务器,也可以配置成多个物理服务器构成的服务器集群或者分布式系统,还可以配置成提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN以及大数据和人工智能平台等基础云计算服务的云服务器;软件可以是实现表格信息抽取方法的应用等,但并不局限于以上形式。The lane changing method for automatic driving provided in the embodiment of the present application relates to the technical field of artificial intelligence. The lane changing method for automatic driving provided in the embodiment of the present application can be applied to a terminal, can also be applied to a server, and can also be software running on the terminal or the server. In some embodiments, the terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc.; the server end can be configured as an independent physical server, or can be configured as a server cluster or a distributed system composed of multiple physical servers, or It can be configured as a cloud that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server; the software may be an application to realize the method for extracting table information, but is not limited to the above forms.
本申请可用于众多通用或专用的计算机系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The application can be used in numerous general purpose or special purpose computer system environments or configurations. Examples: personal computers, server computers, handheld or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, including A distributed computing environment for any of the above systems or devices, etc. This application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.
需要说明的是,在本申请的各个具体实施方式中,当涉及到需要根据用户信息、用户行为数据,用户历史数据以及用户位置信息等与用户身份或特性相关的数据进行相关处理时,都会先获得用户的许可或者同意,而且,对这些数据的收集、使用和处理等,都会遵守相关国家和地区的相关法律法规和标准。此外,当本申请实施例需要获取用户的敏感个人信息时,会通过弹窗或者跳转到确认页面等方式获得用户的单独许可或者单独同意,在明确获得用户的单独许可或者单独同意之后,再获取用于使本申请实施例能够正常运行的必要的用户相关数据。It should be noted that, in each specific implementation of the present application, when it comes to related processing based on user information, user behavior data, user history data, user location information and other data related to user identity or characteristics, all will first Obtain the user's permission or consent, and the collection, use and processing of these data will comply with the relevant laws, regulations and standards of the relevant countries and regions. In addition, when the embodiment of this application needs to obtain the user's sensitive personal information, the user's separate permission or separate consent will be obtained through a pop-up window or jump to a confirmation page, etc. After the user's separate permission or separate consent is clearly obtained, the Obtain necessary user-related data for the normal operation of this embodiment of the application.
图1是第一个实施例示出的一种自动驾驶变道方法的流程示意图,图1中的方法可以包括但不限于包括步骤S101至步骤S104。Fig. 1 is a schematic flowchart of a method for changing lanes for automatic driving shown in the first embodiment. The method in Fig. 1 may include but not limited to steps S101 to S104.
步骤S101,获取实时的路况信息和实时的车况信息。Step S101, acquiring real-time road condition information and real-time vehicle condition information.
路况信息包括车道数量、自车所在车道、行驶车辆以及表征自车与行驶车辆或障碍物相对距离的障碍间距,车况信息包括自车速度和自车定位。The road condition information includes the number of lanes, the lane where the own vehicle is located, the driving vehicle, and the distance between obstacles representing the relative distance between the own vehicle and the driving vehicle or obstacles. The vehicle condition information includes the speed of the own vehicle and the location of the own vehicle.
在一种可能的实现方式中,该路况信息和车况信息通过具有感知模块的设备采集的车辆的车辆环境信息和车辆状态信息,该感知模块包括激光雷达、摄像头、导航系统以及车机系统等。In a possible implementation manner, the road condition information and vehicle condition information are collected by a device with a perception module including a laser radar, a camera, a navigation system, and a vehicle-machine system.
在一种可能的实现方式中,路况信息可以是指通过激光雷达或摄像头等感知模块采集的该车辆所在环境中所有与车辆行驶安全相关的数据,例如车辆环境信息可以是车辆所在环境中所有车辆的行驶状态,也可以是车辆所在环境中行驶环境(例如车道线数据、障碍物数据、实时定位数据以及地图数据),本申请实施例对此不做特殊限定。In a possible implementation, road condition information may refer to all data related to vehicle driving safety in the environment where the vehicle is located that is collected by sensing modules such as lidar or cameras. The driving state of the vehicle may also be the driving environment in the environment where the vehicle is located (such as lane line data, obstacle data, real-time positioning data, and map data), which is not particularly limited in this embodiment of the present application.
在一种可能的实现方式中,车况信息可以是指车机系统等感知模块采集的该车辆在行驶中所有与车辆自身行驶状态的数据,例如车辆状态信息、实际车速数据、方向盘、制动踏板、油门踏板、离合器上的传感数据,本申请实施例对此不做特殊限定。In a possible implementation, the vehicle condition information may refer to all the data collected by the vehicle-machine system and other sensing modules related to the vehicle's own driving state during driving, such as vehicle state information, actual vehicle speed data, steering wheel, brake pedal, etc. , accelerator pedal, and sensor data on the clutch, which are not specifically limited in this embodiment of the present application.
步骤S102,对驾驶员进行脑电采集,得到实时的脑电信息,所述脑电信息表征驾驶员驾驶意图。Step S102 , collecting brain electricity from the driver to obtain real-time brain electricity information, which represents the driver's driving intention.
可以理解的是,脑神经细胞在发生反应时会产生相应的电波,这些电波称为脑电波,对脑电波进行采集并以信号的形式进行表达,即为脑电信息,通过分析脑电信息的波形可以确定驾驶员的驾驶意图。It is understandable that when the brain nerve cells react, they will generate corresponding electric waves. These electric waves are called brain waves. Collecting the brain waves and expressing them in the form of signals is the EEG information. By analyzing the EEG information The waveform can determine the driver's driving intentions.
在一种可能的实现方式中,该脑电信息可以是通过具有脑机接口的设备采集到的驾驶员的脑电信息,该脑机接口具有至少两个电极,在通过该脑机接口对该驾驶员进行信号采集的过程中,该两个电极位于驾驶员头部的不同区域,以便采集到该驾驶员不同区域产生的脑电信息。In a possible implementation, the EEG information can be the EEG information of the driver collected by a device with a brain-computer interface, the brain-computer interface has at least two electrodes, and the brain-computer interface During the signal collection process of the driver, the two electrodes are located in different areas of the driver's head, so as to collect the EEG information generated in different areas of the driver.
更为具体地,根据计算得到的余弦相似度构建余弦相似度矩阵,通过训练后的卷积神经网络对该余弦相似度矩阵所属的类型进行预测,得到该脑电波信号所属的驾驶意图类型。例如,若脑电信息的特征向量均为128个,则可以计算出128个余弦相似度,那么此时,便可以基于这128个余弦相似度构建余弦相似度矩阵,然后通过训练后的卷积神经网络对该余弦相似度矩阵所属的类型进行预测,得到该脑电信息所属的驾驶意图类型。More specifically, a cosine similarity matrix is constructed according to the calculated cosine similarity, and the type of the cosine similarity matrix is predicted through the trained convolutional neural network to obtain the type of driving intention to which the brain wave signal belongs. For example, if the eigenvectors of the EEG information are all 128, then 128 cosine similarities can be calculated, then at this time, the cosine similarity matrix can be constructed based on the 128 cosine similarities, and then through the convolution after training The neural network predicts the type of the cosine similarity matrix to obtain the driving intention type of the EEG information.
步骤S103,基于实时的路况信息和实时的车况信息,利用训练好的变道决策模型预测自车在当前路况行驶的行驶路线,得到路线预测结果。Step S103, based on the real-time road condition information and real-time vehicle condition information, use the trained lane change decision model to predict the driving route of the own vehicle under the current road condition, and obtain the route prediction result.
将实时获取的路况信息和车况信息输入至训练好的变道决策模型,由变道决策模型进行行驶路线预测。路线预测结果可以是包括车道保持模式、换道行驶模式或路口转向模式。可以理解的是,车道保持模式、换道行驶模式和路口转向模式均为预设的行驶模式,路线预测结果是基于路况信息、车况信息和脑电信息判断自车当前所处的路况以及驾驶员驾驶意图的,实时行驶区域的行车空间满足对应行驶模式的预设条件时,在保证安全的基础上执行驾驶员的驾驶意图,从而得到路线预测结果。The road condition information and vehicle condition information obtained in real time are input into the trained lane change decision model, and the lane change decision model is used to predict the driving route. The route prediction results may include lane keeping mode, lane changing driving mode or intersection turning mode. It can be understood that the lane keeping mode, lane changing driving mode and intersection steering mode are all preset driving modes, and the route prediction result is based on the road condition information, vehicle condition information and EEG information to judge the current road condition of the vehicle and the driver's For driving intentions, when the driving space in the real-time driving area meets the preset conditions of the corresponding driving mode, the driver's driving intentions are executed on the basis of ensuring safety, so as to obtain the route prediction result.
在本实施例中,车道保持模式可理解为自车维持沿当前车道行驶的行驶模式,换道行驶模式可理解为自车从当前行驶车道切换至其他车道行驶的行驶模式,路口转向可以理解为自车到达路口时依据初始行驶路线或实时行驶路线进行转向的行驶模式。In this embodiment, the lane keeping mode can be understood as the driving mode in which the own vehicle maintains driving along the current lane, the lane-changing driving mode can be understood as the driving mode in which the own vehicle switches from the current driving lane to other lanes, and the intersection turning can be understood as When the ego vehicle arrives at the intersection, it turns according to the initial driving route or the real-time driving route.
步骤S104,将路线预测结果和脑电信息所表征的驾驶员驾驶意图进行比较,在路线预测结果与驾驶员驾驶意图一致时,控制自车沿路线预测结果执行变道行驶动作。Step S104, comparing the route prediction result with the driver's driving intention represented by the EEG information, and controlling the vehicle to change lanes along the route prediction result when the route prediction result is consistent with the driver's driving intention.
在一种可能的实现方式中,路线预测结果和脑电信息所表征的驾驶员驾驶意图进行比较,在路线预测结果与驾驶员驾驶意图一致时,通过与自车的控制系统进行交互,将路线预测结果发送至车辆的控制系统,车辆的控制系统将接收到的路线预测结果所指示的行驶模式转换为对车辆的控制指令,控制车辆按照基于路线预测结果所指示的行驶模式来行驶,当路线预测结果为变道时,控制自车执行变道行驶动作;否则,执行驾驶员驾驶意图所对应的驾驶动作。In a possible implementation, the route prediction result is compared with the driver's driving intention represented by the EEG information. When the route prediction result is consistent with the driver's driving intention, the route will The prediction result is sent to the control system of the vehicle, and the vehicle control system converts the driving mode indicated by the received route prediction result into a control command for the vehicle, and controls the vehicle to drive according to the driving mode indicated by the route prediction result. When the prediction result is a lane change, the ego vehicle is controlled to perform a lane change driving action; otherwise, the driving action corresponding to the driver's driving intention is performed.
图2是第二个实施例示出的一种自动驾驶变道方法的流程示意图,在图一实施例的基础上,图2中的方法可以包括但不限于包括步骤S201至步骤S206。Fig. 2 is a schematic flowchart of a method for changing lanes for automatic driving shown in the second embodiment. On the basis of the embodiment in Fig. 1, the method in Fig. 2 may include but not limited to steps S201 to S206.
步骤S201,获取离线训练信息。Step S201, acquiring offline training information.
离线训练信息包括离线的路况信息和离线的车况信息。The offline training information includes offline road condition information and offline vehicle condition information.
可以理解的是,离线训练信息是保存起来的历史信息,即历史数据路况信息和历史车况信息,历史数据路况信息和历史车况信息两者根据产生的时间来进行匹配并构成训练集。It can be understood that the offline training information is historical information saved, that is, historical data road condition information and historical vehicle condition information, and the historical data road condition information and historical vehicle condition information are matched according to the generation time to form a training set.
步骤S202,使用离线训练信息构造决策表。Step S202, using offline training information to construct a decision table.
其中,决策表又称判断表,是一种呈表格状的图形工具,适用于描述处理判断条件较多,各条件又相互组合、有多种决策方案的情况。精确而简洁描述复杂逻辑的方式,将多个条件与这些条件满足后要执行动作相对应。但不同于传统程序语言中的控制语句,决策表能将多个独立的条件和多个动作直接的联系清晰的表示出来。Among them, the decision table, also known as the judgment table, is a graphical tool in the form of a table, which is suitable for describing the situation where there are many judgment conditions, the conditions are combined with each other, and there are multiple decision-making options. A way of describing complex logic with precision and succinctness, mapping multiple conditions to actions to be performed if those conditions are met. However, unlike the control statements in traditional programming languages, the decision table can clearly express the direct connection between multiple independent conditions and multiple actions.
在一种可能的实现方式中,将离线训练信息进行预处理,使离线的路况信息和离线的车况信息按照时间进行匹配,对于不完备的匹配结果,适用粗糙神经网络算法剔除不完备的离线训练信息,从而形成决策表。In a possible implementation, the offline training information is preprocessed so that the offline road condition information and the offline vehicle condition information are matched according to time. For incomplete matching results, the rough neural network algorithm is applied to eliminate the incomplete offline training information to form a decision table.
步骤S203,对决策表中的离线训练信息进行离散化处理,利用预设的神经网络模型对离散化后的离线训练信息进行分类,得到离散分类结果。Step S203, discretize the offline training information in the decision table, classify the discretized offline training information by using a preset neural network model, and obtain a discrete classification result.
在一种可能的实现方式中,将离散化后的离线训练信息输入预设的神经网络模型,预设的神经网络模型预先设置有分类分布的概率参数,可以为服从预设概率参数的分类分布,预设概率参数具体概率值可预先进行初始设置,依次将离线训练信息中的各组数据进行编号,在得到预设概率参数后,获取标号与该分布选择参数相同的数据,并将选出的数据分类至对应的类别中,得到离散分类结果。In a possible implementation, the discretized offline training information is input into a preset neural network model, and the preset neural network model is preset with a probability parameter of a classification distribution, which can be a classification distribution that obeys the preset probability parameter , the specific probability value of the preset probability parameter can be initially set in advance, and each group of data in the offline training information is numbered in turn. After obtaining the preset probability parameter, obtain the data with the same label as the distribution selection parameter, and select Classify the data into the corresponding categories to obtain discrete classification results.
步骤S204,依据离散分类结果对决策表进行属性约减,确定用于表达决策的最小条件属性集。Step S204, perform attribute reduction on the decision table according to the discrete classification result, and determine the minimum conditional attribute set for expressing the decision.
可以理解的是,属性约减是对决策表中将决策作用不大的离线训练信息删除,减少决策表的数据量,这是由于离散化后的离线训练信息具有数据样本大、数据多样化,数据样本质量较高的特点,删除的离线训练信息也不会影响对对象的表达,将这些冗余数据删掉,简化决策的条件属性。It can be understood that attribute reduction is to delete the offline training information that has little decision-making effect in the decision table and reduce the data volume of the decision table. This is because the discretized offline training information has large data samples and diverse data. Due to the high quality of the data samples, the deleted offline training information will not affect the expression of the object, and these redundant data are deleted to simplify the conditional attributes of the decision.
步骤S205,整合表达决策结果相同的最小条件属性集,计算整合后的最小条件属性集的覆盖度和置信水平以确定离线决策规则。Step S205 , integrating the minimum conditional attribute sets that express the same decision result, and calculating the coverage and confidence level of the integrated minimum conditional attribute sets to determine offline decision rules.
在一种可能的实现方式中,将表达决策结果相同的最小条件属性集进行归纳总结,从而对决策规则进行提取,具体地,规则提取是一个将前期工作进行归纳总结的过程,将决策表按照属性约减情况重新化简,将其中经过离散、约减后的条件属性区间以及决策属性一样的规则合并在一起,并计算出规则的覆盖度,覆盖度即为此条规则占决策属性相同的所有规则中所占比例。In a possible implementation, the minimum set of conditional attributes that express the same decision result is summarized, so as to extract the decision rules. Specifically, the rule extraction is a process of summarizing the previous work. The decision table is divided into The attribute reduction situation is re-simplified, and the discretized and reduced conditional attribute intervals and the rules with the same decision attribute are combined together, and the coverage of the rule is calculated. The coverage is the rule that accounts for the same decision attribute. percentage of all rules.
步骤S206,使用离线决策规则对变道决策模型进行训练,将变道决策模型的路线预测结果与离线的脑电信息进行比较。Step S206, using the offline decision rule to train the lane change decision model, and comparing the route prediction result of the lane change decision model with the offline EEG information.
在一种可能的实现方式中,训练过程中迭代地调整变道决策模型的参数,当变道决策模型的路线预测结果与离线的脑电信息的吻合程度达到预设准确率时,结束训练。In a possible implementation, the parameters of the lane change decision model are iteratively adjusted during the training process, and the training ends when the matching degree between the route prediction result of the lane change decision model and the offline EEG information reaches a preset accuracy rate.
请参阅图3,在一些实施例中,步骤S204可以包括但不限于包括步骤S301至步骤S305。Please refer to FIG. 3 , in some embodiments, step S204 may include but not limited to include steps S301 to S305.
步骤S301,依据离线训练信息构建训练数据集,随机对训练数据集中的各个类型的离线训练信息进行编码。Step S301, constructing a training data set according to offline training information, and randomly encoding each type of offline training information in the training data set.
在一种可能的实现方式中,对训练数据集中的各个类型的离线训练信息进行编码,可以是将各个数据用固定长度的二进制字符串来表示,使用随机的二进制数来表示,其中每一位表示一种属性,例如,1代表选择该决策属性为所需的数据,0代表不选择该决策属性为所需的数据。In a possible implementation, encoding each type of offline training information in the training data set may be represented by a fixed-length binary string and a random binary number, where each bit Indicates an attribute, for example, 1 means that the decision attribute is selected as the required data, and 0 means that the decision attribute is not selected as the required data.
示例性地,针对典型变道场景,离线训练信息构造的训练数据集为{xi,yi,vi,xi环境,yi环境,vi环境},其中,vi为自车速度,(xi,yi)为自车的GPS位置横纵坐标,(xi环境,yi环境)为周围车辆或障碍物的相对自车的位置坐标,vi环境为周围车辆相对自车的速度,对训练数据集进行随机编码,得到二进制字符串{0,0,1,1,0,0}。Exemplarily, for typical lane-changing scenarios, the training data set constructed from offline training information is {xi , y i , v i , xi environment , y i environment , v i environment }, where v i is the vehicle speed , (x i , y i ) is the horizontal and vertical coordinates of the GPS position of the self-vehicle, (xi environment , y i environment ) is the position coordinates of the surrounding vehicles or obstacles relative to the self-vehicle, and the v i environment is the position coordinates of the surrounding vehicles relative to the self-vehicle The speed of the training data set is randomly encoded to obtain a binary string {0,0,1,1,0,0}.
步骤S302,计算决策属性对决策所需离线训练信息的依赖程度。Step S302, calculating the degree of dependence of the decision attribute on the offline training information required for the decision.
在一种可能的实现方式中,首先定义一个适应值函数,适应值函数为:In a possible implementation, first define a fitness value function, and the fitness value function is:
使用依赖度公式计算决策属性对决策所需离线训练信息的依赖程度,依赖度公式为:Use the dependence degree formula to calculate the dependence degree of the decision attribute on the offline training information required for decision-making. The dependence degree formula is:
其中,f(x)为适应度函数,h(x)为一条二进制字符串中1的个数,即为所选中的离线训练信息数据的个数,n为这一二进制字符串的总共字符数,即所有离线训练信息数据的个数,m为决策属性对这一二进制字符串中1代表的条件属性的依赖程度,m值越大,决策属性对条件属性的依赖越强,目标是在保证决策属性对整体的依赖度不变的情况下使h(x)尽量小,VC(D)表示决策属性D的依赖程度,c为离线训练信息的数据,U为论域。Among them, f(x) is the fitness function, h(x) is the number of 1s in a binary string, which is the number of selected offline training information data, and n is the total number of characters in this binary string , that is, the number of all offline training information data, m is the dependence degree of the decision attribute on the condition attribute represented by 1 in this binary string, the larger the value of m, the stronger the dependence of the decision attribute on the condition attribute, the goal is to ensure Keep h(x) as small as possible while the dependence of the decision-making attribute on the whole remains unchanged, V C (D) represents the dependence degree of the decision-making attribute D, c is the data of offline training information, and U is the domain of discourse.
步骤S303,判断当前的依赖程度是否等于最小相对依赖值。若是执行步骤S304;若否,执行步骤S305。Step S303, judging whether the current degree of dependence is equal to the minimum relative dependence value. If yes, execute step S304; if no, execute step S305.
步骤S304,在连续若干代最优适应度的训练数据集不再提高时,输出最小条件属性集。Step S304, when the training data set with optimal fitness for several consecutive generations is no longer improved, output the minimum conditional attribute set.
步骤S305,迭代地对训练数据集进行随机选择、交叉和变异处理,将最优适应度的训练数据集复制给下一代的训练数据集,直至连续若干代最优适应度的训练数据集不再提高并输出最小条件属性集。Step S305, iteratively perform random selection, crossover and mutation processing on the training data set, copy the training data set with the best fitness to the next generation training data set, until the training data set with the best fitness for several consecutive generations is no longer Raise and output a minimal set of conditional attributes.
请参阅图4,在一些实施例中,步骤S102可以包括但不限于包括步骤S401至步骤S403。Please refer to FIG. 4 , in some embodiments, step S102 may include but not limited to include steps S401 to S403.
步骤S401,采集驾驶员驾驶时产生的脑电波信号,得到初始脑电信息。Step S401, collecting brain wave signals generated by the driver while driving to obtain initial brain wave information.
步骤S402,对初始脑电信息进行预处理,使用预设的脑电类比模板对预处理后的初始脑电信息进行比较,得到脑电类比结果。Step S402, preprocessing the initial EEG information, using a preset EEG analog template to compare the preprocessed initial EEG information to obtain an EEG analog result.
步骤S403,依据脑电类比结果确定预处理后的初始脑电信息中存在的错误电位并进行剔除处理,得到表征驾驶员驾驶意图的脑电信息。Step S403, according to the EEG analogy results, determine the error potentials in the preprocessed initial EEG information and perform elimination processing to obtain the EEG information representing the driving intention of the driver.
在一种可能的实现方式中,基于Biopac actiCHAmp 64导脑电采集分析系统对FP1~O2共32个EEG通道进行脑电信号进行采集;根据自车的位置进行划分,分为左前、正前、右前、左后、正后、右后六块区域,采集自车的位置、速度信息和六块区域的其他车辆位置、速度信息。使用FP1、F3、F7、FC5、FC1、FP2、F7、F4、F8、FC6、FC2通道的脑电信号使用共同平均参考值(Common Averagen Reference,CAR)进行空间滤波,消除噪声;利用1-10hz带通滤波进行带通滤波;通过典型相关分析(canonical correlation analysis,CCA)增强脑电信号特征,最后基于类比模板进行模板匹配实现分类,若产生错误相关电位则剔除。In a possible implementation, based on the Biopac actiCHAmp 64-channel EEG acquisition and analysis system, the EEG signals of 32 EEG channels FP1-O2 are collected; according to the position of the vehicle, it is divided into left front, front front, The front right, rear left, front rear, and rear right six areas collect the position and speed information of the own vehicle and the position and speed information of other vehicles in the six areas. EEG signals using FP1, F3, F7, FC5, FC1, FP2, F7, F4, F8, FC6, FC2 channels are spatially filtered using Common Average Reference (CAR) to eliminate noise; use 1-10hz Band-pass filtering is used for band-pass filtering; canonical correlation analysis (CCA) is used to enhance the characteristics of EEG signals, and finally, template matching is performed based on analog templates to achieve classification, and if false correlation potentials are generated, they are eliminated.
请参阅图5,在一些实施例中,步骤S104可以包括但不限于包括步骤S501至步骤S505。Please refer to FIG. 5 , in some embodiments, step S104 may include but not limited to include steps S501 to S505.
步骤S501,依据自车与障碍物的距离找寻若干个预瞄点,使用预瞄点构建的贝塞尔曲线绘制换道路线。Step S501, find several preview points according to the distance between the ego vehicle and the obstacle, and use the Bezier curve constructed by the preview points to draw a lane change route.
贝塞尔曲线(Bézier curve),又称贝兹曲线或贝济埃曲线,是应用于二维图形应用程序的数学曲线。贝塞尔曲线是通过控制曲线上的四个点(起始点、终止点以及两个相互分离的中间点)来创造、编辑图形,其中起重要作用的是位于曲线中央的控制线。这条线是虚拟的,中间与贝塞尔曲线交叉,两端是控制端点。移动两端的端点时贝塞尔曲线改变曲线的曲率(弯曲的程度);移动中间点(也就是移动虚拟的控制线)时,贝塞尔曲线在起始点和终止点锁定的情况下做均匀移动。A Bézier curve, also known as a Bézier curve or a Bézier curve, is a mathematical curve applied to two-dimensional graphics applications. The Bezier curve creates and edits graphics by controlling four points on the curve (start point, end point, and two mutually separated intermediate points), among which the control line in the center of the curve plays an important role. The line is virtual, intersected with a Bezier curve in the middle, and controlled endpoints at both ends. When the endpoints at both ends are moved, the Bezier curve changes the curvature (the degree of curvature); when the middle point is moved (that is, the virtual control line is moved), the Bezier curve moves evenly with the start point and end point locked .
贝塞尔曲线具有曲率连续、易于跟踪和满足车辆动力学约束等优点。因此本发明实施例选择采用五阶贝塞尔曲线进行换道路线绘制。Bezier curves have the advantages of continuous curvature, easy tracking and satisfying vehicle dynamic constraints. Therefore, the embodiment of the present invention chooses to use the fifth-order Bezier curve to draw the road change route.
五阶贝塞尔曲线可以表示为:The fifth-order Bezier curve can be expressed as:
可以表示为: It can be expressed as:
其中,B(t)表示贝塞尔曲线,P0,P1,P2,P3,P4和P5均为预瞄点,t∈[0,1],n∈[0,5],i∈[0,5]。Among them, B(t) represents the Bezier curve, P 0 , P 1 , P 2 , P 3 , P 4 and P 5 are preview points, t∈[0,1], n∈[0,5] , i∈[0,5].
依据自车与障碍物的距离找寻若干个预瞄点可以是在实时行驶区域内进行选取,将选取得到的各个预瞄点进行连接得到贝塞尔曲线,作为换道路线。如图8所示,五阶贝塞尔曲线中的6个预瞄点的坐标Pi=(Xi,Yi)根据选取自动驾驶车辆与障碍物的距离确定,具体而言:Finding several preview points according to the distance between the vehicle and the obstacle can be selected in the real-time driving area, and the selected preview points are connected to obtain a Bezier curve as a lane change route. As shown in Figure 8, the coordinates P i = (X i , Y i ) of the six preview points in the fifth-order Bezier curve are determined according to the distance between the selected self-driving vehicle and the obstacle, specifically:
首先确定预瞄点P0和P5的坐标:First determine the coordinates of the preview points P 0 and P 5 :
P0=(X0,Y0);P 0 =(X 0 ,Y 0 );
P5=(X5,Y5)=(L,wr);P 5 =(X 5 ,Y 5 )=(L,w r );
将自车与障碍物的距离划分为4个部分,得到P1,P2,P3和P4坐标:Divide the distance between the ego vehicle and the obstacle into 4 parts, and obtain the coordinates of P 1 , P 2 , P 3 and P 4 :
P1=(X1,Y1)=(X5/4,Y0);P 1 =(X 1 ,Y 1 )=(X 5 /4,Y 0 );
P2=(X2,Y2)=(X5/2,Y0);P 2 =(X 2 ,Y 2 )=(X 5 /2,Y 0 );
P3=(X3,Y3)=(X5/2,Y5);P 3 =(X 3 ,Y 3 )=(X 5 /2,Y 5 );
P4=(X4,Y4)=(3X5/4,Y5);P 4 =(X 4 ,Y 4 )=(3X 5 /4,Y 5 );
其中,L为感知系统检测到的在frenet坐标系下自车与障碍物的距离;wr为感知系统中车道线检测提供的车道宽度信息。Among them, L is the distance between the vehicle and the obstacle in the frenet coordinate system detected by the perception system; w r is the lane width information provided by the lane line detection in the perception system.
步骤S502,对障碍物进行边界膨胀处理,依据当前的换道路线和自车环境信息设定障碍物的膨胀半径。Step S502, performing boundary expansion processing on the obstacle, and setting the expansion radius of the obstacle according to the current lane change route and the environment information of the self-vehicle.
使用贝塞尔曲线绘制变道路线时,由于将车辆看作为一个质点,忽略了车辆自身宽度,自车沿变道路线行驶时存在与障碍物产生碰撞的可能,通过对障碍物进行边界膨胀处理,将自车沿变道路线行驶时与障碍物之间的距离和边界膨胀处理的障碍物碰撞的半径进行比较,进行碰撞评估。碰撞评估的公式可以表示为:When using the Bezier curve to draw the road-changing route, since the vehicle is regarded as a mass point and the width of the vehicle itself is ignored, there is a possibility that the self-vehicle may collide with obstacles when driving along the road-changing route, and the boundary expansion of obstacles is processed , compare the distance between the ego vehicle and the obstacle when driving along the road-changing route and the collision radius of the obstacle processed by boundary expansion, and perform collision evaluation. The formula for collision assessment can be expressed as:
其中,r为障碍物的膨胀半径,为车辆自身宽度,dmin为期望的障碍物与自车的最小安全距离,yob为障碍物中心在frenet坐标系下与车道线的投影距离,wc1为感知系统检测的障碍物宽度。Among them, r is the expansion radius of the obstacle, is the width of the vehicle itself, d min is the minimum safe distance between the expected obstacle and the own vehicle, y ob is the projected distance between the center of the obstacle and the lane line in the frenet coordinate system, and w c1 is the width of the obstacle detected by the perception system.
步骤S503,判断障碍物的膨胀半径是否大于障碍物的宽度。若是,执行步骤S504;若否,执行步骤S505。Step S503, judging whether the expansion radius of the obstacle is greater than the width of the obstacle. If yes, execute step S504; if not, execute step S505.
判断障碍物的膨胀半径是否大于障碍物的宽度时,即:When judging whether the expansion radius of the obstacle is greater than the width of the obstacle, that is:
步骤S404,控制自车沿当前的换道路线行驶。Step S404, controlling the ego vehicle to travel along the current lane changing route.
步骤S505,重置预瞄点的位置,使用重置后的预瞄点构建的贝塞尔曲线重新绘制换道路线,重新绘制的换道路线所对应的自车转向角大于上一次绘制的换道路线所对应的自车转向角。返回步骤S502。Step S505, reset the position of the preview point, use the Bezier curve constructed by the reset preview point to redraw the road change route, and the steering angle of the vehicle corresponding to the redrawn road change route is greater than the previous drawing The steering angle of the ego vehicle corresponding to the road line. Return to step S502.
在实时行驶区域内重新选取预瞄点,首先重新确定预瞄点P5的坐标,通过缩短之间P0和P5的距离来增大自车转向角,使重新绘制的换道路线所对应的自车转向角大于上一次绘制的换道路线所对应的自车转向角,降低自车与障碍物的碰撞风险。在本实施例中,预瞄点P5的坐标以下述公式更改:Reselect the preview point in the real-time driving area, first re-determine the coordinates of the preview point P5 , and increase the steering angle of the own vehicle by shortening the distance between P0 and P5 , so that the redrawn lane change line corresponds to The steering angle of the own vehicle is greater than the steering angle of the own vehicle corresponding to the lane change route drawn last time, which reduces the risk of collision between the own vehicle and obstacles. In this embodiment, the coordinates of the preview point P5 are changed with the following formula:
P5=(X5,Y5)=(4L/5,wr)。P 5 =(X 5 ,Y 5 )=(4L/5,w r ).
如图9所示,自车沿当前的换道路线行驶并绕过障碍物后,控制自车返回值初始行驶路线的车道上,可以是使用镜像的贝塞尔曲线绘制返回初始行驶路线的车道上的路线,从而在绕过障碍物后返回值初始行驶路线的车道。As shown in Figure 9, after the self-vehicle travels along the current lane-changing route and bypasses obstacles, control the ego-vehicle to return to the lane of the initial driving route, which can be drawn using a mirrored Bezier curve to return to the lane of the initial driving route to return to the lane of the initial travel route after going around the obstacle.
在一些实施例中,如图10所示,控制自车沿当前的换道路线行驶可以是检测范围内未出现连续障碍物时,控制换道后的自车驶过障碍物后再变换至初始行驶路线的车道;检测范围内出现连续障碍物时,控制换道后的自车驶过连续障碍物后再变换至初始行驶路线的车道。其中,连续障碍物为与相同车道中的前一个障碍物的距离小于预设的障碍距离阈值的障碍物。In some embodiments, as shown in FIG. 10 , controlling the ego vehicle to travel along the current lane-changing route may be that when no continuous obstacles appear within the detection range, the ego vehicle after the lane-changing is controlled to drive past the obstacle and then change to the initial state. The lane of the driving route; when continuous obstacles appear within the detection range, the ego vehicle after the lane change is controlled to pass through the continuous obstacles and then change to the lane of the initial driving route. Wherein, the continuous obstacle is an obstacle whose distance from the previous obstacle in the same lane is smaller than a preset obstacle distance threshold.
上述实施例中,对自车的控制包括横向控制和纵向控制。In the above embodiments, the control of the ego vehicle includes lateral control and longitudinal control.
横向控制采用LQR算法,离散情况下LQR算法步骤如下:Lateral control adopts LQR algorithm, and the steps of LQR algorithm in discrete cases are as follows:
1、确定迭代范围N;1. Determine the iteration range N;
2、设置迭代初始值,令PN=Qf,其中,Qf=Q;2. Set the initial value of iteration, let P N =Q f , where Q f =Q;
3、循环迭代,从后往前t=N,…,1:3. Loop iteration, from back to front t=N,...,1:
Pt-1=Q+ATPtA-ATPtB(R+BTPtB)-1BTPtA;P t-1 =Q+A T P t AA T P t B(R+B T P t B) -1 B T P t A;
4、从t=0,…,N-1,循环计算反馈系数:4. Calculate the feedback coefficient cyclically from t=0,...,N-1:
Kt=(R+BTPt+1B)-1BTPt+1A;K t = (R+B T P t+1 B) -1 B T P t+1 A;
5、最终得到优化的控制量:5. Finally, the optimized control amount is obtained:
纵向控制基于PID算法进行控制,具体为:The longitudinal control is controlled based on the PID algorithm, specifically:
构建基于目标速度的控制量输出模型,所述控制量输出模型为:Construct the control quantity output model based on the target speed, the control quantity output model is:
其中,Ut表示控制输出量,e(t)=vd-va,vd表示目标速度,va表示当前速度,KP表示比例放大系数,KI表示积分时间常数,KD表示微分时间常数;Among them, U t represents the control output, e(t)=v d -va , v d represents the target speed, v a represents the current speed, K P represents the proportional amplification factor, K I represents the integral time constant, K D represents the differential time constant;
对所述控制量输出模型进行离散化处理,得到离散的控制量输出模型,所述离散的控制量输出模型为:Discretization is performed on the control quantity output model to obtain a discrete control quantity output model, and the discrete control quantity output model is:
其中,T为控制器的指令周期,ej表示j时刻的速度偏差,ek表示k时刻的速度偏差,ek-1表示k-1时刻的速度偏差;Among them, T is the command cycle of the controller, e j represents the speed deviation at time j, e k represents the speed deviation at time k, and e k-1 represents the speed deviation at time k-1;
使用所述离散的控制量输出模型计算所述控制输出量,通过计算得到的所述控制输出量对车辆进行辅助驾驶控制。The discrete control output model is used to calculate the control output, and the assisted driving control of the vehicle is performed through the calculated control output.
在一些实施例中,依据实时的路况信息和实时的车况信息构建模拟行驶情景,将模拟行驶情景进行显示,所述模拟行驶情景将实时的路况信息转换为模拟的路况信息以及将实时的车况信息转换为模拟的车况信息。In some embodiments, a simulated driving scenario is constructed based on real-time road condition information and real-time vehicle condition information, and the simulated driving scenario is displayed. The simulated driving scenario converts real-time road condition information into simulated road condition information and converts the real-time vehicle condition information Convert to simulated vehicle condition information.
由上可知,在本申请实施例所提供的自动驾驶变道方法中,基于深度学习的方法,基于离线的路况信息、车况信息和表征驾驶员驾驶意图的脑电信息对变道决策模型进行训练,促进类人自动驾驶的实现,基于脑电的驾驶员意图识别客观且准确率高,提升自动驾驶变道时的同步性和安全性。As can be seen from the above, in the automatic driving lane change method provided in the embodiment of the present application, the lane change decision model is trained based on the deep learning method based on offline road condition information, vehicle condition information and EEG information representing the driver's driving intention. , to promote the realization of human-like automatic driving, the driver's intention recognition based on EEG is objective and accurate, and improve the synchronization and safety of automatic driving when changing lanes.
为了更好地实施以上方法,本发明实施例还提供一种辅助驾驶装置,该辅助驾驶装置具体可以集成在服务器或终端等电子设备中。In order to better implement the above method, an embodiment of the present invention further provides a driving assistance device, and the driving assistance device may specifically be integrated into an electronic device such as a server or a terminal.
请参阅图6,本申请实施例还提供一种自动驾驶变道装置,可以实现上述实施例提到的自动驾驶变道方法,该装置包括:Please refer to Fig. 6, the embodiment of the present application also provides an automatic driving lane changing device, which can implement the automatic driving lane changing method mentioned in the above embodiment, the device includes:
获取模块601,用于获取实时的路况信息和实时的车况信息,所述路况信息包括车道数量、自车所在车道、行驶车辆以及表征自车与行驶车辆或障碍物相对距离的障碍间距,所述车况信息包括自车速度和自车定位;The acquisition module 601 is used to acquire real-time road condition information and real-time vehicle condition information. The road condition information includes the number of lanes, the lane where the vehicle is located, the driving vehicle, and the obstacle distance representing the relative distance between the vehicle and the vehicle or obstacles. Vehicle condition information includes vehicle speed and vehicle location;
采集模块602,用于对驾驶员进行脑电采集,得到实时的脑电信息,所述脑电信息表征驾驶员驾驶意图;The acquisition module 602 is used to collect the EEG of the driver to obtain real-time EEG information, which represents the driver's driving intention;
预测模块603,用于基于实时的路况信息和实时的车况信息,利用训练好的变道决策模型预测自车在当前路况行驶的行驶路线,得到路线预测结果;Prediction module 603, for based on real-time road condition information and real-time vehicle condition information, utilizes the well-trained lane-changing decision-making model to predict the traveling route of self-vehicle in current road condition, obtains route prediction result;
控制模块604,用于将路线预测结果和脑电信息所表征的驾驶员驾驶意图进行比较,在路线预测结果与驾驶员驾驶意图一致时,控制自车沿路线预测结果执行变道行驶动作。The control module 604 is used to compare the route prediction result with the driver's driving intention represented by the EEG information, and when the route prediction result is consistent with the driver's driving intention, control the self-vehicle to perform a lane-changing action along the route prediction result.
该自动驾驶变道装置的具体实施方式与上述自动驾驶变道方法的具体实施例基本相同,在此不再赘述。The specific implementation of the automatic driving lane changing device is basically the same as the specific embodiment of the above automatic driving lane changing method, and will not be repeated here.
本申请实施例还提供了一种电子设备,电子设备包括存储器和处理器,存储器存储有计算机程序,处理器执行计算机程序时实现上述自动驾驶变道方法。该电子设备可以为包括平板电脑、车载电脑等任意智能终端。An embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned lane changing method for automatic driving when executing the computer program. The electronic device may be any intelligent terminal including a tablet computer, a vehicle-mounted computer, and the like.
请参阅图7,图7示意了另一实施例的电子设备的硬件结构,电子设备包括:Please refer to FIG. 7. FIG. 7 illustrates a hardware structure of an electronic device in another embodiment. The electronic device includes:
处理器701,可以采用通用的CPU(CentralProcessingUnit,中央处理器)、微处理器、应用专用集成电路(ApplicationSpecificIntegratedCircuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本申请实施例所提供的技术方案;The
存储器702,可以采用只读存储器(ReadOnlyMemory,ROM)、静态存储设备、动态存储设备或者随机存取存储器(RandomAccessMemory,RAM)等形式实现。存储器702可以存储操作系统和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器702中,并由处理器701来调用执行本申请实施例的自动驾驶变道方法;The
输入/输出接口703,用于实现信息输入及输出;The input/output interface 703 is used to realize information input and output;
通信接口704,用于实现本设备与其他设备的通信交互,可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信;The
总线705,在设备的各个组件(例如处理器701、存储器702、输入/输出接口703和通信接口704)之间传输信息;A bus 705, which transmits information between various components of the device (such as a
其中处理器701、存储器702、输入/输出接口703和通信接口704通过总线705实现彼此之间在设备内部的通信连接。The
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现上述自动驾驶变道方法。The embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned lane changing method for automatic driving is realized.
存储器作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序。此外,存储器可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器可选包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至该处理器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。As a non-transitory computer-readable storage medium, memory can be used to store non-transitory software programs and non-transitory computer-executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
本申请实施例提供的自动驾驶变道方法、装置、电子设备及存储介质,基于深度学习的方法,基于离线的路况信息、车况信息和表征驾驶员驾驶意图的脑电信息对变道决策模型进行训练,促进类人自动驾驶的实现,基于脑电的驾驶员意图识别客观且准确率高,提升自动驾驶变道时的同步性和安全性。The automatic driving lane change method, device, electronic equipment, and storage medium provided in the embodiments of the present application are based on deep learning methods, and based on offline road condition information, vehicle condition information, and EEG information representing the driver's driving intention, the lane change decision model is implemented. Training to promote the realization of human-like automatic driving. The driver's intention recognition based on EEG is objective and accurate, and the synchronization and safety of automatic driving when changing lanes are improved.
本申请实施例描述的实施例是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域技术人员可知,随着技术的演变和新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The embodiments described in the embodiments of the present application are to illustrate the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation to the technical solutions provided by the embodiments of the present application. Those skilled in the art know that with the evolution of technology and new For the emergence of application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
本领域技术人员可以理解的是,图中示出的技术方案并不构成对本申请实施例的限定,可以包括比图示更多或更少的步骤,或者组合某些步骤,或者不同的步骤。Those skilled in the art can understand that the technical solution shown in the figure does not constitute a limitation to the embodiment of the present application, and may include more or less steps than those shown in the figure, or combine some steps, or different steps.
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、设备中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and an appropriate combination thereof.
本申请的说明书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description of the present application and the above drawings are used to distinguish similar objects and not necessarily to describe specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。It should be understood that in this application, "at least one (item)" means one or more, and "multiple" means two or more. "And/or" is used to describe the association relationship of associated objects, indicating that there can be three types of relationships, for example, "A and/or B" can mean: only A exists, only B exists, and A and B exist at the same time , where A and B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c ", where a, b, c can be single or multiple.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the above units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括多指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例的方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including multiple instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method in each embodiment of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk or optical disk, etc., which can store programs. medium.
以上参照附图说明了本申请实施例的优选实施例,并非因此局限本申请实施例的权利范围。本领域技术人员不脱离本申请实施例的范围和实质内所作的任何修改、等同替换和改进,均应在本申请实施例的权利范围之内。The preferred embodiments of the embodiments of the present application have been described above with reference to the accompanying drawings, which does not limit the scope of rights of the embodiments of the present application. Any modifications, equivalent replacements and improvements made by those skilled in the art without departing from the scope and essence of the embodiments of the present application shall fall within the scope of rights of the embodiments of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211445165.0A CN115716476A (en) | 2022-11-18 | 2022-11-18 | Lane changing method, device, electronic device and storage medium for automatic driving |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211445165.0A CN115716476A (en) | 2022-11-18 | 2022-11-18 | Lane changing method, device, electronic device and storage medium for automatic driving |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115716476A true CN115716476A (en) | 2023-02-28 |
Family
ID=85255535
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211445165.0A Pending CN115716476A (en) | 2022-11-18 | 2022-11-18 | Lane changing method, device, electronic device and storage medium for automatic driving |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115716476A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116788271A (en) * | 2023-06-30 | 2023-09-22 | 北京理工大学 | Brain-controlled driving method and system based on human-machine collaborative control |
CN117184086A (en) * | 2023-11-07 | 2023-12-08 | 江西科技学院 | Intelligent driving system based on brain waves |
-
2022
- 2022-11-18 CN CN202211445165.0A patent/CN115716476A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116788271A (en) * | 2023-06-30 | 2023-09-22 | 北京理工大学 | Brain-controlled driving method and system based on human-machine collaborative control |
CN116788271B (en) * | 2023-06-30 | 2024-03-01 | 北京理工大学 | Brain control driving method and system based on man-machine cooperation control |
CN117184086A (en) * | 2023-11-07 | 2023-12-08 | 江西科技学院 | Intelligent driving system based on brain waves |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111666921B (en) | Vehicle control method, apparatus, computer device, and computer-readable storage medium | |
US20220212693A1 (en) | Method and apparatus for trajectory prediction, device and storage medium | |
CN109109863B (en) | Intelligent device and control method and device thereof | |
CN116323364A (en) | Waypoint prediction and motion forecast for vehicle motion planning | |
CN115716476A (en) | Lane changing method, device, electronic device and storage medium for automatic driving | |
CN114323054B (en) | Method and device for determining running track of automatic driving vehicle and electronic equipment | |
US20210271241A1 (en) | Perpendicular cut-in training | |
US11912301B1 (en) | Top-down scenario exposure modeling | |
CN116331221A (en) | Assisted driving method, device, electronic device and storage medium | |
Zhang et al. | A framework for turning behavior classification at intersections using 3D LIDAR | |
Li et al. | Attention-based lane change and crash risk prediction model in highways | |
CN117141517A (en) | A vehicle trajectory prediction model construction method that combines data-driven and knowledge-guided methods | |
CN117033562B (en) | Dangerous prediction method and system based on scene element matching | |
CN111583716A (en) | Vehicle obstacle avoidance method and device, electronic equipment and storage medium | |
US11899101B2 (en) | Predicting the course of a road on the basis of radar data | |
Abadi et al. | Detection of Cyclists' Crossing Intentions for Autonomous Vehicles | |
Li et al. | Manifold learning for lane-changing behavior recognition in urban traffic | |
Rizvi et al. | Fuzzy adaptive cruise control system with speed sign detection capability | |
CN115626179A (en) | Automatic driving decision method, device, electronic equipment and storage medium | |
CN116863432B (en) | Weak supervision laser travelable region prediction method and system based on deep learning | |
Zhang et al. | A general framework of learning multi-vehicle interaction patterns from video | |
CN115083199A (en) | Parking space information determination method and related equipment thereof | |
Villagra et al. | Motion prediction and risk assessment | |
GB2599121A (en) | Method and system for training a neural network | |
CN116311114A (en) | Method and device for generating drivable region, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |