A method, system, readable storage medium and vehicle for switching automatic driving levels

By obtaining and processing the fault code level of the environment sensing module in the autonomous driving system, determining the autonomous driving level of the vehicle, and performing emergency braking, the problem of functional failure caused by data frame loss or accuracy deviation in the autonomous driving system is solved, and the system is improved. stability and security.

CN118144825BActive Publication Date: 2024-09-17JIANGLING MOTORS
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410502325.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-09-17
Estimated Expiration
2044-04-25

AI Technical Summary

Technical Problem

When a certain module in the autonomous driving system experiences data frame loss or data accuracy deviation, the vehicle's autonomous driving function will fail, requiring manual intervention to solve the problem.

Method used

By obtaining the perceived environment information of the environment sensing module, setting the fault code level, preprocessing the data to obtain accurate obstacle information, combining the functional fault code level and the perceived fault code level to determine the vehicle's autonomous driving level, and establishing an environment fusion node Perform emergency braking to ensure vehicle safety.

Benefits of technology

It realizes automatic detection and processing of faults in the automatic driving system, avoids direct braking of the vehicle due to minor faults, ensures vehicle safety and reduces manual intervention, and improves the reliability and stability of the automatic driving system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118144825B
    Figure CN118144825B
Patent Text Reader

Abstract

The present invention discloses an automatic driving level switching method, system, readable storage medium and vehicle. The method obtains the perceived environmental information around the vehicle through an environmental perception module, and sets the environmental perception fault code of the environmental perception module. The acquired environmental perception information and real-time environmental information are combined to determine the perception fault code level, and the acquired perception environmental information is preprocessed, and interference data is screened or filtered to obtain accurate obstacle information. After obtaining the obstacle information, the functional fault code level of the functional module is determined, and the perception fault code level and the functional fault code level are combined to determine the automatic driving level of the vehicle. An environmental fusion node is established, and a failure value is determined according to the functional fault code level and the perception fault code level, and the vehicle is controlled to brake according to whether the failure value reaches a preset safety value to ensure vehicle safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle autonomous driving technology, and in particular to an autonomous driving level switching method, system, readable storage medium and vehicle. Background Art

[0002] Autonomous driving refers to the technology that relies on the collaboration of multiple technologies such as machine vision, artificial intelligence, and communication positioning systems to automatically and safely operate the vehicle without the need for active operation by the driver. It enables the vehicle to travel on the road and reach the predetermined location through functions such as automatic driving, automatic speed change, automatic braking, and automatic monitoring of the surrounding environment. Autonomous driving vehicles integrate advanced technologies in multiple fields such as automatic control, architecture, artificial intelligence, and visual computing. They are the efficient product of the development of computer science, pattern recognition, and intelligent control technology.

[0003] At present, autonomous driving is divided into different levels of automation, including driving assistance, partial automation, high automation and full automation, corresponding to different degrees of autonomous driving capabilities. In the autonomous driving system, it is composed of modules such as environment perception, positioning, mapping, planning, control, and canbus. Each functional module plays a very important role. When the vehicle is autonomous driving, the data sharing and mutual calling of each module are realized to realize the vehicle's autonomous driving function.

[0004] However, when a module in the autonomous driving system experiences frame loss or a minor fault with slight deviation in data accuracy, the autonomous driving vehicle will stop directly, causing the vehicle's autonomous driving function to fail directly and stop, waiting for human intervention to resolve the issue. Summary of the invention

[0005] Based on this, the present invention provides an autonomous driving level switching method, system, readable storage medium and vehicle, aiming to solve the current problem that when a module has data frame loss or a minor fault with a slight deviation in data accuracy, the autonomous driving function will be directly invalidated and require manual intervention to solve.

[0006] To achieve the above object, the present invention is implemented through the following technical solution: a method for switching the level of automatic driving, the method comprising:

[0007] Acquiring the perceived environment information of the environment perception module and setting the perceived fault code of the environment perception module;

[0008] Comparing the real-time environment information with the perceived environment information to determine the current perception fault code level of the environment perception module, and preprocessing the perceived environment information to obtain obstacle information;

[0009] Based on the obstacle information, a functional fault code level of a functional module in the autonomous driving process is determined, and the autonomous driving level of the vehicle is determined according to the functional fault code level and the perception fault code level;

[0010] An environment fusion node is established to determine a failure value according to the output functional fault code level and the perception fault code level, and emergency braking of the vehicle is performed according to the failure value.

