CN115257736A - Vehicle distance keeping speed planning method based on fuzzy inference truth value evolution - Google Patents

Vehicle distance keeping speed planning method based on fuzzy inference truth value evolution Download PDF

Info

Publication number
CN115257736A
CN115257736A CN202211001373.1A CN202211001373A CN115257736A CN 115257736 A CN115257736 A CN 115257736A CN 202211001373 A CN202211001373 A CN 202211001373A CN 115257736 A CN115257736 A CN 115257736A
Authority
CN
China
Prior art keywords
vehicle
error
vehicle speed
membership
acceleration
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.)
Granted
Application number
CN202211001373.1A
Other languages
Chinese (zh)
Other versions
CN115257736B (en
Inventor
孟天闯
黄晋
李惠乾
李星宇
杨殿阁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN202211001373.1A priority Critical patent/CN115257736B/en
Publication of CN115257736A publication Critical patent/CN115257736A/en
Application granted granted Critical
Publication of CN115257736B publication Critical patent/CN115257736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units
    • B60W30/14Adaptive cruise control
    • B60W30/16Control of distance between vehicles, e.g. keeping a distance to preceding vehicle
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units
    • B60W30/14Adaptive cruise control
    • B60W30/143Speed control
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W60/00Drive control systems specially adapted for autonomous road vehicles
    • B60W60/001Planning or execution of driving tasks

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Traffic Control Systems (AREA)

Abstract

本申请涉及一种基于模糊推理真值演进的车距保持速度规划方法、装置、计算机设备、存储介质和计算机程序产品。所述方法包括:获取当前车距与预期车距之间的当前车距误差、以及当前车速与预期车速之间的当前车速误差。根据车距误差对应的隶属度函数,确定当前车距误差对应的车距误差隶属度,根据车速误差对应的隶属度函数,确定当前车速误差对应的车速误差隶属度。根据车距误差隶属度、车速误差隶属、隶属度经验函数、加速度对应的隶属度函数和推理损失函数,确定使得推理损失函数的取值处于最小值的加速度,作为预期加速度。通过本申请的方法,能够提升预期加速度的准确率。

Figure 202211001373

The present application relates to a speed planning method, device, computer equipment, storage medium and computer program product based on the evolution of the true value of fuzzy inference. The method includes: obtaining the current vehicle distance error between the current vehicle distance and the expected vehicle distance, and the current vehicle speed error between the current vehicle speed and the expected vehicle speed. According to the membership function corresponding to the vehicle distance error, the vehicle distance error membership degree corresponding to the current vehicle distance error is determined, and the vehicle speed error membership degree corresponding to the current vehicle speed error is determined according to the membership function corresponding to the vehicle speed error. According to the membership degree of the distance error, the membership of the vehicle speed error, the membership experience function, the membership function corresponding to the acceleration, and the inference loss function, the acceleration that makes the value of the inference loss function at the minimum value is determined as the expected acceleration. Through the method of the present application, the accuracy of the expected acceleration can be improved.

Figure 202211001373

Description

一种基于模糊推理真值演进的车距保持速度规划方法A Velocity Planning Method Based on Fuzzy Inference Truth Value Evolution

技术领域technical field

本申请涉及自动驾驶技术领域,特别是涉及一种基于模糊推理真值演进的车距保持速度规划方法。The present application relates to the technical field of automatic driving, in particular to a method for planning distance between vehicles based on truth-value evolution of fuzzy reasoning.

背景技术Background technique

随着自动驾驶技术领域的发展,出现了自动跟车技术,具体而言,通过调整本车辆的车速,以保持与前车车辆固定的相对距离。With the development of the field of automatic driving technology, automatic car following technology appears, specifically, by adjusting the speed of the own vehicle to maintain a fixed relative distance from the preceding vehicle.

相关技术中,一般通过车辆的历史行驶数据,建立经验行驶速度表,即,在前车车速、与前车之间的车距以及本车车速分别处于某个取值范围的情况下,应该调整车辆加速度为某个预期加速度。其中,不同的人建立的经验行驶速度表的差异较大,因此,人工建立经验行驶速度表时的准确度较低。In related technologies, the empirical driving speed table is generally established through the historical driving data of the vehicle, that is, when the speed of the vehicle in front, the distance between the vehicle in front and the speed of the vehicle in front are respectively in a certain value range, the speed table should be adjusted. The vehicle acceleration is some expected acceleration. Among them, the empirical speedometers established by different people are quite different, therefore, the accuracy of manually establishing the empirical speedometers is low.

由于经验行驶速度表的建立得准确度直接决定预期加速度的准确度,因此,相关技术中确定出的预期加速度准确度也较低,基于此对车辆进行车速规划的准确率也较低。Since the accuracy of the establishment of the empirical speed table directly determines the accuracy of the expected acceleration, the accuracy of the expected acceleration determined in the related art is also low, and the accuracy of the vehicle speed planning based on this is also low.

发明内容Contents of the invention

基于此,有必要针对上述技术问题,提供一种能够提高提升对车速规划的准确率的一种基于模糊推理真值演进的车距保持速度规划方法、装置、计算机设备、计算机可读存储介质和计算机程序产品。Based on this, it is necessary to address the above-mentioned technical problems and provide a method, device, computer equipment, computer-readable storage medium and Computer Program Products.

第一方面,本申请提供了一种车速规划方法。所述方法包括:In a first aspect, the present application provides a vehicle speed planning method. The methods include:

获取当前车距与预期车距之间的当前车距误差、以及当前车速与预期车速之间的当前车速误差;Obtain the current vehicle distance error between the current vehicle distance and the expected vehicle distance, and the current vehicle speed error between the current vehicle speed and the expected vehicle speed;

根据车距误差对应的隶属度函数,确定所述当前车距误差对应的车距误差隶属度;根据车速误差对应的隶属度函数,确定所述当前车速误差对应的车速误差隶属度;According to the membership degree function corresponding to the vehicle distance error, determine the vehicle distance error membership degree corresponding to the current vehicle distance error; according to the vehicle speed error corresponding membership degree function, determine the vehicle speed error membership degree corresponding to the current vehicle speed error;

根据所述车距误差隶属度、所述车速误差隶属、隶属度经验函数、所述加速度对应的隶属度函数和推理损失函数,确定使得所述推理损失函数的取值处于最小值的加速度,作为车辆的预期加速度;所述隶属度经验函数用于反映所述期望加速度的隶属度、所述车速误差的隶属度、所述车距误差的隶属度之间的关系;所述推理损失函数用于反映所述期望加速度推理至所述车速误差以及所述车距误差的推理可信度的损失程度。According to the membership degree of the vehicle distance error, the membership of the vehicle speed error, the empirical function of the membership degree, the membership degree function corresponding to the acceleration and the inference loss function, determine the acceleration that makes the value of the inference loss function at a minimum value, as The expected acceleration of the vehicle; the membership degree empirical function is used to reflect the relationship between the membership degree of the expected acceleration, the membership degree of the vehicle speed error, and the membership degree of the vehicle distance error; the reasoning loss function is used for Reflecting the degree of loss of inference reliability from the expected acceleration to the vehicle speed error and the vehicle distance error.

在其中一个实施例中,在根据所述车距误差隶属度、所述车速误差隶属、隶属度经验函数、所述加速度对应的隶属度函数和推理损失函数,确定使得推理损失函数的取值处于最小值的加速度,作为预期加速度前,所述方法还包括:In one of the embodiments, according to the membership degree of the vehicle distance error, the membership of the vehicle speed error, the empirical function of the membership degree, the membership degree function corresponding to the acceleration and the inference loss function, it is determined that the value of the inference loss function is between The acceleration of the minimum value, as the expected acceleration, the method also includes:

获取所述车辆历史行驶经验数据;所述历史经验数据包括加速度、车距误差、车速误差;Acquiring historical driving experience data of the vehicle; the historical experience data includes acceleration, vehicle distance error, and vehicle speed error;

根据所述车距误差对应的隶属度函数、所述车速误差对应的隶属度函数、所述加速度对应的隶属度函数,分别确定将所述历史行驶经验数据中加速度、车距误差、车速误差的历史加速度隶属度、历史车距误差隶属度、历史车速误差隶属度;According to the membership degree function corresponding to the vehicle distance error, the membership degree function corresponding to the vehicle speed error, and the membership degree function corresponding to the acceleration, respectively determine the acceleration, vehicle distance error, and vehicle speed error in the historical driving experience data. The membership degree of historical acceleration, the membership degree of historical vehicle distance error, and the membership degree of historical vehicle speed error;

根据所述历史加速度隶属度、所述历史车距误差隶属度、所述历史车速误差隶属度,拟合得到用于反映所述期望加速度的隶属度、所述车速误差的隶属度、所述车距误差的隶属度之间的关系的隶属度经验函数。According to the membership degree of the historical acceleration, the membership degree of the historical vehicle distance error, and the membership degree of the historical vehicle speed error, the membership degree for reflecting the expected acceleration, the membership degree of the vehicle speed error, and the vehicle speed error membership degree are obtained by fitting. The membership degree empirical function of the relationship between the membership degrees from the error.

在其中一个实施例中,在根据车距误差对应的隶属度函数,确定所述当前车距误差对应的车距误差隶属度;根据车速误差对应的隶属度函数,确定所述当前车速误差对应的车速误差隶属度前,所述方法还包括:In one of the embodiments, according to the membership function corresponding to the vehicle distance error, the vehicle distance error membership degree corresponding to the current vehicle distance error is determined; according to the vehicle speed error corresponding membership degree function, the current vehicle speed error is determined. Before the vehicle speed error membership degree, the method also includes:

分别获取期望加速度、车速误差、车距误差的边界参数;Obtain the boundary parameters of expected acceleration, vehicle speed error, and vehicle distance error respectively;

构建边界参数符合所述车速误差对应的边界参数的函数,作为所述车速误差的隶属度函数;Constructing a function whose boundary parameter conforms to the boundary parameter corresponding to the vehicle speed error, as the membership function of the vehicle speed error;

构建边界参数符合所述车距误差对应的边界参数的函数,作为所述车距误差的隶属度函数;Constructing a function whose boundary parameter conforms to the boundary parameter corresponding to the vehicle distance error, as the membership function of the vehicle distance error;

构建边界参数符合所述期望加速度对应的边界参数的函数,作为所述期望加速度对应的隶属度函数。A function whose boundary parameters conform to the boundary parameters corresponding to the expected acceleration is constructed as a membership function corresponding to the expected acceleration.

在其中一个实施例中,所述获取期望加速度的边界参数,包括:In one of the embodiments, the acquisition of the boundary parameters of the expected acceleration includes:

获取车辆数据以及环境数据;Obtain vehicle data and environmental data;

根据所述车辆数据以及所述环境数据,确定期望加速度对应的上限加速度值以及下限加速度值,并将所述上限加速度值以及所述下限加速度值作为所述期望加速度的边界参数。According to the vehicle data and the environment data, an upper limit acceleration value and a lower limit acceleration value corresponding to the expected acceleration are determined, and the upper limit acceleration value and the lower limit acceleration value are used as boundary parameters of the expected acceleration.

在其中一个实施例中,所述获取车速误差、车距误差的边界参数,包括:In one of the embodiments, the acquisition of boundary parameters of vehicle speed error and vehicle distance error includes:

获取灵敏度设置参数;Get the sensitivity setting parameters;

根据所述灵敏度设置参数,确定所述车速误差、所述车距误差的边界参数;所述灵敏度设置参数与所述车速误差、所述车距误差的边界参数的范围成反比。Determine the boundary parameters of the vehicle speed error and the vehicle distance error according to the sensitivity setting parameters; the sensitivity setting parameters are inversely proportional to the ranges of the vehicle speed error and the boundary parameters of the vehicle distance error.

在其中一个实施例中,所述获取当前车距与预期车距之间的当前车距误差、以及当前车速与预期车速之间的当前车速误差,包括:In one of the embodiments, the acquisition of the current vehicle distance error between the current vehicle distance and the expected vehicle distance, and the current vehicle speed error between the current vehicle speed and the expected vehicle speed includes:

获取所述车辆的当前车速、所述车辆与前车之间的当前车距、所述前车的当前车速以及所述车辆与所述前车之间的期望车距;Obtaining the current vehicle speed of the vehicle, the current vehicle distance between the vehicle and the preceding vehicle, the current vehicle speed of the preceding vehicle, and the expected vehicle distance between the vehicle and the preceding vehicle;

将所述车辆的当前车速与所述前车的当前车速之间的差值确定为当前车速误差,将所述当前车距与所述期望车距之间的差值确定为当前车距误差。The difference between the current vehicle speed of the vehicle and the current vehicle speed of the preceding vehicle is determined as a current vehicle speed error, and the difference between the current vehicle distance and the expected vehicle distance is determined as a current vehicle distance error.

第二方面,本申请还提供了一种基于模糊推理真值演进的车距保持速度规划装置。所述装置包括:In the second aspect, the present application also provides a vehicle distance keeping speed planning device based on fuzzy reasoning truth evolution. The devices include:

获取模块,用于获取当前车距与预期车距之间的当前车距误差、以及当前车速与预期车速之间的当前车速误差;An acquisition module, configured to acquire the current vehicle distance error between the current vehicle distance and the expected vehicle distance, and the current vehicle speed error between the current vehicle speed and the expected vehicle speed;

隶属度确定模块,用于根据车距误差对应的隶属度函数,确定所述当前车距误差对应的车距误差隶属度;根据车速误差对应的隶属度函数,确定所述当前车速误差对应的车速误差隶属度;The membership determination module is used to determine the vehicle distance error membership corresponding to the current vehicle distance error according to the membership function corresponding to the vehicle distance error; and determine the vehicle speed corresponding to the current vehicle speed error according to the membership function corresponding to the vehicle speed error Error membership degree;

加速度确定模块,用于根据所述车距误差隶属度、所述车速误差隶属、隶属度经验函数、所述加速度对应的隶属度函数和推理损失函数,确定使得所述推理损失函数的取值处于最小值的加速度,作为车辆的预期加速度;所述隶属度经验函数用于反映所述期望加速度的隶属度、所述车速误差的隶属度、所述车距误差的隶属度之间的关系;所述推理损失函数用于反映所述期望加速度推理至所述车速误差以及所述车距误差的推理可信度的损失程度。The acceleration determination module is used to determine the value of the inference loss function to be in The acceleration of the minimum value is used as the expected acceleration of the vehicle; the membership empirical function is used to reflect the relationship between the membership of the desired acceleration, the membership of the vehicle speed error, and the membership of the vehicle distance error; The inference loss function is used to reflect the degree of loss of inference credibility from the expected acceleration inference to the vehicle speed error and the vehicle distance error.

第三方面,本申请还提供了一种计算机设备。所述计算机设备包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:In a third aspect, the present application also provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

获取当前车距与预期车距之间的当前车距误差、以及当前车速与预期车速之间的当前车速误差;Obtain the current vehicle distance error between the current vehicle distance and the expected vehicle distance, and the current vehicle speed error between the current vehicle speed and the expected vehicle speed;

根据车距误差对应的隶属度函数,确定所述当前车距误差对应的车距误差隶属度;根据车速误差对应的隶属度函数,确定所述当前车速误差对应的车速误差隶属度;According to the membership degree function corresponding to the vehicle distance error, determine the vehicle distance error membership degree corresponding to the current vehicle distance error; according to the vehicle speed error corresponding membership degree function, determine the vehicle speed error membership degree corresponding to the current vehicle speed error;

根据所述车距误差隶属度、所述车速误差隶属、隶属度经验函数、所述加速度对应的隶属度函数和推理损失函数,确定使得所述推理损失函数的取值处于最小值的加速度,作为车辆的预期加速度;所述隶属度经验函数用于反映所述期望加速度的隶属度、所述车速误差的隶属度、所述车距误差的隶属度之间的关系;所述推理损失函数用于反映所述期望加速度推理至所述车速误差以及所述车距误差的推理可信度的损失程度。According to the membership degree of the vehicle distance error, the membership of the vehicle speed error, the empirical function of the membership degree, the membership degree function corresponding to the acceleration and the inference loss function, determine the acceleration that makes the value of the inference loss function at a minimum value, as The expected acceleration of the vehicle; the membership degree empirical function is used to reflect the relationship between the membership degree of the expected acceleration, the membership degree of the vehicle speed error, and the membership degree of the vehicle distance error; the reasoning loss function is used for Reflecting the degree of loss of inference reliability from the expected acceleration to the vehicle speed error and the vehicle distance error.

第四方面,本申请还提供了一种计算机可读存储介质。所述计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:In a fourth aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:

获取当前车距与预期车距之间的当前车距误差、以及当前车速与预期车速之间的当前车速误差;Obtain the current vehicle distance error between the current vehicle distance and the expected vehicle distance, and the current vehicle speed error between the current vehicle speed and the expected vehicle speed;

根据车距误差对应的隶属度函数,确定所述当前车距误差对应的车距误差隶属度;根据车速误差对应的隶属度函数,确定所述当前车速误差对应的车速误差隶属度;According to the membership degree function corresponding to the vehicle distance error, determine the vehicle distance error membership degree corresponding to the current vehicle distance error; according to the vehicle speed error corresponding membership degree function, determine the vehicle speed error membership degree corresponding to the current vehicle speed error;

根据所述车距误差隶属度、所述车速误差隶属、隶属度经验函数、所述加速度对应的隶属度函数和推理损失函数,确定使得所述推理损失函数的取值处于最小值的加速度,作为车辆的预期加速度;所述隶属度经验函数用于反映所述期望加速度的隶属度、所述车速误差的隶属度、所述车距误差的隶属度之间的关系;所述推理损失函数用于反映所述期望加速度推理至所述车速误差以及所述车距误差的推理可信度的损失程度。According to the membership degree of the vehicle distance error, the membership of the vehicle speed error, the empirical function of the membership degree, the membership degree function corresponding to the acceleration and the inference loss function, determine the acceleration that makes the value of the inference loss function at a minimum value, as The expected acceleration of the vehicle; the membership degree empirical function is used to reflect the relationship between the membership degree of the expected acceleration, the membership degree of the vehicle speed error, and the membership degree of the vehicle distance error; the reasoning loss function is used for Reflecting the degree of loss of inference reliability from the expected acceleration to the vehicle speed error and the vehicle distance error.

第五方面,本申请还提供了一种计算机程序产品。所述计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现以下步骤:In a fifth aspect, the present application also provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

获取当前车距与预期车距之间的当前车距误差、以及当前车速与预期车速之间的当前车速误差;Obtain the current vehicle distance error between the current vehicle distance and the expected vehicle distance, and the current vehicle speed error between the current vehicle speed and the expected vehicle speed;

根据车距误差对应的隶属度函数,确定所述当前车距误差对应的车距误差隶属度;根据车速误差对应的隶属度函数,确定所述当前车速误差对应的车速误差隶属度;According to the membership degree function corresponding to the vehicle distance error, determine the vehicle distance error membership degree corresponding to the current vehicle distance error; according to the vehicle speed error corresponding membership degree function, determine the vehicle speed error membership degree corresponding to the current vehicle speed error;

根据所述车距误差隶属度、所述车速误差隶属、隶属度经验函数、所述加速度对应的隶属度函数和推理损失函数,确定使得所述推理损失函数的取值处于最小值的加速度,作为车辆的预期加速度;所述隶属度经验函数用于反映所述期望加速度的隶属度、所述车速误差的隶属度、所述车距误差的隶属度之间的关系;所述推理损失函数用于反映所述期望加速度推理至所述车速误差以及所述车距误差的推理可信度的损失程度。According to the membership degree of the vehicle distance error, the membership of the vehicle speed error, the empirical function of the membership degree, the membership degree function corresponding to the acceleration and the inference loss function, determine the acceleration that makes the value of the inference loss function at a minimum value, as The expected acceleration of the vehicle; the membership degree empirical function is used to reflect the relationship between the membership degree of the expected acceleration, the membership degree of the vehicle speed error, and the membership degree of the vehicle distance error; the reasoning loss function is used for Reflecting the degree of loss of inference reliability from the expected acceleration to the vehicle speed error and the vehicle distance error.

上述基于模糊推理真值演进的车距保持速度规划方法、装置、计算机设备、存储介质和计算机程序产品,使用符合模糊推理真值非增的方式,推理得到预期加速度,相对于相关技术中的方式,确定出的预期加速度准确率较高,依据本申请的基于模糊推理真值演进的车距保持速度规划方法对车辆的预期加速度进行规划,车距保持准确率也更高。The above-mentioned method, device, computer equipment, storage medium and computer program product based on the fuzzy inference truth value evolution of vehicle distance keeping speed planning, use the non-increasing method of fuzzy inference truth value, and obtain the expected acceleration by reasoning. Compared with the method in the related art , the determined expected acceleration rate is relatively high, according to the vehicle distance keeping speed planning method based on fuzzy reasoning truth evolution of the present application, the vehicle's expected acceleration is planned, and the vehicle distance keeping accuracy rate is also higher.

附图说明Description of drawings

图1为一个实施例中一种基于模糊推理真值演进的车距保持速度规划方法的流程示意图;Fig. 1 is a kind of schematic flow chart of the vehicle distance keeping speed planning method based on fuzzy inference truth evolution in one embodiment;

图2为一个实施例中一种基于模糊推理真值演进的车距保持速度规划装置的结构框图;Fig. 2 is a structural block diagram of a vehicle distance keeping speed planning device based on fuzzy reasoning truth evolution in an embodiment;

图3为一个实施例中集成与车辆内部的计算机设备的内部结构图。FIG. 3 is an internal block diagram of a computer device integrated with a vehicle in one embodiment.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。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, and are not intended to limit the present application.

相关技术中,一般是配置有经验行驶速度表,经验行驶速度表存储有若干条件以及对应的预期加速度,例如,经验行驶速度表中存储有若干车辆距离状态和若干车辆速度状态、任意一种安全距离值、两车碰撞时间值以及本车预期车速值情况下对应的本车车辆处于各个车辆距离状态的概率值以及本车车辆处于各个车辆速度状态的概率值。经验行驶速度表还存储有若干车辆工况状态、各个车辆工况状态对应的预设加加速度值、各个车辆工况状态对应的车辆距离状态和车辆速度状态。In the related technology, it is generally equipped with an empirical driving speed table, and the empirical driving speed table stores several conditions and corresponding expected accelerations. For example, the empirical driving speed table stores several vehicle distance states and several vehicle speed states, any safety In the case of the distance value, the collision time value of the two vehicles and the expected vehicle speed value of the own vehicle, the corresponding probability values of the own vehicle being in each vehicle distance state and the probability values of the own vehicle being in each vehicle speed state. The empirical driving speed table also stores a number of vehicle operating conditions, preset jerk values corresponding to each vehicle operating condition, vehicle distance status and vehicle speed status corresponding to each vehicle operating condition.

设备根据本车车辆处于各个车辆距离状态的概率值以及本车车辆处于各个车辆速度状态的概率值通过预设的车辆工况状态概率算法计算得到本车的各个车辆工况状态概率值,然后根据安全距离值、两车碰撞时间值以及本车预期车速值参照经验行驶速度表确定本车车辆处于各个车辆距离状态的概率值以及本车车辆处于各个车辆速度状态的概率值,然后根据各个车辆工况状态概率值以及各个车辆工况状态的预设加速度值得到本车的预期加加速度值。The device calculates the probability values of each vehicle working condition of the vehicle through the preset vehicle working condition probability algorithm according to the probability value of the vehicle being in each vehicle distance state and the probability value of the vehicle being in each vehicle speed state, and then according to The safety distance value, the collision time value of the two vehicles and the expected vehicle speed value of the vehicle refer to the empirical driving speed table to determine the probability value of the vehicle in each vehicle distance state and the probability value of the vehicle in each vehicle speed state, and then according to each vehicle The expected jerk value of the vehicle is obtained by using the state probability value and the preset acceleration value of each vehicle working state.

具体而言,以下四个条件中:1、前车车距小于预设距离值,该预设距离值为5-20米之间的某个确定值。2、本车车辆与前车车辆的两车碰撞时间值小于预设时间值,该预设时间值为3-10秒之间的某个确定值。3、前车车距与安全距离值ds的比值小于预设阀值,该预设阀值为30%-45%之间的某个确定值。4、本车预期车速值小于本车车速,且差值大于等于预设的第一差值,该预设的第一差值为15-25km/h之间的某个确定值。若本车车辆达到四个条件中的任意一个,则本车车辆处于距离危险状态的概率为1,本车车辆处于其他四个车辆距离状态的概率为0或者0-1之间的某个概率值,具体概率值为多少,设备可根据安全距离值、两车碰撞时间值以及本车预期车速值通过查询经验行驶速度表得到。Specifically, among the following four conditions: 1. The distance between the vehicle in front is less than a preset distance value, and the preset distance value is a certain value between 5-20 meters. 2. The collision time between the host vehicle and the preceding vehicle is less than the preset time value, and the preset time value is a definite value between 3-10 seconds. 3. The ratio of the distance between the vehicle in front and the safety distance value ds is less than a preset threshold value, and the preset threshold value is a certain value between 30%-45%. 4. The expected vehicle speed value of the vehicle is less than the vehicle speed of the vehicle, and the difference is greater than or equal to the preset first difference value, and the preset first difference value is a certain value between 15-25km/h. If the vehicle meets any of the four conditions, the probability that the vehicle is in the distance danger state is 1, and the probability that the vehicle is in the other four vehicle distance states is 0 or a certain probability between 0-1 The value, the specific probability value, the device can be obtained by querying the empirical driving speed table according to the safety distance value, the collision time value of the two vehicles and the expected speed value of the vehicle.

又如,以下2个条件中:1、本车车辆处于距离危险状态的概率不为1。2、本车预期车速值小于本车车速,且差值大于等于预设的第二差值,该预设的第二差值为3-10km/h之间的某个确定值。若本车车辆同时达到这两个条件,则本车车辆处于距离平稳减速状态的概率为1,本车车辆处于其他四个车辆距离状态的概率为0或者0-1之间的某个概率值,具体概率值为多少,可根据安全距离值、两车碰撞时间值以及本车预期车速值通过查询经验行驶速度表得到。For another example, in the following two conditions: 1. The probability that the vehicle is in a dangerous state of distance is not 1. 2. The expected speed of the vehicle is less than the speed of the vehicle, and the difference is greater than or equal to the preset second difference. The preset second difference is a certain value between 3-10km/h. If the vehicle meets these two conditions at the same time, the probability that the vehicle is in the state of stable distance deceleration is 1, and the probability that the vehicle is in the other four vehicle distance states is 0 or a certain probability value between 0-1 , the specific probability value can be obtained by querying the empirical driving speed table according to the safety distance value, the collision time value of the two vehicles and the expected speed value of the vehicle.

可见,相关技术中的经验行驶速度表中有大量人工设置的条件以及结果,一方面,不同的人设置的规则不尽相同,得到的经验行驶速度表各不相同,另一方,根据不确定的规则确定出的行驶速度,准确率较低。It can be seen that there are a large number of artificially set conditions and results in the empirical speedometer in the related art. On the one hand, the rules set by different people are not the same, and the empirical speedometers obtained are different. The driving speed determined by the rules has low accuracy.

基于此,本申请提出一种基于模糊推理真值演进的车距保持速度规划方法。Based on this, the present application proposes a speed planning method based on fuzzy inference truth-value evolution between vehicles to maintain distance.

为了有助于理解本申请,首先对本申请基于模糊推理真值演进的车距保持速度规划方法所遵循的原理进行说明。在有效的推理过程中,真值应当是非增的,即,下一步推理的结果是基于上一步推理,而推理过程不能创造出新的知识(真值),只可能保留等量的知识(真值)或者遗漏掉一部分知识(真值),因此后一步推理所蕴含的知识(真值)不能比前一步更多,应该是非增的。In order to facilitate the understanding of the present application, firstly, the principles followed by the distance-maintaining speed planning method based on fuzzy inference truth-value evolution of the present application will be described. In an effective reasoning process, the truth value should be non-increasing, that is, the result of the next step of reasoning is based on the previous step of reasoning, and the reasoning process cannot create new knowledge (true value), only the same amount of knowledge (true value) can be retained. value) or a part of knowledge (truth value) is omitted, so the knowledge (truth value) contained in the reasoning in the latter step cannot be more than that in the previous step, and it should be non-increasing.

