Automatic driving data processing system and method, vehicle and storage medium
By introducing a data monitoring and filtering module into the autonomous driving data processing system, it processes and stores data outside the safe numerical range, and executes preset measures when anomalies are detected, which solves the problem of the response speed of the autonomous driving data processing system in complex environments. and security issues, improving the reliability and efficiency of the system.
Patent Information
- Application Number
- CN202410904408.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-10
AI Technical Summary
It is difficult for the autonomous driving data processing system to ensure the reliability and efficiency of processing when faced with large amounts of data. Especially in complex traffic environments, it may be difficult to respond accurately and timely, and relying entirely on the autonomous driving model will affect safety and reliability.
An autonomous driving data processing system is designed, including a data monitoring module, a data filtering module, a central processing module and a data storage module. The central processing module is equipped with an autonomous driving model, which monitors and filters data to process and store values outside the safe range. data and perform preset measures to ensure vehicle safety when anomalies are detected.
It improves the speed of autonomous driving data processing and storage space utilization, avoids safety and reliability problems caused by abnormal autonomous driving models, and enhances the safety and reliability of the system through the vehicle's own participation in data processing.
Smart Images

Figure CN118618436A
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving technology, and specifically to an autonomous driving data processing system, method, vehicle and storage medium. Background Art
[0002] When controlling a vehicle for autonomous driving, it is necessary to obtain data related to achieving autonomous driving (hereinafter described as autonomous driving data) through sensors (such as cameras), and then process the autonomous driving data to determine the decision for autonomous driving, and then execute the decision based on the control of the vehicle.
[0003] As the complexity and autonomy of autonomous driving technology increase, the demand for processing and storage capabilities for autonomous driving data also increases. Taking vehicles as an example, although Level 2 autonomous driving vehicles require full driver intervention, they already have auxiliary functions such as lane change assistance, blind spot detection, and automatic parking. These auxiliary functions require the collection and processing of a large amount of autonomous driving data. At present, in order to meet the above autonomous driving data needs, Level 2 autonomous driving vehicles usually require 4PB to 10PB of autonomous driving data storage space. Level 3 autonomous driving vehicles no longer require continuous driver intervention, but need to collect and process more autonomous driving data, usually requiring 50PB to 100PB of autonomous driving data storage space. Level 5 autonomous driving vehicles can fully drive autonomously in various complex environments, usually requiring more than 3EB of autonomous driving data storage space. The increase in the amount of autonomous driving data will also increase the computing power demand for autonomous driving, and may also affect the response speed of autonomous driving.
[0004] In addition, for autonomous driving systems with lower levels of autonomous driving, the traditional method of processing autonomous driving data is to obtain and process autonomous driving data collected by a single sensor. However, this method may be difficult to respond accurately and promptly in complex and changing traffic environments, especially when faced with emergencies. To solve this problem, the main method is to use massive data to train an autonomous driving model, then deploy the autonomous driving model to the vehicle, and use the autonomous driving model to process its own driving data. This method is completely dependent on the autonomous driving model, and the vehicle itself cannot participate in the processing of autonomous driving data. If the autonomous driving model is abnormal, it will seriously affect the safety and reliability of autonomous driving.
[0005] Accordingly, the art needs a new technical solution to solve the above problems. Summary of the invention
[0006] In order to overcome the above-mentioned defects, the present application is proposed to solve or at least partially solve how to improve the reliability and efficiency of autonomous driving data processing when faced with a large amount of autonomous driving data, thereby improving the reliability and response speed of autonomous driving.
[0007] In a first aspect, an autonomous driving data processing system is provided, the system being deployed on a vehicle, the system comprising a data monitoring module, a data screening module, a central processing module and a data storage module, the central processing module being provided with an autonomous driving model;
[0008] The data monitoring module is configured to: monitor first autonomous driving data of the vehicle, the first autonomous driving data including state data of the vehicle and environmental data of an external environment of the vehicle;
[0009] The data screening module is configured to: screen the second autonomous driving data that is outside a safe numerical range from the first autonomous driving data;
[0010] The data storage module is configured to: store the second autonomous driving data;
[0011] The central processing module is configured to:
[0012] Processing the second autonomous driving data at a current moment and a plurality of previous historical moments by the autonomous driving model to determine a first control decision of the vehicle at the current moment, wherein the first control decision includes a first vehicle control parameter value;
[0013] Acquire the real-time environmental data of the vehicle at the current moment, and predict the future environmental data of the vehicle at the current moment through the autonomous driving model and based on the historical environmental data of the vehicle;
[0014] If there is an abnormality in the first deviation between the real-time environmental data and the future environmental data, the vehicle is controlled to execute preset measures to ensure vehicle safety.
[0015] In a technical solution of the above-mentioned autonomous driving data processing system, the central processing module includes an analysis processing submodule, and the analysis processing submodule includes an algorithm analysis unit;
[0016] The algorithm analysis unit is configured to:
[0017] Processing the second automatic driving data at the current moment using a preset automatic driving control algorithm to determine a second control decision of the vehicle at the current moment, where the second control decision includes the second vehicle control parameter value;
[0018] If an abnormality is detected in the automatic driving model, a final control decision of the vehicle at the current moment is determined based on the first control decision and the second control decision, and the final control decision includes the final vehicle control parameter value.
[0019] In a technical solution of the above-mentioned autonomous driving data processing system, the algorithm analysis unit is configured to:
[0020] Obtain a second deviation between the first parameter value and the second parameter value; if the second deviation is greater than a set threshold, use the second control decision as the final control decision; otherwise, use the first control decision as the final control decision.
[0021] In a technical solution of the above-mentioned autonomous driving data processing system, the data storage module is configured to: store the control decision of the vehicle at each moment;
[0022] The analysis and processing submodule includes an analysis and comparison unit, which is configured to:
[0023] Acquire, from the data storage module, historical second autonomous driving data similar to the second autonomous driving data at the current moment, and acquire historical control decisions of the vehicle at the moment when the historical second autonomous driving data is stored;
[0024] Obtaining a third deviation between the second autonomous driving data at a current moment and the historical second autonomous driving data, and obtaining a fourth deviation between the vehicle control parameter values in the second control decision and the historical control decision;
[0025] Determine whether the second control decision has an abnormality according to the third deviation and the fourth deviation; if an abnormality exists, adjust the second control decision.
[0026] In a technical solution of the above-mentioned automatic driving data processing system, the vehicle control parameters include the front wheel steering angle, lateral error and heading angle error of the vehicle;
[0027] The preset autonomous driving control algorithm includes a path tracking algorithm.
[0028] In a technical solution of the above-mentioned autonomous driving data processing system, the central processing module includes a deep learning submodule, and the deep learning submodule is configured to:
[0029] Using the second automatic driving data and the control decision of the vehicle at the current moment as the training data at the current moment;
[0030] The autonomous driving model is trained using the training data at the current moment to optimize the autonomous driving model.
[0031] In a technical solution of the above-mentioned autonomous driving data processing system, the data monitoring module is configured to: monitor first autonomous driving data of the vehicle through a plurality of different sensors;
[0032] The autonomous driving model includes an LSTM model using a self-attention mechanism, the LSTM model includes an LSTM network, and the LSTM model is configured as follows:
[0033] obtaining the attention weights of the second autonomous driving data obtained by each sensor respectively through a self-attention mechanism, and performing weighted sum calculation on the second autonomous driving data obtained by all sensors according to the attention weights to obtain multi-sensor fusion data;
[0034] The multi-sensor fusion data at the current moment and multiple previous historical moments are processed by the LSTM network to determine the first control decision of the vehicle at the current moment.
[0035] In a technical solution of the above-mentioned autonomous driving data processing system, the central processing module is configured to: predict the future environmental data of the vehicle at the current moment through the LSTM network in the LSTM model and based on the historical environmental data.
[0036] In a technical solution of the above-mentioned autonomous driving data processing system, the data storage module is configured as follows:
[0037] storing the second automatic driving data and the control decision of the vehicle at the current moment as training data at the current moment;
[0038] If the training data at the current moment is different from the training data at all historical moments, the training data at the current moment is transmitted back to the cloud server.
[0039] In a technical solution of the above-mentioned autonomous driving data processing system, the data monitoring module includes an in-vehicle data monitoring submodule and an out-vehicle data monitoring submodule;
[0040] The in-vehicle data monitoring submodule is configured to: monitor the status data of the vehicle through sensors arranged inside the vehicle;
[0041] The vehicle external data monitoring submodule is configured to monitor environmental data of the vehicle external environment through sensors arranged outside the vehicle.
[0042] In a technical solution of the above-mentioned autonomous driving data processing system, the data screening module includes a parameter comparison submodule, and the central processing module includes a parameter setting submodule;
[0043] The parameter setting submodule is configured to: set a safe numerical range of autonomous driving data;
[0044] The parameter comparison submodule is configured to: according to the safety numerical range set by the numerical setting unit, filter out the second automatic driving data that is outside the safety numerical range from the first automatic driving data.
[0045] In a second aspect, an autonomous driving data processing method is provided, which is applied to the autonomous driving data processing system according to the first aspect, and the method includes:
[0046] Monitoring first autonomous driving data of the vehicle through the data monitoring module;
[0047] filtering, by the data screening module, second autonomous driving data that is outside a safe numerical range from the first autonomous driving data;
[0048] Processing the second autonomous driving data at the current moment and at a plurality of previous historical moments by the autonomous driving model in the central processing module to determine a first control decision of the vehicle at the current moment;
[0049] Acquire the real-time environmental data of the vehicle at the current moment, and predict the future environmental data of the vehicle at the current moment through the autonomous driving model and based on the historical environmental data of the vehicle;
[0050] If there is an abnormality in the first deviation between the real-time environmental data and the future environmental data, the vehicle is controlled to execute preset measures to ensure vehicle safety.
[0051] In a third aspect, an autonomous driving data processing system is provided, which includes at least one processor; and a memory communicatively connected to the at least one processor; wherein a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the method described in any one of the technical solutions of the above-mentioned autonomous driving data processing method is implemented.
[0052] In a fourth aspect, a vehicle is provided, which includes the autonomous driving data processing system provided by the first aspect or the third aspect above.
[0053] In a fifth aspect, a computer-readable storage medium is provided, which stores a plurality of program codes, wherein the program codes are suitable for being loaded and run by a processor to execute the method described in any one of the technical solutions of the above-mentioned autonomous driving data processing method.
[0054] Solution 1. An autonomous driving data processing system, characterized in that the system is deployed on a vehicle, the system comprises a data monitoring module, a data screening module, a central processing module and a data storage module, and the central processing module is provided with an autonomous driving model;
[0055] The data monitoring module is configured to: monitor first autonomous driving data of the vehicle, the first autonomous driving data including state data of the vehicle and environmental data of an external environment of the vehicle;
[0056] The data screening module is configured to: screen the second autonomous driving data that is outside a safe numerical range from the first autonomous driving data;
[0057] The data storage module is configured to: store the second autonomous driving data;
[0058] The central processing module is configured to:
[0059] Processing the second autonomous driving data at a current moment and a plurality of previous historical moments by the autonomous driving model to determine a first control decision of the vehicle at the current moment, wherein the first control decision includes a first vehicle control parameter value;
[0060] Acquire the real-time environmental data of the vehicle at the current moment, and predict the future environmental data of the vehicle at the current moment through the autonomous driving model and based on the historical environmental data of the vehicle;
[0061] If there is an abnormality in the first deviation between the real-time environmental data and the future environmental data, the vehicle is controlled to execute preset measures to ensure vehicle safety.
[0062] Solution 2. The system according to Solution 1, characterized in that the central processing module includes an analysis processing submodule, and the analysis processing submodule includes an algorithm analysis unit;
[0063] The algorithm analysis unit is configured to:
[0064] Processing the second automatic driving data at the current moment using a preset automatic driving control algorithm to determine a second control decision of the vehicle at the current moment, where the second control decision includes the second vehicle control parameter value;
[0065] If an abnormality is detected in the automatic driving model, a final control decision of the vehicle at the current moment is determined based on the first control decision and the second control decision, and the final control decision includes the final vehicle control parameter value.
[0066] Solution 3. The system according to Solution 2, characterized in that:
[0067] The algorithm analysis unit is configured to:
[0068] Obtain a second deviation between the first parameter value and the second parameter value; if the second deviation is greater than a set threshold, use the second control decision as the final control decision; otherwise, use the first control decision as the final control decision.
[0069] Solution 4. The system according to Solution 2, characterized in that:
[0070] The data storage module is configured to: store the control decision of the vehicle at each moment;
[0071] The analysis and processing submodule includes an analysis and comparison unit, which is configured to:
[0072] Acquire, from the data storage module, historical second autonomous driving data similar to the second autonomous driving data at the current moment, and acquire historical control decisions of the vehicle at the moment when the historical second autonomous driving data is stored;
[0073] Obtaining a third deviation between the second autonomous driving data at a current moment and the historical second autonomous driving data, and obtaining a fourth deviation between the vehicle control parameter values in the second control decision and the historical control decision;
[0074] Determine whether the second control decision has an abnormality according to the third deviation and the fourth deviation; if an abnormality exists, adjust the second control decision.
[0075] Solution 5. The system according to Solution 2 is characterized in that the vehicle control parameters include the front wheel steering angle, lateral error and heading angle error of the vehicle;
[0076] The preset autonomous driving control algorithm includes a path tracking algorithm.
[0077] Solution 6. The system according to Solution 1, characterized in that the central processing module includes a deep learning submodule, and the deep learning submodule is configured to:
[0078] Using the second automatic driving data and the control decision of the vehicle at the current moment as the training data at the current moment;
[0079] The autonomous driving model is trained using the training data at the current moment to optimize the autonomous driving model.
[0080] Solution 7. The system according to Solution 1, characterized in that:
[0081] The data monitoring module is configured to: monitor first autonomous driving data of the vehicle through a plurality of different sensors;
[0082] The autonomous driving model includes an LSTM model using a self-attention mechanism, the LSTM model includes an LSTM network, and the LSTM model is configured as follows:
[0083] obtaining the attention weights of the second autonomous driving data obtained by each sensor respectively through a self-attention mechanism, and performing weighted sum calculation on the second autonomous driving data obtained by all sensors according to the attention weights to obtain multi-sensor fusion data;
[0084] The multi-sensor fusion data at the current moment and multiple previous historical moments are processed by the LSTM network to determine the first control decision of the vehicle at the current moment.
[0085] Solution 8. The system according to Solution 7 is characterized in that the central processing module is configured to: predict the future environmental data of the vehicle at the current moment through the LSTM network in the LSTM model and based on the historical environmental data.
[0086] Solution 9. The system according to Solution 1, characterized in that:
[0087] The data storage module is configured to:
[0088] storing the second automatic driving data and the control decision of the vehicle at the current moment as training data at the current moment;
[0089] If the training data at the current moment is different from the training data at all historical moments, the training data at the current moment is transmitted back to the cloud server.
[0090] Solution 10. The system according to Solution 1 is characterized in that the data monitoring module includes an in-vehicle data monitoring submodule and an out-vehicle data monitoring submodule;
[0091] The in-vehicle data monitoring submodule is configured to: monitor the status data of the vehicle through sensors arranged inside the vehicle;
[0092] The vehicle external data monitoring submodule is configured to monitor environmental data of the vehicle external environment through sensors arranged outside the vehicle.
[0093] Solution 11. The system according to Solution 1, characterized in that the data screening module includes a parameter comparison submodule, and the central processing module includes a parameter setting submodule;
[0094] The parameter setting submodule is configured to: set a safe numerical range of autonomous driving data;
[0095] The parameter comparison submodule is configured to: according to the safety numerical range set by the numerical setting unit, filter out the second automatic driving data that is outside the safety numerical range from the first automatic driving data.
[0096] Solution 12. An autonomous driving data processing method, characterized in that it is applied to the autonomous driving data processing system according to any one of Solutions 1 to 11, the method comprising:
[0097] Monitoring first autonomous driving data of the vehicle through the data monitoring module;
[0098] filtering, by the data screening module, second autonomous driving data that is outside a safe numerical range from the first autonomous driving data;
[0099] Processing the second autonomous driving data at the current moment and at a plurality of previous historical moments by the autonomous driving model in the central processing module to determine a first control decision of the vehicle at the current moment;
[0100] Acquire the real-time environmental data of the vehicle at the current moment, and predict the future environmental data of the vehicle at the current moment through the autonomous driving model and based on the historical environmental data of the vehicle;
[0101] If there is an abnormality in the first deviation between the real-time environmental data and the future environmental data, the vehicle is controlled to execute preset measures to ensure vehicle safety.
[0102] Solution 13. An autonomous driving data processing system, characterized in that the system comprises:
[0103] at least one processor;
[0104] and, a memory communicatively coupled to the at least one processor;
[0105] In which, a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the autonomous driving data processing method described in Scheme 12 is implemented.
[0106] Solution 14. A vehicle, characterized in that the vehicle includes an autonomous driving data processing system as described in any one of Solutions 1 to 11 or Solution 13.
[0107] Solution 15. A computer-readable storage medium storing a plurality of program codes, characterized in that the program codes are suitable for being loaded and run by a processor to execute the autonomous driving data processing method described in Solution 12.
[0108] The above one or more technical solutions of the present application have at least one or more of the following beneficial effects:
[0109] In a technical solution for implementing the autonomous driving data processing system provided by the present application, the system is deployed on a vehicle, and the system includes a data monitoring module, a data screening module, a central processing module and a data storage module, and the central processing module is provided with an autonomous driving model. The data monitoring module is configured to: monitor the first autonomous driving data of the vehicle, the first autonomous driving data including the state data of the vehicle and the environmental data of the external environment of the vehicle; the data screening module is configured to: screen the second autonomous driving data outside the safe numerical range from the first autonomous driving data; the data storage module is configured to: store the second autonomous driving data; the central processing module is configured to: process the second autonomous driving data at the current moment and at multiple historical moments before the current moment through the autonomous driving model to determine the first control decision of the vehicle at the current moment, the first control decision including the first vehicle control parameter value; obtain the real-time environmental data of the vehicle at the current moment, and predict the future environmental data of the vehicle at the current moment through the autonomous driving model and based on the historical environmental data of the vehicle; if there is an abnormality in the first deviation between the real-time environmental data and the future environmental data, control the vehicle to execute preset measures to ensure the safety of the vehicle.
[0110] In the above implementation scheme, only the second autonomous driving data is processed and stored, which can greatly improve the processing speed of the autonomous driving data and significantly reduce the storage space of the autonomous driving data compared to the existing technology.
[0111] In addition, the first control decision and the future environmental data of the vehicle at the current moment are predicted by the automatic driving model. If there is an abnormality in the first deviation between the real-time environmental data of the vehicle at the current moment and the future environmental data, since the real-time environmental data is accurate, this indicates that the future environmental data is abnormal, and it can also be determined that the first control decision is abnormal. The abnormality of the first control decision may be caused by an abnormality in the automatic driving model, or it may be caused by environmental changes that exceed the prediction range of the automatic driving model. However, in either case, using the first deviation between the real-time environmental data of the vehicle at the current moment and the future environmental data, it can be determined that the first control decision is abnormal. If the automatic driving is carried out according to the first control decision, it may affect the safety of the vehicle. Therefore, the vehicle can be controlled to execute preset measures to ensure the safety of the vehicle. The above process can be understood as the vehicle's own processing of the automatic driving data. Therefore, the above implementation plan does not completely rely on the automatic driving model. The vehicle itself will also participate in the processing of the automatic driving data, so as to avoid the safety and reliability of the automatic driving being affected by the abnormality of the automatic driving model. BRIEF DESCRIPTION OF THE DRAWINGS
[0112] The disclosure of the present application will become easier to understand with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present application. Among them:
[0113] Figure 1 is a main structural diagram of an autonomous driving data processing system according to an embodiment of the present application;
[0114] Figure 2 is a detailed structural diagram of an autonomous driving data processing system according to an embodiment of the present application;
[0115] Figure 3 is a schematic diagram of the main structure of an analysis and processing submodule according to an embodiment of the present application;
[0116] Figure 4 is a flowchart of main steps of an autonomous driving data processing method according to an embodiment of the present application;
[0117] Figure 5 is a flowchart of main steps of an autonomous driving data processing method according to another embodiment of the present application;
[0118] Figure 6 It is a main structural diagram of an autonomous driving data processing system according to another embodiment of the present application.
[0119] Reference numerals:
[0120] 1: Data monitoring module; 11: In-vehicle data monitoring submodule; 111: In-vehicle data acquisition unit; 112: In-vehicle data conversion unit; 113: In-vehicle data transmission unit; 12: Out-vehicle data monitoring submodule; 121: Out-vehicle data acquisition unit; 122: Out-vehicle data conversion unit; 123: Out-vehicle data transmission unit; 2: Data screening module; 21: Data analysis submodule; 22: Parameter comparison submodule; 23: Data sending submodule; 3: Central processing module; 31: System management submodule; 32: Analysis and processing submodule; 321: Algorithm analysis unit; 322: Analysis and comparison unit; 323: Instruction transmission unit; 324: Fault alarm unit; 33: Parameter setting submodule; 34: Data receiving submodule; 35: Deep learning submodule; 4: Data storage module; 41: Real-time data receiving submodule; 42: Data sorting submodule; 43: Data comparison submodule; 44: Data transmission submodule; 51: Memory; 52: Processor. DETAILED DESCRIPTION
[0121] Some embodiments of the present application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present application and are not intended to limit the protection scope of the present application.
[0122] In the description of this application, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, and memories, and may also include software parts, such as program codes, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware, or a combination of the two. Computer-readable storage media include any suitable media that can store program codes, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, etc.
[0123] The relevant user personal information that may be involved in the various embodiments of this application is strictly in accordance with the requirements of laws and regulations, following the principles of legality, legitimacy and necessity, based on the reasonable purposes of business scenarios, to process the personal information that users actively provide during the use of products / services or generated due to the use of products / services, as well as the personal information obtained with the user's authorization.
[0124] The user personal information processed by this application will vary depending on the specific product / service scenario, and shall be based on the specific scenario in which the user uses the product / service, and may involve the user's account information, device information, driving information, vehicle information or other related information. This application will treat the user's personal information and its processing with a high degree of diligence.
[0125] This application attaches great importance to the security of user personal information and has taken reasonable and feasible security protection measures that meet industry standards to protect user information and prevent personal information from being accessed, disclosed, used, modified, damaged or lost without authorization.
[0126] The following is a description of an embodiment of the autonomous driving data processing system provided in this application.
[0127] See attached Figure 1 , Figure 1 The main structure of an automatic driving processing system according to an embodiment of the present application is exemplarily shown, and the automatic driving processing system is deployed on a vehicle. Figure 1As shown, in the embodiment of the present application, the automatic driving processing system mainly includes a data monitoring module 1, a data screening module 2, a central processing module 3 and a data storage module 4. The data monitoring module 1 and the data screening module 2 are connected in communication, and the data screening module 2 is also connected in communication with the central processing module 3 and the data storage module 4 respectively, and the central processing module 3 and the data storage module 4 are also connected in communication.
[0128] The above four modules are explained below.
[0129] 1. Explain the data monitoring module 1.
[0130] The data monitoring module 1 may be configured to monitor first autonomous driving data of the vehicle, where the first autonomous driving data includes status data of the vehicle and environmental data of an external environment of the vehicle.
[0131] The vehicle status data is data indicating the running status of the vehicle. The vehicle status data may include vehicle body status data, which may include vehicle body related data such as vehicle speed and steering angle. In some embodiments, the vehicle status data may also include occupant behavior data and occupant images, which may include occupant behavior data (such as braking data, etc.) of the occupant controlling the driving of the vehicle.
[0132] The environmental data of the vehicle's external environment may include road conditions, traffic conditions, obstacle locations, etc. in the vehicle's external environment.
[0133] In some embodiments, the data monitoring module 1 may be configured to: convert the data format of the first autonomous driving data into a standard format, and then transmit the first autonomous driving data to the data screening module 2. The standard format is a data format that the data screening module 2 can process.
[0134] 2. Explain the data screening module 2 and the data storage module 4.
[0135] The data screening module 2 may be configured to screen the second autonomous driving data that is outside the safe numerical range from the first autonomous driving data. The first and second autonomous driving data are both real-time data, i.e., the first and second autonomous driving data at the current moment. The data screening module 2 may also transmit the second autonomous driving data to the central processing module 3 and the data storage module 4, respectively. The data storage module 4 may be configured to store the second autonomous driving data.
[0136] If the first automatic driving data is within the safe value range, it indicates that the vehicle state is safe at this moment, and the automatic driving can continue to be performed according to the control decision of the previous moment at the current moment. If the first automatic driving data is not within the safe value range, it indicates that if the automatic driving can continue to be performed according to the control decision of the previous moment at the current moment, it may be unsafe, so the control decision of the current moment needs to be re-determined to ensure the safety of the vehicle.
[0137] In this embodiment, the safety value range corresponding to each type of first autonomous driving data can be set in advance, and different types of first autonomous driving data have different safety value ranges. For example, the first autonomous driving data includes vehicle speed and the distance between an obstacle and the vehicle, and the safety value ranges corresponding to these two types of data are different.
[0138] 3. Explain the central processing module 3.
[0139] The central processing module 3 is provided with an automatic driving model, which is a deep learning model. The central processing module 3 can determine the first control decision of the vehicle at the current moment, and can also determine whether to control the vehicle to execute preset measures to ensure vehicle safety.
[0140] (1) The first control decision for determining the vehicle at the current moment is described.
[0141] In this embodiment, the central processing module 3 may be configured to: process the second automatic driving data at the current moment and multiple previous historical moments through the automatic driving model to determine the first control decision of the vehicle at the current moment. The multiple historical moments are multiple consecutive moments before the current moment, and these historical moments and the current moment may form a continuous moment sequence.
[0142] The first control decision includes a first vehicle control parameter value. The vehicle control parameters are parameters for controlling the vehicle to perform automatic driving. The vehicle control parameters may include the vehicle's front wheel steering angle, lateral error, and heading angle error, etc. When controlling the vehicle to perform automatic driving, the vehicle's driving path (i.e., a predetermined path) may be planned, and then the vehicle may be controlled to drive automatically along the predetermined path, and the lateral error may be understood as the lateral distance between the actual position of the vehicle and the predetermined path. The lateral direction is a direction perpendicular to the forward driving direction of the vehicle, and the lateral direction may be understood as the Y-axis direction of the vehicle body coordinate system. The heading angle error may be understood as the angular difference between the vehicle's heading angle at the current moment and the direction of the predetermined path.
[0143] After obtaining the first control decision, a control signal of the vehicle can be generated according to the first vehicle control parameter value in the first control decision, and then the vehicle is controlled to move according to the control signal, so that the actual value of the above vehicle control parameter after the vehicle moves is the same as the above first vehicle control parameter value. For example, if the vehicle control parameter is the front wheel steering angle, the first parameter value of the front wheel steering angle is θ, and the front wheel steering of the vehicle can be controlled according to the control signal, and the steering angle is θ; if the vehicle control parameter is the lateral error, the first parameter value of the lateral error is e1, and the vehicle movement can be controlled according to the control signal so that the distance between the vehicle and the predetermined path after the vehicle moves is e1; if the vehicle control parameter is the heading angle error, the first parameter value of the heading angle error is e2, and the vehicle movement can be controlled according to the control signal so that the angle difference between the heading angle of the vehicle after the vehicle moves and the direction of the predetermined path is e2.
[0144] In this embodiment, the autonomous driving model can be an LSTM (Long Short-Term Memory) model. By processing the second autonomous driving data at the current moment and the historical moment through the LSTM model, the changes between the second autonomous driving data at multiple consecutive moments can be fully explored, thereby accurately determining the first control decision of the vehicle.
[0145] (2) Determine whether to control the vehicle to execute the preset measures.
[0146] In this embodiment, the central processing module 3 can also be configured as:
[0147] Obtain the real-time environmental data of the vehicle at the current moment, and predict the future environmental data of the vehicle at the current moment through the autonomous driving model and based on the historical environmental data of the vehicle.
[0148] And, determine whether there is an abnormality in the first deviation between the real-time environmental data and the future environmental data; if so, control the vehicle to execute preset measures to ensure vehicle safety; otherwise, control the vehicle to drive automatically according to the first control decision.
[0149] Specifically, after the data screening module 2 obtains the second automatic driving data at the current moment, it will transmit the second automatic driving data to the central processing module 3. Therefore, the central processing module 3 can obtain the environmental data of the vehicle's external environment from the second automatic driving data transmitted by the data screening module 2. This environmental data is also the real-time environmental data. The data storage module 4 stores the second automatic driving data at all moments. Therefore, the central processing module 3 can obtain the second automatic driving data at multiple consecutive historical moments before the current moment from the data storage module 4, and then obtain the environmental data of the vehicle's external environment from the second automatic driving data at the above historical moments. This environmental data is also the historical environmental data. The automatic driving model can be an LSTM model. The above historical environmental data is input into the LSTM model. The LSTM model can be used to mine the changes between the historical environmental data at multiple consecutive historical moments, so that the environmental data of the vehicle at the current moment can be predicted by using the changes.
[0150] When detecting the first deviation between the real-time environment data and the future environment data, the first deviation between the real-time environment data and the future environment data may be detected by a statistical method or a machine learning algorithm. The statistical method may include a Z-score method, and the machine learning algorithm may include an isolation forest algorithm and a one-class SVM algorithm.
[0151] When determining whether there is an abnormality in the first deviation between the real-time environmental data and the future environmental data, the normal range of the first deviation can be set in advance; if the first deviation is within the normal range, there is no abnormality; otherwise, there is an abnormality. When setting the normal range, those skilled in the art can obtain the prediction error of the future environmental data and set the normal range based on the prediction error. For example, if the future environmental data is the distance between the vehicle and the obstacle, and the prediction error of the distance is ±d, then the normal range can be set to [-d, d], d>0.
[0152] The first control decision and future environmental data are both predicted by the autonomous driving model. When the above-mentioned first deviation is abnormal, since the real-time environmental data is accurate, this indicates that the future environmental data is abnormal, and thus it can be determined that the first control decision is abnormal. The abnormality in the first control decision may be caused by an abnormality in the autonomous driving model, or it may be caused by environmental changes that exceed the prediction range of the autonomous driving model. If autonomous driving according to the first control decision may affect the safety of the vehicle, the vehicle can be controlled to execute preset measures to ensure vehicle safety.
[0153] In this embodiment, preset measures corresponding to each type of autonomous driving data can be set in advance. When it is determined that the first deviation of the autonomous driving data is abnormal, the corresponding preset measures are obtained according to the type of the autonomous driving data, and then the preset measures are executed. The preset measures may include deceleration, lane change, parking, activation of emergency braking, etc. For example, if the environmental data is the distance between the obstacle and the vehicle, if the above-mentioned first deviation is abnormal, the vehicle is controlled to decelerate or change lanes to move away from the obstacle.
[0154] Through the automatic driving processing system composed of the above-mentioned data monitoring module 1, data screening module 2, central processing module 3 and data storage module 4, only the second automatic driving data outside the safe numerical range needs to be processed and stored, which can greatly improve the processing speed of automatic driving data and significantly reduce the storage space of automatic driving data compared with the existing technology. In addition, the function of determining whether to control the vehicle to execute the preset measures can be understood as the vehicle's own processing of the automatic driving data. Therefore, the above-mentioned automatic driving processing system does not completely rely on the automatic driving model, and the vehicle itself will also participate in the processing of the automatic driving data, thereby avoiding the safety and reliability of the automatic driving due to abnormalities in the automatic driving model.
[0155] The data monitoring module 1, the data screening module 2, the central processing module 3 and the data storage module 4 are further described below.
[0156] 1. Explain the data monitoring module 1.
[0157] See attached Figure 2 In some embodiments, the data monitoring module 1 may include an in-vehicle data monitoring submodule 11 and an out-vehicle data monitoring submodule 12. The in-vehicle data monitoring submodule 11 may be configured to monitor the state data of the vehicle through a sensor disposed inside the vehicle. The out-vehicle data monitoring submodule 12 may be configured to monitor the environmental data of the vehicle's external environment through a sensor disposed outside the vehicle. Through the above embodiments, the monitoring of the state data and the environmental data may be divided into two independent processes without affecting each other.
[0158] The in-vehicle data monitoring submodule 11 and the out-vehicle data monitoring submodule 12 are further described below.
[0159] 1. The in-vehicle data monitoring submodule 11 is described.
[0160] like Figure 2 As shown, the in-vehicle data monitoring submodule 11 may include an in-vehicle data acquisition unit 111 , an in-vehicle data conversion unit 112 , and an in-vehicle data transmission unit 113 .
[0161] The in-vehicle data collection unit 111 includes a portrait collection subunit, a personnel behavior collection subunit, and a vehicle body status data collection subunit. The portrait collection subunit is used to collect images of people in the vehicle, the personnel behavior collection subunit is used to collect personnel behavior data in the vehicle, and the vehicle body status data collection subunit is used to collect vehicle body-related data such as vehicle speed and steering angle.
[0162] The in-vehicle data conversion unit 112 converts the data format of the status data into a standard format, which is a data format that can be processed by the data screening module 2. The in-vehicle data transmission unit 113 transmits the status data in the standard format to the data screening module 2.
[0163] 2. Explain the off-vehicle data monitoring submodule 12.
[0164] like Figure 2 As shown, the off-vehicle data monitoring submodule 12 may include an off-vehicle data acquisition unit 121 , an off-vehicle data conversion unit 122 , and an off-vehicle data transmission unit 123 .
[0165] The vehicle external data acquisition unit 121 includes a geomagnetic sensor, a video monitoring subunit, a coil induction subunit, a radar tracking subunit, and a GPS (Global Positioning System) tracking subunit. The geomagnetic sensor can be used to use the magnetic field as a signal to interact with the magnetic field generated by the metal bottom of the vehicle to determine the location of the vehicle and the entry and exit of the parking space / parking lot. The video monitoring subunit includes a camera, and the shape, color and other information of obstacles such as vehicles in the vehicle's external environment can be identified and tracked through the video monitoring subunit, and obstacles can be located in complex terrain environments. The coil induction subunit includes an induction coil, and the metal characteristics of the vehicle can be used to achieve vehicle detection through the coil induction subunit. The radar tracking subunit includes a radar, and the radar tracking subunit can be used to identify and track obstacles such as vehicles in the vehicle's external environment. The GPS tracking subunit can use satellite signals to locate and track the vehicle, and the vehicle can be located in a wide range of space.
[0166] The geomagnetic sensor, induction coil, camera, and radar in the off-vehicle data acquisition unit 121 may be arranged outside the vehicle, and the GPS may be arranged outside or inside the vehicle.
[0167] The off-vehicle data conversion unit 122 converts the data format of the environmental data into a standard format, which is a data format that can be processed by the data screening module 2. The off-vehicle data transmission unit 123 transmits the environmental data in the standard format to the data screening module 2.
[0168] 2. Explain the data screening module 2.
[0169] See attached Figure 2 In some implementations, the data screening module 2 may include a data analysis submodule 21 , a parameter comparison submodule 22 , and a data sending submodule 23 .
[0170] The data analysis submodule 21 is used to integrate the vehicle status data transmitted from the in-vehicle data monitoring submodule 11 and the environmental data transmitted from the out-vehicle data monitoring submodule 12 as the first automatic driving data of the vehicle.
[0171] The parameter comparison submodule 22 is used to filter the second autonomous driving data that is outside the safety value range set by the central processing module 3 from the first autonomous driving data.
[0172] The data sending submodule 23 is used to transmit the second autonomous driving data to the central processing module 3 and the data storage module 4 respectively. The data storage module 4 can store the second autonomous driving data.
[0173] 3. Explain the central processing module 3.
[0174] See attached Figure 2 In some embodiments, the central processing module 3 includes a system management submodule 31, an analysis and processing submodule 32, a parameter setting submodule 33, a data receiving submodule 34, and a deep learning submodule 35. In addition, the central processing module 3 is also provided with an automatic driving model.
[0175] The system management submodule 31 is used to manage the autonomous driving data processing system, for example, to start or shut down the autonomous driving data processing system.
[0176] The analysis and processing submodule 32 is used to obtain the final control decision of the vehicle at the current moment.
[0177] The parameter setting submodule 33 is used to set a safe numerical range of the autonomous driving data.
[0178] The data receiving submodule 34 is used to receive data transmitted by the data screening module 2 , and is also used to receive data transmitted by the data storage module 5 .
[0179] The deep learning submodule 35 is used to use the second automatic driving data and the control decision of the vehicle at the current moment as the training data at the current moment, and use the training data at the current moment to train the automatic driving model to optimize the automatic driving model.
[0180] The autonomous driving model has been trained using a large amount of training data (including autonomous driving data and control decisions). Through the deep learning submodule 35, the autonomous driving data can be used as new training data to train the autonomous driving model again after each round of autonomous driving data processing in the autonomous driving data processing system. Since the control decision of the vehicle at the current moment may be the final control decision obtained by the above-mentioned analysis and processing submodule 32, and the final control decision may be different from the first control decision determined by the autonomous driving model, the above-mentioned new training data is equivalent to training data that the autonomous driving model has not seen. Using the above-mentioned new training data to train the autonomous driving model again can further improve the performance of the autonomous driving model, thereby improving the reliability of the control decision determined by the autonomous driving control model.
[0181] In this embodiment, a conventional model training method can be adopted to train the autonomous driving model using massive training data.
[0182] The analysis and processing submodule 32 and the autonomous driving model are described below respectively.
[0183] (I) The analysis and processing submodule 32 is described.
[0184] See attached Figure 3 In some implementations, the analysis and processing submodule 32 includes an algorithm analysis unit 321, an analysis and comparison unit 322, an instruction transmission unit 323, and a fault alarm unit 324. The analysis of these four units is described below.
[0185] 1. The algorithm analysis unit 321 is described.
[0186] In some implementations, the algorithm analysis unit 321 may be configured to:
[0187] A preset autonomous driving control algorithm is used to process the second autonomous driving data at the current moment to determine a second control decision of the vehicle at the current moment, where the second control decision includes a second vehicle control parameter value.
[0188] If an abnormality is detected in the automatic driving model, the final control decision of the vehicle at the current moment is determined according to the first control decision and the second control decision, and the final control decision includes the final vehicle control parameter value. In some embodiments, the second deviation between the first parameter value in the first control decision and the second parameter value in the second control decision can be obtained. If the second deviation is greater than the set threshold, it indicates that the difference between the first and second parameter values is relatively large, and since an abnormality has been detected in the automatic driving model, it can be determined that the reliability and safety of the first control decision are relatively poor. If the vehicle is automatically driven according to the first control decision, the reliability and safety of the vehicle will be affected. At this time, the second control decision can be used as the final control decision. If the second deviation is less than or equal to the set threshold, it indicates that the difference between the first and second parameter values is relatively small. Although an abnormality has been detected in the automatic driving model, since the above difference is relatively small, the first control decision has a certain reliability and safety. At this time, the first control decision can be used as the final control decision. When setting the above-mentioned set threshold, those skilled in the art can count the second deviation between the first and second parameter values when an abnormality occurs in the automatic driving model and the first control decision has a certain reliability and safety, obtain the maximum second deviation, and set the above-mentioned set threshold according to this maximum second deviation.
[0189] If no abnormality is detected in the autonomous driving model, the first control decision will be used as the final control decision of the vehicle at the current moment.
[0190] The above-mentioned vehicle control parameters and automatic driving control algorithm are explained below.
[0191] Vehicle control parameters are parameters that control the vehicle to perform autonomous driving. Vehicle control parameters may include the vehicle's front wheel steering angle, lateral error, and heading angle error, etc.
[0192] The preset automatic driving control algorithm is a conventional algorithm in the field of automatic driving technology. The values of different types of vehicle control parameters may need to be obtained by different algorithms. In this embodiment, the automatic driving algorithm corresponding to each vehicle control parameter can be set in the algorithm analysis unit 321, and then the corresponding automatic driving algorithm is called according to the type of vehicle control parameter to obtain the value of the second vehicle control parameter.
[0193] The automatic driving control algorithm may include a path tracking algorithm, through which the angle value of the front wheel steering angle may be obtained. The path tracking algorithm is described below.
[0194] The path tracking algorithm can obtain the front wheel steering angle through the following formula (1).
[0195]
[0196] The meanings of the parameters in formula (1) are as follows:
[0197] δ a (h) represents the front wheel steering angle, L represents the vehicle wheelbase, α(h) represents the angle between the pre-anchor point and the vehicle body, which can also be understood as the angle between the vector formed by the origin and the pre-anchor point in the vehicle body coordinate system and the X-axis of the vehicle body coordinate system; l b represents the pre-anchor distance; h represents the vehicle.
[0198] Furthermore, the variable β is defined to represent the distance between the pre-anchor point and the vehicle travel vector, which can also be understood as the vertical distance between the pre-anchor point and the X-axis in the vehicle body coordinate system. Based on this, sinα(h) can be expressed as the following formula (2).
[0199]
[0200] According to the above formula (2), formula (1) can be transformed into the following formula (3).
[0201]
[0202] The above formula (3) can be understood as a nonlinear proportional controller about β. By adjusting different pre-anchor distances l b , we can get different δ a (h).
[0203] Based on the above path tracking algorithm, the present application can ensure that the lateral error of the vehicle is minimized by finely adjusting the pre-anchor distance and front wheel steering angle of the vehicle, and make the vehicle more stable and the trajectory smoother during driving.
[0204] 2. The analysis and comparison unit 322 is described.
[0205] In some embodiments, the analysis and comparison unit is configured to perform the following steps:
[0206] Step 11: Obtain historical second autonomous driving data similar to the second autonomous driving data at the current moment from the data storage module 4, and obtain historical control decisions of the vehicle at the moment when the historical second autonomous driving data is located.
[0207] Step 12: Obtain a third deviation between the second autonomous driving data at the current moment and the above-mentioned historical second autonomous driving data, and obtain a fourth deviation between the second control decision and the vehicle control parameter value in the above-mentioned historical control decision.
[0208] Step 13: Determine whether the second control decision has an abnormality according to the third deviation and the fourth deviation; if there is an abnormality, adjust the second control decision; otherwise, do not adjust the second control decision. If the second control decision is adjusted, the algorithm analysis unit 321 will perform corresponding operations according to the adjusted second control decision to determine the final control decision of the vehicle at the current moment.
[0209] Specifically, when obtaining similar historical second autonomous driving data, if the autonomous driving data is a numerical value, the numerical difference between the second autonomous driving data at the current moment and the second autonomous driving data at the historical moment can be obtained; if the numerical difference is less than the preset difference threshold, it indicates that the numerical values of the two autonomous driving data are relatively close and are similar; otherwise, the two autonomous driving data are not similar. If the autonomous driving data is an image, a conventional method for determining whether an image is similar can be used to determine whether the second autonomous driving data at the current moment and the second autonomous driving data at the historical moment are similar. When setting the above difference threshold, those skilled in the art can obtain autonomous driving data that is known to be similar, perform statistics on the numerical differences between these similar autonomous driving data, obtain the maximum numerical difference, and set the difference threshold based on the maximum numerical difference.
[0210] When obtaining the third deviation, if the autonomous driving data is a numerical value, the numerical difference between the second autonomous driving data at the current moment and the second historical autonomous driving data can be obtained. If the autonomous driving data is an image, the image features of the second autonomous driving data at the current moment and the second historical autonomous driving data can be obtained respectively, and then the feature deviation between the image features can be obtained.
[0211] When determining whether the second control decision is abnormal, the normal ranges of the third deviation and the fourth deviation can be set in advance; if the third and fourth deviations are respectively within their respective normal ranges, the second control decision is not abnormal; otherwise, the second control decision is abnormal. When setting the normal range, those skilled in the art can obtain the autonomous driving data when the second control decision is not abnormal (i.e., normal autonomous driving data), and then use the method of step 12 to obtain the third and fourth deviations based on the normal autonomous driving data, and finally respectively count the ranges of the third and fourth deviations, and set the normal ranges of the third and fourth deviations based on the ranges of the third and fourth deviations.
[0212] 3. The instruction transmission unit 323 and the fault alarm unit 324 are described.
[0213] The instruction transmission unit 323 generates a control signal for the vehicle according to the final vehicle control parameter value in the final control decision of the vehicle at the current moment, and transmits the control signal to the control system of the vehicle. The control system can control the movement of the vehicle according to the vehicle, so that the actual value of the vehicle control parameter after the vehicle moves is the same as the above-mentioned final parameter value. For example, if the vehicle control parameter is the front wheel steering angle, the first parameter value of the front wheel steering angle is θ, and the front wheel steering of the vehicle can be controlled according to the control signal, and the steering angle is θ.
[0214] The fault alarm unit 324 is used to alarm when the first deviation between the real-time environmental data at the current moment and the future environmental data of the vehicle is abnormal. The fault alarm unit 32 is also used to alarm when the algorithm analysis unit 321 uses the second control decision as the final control decision of the vehicle at the current moment, so as to remind the user that the automatic driving model or the first control decision determined according to the automatic driving model is abnormal.
[0215] (2) Explain the autonomous driving model.
[0216] In some embodiments, the data monitoring module 1 is configured to monitor first autonomous driving data of the vehicle through a plurality of different sensors, and the autonomous driving model includes an LSTM model using a self-attention mechanism, and the LSTM model includes an LSTM network.
[0217] The LSTM model is configured as follows:
[0218] The attention weights of the second autonomous driving data obtained by each sensor are obtained respectively through the self-attention mechanism, and the second autonomous driving data obtained by all sensors are weighted and calculated according to the attention weights to obtain multi-sensor fusion data.
[0219] Furthermore, the multi-sensor fusion data at the current moment and multiple previous historical moments are processed through the LSTM network to determine the first control decision of the vehicle at the current moment.
[0220] Specifically, the first vehicle control parameter value in the first control decision is expressed as follows:
[0221] yt=OutputLayer(ht) (4)
[0222] The parameters in formula (4) are as follows:
[0223] yt represents the first parameter value, OutputLayer represents the output layer of the first LSTM model, and ht represents the state or feature of the hidden layer in the first LSTM model at time t.
[0224] ht=LSTM(X~t,ht-1), X~t represents the multi-sensor fusion data at time t, and ht-1 represents the state or feature of the hidden layer in the first LSTM model at time t-1.
[0225] X~t=∑ i αt(i)Xt(i), Xt(i) represents the second autonomous driving data obtained by the i-th sensor at time t, and αt(i) represents the attention weight of Xt(i).
[0226] αt(i)=Softmax(et(i)), et(i) represents the attention score of Xt(i). Substituting et(i) into the Softmax function, the Softmax function can transform et(i) into a value between 0 and 1, which is the attention weight Xt(i).
[0227] et(i)=Attention(Xt(i),ht-1), where Attention represents the function of the self-attention mechanism.
[0228] By introducing the self-attention mechanism, the LSTM model can dynamically adjust the attention to the second autonomous driving data obtained by different sensors. In some embodiments, the self-attention mechanism can be a multi-head self-attention mechanism (Multi-Head Attention).
[0229] In some embodiments, the central processing module 3 can be configured to predict the future environmental data of the vehicle at the current moment through the LSTM network in the LSTM model and based on the historical environmental data. Based on this embodiment, the same LSTM model can be used to determine the first control decision and predict the future environmental data, respectively, to ensure data consistency and improve the accuracy of autonomous driving data processing.
[0230] 4. Explain the data storage module 4.
[0231] See attached Figure 2 In some embodiments, the data storage module 4 may include a real-time data receiving submodule 41 , a data sorting submodule 42 , a data comparing submodule 43 , and a data transmission submodule 44 .
[0232] The real-time data receiving submodule 41 is used to receive the second automatic driving data of the vehicle at the current moment transmitted by the data screening module 2, and is also used to receive the final control decision of the vehicle at the current moment transmitted by the central processing module 3.
[0233] The data sorting submodule 42 is used to classify the received data and store each type of data separately.
[0234] The data comparison submodule 43 is used to store the second automatic driving data and the vehicle control decision at the current moment as the training data at the current moment. If the training data at the current moment is different from the training data at all historical moments, the training data at the current moment is used as the training data to be transmitted back to the cloud server. In other words, the training data that has never been seen is transmitted back to the cloud server.
[0235] The data transmission submodule 44 is used to transmit the historical second autonomous driving data and other data stored in the central processing module 3. The data transmission submodule 44 is also used to transmit the above-mentioned unseen training data back to the cloud server and exchange data with other external systems.
[0236] Another aspect of the present application also provides a method for processing autonomous driving data.
[0237] See attached Figure 4 , Figure 4 FIG. 1 is a flow chart of the main steps of the method for processing autonomous driving data according to an embodiment of the present application. Figure 1 As shown, the autonomous driving data processing method in the embodiment of the present application mainly includes the following steps S101 to S105.
[0238] Step S101: Monitor the first automatic driving data of the vehicle through the data monitoring module 1.
[0239] Step S102: Filter the second autonomous driving data that is outside the safe numerical range from the first autonomous driving data through the data screening module 2.
[0240] Step S103: The second autonomous driving data at the current moment and multiple previous historical moments are processed by the autonomous driving model in the central processing module 3 to determine the first control decision of the vehicle at the current moment.
[0241] Step S104: Acquire the real-time environmental data of the vehicle at the current moment, and predict the future environmental data of the vehicle at the current moment through the autonomous driving model and based on the historical environmental data of the vehicle.
[0242] Step S105: If there is an abnormality in the first deviation between the real-time environmental data and the future environmental data, the vehicle is controlled to execute preset measures to ensure vehicle safety.
[0243] Based on the method described in steps S101 to S105 above, only the second autonomous driving data outside the safe numerical range needs to be processed, which significantly reduces the amount of data processing; at the same time, the above method does not completely rely on the autonomous driving model, and the vehicle itself will also participate in the processing of autonomous driving data, thereby avoiding the safety and reliability of autonomous driving due to abnormalities in the autonomous driving model.
[0244] The following is combined with Figure 5 , the autonomous driving data processing method provided in this application is described. Figure 5 As shown, the autonomous driving data can be processed through the following steps S201 to S208.
[0245] Step S201: Setting a safe numerical range of the autonomous driving data. Specifically, the parameter setting submodule 33 in the central processing module 3 sets the safe numerical range.
[0246] Step S202: monitoring first autonomous driving data of the vehicle. Specifically, the first autonomous driving data is monitored by a data monitoring module 1 .
[0247] Step S203: Integrate and remove redundancy from the first autonomous driving data to obtain second autonomous driving data. Specifically, the second autonomous driving data is obtained through the data screening module 3. The redundancy removal process can be understood as removing the autonomous driving data within the safe numerical range and obtaining the second autonomous driving data outside the safe numerical range.
[0248] Step S204: Database sorting and analysis: Specifically, the data storage module 4 sorts and classifies the received data, and then stores it according to the classification results.
[0249] Step S205 : obtaining the second control decision through the algorithm analysis unit. Specifically, obtaining the second control decision through the algorithm analysis unit 321 of the analysis and processing submodule 32 in the central processing module 3 .
[0250] Step S206: the second control decision is compared by the analysis and comparison unit. Specifically, the analysis and comparison unit 322 of the analysis and processing submodule 32 in the central processing module 3 determines whether to adjust the second control decision.
[0251] Step S207: instruction processing and deep learning. Specifically, the instruction transmission unit 323 of the analysis and processing submodule 32 in the central processing module 3 generates a vehicle control signal according to the final vehicle control parameter value in the final control decision of the vehicle at the current moment, and transmits the control signal to the vehicle control system. The deep learning submodule 35 in the central processing module 3 uses the second automatic driving data and the control decision of the vehicle at the current moment as the training data at the current moment, and uses the training data at the current moment to train the automatic driving model to optimize the automatic driving model.
[0252] Step S208: Real-time data updating and comparison. Specifically, the central processing module 3 determines whether to control the vehicle to execute a preset measure.
[0253] Based on the method described in steps S201 to S208 above, only the second autonomous driving data outside the safe numerical range needs to be stored and processed, which significantly reduces the data storage space and data processing volume; at the same time, the above method does not completely rely on the autonomous driving model, and the vehicle itself will also participate in the processing of autonomous driving data, thereby avoiding the safety and reliability of autonomous driving due to abnormalities in the autonomous driving model.
[0254] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effect of the present application, different steps do not have to be executed in such an order. They can be executed simultaneously (in parallel) or in other orders. These adjusted schemes are equivalent to the technical schemes described in this application, and therefore will also fall within the scope of protection of this application.
[0255] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above-mentioned embodiment of the present application can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal and software distribution medium, etc. that can carry the computer program code.
[0256] Another aspect of the present application also provides a computer-readable storage medium.
[0257] In an embodiment of a computer-readable storage medium according to the present application, the computer-readable storage medium may be configured to store a program for executing the autonomous driving data processing method of the above method embodiment, and the program may be loaded and run by a processor to implement the above autonomous driving data processing method. For ease of explanation, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application. The computer-readable storage medium may be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present application is a non-temporary computer-readable storage medium.
[0258] Another aspect of the present application also provides an autonomous driving data processing system.
[0259] In an embodiment of an autonomous driving data processing system according to the present application, the autonomous driving data processing system may include at least one processor; and a memory connected to the at least one processor in communication; wherein a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the method described in any of the above embodiments is implemented. Figure 6 , Figure 6 FIG. 4 exemplarily shows that the memory 11 and the processor 12 are communicatively connected via a bus.
[0260] Another aspect of the present application further provides a vehicle. In an embodiment of a vehicle according to the present application, the vehicle may include the autonomous driving data processing system described in the aforementioned system embodiment. The vehicle may include an electric vehicle, a hybrid vehicle, a fuel vehicle, etc.
[0261] So far, the technical solution of the present application has been described in conjunction with an embodiment shown in the accompanying drawings, but it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments. Without departing from the principles of the present application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present application.
Claims
1. An autonomous driving data processing system, It is characterized in that The system is deployed on a vehicle, and includes a data monitoring module, a data screening module, a central processing module, and a data storage module, wherein the central processing module is provided with an automatic driving model; The data monitoring module is configured to: monitor first autonomous driving data of the vehicle, the first autonomous driving data including state data of the vehicle and environmental data of an external environment of the vehicle; The data screening module is configured to: screen the second autonomous driving data that is outside a safe numerical range from the first autonomous driving data; The data storage module is configured to: store the second autonomous driving data; The central processing module is configured to: Processing the second autonomous driving data at a current moment and a plurality of previous historical moments by the autonomous driving model to determine a first control decision of the vehicle at the current moment, wherein the first control decision includes a first vehicle control parameter value; Acquire the real-time environmental data of the vehicle at the current moment, and predict the future environmental data of the vehicle at the current moment through the autonomous driving model and based on the historical environmental data of the vehicle; If there is an abnormality in the first deviation between the real-time environmental data and the future environmental data, the vehicle is controlled to execute preset measures to ensure vehicle safety.
2. The system according to claim 1, It is characterized in that The central processing module includes an analysis and processing submodule, and the analysis and processing submodule includes an algorithm analysis unit; The algorithm analysis unit is configured to: Processing the second automatic driving data at the current moment using a preset automatic driving control algorithm to determine a second control decision of the vehicle at the current moment, where the second control decision includes the second vehicle control parameter value; If an abnormality is detected in the automatic driving model, a final control decision of the vehicle at the current moment is determined based on the first control decision and the second control decision, and the final control decision includes the final vehicle control parameter value.
3. The system according to claim 2, It is characterized in that The algorithm analysis unit is configured to: Obtain a second deviation between the first parameter value and the second parameter value; if the second deviation is greater than a set threshold, use the second control decision as the final control decision; otherwise, use the first control decision as the final control decision.
4. The system according to claim 2, It is characterized in that The data storage module is configured to: store the control decision of the vehicle at each moment; The analysis and processing submodule includes an analysis and comparison unit, which is configured to: Acquire, from the data storage module, historical second autonomous driving data similar to the second autonomous driving data at the current moment, and acquire historical control decisions of the vehicle at the moment when the historical second autonomous driving data is stored; Obtaining a third deviation between the second autonomous driving data at a current moment and the historical second autonomous driving data, and obtaining a fourth deviation between the vehicle control parameter values in the second control decision and the historical control decision; determining whether the second control decision is abnormal according to the third deviation and the fourth deviation; If there is an abnormality, the second control decision is adjusted.
5. The system according to claim 2, It is characterized in that The vehicle control parameters include the front wheel steering angle, lateral error and heading angle error of the vehicle; The preset autonomous driving control algorithm includes a path tracking algorithm.
6. The system according to claim 1, It is characterized in that The central processing module includes a deep learning submodule, and the deep learning submodule is configured to: Using the second automatic driving data and the control decision of the vehicle at the current moment as the training data at the current moment; The autonomous driving model is trained using the training data at the current moment to optimize the autonomous driving model.
7. The system according to claim 1, It is characterized in that The data monitoring module is configured to: monitor first autonomous driving data of the vehicle through a plurality of different sensors; The autonomous driving model includes an LSTM model using a self-attention mechanism, the LSTM model includes an LSTM network, and the LSTM model is configured as follows: obtaining the attention weights of the second autonomous driving data obtained by each sensor respectively through a self-attention mechanism, and performing weighted sum calculation on the second autonomous driving data obtained by all sensors according to the attention weights to obtain multi-sensor fusion data; The multi-sensor fusion data at the current moment and multiple previous historical moments are processed by the LSTM network to determine the first control decision of the vehicle at the current moment.
8. The system according to claim 7, It is characterized in that The central processing module is configured to: predict the future environmental data of the vehicle at the current moment through the LSTM network in the LSTM model and based on the historical environmental data.
9. The system according to claim 1, It is characterized in that The data storage module is configured to: storing the second automatic driving data and the control decision of the vehicle at the current moment as training data at the current moment; If the training data at the current moment is different from the training data at all historical moments, the training data at the current moment is transmitted back to the cloud server.
10. The system according to claim 1, It is characterized in that The data monitoring module includes an in-vehicle data monitoring submodule and an out-vehicle data monitoring submodule; The in-vehicle data monitoring submodule is configured to: monitor the status data of the vehicle through sensors arranged inside the vehicle; The vehicle external data monitoring submodule is configured to monitor environmental data of the vehicle external environment through sensors arranged outside the vehicle.
