A method, device, equipment and medium for controlling vehicle driving

By detecting the match between the current control information and the actual road conditions, and switching the control mode to ensure the safe passage of the vehicle, the safety problem of autonomous vehicles in the case of incorrect information is solved, and safe passage in the case of incorrect information is achieved.

CN118419071BActive Publication Date: 2024-10-11IMOTION AUTOMOTIVE TECH (SUZHOU) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410875814.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-11
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

In autonomous vehicles, when smart forward-looking cameras or high-precision maps transmit incorrect information, the vehicle cannot safely pass through the area to be driven, resulting in increased decision-making and control risks.

Method used

By detecting whether the current control information is consistent with the actual road conditions, if it is not consistent, it switches to the target control mode and uses the target control mode (visual or map) to control the vehicle's driving. The preset requirements are determined based on the position of the vehicle in front to ensure the safe passage of the vehicle.

Benefits of technology

It avoids wrong decisions due to wrong information, ensures that the vehicle can safely pass through the area to be driven in the case of wrong information, and improves the safety and stability of autonomous vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118419071B_ABST
    Figure CN118419071B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and medium for controlling vehicle driving, and relates to the field of automatic driving technology. It includes: when it is detected that the current control information does not conform to the actual road conditions, if the current control mode meets the preset requirements, the current control mode is switched to the target control mode, and the target control mode is used to control the driving of the vehicle; wherein the preset requirements are determined in combination with the position of the preceding vehicle, and the preset requirements corresponding to different control modes are different, and the preceding vehicle and the vehicle are located in the same lane; the target control mode is the control mode among all control modes except the current control mode. It can be seen that when the method detects that the visual information or map information is wrong, and when the current control mode meets the preset requirements, it switches to other control modes to control the driving of the vehicle, thereby avoiding wrong decisions made by using wrong map information or visual information all the time, and ensuring that the vehicle can safely pass through the area to be driven.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving technology, and in particular to a method, device, equipment and medium for controlling vehicle driving. Background Art

[0002] Nowadays, "autonomous driving" has become one of the indispensable functions of vehicles. To achieve navigation-assisted driving (Navigate on Autopilotm, NOA) in closed road scenarios, it is necessary to obtain road and vehicle information through sensors.

[0003] There are two main sources of control information for related NOA driving: one is map information, and the other is visual information. Controlling the vehicle according to map information is map control, that is, controlling the vehicle to drive in the lane according to the road information provided by the high-precision map. However, during map control, since the map points cannot be updated in real time, map control in this scenario is risky. Controlling the vehicle according to the information detected by the smart camera is visual control. During visual control, the smart front-view camera will output the detected visual lane line according to the actual lane line, but it cannot guarantee that the visual lane line is consistent with the actual lane line under all weather and all working conditions. Figure 1 is a schematic diagram of a scene in which a vehicle plans a normal path based on visual information when NOA is turned on on a closed road provided by an embodiment of the present invention. As shown in Figure 1, line segments a1 and b1 represent the actual lane lines on both sides. The lane lines detected visually are exactly a1 and b1, and the planning will give a line c1 (the red line in Figure 1) in the center of the visual lane line. The vehicle can pass smoothly and safely along the trajectory c1. Figure 2 is a schematic diagram of a scene in which a vehicle plans an incorrect path based on visual information when NOA is turned on on a closed road provided by an embodiment of the present invention. As shown in Figure 2, line segments a2 and b2 represent the lane lines on both sides detected by vision (the green line in Figure 2 is inconsistent with the trend of the actual lane lines a1 and a2). The planning will give a line c2 in the center of the visual lane line (the yellow line in Figure 2). When the vehicle travels along c2, it will deviate from the actual lane. If the edge of the lane is a curb, there may be a risk of collision. It can be seen that whether using map control or visual control, there will be false detection scenarios, which have a great impact on vehicle decision-making and control.

[0004] It can be seen that when the intelligent front-view camera or high-precision map transmits wrong information, how to ensure that the vehicle can pass through the area to be driven is a technical problem that people in this field urgently need to solve. Summary of the invention

[0005] The purpose of the present invention is to provide a method, device, equipment and medium for controlling vehicle driving to solve the technical problem that the vehicle cannot safely pass through the area to be driven when the intelligent front-view camera or high-precision map transmits wrong information.

[0006] In order to solve the above technical problems, the present invention provides a method for controlling vehicle driving, comprising:

[0007] Acquire a current control mode of the vehicle and current control information corresponding to the current control mode; wherein the current control mode is a visual control mode or a map control mode, the control information corresponding to the visual control mode is visual information, and the control information corresponding to the map control mode is map information;

