Black box data recorder with artificial intelligence processor in autonomous vehicles
Using artificial intelligence processors to analyze sensor data in autonomous vehicles and record it to non-volatile storage devices solves the problem of storage device duration and data authenticity, and improves recording quality and completeness.
Patent Information
- Application Number
- CN201980022497.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-03-28
- Filing Date
- 2019-02-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2039-02-26
AI Technical Summary
Black box data recorder storage devices in autonomous vehicles have limited duration and lack of data authenticity verification mechanisms, resulting in possible data tampering and low-quality records.
An artificial intelligence processor is used to analyze sensor data, and when an accident or collision event is determined, the data in the volatile memory is recorded to a non-volatile storage device, reducing write operations to the non-volatile storage device, and verified through encryption methods Data authenticity.
It improves the quality and duration of data recording, reduces the writing frequency of non-volatile storage devices, and ensures the authenticity and integrity of data.
Smart Images

Figure CN111918805B_ABST
Abstract
Description
[0001] Related Applications
[0002] This application claims the benefit of the filing date of U.S. Patent Application Serial No. 15 / 938,504, filed on March 28, 2018, and entitled “Black Box Data Recorder with Artificial Intelligence Processor in Autonomous Driving Vehicle,” the entire disclosure of which is hereby incorporated herein by reference. Technical Field
[0003] At least some embodiments disclosed herein relate to autonomous vehicle technology, and more particularly (and without limitation), to black box data recorders in autonomous vehicles. Background Art
[0004] Autonomous vehicles (ADVs) typically include many sensors for performing autonomous / unmanned operation. In the event of an accident, collision, or near-collision involving such a vehicle, reviewing sensor data recorded just before and / or during the accident can help determine the cause of the accident and / or whether there may be a vehicle malfunction.
[0005] The storage device used in the black box for recording such data may have a limited duration. Therefore, the recording may be done at a low resolution, a limited recording time, a limited number of frames, and the data may be compressed.
[0006] Typical storage devices do not contain security mechanisms for verifying the authenticity of data stored in the storage devices. Therefore, data stored on black box storage devices may be susceptible to tempering. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] The embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings in which like reference numerals indicate similar elements.
[0008] Figure 1 Embodiments of an improved black box data recorder in an autonomous vehicle (ADV) are described.
[0009] Figure 2 Another embodiment of an improved black box data recorder in an autonomous vehicle (ADV) is described.
[0010] Figure 3 A flow chart illustrating an improved black box data recorder in an autonomous vehicle (ADV). DETAILED DESCRIPTION
[0011] At least some embodiments disclosed herein provide an improved black box data recorder in an autonomous vehicle (ADV). An automobile manufacturer may want to record vehicle sensor data for an autonomous vehicle. However, extended data recording in a non-volatile storage device may be expensive; and many non-volatile storage technologies have limited durations. The embodiments described herein provide an improved solution for recording vehicle sensor data generated just before and possibly during an event of interest, such as a collision or near-collision involving a respective vehicle or a nearby vehicle.
[0012] In one embodiment, volatile memory is provided in the vehicle to temporarily hold the vehicle sensor data. The black box controller determines when to record the vehicle sensor data in the volatile memory in the non-volatile storage device. In one embodiment, an artificial intelligence (AI) processor analyzes the sensor data stored in the memory to detect an event of interest that will occur and / or has occurred (e.g., an impending collision or near-collision involving the corresponding vehicle or other vehicles). In response to the AI processor detecting the event of interest, the AI processor instructs the black box controller to store the sensor data from the volatile memory to the non-volatile storage device. Therefore, there are fewer write operations to the non-volatile storage device that may have a relatively limited duration.
[0013] The technology described herein may also be used in areas beyond ADVs, including vehicles using driver assistance technologies, video surveillance, and monitoring of harsh environments.
[0014] Figure 1 Embodiments of an improved black box data recorder in an autonomous vehicle (ADV) are described. Figure 1 In the present invention, the black box controller 102 receives a data stream of sensor data from a plurality of vehicle sensors 104 (e.g., surrounding cameras and other sensors). The vehicle sensor data may further include (but not limited to) camera data, radar data, lidar data, sonar data, laser measurement, tire pressure monitoring, and vehicle operating system data. The sensor data cited herein may also include vehicle operating data, such as GPS data, inertial sensor data, autonomous vehicle computer signals, and health status, etc.
[0015] The data stream of received sensor data is initially held in memory 106. In one embodiment, memory 106 is volatile, such as dynamic random access memory (DRAM), which requires constant power in order to refresh or maintain the data in the memory.
[0016] Alternatively or in combination, the sensor data may be maintained in a circular buffer implemented in volatile memory. The vehicle sensor data stored in the volatile buffer may not be compressed, or in an alternative embodiment, it may be compressed using lossless compression or loss-less compression - to maintain data quality.
[0017] When using a non-volatile circular buffer, the buffer may have a relatively small capacity (due to its higher cost per memory cell) and may be used to buffer a smaller, lower quality version of the sensor data (lossy or lossy compression) to reduce the size of the data.
[0018] The circular buffer cited herein can also be a circular buffer, a circular queue or a circular buffer comprising a data structure using a single fixed-size buffer, just like an end-to-end connection. The buffer structure easily buffers data streams. Reference to the circular buffer used herein has been cited to how to use the buffer. For example, the circular buffer is designed to be full when new data rewrites old data in a cyclic manner, thereby ensuring that the buffer keeps the latest data set. The actual size of the first and / or second circular buffer can be changed within the scope of the present invention. The actual number of the circular buffer provided in the black box recorder can also be changed within the scope of the present invention.
[0019] The movement / state sensor 108 of the ADV sends a signal to the black box controller when the movement / state sensor 108 detects a change or is triggered or activated. The movement / state sensor 108 may include one or more of an inertial sensor, an acceleration sensor, a sudden activation of the braking system, an engine or other component failure in the ADV, a signal from an advanced driver assistance system (ADAS), or an autonomous computer indicating an accident / collision or near-collision. In response to data from the sensor (104) and / or the movement / state sensor 108, an artificial intelligence (AI) processor 110 analyzes the data stream of the sensor data stored in the memory 106 to determine whether the event of interest will occur and / or has occurred; and in response to identifying an event based on the analysis of the AI processor 110, the black box controller 102 transmits the sensor data to the non-volatile storage device 112 for storage. For example, the AI processor 110 analyzes the sensor data stored in the memory 106 to determine whether the sensor data indicates and / or predicts that a collision or near-collision involving the corresponding vehicle or a nearby vehicle is about to occur or will occur.
[0020] In response to the AI processor 110 determining that the data stream of sensor data indicates that such an event will occur and / or has occurred, the AI processor 110 signals the black box controller 102 to copy the sensor data generated / received just before the event and possibly during the event from the system memory 106 to the non-volatile storage device 112. With the data stream of sensor data related to the event stored in the non-volatile storage device 112, the sensor data may be retrieved later when analyzing possible causes of the event.
[0021] By using the AI processor 110 to analyze sensor data and thereby selectively determine when the sensor data should be stored in the non-volatile storage device 112, duration issues associated with non-volatile storage devices are at least partially addressed by causing fewer write operations to the non-volatile storage device 112. With fewer write operations, higher quality sensor data (e.g., increased resolution, frame rate) can be stored in the storage device 112.
[0022] In one embodiment, the AI processor 110 includes a neural network trained to understand and / or determine whether sensor data indicates an event of interest that is about to occur or is about to occur, such as a collision, near-collision, or impact involving a vehicle or nearby vehicles, and whether the event requires writing memory data to the non-volatile storage device 112. For example, using machine learning techniques and / or pattern recognition techniques, an AI model may be built, for example, from training examples, and used by the AI processor 110 to perform some task, such as making a decision whether to record sensor data in the storage device 112.
[0023] In some embodiments, the AI processor 110 utilizes an AI model (e.g., an artificial neural network) when it makes decisions about whether to save sensor data in the storage device 112. The AI model can be created based on known decisions for existing sensor data. For example, the sensor data can be used as input to train an AI model with parameters (e.g., weights of neurons in an artificial neural network, connectivity of the network, response functions of neurons); and the parameters are adjusted during training so that decisions / predictions made using the sensor data can best match known recorded decisions. The AI model and parameters as a whole can be used in the AI processor 110 to make recording decisions (or predictions of events of interest) based on real-time sensor data.
[0024] For example, sensor data used as input to train an AI model may be recorded data from past road trips; and known decisions may be obtained from a human reviewer of the recorded data at the time of identifying an event of interest and / or the decision to record data leading up to the event of interest. For example, recorded camera and sensor data may be played back to a human operator indicating when the human operator wants to store sensor data. For example, when a car is operating in test mode, a safety driver may generate real-time input indicating when to record (e.g., when the safety driver sees an event of interest to be recorded). Past records leading up to an accident (e.g., sensor data seen before the actual accident) may also be used.
[0025] In some examples, the AI processor may make decisions in real time based on a set of rules. For example, the AI processor 110 may recognize an object and, in response, make a recording decision using predetermined rules, where the rules specify which spatial and motion relationships between the object and the vehicle should trigger the recording of sensor data in the storage device 112 (and when the sensor data should not be saved from the memory 106 to the storage device 112).
[0026] Figure 2 Another embodiment of an improved black box data recorder in an autonomous vehicle (ADV) is described, wherein an AI processor 110 is integrated within a non-volatile storage device 112, thereby providing a subsystem within the improved black box data recorder.
[0027] In some embodiments, Figure 1 or Figure 2 The storage device 112 may not only record sensor data, but also create authenticity verification data that can be used to verify the authenticity of the sensor data stored in the storage device 112. For example, the private key may be used to sign a hash of the stored sensor data to produce a signature. In order to verify whether the sensor data in the storage device 112 has been altered, the private key may be applied to the hash of the current data stored in the storage device 112 to produce a current signature for comparison with the signature created when the sensor data was recorded. If the signatures do not match each other, then the recorded sensor data has been altered.
[0028] Generally speaking, a symmetric encryption method or an asymmetric encryption method may be used to verify the authenticity of the sensor data stored in the storage device 112 .
[0029] Symmetric methods use the same secret key when creating a signature and during verification of the signature. The secret key may be shared among authorized parties in a factory environment and / or self-generated by using a physical unclonable function (PUF) of the storage device 112 in conjunction with a freshness mechanism and a message authentication code (MAC) algorithm. To verify the signature, the authorized parties use the same MAC algorithm together with the secret key.
[0030] The asymmetric method uses a pair of public and private keys of storage device 112, which may be generated using a physical unclonable function (PUF) of storage device 112 in conjunction with a freshness mechanism and a digital signature algorithm to generate a signature. Examples of digital signature algorithms include a digital standard signature (DSS) or one of its variants, such as the elliptic curve digital signature algorithm (ECDSA) defined in the National Institute of Standards and Technology (NIST) standard (e.g., Federal Information Processing Standard (FIPS) 186-4). Storage device 112 creates a digital signature on a data set stored in storage device 112 using a private key; and the authenticity of the digital signature may be verified using a public key.
[0031] Examples of indicators used in the freshness mechanism include the result of a monotonic counter that is incremented each time a signed output is generated, a timestamp, a random number, etc.
[0032] Additional details and examples of techniques for generating unique keys using PUFs may be found in U.S. patent application Ser. No. 15 / 853,498, filed Dec. 22, 2017, and entitled “Physical Unclonable Function using Message Authentication Code,” the disclosure of which is hereby incorporated herein by reference.
[0033] Figure 3 Flowchart illustrating an improved black box data recorder in an autonomous vehicle (ADV). As described above, initially, a data stream of sensor data is received 302. Vehicle sensor data may include, but is not limited to, camera data, radar data, lidar data, sonar data, laser measurement, tire pressure monitoring, and vehicle operating system data. The vehicle sensor data referenced herein may also include vehicle operating data, such as GPS data, inertial sensor data, autonomous vehicle computer signals, and health status, etc.
[0034] The data stream of sensor data is analyzed by the AI processor (e.g., via neural network training) to determine if an event of interest is about to occur 304. For example, the AI processor 110 analyzes the sensor data stored in the memory 106 to determine if the sensor data indicates that a collision or near-collision is about to occur. The sensor data analyzed may include data from the movement / state sensors 108, such as one or more of an inertial sensor, an acceleration sensor, a sudden activation of a braking system, an engine or other component failure within the ADV, a signal from an advanced driver assistance system (ADAS), or an autonomous computer indicating an accident / collision or near-collision. In an alternative embodiment, the AI processor may analyze the data from the sensors 104 without the data from the movement / state sensors 108.
[0035] If the AI processor determines that no relevant event is about to occur or is about to occur, then no signal is sent to the black box controller 306 and / or storage device 112 for recording the most recent sensor data from the sensors 104 and / or 108. If the AI processor determines that a relevant event is about to occur (e.g., a collision or near-collision is likely), then the black box controller 102 and / or storage device 112 receives a notification to store the data stream of sensor data in the non-volatile storage device 112, and the write operation to the non-volatile storage device begins 308.
[0036] In one embodiment, volatile memory 106 may be implemented as a memory of an onboard computer system installed in a vehicle, outside a black box recorder including storage device 112. The black box recorder may be configured to have a port connected to an onboard computer. Black box controller 102 may be in the recorder or may not be in the recorder. In one embodiment, a CPU or processor of an onboard computer may be used as a black box controller, and / or an AI processor 110 may be implemented on a CPU via software with hardware acceleration (e.g., using a graphics processing unit (GPU) or other AI specific hardware). In some embodiments, a black box recorder for an intelligent recording function and an onboard computer for an autonomous driving function may share software and / or hardware when processing sensor data (e.g., a camera and / or video data from a sensor 104).
[0037] The non-volatile storage device 112 may be implemented via various technologies, such as a memory cell in an integrated circuit. The storage medium of the storage device 112 is non-volatile because no power is required to maintain the data / information stored in the non-volatile storage medium, which can be retrieved after the non-volatile storage medium is powered off and then powered on again. The memory cell may be implemented using various memory / storage technologies, such as NAND gate-based flash memory, phase change memory (PCM), magnetic memory (MRAM), resistive random access memory, and 3D XPoint.TM , such that the storage device 112 is non-volatile and can retain the data stored therein for days, months, and / or years without power.
[0038] In one embodiment, the storage device 102 may include a cross-point storage device (eg, a 3D XPoint TM Cross-point memory devices use transistor-free memory elements, each of which has a memory cell and a selector stacked together in a column. The columns of memory elements are connected via two layers of vertical wires, one layer above the columns of memory elements and the other layer below the columns of memory elements. Each memory element can be individually selected at the intersection of a wire on each of the two layers. Cross-point memory devices are fast and non-volatile, and can be used as a unified memory pool for processing and storage.
[0039] The communication between the storage device 112 and the black box controller 102 may occur using a communication channel, which may use the PCIe protocol, the NVMe protocol, or other communication protocols. The black box controller 102 and the storage device 112 may be configured to communicate with each other using data storage management and usage commands.
[0040] The black box controller 102 and / or a separate controller of the storage device 112 may run firmware to perform operations in response to the communication. Firmware is generally a type of computer program that provides control, monitoring, and data manipulation of an engineering computing device. The firmware of the storage device or black box controller may control the operation of the operating storage device, such as storing and accessing data, performing power management tasks, etc.
[0041] The memory 106 may use volatile dynamic random access memory (DRAM) to hold the data stream sensor data and possibly hold instructions used by the controller 102 to improve the computing performance of the controller 102. DRAM is volatile because it requires power to maintain the data / information stored therein, which is immediately or quickly lost when power is interrupted.
[0042] Volatile DRAM generally has less latency than non-volatile storage media, but it quickly loses its data when power is removed. Therefore, it is advantageous to use volatile DRAM to temporarily store instructions and data used by controller 102 in its current computing task to improve performance. In some examples, volatile DRAM can be replaced with volatile static random access memory (SRAM) that uses less power than DRAM in some applications.
[0043] In this description, various functions and operations may be described as being performed or caused by computer instructions to simplify the description. However, those skilled in the art will recognize that such statements mean that the functions are generated by the execution of computer instructions by one or more controllers or processors (such as microprocessors). Alternatively, or in combination, the functions and operations may be implemented using dedicated circuit systems with or without software instructions, such as using application specific integrated circuits (ASICs) or field programmable gate arrays (FPGAs). Embodiments may be implemented using hard-wired circuit systems without the use of software instructions, or in combination with software instructions. Therefore, the present invention is not limited to any specific combination of hardware circuit systems and software, nor is it limited to any specific source of instructions executed by the data processing system.
[0044] While one embodiment may be implemented on fully functional computers and computer systems, various embodiments are capable of being distributed as computing products in various forms and can be used regardless of the specific type of machine or computer-readable medium used to actually effectuate the distribution.
[0045] At least some aspects of the disclosure may be embodied at least in part in software. That is, the techniques may be implemented in a computer system or other data processing system in response to its processor (e.g., a microprocessor or microcontroller) executing sequences of instructions contained in a memory (e.g., ROM, volatile RAM, non-volatile memory, other media described herein).
[0046] Tangible non-transitory computer storage media can be used to store software and data, which when executed by a data processing system causes the system to perform various methods. Executable software and data can be stored in various places, including, for example, volatile RAM, non-volatile memory and / or the media described herein. Portions of this software and / or data can be stored in any of these storage devices. In addition, data and instructions can be obtained from a centralized server or a peer-to-peer network. Different portions of data and instructions can be obtained from different centralized servers and / or peer-to-peer networks at different times and in different communication sessions or in the same communication session. Data and instructions can be fully obtained before application execution. Alternatively, portions of data and instructions can be obtained dynamically and in a timely manner only when execution is required. Therefore, there is no need for data and instructions to be completely on machine-readable media at a specific moment.
[0047] Examples of computer-readable storage media include, but are not limited to, recordable and non-recordable types of media, such as volatile and non-volatile memory devices, read-only memory (ROM), random access memory (RAM), flash memory devices, floppy disks and other removable disks, magnetic disk storage media, and optical disk storage media (e.g., compact disk read-only memory (CDROM), digital versatile disk (DVD), etc.). Instructions may be embodied in transitory media, such as electrical, optical, acoustical or other forms of propagated signals, such as carrier waves, infrared signals, digital signals, etc. Transient media are generally used to transmit instructions, but are not considered capable of storing instructions.
[0048] Although some figures illustrate several operations in a particular order, operations that are not order-dependent may be reordered, and other operations may be combined or decomposed. Although some reordering or other groupings are specifically mentioned, other groupings will be apparent to one of ordinary skill in the art, and therefore an exhaustive list of alternatives is not provided. Furthermore, it should be recognized that the stages may be implemented in hardware, firmware, or any combination thereof.
[0049] The above description and drawings are illustrative and should not be construed as limiting. Numerous specific details are described to provide a thorough understanding. However, in certain instances, well-known or conventional details are not described in order to avoid obscuring the description. References to one or an embodiment in the present invention are not necessarily references to the same embodiment; and such references represent at least one.
[0050] In the foregoing specification, the invention has been described with reference to specific exemplary embodiments thereof. It will be apparent that various modifications may be made thereto without departing from the broader spirit and scope set forth in the appended claims. The specification and drawings should accordingly be regarded in an illustrative rather than a restrictive sense.
Claims
1. A data recording device in an autonomous driving vehicle, the device comprising: a volatile memory device for storing vehicle sensor data received from a set of sensors of the autonomous vehicle; a black box controller coupled to the volatile memory device; and an artificial intelligence (AI) processor coupled to the black box controller, the AI processor being configured to: analyzing the vehicle sensor data received from the set of sensors of the autonomous vehicle using an AI model to identify events of interest when the vehicle sensor data is stored in the volatile memory device, wherein the AI model is created based on known decisions for existing sensor data and has parameters that are adjusted so that decisions / predictions made using the vehicle sensor data best match the known decisions, and When the vehicle sensor data is stored in the volatile memory device, in response to detecting the event of interest, instructing the black box controller to store the vehicle sensor data associated with the event of interest in a non-volatile memory device, wherein the event of interest is an impending collision involving the autonomously driven vehicle and autonomous driving of the vehicle is based on the vehicle sensor data received from the set of sensors; wherein the vehicle sensor data is stored in the non-volatile storage device along with a signature, the signature comprising a hash of the vehicle sensor data signed using symmetric encryption or asymmetric encryption, The secret key used to generate the signature is based on a physical unclonable function PUF of the autonomous vehicle.
2. The data logging device of claim 1, wherein the autonomous driving vehicle is operating in an autonomous driving mode when the event of interest occurs.
3. The data recording device of claim 1, wherein the vehicle sensor data comprises data collected from at least one of a camera, sonar, radar, or lidar, or any combination thereof.
4. The data logging device of claim 3, wherein the camera comprises an infrared camera.
5. The data recording device of claim 1, wherein the signature is generated based on a freshness factor.
6. A method for recording sensor data in an autonomous vehicle, the method comprising: receiving vehicle sensor data from a set of sensors of the autonomous vehicle and storing in a volatile memory device; performing autonomous driving of the vehicle based on the vehicle sensor data received from the set of sensors; analyzing, by an artificial intelligence (AI) processor, the vehicle sensor data received from the set of sensors of the autonomous vehicle to identify events of interest when the vehicle sensor data is stored in the volatile memory device, using an AI model, wherein the AI model is created based on known decisions for existing sensor data and has parameters, and the parameters are adjusted so that decisions / predictions made using the vehicle sensor data best match the known decisions; when the vehicle sensor data is stored in the volatile memory device, in response to the event of interest being identified by the AI processor, storing the vehicle sensor data associated with the event of interest in a non-volatile storage device, wherein the event of interest is an impending collision involving the autonomous vehicle, and generating in the non-volatile storage a signature of the vehicle sensor data stored in the non-volatile storage, wherein the signature comprises a hash of the vehicle sensor data signed using symmetric encryption or asymmetric encryption, The secret key used to generate the signature is based on a physical unclonable function PUF of the autonomous vehicle. The method of claim 6 , wherein the autonomous driving vehicle is operating in an autonomous driving mode when the event of interest occurs.
8. The method of claim 6, wherein the vehicle sensor data comprises data collected from at least one of a camera, sonar, radar, or lidar, or any combination thereof.
9. The method of claim 8, wherein the camera comprises an infrared camera.
10. The method of claim 6, wherein the signature is generated based on a freshness factor.