具体而言,对于一个连续推理过程T1,T2,T3,…,Tn,其中,Tk(k=1,2,3,…,n)是一个“If A,then B”形式的条件命题,其真值由模糊蕴含(Fuzzy Implication)I(ak,bk)给出,其中ak是条件命题前件A的真值,bk是条件命题后件B的真值,那么在有效的推理过程中,真值I(ak,bk)应非增。Specifically, for a continuous reasoning process T 1 , T 2 , T 3 ,..., T n , where T k (k=1, 2, 3,..., n) is an "If A, then B" form The conditional proposition of , its truth value is given by the fuzzy implication (Fuzzy Implication) I(a k ,b k ), where a k is the truth value of the antecedent A of the conditional proposition, b k is the truth value of the consequent B of the conditional proposition, Then in the effective reasoning process, the truth value I(a k , b k ) should be non-increasing.

本申请的基于模糊推理真值演进的车距保持速度规划方法,以车辆为预期加速度的情况下,车速误差、车距误差将减小并趋向于0作为推理目标。首先获取当前车距与预期车距之间的当前车距误差、以及当前车速与预期车速之间的当前车速误差。根据车距误差对应的隶属度函数,确定当前车距误差对应的车距误差隶属度,根据车速误差对应的隶属度函数,确定当前车速误差对应的车速误差隶属度。根据车距误差隶属度、车速误差隶属、隶属度经验函数、加速度对应的隶属度函数和推理损失函数,确定使得推理损失函数的取值处于最小值的加速度,作为预期加速度。其中,隶属度经验函数用于反映期望加速度的隶属度、车速误差的隶属度、车距误差的隶属度之间的关系,推理损失函数用于反映期望加速度推理至车速误差以及车距误差的推理可信度的损失程度。最后,将车辆行驶加速度调整为预期加速度。The vehicle distance maintenance speed planning method based on fuzzy inference truth evolution of the present application takes the vehicle as the expected acceleration, the vehicle speed error and the vehicle distance error will decrease and tend to 0 as the reasoning target. First, the current vehicle distance error between the current vehicle distance and the expected vehicle distance, and the current vehicle speed error between the current vehicle speed and the expected vehicle speed are obtained. According to the membership degree function corresponding to the vehicle distance error, the vehicle distance error membership degree corresponding to the current vehicle distance error is determined, and according to the vehicle speed error corresponding membership degree function, the vehicle speed error membership degree corresponding to the current vehicle speed error is determined. According to the membership degree of vehicle distance error, vehicle speed error membership, membership experience function, membership function corresponding to acceleration and inference loss function, the acceleration that makes the value of the inference loss function at the minimum value is determined as the expected acceleration. Among them, the membership experience function is used to reflect the relationship between the membership degree of the expected acceleration, the membership degree of the vehicle speed error, and the membership degree of the vehicle distance error, and the reasoning loss function is used to reflect the reasoning from the expected acceleration to the vehicle speed error and vehicle distance error The degree of loss of credibility. Finally, the vehicle travel acceleration is adjusted to the expected acceleration.