[0008] In the case where it is detected that the current control information does not conform to the actual road conditions, if the current control mode meets the preset requirements, the current control mode is switched to the target control mode, and the target control mode is used to control the driving of the vehicle; wherein the preset requirements are determined in combination with the position of the preceding vehicle, and different control modes correspond to different preset requirements, and the preceding vehicle and the vehicle are located in the same lane; the target control mode is a control mode among all control modes except the current control mode;

[0009] When it is detected that the current control information does not conform to the actual road condition, if the current control method does not meet the preset requirements, the current control method is maintained to control the driving of the vehicle.

[0010] Preferably, determining the preset requirements satisfied by the visual control method includes:

[0011] Acquire a first path and a preview point planned by a visual control method; wherein the preview point is an observation point preset during path planning;

[0012] Marking a map point according to the position of the preceding vehicle and determining a first line according to the marked map point;

[0013] Obtain a first horizontal coordinate value of a point on the first path mapped from the preview point and obtain a second horizontal coordinate value of a point on the first line mapped from the preview point;

[0014] Obtaining a first difference between the first horizontal coordinate value and the second horizontal coordinate value;

[0015] Determine that the preset requirement satisfied by the visual control method is that the first difference is greater than or equal to a preset difference.

[0016] Preferably, marking a map point according to the position of the preceding vehicle comprises:

[0017] Obtaining the coordinate value of each map point in the map point sequence of the own lane, and obtaining the coordinate value of the preceding vehicle during the preceding vehicle's driving process;

[0018] If it is detected that the difference between the horizontal coordinate of the target map point and the horizontal coordinate of the preceding vehicle is less than a first deviation threshold, and the difference between the vertical coordinate of the target map point and the vertical coordinate of the preceding vehicle is less than a second deviation threshold, the target map point is marked; wherein the target map point is the map point closest to the center of the rear axle of the preceding vehicle among all map points in the map point sequence of the preceding vehicle during driving; the first deviation threshold and the second deviation threshold are both less than or equal to half the lane width.

[0019] Preferably, marking the target map point comprises:

[0020] Obtaining a unique number of the target map point in a map point sequence;

[0021] The target map point is marked with a unique number of the target map point in the map point sequence.

[0022] Preferably, determining the preset requirements satisfied by the map control method includes:

[0023] Obtaining the coordinate value of each map point in the map point sequence of the own lane, and obtaining the coordinate value of the preceding vehicle during the preceding vehicle's driving process;

[0024] Determine that the preset requirements satisfied by the map control method are that there is no exit in the current road section, the difference between the horizontal coordinate of the target map point and the horizontal coordinate of the preceding vehicle is greater than a third deviation threshold, and the difference between the vertical coordinate of the target map point and the vertical coordinate of the preceding vehicle is greater than a fourth deviation threshold; wherein the target map point is the map point closest to the center of the rear axle of the preceding vehicle among all map points in the map point sequence of the preceding vehicle during driving; and the third deviation threshold and the fourth deviation threshold are both greater than the width of a lane.

[0025] Preferably, determining that the map control method satisfies the preset requirements also includes:

[0026] Acquire a second path planned by a visual control method and acquire a third path planned by a map control method;

[0027] It is determined that the preset requirement that the map control method also satisfies is that the third path is consistent with the second path.

[0028] Preferably, after controlling the vehicle to travel by using the target control method, the method further includes:

[0029] Determining whether the current control information conforms to the actual road conditions, and determining whether the current control method meets the preset requirements;

[0030] When it is detected that the current control information does not conform to the actual road conditions and the current control mode meets the preset requirements, the target duration is obtained; wherein the target duration is the duration from the moment when the current control mode is switched to the target control mode to the moment when the current control mode is to be switched to the new target control mode;

[0031] When it is detected that the target duration meets the preset duration, the current control mode is switched to the new target control mode;

[0032] The new target control method is used to control the driving of the vehicle.

[0033] In order to solve the above technical problems, the present invention further provides a device for controlling vehicle driving, comprising:

[0034] an acquisition module, used to acquire a current control mode of the vehicle and current control information corresponding to the current control mode; wherein the current control mode is a visual control mode or a map control mode, the control information corresponding to the visual control mode is visual information, and the control information corresponding to the map control mode is map information;

[0035] A judgment module is used to judge whether the current control mode meets the preset requirements when it is detected that the current control information does not conform to the actual road conditions, wherein the preset requirements are determined in combination with the position of the preceding vehicle, and different control modes correspond to different preset requirements, and the preceding vehicle and the vehicle are located in the same lane; if so, the switching and control module is triggered; if not, the maintaining control module is triggered;