[0011] In summary, according to an automatic driving level switching method provided by the present invention, the perceived environmental information around the vehicle is obtained through the environmental perception module, and the environmental perception fault code of the environmental perception module is set. The acquired environmental perception information and the real-time environmental information are combined to determine the perception fault code level, and the acquired perception environmental information is preprocessed, and the interference data is screened or filtered to obtain accurate obstacle information. After obtaining the obstacle information, the functional fault code level of the functional module is determined, and the perception fault code level and the functional fault code level are combined to determine the vehicle's automatic driving level. An environmental fusion node is established to determine the failure value based on the functional fault code level and the perception fault code level, and to control whether the vehicle brakes based on whether the failure value reaches the preset safety value to ensure vehicle safety.

[0012] Furthermore, the step of obtaining the perceived environment information of the environment perception module and setting the perceived fault code of the environment perception module specifically includes:

[0013] According to the acquired perception environment information, the perception fault code of the environment perception module is set to at least two levels, namely a first perception fault code and a second perception fault code;

[0014] When the perception fault code is not output, the autonomous driving function directly uses the current perceived environmental information; the first perception fault code affects the autonomous driving function and downgrades the autonomous driving function; the second perception fault code represents that the current perceived environmental information is unavailable and the autonomous driving function is prohibited from use.

[0015] Further, the step of comparing the real-time environment information with the perceived environment information to determine the perception fault code level of the current environment perception module and preprocessing the perceived environment information to obtain obstacle information specifically includes:

[0016] Comparing the real-time environment information with the perceived environment information, determining the perceived fault code level currently output by the environment perception module according to the absolute values ​​of the real-time environment information and the perceived environment information, and screening the acquired perceived environment information;

[0017] Setting the accuracy of the perceived environment information to a first accuracy level, a second accuracy level, and a third accuracy level, and if the absolute difference between the real-time environment information and the perceived environment information is at the first accuracy level, not outputting a perception fault code;

[0018] If the absolute difference between the real-time environment information and the perceived environment information is at the second accuracy level, outputting a first perceived fault code;

[0019] If the absolute difference between the real-time environmental information and the perceived environmental information is at the third accuracy level, a second perceived fault code is output.

[0020] Further, after determining the level of the perceived fault code,

[0021] When different environmental sensing devices detect the same obstacle, they respectively output obstacle information, which includes obstacle coordinates, obstacle ID, obstacle size, timestamp, and obstacle type;

[0022] Calculate the obstacle coordinate difference and obstacle size difference obtained by different environmental sensing devices. If the coordinate difference is not greater than a preset first difference threshold, the size difference is not greater than a preset second difference threshold, and the timestamp and the obstacle type are equal, it is determined that different environmental sensing devices have detected the same obstacle.

[0023] After determining that the same obstacle is detected, if the coordinate difference is greater than the projection threshold, project the obstacle size information obtained by different environment sensing devices to the obstacle coordinates respectively, and determine whether the different obstacle information has an inclusion relationship. If so, output the obstacle information with the larger inclusion interval;

[0024] If different obstacle information has a certain intersection, it is determined that the current obstacle is split, and the difference distance value is calculated according to the obstacle coordinates, obstacle size and vehicle position, and the obstacle information is quadratically fitted according to the distance value to output the final obstacle information.

[0025] Furthermore, the step of determining the functional fault code level of the functional module in the autonomous driving process based on the obstacle information and determining the autonomous driving level of the vehicle according to the functional fault code level and the perception fault code level specifically includes:

[0026] Defining a functional fault code of the functional module, and determining whether to output a fault code according to the acquired functional data;

[0027] If the accuracy of the functional data is within the first accuracy range, the functional data is directly used for the automatic driving function, no fault code is issued, and the automatic driving function is used normally;

[0028] If the accuracy of the function data is within the second accuracy range, the function data has an error, and a minor fault code is output, which is defined as a minor fault, and the autonomous driving function is downgraded;

[0029] If the accuracy of the functional data is within the third accuracy interval, the functional data cannot be used, and a serious fault code is output, which is defined as a serious fault, and the automatic driving function is prohibited from being used;

[0030] The vehicle's autonomous driving level is based on the functional fault code level and the perception fault code level, so that the car switches to L4, L2, and L0 level autonomous driving functions;

[0031] Among them, L4 level is full-function autonomous driving, L2 level is downgraded autonomous driving, and L0 level is full manual driving.

[0032] Furthermore, the step of establishing an environment fusion node, determining a failure value according to the output functional fault code level and the perception fault code level, and applying emergency braking to the vehicle according to the failure value specifically includes:

[0033] Establish an environmental fusion node. When any environmental sensing device outputs a second sensing fault code, or any sub-functional module outputs a minor fault code, the corresponding environmental sensing device or the corresponding sub-functional module is judged to be failed, and the current failure value is determined to be n, and the command estop=k is sent. If n+k is greater than the preset safety value, the vehicle brakes with a deceleration value of n+k.

[0034] The present invention also provides an automatic driving level switching system, the system comprising:

[0035] A perception fault code determination module, used for obtaining the perception environment information of the environment perception module and setting the perception fault code of the environment perception module;

[0036] An obstacle information processing module, used for comparing the real-time environment information with the perceived environment information to determine the current perceived fault code level of the environment perception module, and preprocessing the perceived environment information to obtain obstacle information;

[0037] An autonomous driving level determination module, configured to determine the functional fault code level of the functional module during the autonomous driving process based on the obstacle information, and to determine the vehicle autonomous driving level according to the functional fault code level and the perception fault code level;

[0038] The safety module is used to establish an environment fusion node, determine a failure value according to the output functional fault code level and the perception fault code level, and perform emergency braking on the vehicle according to the failure value.

[0039] The present invention also proposes a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned automatic driving level switching method when executed by a processor.

[0040] The present invention also provides a vehicle, comprising a memory and a processor, wherein: the memory is used to store a computer program;

[0041] When the processor is used to execute the computer program stored in the memory, the above-mentioned automatic driving level switching method is implemented.

[0042] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0044] Figure 1 is a flowchart of an automatic driving level switching method in a first embodiment of the present invention;

[0045] Figure 2 is a schematic structural diagram of an automatic driving level switching system in a second embodiment of the present invention;

[0046] Figure 3 It is a schematic structural diagram of a vehicle applying the method for switching the automatic driving level in the fourth embodiment of the present invention. DETAILED DESCRIPTION

[0047] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.

[0048] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.

[0049] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0050] Embodiment 1

[0051] like Figure 1 FIG. 1 is a flow chart of an automatic driving level switching method of the present invention, wherein the automatic driving level switching method comprises the following steps S01 to S04, wherein:

[0052] S01. Acquire the perceived environment information of the environment perception module, and set the perceived fault code of the environment perception module.

[0053] A set of environmental perception modules is established, including but not limited to radar, lidar, camera, infrared sensor, etc., to obtain the current environmental information of the vehicle.

[0054] The fault code management module will adapt the fault code level definition of each module in advance, and determine the corresponding device of the fault code output by the current module based on the fault code output by each module to determine whether the relevant data output by the corresponding device is credible.

[0055] The perception fault code of the environment perception module is set to at least two levels, namely a first perception fault code and a second perception fault code.

[0056] When no fault code is output, the autonomous driving function directly uses the current perceived environmental information; the first perceived fault code affects the autonomous driving function and downgrades the autonomous driving function; the second perceived fault code represents that the current perceived environmental information is unavailable and the autonomous driving function is prohibited from use.

[0057] S02. Compare the real-time environment information with the perceived environment information to determine the perception fault code level of the current environment perception module, and pre-process the perceived environment information to obtain obstacle information.

[0058] Comparing the real-time environment information with the perceived environment information, determining the perceived fault code level currently output by the environment perception module according to the absolute values ​​of the real-time environment information and the perceived environment information, and screening the acquired perceived environment information;

[0059] Setting the accuracy of the perceived environment information to a first accuracy level, a second accuracy level, and a third accuracy level, and if the absolute difference between the real-time environment information and the perceived environment information is at the first accuracy level, not outputting a perception fault code;

[0060] If the absolute difference between the real-time environment information and the perceived environment information is at the second accuracy level, outputting a first perceived fault code;

[0061] If the absolute difference between the real-time environmental information and the perceived environmental information is at the third accuracy level, a second perceived fault code is output.

[0062] After determining the perceived fault code level, the acquired environmental information is preprocessed, including denoising, filtering, image enhancement, etc., to improve the quality and accuracy of the information.