通过本申请的基于模糊推理真值演进的车距保持速度规划方法,由于确定出的预期加速度使得推理损失函数的取值处于最小值,因此确定预期加速度的过程符合上述真值非增的有效推理条件,即,在有效的推理过程中,真值应非增,因此确定出的预期加速度相对于相关技术中更准确,基于此进行车速规划时,车速规划的准确率也较高。Through the vehicle distance keeping speed planning method based on fuzzy inference truth evolution of the present application, since the determined expected acceleration makes the value of the inference loss function at the minimum value, the process of determining the expected acceleration conforms to the effective reasoning of the above-mentioned non-increasing truth value The condition, that is, in the effective reasoning process, the true value should not increase, so the determined expected acceleration is more accurate than that of the related technology, and the accuracy of the vehicle speed planning is also higher when the vehicle speed planning is based on this.

本申请实施例提供的基于模糊推理真值演进的车距保持速度规划方法,可以应用于集成在车辆上的计算机设备,也可以是其它自动行驶设备上的计算机设备,如单车、电单车、自动行驶物联网设备、无人机、无人驾驶车辆等。The method of vehicle distance keeping speed planning based on fuzzy inference truth evolution provided by the embodiment of the present application can be applied to the computer equipment integrated on the vehicle, or it can be the computer equipment on other automatic driving equipment, such as bicycles, motorcycles, automatic Drive IoT devices, drones, driverless vehicles, and more.

本申请提供了一种基于模糊推理真值演进的车距保持速度规划方法,以及与一种基于模糊推理真值演进的车距保持速度规划方法对应的基于模糊推理真值演进的车距保持速度规划装置、设备、计算机可读存储介质、计算机程序产品。首先对本申请提供的基于模糊推理真值演进的车距保持速度规划方法进行详细的说明。This application provides a vehicle distance keeping speed planning method based on fuzzy reasoning truth evolution, and a vehicle distance keeping speed based on fuzzy reasoning truth evolution corresponding to a fuzzy reasoning truth evolution based vehicle distance keeping speed planning method Design means, equipment, computer readable storage medium, computer program product. Firstly, a detailed description will be given on the distance-maintaining speed planning method based on fuzzy inference truth-value evolution provided by this application.

在一个实施例中,如图1所示,提供了一种基于模糊推理真值演进的车距保持速度规划方法,包括以下步骤:In one embodiment, as shown in Figure 1, a kind of vehicle distance keeping speed planning method based on fuzzy inference truth evolution is provided, comprising the following steps:

步骤101、获取当前车距与预期车距之间的当前车距误差、以及当前车速与预期车速之间的当前车速误差。Step 101. Obtain the current vehicle distance error between the current vehicle distance and the expected vehicle distance, and the current vehicle speed error between the current vehicle speed and the expected vehicle speed.

其中,当前车距为车辆与前车车辆之间的距离。预期车距为车辆与前者期望保持的安全距离。当前车速为车辆当前的行驶速度。预期车速为车辆期望的行驶车速,即,最后应当调整至的车辆行驶速度,一般为前车车辆的当前行驶车速。Wherein, the current vehicle distance is the distance between the vehicle and the preceding vehicle. The expected inter-vehicle distance is the safe distance between the vehicle and the former. The current vehicle speed is the current driving speed of the vehicle. The expected vehicle speed is the expected driving speed of the vehicle, that is, the driving speed of the vehicle to which it should be adjusted at last, and is generally the current driving speed of the preceding vehicle.

在一个实施例中,设备首先获取预期车距,以及与前车之间的当前车距,然后根据车辆与前车之间的当前车距与预期车距之间的差值,得到当前车距与预期车距之间的当前车距误差。In one embodiment, the device first obtains the expected vehicle distance and the current vehicle distance to the vehicle in front, and then obtains the current vehicle distance based on the difference between the current vehicle distance and the expected vehicle distance between the vehicle and the vehicle in front The current distance error from the expected distance.

具体而言,设备可以通过用户的输入的车辆预期速度,得到车辆与前者之间的预期车距,或者根据前车的车速,确定出与前车之间的安全车距,将确定出的安全车距确定为预期车速。设备可以通过车辆自带的拍摄系统、红外系统等,确定出车辆当前与前车之间的车距,得到当前车距。Specifically, the device can obtain the expected vehicle distance between the vehicle and the former through the expected vehicle speed input by the user, or determine the safe distance between the vehicle and the vehicle in front according to the speed of the vehicle in front, and convert the determined safe distance to the vehicle in front. The vehicle distance is determined as the expected vehicle speed. The device can determine the current distance between the vehicle and the vehicle in front through the vehicle's own camera system, infrared system, etc., and obtain the current distance.

在一个实施例中,设备可以首先获取当前车速以及预期车速,然后根据当前车速与预期车速之间的差值,得到当前车速与预期车速之间的车速误差。In an embodiment, the device may first obtain the current vehicle speed and the expected vehicle speed, and then obtain the vehicle speed error between the current vehicle speed and the expected vehicle speed according to the difference between the current vehicle speed and the expected vehicle speed.

具体而言,设备通过车辆自带的加速度传感器确定出车辆当前的行驶速度,并车辆当前的行驶速度作为当前车速,或者可以根据GPS行驶轨迹,确定车辆单位时间内的移动距离,进而计算出车辆当前车速。设备可以通过拍摄系统等,确定车辆与前车之间的距离变化速率,然后根据车辆当前的行驶速度,得到前车的当前行驶速度,将前车的当前行驶速度作为车辆的预期车速。Specifically, the device determines the current driving speed of the vehicle through the acceleration sensor that comes with the vehicle, and takes the current driving speed of the vehicle as the current speed, or can determine the moving distance of the vehicle per unit time according to the GPS driving track, and then calculate the vehicle speed. current speed. The device can determine the rate of change of the distance between the vehicle and the vehicle in front through the camera system, etc., and then obtain the current speed of the vehicle in front according to the current speed of the vehicle, and use the current speed of the vehicle in front as the expected speed of the vehicle.

步骤103、根据车距误差对应的隶属度函数,确定当前车距误差对应的车距误差隶属度,根据车速误差对应的隶属度函数,确定当前车速误差对应的车速误差隶属度。Step 103 : Determine the vehicle distance error membership degree corresponding to the current vehicle distance error according to the membership degree function corresponding to the vehicle distance error, and determine the vehicle speed error membership degree corresponding to the current vehicle speed error according to the membership degree function corresponding to the vehicle speed error.

其中,隶属度属于模糊评价函数里的概念:模糊综合评价是对受多种因素影响的事物做出全面评价的一种十分有效的多因素决策方法,其特点是评价结果不是绝对地肯定或否定,而是以一个模糊集合来表示。若对论域(研究的范围)U中的任一元素x,都有一个数A(x)∈[0,1]与之对应,则称A为U上的模糊集,A(x)称为x对A的隶属度。当x在U中变动时,A(x)就是一个函数,称为A的隶属函数。隶属度A(x)越接近于1,表示x属于A的程度越高,A(x)越接近于0表示x属于A的程度越低。在本申请中,车距误差对应的隶属度函数用于反映车距误差与车距误差模糊集合的对应关系,车距误差越大,隶属于车距误差模糊集合的概率越大(即车距误差对应的隶属度越大)。车速误差对应的隶属度函数用于反映车速误差与车速误差模糊集合的对应关系,车速误差越大,隶属于车速误差模糊集合的概率越大(即车速误差对应的隶属度越大)。预期加速度对应的隶属度函数用于反映加速度与加速度模糊集合的对应关系,加速度越大,隶属于加速度模糊集合的概率越大(即加速度对于的隶属度越大)。Among them, the degree of membership belongs to the concept in the fuzzy evaluation function: fuzzy comprehensive evaluation is a very effective multi-factor decision-making method to make a comprehensive evaluation of things affected by multiple factors, and its characteristic is that the evaluation result is not absolutely positive or negative , but represented by a fuzzy set. If there is a number A(x)∈[0, 1] corresponding to any element x in the domain of discourse (the scope of research) U, then A is called a fuzzy set on U, and A(x) is called is the membership degree of x to A. When x changes in U, A(x) is a function called the membership function of A. The closer the degree of membership A(x) is to 1, the higher the degree that x belongs to A, and the closer A(x) is to 0, the lower the degree that x belongs to A. In this application, the membership function corresponding to the vehicle distance error is used to reflect the corresponding relationship between the vehicle distance error and the vehicle distance error fuzzy set. The larger the vehicle distance error, the greater the probability of belonging to the vehicle distance error fuzzy set (ie, the vehicle distance The greater the degree of membership corresponding to the error). The membership function corresponding to the vehicle speed error is used to reflect the corresponding relationship between the vehicle speed error and the vehicle speed error fuzzy set. The membership function corresponding to the expected acceleration is used to reflect the corresponding relationship between the acceleration and the acceleration fuzzy set.