[0036] The switching and control module is used to switch the current control mode to a target control mode, and use the target control mode to control the driving of the vehicle; the target control mode is a control mode among all control modes except the current control mode;

[0037] The maintaining control module is used to maintain the current control mode to control the driving of the vehicle.

[0038] In order to solve the above technical problems, the present invention further provides a device for controlling vehicle driving, comprising:

[0039] Memory for storing computer programs;

[0040] The processor is used to implement the steps of the above-mentioned method for controlling vehicle driving when executing the computer program.

[0041] In order to solve the above technical problem, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method for controlling vehicle driving are implemented.

[0042] The method for controlling vehicle driving provided by the present invention includes: when it is detected that current control information does not conform to actual road conditions, if the current control mode meets preset requirements, the current control mode is switched to a target control mode, and the target control mode is used to control the driving of the vehicle; wherein the preset requirements are determined in combination with the position of a leading vehicle, and different control modes correspond to different preset requirements, and the leading vehicle and the vehicle are located in the same lane; the target control mode is a control mode among all control modes except the current control mode; when it is detected that current control information does not conform to actual road conditions, if the current control mode does not meet the preset requirements, the current control mode is kept used to control the driving of the vehicle. It can be seen that when the method detects that the visual information or map information is wrong and the current control mode meets the preset requirements, it switches to other control modes to control the vehicle driving, thereby avoiding wrong decisions made by using wrong map information or visual information all the time, and ensuring that the vehicle can safely pass through the waiting area; and, in practice, there may be a situation where the current control information deviates little from the actual road conditions. In this case, when the vehicle is controlled according to the current control mode, the vehicle can also safely pass through the area. Therefore, the method sets the preset requirements as the conditions for triggering or not triggering the switching of the control mode, thereby avoiding the operation of switching the control mode once it is detected that the current control information does not meet the actual road conditions, thereby realizing the effective switching of the vehicle control mode.

[0043] In addition, the present invention also provides a device for controlling vehicle driving, an apparatus for controlling vehicle driving, and a computer-readable storage medium, which have the same or corresponding technical features as the above-mentioned method for controlling vehicle driving and have the same effects as above. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0045] FIG1 is a schematic diagram of a scenario in which a vehicle plans a normal path based on visual information when NOA is turned on on a closed road, provided by an embodiment of the present invention;

[0046] FIG2 is a schematic diagram of a scenario in which a vehicle plans an incorrect path based on visual information when NOA is turned on on a closed road, provided by an embodiment of the present invention;

[0047] FIG3 is a flow chart of a method for controlling vehicle travel provided by an embodiment of the present invention;

[0048] FIG4 is a schematic diagram of a road scene provided by an embodiment of the present invention;

[0049] FIG5 is a schematic diagram of determining the difference between a visual curve and a map curve provided by an embodiment of the present invention;

[0050] FIG6 is a schematic diagram of another road scene provided by an embodiment of the present invention;

[0051] FIG7 is a structural diagram of a device for controlling vehicle travel provided by an embodiment of the present invention;

[0052] FIG. 8 is a structural diagram of a device for controlling vehicle travel provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] The core of the present invention is to provide a method, device, equipment and medium for controlling vehicle driving to solve the technical problem that the vehicle cannot safely pass through the area to be driven when the intelligent front-view camera or high-precision map transmits wrong information.

[0055] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. FIG3 is a flow chart of a method for controlling vehicle driving provided by an embodiment of the present invention. As shown in FIG3 , the method includes:

[0056] S10: Acquire the current control mode of the vehicle and current control information corresponding to the current control mode;

[0057] Wherein, the current control mode is a visual control mode or a map control mode, the control information corresponding to the visual control mode is visual information, and the control information corresponding to the map control mode is map information;

[0058] S11: When it is detected that the current control information does not conform to the actual road conditions, determine whether the current control mode meets the preset requirements; if so, proceed to step S12; if not, proceed to step S13;

[0059] S12: Switch the current control mode to the target control mode, and use the target control mode to control the driving of the vehicle;

[0060] S13: Keep using the current control method to control the vehicle.

[0061] In NOA, sensors can be installed on vehicles to obtain road and vehicle information. For example, millimeter-wave radars, smart cameras, and even lidars can be installed on vehicles. In practice, errors in the information detected by these sensors can lead to wrong decisions. Vehicle control methods include visual control and map control. At any time, the vehicle is controlled by visual control or map control. The visual control method is a method of controlling the vehicle's driving based on the road information collected by the camera. The map control method is a method of locating the vehicle's position based on the millimeter-wave radar, obtaining the vehicle's position information in the map based on the positioning information, and then controlling the vehicle's driving based on the map information.

