Vehicle speed planning method and device and electronic equipment

文档序号:161782 发布日期:2021-10-29 浏览:43次 中文

阅读说明:本技术 车速规划方法、装置及电子设备 (Vehicle speed planning method and device and electronic equipment ) 是由 王通 李垚 崔迪潇 吴宗泽 于 2021-08-13 设计创作,主要内容包括:本说明书公开了车速规划方法、装置及电子设备,涉及自动驾驶技术领域,其中,方法包括:获取目标车辆前方第一预定路段内的道路状况信息;根据道路状况信息进行车速规划,得到目标车辆在第一预定路段内的行驶速度曲线;将行驶速度曲线中的一个行驶速度确定为目标车辆在下一行驶周期的第一行驶速度;获取目标车辆前方第二预定路段内的交通信息;根据交通信息进行车速规划,得到目标车辆在下一行驶周期的第二行驶速度;根据目标车辆在下一行驶周期的第一行驶速度和第二行驶速度,确定目标车辆在下一行驶周期的目标车速。本方案能够实现在提高燃油经济性的同时能够根据实际道路场景灵活地改变车速。(The specification discloses a vehicle speed planning method, a vehicle speed planning device and electronic equipment, and relates to the technical field of automatic driving, wherein the vehicle speed planning method comprises the following steps: acquiring road condition information in a first preset road section in front of a target vehicle; planning the speed of the vehicle according to the road condition information to obtain a driving speed curve of the target vehicle in a first preset road section; determining one driving speed in the driving speed curve as a first driving speed of the target vehicle in the next driving period; acquiring traffic information in a second preset road section in front of the target vehicle; planning the speed according to the traffic information to obtain a second running speed of the target vehicle in the next running period; and determining the target vehicle speed of the target vehicle in the next driving cycle according to the first driving speed and the second driving speed of the target vehicle in the next driving cycle. The scheme can realize that the vehicle speed can be flexibly changed according to the actual road scene while the fuel economy is improved.)

1. A vehicle speed planning method, comprising:

acquiring road condition information in a first preset road section in front of a target vehicle;

planning the speed of the vehicle according to the road condition information to obtain a driving speed curve of the target vehicle in the first preset road section;

determining one of the travel speeds in the travel speed profile as a first travel speed of the target vehicle for a next travel cycle;

acquiring traffic information in a second preset road section in front of the target vehicle;

planning the speed according to the traffic information to obtain a second running speed of the target vehicle in the next running period;

and determining the target vehicle speed of the target vehicle in the next driving cycle according to the first driving speed and the second driving speed of the target vehicle in the next driving cycle.

2. The method according to claim 1, characterized in that it is performed according to a first predetermined frequency: acquiring road condition information in a first preset road section in front of a target vehicle; performing vehicle speed planning according to the road condition information to obtain a driving speed curve of the target vehicle in the first preset road section, wherein the driving speed curve represents the driving speed of each sub-road section in the first preset road section; and the number of the first and second electrodes,

performing according to a second predetermined frequency: determining one of the travel speeds in the travel speed profile as a first travel speed; acquiring traffic information in a second preset road section in front of the target vehicle; planning the vehicle speed according to the traffic information to obtain a second running speed; determining a target vehicle speed of the target vehicle in a next driving cycle according to the first driving speed and the second driving speed;

wherein the first predetermined frequency is less than the second predetermined frequency.

3. The method of claim 1, wherein the traffic information comprises: the vehicle speed of the preceding vehicle, the distance to the preceding vehicle, and the deceleration of the preceding vehicle; correspondingly, the vehicle speed planning according to the traffic information to obtain a second driving speed includes:

calculating a maximum speed of the target vehicle according to the following formula:

wherein s is the distance between the target vehicle and the front vehicle, v1The speed of the leading vehicle, a1Is the deceleration of the preceding vehicle, a2Is the maximum deceleration of the target vehicle, v2Is the maximum speed of the target vehicle;

taking the maximum speed as a second running speed of the target vehicle.

4. The method of claim 1, wherein the traffic information comprises: distance to the vehicle in front; correspondingly, the vehicle speed planning according to the traffic information to obtain a second driving speed includes:

acquiring the distance between the target vehicle and a front vehicle;

determining a target expected speed according to the distance between the target vehicle and the front vehicle, the preset distance between the target vehicle and the front vehicle and the corresponding relation between the target vehicle and the front vehicle and the expected speed;

and taking the target expected speed as a second running speed.

5. The method of claim 1, wherein determining the target vehicle speed for the target vehicle for the next travel cycle based on the first travel speed and the second travel speed comprises:

determining the smaller of the first running speed and the second running speed as a target vehicle speed of the target vehicle in a next running period;

alternatively, the first and second electrodes may be,

and determining the target vehicle speed of the target vehicle in the next driving period according to the weighted average value of the first driving speed and the second driving speed.

6. The method of claim 1, wherein the vehicle speed planning according to the road condition information to obtain a driving speed curve of the target vehicle in the first predetermined section comprises:

acquiring vehicle information of the target vehicle;

acquiring a target state equation, wherein the target state equation is related to vehicle information, road condition information and a preset control sequence of a target vehicle, the preset control sequence comprises a plurality of control variables, and the control variables comprise accelerator opening or brake opening;

acquiring a target cost function, wherein the target cost function is related to a target state equation and a preset control sequence;

and determining a minimum value of the target cost function and a target control sequence corresponding to the minimum value by using a dynamic programming algorithm based on the target cost function, and determining a running speed curve of the target vehicle in the first preset road section according to the target control sequence and the target state equation.

7. The method of claim 6, wherein the target state equation is:

x(k+1)=f(x(k),u(k)),k=0,1,...,N-1

wherein f (x (k), u (k)) is the target state equation, u (k) is a kth control variable in the preset control sequence, x (k) is a state of the target vehicle at a kth sub-road end point of the first predetermined road section, x (k +1) is a state of the target vehicle at a k +1 th sub-road end point of the first predetermined road section, wherein the states include a vehicle speed and a gear of the target vehicle, and N is a total number of sub-roads included in the first predetermined road section.

8. The method of claim 6, wherein the target cost function is:

wherein, Jπ(x0) Is the target cost function, gN(xN) A sub-cost function, x, for the target vehicle on the Nth sub-roadNL (x (k), u (k)) is a sub-cost function of the target vehicle on a k-th sub-road, u (k) is a k-th control variable in the preset control sequence, x (k) is a state of the target vehicle on the k-th sub-road of the first predetermined road section, and N is a total number of sub-roads included in the first predetermined road section.

9. The method according to claim 6, wherein, in determining the minimum value of the target cost function and the target control sequence corresponding to the minimum value based on the target cost function by using a dynamic programming algorithm, the minimum value of the target cost function and the target control sequence corresponding to the minimum value are determined according to the following formula:

wherein, J*(x(N))=gN(xN),gN(xN) A sub-cost function, x, for the target vehicle on the Nth sub-roadNFor the state of the target vehicle at the end point of the first predetermined section, J*(x (k)) is a cost function starting from the kth sub-road of the first predetermined section and ending at the end of the first predetermined section, J*(x (k +1)) is a cost function starting from the (k +1) th sub-road of the first predetermined road section and ending at the end of the first predetermined road section,l (x (k), u (k)) is a sub-cost function of the target vehicle on the k-th sub-road, and N is the total number of sub-roads included in the first predetermined road section.