[0063] Receive information output by the positioning module, perception module, canbus module, system environment module, and map module, such as the position coordinates, heading angle, current speed value, etc. of the vehicle and obstacles being positioned; system environment monitoring data, such as core information, CPU monitoring, shared memory process monitoring, etc.; perception module data information, such as camera image information, obstacle information coordinates around the vehicle body, obstacle ID, obstacle trajectory, etc.; map module information, such as traffic sign location, zebra crossing, stop line, traffic light, lane line, road ID, road boundary, etc. Because these detected environmental information and obstacle information around the vehicle body may be misdetected due to the sensor's detection algorithm, that is, the same obstacle may have different IDs, or the same obstacle may be split and display two obstacle IDs. After receiving the information, the fusion module gathers the information together and uses different strategy algorithms to filter out the misdetected data and merge the split obstacles into a complete obstacle ID, and re-match the image recognized by the camera to the current obstacle information position. Filter out invalid environmental information and leave valid and more accurate environmental information and obstacle information.

[0064] When different environmental sensing devices detect the same obstacle, they respectively output obstacle information, which includes obstacle coordinates, obstacle ID, obstacle size, timestamp, and obstacle type;

[0065] Calculate the obstacle coordinate difference and obstacle size difference obtained by different environmental sensing devices. If the coordinate difference is not greater than a preset first difference threshold, the size difference is not greater than a preset second difference threshold, and the timestamp and the obstacle type are equal, it is determined that different environmental sensing devices have detected the same obstacle.

[0066] After determining that the same obstacle is detected, if the coordinate difference is greater than the projection threshold, project the obstacle size information obtained by different environment sensing devices to the obstacle coordinates respectively, and determine whether the different obstacle information has an inclusion relationship. If so, output the obstacle information with the larger inclusion interval;

[0067] If different obstacle information has a certain intersection, it is determined that the current obstacle is split, and the difference distance value is calculated according to the obstacle coordinates, obstacle size and vehicle position, and the obstacle information is quadratically fitted according to the distance value to output the final obstacle information.

[0068] S03. Based on the obstacle information, determine the functional fault code level of the functional module during the automatic driving process, and determine the vehicle automatic driving level according to the functional fault code level and the perception fault code level.

[0069] Multiple functional modules are set up, including but not limited to environmental perception, positioning, mapping, planning, control, CANbus, environmental fusion module, chassis wire-controlled actuator. The environmental fusion module includes data preprocessing, fault code management, scene management, data filtering, image enhancement, data denoising, function degradation, control instructions, autonomous driving level switching, data storage and other sub-functional modules to realize the main functions of autonomous driving.

[0070] Define the functional fault code of the functional module and determine whether to output the fault code based on the acquired functional data;

[0071] If the accuracy of the function data is within the first accuracy range, the function data is directly used for the autonomous driving function, no fault code is issued, and the autonomous driving function is used normally;

[0072] If the accuracy of the function data is within the second accuracy range, the function data has an error, and a minor fault code is output, which is defined as a minor fault, and the autonomous driving function is downgraded;

[0073] If the accuracy of the function data is within the third accuracy range, the function data cannot be used, and a serious fault code is output, which is defined as a serious fault and the autonomous driving function is prohibited from being used;

[0074] The vehicle's autonomous driving level is based on the functional fault code level and the perception fault code level, so that the car can switch to L4, L2, and L0 level autonomous driving functions;

[0075] Among them, L4 level is full-function autonomous driving, L2 level is downgraded autonomous driving, and L0 level is full manual driving.

[0076] For example, the positioning module determines the level of issuing a functional fault code based on the current positioning accuracy. For example, if the accuracy of the positioning data is generally less than 10cm, it means that the data is accurate and can be directly used for the autonomous driving function without issuing a functional fault code.

[0077] If the calculated positioning data error range is 10cm-30cm, a minor fault code is output and defined as a minor fault, indicating that the current positioning function is available, but has a certain error and the accuracy cannot be guaranteed. Some autonomous driving functions with high accuracy requirements will be affected and cannot be implemented. At this time, the autonomous driving function needs to be downgraded according to the functional fault code;

[0078] If the calculated positioning data error is greater than 30cm, the positioning data will be completely unusable and a serious fault code will be output, which is defined as a serious fault. For safety reasons, the autonomous driving function is prohibited from use.

[0079] The fault code management module receives the functional fault code level and the perception fault code level of each module and classifies it into whether it is a minor fault or a serious fault. After classification, the information is output to the downstream planning and control module. The planning module decides whether to continue to output information such as driving trajectory or whether to provide instructions such as deceleration and braking to the control module based on the fault level to determine the vehicle's autonomous driving level.

[0080] S04. Establish an environment fusion node, determine a failure value according to the output functional fault code level and the perception fault code level, and perform emergency braking on the vehicle according to the failure value.