具体而言,设备获取到当前车距误差以及当前车速误差后,将当前车距误差代入至车距误差对应的隶属度函数,得到当前车距误差对应的车距误差隶属度,将当前车速误差代入至车速误差对应的隶属度函数,得到当前车速误差对应的车速误差隶属度。Specifically, after the device acquires the current vehicle distance error and the current vehicle speed error, the current vehicle distance error is substituted into the membership degree function corresponding to the vehicle distance error to obtain the vehicle distance error membership degree corresponding to the current vehicle distance error, and the current vehicle speed error Substitute into the membership degree function corresponding to the vehicle speed error to obtain the membership degree of the vehicle speed error corresponding to the current vehicle speed error.

步骤105、根据车距误差隶属度、车速误差隶属、隶属度经验函数、加速度对应的隶属度函数和推理损失函数,确定使得推理损失函数的取值处于最小值的加速度,作为车辆的预期加速度。Step 105, according to the membership degree of the vehicle distance error, the membership of the vehicle speed error, the empirical function of the membership degree, the membership degree function corresponding to the acceleration, and the inference loss function, determine the acceleration that makes the value of the inference loss function at a minimum value as the expected acceleration of the vehicle.

其中,隶属度经验函数用于反映期望加速度的隶属度、车速误差的隶属度、车距误差的隶属度之间的关系,推理损失函数用于反映期望加速度推理至所述车速误差以及车距误差的推理可信度的损失程度,推理损失函数处于最小值时,推理可信度的损失程度最小,对于的推理结果的准确度越高。Among them, the membership experience function is used to reflect the relationship between the membership degree of the expected acceleration, the membership degree of the vehicle speed error, and the membership degree of the vehicle distance error, and the reasoning loss function is used to reflect the expected acceleration to the vehicle speed error and vehicle distance error. The degree of loss of inference credibility. When the inference loss function is at the minimum value, the loss of inference credibility is the smallest, and the accuracy of the inference result is higher.

推理损失函数一般是关于推理条件命题的前件的真值以及后件的真值的函数,在本申请中,记推理条件命题为“If本车加速度为a,then车间距误差ex和车速误差ev将减小并趋向于0”,前件“本车加速度为a”对应的真值函数为μF(a),后件“车间距误差ex和车速误差ev将减小并趋向于0”对应的真值函数为f(x),以模糊蕴含作为“if-then”条件命题的真值,选取Lukasiewicz型模糊蕴含,即“if-then”条件命题的真值为z=I(x,f(x))=1-x+xf(x)。The reasoning loss function is generally a function of the truth value of the antecedent and the truth value of the latter part of the reasoning conditional proposition. In this application, the reasoning conditional proposition is recorded as "If the acceleration of the vehicle is a, then the inter-vehicle distance error e x and the vehicle speed The error e v will decrease and tend to 0", the truth function corresponding to the former part "the acceleration of the vehicle is a" is μ F (a), the latter part "the inter-vehicle distance error e x and the vehicle speed error e v will decrease and The truth function corresponding to tending to 0" is f(x), and the fuzzy implication is taken as the truth value of the "if-then" conditional proposition, and the Lukasiewicz type fuzzy implication is selected, that is, the truth value of the "if-then" conditional proposition is z= I(x,f(x))=1−x+xf(x).

具体而言,设备确定出车速误差隶属度以及车距误差隶属度后,将车速误差隶属度、车距误差隶属度代入至隶属度经验函数,得到期望加速度的加速度隶属度,此时将车速误差隶属度、车距误差隶属度、加速度隶属度代入至推理损失函数,使得推理损失函数处于最小值,再将加速度隶属度代入至预期加速度对于的隶属度函数,将得到的加速度确定为车辆的预期加速度。Specifically, after the equipment determines the membership degree of vehicle speed error and the membership degree of vehicle distance error, the membership degree of vehicle speed error and the membership degree of vehicle distance error are substituted into the empirical membership function to obtain the acceleration membership degree of the expected acceleration. At this time, the vehicle speed error Substituting the membership degree, vehicle distance error membership degree, and acceleration membership degree into the inference loss function, so that the inference loss function is at a minimum value, and then substituting the acceleration membership degree into the membership degree function of the expected acceleration, and determining the obtained acceleration as the vehicle's expected acceleration.

在一个实施例中,设备确定出当前车速误差对应的车速误差隶属度、当前车距误差对应的车距误差隶属度后,通过车速误差隶属度、车距误差隶属度、加速度隶属度之间的对应关系(上述的隶属度经验函数),确定期望加速度对应的加速度隶属度,然后将确定出的加速度隶属度代入至期望加速度对应的隶属度函数,得到车辆的期望加速度,此时,将期望加速度的加速度隶属度、当前车速误差对应的车速误差隶属度、当前车距误差对应的车距误差隶属度代入至推理损失函数后,使得推理损失函数处于最小值。In one embodiment, after determining the vehicle speed error membership degree corresponding to the current vehicle speed error and the vehicle distance error membership degree corresponding to the current vehicle distance error, the equipment determines the vehicle speed error membership degree, vehicle distance error membership degree, and acceleration membership degree. Corresponding relationship (the above-mentioned membership degree experience function), determine the acceleration membership degree corresponding to the expected acceleration, and then substitute the determined acceleration membership degree into the membership degree function corresponding to the expected acceleration to obtain the expected acceleration of the vehicle. At this time, the expected acceleration The acceleration membership degree of the current vehicle speed error, the vehicle speed error membership degree corresponding to the current vehicle speed error, and the vehicle distance error membership degree corresponding to the current vehicle distance error are substituted into the inference loss function, so that the inference loss function is at a minimum.

在一个实施例中,设备确定出车辆的预期加速度后,设备向连接的线控转向、油门、制动等发送与预期加速度对应的指令,使得在线控转向、油门、制动等的配合下,车辆的行驶加速度调整为预期加速度。In one embodiment, after the device determines the expected acceleration of the vehicle, the device sends instructions corresponding to the expected acceleration to the connected steering by wire, accelerator, brake, etc., so that with the cooperation of steering by wire, accelerator, brake, etc., The driving acceleration of the vehicle is adjusted to the expected acceleration.

本申请提供的基于模糊推理真值演进的车距保持速度规划方法,不依赖于经验行驶速度表,而是通过建立合理的推理过程,确定出使得推理损失函数的取值处于最小值的预期加速度,因此确定预期加速度的过程符合真值非增的有效推理条件,即,在有效的推理过程中,真值应非增,因此确定出的预期加速度相对于相关技术中更准确,基于此进行车速规划时,车速规划的准确率也较高。The vehicle distance keeping speed planning method based on fuzzy inference truth evolution provided by this application does not rely on the empirical speed table, but determines the expected acceleration that makes the value of the inference loss function at the minimum by establishing a reasonable inference process , so the process of determining the expected acceleration conforms to the effective reasoning condition of non-increasing true value, that is, in the effective reasoning process, the true value should be non-increasing, so the determined expected acceleration is more accurate than that in related technologies, and the vehicle speed is determined based on this When planning, the accuracy rate of vehicle speed planning is also high.

在一个实施例中,设备可以周期性执行上述步骤101至步骤105,例如,每隔1s,获取当前车距与预期车距之间的当前车距误差、以及当前车速与预期车速之间的当前车速误差,然后执行步骤103、步骤105。随着车辆按照预期加速度调整加速度并行驶,车辆的车速、与前车之间的车距误差、与预期车速之间的车速误差会随着改变,设备规划的预期加速度也会随之改变。In one embodiment, the device can periodically execute the above step 101 to step 105, for example, every 1s, obtain the current vehicle distance error between the current vehicle distance and the expected vehicle distance, and the current vehicle speed and the expected vehicle speed. Vehicle speed error, then execute step 103, step 105. As the vehicle adjusts the acceleration and drives according to the expected acceleration, the vehicle speed, the distance error between the vehicle in front and the expected vehicle speed will change accordingly, and the expected acceleration planned by the equipment will also change accordingly.

在一个实施例中,在执行步骤105前,上述基于模糊推理真值演进的车距保持速度规划方法还包括:In one embodiment, before step 105 is performed, the above-mentioned vehicle distance keeping speed planning method based on fuzzy inference truth evolution also includes:

步骤109、获取车辆历史行驶经验数据。Step 109, acquiring historical driving experience data of the vehicle.

其中,历史经验数据包括加速度、车距误差、车速误差。Among them, the historical experience data includes acceleration, vehicle distance error, and vehicle speed error.

在一个实施例中,设备可以采集有经验的司机驾驶车辆时的相关数据,对采集的相关数据进行处理,得到历史行驶经验数据。In one embodiment, the device can collect relevant data of an experienced driver when driving a vehicle, and process the collected relevant data to obtain historical driving experience data.

具体而言,设备每隔1s,采集车辆的车辆加速度、车辆速度、与前车之间的车距、前车的车速。然后,设备对每个周期采集的一条行驶数据进行处理,将车辆速度与前车车速之间的差值确定车速误差,将与前车之间的车距与最终保持的车距之间的差值确定为车距误差,得到一条包括加速度、车距误差、车速误差的行驶经验数据。Specifically, the device collects vehicle acceleration, vehicle speed, distance to the vehicle in front, and vehicle speed of the vehicle in front every 1s. Then, the device processes a piece of driving data collected in each cycle, determines the vehicle speed error from the difference between the vehicle speed and the speed of the preceding vehicle, and calculates the difference between the distance between the vehicle in front and the final maintained distance The value is determined as the vehicle distance error, and a piece of driving experience data including acceleration, vehicle distance error and vehicle speed error is obtained.

步骤111、根据车距误差对应的隶属度函数、车速误差对应的隶属度函数、加速度对应的隶属度函数,分别确定将历史行驶经验数据中加速度、车距误差、车速误差的历史加速度隶属度、历史车距误差隶属度、历史车速误差隶属度。Step 111, according to the membership degree function corresponding to the vehicle distance error, the membership degree function corresponding to the vehicle speed error, and the membership degree function corresponding to the acceleration, respectively determine the historical acceleration membership degree, vehicle distance error, and vehicle speed error in the historical driving experience data. The membership degree of historical vehicle distance error and the membership degree of historical vehicle speed error.

其中,车距误差对应的隶属度函数、车速误差对应的隶属度函数、加速度对应的隶属度函数可参见步骤103的说明。Wherein, the membership function corresponding to the vehicle distance error, the membership function corresponding to the vehicle speed error, and the membership function corresponding to the acceleration can refer to the description of step 103 .

具体而言,设备获取到行驶经验数据后,将历史行驶经验数据中的加速度代入至期望加速度对应的隶属度函数,得到历史行驶经验数据中的加速度对应的历史加速度隶属度,将历史行驶经验数据中的车距误差代入至车距误差对应的隶属度函数,得到历史行驶数据对应的历史车距误差隶属度,将历史行驶经验数据中的车速误差代入至车速误差对应的隶属度函数,得到历史行驶经验数据中的车速误差对应的历史车速误差隶属度。Specifically, after the device obtains the driving experience data, it substitutes the acceleration in the historical driving experience data into the membership degree function corresponding to the expected acceleration, and obtains the historical acceleration membership degree corresponding to the acceleration in the historical driving experience data. The vehicle distance error in is substituted into the membership function corresponding to the vehicle distance error, and the historical vehicle distance error membership degree corresponding to the historical driving data is obtained, and the vehicle speed error in the historical driving experience data is substituted into the membership degree function corresponding to the vehicle speed error, and the historical vehicle distance error is obtained. The membership degree of the historical vehicle speed error corresponding to the vehicle speed error in the driving experience data.

步骤113、根据历史加速度隶属度、历史车距误差隶属度、历史车速误差隶属度,拟合得到用于反映期望加速度的隶属度、车速误差的隶属度、车距误差的隶属度之间的关系的隶属度经验函数。Step 113, according to the membership degree of historical acceleration, the membership degree of historical vehicle distance error, and the membership degree of historical vehicle speed error, the relationship between the membership degree used to reflect the expected acceleration, the membership degree of vehicle speed error, and the membership degree of vehicle distance error is obtained by fitting membership experience function.