10. The method according to claim 8 or 9, wherein the sub-cost function L (x (k), u (k)) of the target vehicle on the kth sub-road is calculated as follows:

deducing acceleration according to the vehicle speed and the gear;

deducing the predicted running time on the kth sub-road according to the current vehicle speed and the acceleration;

deducing the engine speed of the target vehicle according to the vehicle speed and the gear;

according to the rotating speed and the opening degree of the accelerator of the engine, searching the corresponding oil consumption per unit time from the oil consumption characteristic diagram of the engine;

taking the product of the oil consumption in unit time and the running time as the predicted oil consumption;

the operator cost is calculated based on the estimated travel time and the estimated fuel consumption.

11. The method of claim 10, wherein calculating the sub-cost based on the estimated travel time and the estimated fuel consumption cost comprises:

acquiring a set vehicle speed input by a user;

searching a corresponding weight pair from a preset parameter library according to the set vehicle speed input by the user, wherein the weight pair comprises a first weight corresponding to the predicted running time and a second weight corresponding to the predicted fuel consumption;

calculating a sub-cost based on the first weight and the second weight.

12. A vehicle speed planning apparatus, comprising:

the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring road condition information in a first preset road section in front of a target vehicle;

the first planning module is used for planning the speed of the vehicle according to the road condition information to obtain a driving speed curve of the target vehicle in the first preset road section;

a first determination module for determining one of the travel speeds in the travel speed profile as a first travel speed of the target vehicle for a next travel cycle;

the second acquisition module is used for acquiring traffic information in a second preset road section in front of the target vehicle;

the second planning module is used for planning the speed of the target vehicle according to the traffic information to obtain a second running speed of the target vehicle in the next running period;

and the second determination module is used for determining the target vehicle speed of the target vehicle in the next driving cycle according to the first driving speed and the second driving speed of the target vehicle in the next driving cycle.

13. An electronic device, comprising:

a memory and a processor, the processor and the memory being communicatively connected to each other, the memory having stored therein computer instructions, the processor implementing the steps of the method of any one of claims 1 to 11 by executing the computer instructions.

14. A computer storage medium storing computer program instructions which, when executed, implement the steps of the method of any one of claims 1 to 11.

Technical Field

The present disclosure relates to the field of automatic driving technologies, and in particular, to a method and an apparatus for vehicle speed planning and an electronic device.

Background

The fuel economy of an automobile refers to the ability to complete unit transportation with minimal fuel consumption, and has three evaluation indexes: fuel consumption per unit mileage driven, fuel consumption per unit transportation workload, and mileage driven by consuming unit fuel oil. In addition to consideration of the comfort and safety of automatic driving, there have been techniques starting to consider improving fuel economy.

In the existing automatic driving technology, a vehicle speed planning scheme aiming at improving fuel economy is only an off-line scheme, namely road topology information from a starting point to a destination is required to be acquired in advance, the whole course is planned once, and in the planning process, only a gradient factor is generally considered, and a traffic flow factor is not considered.

However, under the action of a control error or a traffic flow, the actual vehicle speed of the target vehicle may deviate from the planned vehicle speed, and at this time, the off-line planned speed is not the optimal scheme in the current state, and the vehicle speed planning method in the prior art aiming at improving the fuel economy cannot change the vehicle speed flexibly.

Disclosure of Invention

The embodiment of the application aims to provide a vehicle speed planning method, a vehicle speed planning device and electronic equipment, so that the vehicle speed can be flexibly changed according to an actual road scene while the fuel economy is improved.

In order to solve the above technical problem, a first aspect of the present specification provides a vehicle speed planning method, including: acquiring road condition information in a first preset road section in front of a target vehicle; planning the speed of the vehicle according to the road condition information to obtain a driving speed curve of the target vehicle in the first preset road section; determining one of the travel speeds in the travel speed profile as a first travel speed of the target vehicle for a next travel cycle; acquiring traffic information in a second preset road section in front of the target vehicle; planning the speed according to the traffic information to obtain a second running speed of the target vehicle in the next running period; and determining the target vehicle speed of the target vehicle in the next driving cycle according to the first driving speed and the second driving speed of the target vehicle in the next driving cycle.

In some embodiments, performing according to a first predetermined frequency: acquiring road condition information in a first preset road section in front of a target vehicle; performing vehicle speed planning according to the road condition information to obtain a driving speed curve of the target vehicle in the first preset road section, wherein the driving speed curve represents the driving speed of each sub-road section in the first preset road section; and, according to a second predetermined frequency: determining one of the travel speeds in the travel speed profile as a first travel speed; acquiring traffic information in a second preset road section in front of the target vehicle; planning the vehicle speed according to the traffic information to obtain a second running speed; determining a target vehicle speed of the target vehicle in a next driving cycle according to the first driving speed and the second driving speed; wherein the first predetermined frequency is less than the second predetermined frequency.

In some embodiments, the traffic information comprises: the vehicle speed of the preceding vehicle, the distance to the preceding vehicle, and the deceleration of the preceding vehicle; correspondingly, the vehicle speed planning according to the traffic information to obtain a second driving speed includes: calculating a maximum speed of the target vehicle according to the following formula:wherein s is the distance between the target vehicle and the front vehicle, v1The speed of the leading vehicle, a1Is the deceleration of the preceding vehicle, a2Is the maximum deceleration of the target vehicle, v2Is the maximum speed of the target vehicle(ii) a Taking the maximum speed as a second running speed of the target vehicle.

In some embodiments, the traffic information comprises: distance to the vehicle in front; correspondingly, the vehicle speed planning according to the traffic information to obtain a second driving speed includes: acquiring the distance between the target vehicle and a front vehicle; determining a target expected speed according to the distance between the target vehicle and the front vehicle, the preset distance between the target vehicle and the front vehicle and the corresponding relation between the target vehicle and the front vehicle and the expected speed; and taking the target expected speed as a second running speed.

In some embodiments, said determining a target vehicle speed of said target vehicle for a next travel cycle based on said first travel speed and said second travel speed comprises: determining the smaller of the first running speed and the second running speed as a target vehicle speed of the target vehicle in a next running period; or determining the target vehicle speed of the target vehicle in the next driving cycle according to the weighted average value of the first driving speed and the second driving speed.

In some embodiments, the vehicle speed planning according to the road condition information to obtain a driving speed curve of the target vehicle in the first predetermined section includes: acquiring vehicle information of the target vehicle; acquiring a target state equation, wherein the target state equation is related to vehicle information, road condition information and a preset control sequence of a target vehicle, the preset control sequence comprises a plurality of control variables, and the control variables comprise accelerator opening or brake opening; acquiring a target cost function, wherein the target cost function is related to a target state equation and a preset control sequence; and determining a minimum value of the target cost function and a target control sequence corresponding to the minimum value by using a dynamic programming algorithm based on the target cost function, and determining a running speed curve of the target vehicle in the first preset road section according to the target control sequence and the target state equation.

In some embodiments, the target state equation is: x (k +1) ═ f (x (k), u (k)), k ═ 0,1,.., N-1, wherein f (x (k), u (k)) is the target state equation, wherein u (k) is the kth control variable in the preset control sequence, x (k) is the state of the target vehicle at the kth sub-road end point of the first predetermined section, x (k +1) is the state of the target vehicle at the k +1 th sub-road end point of the first predetermined section, wherein the states include the vehicle speed and gear position of the target vehicle, and N is the total number of sub-roads included in the first predetermined section.