[0081] Establish an environmental fusion node. When any of the associated modules of autonomous driving fails or a low fault level occurs, the system will automatically switch the autonomous driving level to ensure the normal operation of the autonomous driving function.

[0082] When any environmental sensing device outputs a sensing fault code, or any functional module outputs a functional fault code, the corresponding environmental sensing device or the corresponding functional module is judged to be failed, and the current failure value is determined to be n, and the command estop=k is sent. If n+k is less than the preset safety value, the vehicle brakes with a deceleration value of n+k.

[0083] Among them, when the environmental sensing device outputs the first sensing fault code, n=1; when it outputs the second sensing fault code, n=2, at this time the failure is true, estop=k=1.

[0084] Similarly, when the function module outputs a minor fault code, n=1; when it outputs a serious fault code, n=2, at which time the failure is true, estop=k=1.

[0085] If neither the environmental sensing device nor the functional module issues a fault code, the failure value k=0.

[0086] The preset safety value is set to 2. If n+k>2, the vehicle sends the deceleration value of n+k to the chassis actuator to perform braking action to ensure safety.

[0087] In summary, according to an automatic driving level switching method provided by the present invention, the perceived environmental information around the vehicle is obtained through the environmental perception module, and the environmental perception fault code of the environmental perception module is set. The acquired environmental perception information and the real-time environmental information are combined to determine the perception fault code level, and the acquired perception environmental information is preprocessed, and the interference data is screened or filtered to obtain accurate obstacle information. After obtaining the obstacle information, the functional fault code level of the functional module is determined, and the perception fault code level and the functional fault code level are combined to determine the vehicle's automatic driving level. An environmental fusion node is established to determine the failure value based on the functional fault code level and the perception fault code level, and to control whether the vehicle brakes based on whether the failure value reaches the preset safety value to ensure vehicle safety.

[0088] Embodiment 2

[0089] Another aspect of the present invention is to provide an automatic driving level switching system. Figure 2 , which is a schematic diagram of the structure of an automatic driving level switching system in a second embodiment of the present invention, wherein the automatic driving level switching system comprises:

[0090] A sensed fault code determination module 11 is used to obtain sensed environment information of the environment sensing module and set a sensed fault code of the environment sensing module;

[0091] The obstacle information processing module 12 is used to compare the real-time environment information with the perceived environment information to determine the current perceived fault code level of the environment perception module, and pre-process the perceived environment information to obtain obstacle information;

[0092] An automatic driving level determination module 13, used to determine the functional fault code level of the functional module in the automatic driving process based on the obstacle information, and to determine the automatic driving level of the vehicle according to the functional fault code level and the perception fault code level;

[0093] The safety module 14 is used to establish an environment fusion node, determine a failure value according to the output functional fault code level and the perception fault code level, and perform emergency braking on the vehicle according to the failure value.

[0094] Furthermore, in some optional embodiments, the sensing fault code determination module 11 further includes:

[0095] a sensed fault code determination unit, configured to set the sensed fault code of the environment sensing module to at least two levels, namely, a first sensed fault code and a second sensed fault code, according to the acquired sensed environment information;

[0096] When the perception fault code is not output, the autonomous driving function directly uses the current perceived environmental information; the first perception fault code affects the autonomous driving function and downgrades the autonomous driving function; the second perception fault code represents that the current perceived environmental information is unavailable and the autonomous driving function is prohibited from use.

[0097] Furthermore, in some optional embodiments, the obstacle information processing module 12 further includes:

[0098] an obstacle information processing unit, used to compare the real-time environment information with the perceived environment information, determine the level of the perceived fault code currently output by the environment perception module according to the absolute values ​​of the real-time environment information and the perceived environment information, and filter the acquired perceived environment information;

[0099] Setting the accuracy of the perceived environment information to a first accuracy level, a second accuracy level, and a third accuracy level, and if the absolute difference between the real-time environment information and the perceived environment information is at the first accuracy level, not outputting a perception fault code;

[0100] If the absolute difference between the real-time environment information and the perceived environment information is at the second accuracy level, outputting a first perceived fault code;

[0101] If the absolute difference between the real-time environmental information and the perceived environmental information is at the third accuracy level, a second perceived fault code is output.

[0102] After determining the level of the perceived fault code,

[0103] When different environmental sensing devices detect the same obstacle, they respectively output obstacle information, which includes obstacle coordinates, obstacle ID, obstacle size, timestamp, and obstacle type;