[0062] If the current control mode is visual control mode, the situation where the detected visual information does not match the actual road conditions is as shown in Figure 2 above. If the vehicle travels along line segment c2, it may hit the curb. Therefore, in this scenario, the vehicle control mode may need to be adjusted. If the current control mode is map control mode, the situation where the detected map information does not match the actual road conditions often occurs in the road construction diversion scenario. Since the map points cannot be updated in real time, map control in this scenario is risky. Therefore, in this scenario, the vehicle control mode needs to be adjusted.

[0063] In practice, there may be a situation where the current control information does not deviate much from the actual road conditions. In this case, when the vehicle is controlled according to the current control method, the vehicle can also pass through the area safely. Therefore, in the method for controlling vehicle driving provided by an embodiment of the present invention, when it is detected that the current control information does not conform to the actual road conditions, it is determined whether the current control method meets the preset requirements, wherein the preset requirements are determined in combination with the position of the preceding vehicle, and different control methods correspond to different preset requirements, and the preceding vehicle and the vehicle are located in the same lane. The method for determining the vehicle in the own lane is as follows: a curve can be fitted based on the original points of the map. If the detected vehicle is on the curve, it indicates that the current detected vehicle belongs to the own lane.

[0064] If the current control mode is the visual control mode, when it is detected that the visual information does not match the actual road conditions, and the visual control mode meets the preset requirements corresponding to the visual control mode, the visual control mode is switched to the target control mode. The target control mode is the control mode other than the current control mode among all control modes. That is, the visual control mode is switched to the map control mode. In addition, manual control can also be taken over; when it is detected that the visual information does not match the actual road conditions, and the visual control mode does not meet the preset requirements corresponding to the visual control mode, the visual control mode is maintained to control the driving of the vehicle.

[0065] If the current control mode is the map control mode, when it is detected that the map information does not match the actual road conditions, and the map control mode meets the preset requirements corresponding to the map control mode, the map control mode is switched to the target control mode. The target control mode is the control mode other than the current control mode among all control modes. That is, the map control mode is switched to the visual control mode. In addition, manual control can also be taken over; when it is detected that the map information does not match the actual road conditions, and the map control mode does not meet the preset requirements corresponding to the map control mode, the map control mode is maintained to control the driving of the vehicle.

[0066] The method for controlling vehicle driving provided by an embodiment of the present invention includes: when it is detected that current control information does not conform to actual road conditions, if the current control method meets preset requirements, the current control method is switched to a target control method, and the target control method is used to control the driving of the vehicle; wherein the preset requirements are determined in combination with the position of a leading vehicle, and different control methods correspond to different preset requirements, and the leading vehicle and the vehicle are located in the same lane; the target control method is a control method among all control methods except the current control method; when it is detected that the current control information does not conform to actual road conditions, if the current control method does not meet the preset requirements, the current control method is kept used to control the driving of the vehicle. It can be seen that when the method detects that the visual information or map information is wrong and the current control mode meets the preset requirements, it switches to other control modes to control the vehicle driving, thereby avoiding wrong decisions made by using wrong map information or visual information all the time, and ensuring that the vehicle can safely pass through the waiting area; and, in practice, there may be a situation where the current control information deviates little from the actual road conditions. In this case, when the vehicle is controlled according to the current control mode, the vehicle can also safely pass through the area. Therefore, the method sets the preset requirements as the conditions for triggering or not triggering the switching of the control mode, thereby avoiding the operation of switching the control mode once it is detected that the current control information does not meet the actual road conditions, thereby realizing the effective switching of the vehicle control mode.

[0067] In order to determine the preset requirements met by the visual control method, in implementation, the preset requirements met by the visual control method include:

[0068] Acquire a first path and a preview point planned by a visual control method; wherein the preview point is an observation point pre-set during path planning;

[0069] Marking a map point according to the position of the preceding vehicle and determining a first line according to the marked map point;

[0070] Obtain a first horizontal coordinate value of a point on the first path mapped from the preview point and obtain a second horizontal coordinate value of a point on the first line mapped from the preview point;

[0071] Obtaining a first difference between the first horizontal coordinate value and the second horizontal coordinate value;

[0072] It is determined that the preset requirement satisfied by the visual control method is that the first difference is greater than or equal to the preset difference.

[0073] Among them, marking map points according to the position of the preceding vehicle includes:

[0074] Obtaining the coordinate value of each map point in the map point sequence of the own lane, and obtaining the coordinate value of the preceding vehicle during the preceding vehicle's driving process;