In some embodiments, the target cost function is:wherein, Jπ(x0) Is the target cost function, gN(xN) A sub-cost function, x, for the target vehicle on the Nth sub-roadNL (x (k), u (k)) is a sub-cost function of the target vehicle on a k-th sub-road, u (k) is a k-th control variable in the preset control sequence, x (k) is a state of the target vehicle on the k-th sub-road of the first predetermined road section, and N is a total number of sub-roads included in the first predetermined road section.

In some embodiments, in the determining, based on the target cost function, a minimum value of the target cost function and a target control sequence corresponding to the minimum value by using a dynamic programming algorithm, the minimum value of the target cost function and the target control sequence corresponding to the minimum value are determined according to the following formula:

wherein, J*(x(N))=gN(xN),gN(xN) A sub-cost function, x, for the target vehicle on the Nth sub-roadNFor the state of the target vehicle at the end point of the first predetermined section, J*(x (k)) is a cost function starting from the kth sub-road of the first predetermined section and ending at the end of the first predetermined section, J*(x(k+1)) is a cost function starting from the k +1 th sub-road of the first predetermined section to the end point of the first predetermined section, L (x (k), u (k)) is a sub-cost function of the target vehicle on the k-th sub-road, and N is the total number of sub-roads included in the first predetermined section.

In some embodiments, the sub-cost function L (x (k), u (k)) of the target vehicle on the kth sub-road is calculated as follows: deducing acceleration according to the vehicle speed and the gear; deducing the predicted running time on the kth sub-road according to the current vehicle speed and the acceleration; deducing the engine speed of the target vehicle according to the vehicle speed and the gear; according to the rotating speed and the opening degree of the accelerator of the engine, searching the corresponding oil consumption per unit time from the oil consumption characteristic diagram of the engine; taking the product of the oil consumption in unit time and the running time as the predicted oil consumption; the operator cost is calculated based on the estimated travel time and the estimated fuel consumption.

In some embodiments, the calculating the sub-cost based on the estimated travel time and the estimated fuel consumption cost includes: acquiring a set vehicle speed input by a user; searching a corresponding weight pair from a preset parameter library according to the set vehicle speed input by the user, wherein the weight pair comprises a first weight corresponding to the predicted running time and a second weight corresponding to the predicted fuel consumption; calculating a sub-cost based on the first weight and the second weight.

A second aspect of the present specification provides a vehicle speed planning apparatus comprising: the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring road condition information in a first preset road section in front of a target vehicle; the first planning module is used for planning the speed of the vehicle according to the road condition information to obtain a driving speed curve of the target vehicle in the first preset road section; a first determination module for determining one of the travel speeds in the travel speed profile as a first travel speed of the target vehicle for a next travel cycle; the second acquisition module is used for acquiring traffic information in a second preset road section in front of the target vehicle; the second planning module is used for planning the speed of the target vehicle according to the traffic information to obtain a second running speed of the target vehicle in the next running period; and the second determination module is used for determining the target vehicle speed of the target vehicle in the next driving cycle according to the first driving speed and the second driving speed of the target vehicle in the next driving cycle.

The vehicle speed planning method, the vehicle speed planning device and the electronic equipment provided by the description fuse the planned vehicle speed with the aim of improving the fuel economy according to the road condition information and the planned vehicle speed based on the traffic information to determine the target vehicle speed of the target vehicle in the next driving period, so that the vehicle speed can be flexibly changed according to the actual road scene while the fuel economy is improved.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

FIG. 1 is a block diagram of a vehicle speed control system according to an embodiment of the invention;

FIG. 2 illustrates a flow chart of a method of vehicle speed planning according to an embodiment of the present invention;

FIG. 3A shows a flowchart of a method of an embodiment for determining a second travel speed;

FIG. 3B shows a flowchart of a method of another embodiment for determining a second travel speed;

FIG. 4 is a flow chart of a method for vehicle speed planning using a dynamic planning algorithm;

FIG. 5 is a schematic view showing a force analysis of a target vehicle while traveling;

FIG. 6 shows a schematic diagram of an engine fuel consumption map of a target vehicle;

FIG. 7 illustrates a flowchart of a method of one embodiment of calculating the sub-cost on the kth sub-way;

FIG. 8 illustrates a flow chart of a method of one embodiment of calculating a sub-cost based on a predicted travel time and a predicted fuel consumption;

FIG. 9 shows a functional block diagram of a vehicle speed planning apparatus according to an embodiment of the present invention;

FIG. 10 shows a functional block diagram of an electronic device according to an embodiment of the invention.

Detailed Description

In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art without any inventive work based on the embodiments in the present application shall fall within the scope of protection of the present application.

In the vehicle speed planning scheme aiming at improving the fuel economy in the prior art, because the calculated amount of a planning algorithm is large, the time required by planning is long, and the change of traffic flow information is fast in the actual running process of a vehicle, if the traffic flow information is considered in the vehicle speed planning scheme for improving the fuel economy, the calculated amount of the planning algorithm is further increased, so that the time required by planning is longer, and the traffic flow with fast response and fast change cannot be met.

Therefore, the embodiment of the specification provides a vehicle speed control system, which can quickly respond to a traffic flow with a fast change while improving fuel economy, and can timely adjust the vehicle speed planning algorithm to improve fuel economy so as to timely adjust the vehicle speed planning algorithm when an error occurs.

As shown in fig. 1, the system includes a first processor, a second processor, a storage module, a control module, a sensing module, and a wind resistance and rolling resistance obtaining module.

The wind resistance and rolling resistance estimation module is used for acquiring rolling resistance and air resistance of a vehicle.

The first processor is used for executing vehicle speed planning according to road condition information such as rolling resistance, air resistance and the like to obtain a running speed curve, and storing the running speed curve in the memory. The rolling resistance coefficient and the rolling resistance coefficient used for executing the vehicle speed planning can be determined by the wind resistance and rolling resistance acquisition module, or can be pre-stored in the first processor.

The first processor also detects the current speed of the vehicle through a detection device of a vehicle chassis before executing the speed planning, and acquires road condition information in a preset road section in front of the target vehicle for the speed planning. The road condition information within a predetermined section ahead of the target vehicle is acquired, and for example, as shown in fig. 1, an ADAS (Advanced Driving Assistance System) map is acquired, and gradient information of a road 5km ahead of the target vehicle is determined from the map.

Before the first processor executes the vehicle speed planning, a user can input a set speed to the first processor through interactive equipment such as a key, a touch display screen and the like. The first processor can adjust the weight of time and oil consumption according to the set speed of the user and/or adjust the upper limit and the lower limit of the speed range so as to be used for vehicle speed planning.

The second processor is used for obtaining a second running speed according to the traffic information by executing speed planning, acquiring a running speed curve from the processor, determining a first running speed and determining a target speed of the target vehicle in the next running period according to the first running speed and the second running speed.