[0104] Calculate the obstacle coordinate difference and obstacle size difference obtained by different environmental sensing devices. If the coordinate difference is not greater than a preset first difference threshold, the size difference is not greater than a preset second difference threshold, and the timestamp and the obstacle type are equal, it is determined that different environmental sensing devices have detected the same obstacle.

[0105] After determining that the same obstacle is detected, if the coordinate difference is greater than the projection threshold, project the obstacle size information obtained by different environment sensing devices to the obstacle coordinates respectively, and determine whether the different obstacle information has an inclusion relationship. If so, output the obstacle information with the larger inclusion interval;

[0106] If different obstacle information has a certain intersection, it is determined that the current obstacle is split, and the difference distance value is calculated according to the obstacle coordinates, obstacle size and vehicle position, and the obstacle information is quadratically fitted according to the distance value to output the final obstacle information.

[0107] Furthermore, in some optional embodiments, the autonomous driving level determination module 13 further includes:

[0108] Automatic driving level determination, used to define the functional fault code of the functional module, and determine whether to output the fault code according to the acquired functional data;

[0109] If the accuracy of the functional data is within the first accuracy range, the functional data is directly used for the automatic driving function, no fault code is issued, and the automatic driving function is used normally;

[0110] If the accuracy of the function data is within the second accuracy range, the function data has an error, and a minor fault code is output, which is defined as a minor fault, and the autonomous driving function is downgraded;

[0111] If the accuracy of the functional data is within the third accuracy interval, the functional data cannot be used, and a serious fault code is output, which is defined as a serious fault, and the automatic driving function is prohibited from being used;

[0112] The vehicle's autonomous driving level is based on the functional fault code level and the perception fault code level, so that the car switches to L4, L2, and L0 level autonomous driving functions;

[0113] Among them, L4 level is full-function autonomous driving, L2 level is downgraded autonomous driving, and L0 level is full manual driving.

[0114] Furthermore, in some optional embodiments, the security module 14 further includes:

[0115] The safety unit is used to establish an environmental fusion node. When any environmental sensing device outputs a second sensing fault code, or any sub-functional module outputs a minor fault code, the corresponding environmental sensing device or the corresponding sub-functional module is judged to be failed, and the current failure value is determined to be n, and the instruction estop=k is sent. If n+k is greater than the preset safety value, the vehicle brakes with a deceleration value of n+k.

[0116] Embodiment 3

[0117] On the other hand, the present invention further proposes a computer-readable storage medium, on which one or more computer programs are stored, which implement the above-mentioned automatic driving level switching method when executed by a processor.

[0118] Those skilled in the art will appreciate that the logic or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be specifically implemented in any computer-readable storage medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For purposes of this specification, a "computer-readable storage medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0119] More specific examples (a non-exhaustive list) of computer-readable storage media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable storage medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0120] Embodiment 4

[0121] Another aspect of the present invention provides a vehicle, see Figure 3 , shown is a vehicle in the fourth embodiment of the present invention, including a memory 20, a processor 10, and a computer program 30 stored in the memory and executable on the processor, and when the processor 10 executes the computer program 30, the automatic driving level switching method as described above is implemented.

[0122] Specifically, the vehicle may include a computer, vehicle testing equipment, etc. The processor 10 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip in some embodiments, and is used to run program codes or process data stored in the memory 20, such as executing access restriction programs, etc.

[0123] The memory 20 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 20 may be an internal storage unit of the vehicle, such as a hard disk of the vehicle. In other embodiments, the memory 20 may also be an external storage device of the vehicle, such as a plug-in hard disk equipped on the vehicle, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card, etc. Further, the memory 20 may also include both an internal storage unit of the vehicle and an external storage device. The memory 20 may be used not only to store application software and various types of data installed in the vehicle, but also to temporarily store data that has been output or is to be output.

[0124] It should be pointed out that Figure 3 The structure shown does not constitute a limitation on the vehicle. In other embodiments, the vehicle may include Figure 3 The drawings may show fewer or more components, or combinations of certain components, or different arrangements of components.

[0125] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or a combination thereof: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0126] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0127] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A method for switching automatic driving levels, characterized in that: The method comprises: Acquiring the perceived environment information of the environment perception module and setting the perceived fault code of the environment perception module; Comparing the real-time environment information with the perceived environment information to determine the current perception fault code level of the environment perception module, and preprocessing the perceived environment information to obtain obstacle information; Based on the obstacle information, a functional fault code level of a functional module in the autonomous driving process is determined, and the autonomous driving level of the vehicle is determined according to the functional fault code level and the perception fault code level; Establish an environmental fusion node. When any environmental perception module outputs a second perception fault code, or any functional module outputs a minor fault code, the corresponding environmental perception module or the corresponding functional module is judged to be failed, and the current failure value is determined to be n, and the instruction estop=k is sent. If n+k is greater than the preset safety value, the vehicle brakes at a deceleration value of n+k. When the environmental perception module outputs the first perception fault code, n=1, and when it outputs the second perception fault code, n=2. At this time, the failure is true, estop=k=1. When the functional module outputs a minor fault code, n=1, and when it outputs a serious fault code, n=2. At this time, the failure is true, estop=k=1. If neither the environmental perception module nor the functional module issues a fault code, the failure value n=0, and the preset safety value is set to 2. If n+k>2, the vehicle sends the deceleration value of n+k to the chassis actuator to perform the braking action to ensure safety. The step of obtaining the perceived environment information of the environment perception module and setting the perceived fault code of the environment perception module specifically includes: According to the acquired perception environment information, the perception fault code of the environment perception module is set to at least two levels, namely a first perception fault code and a second perception fault code; When the perception fault code is not output, the autonomous driving function directly uses the current perception environment information; the first perception fault code affects the autonomous driving function and causes the autonomous driving function to be downgraded; the second perception fault code indicates that the current perception environment information is unavailable and the autonomous driving function is prohibited from being used; The step of comparing the real-time environment information with the perceived environment information to determine the current perceived fault code level of the environment perception module and preprocessing the perceived environment information to obtain obstacle information specifically includes: Comparing the real-time environment information with the perceived environment information, determining the perceived fault code level currently output by the environment perception module according to the absolute values ​​of the real-time environment information and the perceived environment information, and screening the acquired perceived environment information; Setting the accuracy of the perceived environment information to a first accuracy level, a second accuracy level, and a third accuracy level, and if the absolute difference between the real-time environment information and the perceived environment information is at the first accuracy level, not outputting a perception fault code; If the absolute difference between the real-time environment information and the perceived environment information is at the second accuracy level, outputting a first perceived fault code; If the absolute difference between the real-time environment information and the perceived environment information is at the third accuracy level, outputting a second perceived fault code; The step of determining the functional fault code level of the functional module in the automatic driving process based on the obstacle information and determining the automatic driving level of the vehicle according to the functional fault code level and the perception fault code level specifically includes: Defining a functional fault code of the functional module, and determining whether to output a fault code according to the acquired functional data; If the accuracy of the functional data is within the first accuracy range, the functional data is directly used for the automatic driving function, no fault code is issued, and the automatic driving function is used normally; If the accuracy of the function data is within the second accuracy range, the function data has an error, and a minor fault code is output, which is defined as a minor fault, and the autonomous driving function is downgraded; If the accuracy of the functional data is within the third accuracy interval, the functional data cannot be used, and a serious fault code is output, which is defined as a serious fault, and the automatic driving function is prohibited from being used; The vehicle's autonomous driving level is based on the functional fault code level and the perception fault code level, so that the car switches to L4, L2, and L0 level autonomous driving functions; Among them, L4 level is full-function autonomous driving, L2 level is downgraded autonomous driving, and L0 level is full manual driving.

2. The method for switching the automatic driving level according to claim 1, characterized in that: After determining the level of the perceived fault code, When different environment perception modules detect the same obstacle, they output obstacle information respectively, and the obstacle information includes obstacle coordinates, obstacle ID, obstacle size, timestamp and obstacle type; Calculate the obstacle coordinate difference and obstacle size difference obtained by different environment perception modules. If the coordinate difference is not greater than a preset first difference threshold, the size difference is not greater than a preset second difference threshold, and the timestamp and the obstacle type are equal, it is determined that different environment perception modules have detected the same obstacle. After determining that the same obstacle is detected, if the coordinate difference is greater than the projection threshold, the obstacle size information obtained by different environment perception modules is projected to the obstacle coordinates respectively, and it is determined whether the different obstacle information has an inclusion relationship. If so, the obstacle information with the larger inclusion interval is output; If different obstacle information has a certain intersection, it is determined that the current obstacle is split, and the difference distance value is calculated according to the obstacle coordinates, obstacle size and vehicle position, and the obstacle information is quadratically fitted according to the distance value to output the final obstacle information.