具体而言,设备获取到每一条历史经验行驶数据中加速度、车距误差、车速误差各自对应的历史加速度隶属度、历史车距误差隶属度、历史车速误差隶属度,得到每一条历史经验行驶数据对应的隶属度数据。之后,设备借助多项式插值对多组隶属度数据进行插拟合,得到用于反映期望加速度的隶属度、车速误差的隶属度、车距误差的隶属度之间的关系的隶属度经验函数。Specifically, the device obtains the respective historical acceleration membership degree, historical vehicle distance error membership degree, and historical vehicle speed error membership degree corresponding to the acceleration, vehicle distance error, and vehicle speed error in each piece of historical experience driving data, and obtains each piece of historical experience driving data. Corresponding membership data. Afterwards, the device performs interpolation and fitting on multiple sets of membership degree data by means of polynomial interpolation, and obtains the membership degree experience function for reflecting the relationship between the membership degree of expected acceleration, the membership degree of vehicle speed error, and the membership degree of vehicle distance error.

例如,每一条经验数据为(ev,ex,a),以及对应的三个隶属度函数μF(a),μG(ex),μH(ev),得到每一条经验函数对应的隶属度数据(μF(a),μG(ex),μH(ev)),之后,借助多项式插值对多组(μF(a),μG(ex),μH(ev))进行插值,插值后的连输函数μF(a)=h(μG(ex),μH(ev)),函数h(·,·)的形式为:For example, each piece of empirical data is ( ev ,ex ,a), and the corresponding three membership functions μ F (a), μ G ( ex ), μ H ( ev ), and each empirical function The corresponding membership degree data (μ F (a), μ G ( ex ), μ H ( ev )), after that, with the help of polynomial interpolation for multiple groups (μ F (a), μ G ( ex ), μ H (e v )) for interpolation, the interpolated continuous transmission function μ F (a) = h(μ G (e x ), μ H (e v )), the form of the function h(·,·) is:

h(x,y)=P00+P10x+P01y+P11xy+P20x2+P02y2+P21x2y+P12xy2+P30x3+P03y3 h(x,y)=P 00 +P 10 x+P 01 y+P 11 xy+P 20 x 2 +P 02 y 2 +P 21 x 2 y+P 12 xy 2 +P 30 x 3 +P 03 y 3

在此实施例中,根据历史行驶经行驶数据拟合得到隶属度经验函数,使得根据隶属度经验函数推理出符合历史经验行驶数据的预期加速度的隶属度。In this embodiment, the membership degree experience function is obtained by fitting according to the historical driving experience driving data, so that the membership degree of the expected acceleration conforming to the historical experience driving data is deduced according to the membership degree empirical function.

在一个实施例中,在执行步骤103前,所述方法还包括:In one embodiment, before step 103 is performed, the method further includes:

步骤115、分别获取期望加速度、车速误差、车距误差的边界参数。Step 115 , obtaining boundary parameters of expected acceleration, vehicle speed error, and vehicle distance error respectively.

具体而言,用户可以直接在设备预先设置期望加速度、车速误差、车距误差的边界参数,设备分别读取用户设置的期望加速度、车速误差、车距误差的边界参数,得到期望加速度、车速误差、车距误差的边界参数。设备还可以通过获取车辆数据以及环境数据,利用车辆数据、环境数据与加速度边界参数的对应关系,确定出期望加速度的边界参数。设备还可以获取灵敏度参数,通过灵敏度参数与车速误差、车距误差的边界参数的对应关系,确定出车速误差、车距误差的边界参数。Specifically, the user can directly set the boundary parameters of expected acceleration, vehicle speed error, and vehicle distance error in the device in advance, and the device reads the boundary parameters of expected acceleration, vehicle speed error, and vehicle distance error set by the user respectively, and obtains the expected acceleration and vehicle speed error. , The boundary parameter of the vehicle distance error. The device can also determine the boundary parameters of the expected acceleration by acquiring the vehicle data and the environment data, and using the corresponding relationship between the vehicle data, the environment data and the acceleration boundary parameters. The device can also obtain the sensitivity parameters, and determine the boundary parameters of the vehicle speed error and the vehicle distance error through the corresponding relationship between the sensitivity parameters and the boundary parameters of the vehicle speed error and the vehicle distance error.

步骤117、构建边界参数符合车速误差对应的边界参数的函数,作为车速误差的隶属度函数。Step 117 , constructing a function whose boundary parameter conforms to the boundary parameter corresponding to the vehicle speed error, as a membership function of the vehicle speed error.

具体而言,设备获取到车速误差符合构建边界参数符合车速误差对应的边界参数并且车速误差与隶属度成正比的函数,例如,在车速误差大于4m/s时,车速误差一定隶属于车速误差模糊集合,车速误差小于负4m/s时,车速误差一定不隶属于车速误差模糊集合,车速误差与隶属度成正比,那么记车速误差的隶属度函数为μH(ev),那么μH(ev)可以是:Specifically, the device obtains a function in which the vehicle speed error conforms to the construction boundary parameter and corresponds to the boundary parameter of the vehicle speed error, and the vehicle speed error is proportional to the degree of membership. For example, when the vehicle speed error is greater than 4m/s, the vehicle speed error must belong to the vehicle speed error fuzzy set, when the vehicle speed error is less than negative 4m/s, the vehicle speed error must not belong to the vehicle speed error fuzzy set, and the vehicle speed error is proportional to the degree of membership, then the membership degree function of the vehicle speed error is μ H ( ev ), then μ H ( e v ) can be:

Figure BDA0003807494930000131
Figure BDA0003807494930000131

其中,μH(ev)的函数形式还可以是其他形式,只需是符合边界参数为4m/s至-4m/s,且车速误差与隶属度成正比的函数即可。Among them, the function form of μ H ( ev ) can also be in other forms, as long as it is a function that conforms to the boundary parameter of 4m/s to -4m/s, and the vehicle speed error is proportional to the degree of membership.

步骤119、构建边界参数符合车距误差对应的边界参数的函数,作为车距误差的隶属度函数。Step 119, constructing a function whose boundary parameters conform to the boundary parameters corresponding to the vehicle distance error, as a membership function of the vehicle distance error.

具体而言,设备获取到车距误差符合构建边界参数符合车距误差对应的边界参数并且车距误差与隶属度成正比的函数,例如,在车距误差大于10m时,车距误差一定隶属于车距误差模糊集合,车距误差小于负10m时,车距误差一定不隶属于车距误差模糊集合,车距误差与隶属度成正比,那么记车距误差的隶属度函数为μG(ex),那么μG(ex)可以是:Specifically, the device obtains a function in which the vehicle distance error conforms to the construction boundary parameters and corresponds to the boundary parameters of the vehicle distance error, and the vehicle distance error is proportional to the degree of membership. For example, when the vehicle distance error is greater than 10m, the vehicle distance error must belong to The vehicle distance error fuzzy set, when the vehicle distance error is less than negative 10m, the vehicle distance error must not belong to the vehicle distance error fuzzy set, and the vehicle distance error is proportional to the membership degree, then the membership function of the vehicle distance error is μ G (e x ), then μ G (e x ) can be:

Figure BDA0003807494930000132
Figure BDA0003807494930000132

其中,μG(ex)的函数形式还可以是其他形式,只需是符合边界参数为10至-10m,且车距误差与隶属度成正比的函数即可。Among them, the function form of μ G ( ex ) can also be in other forms, as long as it meets the boundary parameters of 10 to -10m, and the inter-vehicle distance error is proportional to the degree of membership.

步骤121、构建边界参数符合期望加速度对应的边界参数的函数,作为期望加速度对应的隶属度函数。Step 121 , constructing a function whose boundary parameter meets the boundary parameter corresponding to the expected acceleration, as a membership function corresponding to the expected acceleration.

具体而言,设备获取到期望加速度符合构建边界参数符合期望加速度对应的边界参数并且期望加速度与隶属度成正比的函数,例如,在期望加速度大于5m/s2时,期望加速度一定隶属于加速度模糊集合,期望加速度小于负5m/s2时,期望加速度一定不隶属于加速度模糊集合,期望加速度与隶属度成正比,那么记车速误差的隶属度函数为μF(a),那么μF(a)可以是:Specifically, the device obtains a function in which the expected acceleration conforms to the construction boundary parameters and the corresponding boundary parameters of the expected acceleration, and the expected acceleration is proportional to the degree of membership. For example, when the expected acceleration is greater than 5m/s 2 , the expected acceleration must belong to the acceleration fuzzy set, when the expected acceleration is less than negative 5m/s2, the expected acceleration must not belong to the acceleration fuzzy set, and the expected acceleration is proportional to the degree of membership, then the membership function of the vehicle speed error is μ F (a), then μ F (a ) can be:

Figure BDA0003807494930000133
Figure BDA0003807494930000133

其中,μF(a)的函数形式还可以是其他形式,只需是符合边界参数为5m/s2至-5m/s2,且加速度与隶属度成正比的函数即可。Among them, the function form of μ F (a) can also be in other forms, as long as it meets the boundary parameters of 5m/s 2 to -5m/s 2 , and the acceleration is proportional to the degree of membership.

在此实施例中,根据边界参数,确定符合该边界参数的函数,分别构建期望加速度、车速误差、车距误差各自对应的隶属度函数。In this embodiment, according to the boundary parameter, a function conforming to the boundary parameter is determined, and respective membership functions corresponding to the expected acceleration, vehicle speed error, and vehicle distance error are respectively constructed.

在一个实施例中,上述步骤115中的获取期望加速度的边界参数具体包括:In one embodiment, obtaining the boundary parameters of the expected acceleration in the above step 115 specifically includes:

步骤A1、获取车辆数据以及环境数据。Step A1, acquiring vehicle data and environment data.

其中,车辆数据可以包括与安全加速度有关的参数,例如车辆重量、最大加速度。环境数据可以包括影响车辆安全加速度的有关环境数据,例如道路湿度、天气能见度、所行驶道路的加速度限速等。Wherein, the vehicle data may include parameters related to safe acceleration, such as vehicle weight and maximum acceleration. The environmental data may include relevant environmental data affecting the safe acceleration of the vehicle, such as road humidity, weather visibility, acceleration speed limit of the road on which the vehicle is traveling, and the like.

具体而言,设备可以车辆型号,查询本地存储的车辆信号与车辆数据对应关系,查询得到本车辆对应的车辆数据,或者相服务器请求本车车辆型号对应的车辆数据,服务器查询得到后,将车辆数据发送至设备。设备可以将车辆的当前地理位置信息发送至服务器,服务器查询该地理位置信息对应的环境数据,然后将查询的环境数据发送至设备。设备还可以通过车辆自带的拍摄系统,拍摄车辆周围环境,然后利用预设的识别算法,确定车辆周围的环境数据。Specifically, the device can query the corresponding relationship between the vehicle signal and the vehicle data stored locally by the vehicle model, and obtain the vehicle data corresponding to the vehicle, or request the vehicle data corresponding to the vehicle model from the server, and after the server obtains the query, the vehicle Data is sent to the device. The device can send the current geographic location information of the vehicle to the server, and the server queries the environmental data corresponding to the geographic location information, and then sends the queried environmental data to the device. The device can also take pictures of the surrounding environment of the vehicle through the vehicle's own shooting system, and then use the preset recognition algorithm to determine the environmental data around the vehicle.

步骤A2、根据车辆数据以及环境数据,确定期望加速度对应的上限加速度值以及下限加速度值,并将上限加速度值以及下限加速度值作为期望加速度的边界参数。Step A2, according to the vehicle data and the environment data, determine the upper limit acceleration value and the lower limit acceleration value corresponding to the expected acceleration, and use the upper limit acceleration value and the lower limit acceleration value as the boundary parameters of the expected acceleration.

具体而言,设备获取到车辆数据以及环境数据后,查询车辆数据、环境数据与上限加速度、下限加速度的对应关系,确定出车辆的上限加速度以及下限加速度。其中,车辆在上限加速度以及下限加速度之间的范围内行驶,能够保证车辆安全。Specifically, after the device obtains the vehicle data and the environment data, it inquires about the corresponding relationship between the vehicle data, the environment data and the upper limit acceleration and the lower limit acceleration, and determines the upper limit acceleration and the lower limit acceleration of the vehicle. Wherein, the vehicle travels within the range between the upper limit acceleration and the lower limit acceleration, which can ensure the safety of the vehicle.

在此实施例中,用户可以根据实际情况设置车辆加速度的边界参数,或者设备根据车辆数据以及环境数据,确定使车辆在安全加速度内的边界参数。In this embodiment, the user can set the boundary parameters of the vehicle acceleration according to the actual situation, or the device can determine the boundary parameters for the vehicle to be within the safe acceleration according to the vehicle data and the environment data.

在一个实施例中,上述步骤115中的获取车速误差、车距误差的边界参数具体包括:In one embodiment, obtaining the boundary parameters of the vehicle speed error and the vehicle distance error in the above step 115 specifically includes:

步骤B1、获取灵敏度设置参数。Step B1, acquiring sensitivity setting parameters.

具体而言,设备可以获取默认的灵敏度设置参数,或者用户在设备上设置了车辆自动行驶时的灵敏度参数,设备可以读取用户设置的灵敏度参数。Specifically, the device may obtain default sensitivity setting parameters, or the user may set the sensitivity parameters when the vehicle is driving automatically on the device, and the device may read the sensitivity parameters set by the user.