The second processor obtains traffic information through the perception module before executing the vehicle speed planning. The sensing module can be, for example, a radar ranging module, an infrared ranging module, an image recognition module, and the like. The traffic information may be, for example, the distance between the target vehicle and the preceding vehicle, the speed of the vehicle ahead of the target vehicle, the color and countdown time of a traffic signal at an intersection ahead of the target vehicle, the position of a stop line at an intersection ahead of the target vehicle, and the like.

The second processor sends the target vehicle speed to the control module after determining the target vehicle speed. The control module is used for sending a control command to control the throttle opening, the brake size and the like, so that the chassis of the vehicle is controlled to act to realize acceleration or braking and the like.

In the vehicle speed control system shown in fig. 1, the frequency with which the first processor performs the vehicle speed plan is 1Hz, and the frequency with which the second processor performs the vehicle speed plan is 10 Hz.

The steps performed by the first processor and the second processor may also be implemented by one processor. The vehicle speed planning method performed by the processor is described below. As shown in fig. 2, the vehicle speed planning method includes the following steps.

S110: road condition information within a first predetermined section ahead of a target vehicle is acquired.

The "front" in the present application refers to a direction in the traveling direction of the target vehicle, which is in the same lane as the target vehicle.

In some embodiments, the "first predetermined road segment" may be a road segment within a first predetermined distance ahead. For example 0-5km ahead.

In some embodiments, the "first predetermined road segment" may be a road segment of the same gradient in the road segment ahead. For example, a 0-1km slope in the road segment ahead may be 0, and a 1-3km slope may be 5, then the first predetermined road segment ahead of the target vehicle may be a 0-1km segment.

In some embodiments, the "first predetermined road segment" may be a road segment determined by a combination of a first predetermined distance and a grade, namely: under the condition that the lengths of the road sections with the same gradient in the front road section do not exceed a first preset distance, the first preset road section is the road section with the same gradient in the front road section; in the case where the length of the road section having the same gradient in the preceding road section exceeds the first predetermined distance, the first predetermined road section is a road section within the first predetermined distance ahead. For example, a slope of 0-1km in the road section ahead is 0, a slope of 1-3km is 15 °, and if the first predetermined distance is 0.5km, the first predetermined road section is 0-0.5 km; if the first predetermined distance is 1.5km, the first predetermined link is 0-1 km.

The road condition information for the first predetermined section may be obtained in consideration of the fact that the target vehicle will experience different amounts of resistance due to different slopes and road surfaces for the first predetermined section. The road condition information is used for representing road attributes, namely attributes which are not influenced by traffic flow. Road attributes may include road grade, road rolling friction coefficient, air density near the road, and the like. For example, the road surface height information of the first predetermined section may be acquired by a high-precision map. After the road surface height information map is acquired, the grade value at each position in the target road may be determined according to the distance value and the corresponding height value of the target road in the road surface height information map.

S120: and planning the speed of the vehicle according to the road condition information to obtain a driving speed curve of the target vehicle in the first preset road section.

The driving speed profile in the first predetermined section should be a relatively smooth transition profile, i.e. the acceleration should not be particularly great.

The driving speed curve of the target vehicle in the first preset road section can represent the corresponding relation between the distance and the driving speed, wherein the distance refers to the distance between the position of the target vehicle and the target position point of the vehicle speed plan when the vehicle speed plan is carried out. For example, the position a is the position of the target vehicle when the vehicle speed plan is executed, and the position B is 500m away from the position a, that is, the target vehicle travels 500m from the position a and reaches the position B, which is the target position point of the vehicle speed plan.

S130: one of the travel speeds in the travel speed profile is determined as a first travel speed of the target vehicle in a next travel cycle.

In the case where the execution frequency of steps S110 to S120 is the same as the execution frequency of step S130, step S130 may determine the first travel speed in the travel speed curve as the first travel speed.

In the case where the execution frequency of steps S110 to S120 is different from the execution frequency of step S130, it is also possible to determine any other one of the traveling speeds in the traveling speed curve as the first traveling speed. For example, when the target vehicle is located at the a position point and the first travel speed is determined when the target vehicle travels forward for 500m and then reaches the B position point, the travel speed corresponding to 500m in the travel speed curve may be taken as the first travel speed.

As such, step S130 may determine one travel speed in the travel speed profile as the first travel speed according to the position of the target vehicle in the first predetermined road segment.

S140: and acquiring traffic information in a second preset road section in front of the target vehicle.

The length of the second predetermined segment may be less than or equal to the length of the first predetermined segment. The determination method thereof may refer to the description about the first predetermined section.

The "traffic information" refers to information on the traffic flow, and may be information on the vehicle, such as a vehicle speed, an acceleration (when the vehicle is decelerating, the acceleration is a negative value), or traffic signal information, such as a color of a traffic signal, a countdown time, a position of a stop line, a turn signal that can be driven in the current lane, a traffic volume, an average driving speed of the traffic flow, and the like.

S150: and planning the speed according to the traffic information to obtain a second running speed of the target vehicle in the next running period.

S160: and determining the target vehicle speed of the target vehicle in the next driving cycle according to the first driving speed and the second driving speed of the target vehicle in the next driving cycle.

The travel period may be the inverse of the frequency at which the target vehicle speed is determined. For example, if the frequency of determining the target vehicle speed is 10Hz, the travel period may be 1/10Hz — 0.1 s. One target vehicle speed is applied only to the next travel period from the determined time.

According to the vehicle speed planning method, the planned vehicle speed with the aim of improving the fuel economy according to the road condition information is fused with the planned vehicle speed based on the traffic information to determine the target vehicle speed of the target vehicle in the next driving period, so that the vehicle speed can be flexibly changed according to the actual road scene while the fuel economy is improved.

As shown in FIG. 2, in some embodiments, the execution frequency of steps S110-S120 is a first predetermined frequency and the execution frequency of steps S130-S160 is a second predetermined frequency, wherein the first predetermined frequency is less than the second predetermined frequency. For example, the first predetermined frequency is 1Hz and the second predetermined frequency is 10 Hz.

The low execution frequency of the steps S110-S120 can ensure the time length required by executing the planning algorithm, the high execution frequency of the steps S130-S160 can respond to the traffic information with rapid change in time, and the two are complementary, so that the vehicle speed can be flexibly changed according to the actual road scene while the fuel economy is improved.

In some embodiments, if the front vehicle is slow, braking or parking, and the rear target vehicle needs to decelerate, step S150 may be:

s151: the maximum speed of the target vehicle is calculated according to the following formula:where s is the distance between the target vehicle and the preceding vehicle, v1The speed of the leading vehicle, a1Is the deceleration of the preceding vehicle, a2Is the maximum deceleration of the target vehicle, v2Is the maximum speed of the target vehicle.

The leading vehicle may be the first vehicle within a predetermined distance or measurable range forward.

S152: the maximum speed is taken as the second travel speed of the target vehicle.

In the case where the difference between the second speed of the next travel cycle and the current speed does not exceed the predetermined difference, the second travel speed may be determined according to the method described in step S152. For example, if the current vehicle speed is 50km/h, the maximum speed of the target vehicle is 65km/h, and the predetermined difference is 10km/h, the second travel speed may be 60 km/h.

In some embodiments, before executing step S151, it may be determined whether the distance between the target vehicle and the preceding vehicle is decreasing, and step S151 may be executed if the distance is decreasing.