3. An automatic driving level switching system, the automatic driving level switching system being used to implement the automatic driving level switching method according to any one of claims 1 to 2, the system comprising: A perception fault code determination module, used for obtaining the perception environment information of the environment perception module and setting the perception fault code of the environment perception module; An obstacle information processing module, used for comparing the real-time environment information with the perceived environment information to determine the current perceived fault code level of the environment perception module, and preprocessing the perceived environment information to obtain obstacle information; An autonomous driving level determination module, configured to determine the functional fault code level of the functional module during the autonomous driving process based on the obstacle information, and to determine the vehicle autonomous driving level according to the functional fault code level and the perception fault code level; Safety module, used to establish an environment fusion node. When any environment perception module outputs the second perception fault code, or any function module outputs a minor fault code, the corresponding environment perception module or the corresponding function module is judged to be failed, and the current failure value is determined to be n, and the instruction estop=k is sent. If n+k is greater than the preset safety value, the vehicle brakes at a deceleration value of n+k. When the environment perception module outputs the first perception fault code, n=1, and when it outputs the second perception fault code, n=2. At this time, the failure is true, estop=k=1. When the function module outputs a minor fault code, n=1; when it outputs a serious fault code, n=2. At this time, the failure is true, estop=k=1. If neither the environment perception module nor the function module issues a fault code, the failure value n=0, and the preset safety value is set to 2. If n+k>2, the vehicle sends the deceleration value of n+k to the chassis actuator to perform the braking action to ensure safety. The step of obtaining the perceived environment information of the environment perception module and setting the perceived fault code of the environment perception module specifically includes: According to the acquired perception environment information, the perception fault code of the environment perception module is set to at least two levels, namely a first perception fault code and a second perception fault code; When the perception fault code is not output, the autonomous driving function directly uses the current perception environment information; the first perception fault code affects the autonomous driving function and causes the autonomous driving function to be downgraded; the second perception fault code indicates that the current perception environment information is unavailable and the autonomous driving function is prohibited from being used; The step of comparing the real-time environment information with the perceived environment information to determine the current perceived fault code level of the environment perception module and preprocessing the perceived environment information to obtain obstacle information specifically includes: Comparing the real-time environment information with the perceived environment information, determining the perceived fault code level currently output by the environment perception module according to the absolute values ​​of the real-time environment information and the perceived environment information, and screening the acquired perceived environment information; Setting the accuracy of the perceived environment information to a first accuracy level, a second accuracy level, and a third accuracy level, and if the absolute difference between the real-time environment information and the perceived environment information is at the first accuracy level, not outputting a perception fault code; If the absolute difference between the real-time environment information and the perceived environment information is at the second accuracy level, outputting a first perceived fault code; If the absolute difference between the real-time environment information and the perceived environment information is at the third accuracy level, outputting a second perceived fault code; The step of determining the functional fault code level of the functional module in the automatic driving process based on the obstacle information and determining the automatic driving level of the vehicle according to the functional fault code level and the perception fault code level specifically includes: Defining a functional fault code of the functional module, and determining whether to output a fault code according to the acquired functional data; If the accuracy of the functional data is within the first accuracy range, the functional data is directly used for the automatic driving function, no fault code is issued, and the automatic driving function is used normally; If the accuracy of the function data is within the second accuracy range, the function data has an error, and a minor fault code is output, which is defined as a minor fault, and the autonomous driving function is downgraded; If the accuracy of the functional data is within the third accuracy interval, the functional data cannot be used, and a serious fault code is output, which is defined as a serious fault, and the automatic driving function is prohibited from being used; The vehicle's autonomous driving level is based on the functional fault code level and the perception fault code level, so that the car switches to L4, L2, and L0 level autonomous driving functions; Among them, L4 level is full-function autonomous driving, L2 level is downgraded autonomous driving, and L0 level is full manual driving.

4. A computer-readable storage medium, characterized in that: A computer program is stored thereon, characterized in that when the program is executed by a processor, the method for switching the automatic driving level as described in any one of claims 1-2 is implemented.

5. A vehicle, characterized in that: The vehicle comprises a memory and a processor, wherein: The memory is used to store computer programs; When the processor is used to execute the computer program stored in the memory, the automatic driving level switching method described in any one of claims 1-2 is implemented.

Citation Information

Patent Citations

  • Automatic driving grade adjusting method and related equipment

    CN111976727A

  • Driving control method, device and equipment of unmanned vehicle and automatic driving vehicle

    CN112622930A

  • Obstacle detection method and device

    CN113139607A

  • Safety redundancy and fault diagnosis system and method based on automatic driving system

    CN113895451A

  • Vehicle driving monitoring system, method and equipment and storage medium

    CN114348025A