[0075] If it is detected that the difference between the horizontal coordinate of the target map point and the horizontal coordinate of the preceding vehicle is less than a first deviation threshold, and the difference between the vertical coordinate of the target map point and the vertical coordinate of the preceding vehicle is less than a second deviation threshold, the target map point is marked; wherein the target map point is the map point closest to the center of the rear axle of the preceding vehicle among all map points in the map point sequence of the preceding vehicle during driving; the first deviation threshold and the second deviation threshold are both less than or equal to half the lane width.

[0076] Marking target map points include:

[0077] Get the unique number of the target map point in the map point sequence;

[0078] The target map point is marked with its unique number in the map point sequence.

[0079] The following is a specific implementation method for determining whether to switch from visual control to map control when the visual lane line does not match the actual road condition and the current control mode is visual control. Based on the map information and the vehicle information obtained by the sensor (intelligent front-view camera, millimeter-wave radar), the map points are marked to obtain the actual road condition so as to make the correct decision.

[0080] FIG4 is a schematic diagram of a road scene provided by an embodiment of the present invention. The ego vehicle (the blue box in FIG4 ) is driving on a curve, and a Cartesian coordinate system is established with the ego vehicle as the center, and the direction of the vehicle head as the y-axis. The red points are the original points on the map, and these points describe the shape of the road. According to the Cartesian coordinate system established by the ego vehicle, each red point on the ego lane has a fixed position sequence. , the coordinates of the rear axle center of the front vehicle (the purple box in Figure 4) are , as shown in the purple point in Figure 4, which can be detected by the smart camera. At each moment (the program running time is 20ms), the red map point and the vehicle position will be updated. Each map point is traversed and the condition is determined according to formula (1). If it is true, the red map point is marked (the mark is a sequence. Since the location map is sent in the form of an array, when the mark sequence is 2, it means that the second data in the current array is marked. As the vehicle continues to travel, the position of the map point will change, but the sequence will not change).

[0081] ; (1)

[0082] in, is the first deviation threshold (the maximum allowable longitudinal distance that can be calibrated), is the second deviation threshold (the maximum lateral allowable distance that can be calibrated). Indicates the difference between the horizontal coordinate of the rear axle center of the front vehicle and the horizontal coordinate of the map point closest to the front vehicle. The difference between the ordinate of the rear axle center of the front vehicle and the ordinate of the map point closest to the front vehicle. The physical meaning of formula (1) is to check the minimum distance between the rear axle center of the vehicle and the map point. and When the margin is set to keep the detection vehicle within the lane, the map point is marked.

[0083] When there is a vehicle traveling in front of the vehicle, taking Figure 4 as an example, all the red dots will be marked. If the current control is visual, taking the Proportional-Integral-Derivative (PID) algorithm as an example, the PID algorithm will control the vehicle's driving according to the preview point. Figure 5 is a schematic diagram of the difference judgment between a visual curve and a map curve provided by an embodiment of the present invention. As shown in Figure 5, if the visual detection is wrong, the preview point A (the black dot in Figure 5) will shift to the right, and then the vehicle will shift to the right. The red line in Figure 4 can be fitted into a cubic curve (the red part in Figure 5) according to the least squares method, and the value of the preview point A can be obtained by mapping the position of the preview point A on the red bar. , mapping A to the position of the yellow line gives ,like (in, Indicates the maximum allowable difference, which can be calibrated), it means that there is no difference between the current visual curve and the map curve. , it means that there is a difference between the current visual curve and the map curve, so the current control mode is switched from visual control to map control.

[0084] Compared with general vehicles, whose control decisions will unconditionally obey the perceived information, when the perceived information is wrong, the vehicle will follow the wrong information and cause "out-of-control" behavior. The method provided in the embodiment of the present invention compares the perceived data (visual information and map information) (rather than fusion, fusion is based on multiple results with the highest confidence) to obtain correct perceived information, which can ensure safe passage through the waiting area when the visual or map information is erroneous.

[0085] The above describes the preset requirements that are satisfied by the map control method. This embodiment describes the preset requirements that are satisfied by the map control method. In implementation, the preset requirements that are satisfied by the map control method include:

[0086] Obtaining the coordinate value of each map point in the map point sequence of the own lane, and obtaining the coordinate value of the preceding vehicle during the preceding vehicle's driving process;

[0087] Determine that the preset requirements satisfied by the map control method are that there is no exit on the current road section, the difference between the horizontal coordinate of the target map point and the horizontal coordinate of the preceding vehicle is greater than a third deviation threshold, and the difference between the vertical coordinate of the target map point and the vertical coordinate of the preceding vehicle is greater than a fourth deviation threshold; wherein the target map point is the map point closest to the center of the rear axle of the preceding vehicle among all map points in the map point sequence of the preceding vehicle during driving; and the third deviation threshold and the fourth deviation threshold are both greater than the width of one lane.