However, the second travel speed determination method described in steps S151 and S152 above may result in a small difference between the target vehicle and the preceding vehicle after deceleration, so that a safe distance cannot be ensured, and deceleration at a large deceleration may make the experience of the occupant poor.

In this regard, the present disclosure provides another method for determining a second travel speed. As shown in fig. 3B, this includes the following steps:

s153: the distance between the target vehicle and the front vehicle is acquired.

S154: and determining the target expected speed according to the distance between the target vehicle and the front vehicle, the preset distance between the target vehicle and the front vehicle and the corresponding relation between the target vehicle and the front vehicle and the expected speed.

The method for forming the preset corresponding relation between the distance between the test vehicle and the front vehicle and the expected speed can be that a designer firstly sets the distance between the test vehicle and the front vehicle, then controls the test vehicle to run at the preset speed, and gradually adjusts the preset speed, so that the speed which enables the driving experience to be better is searched and obtained.

The expression of the correspondence relationship may be in the form of a graph or may be an expression of a fitted curve.

In some embodiments, the correspondence relationship may also be a correspondence relationship of "distance to preceding vehicle", "acceleration or deceleration of preceding vehicle" and "desired speed". Accordingly, the acquired traffic information may include: distance to the preceding vehicle, acceleration or deceleration of the preceding vehicle.

S155: the target desired speed is taken as the second travel speed.

In some embodiments, step S151 may be further performed after the target desired speed is acquired. Accordingly, step S155 may be to take the target desired speed as the second running speed of the target vehicle in a case where the target desired speed is less than the maximum speed. And in the case where the target desired speed is greater than the maximum speed, the maximum speed may be taken as the second travel speed.

In some embodiments, S160 may determine the smaller of the first travel speed and the second travel speed as the target vehicle speed of the target vehicle in the next travel cycle.

In some embodiments, S160 may use a weighted average of the first travel speed and the second travel speed as the target vehicle speed of the target vehicle in the next travel cycle.

In some embodiments, S160 may first calculate a weighted average of the first traveling speed and the second traveling speed, and execute step S151 to calculate the maximum speed of the target vehicle, and in the case that the weighted average is not greater than the maximum speed, take the weighted average as the target vehicle speed of the target vehicle in the next traveling cycle; and in the case that the weighted average value is not greater than the maximum speed, taking the maximum speed as the target vehicle speed of the target vehicle in the next driving cycle.

In some embodiments, step S120 may employ a dynamic planning algorithm for vehicle speed planning. Specifically, as shown in fig. 4, the following steps may be included.

S121: vehicle information of a target vehicle is acquired.

The vehicle information of the target vehicle may include at least one of: mass, wind resistance coefficient, windward area, tire radius, main reducer transmission ratio, transmission ratio of a speed changer, transmission efficiency and the like.

S122: and acquiring a target state equation.

The target state equation is related to vehicle information, road condition information and a preset control sequence of the target vehicle, wherein the preset control sequence comprises a plurality of control variables, and the control variables comprise accelerator opening or brake opening.

A power and resistance model of the target vehicle may be established based on the vehicle information and the road condition information, and a target state equation may be generated based on the power and resistance model. Specifically, in the present embodiment, it is possible to determine the engine torque when the target vehicle travels at each position of the target road, based on the force-receiving analysis performed on the target vehicle. Specifically, referring to fig. 5, fig. 5 is a schematic view illustrating a force analysis of the target vehicle during driving. As shown in fig. 5, the force experienced by the target vehicle can be expressed by the following equations:

Fj=Fd-Fg-Fr-Fa

Fj=ma;

Fg=mg·sinθ;

Fr=f·mg·cosθ;

Fa=0.5ρaCdAfv2

the engine torque of the target vehicle may be calculated by the following equation:

wherein, FjAnd may be expressed in particular as the total force, F, acting on the target vehicledSpecifically, it can be expressed as a driving force, F, acting on the target vehiclegIt can be expressed in particular as the ramp resistance, FrIt can be expressed in particular as rolling resistance, FaSpecifically, the air resistance, θ specifically, the gradient, g specifically, the gravitational acceleration, m specifically, the weight of the target vehicle, and f specifically, the rolling resistance coefficient, ρ, of the road surfaceaIt can be expressed in particular as air density, CdMay be expressed specifically as the wind resistance coefficient, A, of the target vehiclefSpecifically, the frontal area of the target vehicle, v specifically the traveling speed of the target vehicle, and a specifically the acceleration of the target vehicle. Wherein, TeWhich may be expressed specifically as engine torque, ifWhich can be expressed in particular as the final drive ratio, igIn particular, it may be expressed as a variator drive ratio, in particular it may be expressed as a transmission efficiency, and R in particular it may be expressed as a tire radius. In the present embodiment, the running resistance of the vehicle may specifically include the above-described ramp resistance, rolling resistance, and air resistance. Based on the conventional method, in order to calculate the ramp resistance, the rolling resistance, and the air resistance, respectively, the ramp resistance, the rolling resistance, and the air resistance are calculated according to the above equations based on the vehicle information of the target vehicle and the road information of the target road, respectively, thereby establishing a power and resistance model of the target vehicle. After the power and resistance model is established, a target equation of state for the target vehicle while traveling on the target road may be generated based on the power and resistance model. The target state equation is related to a preset control sequence, the preset control sequence comprises a plurality of control variables, and the control variables comprise accelerator opening or brake opening. And determining the state and the state change of the target vehicle when the target vehicle runs on the target road according to the target state equation. Wherein the target vehicleThe state of the vehicle may include a speed of the target vehicle. The control variable may be an accelerator opening from which the engine torque may be determined. After engine torque is obtained, according to the formula in the power and resistance modelThe power of the target vehicle can be determined. Then, according to the formula F in the power and resistance modelg=mg·sinθ、FrF mg cos θ and Fa=0.5ρaCdAfv2The resistance of the target vehicle can be determined according to formula F in the power and resistance modelj=Fd-Fg-Fr-FaAnd FjThe acceleration a of the target vehicle can be obtained. And finally, obtaining the speed of the target vehicle according to the acceleration and the initial speed. That is, the target state equation of the target vehicle may be generated from the power and resistance model of the target vehicle.

S123: and acquiring a target cost function. The target cost function is associated with a target state equation, a preset control sequence.

A target cost function of the target vehicle can be generated according to the target state equation and the engine oil consumption characteristic diagram, wherein the target cost function is related to a preset control sequence.

Specifically, after the target state equation is generated, a target cost function of the target vehicle may be generated according to the target state equation and the engine fuel consumption map. The target cost function at least comprises the oil consumption cost of the target vehicle when the target vehicle runs on the target road. The vehicle speed of the target vehicle may be determined from the target state equation, and the engine torque and the engine speed of the target vehicle may be determined from the vehicle speed of the target vehicle. And then, determining the fuel consumption cost of the target vehicle according to the engine torque, the engine speed and the engine fuel consumption characteristic diagram so as to obtain a target cost function of the target vehicle.

The fuel consumption map of the engine of the target vehicle may be stored in advance, and may be directly acquired. The fuel consumption map of the engine of the target vehicle may be obtained through experiments. For example, by performing an experiment on an engine pedestal, a group of [ engine speed, engine torque, and instantaneous engine oil consumption ] can be obtained through one experiment, and an oil consumption characteristic diagram of the engine of the target vehicle can be obtained by performing one experiment on different speeds and different torques. Wherein one operating point corresponds to one engine speed and one engine torque. Wherein the engine speed may be converted into a running speed of the target vehicle. The fuel consumption map is used to indicate instantaneous fuel consumption when the engine is operating at each of a plurality of operating points.

For example, as shown in fig. 6, a schematic diagram of an engine fuel consumption map of a target vehicle in an embodiment of the present application is shown. In fig. 6, the horizontal axis represents the engine speed (in units of 1/min), the vertical axis represents the engine torque (in units of Nm), and the contour line represents the instantaneous fuel consumption (in units of g/(kw.h)) of the engine, which indicates the fuel consumption required per unit energy consumed for the corresponding engine operating point. Wherein, the shadow area is the working point range with the most economical oil consumption. In one embodiment, obtaining the engine fuel consumption map may include obtaining the engine fuel consumption map for the target vehicle in a plurality of gears. Since the target vehicle is in different gears during running, the higher the speed and the higher the gear, the different fuel consumption characteristics of the engine in different gears can be obtained, and therefore, the fuel consumption characteristic diagrams of the engine of the target vehicle in multiple gears can be obtained.

In one embodiment, a first transient flow map of an engine of a target vehicle may be generated based on a fuel consumption map of the engine of the target vehicle. Wherein the first instantaneous flow rate is the amount of oil consumed by the target vehicle per unit time of travel. For example, the unit of instantaneous fuel consumption may be g/(kw.h) and the unit of first instantaneous flow may be g/h. In order to convert the fuel consumption characteristic map into the first instantaneous flow map, the value of the first instantaneous flow (g/h) corresponding to each operating point can be obtained by multiplying the instantaneous fuel consumption by the power of the corresponding operating point, i.e., g/(kw.h) × kw, thereby obtaining the first instantaneous flow map. Wherein the power at each operating point may be the engine speed multiplied by the engine torque at each operating point.

In one embodiment, a second instantaneous flow map of the engine of the target vehicle may be generated based on a fuel consumption map of the engine of the target vehicle. Wherein the second instantaneous flow rate is the amount of oil consumed by the target vehicle to travel a unit distance. For example, the unit of instantaneous fuel consumption may be g/(kw.h) and the unit of second instantaneous flow rate may be g/km. In order to convert the oil consumption characteristic map into a second instantaneous flow map, a value of the second instantaneous flow (g/km) corresponding to each operating point can be obtained by using g/(kw.h) × kw/(km/h), namely, multiplying the instantaneous oil consumption by the power of the corresponding operating point and dividing by the vehicle speed corresponding to the corresponding operating point, so that the second instantaneous flow map is obtained. Wherein the power at each operating point may be the engine speed multiplied by the engine torque at each operating point.

S124: and based on the target cost function, determining the minimum value of the target cost function and a target control sequence corresponding to the minimum value by using a dynamic programming algorithm, and determining a running speed curve of the target vehicle in the first preset road section according to the target control sequence and the target state equation.

After determining the target cost function of the target vehicle, a minimum value of the target cost function and a target control sequence corresponding to the minimum value may be determined using a dynamic programming algorithm. After determining the target control sequence, a travel speed profile of the target vehicle over the first predetermined segment may be determined based on the target control sequence and the target state equation. The driving speed curve may include a variation curve of the driving speed of the target vehicle on the first predetermined road section along with the position on the first predetermined road section. When the target vehicle is driven on the first predetermined road section according to the determined driving speed curve, the value of the target cost function of the target vehicle is minimum, namely the cost is minimum.

The method described in the above steps S121 to S124 can find a suitable driving speed curve when the target vehicle drives on the whole first predetermined road section, so as to effectively reduce the fuel consumption of the vehicle, improve the fuel economy of the vehicle, and save resources and cost.

In some embodiments, the target state equation may be:

x(k+1)=f(x(k),u(k)),k=0,1,...,N-1

wherein f (x (k), u (k)) is a target state equation, u (k) is a k-th control variable in a preset control sequence, x (k) is a state of the target vehicle at a k-th sub-road end point of the first predetermined road section, x (k +1) is a state of the target vehicle at a k + 1-th sub-road end point of the first predetermined road section, wherein the states include a vehicle speed and a gear of the target vehicle, and N is a total number of sub-roads included in the first predetermined road section.

In some embodiments of the present application, generating the target cost function of the target vehicle according to the target state equation and the engine fuel consumption map may include: acquiring a sub-cost function of a sub-road where the terminal point state of the first preset road section is located; determining a sub-cost function of each sub-road in a plurality of sub-roads in a first preset road section according to a target state equation and an engine oil consumption characteristic diagram, wherein the first preset road section is divided into the plurality of sub-roads, a plurality of control variables in a preset control sequence are in one-to-one correspondence with the plurality of sub-roads, and the sub-cost function of each sub-road is associated with the corresponding control variable; and generating a target cost function of the target vehicle according to the sub cost function of the sub road where the terminal state is located and the sub cost functions of all the sub roads.

Specifically, in order to determine the target cost function of the target vehicle, a sub-cost function of a sub-road on which the end point state of the first predetermined section is located may be obtained first. For example, an end point speed of 80km/h may be preset, and the sub-cost function of the sub-link where the end point state is located may be 10 × abs (v-80), which may increase the cost for end point states with speeds other than 80km/h at the end point. A sub-cost function for each of a plurality of sub-roads in the first predetermined segment may be determined based on the target state equation and the engine fuel consumption map. Wherein the first predetermined section may be divided into a plurality of sub-roads. For example, if the first predetermined section is 40km, divided every 10m, 4000 sub-roads are included. For each sub-circuit, a control variable can be applied, which can be the throttle opening or the brake opening. That is, the number of control variables included in the preset control sequence is consistent with the number of sub-roads in the first predetermined section, and each control variable corresponds to each sub-road one to one. The sub-cost function of each sub-way is associated with a corresponding control variable. Thereafter, a target cost function for the target vehicle may be generated based on the end-point state cost function and the sub-cost functions for each sub-road. Through the method, the target cost function of the target vehicle can be generated according to the target state equation and the engine oil consumption characteristic diagram.

In some embodiments, the target cost function is:

wherein, Jπ(x0) Is a target cost function, gN(xN) A sub-cost function, x, for the target vehicle on the Nth sub-roadNL (x (k), u (k)) is a sub-cost function of the target vehicle on a k-th sub-road, u (k) is a k-th control variable in a preset control sequence, x (k) is the state of the target vehicle on the k-th sub-road of the first predetermined road section, and N is the total number of sub-roads included in the first predetermined road section.

In some embodiments of the present application, the first predetermined road segment may be divided into N sub-roads, where the N sub-roads include a 0 th sub-road, a 1 st sub-road, a 2 nd sub-road, and … N-1 th sub-road, where N is an integer greater than 1. Accordingly, determining the minimum value of the target cost function and the target control sequence corresponding to the minimum value by using the dynamic programming algorithm may include the following steps:

step 1, acquiring a plurality of preset control variable values, wherein the preset control variable values are integers and can be [ -100,100], wherein a negative value indicates that the control variable is a brake opening degree, and a positive value indicates that the control variable is an accelerator opening degree;

step 2, determining the value of a target cost function of a sub-road from the kth sub-road to the terminal point of the first preset road section according to each preset control variable value in the plurality of preset control variable values to obtain a plurality of cost values corresponding to the kth sub-road;

step 3, determining a preset control variable value corresponding to the minimum cost value in the plurality of cost values corresponding to the kth sub-path as a target control variable value corresponding to the kth sub-path, and executing k to k-1;

step 4, determining whether k is smaller than 0, if so, executing step 5, otherwise, returning to step 2;

and 5, generating a target control sequence according to the target control variable value corresponding to each sub-path in the N sub-paths, and determining the minimum cost value in the plurality of cost values corresponding to the 0 th sub-path as the minimum value of the target cost function.

Wherein the initial value of k is N-1. By the above method, starting from the N-1 th sub-road (the last sub-road), the minimum value of the target cost function of the sub-road from the sub-road to the end point of the first predetermined road section and the corresponding control variable value are calculated, and the minimum value of the target cost function and the corresponding control variable value are calculated up to the minimum value of the target cost function from the 0 th sub-road (the most previous sub-road) to the end point of the first predetermined road section and the corresponding control variable value, so that the minimum value of the target cost function and the target control sequence corresponding to the minimum value can be obtained. Then, a travel speed profile of the target vehicle while traveling on the first predetermined road segment may be determined based on the target control sequence and the target state equation.

In some embodiments, based on the target cost function, in determining the target control sequence corresponding to the minimum value and the minimum value of the target cost function by using a dynamic programming algorithm, the target control sequence corresponding to the minimum value and the minimum value of the target cost function is determined according to the following formula:

wherein, J*(x(N))=gN(xN),gN(xN) A sub-cost function, x, for the target vehicle on the Nth sub-roadNThe state of the target vehicle at the end point of the first predetermined section, J*(x (k)) is a cost function starting from the kth sub-road of the first predetermined route section to the end point of the first predetermined route section, J*(x (k +1)) is a cost function from the k +1 th sub-road of the first predetermined route section to the end point of the first predetermined route section, and L (x (k), u (k)) is the k-th sub-road of the target vehicleAnd N is the total number of sub-roads included in the first preset road section. Wherein, J*(x (k)), and a sequence of control variables corresponding to k ═ N-1, N-2. By calculating the minimum cost value, J, in reverse*(x (0)) is the minimum of the objective cost function. By the method, the minimum target cost function value of the first preset road section can be determined, and the corresponding target control sequence is obtained.

In some embodiments, as shown in fig. 7, the sub-cost L (x (k), u (k)) of the target vehicle on the k-th sub-road is calculated as follows:

s701: the acceleration is derived from the vehicle speed and the gear.

The vehicle speed may be obtained from state x (k).

S702: and deducing the predicted running time on the kth sub-road according to the current vehicle speed and the acceleration.

S703: and deducing the engine speed of the target vehicle according to the vehicle speed and the gear.

S704: and searching the corresponding oil consumption per unit time from the oil consumption characteristic diagram of the engine according to the rotating speed and the opening degree of the accelerator of the engine.

The throttle opening can be derived from the control variable u (k). Step S704 assumes that only one control variable, i.e. only throttle opening or only brake opening, is used on the same sub-path.

S705: and taking the product of the searched oil consumption per unit time and the driving time as the estimated oil consumption.

S706: the operator cost is calculated based on the estimated travel time and the estimated fuel consumption.

And calculating the sub cost according to the estimated running time and the estimated fuel consumption, namely dynamically planning the time and the fuel consumption as a cost, thereby balancing the requirements of users on rapidness and economy.

In some embodiments, the sub-cost may be calculated by an exponential calculation formula, or by a logarithmic calculation formula, or by a weighted average.

In some embodiments, as shown in FIG. 8, the sub-cost may be calculated by the following steps.

S801: and acquiring the set vehicle speed input by the user.

S802: and searching a corresponding weight pair from a preset parameter library according to the set vehicle speed input by the user, wherein the weight pair comprises a first weight corresponding to the predicted driving time and a second weight corresponding to the predicted fuel consumption.

The weight pairs in the preset parameter library can be obtained by adjusting through a plurality of tests in advance according to the set vehicle speed.

S803: a sub-cost is calculated based on the first weight and the second weight.

The sub-cost may be calculated by "estimated travel time × first weight + estimated fuel consumption × second weight". Or the estimated running time or the estimated fuel consumption can be multiplied by the weighted value after being subjected to function calculation. The present application does not limit the specific calculation method.

In some embodiments of the present application, determining a driving speed profile of the target vehicle on the first predetermined road segment according to the target control sequence and the target state equation may include: acquiring an initial state of a target vehicle, wherein the initial state comprises a vehicle speed, an acceleration and a gear when the target vehicle enters a first preset road section; and determining a running speed curve of the target vehicle on the first preset road section according to the initial state, the target control sequence and the target state equation.

After determining the target control sequence, a travel speed profile of the target vehicle over the first predetermined segment may be determined based on the target control sequence and the target state equation. Specifically, an initial state of the target vehicle may be acquired, for example, an initial speed, acceleration, and gear of the target vehicle may be acquired. And then, the state of the target vehicle on each sub-road can be obtained according to the initial speed, the acceleration, the gear, the target control sequence and the target state equation, namely the running speed of the target vehicle on each sub-road is obtained, and thus the running speed curve of the target vehicle is determined. In this way, the travel speed curve of the target vehicle on the first predetermined road section can be determined according to the target control sequence and the target state equation.

The embodiment of the specification provides a vehicle speed planning device which can be used for executing the method shown in FIG. 2. As shown in fig. 9, the apparatus includes a first obtaining module 10, a first planning module 20, a first determining module 30, a second obtaining module 40, a second planning module 50, and a second determining module 60.

The first obtaining module 10 is configured to obtain road condition information within a first predetermined section ahead of a target vehicle.

The first planning module 20 is configured to plan a vehicle speed according to the road condition information, so as to obtain a driving speed curve of the target vehicle in a first predetermined road segment.

The first determination module 30 is configured to determine one travel speed in the travel speed profile as a first travel speed of the target vehicle in a next travel cycle.

The second obtaining module 40 is used for obtaining traffic information in a second predetermined road section in front of the target vehicle.

The second planning module 50 is configured to plan the vehicle speed according to the traffic information, so as to obtain a second driving speed of the target vehicle in a next driving cycle.

The second determining module 60 is configured to determine a target vehicle speed of the target vehicle in the next driving cycle according to the first driving speed and the second driving speed of the target vehicle in the next driving cycle.

In some embodiments, the first obtaining module and the first planning module perform, according to a first predetermined frequency: acquiring road condition information in a first preset road section in front of a target vehicle; planning the speed of the target vehicle according to the road condition information to obtain a driving speed curve of the target vehicle in the first preset road section, wherein the driving speed curve represents the driving speed of each sub-road section in the first preset road section; and the first determining module, the second obtaining module, the second planning module and the second determining module execute according to a second predetermined frequency: determining one of the travel speeds in the travel speed profile as a first travel speed; acquiring traffic information in a second preset road section in front of the target vehicle; planning the vehicle speed according to the traffic information to obtain a second running speed; determining the target vehicle speed of the target vehicle in the next driving cycle according to the first driving speed and the second driving speed; wherein the first predetermined frequency is less than the second predetermined frequency.