步骤B2、根据灵敏度设置参数,确定车速误差、车距误差的边界参数。Step B2, setting parameters according to the sensitivity, and determining the boundary parameters of the vehicle speed error and the vehicle distance error.

其中,灵敏度设置参数与车速误差、车距误差的边界参数的范围成反比,车距误差的边界参数的范围越小,同样车速误差的隶属度的变化,车速误差的变化越大,因此对车辆的控制越灵敏,车距误差同理。Among them, the sensitivity setting parameter is inversely proportional to the range of the boundary parameters of the vehicle speed error and the vehicle distance error. The smaller the range of the boundary parameter of the vehicle distance error, the greater the change of the membership degree of the vehicle speed error, and the greater the change of the vehicle speed error. The more sensitive the control is, the same is true for the vehicle distance error.

具体而言,设备可以存储有灵敏度参数与车速误差、车距误差的边界参数的对应关系,设备获取到灵敏度参数后,查询灵敏度参数与车速误差、车距误差的边界参数的对应关系,得到车速误差、车距误差的边界参数。设备还可以预先存储灵敏度参数与车速误差、车距误差的边界参数的换算关系,设备获取到灵敏度参数后,利用灵敏度参数与车速误差、车距误差的边界参数的换算关系,换算得到车速误差、车距误差的边界参数。Specifically, the device can store the corresponding relationship between the sensitivity parameter and the boundary parameters of the vehicle speed error and the vehicle distance error. Boundary parameters of error and vehicle distance error. The device can also pre-store the conversion relationship between the sensitivity parameter and the boundary parameters of the vehicle speed error and the vehicle distance error. Boundary parameter of vehicle distance error.

在此实施例中,可以灵活设置灵敏度参数,以改变车速误差、车距误差的边界参数。In this embodiment, the sensitivity parameter can be flexibly set to change the boundary parameters of the vehicle speed error and the vehicle distance error.

在一个实施例中,上述步骤101具体包括:In one embodiment, the above step 101 specifically includes:

步骤101a、获取车辆的当前车速、车辆与前车之间的当前车距、前车的当前车速以及车辆与前车之间的期望车距。Step 101a, obtaining the current vehicle speed of the vehicle, the current vehicle distance between the vehicle and the preceding vehicle, the current vehicle speed of the preceding vehicle, and the expected vehicle distance between the vehicle and the preceding vehicle.

具体而言,设备通过车辆集成的拍摄系统、红外感应、声呐感应、毫米波雷达等车载传感器,测量当前车辆与前车尾部的之间的距离,得到当前车距。设备通过与前车之间的距离的变化速率以及车辆当前的车速,计算得到前车的行驶速度。设备通过车辆集成加速度传感器、或者自带的测速仪等,获取车辆当前的行驶速度,得到车辆的当先车速。设备根据用户的输入或者安全车距的计算,得到车辆与前车之间的期望车距。Specifically, the device measures the distance between the current vehicle and the rear of the vehicle in front through the vehicle's integrated camera system, infrared sensor, sonar sensor, millimeter-wave radar and other on-board sensors to obtain the current vehicle distance. The device calculates the speed of the vehicle in front through the change rate of the distance from the vehicle in front and the current speed of the vehicle. The device obtains the current driving speed of the vehicle through the integrated acceleration sensor of the vehicle, or the built-in speedometer, etc., and obtains the current speed of the vehicle. The device obtains the expected distance between the vehicle and the vehicle in front according to the user's input or the calculation of the safe distance.

步骤101b、将车辆的当前车速与前车的当前车速之间的差值确定为当前车速误差,将当前车距与期望车距之间的差值确定为当前车距误差。Step 101b. Determine the difference between the current vehicle speed of the vehicle and the current vehicle speed of the preceding vehicle as the current vehicle speed error, and determine the difference between the current vehicle distance and the expected vehicle distance as the current vehicle distance error.

具体而言,设备获取到车辆的当前车速与前车的当前车速之后,将车辆的当前车速与前车的当前车速相减,得到当前车速误差。设备获取到当前车距与期望车距后,将当前车距与期望车距相减,得到当前车距误差。Specifically, after the device obtains the current speed of the vehicle and the current speed of the vehicle in front, it subtracts the current speed of the vehicle from the current speed of the vehicle in front to obtain the current speed error. After the device obtains the current vehicle distance and the expected vehicle distance, it subtracts the current vehicle distance from the expected vehicle distance to obtain the current vehicle distance error.

接下来对本申请的一个具体实施例进行详细的说明。Next, a specific embodiment of the present application will be described in detail.

记前车之间的纵向距离dt,车距保持的期望车距是ds,定义车间距误差ex为ex=dt-ds,记前车的车速为v1,本车的车速为v2,定义车速误差ev为ev=v2-v1。Record the longitudinal distance dt between the vehicles in front, the expected distance between vehicles is ds, define the distance error ex=dt-ds, record the speed of the vehicle in front as v1, and the speed of the own vehicle as v2, define the speed error ev is ev=v2-v1.

定义模糊推理的“if-then”条件命题为:The "if-then" conditional proposition that defines fuzzy reasoning is:

“If本车加速度为a,then车间距误差ex和车速误差ev将减小并趋向于0”。"If the vehicle's acceleration is a, then the inter-vehicle distance error ex and the vehicle speed error e v will decrease and tend to 0".

其中,而是在if前件中描述需要规划的,即加速度(等价于车速),在then后件中描述规划目标。Wherein, instead describe what needs to be planned in the if antecedent, that is, the acceleration (equivalent to the vehicle speed), and describe the planning target in the then latter.

前件“本车加速度为a”对应的真值函数为μF(a),后件“车间距误差ex和车速误差ev将减小并趋向于0”对应的真值函数为f(x),以模糊蕴含作为“if-then”条件命题的真值,选取Lukasiewicz型模糊蕴含,即“if-then”条件命题的真值为z=I(x,f(x))=1-x+xf(x)。The truth function corresponding to the former part "the acceleration of the vehicle is a" is μ F (a), and the truth function corresponding to the latter part "the inter-vehicle distance error e x and vehicle speed error e v will decrease and tend to 0" is f( x), taking the fuzzy implication as the truth value of the "if-then" conditional proposition, and selecting the Lukasiewicz type fuzzy implication, that is, the truth value of the "if-then" conditional proposition is z=I(x,f(x))=1- x+xf(x).

记预期加速度模糊集合F为针对预期加速度a的“正大”,即,加速度a越大,加速度a隶属度加速度模糊结合F的概率越大,并记加速度a隶属于加速度模糊集合F的隶属度函数记为μF(a)。记车距误差模糊集合G为车距误差ex的“正大”,车距误差ex隶属度车距误差模糊结合G的概率越大,车距误差ex隶属于模糊集合G的隶属度函数记为μG(ex)。记车速误差模糊集合H为车速误差ev的“正大”,车速误差ev隶属度车速误差模糊结合H的概率越大,车速误差ev隶属于模糊集合H的隶属度函数记为μH(ev)。Record the expected acceleration fuzzy set F as the "positive value" for the expected acceleration a, that is, the greater the acceleration a is, the greater the probability of acceleration a's membership degree acceleration fuzzy combination F is, and record the membership function of acceleration a belonging to the acceleration fuzzy set F Denoted as μ F (a). Note that the vehicle distance error fuzzy set G is the " positive size" of the vehicle distance error e x, the greater the probability of the vehicle distance error fuzzy combination G, the vehicle distance error e x belongs to the membership function of the fuzzy set G Denote as μ G (ex ). Note that the vehicle speed error fuzzy set H is the "right size" of the vehicle speed error e v , the greater the probability of the vehicle speed error e v 's membership degree and the vehicle speed error fuzzy combination H, the membership function of the vehicle speed error e v belonging to the fuzzy set H is denoted as μ H ( e v ).

定义μF(a)、μG(ex)、μH(ev)为下列三式:Define μ F (a), μ G ( ex ), μ H (e v ) as the following three formulas:

Figure BDA0003807494930000161
Figure BDA0003807494930000161

Figure BDA0003807494930000162
Figure BDA0003807494930000162

Figure BDA0003807494930000163
Figure BDA0003807494930000163

每一条经验数据为(ev,ex,a),以及对应的三个隶属度函数μF(a),μG(ex),μH(ev),得到每一条经验函数对应的隶属度数据(μF(a),μG(ex),μH(ev)),之后,借助多项式插值对多组(μF(a),μG(ex),μH(ev))进行插值,插值后的连输函数:Each piece of empirical data is (e v , e x , a), and the corresponding three membership functions μ F (a), μ G ( ex ), μ H (e v ), and each piece of empirical function corresponds to Membership degree data (μ F (a), μ G ( ex ), μ H ( ev )), after that, multi-group (μ F (a), μ G ( ex ), μ H ( e v )) for interpolation, the continuous transmission function after interpolation:

μF(a)=h(μG(ex),μH(ev)),函数h(·,·)的形式为:μ F (a) h(μ G (ex ), μ H (e v )), the form of function h(·,·) is:

h(x,y)=P00+P10x+P01y+P11xy+P20x2+P02y2+P21x2y+P12xy2+P30x3+P03y3 h(x,y)=P 00 +P 10 x+P 01 y+P 11 xy+P 20 x 2 +P 02 y 2 +P 21 x 2 y+P 12 xy 2 +P 30 x 3 +P 03 y 3

定义条件命题then后件真值函数为:The truth function of the conditional proposition then is defined as:

Figure BDA0003807494930000171
Figure BDA0003807494930000171

那么条件命题的真值为z=I(x,f(x))=1-x+xf(x),可得:Then the truth value of the conditional proposition z=I(x,f(x))=1-x+xf(x), we can get:

Figure BDA0003807494930000172
Figure BDA0003807494930000172

当x=h(μG(ex),μH(ev))时,When x =h(μ G (ex ), μ H (e v )),

Figure BDA0003807494930000173
Figure BDA0003807494930000173

设计具备李雅普诺夫稳定性的控制器:Design a controller with Lyapunov stability:

Figure BDA0003807494930000174
Figure BDA0003807494930000174

u(t)控制x(t)的变化速率,使基于“if-then”条件命题的模糊推理过程真值非增,即控制真值z非增,控制模糊推理过程在真值z到达局部最小值后停止,以避免继续推理导致的真值增加的情况(在局部最小值处,继续推理会使真值到达大于局部最小值的点)。u(t) controls the rate of change of x(t), so that the truth value of the fuzzy reasoning process based on the "if-then" conditional proposition is non-increasing, that is, the control of the true value z is non-increasing, and the fuzzy reasoning process is controlled to reach a local minimum at the true value z value to avoid situations where the truth value increases as a result of continuing reasoning (at a local minimum, continuing reasoning would cause the truth value to reach a point larger than the local minimum).

具体地,使Specifically, make

u(t)=h(μG(ex),μH(ev))-xu(t)=h(μ G (e x ), μ H (e v ))-x

可以证明该控制u(t)能够将z控制至zmin,也就是整个z的变化过程是非增的。具体证明需对z进行一个状态变换,将有界的z映射到无界的w,即:It can be proved that the control u(t) can control z to z min , that is, the whole change process of z is non-increasing. The specific proof needs to perform a state transformation on z, and map the bounded z to the unbounded w, namely:

Figure BDA0003807494930000175
Figure BDA0003807494930000175

其中,

Figure BDA0003807494930000176
in,
Figure BDA0003807494930000176

z收敛至zmin等价于w收敛到0,通过证明w=0的李雅普诺夫稳定性也就等价于证明了z=zmin处的稳定性,也就证明了推理真值非增的基本科学依据。The convergence of z to z min is equivalent to the convergence of w to 0. By proving the Lyapunov stability of w=0 is equivalent to proving the stability at z=z min , it is also proved that the reasoning truth value is non-increasing Basic scientific basis.

对时间求导可得:Differentiate with respect to time to get:

Figure BDA0003807494930000177
Figure BDA0003807494930000177

Figure BDA0003807494930000181
Figure BDA0003807494930000181

选取李雅普诺夫函数为:Choose the Lyapunov function as:

V(w)=ew-w-1V(w)=e w -w-1

对时间求导可得:Differentiate with respect to time to get:

Figure BDA0003807494930000182
Figure BDA0003807494930000182

经过整理可得available after sorting

Figure BDA0003807494930000183
Figure BDA0003807494930000183

因此,

Figure BDA0003807494930000184
并且
Figure BDA0003807494930000185
当且仅当x=h(μG(ex),μH(ev)),也就是z=zmin时发生。因此证明了
Figure BDA0003807494930000186
的负定性,也即z=zmin处的稳定性。控制u(t)最终实现的效果是将x控制到了h(μG(ex),μH(ev))处,通过李雅普诺夫稳定性保证满足了推理过程真值非增的基本科学依据。therefore,
Figure BDA0003807494930000184
and
Figure BDA0003807494930000185
Occurs if and only if x = h(μ G (ex ), μ H ( ev )), ie z = z min . thus proving
Figure BDA0003807494930000186
The negative characterization of , that is, the stability at z=z min . The final effect of controlling u(t) is to control x to h(μ G (ex ), μ H ( ev )), and the basic science of non-increasing truth value in the reasoning process is satisfied through the Lyapunov stability guarantee in accordance with.