[0088] The following is a specific implementation method for the process of determining whether to switch map control to visual control when the high-precision map does not match the actual road conditions and the current control mode is map control. Figure 6 is a schematic diagram of another road scene provided by an embodiment of the present invention. As shown in Figure 6, the green area is a hypothetical construction area. Due to the construction, the road needs to be diverted. The diverted road is the road drawn by the blue line in Figure 6. Each red point (not for the self-driving lane here, but for detecting all lanes) has a fixed position sequence , for the rear axle center point of the detected vehicle (i.e. the front vehicle) , when formula (2) is met and there is no exit on the current road section, map control is switched to visual control.

[0089] ; (2)

[0090] in, is the third deviation threshold (the minimum allowable longitudinal distance that can be calibrated), is the minimum calibrable lateral allowable distance. The physical meaning of formula (2) is that when the detected vehicle point is too far from the road, the current road section map point is considered unavailable and switches to visual control.

[0091] The method provided in this embodiment makes it possible to determine whether to switch map control to visual control when the high-precision map does not match the actual road conditions and the control mode is map control.

[0092] When positioning on the map, there may be a situation where the vehicle is in the wrong lane, such as the vehicle is located in lane one, but mistakenly uses the map point on lane two, resulting in an error in the judgment of the control mode. Therefore, in some embodiments, determining that the map control mode meets the preset requirements also includes:

[0093] Acquire a second path planned by a visual control method and acquire a third path planned by a map control method;

[0094] It is determined that the map control method also satisfies a preset requirement that the third path is consistent with the second path.

[0095] The consistency between the second path planned by the visual control method and the third path planned by the map control method can be determined by using the preview point mapping method described above, which will not be described in detail here.

[0096] In the method provided in this embodiment, the possibility of wrong lanes in map positioning is taken into consideration. When the lane result returned by the map is inconsistent with the lane result returned by the vision, formula (2) is not used to determine the switching control mode. Only when the lane result returned by the map is consistent with the lane result returned by the vision, formula (2) is used to determine the switching control mode, thereby improving the accuracy of determining the control mode.

[0097] In the implementation, there will be a scene where the visual control and the map control are switched back and forth, which affects the stability of the vehicle. Therefore, in some embodiments, after controlling the vehicle to travel by using the target control method, it also includes:

[0098] Determine whether the current control information conforms to the actual road conditions, and determine whether the current control method meets the preset requirements;

[0099] When it is detected that the current control information does not conform to the actual road conditions and the current control mode meets the preset requirements, the target duration is obtained; wherein the target duration is the duration from the moment when the current control mode is switched to the target control mode to the moment when the current control mode is to be switched to the new target control mode;

[0100] When it is detected that the target duration meets the preset duration, the current control mode is switched to a new target control mode;

[0101] Use the new target control method to control the driving of the vehicle.

[0102] There is no limit on the preset time length, which is determined according to the actual situation. For example, considering that the markings on some construction sections are not clear, it may be possible to switch from visual control to image control first, and then switch from image control to visual control. When any control mode is activated, a flag will be added to indicate that the control mode has been activated before the current time t. If another switching mode is activated before time t, the switching will be stopped and the takeover will be reported. If another switching mode is not satisfied after time t, the flag will be cleared and the time t will be reset.

[0103] In the method provided in this embodiment, a preset time period is set and the control mode is switched to another control mode only after the time period has elapsed, thereby avoiding frequent switching of control modes and ensuring the stability of vehicle driving.

[0104] In the above embodiments, the method for controlling the driving of a vehicle is described in detail, and the present invention also provides embodiments corresponding to the apparatus for controlling the driving of a vehicle and the device for controlling the driving of a vehicle. It should be noted that the present invention describes the embodiments of the apparatus part from two perspectives, one is based on the perspective of functional modules, and the other is based on the perspective of hardware.

[0105] FIG7 is a structural diagram of a device for controlling vehicle travel provided by an embodiment of the present invention. This embodiment, based on the perspective of functional modules, includes:

[0106] The acquisition module 10 is used to acquire the current control mode of the vehicle and the current control information corresponding to the current control mode; wherein the current control mode is a visual control mode or a map control mode, the control information corresponding to the visual control mode is visual information, and the control information corresponding to the map control mode is map information;