In some embodiments, the traffic information comprises: the vehicle speed of the preceding vehicle, the distance to the preceding vehicle, and the deceleration of the preceding vehicle. Accordingly, the second planning module 50 includes a first calculation submodule 51 and a first determination submodule 52.

The first calculation submodule 51 is operable to calculate the maximum speed of the target vehicle according to the following formula:

where s is the distance between the target vehicle and the preceding vehicle, v1The speed of the leading vehicle, a1Is the deceleration of the preceding vehicle, a2Is the maximum deceleration of the target vehicle, v2Is the maximum speed of the target vehicle.

The first determination submodule 52 is configured to take the maximum speed as the second travel speed of the target vehicle.

In some embodiments, the traffic information comprises: distance from the vehicle in front. Accordingly, the second planning module 50 includes a first acquisition sub-module 53, a second determination sub-module 54, and a third determination sub-module 55.

The first acquisition submodule 53 is used to acquire the distance between the target vehicle and the preceding vehicle.

The second determination submodule 54 is configured to determine a target desired speed based on a distance between the target vehicle and the preceding vehicle, a preset distance to the preceding vehicle, and a corresponding relationship between the target vehicle and the preceding vehicle and the desired speed.

The third determination submodule 55 is configured to set the target desired speed as the second travel speed.

In some embodiments, the second determination module 60 determines the lesser of the first travel speed and the second travel speed as the target vehicle speed of the target vehicle for the next travel cycle; alternatively, the second determination module 60 determines the target vehicle speed of the target vehicle for the next travel cycle based on a weighted average of the first travel speed and the second travel speed.

In some embodiments, the first planning module 20 includes a second acquisition sub-module 21, a third acquisition sub-module 22, a fourth acquisition sub-module 23, and a fourth determination sub-module 24.

The second obtaining sub-module 21 is used to obtain vehicle information of the target vehicle.

The third obtaining submodule 22 is configured to obtain a target state equation, where the target state equation is related to vehicle information of a target vehicle, road condition information, and a preset control sequence, where the preset control sequence includes a plurality of control variables, and the control variables include accelerator opening or brake opening.

The fourth obtaining submodule 23 is configured to obtain a target cost function, where the target cost function is related to a target state equation, an engine oil consumption characteristic diagram, and a preset control sequence.

The fourth determining submodule 24 is configured to determine, based on the target cost function, a minimum value of the target cost function and a target control sequence corresponding to the minimum value by using a dynamic programming algorithm, and determine a driving speed curve of the target vehicle in the first predetermined road section according to the target control sequence and the target state equation.

In some embodiments, the target state equation is:

x(k+1)=f(x(k),u(k)),k=0,1,...,N-1;

wherein f (x (k), u (k)) is a target state equation, u (k) is a k-th control variable in a preset control sequence, x (k) is a state of the target vehicle at a k-th sub-road end point of the first predetermined road section, x (k +1) is a state of the target vehicle at a k + 1-th sub-road end point of the first predetermined road section, wherein the states include a vehicle speed and a gear of the target vehicle, and N is a total number of sub-roads included in the first predetermined road section.

In some embodiments, the target cost function is:

wherein, Jπ(x0) Is a target cost function, gN(xN) Sub-cost function for target vehicle on Nth sub-roadNumber, xNL (x (k), u (k)) is a sub-cost function of the target vehicle on a k-th sub-road, u (k) is a k-th control variable in a preset control sequence, x (k) is the state of the target vehicle on the k-th sub-road of the first predetermined road section, and N is the total number of sub-roads included in the first predetermined road section.

In some embodiments, based on the target cost function, in determining the target control sequence corresponding to the minimum value and the minimum value of the target cost function by using a dynamic programming algorithm, the target control sequence corresponding to the minimum value and the minimum value of the target cost function is determined according to the following formula:

wherein, J*(x(N))=gN(xN),gN(xN) A sub-cost function, x, for the target vehicle on the Nth sub-roadNThe state of the target vehicle at the end point of the first predetermined section, J*(x (k)) is a cost function starting from the kth sub-road of the first predetermined route section to the end point of the first predetermined route section, J*(x (k +1)) is a cost function from the k +1 th sub-road of the first predetermined link to the end point of the first predetermined link, L (x (k), u (k)) is a sub-cost function of the target vehicle on the k-th sub-road, and N is the total number of sub-roads included in the first predetermined link.

In some embodiments, the sub-cost function L (x (k), u (k)) of the target vehicle on the kth sub-road is calculated as follows: deducing acceleration according to the vehicle speed and the gear; deducing the predicted running time on the kth sub-road according to the current speed and the acceleration; deducing the engine speed of the target vehicle according to the vehicle speed and the gear; according to the rotating speed and the opening degree of the accelerator of the engine, the corresponding oil consumption per unit time is searched from the oil consumption characteristic diagram of the engine; taking the product of the oil consumption in unit time and the running time as the predicted oil consumption; the operator cost is calculated based on the estimated travel time and the estimated fuel consumption.

In some embodiments, the sub-cost is calculated from the estimated travel time and the estimated fuel consumption by: acquiring a set vehicle speed input by a user; searching a corresponding weight pair from a preset parameter library according to a set vehicle speed input by a user, wherein the weight pair comprises a first weight corresponding to the predicted running time and a second weight corresponding to the predicted fuel consumption; a sub-cost is calculated based on the first weight and the second weight.

The relevant description and effects of the vehicle speed planning device can be understood by referring to the vehicle speed planning method, and are not described in detail.

An embodiment of the present invention further provides an electronic device, as shown in fig. 10, the electronic device may include a processor 101 and a memory 102, where the processor 101 and the memory 102 may be connected by a bus or in another manner, and fig. 10 illustrates the connection by the bus as an example.

The processor 101 may be a Central Processing Unit (CPU). The Processor 101 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.

The memory 102, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the vehicle speed planning method in the embodiment of the present invention (e.g., the first acquiring module 10, the first planning module 20, the first determining module 30, the second acquiring module 40, the second planning module 50, and the second determining module 60 shown in fig. 8). The processor 101 executes various functional applications and data processing of the processor by running non-transitory software programs, instructions and modules stored in the memory 102, so as to implement the vehicle speed planning method in the above method embodiment.

The memory 102 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 101, and the like. Further, the memory 102 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 102 may optionally include memory located remotely from processor 101, which may be connected to processor 101 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

The one or more modules are stored in the memory 102 and, when executed by the processor 101, perform a vehicle speed planning method as in the embodiment of fig. 2.

The details of the electronic device may be understood with reference to the corresponding related description and effects in the embodiment of fig. 2, and are not described herein again.

It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.

In the 50 s of the 20 th century, improvements in a technology could clearly be distinguished between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate a dedicated integrated circuit chip 2. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardbyscript Description Language (vhr Description Language), and the like, which are currently used by Hardware compiler-software (Hardware Description Language-software). It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.

The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments.

The systems, devices, modules or units described in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions.

For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.

From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of software products, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of some parts of the embodiments of the present application.

The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.

The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.

Although the present application has been described in terms of embodiments, those of ordinary skill in the art will recognize that there are numerous variations and permutations of the present application without departing from the spirit of the application, and it is intended that the appended claims encompass such variations and permutations without departing from the spirit of the application.

27页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:轨迹规划方法、装置、存储介质及电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!