应该理解的是,虽然如上所述的各实施例所涉及的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,如上所述的各实施例所涉及的流程图中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flow charts involved in the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in the flow charts involved in the above-mentioned embodiments may include multiple steps or stages, and these steps or stages are not necessarily executed at the same time, but may be performed at different times For execution, the execution order of these steps or stages is not necessarily performed sequentially, but may be executed in turn or alternately with other steps or at least a part of steps or stages in other steps.

基于同样的发明构思,本申请实施例还提供了一种用于实现上述所涉及的一种基于模糊推理真值演进的车距保持速度规划方法的一种基于模糊推理真值演进的车距保持速度规划装置。该装置所提供的解决问题的实现方案与上述方法中所记载的实现方案相似,故下面所提供的一个或多个基于模糊推理真值演进的车距保持速度规划装置实施例中的具体限定可以参见上文中对于一种基于模糊推理真值演进的车距保持速度规划方法的限定,在此不再赘述。Based on the same inventive concept, the embodiment of the present application also provides a vehicle distance keeping based on fuzzy reasoning truth evolution based on the fuzzy reasoning truth evolution based vehicle distance keeping speed planning method mentioned above. Speed planning device. The solution to the problem provided by the device is similar to the implementation described in the above method, so the specific limitations in one or more embodiments of the vehicle distance keeping speed planning device based on fuzzy reasoning truth evolution provided below can be See above for the definition of a speed planning method based on fuzzy inference truth-value evolution for keeping distance between vehicles, and details will not be repeated here.

在一个实施例中,如图2所示,提供了一种基于模糊推理真值演进的车距保持速度规划装置,包括:In one embodiment, as shown in FIG. 2 , a vehicle distance keeping speed planning device based on fuzzy inference truth evolution is provided, including:

获取模块201,用于获取当前车距与预期车距之间的当前车距误差、以及当前车速与预期车速之间的当前车速误差;An acquisition module 201, configured to acquire the current vehicle distance error between the current vehicle distance and the expected vehicle distance, and the current vehicle speed error between the current vehicle speed and the expected vehicle speed;

隶属度确定模块203,用于根据车距误差对应的隶属度函数,确定所述当前车距误差对应的车距误差隶属度;根据车速误差对应的隶属度函数,确定所述当前车速误差对应的车速误差隶属度;The membership degree determination module 203 is used to determine the vehicle distance error membership degree corresponding to the current vehicle distance error according to the membership degree function corresponding to the vehicle distance error; and determine the vehicle speed error corresponding to the membership degree function according to the vehicle speed error. Speed error membership degree;

加速度确定模块205,用于根据所述车距误差隶属度、所述车速误差隶属、隶属度经验函数、所述加速度对应的隶属度函数和推理损失函数,确定使得所述推理损失函数的取值处于最小值的加速度,作为预期加速度;所述隶属度经验函数用于反映所述期望加速度的隶属度、所述车速误差的隶属度、所述车距误差的隶属度之间的关系;所述推理损失函数用于反映所述期望加速度推理至所述车速误差以及所述车距误差的推理可信度的损失程度。The acceleration determination module 205 is configured to determine the value of the inference loss function according to the membership degree of the vehicle distance error, the membership of the vehicle speed error, the empirical function of the membership degree, the membership degree function corresponding to the acceleration, and the inference loss function The acceleration at the minimum value is used as the expected acceleration; the membership experience function is used to reflect the relationship between the membership degree of the expected acceleration, the membership degree of the vehicle speed error, and the membership degree of the vehicle distance error; The inference loss function is used to reflect the degree of loss of inference credibility from the expected acceleration inference to the vehicle speed error and the vehicle distance error.

在一个实施例中,上述装置还包括:In one embodiment, the above-mentioned device also includes:

经验数据获取模块209(图中未示出),用于获取所述车辆历史行驶经验数据;所述历史经验数据包括加速度、车距误差、车速误差;The experience data acquiring module 209 (not shown in the figure), is used for acquiring the historical driving experience data of the vehicle; the historical experience data includes acceleration, vehicle distance error, and vehicle speed error;

隶属度获取模块211(图中未示出),用于根据所述车距误差对应的隶属度函数、所述车速误差对应的隶属度函数、所述加速度对应的隶属度函数,分别确定将所述历史行驶经验数据中加速度、车距误差、车速误差的历史加速度隶属度、历史车距误差隶属度、历史车速误差隶属度;The membership degree acquisition module 211 (not shown in the figure) is used to determine the membership degree function corresponding to the vehicle distance error, the membership degree function corresponding to the vehicle speed error, and the acceleration Describe the historical acceleration membership degree, historical vehicle distance error membership degree, and historical vehicle speed error membership degree of acceleration, vehicle distance error, and vehicle speed error in the historical driving experience data;

经验函数构建函数213(图中未示出),用于根据所述历史加速度隶属度、所述历史车距误差隶属度、所述历史车速误差隶属度,拟合得到用于反映所述期望加速度的隶属度、所述车速误差的隶属度、所述车距误差的隶属度之间的关系的隶属度经验函数。Empirical function construction function 213 (not shown in the figure), which is used to obtain and reflect the desired acceleration according to the membership degree of the historical acceleration, the membership degree of the historical vehicle distance error, and the membership degree of the historical vehicle speed error. The membership degree experience function of the relationship among the membership degree of the vehicle speed error and the membership degree of the vehicle distance error.

在一个实施例中,上述装置还包括:In one embodiment, the above-mentioned device also includes:

边界参数获取模块215(图中未示出),用于分别获取期望加速度、车速误差、车距误差的边界参数;Boundary parameter acquisition module 215 (not shown in the figure), is used for respectively acquiring the boundary parameters of expected acceleration, vehicle speed error, and vehicle distance error;

车速误差隶属度构建函数217(图中未示出),用于构建边界参数符合所述车速误差对应的边界参数的函数,作为所述车速误差的隶属度函数;Vehicle speed error membership construction function 217 (not shown in the figure), used to construct a function whose boundary parameters meet the boundary parameters corresponding to the vehicle speed error, as the membership function of the vehicle speed error;

车距误差隶属度构建函数219(图中未示出),构建边界参数符合所述车距误差对应的边界参数的函数,作为所述车距误差的隶属度函数;The vehicle distance error membership construction function 219 (not shown in the figure), constructs a function whose boundary parameters meet the boundary parameters corresponding to the vehicle distance error, as the membership function of the vehicle distance error;

加速度隶属度构建函数221(图中未示出),构建边界参数符合所述期望加速度对应的边界参数的函数,作为所述期望加速度对应的隶属度函数。The acceleration membership construction function 221 (not shown in the figure) constructs a function whose boundary parameters meet the boundary parameters corresponding to the expected acceleration as the membership function corresponding to the expected acceleration.

在一个实施例中,上述边界参数获取模块215具体用于:In one embodiment, the above-mentioned boundary parameter acquisition module 215 is specifically used for:

获取车辆数据以及环境数据;根据所述车辆数据以及所述环境数据,确定期望加速度对应的上限加速度值以及下限加速度值,并将所述上限加速度值以及所述下限加速度值作为所述期望加速度的边界参数。Acquiring vehicle data and environmental data; determining an upper limit acceleration value and a lower limit acceleration value corresponding to the expected acceleration according to the vehicle data and the environmental data, and using the upper limit acceleration value and the lower limit acceleration value as the expected acceleration Boundary parameters.

在一个实施例中,上述边界参数获取模块215具体用于:In one embodiment, the above-mentioned boundary parameter acquisition module 215 is specifically used for:

获取灵敏度设置参数;根据所述灵敏度设置参数,确定所述车速误差、所述车距误差的边界参数;所述灵敏度设置参数与所述车速误差、所述车距误差的边界参数的范围成反比。Acquire sensitivity setting parameters; determine the boundary parameters of the vehicle speed error and the vehicle distance error according to the sensitivity setting parameters; the sensitivity setting parameters are inversely proportional to the range of the vehicle speed error and the boundary parameters of the vehicle distance error .

在一个实施例中,上述获取模块201具体用于:In one embodiment, the acquisition module 201 is specifically used for:

获取所述车辆的当前车速、所述车辆与前车之间的当前车距、所述前车的当前车速以及所述车辆与所述前车之间的期望车距;将所述车辆的当前车速与所述前车的当前车速之间的差值确定为当前车速误差,将所述当前车距与所述期望车距之间的差值确定为当前车距误差。Obtain the current speed of the vehicle, the current distance between the vehicle and the vehicle in front, the current speed of the vehicle in front, and the expected distance between the vehicle and the vehicle in front; The difference between the vehicle speed and the current vehicle speed of the preceding vehicle is determined as the current vehicle speed error, and the difference between the current vehicle distance and the expected vehicle distance is determined as the current vehicle distance error.

上述基于模糊推理真值演进的车距保持速度规划装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。Each module in the above-mentioned vehicle distance keeping speed planning device based on fuzzy inference truth-value evolution can be fully or partially realized by software, hardware and combinations thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.

在一个实施例中,提供了一种计算机设备,该计算机设备可以是集成与车辆的计算机设备,其内部结构图可以如图3所示。该计算机设备包括通过系统总线连接的处理器、存储器、通信接口。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、移动蜂窝网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种一种基于模糊推理真值演进的车距保持速度规划方法。In one embodiment, a computer device is provided, which may be a computer device integrated with a vehicle, and its internal structure may be as shown in FIG. 3 . The computer device includes a processor, a memory, and a communication interface connected through a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by a processor, a speed planning method for vehicle distance keeping based on fuzzy reasoning truth evolution is realized.

本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 3 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation to the computer equipment on which the solution of the application is applied. The specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.

在一个实施例中,还提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述各方法实施例中的步骤。In one embodiment, there is also provided a computer device, including a memory and a processor, where a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the foregoing method embodiments are implemented.

在一个实施例中,提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the foregoing method embodiments are implemented.

需要说明的是,本申请所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据。It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all Information and data authorized by the user or fully authorized by all parties.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-OnlyMemory,ROM)、磁带、软盘、闪存、光存储器、高密度嵌入式非易失性存储器、阻变存储器(ReRAM)、磁变存储器(Magnetoresistive Random Access Memory,MRAM)、铁电存储器(Ferroelectric Random Access Memory,FRAM)、相变存储器(Phase Change Memory,PCM)、石墨烯存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器等。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic RandomAccess Memory,DRAM)等。本申请所提供的各实施例中所涉及的数据库可包括关系型数据库和非关系型数据库中至少一种。非关系型数据库可包括基于区块链的分布式数据库等,不限于此。本申请所提供的各实施例中所涉及的处理器可为通用处理器、中央处理器、图形处理器、数字信号处理器、可编程逻辑器、基于量子计算的数据处理逻辑器等,不限于此。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the computer programs can be stored in a non-volatile computer-readable memory In the medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any reference to storage, database or other media used in the various embodiments provided in the present application may include at least one of non-volatile and volatile storage. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive variable memory (ReRAM), magnetic variable memory (Magnetoresistive Random Access Memory, MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (Phase Change Memory, PCM), graphene memory, etc. The volatile memory may include random access memory (Random Access Memory, RAM) or external cache memory. As an illustration and not a limitation, the RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM). The databases involved in the various embodiments provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a blockchain-based distributed database, etc., but is not limited thereto. The processors involved in the various embodiments provided by this application can be general-purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, data processing logic devices based on quantum computing, etc., and are not limited to this.

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present application. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be determined by the appended claims.

Claims (10)