[0107] The judging module 11 is used to judge whether the current control mode meets the preset requirements when it is detected that the current control information does not conform to the actual road conditions, wherein the preset requirements are determined in combination with the position of the preceding vehicle, and different control modes correspond to different preset requirements, and the preceding vehicle and the vehicle are located in the same lane; if so, the switching and control module 12 is triggered; if not, the maintaining control module 13 is triggered;

[0108] The switching and control module 12 is used to switch the current control mode to a target control mode, and use the target control mode to control the driving of the vehicle; the target control mode is a control mode among all control modes except the current control mode;

[0109] The maintaining control module 13 is used to maintain the current control mode to control the driving of the vehicle.

[0110] Since the embodiments of the device part correspond to the embodiments of the method part, the embodiments of the device part refer to the description of the embodiments of the method part, which will not be described here. And it has the same beneficial effects as the above-mentioned method for controlling vehicle driving.

[0111] FIG8 is a structural diagram of a device for controlling vehicle travel provided by another embodiment of the present invention. Based on the hardware perspective, as shown in FIG8 , the device for controlling vehicle travel includes:

[0112] A memory 20, used for storing computer programs;

[0113] The processor 21 is used to implement the steps of the method for controlling vehicle driving mentioned in the above embodiment when executing the computer program.

[0114] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0115] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the method for controlling the driving of the vehicle disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, the data involved in the above-mentioned method for controlling the driving of the vehicle, etc.

[0116] In some embodiments, the device for controlling the driving of the vehicle may also include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power supply 25 , and a communication bus 26 .

[0117] Those skilled in the art will appreciate that the structure shown in FIG. 8 does not constitute a limitation on the device for controlling the driving of a vehicle, and may include more or fewer components than those shown in the figure.

[0118] The device for controlling vehicle driving provided by an embodiment of the present invention includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the following method: the method for controlling vehicle driving, the effect is the same as above.

[0119] Finally, the present invention also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps recorded in the above method embodiment are implemented.

[0120] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc. Various media that can store program codes.

[0121] The computer-readable storage medium provided by the present invention includes the above-mentioned method for controlling vehicle driving, and the effect is the same as above.

[0122] The above is a detailed introduction to a method, device, equipment and medium for controlling vehicle driving provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referenced to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the present invention.

[0123] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A method for controlling vehicle travel, characterized in that: include: Acquire a current control mode of the vehicle and current control information corresponding to the current control mode; wherein the current control mode is a visual control mode or a map control mode, the control information corresponding to the visual control mode is visual information, and the control information corresponding to the map control mode is map information; In the case where it is detected that the current control information does not conform to the actual road conditions, if the current control mode meets the preset requirements, the current control mode is switched to the target control mode, and the target control mode is used to control the driving of the vehicle; wherein the preset requirements are determined in combination with the position of the preceding vehicle, and different control modes correspond to different preset requirements, and the preceding vehicle and the vehicle are located in the same lane; the target control mode is a control mode among all control modes except the current control mode; When it is detected that the current control information does not conform to the actual road conditions, if the current control method does not meet the preset requirements, the current control method is continued to be used to control the driving of the vehicle; Determining that the visual control method satisfies the preset requirements includes: Acquire a first path and a preview point planned by a visual control method; wherein the preview point is an observation point preset during path planning; Marking a map point according to the position of the preceding vehicle and determining a first line according to the marked map point; Obtain a first horizontal coordinate value of a point on the first path mapped from the preview point and obtain a second horizontal coordinate value of a point on the first line mapped from the preview point; Obtaining a first difference between the first horizontal coordinate value and the second horizontal coordinate value; Determining that the preset requirement satisfied by the visual control mode is that the first difference is greater than or equal to a preset difference; Determining that the map control method satisfies the preset requirements includes: Obtaining the coordinate value of each map point in the map point sequence of the own lane, and obtaining the coordinate value of the preceding vehicle during the preceding vehicle's driving process; Determine that the preset requirements satisfied by the map control method are that there is no exit in the current road section, the difference between the horizontal coordinate of the target map point and the horizontal coordinate of the preceding vehicle is greater than a third deviation threshold, and the difference between the vertical coordinate of the target map point and the vertical coordinate of the preceding vehicle is greater than a fourth deviation threshold; wherein the target map point is the map point closest to the center of the rear axle of the preceding vehicle among all map points in the map point sequence of the preceding vehicle during driving; and the third deviation threshold and the fourth deviation threshold are both greater than the width of a lane.

2. The method for controlling vehicle travel according to claim 1, characterized in that: The method for judging the vehicle in the own lane is as follows: A curve is fitted according to the original points of the map. If the detected vehicle is on the curve, it indicates that the current detected vehicle belongs to the vehicle in the own lane.

3. The method for controlling vehicle travel according to claim 1, characterized in that: Marking map points based on the position of the preceding vehicle includes: Obtaining the coordinate value of each map point in the map point sequence of the own lane, and obtaining the coordinate value of the preceding vehicle during the preceding vehicle's driving process; If it is detected that the difference between the horizontal coordinate of the target map point and the horizontal coordinate of the preceding vehicle is less than a first deviation threshold, and the difference between the vertical coordinate of the target map point and the vertical coordinate of the preceding vehicle is less than a second deviation threshold, the target map point is marked; wherein the target map point is the map point closest to the center of the rear axle of the preceding vehicle among all map points in the map point sequence of the preceding vehicle during driving; the first deviation threshold and the second deviation threshold are both less than or equal to half the lane width.

4. The method for controlling vehicle travel according to claim 3, characterized in that: The marking of the target map point comprises: Obtaining a unique number of the target map point in a map point sequence; The target map point is marked with a unique number of the target map point in the map point sequence.

5. The method for controlling vehicle travel according to claim 1, characterized in that: Controlling vehicle movement using visual control includes: controlling vehicle movement based on road information collected by a camera; Using the map control method to control vehicle driving includes: The location information of the vehicle in the map is obtained based on the positioning information, and then the vehicle driving is controlled according to the map information.

6. The method for controlling vehicle travel according to claim 1, characterized in that: Determining that the map control method satisfies the preset requirements also includes: Acquire a second path planned by a visual control method and acquire a third path planned by a map control method; It is determined that the preset requirement that the map control method also satisfies is that the third path is consistent with the second path.

7. The method for controlling vehicle travel according to claim 1, characterized in that: After controlling the vehicle to travel by using the target control method, the method further includes: Determining whether the current control information conforms to the actual road conditions, and determining whether the current control method meets the preset requirements; When it is detected that the current control information does not conform to the actual road conditions and the current control mode meets the preset requirements, the target duration is obtained; wherein the target duration is the duration from the moment when the current control mode is switched to the target control mode to the moment when the current control mode is to be switched to the new target control mode; When it is detected that the target duration meets the preset duration, the current control mode is switched to the new target control mode; The new target control method is used to control the driving of the vehicle.

8. A device for controlling vehicle travel, characterized in that: include: an acquisition module, used to acquire a current control mode of the vehicle and current control information corresponding to the current control mode; wherein the current control mode is a visual control mode or a map control mode, the control information corresponding to the visual control mode is visual information, and the control information corresponding to the map control mode is map information; A judgment module is used to judge whether the current control mode meets the preset requirements when it is detected that the current control information does not conform to the actual road conditions, wherein the preset requirements are determined in combination with the position of the preceding vehicle, and different control modes correspond to different preset requirements, and the preceding vehicle and the vehicle are located in the same lane; if so, the switching and control module is triggered; if not, the maintaining control module is triggered; The switching and control module is used to switch the current control mode to a target control mode, and use the target control mode to control the driving of the vehicle; the target control mode is a control mode among all control modes except the current control mode; The maintaining control module is used to maintain the current control mode to control the vehicle to travel; Determining that the visual control method satisfies the preset requirements includes: Acquire a first path and a preview point planned by a visual control method; wherein the preview point is an observation point preset during path planning; Marking a map point according to the position of the preceding vehicle and determining a first line according to the marked map point; Obtain a first horizontal coordinate value of a point on the first path mapped from the preview point and obtain a second horizontal coordinate value of a point on the first line mapped from the preview point; Obtaining a first difference between the first horizontal coordinate value and the second horizontal coordinate value; Determining that the preset requirement satisfied by the visual control mode is that the first difference is greater than or equal to a preset difference; Determining that the map control method satisfies the preset requirements includes: Obtaining the coordinate value of each map point in the map point sequence of the own lane, and obtaining the coordinate value of the preceding vehicle during the preceding vehicle's driving process; Determine that the preset requirements satisfied by the map control method are that there is no exit in the current road section, the difference between the horizontal coordinate of the target map point and the horizontal coordinate of the preceding vehicle is greater than a third deviation threshold, and the difference between the vertical coordinate of the target map point and the vertical coordinate of the preceding vehicle is greater than a fourth deviation threshold; wherein the target map point is the map point closest to the center of the rear axle of the preceding vehicle among all map points in the map point sequence of the preceding vehicle during driving; and the third deviation threshold and the fourth deviation threshold are both greater than the width of a lane.

9. A device for controlling vehicle travel, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the method for controlling vehicle driving as described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for controlling vehicle driving as described in any one of claims 1 to 7 are implemented.