1.一种基于模糊推理真值演进的车距保持速度规划方法,其特征在于,所述方法包括:1. A distance between vehicles based on fuzzy reasoning truth-value evolution keeps speed planning method, it is characterized in that, described method comprises: 获取当前车距与预期车距之间的当前车距误差、以及当前车速与预期车速之间的当前车速误差;Obtain the current vehicle distance error between the current vehicle distance and the expected vehicle distance, and the current vehicle speed error between the current vehicle speed and the expected vehicle speed; 根据车距误差对应的隶属度函数,确定所述当前车距误差对应的车距误差隶属度;根据车速误差对应的隶属度函数,确定所述当前车速误差对应的车速误差隶属度;According to the membership degree function corresponding to the vehicle distance error, determine the vehicle distance error membership degree corresponding to the current vehicle distance error; according to the vehicle speed error corresponding membership degree function, determine the vehicle speed error membership degree corresponding to the current vehicle speed error; 根据所述车距误差隶属度、所述车速误差隶属、隶属度经验函数、所述加速度对应的隶属度函数和推理损失函数,确定使得所述推理损失函数的取值处于最小值的加速度,作为车辆的预期加速度;所述隶属度经验函数用于反映所述期望加速度的隶属度、所述车速误差的隶属度、所述车距误差的隶属度之间的关系;所述推理损失函数用于反映所述期望加速度推理至所述车速误差以及所述车距误差的推理可信度的损失程度。According to the membership degree of the vehicle distance error, the membership of the vehicle speed error, the empirical function of the membership degree, the membership degree function corresponding to the acceleration and the inference loss function, determine the acceleration that makes the value of the inference loss function at a minimum value, as The expected acceleration of the vehicle; the membership degree empirical function is used to reflect the relationship between the membership degree of the expected acceleration, the membership degree of the vehicle speed error, and the membership degree of the vehicle distance error; the reasoning loss function is used for Reflecting the degree of loss of inference reliability from the expected acceleration to the vehicle speed error and the vehicle distance error. 2.根据权利要求1所述的方法,其特征在于,在根据所述车距误差隶属度、所述车速误差隶属、隶属度经验函数、所述加速度对应的隶属度函数和推理损失函数,确定使得所述推理损失函数的取值处于最小值的加速度,作为车辆的预期加速度前,所述方法还包括:2. The method according to claim 1, wherein, according to the membership degree of the vehicle distance error, the membership of the vehicle speed error, the membership experience function, the membership function corresponding to the acceleration and the inference loss function, determine Before making the value of the inference loss function at the minimum acceleration, as the expected acceleration of the vehicle, the method also includes: 获取所述车辆历史行驶经验数据;所述历史经验数据包括加速度、车距误差、车速误差;Acquiring historical driving experience data of the vehicle; the historical experience data includes acceleration, vehicle distance error, and vehicle speed error; 根据所述车距误差对应的隶属度函数、所述车速误差对应的隶属度函数、所述加速度对应的隶属度函数,分别确定将所述历史行驶经验数据中加速度、车距误差、车速误差的历史加速度隶属度、历史车距误差隶属度、历史车速误差隶属度;According to the membership degree function corresponding to the vehicle distance error, the membership degree function corresponding to the vehicle speed error, and the membership degree function corresponding to the acceleration, respectively determine the acceleration, vehicle distance error, and vehicle speed error in the historical driving experience data. The membership degree of historical acceleration, the membership degree of historical vehicle distance error, and the membership degree of historical vehicle speed error; 根据所述历史加速度隶属度、所述历史车距误差隶属度、所述历史车速误差隶属度,拟合得到用于反映所述期望加速度的隶属度、所述车速误差的隶属度、所述车距误差的隶属度之间的关系的隶属度经验函数。According to the membership degree of the historical acceleration, the membership degree of the historical vehicle distance error, and the membership degree of the historical vehicle speed error, the membership degree for reflecting the expected acceleration, the membership degree of the vehicle speed error, and the vehicle speed error membership degree are obtained by fitting. The membership degree empirical function of the relationship between the membership degrees from the error. 3.根据权利要求1所述的方法,其特征在于,在根据车距误差对应的隶属度函数,确定所述当前车距误差对应的车距误差隶属度;根据车速误差对应的隶属度函数,确定所述当前车速误差对应的车速误差隶属度前,所述方法还包括:3. The method according to claim 1, wherein, according to the corresponding membership function of the vehicle distance error, the vehicle distance error membership degree corresponding to the current vehicle distance error is determined; according to the vehicle speed error corresponding membership degree function, Before determining the vehicle speed error membership degree corresponding to the current vehicle speed error, the method further includes: 分别获取期望加速度、车速误差、车距误差的边界参数;Obtain the boundary parameters of expected acceleration, vehicle speed error, and vehicle distance error respectively; 构建边界参数符合所述车速误差对应的边界参数的函数,作为所述车速误差的隶属度函数;Constructing a function whose boundary parameter conforms to the boundary parameter corresponding to the vehicle speed error, as the membership function of the vehicle speed error; 构建边界参数符合所述车距误差对应的边界参数的函数,作为所述车距误差的隶属度函数;Constructing a function whose boundary parameter conforms to the boundary parameter corresponding to the vehicle distance error, as the membership function of the vehicle distance error; 构建边界参数符合所述期望加速度对应的边界参数的函数,作为所述期望加速度对应的隶属度函数。A function whose boundary parameters conform to the boundary parameters corresponding to the expected acceleration is constructed as a membership function corresponding to the expected acceleration. 4.根据权利要求3所述的方法,其特征在于,所述获取期望加速度的边界参数,包括:4. The method according to claim 3, wherein said obtaining the boundary parameters of expected acceleration comprises: 获取车辆数据以及环境数据;Obtain vehicle data and environmental data; 根据所述车辆数据以及所述环境数据,确定期望加速度对应的上限加速度值以及下限加速度值,并将所述上限加速度值以及所述下限加速度值作为所述期望加速度的边界参数。According to the vehicle data and the environment data, an upper limit acceleration value and a lower limit acceleration value corresponding to the expected acceleration are determined, and the upper limit acceleration value and the lower limit acceleration value are used as boundary parameters of the expected acceleration. 5.根据权利要求3所述的方法,其特征在于,所述获取车速误差、车距误差的边界参数,包括:5. method according to claim 3, is characterized in that, described obtaining the boundary parameter of vehicle speed error, vehicle distance error, comprises: 获取灵敏度设置参数;Get the sensitivity setting parameters; 根据所述灵敏度设置参数,确定所述车速误差、所述车距误差的边界参数;所述灵敏度设置参数与所述车速误差、所述车距误差的边界参数的范围成反比。Determine the boundary parameters of the vehicle speed error and the vehicle distance error according to the sensitivity setting parameters; the sensitivity setting parameters are inversely proportional to the ranges of the vehicle speed error and the boundary parameters of the vehicle distance error. 6.根据权利要求1所述的方法,其特征在于,所述获取当前车距与预期车距之间的当前车距误差、以及当前车速与预期车速之间的当前车速误差,包括:6. The method according to claim 1, wherein said obtaining the current vehicle distance error between the current vehicle distance and the expected vehicle distance, and the current vehicle speed error between the current vehicle speed and the expected vehicle speed comprises: 获取所述车辆的当前车速、所述车辆与前车之间的当前车距、所述前车的当前车速以及所述车辆与所述前车之间的期望车距;Obtaining the current vehicle speed of the vehicle, the current vehicle distance between the vehicle and the preceding vehicle, the current vehicle speed of the preceding vehicle, and the expected vehicle distance between the vehicle and the preceding vehicle; 将所述车辆的当前车速与所述前车的当前车速之间的差值确定为当前车速误差,将所述当前车距与所述期望车距之间的差值确定为当前车距误差。The difference between the current vehicle speed of the vehicle and the current vehicle speed of the preceding vehicle is determined as a current vehicle speed error, and the difference between the current vehicle distance and the expected vehicle distance is determined as a current vehicle distance error. 7.一种基于模糊推理真值演进的车距保持速度规划装置,其特征在于,所述装置包括:7. A vehicle distance keeping speed planning device based on fuzzy reasoning truth evolution, characterized in that said device comprises: 获取模块,用于获取当前车距与预期车距之间的当前车距误差、以及当前车速与预期车速之间的当前车速误差;An acquisition module, configured to acquire the current vehicle distance error between the current vehicle distance and the expected vehicle distance, and the current vehicle speed error between the current vehicle speed and the expected vehicle speed; 隶属度确定模块,用于根据车距误差对应的隶属度函数,确定所述当前车距误差对应的车距误差隶属度;根据车速误差对应的隶属度函数,确定所述当前车速误差对应的车速误差隶属度;The membership determination module is used to determine the vehicle distance error membership corresponding to the current vehicle distance error according to the membership function corresponding to the vehicle distance error; and determine the vehicle speed corresponding to the current vehicle speed error according to the membership function corresponding to the vehicle speed error Error membership degree; 加速度确定模块,用于根据所述车距误差隶属度、所述车速误差隶属、隶属度经验函数、所述加速度对应的隶属度函数和推理损失函数,确定使得所述推理损失函数的取值处于最小值的加速度,作为车辆的预期加速度;所述隶属度经验函数用于反映所述期望加速度的隶属度、所述车速误差的隶属度、所述车距误差的隶属度之间的关系;所述推理损失函数用于反映所述期望加速度推理至所述车速误差以及所述车距误差的推理可信度的损失程度。The acceleration determination module is used to determine the value of the inference loss function to be in The acceleration of the minimum value is used as the expected acceleration of the vehicle; the membership empirical function is used to reflect the relationship between the membership of the desired acceleration, the membership of the vehicle speed error, and the membership of the vehicle distance error; The inference loss function is used to reflect the degree of loss of inference credibility from the expected acceleration inference to the vehicle speed error and the vehicle distance error. 8.一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至6中任一项所述的方法的步骤。8. A computer device, comprising a memory and a processor, the memory stores a computer program, wherein the processor implements the method according to any one of claims 1 to 6 when executing the computer program step. 9.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至6中任一项所述的方法的步骤。9. A computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are realized. 10.一种计算机程序产品,包括计算机程序,其特征在于,该计算机程序被处理器执行时实现权利要求1至6中任一项所述的方法的步骤。10. A computer program product, comprising a computer program, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
CN202211001373.1A 2022-08-19 2022-08-19 A method of vehicle-to-vehicle distance keeping speed planning based on fuzzy reasoning truth value evolution Active CN115257736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211001373.1A CN115257736B (en) 2022-08-19 2022-08-19 A method of vehicle-to-vehicle distance keeping speed planning based on fuzzy reasoning truth value evolution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211001373.1A CN115257736B (en) 2022-08-19 2022-08-19 A method of vehicle-to-vehicle distance keeping speed planning based on fuzzy reasoning truth value evolution

Publications (2)

Publication Number Publication Date
CN115257736A true CN115257736A (en) 2022-11-01
CN115257736B CN115257736B (en) 2024-06-25

Family

ID=83751921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211001373.1A Active CN115257736B (en) 2022-08-19 2022-08-19 A method of vehicle-to-vehicle distance keeping speed planning based on fuzzy reasoning truth value evolution

Country Status (1)

Country Link
CN (1) CN115257736B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116701830A (en) * 2023-04-26 2023-09-05 清华大学 Pareto frontier solution optimization method based on fuzzy rules and stability reasoning control

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0324400D0 (en) * 2002-10-30 2003-11-19 Visteon Global Tech Inc Expert-type vehicle steering control system and method
CN111409638A (en) * 2020-03-31 2020-07-14 潍柴动力股份有限公司 Automobile brake control method and device, storage medium and processor
CN112078576A (en) * 2020-09-25 2020-12-15 英博超算(南京)科技有限公司 Adaptive cruise control method for simulating driver characteristics based on fuzzy control
CN114013457A (en) * 2021-11-19 2022-02-08 长沙智能驾驶研究院有限公司 Vehicle control method, device, equipment and computer storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0324400D0 (en) * 2002-10-30 2003-11-19 Visteon Global Tech Inc Expert-type vehicle steering control system and method
CN111409638A (en) * 2020-03-31 2020-07-14 潍柴动力股份有限公司 Automobile brake control method and device, storage medium and processor
CN112078576A (en) * 2020-09-25 2020-12-15 英博超算(南京)科技有限公司 Adaptive cruise control method for simulating driver characteristics based on fuzzy control
CN114013457A (en) * 2021-11-19 2022-02-08 长沙智能驾驶研究院有限公司 Vehicle control method, device, equipment and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116701830A (en) * 2023-04-26 2023-09-05 清华大学 Pareto frontier solution optimization method based on fuzzy rules and stability reasoning control

Also Published As

Publication number Publication date
CN115257736B (en) 2024-06-25

Similar Documents

Publication Publication Date Title
US10838423B2 (en) Intelligent vehicle navigation systems, methods, and control logic for deriving road segment speed limits
WO2022227720A1 (en) Vehicle speed tracking control method and apparatus, and device and storage medium
CN112249032B (en) Automatic driving decision method, system, equipment and computer storage medium
CN107257756B (en) Techniques for assisting a vehicle in situations of varying road conditions
US11625009B2 (en) Non-uniform occupancy grid manager
CN110688729B (en) LSTM-IDM car-following characteristic fusion method, storage medium and equipment based on adaptive Kalman filter
CN107444402A (en) Utilize the vehicle mode arrangement for learning user preference
Zhang et al. Data-driven based cruise control of connected and automated vehicles under cyber-physical system framework
CN113242320A (en) Intelligent driving system, method, device and storage medium
US20140300494A1 (en) Location based feature usage prediction for contextual hmi
CN111267830A (en) Hybrid power bus energy management method, device and storage medium
Kuutti et al. End-to-end reinforcement learning for autonomous longitudinal control using advantage actor critic with temporal context
US20220227391A1 (en) Systems and methods for scenario dependent trajectory scoring
CN113655794B (en) Multi-vehicle cooperative control method based on robust model predictive control
CN115221774A (en) Autonomous vehicle traffic simulation and road network modeling
US10249193B2 (en) Hybrid interface selection for heterogeneous vehicular communications
CN115257736A (en) Vehicle distance keeping speed planning method based on fuzzy inference truth value evolution
CN112506075A (en) TPZN-based intelligent network automobile system cooperative control method
CN112918488B (en) Vehicle control method, device and storage medium
CN114889598B (en) Parking control method, device, computer equipment and storage medium
CN114347998B (en) A vehicle auxiliary driving control method, system, device and medium
CN117152388A (en) Calibrating parameters within a virtual environment using reinforcement learning
US11985224B2 (en) Systems and methods for multi-domain information processing using an immutable ledger
CN117465433A (en) Method, device, equipment and storage medium for planning longitudinal cruising track of vehicle
Samsudeen et al. FeduLPM: Federated Unsupervised Learning-Based Predictive Model for Speed Control in Customizable Automotive Variants

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant