Multi-sensor data synchronization system and image data synchronization method

Through the multi-sensor data synchronization system, data converters are used to aggregate and convert data from multiple CAN buses into Ethernet protocols, which solves the problem of non-uniform time stamps of sensor data in autonomous vehicles and achieves immediacy and unification of data transmission. , simplifying the data analysis process.

CN109547693BActive Publication Date: 2024-10-18HUIZHOU DESAY SV AUTOMOTIVE
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201811437890.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-11-29
Publication Date
2024-10-18
Estimated Expiration
2038-11-29

AI Technical Summary

Technical Problem

In autonomous vehicles, data generated by multiple sensors are inconsistent in time stamps due to inconsistent clock systems, resulting in inconsistent time stamps during data transmission, which increases the difficulty of data analysis.

Method used

A multi-sensor data synchronization system is adopted, and through the connection between the host and multiple sensors, a data converter is used to summarize and convert the data of multiple CAN buses into an Ethernet protocol to achieve unified time stamping of the data.

Benefits of technology

It reduces the data transmission delay, improves the immediacy of data, unifies the time stamps of signals from multiple sensors, and simplifies subsequent data analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109547693B_ABST
    Figure CN109547693B_ABST
Patent Text Reader

Abstract

The present application provides a multi-sensor data synchronization system and an image data synchronization method, the system includes a host, a plurality of sensors connected to the host; the host is used to collect data input by the plurality of sensors and the image acquisition device; the plurality of sensors include a first type of sensor, a second type of sensor and a third type of sensor; the first type of sensor is connected to the vehicle body CAN bus, the second type of sensor is connected to the private CAN bus, the third type of sensor includes a signal end and a data end, the signal end is connected to the vehicle body CAN bus, and is used to output a frame signal, the data end is connected to the host through a data line, and outputs data to the host; the vehicle body CAN bus and the private CAN bus are respectively connected to the host through the same data converter, so that the data input to the host is synchronized. The embodiments of the present application can greatly reduce the delay generated by the data during the transmission process, improve the immediacy of the data, and can make the collected data realize the unified time tag.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data acquisition, and in particular to a multi-sensor data synchronization system and an image data synchronization method. Background Art

[0002] In the field of autonomous driving, vehicles will be equipped with a variety of sensors to perceive and detect complex road environments, such as cameras, millimeter-wave radars, ultrasonic probes, etc.

[0003] The use of deep learning methods to study autonomous driving algorithm models requires massive amounts of real road conditions data to train the algorithm models. In addition, large amounts of data are needed for algorithm development and improvement, as well as product testing and simulation.

[0004] Under existing vehicle conditions, the data generated by each sensor is either transmitted to a unified ECU (Electronic Control Unit) through the CAN bus protocol for processing, or is equipped with its own ECU for processing. However, the data transmission methods and interfaces of each sensor may be different, and the external host and numerous sensors cannot be directly connected and communicated. At the same time, because each sensor does not necessarily have a clock system, even if individual sensors have a clock system, it is difficult to synchronize the clock systems of different sensors relatively accurately. Therefore, the data collected by the host either has no time stamp, or because of the large data delay, the recorded time is different from the actual time. The data of multiple sensors cannot be unified in time stamping, which increases the difficulty for researchers to perform subsequent data analysis. Summary of the invention

[0005] The present application provides a multi-sensor data synchronization system and an image data synchronization method, which can achieve time synchronization of data collected by sensors.

[0006] The present application provides a multi-sensor data synchronization system, comprising:

[0007] A host, an image acquisition device respectively connected to the host, and a plurality of sensors;

[0008] The host is used to collect data input by the multiple sensors and the image acquisition device;

[0009] The plurality of sensors include a first type of sensor, a second type of sensor, and a third type of sensor;

[0010] The first type of sensor is connected to the vehicle body CAN bus, the second type of sensor is connected to the private CAN bus, and the third type of sensor includes a signal end and a data end, the signal end is connected to the vehicle body CAN bus and is used to output a frame signal, and the data end is connected to the host through a data line to output data to the host; the vehicle body CAN bus and the private CAN bus are respectively connected to the host through the same data converter to synchronize the data input to the host;

[0011] Among them, the average data volumes generated by the first type of sensors, the second type of sensors and the third type of sensors during the working period are respectively the first data volume, the second data volume and the third data volume, and the first data volume, the second data volume and the third data volume increase in sequence.

[0012] Optionally, the data converter is used to merge the data sent by the vehicle body CAN bus and the private CAN bus, and convert the merged data from data that satisfies the CAN protocol to data that satisfies the Ethernet protocol; convert the host data from data that satisfies the Ethernet protocol to data that satisfies the CAN protocol, and send it to the corresponding vehicle body CAN bus or private CAN bus.

[0013] Optionally, the third type of sensor is an image acquisition device, and the image acquisition device includes a camera module and a signal processing module that can be interconnected and communicated;

[0014] The camera module is connected to the data end, and the signal processing module is connected to the vehicle body CAN bus via the signal end, and is used for generating and outputting the frame signal to the vehicle body CAN bus via the signal end.

[0015] Optionally, the data cable is provided with an adapter, and the adapter is used to perform conversion between the interface of the data end and the interface of the host.

[0016] Optionally, the adapter is used for switching between an HDMI interface and a USB interface;

[0017] The adapter HDMI interface is connected to the output end of the camera module, and the USB interface is connected to the host.

[0018] Optionally, the first type of sensors includes one or more combinations of a vehicle speed sensor, a steering wheel angle sensor, a turn signal sensor, a throttle opening sensor and a brake sensor.

[0019] Optionally, the second type of sensor includes a millimeter wave radar.

[0020] The present application also discloses an image data synchronization method, which is applied to the multi-sensor data synchronization system according to any one of claims 1 to 7, and the method comprises:

[0021] Obtaining a frame image, and obtaining a frame identifier corresponding to the frame image according to the frame image;

[0022] generating a frame signal according to the frame identifier, wherein the frame signal carries the frame identifier;

[0023] Outputting the frame signal to a vehicle body CAN bus, so as to send the frame signal to a host through the vehicle body CAN bus, and achieving time synchronization between the frame signal and other data on the vehicle body CAN bus;

[0024] The frame image is sent to the host via a data line.

[0025] Optionally, obtaining a frame identifier corresponding to the frame image according to the frame image includes:

[0026] Obtaining a frame sequence number corresponding to the frame image according to the frame image, wherein the frame sequence number is related to a time sequence of acquisition of the frame image;

[0027] A corresponding frame identifier is obtained based on the frame sequence number.

[0028] Optionally, sending the frame image to a host via a data line includes:

[0029] Associating the frame image with the frame identifier to obtain an associated frame image;

[0030] The associated frame image is sent to the host via a data line.

[0031] Optionally, associating the frame image with the frame identifier to obtain the associated frame image includes:

[0032] The frame identification information is saved in a preset area of ​​the frame image.

[0033] Optionally, the step of saving the frame identification information into a preset area of ​​the frame image includes:

[0034] Obtaining a target color value corresponding to the information of the frame identification;

[0035] Obtaining a target pixel in a preset area of ​​the frame image;

[0036] The color value of the target pixel is switched to the target color value.

[0037] Optionally, the method further includes:

[0038] Obtaining the time node of the frame signal at the data stream of the vehicle body CAN bus;

[0039] Obtaining a target frame image associated with the frame identifier carried by the frame signal;

[0040] The target frame image is associated with a time node corresponding to the frame signal.

[0041] From the above, it can be seen that the multi-sensor data synchronization system and image data synchronization method in the embodiments of the present application, the connection method between the host and multiple sensors adopted by the multi-sensor data synchronization system, transmitting data through multiple data transmission channels can greatly reduce the delay generated during the data transmission process and improve the immediacy of the data. The signals of multiple sensors are respectively connected to multiple CAN buses, and the data of multiple CAN buses are aggregated by using a data converter and then transmitted to the host, so that the collected data can be time-stamped uniformly. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A schematic diagram of the structure of a multi-sensor data synchronization system provided in an embodiment of the present application.

[0043] Figure 2 Another structural schematic diagram of the multi-sensor data synchronization system provided in an embodiment of the present application.

[0044] Figure 3 A flowchart for implementing the image data synchronization method provided in an embodiment of the present application.

[0045] Figure 4 A flowchart for obtaining a frame identifier provided in an embodiment of the present application.

[0046] Figure 5 A flowchart for implementing the method of saving frame identification information provided in an embodiment of the present application.

[0047] Figure 6 A flowchart for associating frame images with time nodes provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] The preferred embodiments of the present application are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present application can be more easily understood by those skilled in the art, thereby making a clearer definition of the protection scope of the present application.

[0049] See also Figure 1 , the figure shows the structure of the multi-sensor data synchronization system provided in an embodiment of the present application.

[0050] The multi-sensor data synchronization system can be used for vehicle-mounted electronic equipment, and the vehicle-mounted electronic equipment can collect vehicle environmental parameters through multiple sensors 20 .

[0051] The multi-sensor data synchronization system includes a host 10 and a plurality of sensors 20 .

[0052] Specifically, the host 10 is used to collect data input by multiple sensors 20. The sensor 20 may include a pressure sensor, an acceleration sensor, an ultrasonic probe, an image sensor, or a millimeter wave radar, etc., or other sensors for obtaining environmental parameters, which are not exhaustive here. The host 10 may be a PC (Personal Computer) or other data collection devices, such as a server, a vehicle-mounted driving computer, etc.

[0053] The multiple sensors 20 include a first type sensor 21, a second type sensor 22, and a third type sensor 23. The average data volumes generated by the first type sensor 21, the second type sensor 22, and the third type sensor 23 during the working period are respectively the first data volume, the second data volume, and the third data volume, and the first data volume, the second data volume, and the third data volume increase in sequence. The signal ends of the first type sensor 21 and the third type sensor 23 are connected to the vehicle body CAN bus 31; the second type sensor 22 is connected to the private CAN bus 32; the vehicle body CAN bus 31 and the private CAN bus 32 are respectively connected to the host 10 through the same data converter 40, so that the data input to the host is synchronized.

[0054] In some embodiments, the first type of sensor 21 may be a sensor 20 that generates a relatively small amount of data after each data collection action is completed, and may include one or more combinations of a vehicle speed sensor 20, a steering wheel angle sensor 20, a turn signal sensor 20, a throttle opening sensor 20, and a brake sensor 20. When multiple first type of sensors 21 are connected to the vehicle body CAN bus 31, the data of the first type of sensors 21 can be directly sent to the host 10 through the vehicle body CAN bus 31 because of the relatively small amount of data, without causing data congestion.

[0055] In some embodiments, the second type of sensor 22 may be a sensor 20 that generates a large amount of data after each data collection action is completed. In this embodiment, the second type of sensor 22 may include a millimeter wave radar, which generates a large amount of data, and the private CAN bus 32 can avoid data congestion on the vehicle body CAN bus 31.

[0056] Of course, the maximum transmission rate of the traditional CAN bus 30 is 1Mbit / s. In addition to the millimeter wave radar, it can also be other sensors 20 whose transmission rates meet the transmission conditions of the CAN bus 30. The private CAN bus 32 can have one or more, and the specific number and type of connected sensors 20 are not limited in this application.

[0057] The third type of sensor 23 includes a signal end and a data end. The data end is connected to the host 10 through a data line to output data to the host 10, and the signal end is used to output a frame signal. The third type of sensor 23 can be an image acquisition device, which includes a camera and a signal processing module connected to the camera for communication and used to obtain data. The camera can be a CMOS camera or a CCD camera, and the specific camera type and model can be adjusted according to actual applications.

[0058] It is understandable that, in addition to the image acquisition device, the third type of sensor may also be other sensors with a large amount of data, especially sensors whose generated data flow exceeds the bandwidth limit of the ordinary CAN bus, such as array radar and other sensor equipment.

[0059] The frame signal is a signal sent once, such as a signal containing a frame message, or a pulse signal, etc. If the third type of sensor is an image acquisition device, the frame signal is a signal corresponding to a frame image that is generated simultaneously when the image acquisition device acquires a frame image. That is, one frame image corresponds to one frame signal, and the number of frames of the image is equivalent to the number of frame signals.

[0060] In some embodiments, the data line can be a dedicated serial / parallel data line, such as an HDMI data line, a USB data line, a DVI data line or an AV data line, etc., and the specific type is not limited in this application. The image acquisition device is connected to the host 10 via a data line, so that the image or video with a large amount of data obtained by the image acquisition device can be directly transmitted to the host 10 without occupying limited CAN bus 30 resources, thereby improving transmission efficiency.

[0061] Specifically, after the frame image acquired by the image acquisition device is transmitted to the host 10, the corresponding frame signal is sent through the signal terminal, and the time stamp of the frame signal transmitted on the CAN bus 30 can be used to determine the sending time of the frame signal. Then, the sending time of the frame signal is associated with the frame image, so that the host 10 can know the specific sending time of the frame image through the time stamp of the frame signal, so that the frame image and other data sent via the CAN bus 30 can achieve unified time stamps.

[0062] In addition, in order to obtain the specific time stamp of each data, the host 10 can connect the vehicle body CAN bus 31 and other private CAN buses 32 through a data converter 40, so that the vehicle body CAN bus 31 and other private CAN buses 32 can aggregate the data into the same line through the data converter 40, and use the CAN protocol to implement the input data with corresponding time stamps, so that the data on multiple different CAN buses 30 can achieve unified time stamps.

[0063] In some embodiments, the data converter 40 may include multiple CAN ports, and different CAN buses 30 are connected to the CAN port of the data converter 40 through their own CAN ports. The data converter 40 can convert the data that meets the CAN protocol into a data format that can be read by the host 10 through the internal data conversion function, and transmit it to the host 10, so that the host 10 can receive and save the above data.

[0064] From the above, it can be seen that the multi-sensor data synchronization system in the embodiment of the present application, the connection method between the host and multiple sensors adopted by the system, transmitting data through multiple data transmission channels can greatly reduce the delay caused by the data transmission process and improve the immediacy of the data. The signals of multiple sensors are respectively connected to multiple CAN buses, and the data of multiple CAN buses are aggregated by using data converters and then transmitted to the host, so that the collected data can be time-stamped uniformly.

[0065] See also Figure 2 , the figure shows another structure of the multi-sensor data synchronization system provided in an embodiment of the present application.

[0066] like Figure 2 As shown, in one embodiment, the multi-sensor data synchronization system includes a host 10, an image acquisition device 23 and an electronic control unit (ECU).

[0067] The host 10 is a PC 10, which may include a processor, a memory, and related interfaces connected to the processor and the memory, such as a USB interface, a network card interface connected to Ethernet, etc. The PC 10 is used to obtain sensor data and image data of the multi-sensor data synchronization system.

[0068] The image acquisition device 23 includes a camera module 231 and a signal processing module 232. The image acquisition device 23 also includes a SOC for data acquisition and transmission. The camera module 231 includes a camera and related peripheral circuits, which are used to sense external ambient light to obtain a frame image. The SOC is used to process the frame image and transmit it to the PC 10 via a data line.

[0069] Here, since the PC 10 and the image acquisition device 23 may not be directly connected due to interface problems, an adapter may be provided on the data line, and the adapter is used to transfer between the interface of the data end of the image acquisition device 23 and the interface of the PC 10. Specifically, in this embodiment, the adapter is an HDMI to USB device 50, which is used for transfer between the HDMI interface and the USB interface. The HDMI interface of the adapter is connected to the output end of the camera module 231, that is, connected to the output end of the SOC, and the USB interface is connected to the PC. Of course, the adapter can determine the type of interface to be transferred according to actual conditions, such as transfer between HDMI interface, USB interface, DVI interface or AV interface.

[0070] The signal processing module of the image acquisition device 23 is connected to the vehicle body CAN bus 31, and sends a corresponding frame signal to the vehicle body CAN bus 31. The time stamp of the frame signal transmitted on the CAN bus 30 can be used to determine the sending time of the frame signal. Then, the sending time of the frame signal is associated with the frame image, so that the host 10 can know the specific sending time of the frame image through the time stamp of the frame signal, so that the frame image and other data sent via the CAN bus 30 can achieve unified time stamps.

[0071] The ECU may include one or more combinations of a vehicle speed sensor 20, a steering wheel angle sensor 20, a turn signal sensor 20, a throttle opening sensor 20, and a brake sensor 20. The sensor 20 in the ECU may be connected to the vehicle body CAN bus 31, and the vehicle body CAN bus 31 may be used to transmit sensor data.

[0072] It can be understood that, in addition to the sensor 20 in the ECU, other sensors 20 arranged in the system, such as acceleration sensors 20, pressure sensors 20, etc., which generate smaller amounts of data, can be connected to the vehicle body CAN bus 31 and are not listed here.

[0073] The sensor 20 may also include a millimeter wave radar 22. Since the millimeter wave radar 22 generates a large amount of data, it is connected to the private CAN bus 32 to independently transmit the data of the millimeter wave radar 22 through the private CAN bus 32, so as to avoid conflicts between the data of the millimeter wave radar 22 and other sensor data, which can effectively reduce data delay. In addition to the millimeter wave radar 22, other sensors 20 that may generate a large amount of data can use the private CAN bus 32 for data transmission.

[0074] The data of the vehicle body CAN bus 31 and the private CAN bus 32 need to be connected to the PC 10. In order to provide better compatibility and ensure the data transmission speed, the vehicle body CAN bus 31 and the private CAN bus 32 can be connected to the PC 10 through a data converter 40, that is, a CAN to Ethernet device 40, so that the data of each CAN bus is aggregated by the data converter 40 and uniformly transmitted to the PC 10 through Ethernet. Specifically, the data converter 40 is used to merge the data sent by the vehicle body CAN bus 31 and the private CAN bus 32, and convert the merged data from data that meets the CAN protocol to data that meets the Ethernet protocol; or convert the data of the host 10 from data that meets the Ethernet protocol to data that meets the CAN protocol, and send it to the corresponding vehicle body CAN bus 31 or private CAN bus 32.

[0075] The data of each CAN bus can be aggregated through the data converter 40 and time-stamped uniformly using the CAN protocol, which solves the problem of inconsistent time stamping caused by using multiple CAN buses to transmit data. In addition, the data converter 40 can be networked through Ethernet, so there is no need to worry about insufficient CAN ports, and it has strong scalability.

[0076] The Ethernet can have a data transmission rate of 100Mbit / s or above, which can ensure that the delay of the data transmission process of multiple CAN buses is maintained at a low level. The Ethernet communicates with the PC 10 through protocols such as TCP and UDP, and can be connected to the PC 10 through a network cable connector, so that the PC 10 can communicate with the CAN bus for data without having a specific interface, and has high compatibility.

[0077] From the above, it can be seen that the implementation method of the multi-sensor data synchronization system makes data transmission more reliable, with low latency, compatible with different hosts, and aggregates and unifies multiple data using a data adapter, which can solve the problem of inconsistent time tags caused by inconsistent data sources obtained by the host in the prior art.

[0078] See also Figure 3, the figure shows the implementation process of the image data synchronization method provided in the embodiment of the present application.

[0079] The image data synchronization method can be applied to Figure 1-2 The third type of sensor in the multi-sensor data synchronization system provided by any of the above embodiments is an image acquisition device. To avoid redundancy, the specific description of the multi-sensor data synchronization system can refer to the above embodiments.

[0080] The image data synchronization method comprises:

[0081] 101. Obtain a frame image, and obtain a frame identifier corresponding to the frame image according to the frame image.

[0082] The image acquisition device can use a camera module to obtain a single frame image, which is an image obtained at a preset time, and multiple frame images obtained in a continuous period of time can form an image. The frame identifier is uniquely corresponding to the frame image.

[0083] In some embodiments, the frame identifier may be the time information corresponding to the current moment when the frame image is obtained, or a frame number formed based on the time information. The frame signal indicates the frame order of the frame image in the currently recorded image.

[0084] In other embodiments, the frame identifier may also be based on the order in which the images are acquired. For example, when the camera is started, the frame identifier of the first frame of image acquired is 1, the frame identifier of the second frame of image acquired is 2, and so on.

[0085] It can be understood that the specific way of establishing the frame identifier can be determined according to actual conditions and is not limited in this application.

[0086] 102. Generate a frame signal according to the frame identifier, where the frame signal carries the frame identifier.

[0087] The frame signal is a signal that complies with the CAN transmission protocol, and can be transmitted in the vehicle body CAN bus after the frame identifier is converted into a frame signal.

[0088] The signal carries frame identification information, so that the host can obtain the frame identification information according to the frame signal.

[0089] 103. Output the frame signal to the vehicle body CAN bus, so as to send the frame signal to the host through the vehicle body CAN bus, and synchronize the frame signal with other data on the vehicle body CAN bus.

[0090] The image acquisition device may be provided with a CAN interface, and connected to a vehicle body CAN bus by using the CAN interface.

[0091] In some embodiments, after the image acquisition device acquires a frame image, the image acquisition device can simultaneously send a frame signal corresponding to the frame image to the vehicle body CAN bus, and send it to the host computer using the vehicle body CAN bus and the data converter.

[0092] 104. Send the frame image to the host through the data line.

[0093] Among them, using the data line to send the frame image to the host can avoid occupying the resources of the vehicle body CAN bus, improve the transmission rate, and reduce the data transmission delay of the vehicle body CAN bus.

[0094] If the frame image is sent through the CAN bus, the large amount of image data will cause data congestion between other data; if the frame image is transmitted only via the data line, the time stamps of the frame image and other data will be inconsistent.

[0095] Therefore, when the image acquisition device transmits the frame image to the host using the data line, it also sends a frame signal to the CAN bus. Because the CAN bus also includes data from other sensors, the frame signal can obtain a time stamp relative to other data using the CAN protocol, so that the acquisition system can unify the time stamps between the frame image and other sensor data.

[0096] From the above, it can be seen that when a frame image is acquired through the image acquisition device, a frame signal is sent to the vehicle body CAN bus at the same time, which can not only greatly reduce the delay in data transmission and improve the immediacy of data, but also unify the time stamp of the frame image with the time stamp of other data on the vehicle body CAN bus, thereby reducing the difficulty of researchers in performing subsequent data analysis.

[0097] See also Figure 4 , the figure shows an implementation flow chart of obtaining a frame identifier provided in an embodiment of the present application.

[0098] In some embodiments, obtaining a frame identifier corresponding to the frame image according to the frame image may include:

[0099] 201. Obtain a frame sequence number corresponding to the frame image according to the frame image, wherein the frame sequence number is related to a time sequence of acquiring the frame image.

[0100] In some embodiments, the frame number may be a number, a letter, or other parameters containing a sequential relationship.

[0101] Specifically, the frame sequence number may be related to the time sequence of obtaining the frame images.

[0102] 202. Obtain a corresponding frame identifier based on the frame sequence number.

[0103] In some embodiments, the frame number may be directly used as the frame identifier, or the frame identifier may be obtained based on the characteristics of the frame number through a corresponding mapping relationship. The specific implementation method may be determined according to actual conditions.

[0104] By using the above-mentioned implementation method of obtaining frame identifiers, frame images can be sorted by frame numbers based on the chronological order of frame image acquisition, which can reduce the workload of researchers in the frame image analysis process and reduce the chance of analysis errors.

[0105] See also Figure 5 , the figure shows an implementation flow chart of saving frame identification information provided by an embodiment of the present application.

[0106] In some embodiments, associating the frame image with the frame identifier to obtain the associated frame image may include:

[0107] The frame identification information is saved in a preset area of ​​the frame image.

[0108] The preset area may be certain pixels in a preset position of the frame image. The frame identification information may be sequence information of frame numbers, or marking information used to distinguish different frames.

[0109] For example, a serial number corresponding to the frame image may be displayed at the lower right corner of the frame image, or frame identification information may be stored in certain pixels of the frame image.

[0110] In some embodiments, saving the frame identification information into a preset area of ​​the frame image may include:

[0111] 301. Obtain a target color value corresponding to frame identification information.

[0112] Each color value is a certain parameter, which can be read by the host system.

[0113] After the frame identification information is obtained, the corresponding target color value can be selected from the storable color values ​​through a preset mapping table according to the sequence number of the frame identification or a mark related to the sequence.

[0114] For example, when the serial number of the frame identifier shows that the frame image is the Nth frame, the color value M of the Nth frame can be obtained through the mapping table as the target color value.

[0115] 302. Obtain a target pixel in a preset area of ​​a frame image.

[0116] The target pixel may be one or several pixels at a preset position in the frame image, and the pixel position may be set in advance by a preset means.

[0117] 303. Switch the color value of the target pixel to the target color value.

[0118] In the frame image, each pixel has a corresponding color value. By changing the color value to a target color value corresponding to the frame identification information, the host can determine the frame identification corresponding to the frame image by reading the color value on the target pixel.

[0119] After obtaining the frame identifier, researchers can extract the corresponding frame signal received by the host based on the frame identifier to associate and analyze its time stamp.

[0120] Obviously, by obtaining the corresponding target color value from the frame identifier information and saving the target color value to the target pixel, the frame identifier of the frame image can be saved and associated without affecting the image information saved in the frame image as much as possible. This allows researchers to quickly determine the time stamp generated when the frame image is acquired when analyzing the frame image, thereby improving data analysis efficiency.

[0121] See also Figure 6 , the figure shows the implementation process of associating frame images and time nodes provided by an embodiment of the present application.

[0122] In this embodiment, the image data synchronization method further includes:

[0123] 401. Obtain a time node of a frame signal in a data stream of a vehicle body CAN bus.

[0124] The device receiving the data stream transmitted in the CAN bus will mark the time nodes of the data stream to form a time mark of the data.

[0125] In some embodiments, after obtaining a frame signal, the frame signal can be extracted at a time node of the data stream of the vehicle body CAN bus to determine the relative time of the frame signal with respect to other data through the time mark of the time node. The relative time can show the sequence relationship between the frame signal and other data during the transmission process.

[0126] 402. Obtain a target frame image associated with a frame identifier carried by a frame signal.

[0127] In some embodiments, after a frame signal is obtained, the frame identifier carried can be extracted from the parameters of the frame signal. Because the frame signal and the associated frame image are sent to the host almost simultaneously, the frame identifier of the frame signal will uniquely correspond to a frame image of the multiple frame images received, and the target frame image associated with it can be obtained based on the frame identifier.

[0128] 403. Associate the target frame image with the time node corresponding to the frame signal.

[0129] It can be understood that associating the target frame image with the time node corresponding to the frame signal can enable researchers to quickly determine the order of the frame image relative to other data obtained by the host, which greatly facilitates researchers' research and analysis of the data.

[0130] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0131] In an embodiment of the present application, the lane traffic status reminder device and a lane traffic status reminder method in the above embodiment belong to the same concept, and any method step provided in the lane traffic status reminder method embodiment can be run on the lane traffic status reminder device. The specific implementation process is detailed in the lane traffic status reminder method embodiment, and any combination can be used to form an optional embodiment of the present application, which will not be repeated here.

[0132] The implementation modes of the present application are described in detail above in conjunction with the accompanying drawings, but the present application is not limited to the above implementation modes, and various changes can be made within the knowledge scope of ordinary technicians in the field without departing from the purpose of the present application.

Claims

1. A multi-sensor data synchronization system, It is characterized in that include: A host, and a plurality of sensors respectively connected to the host; The host is used to collect data input by the multiple sensors; The plurality of sensors include a first type of sensor, a second type of sensor, and a third type of sensor; The first type of sensor is connected to the vehicle body CAN bus, the second type of sensor is connected to the private CAN bus, and the third type of sensor includes a signal end and a data end, the signal end is connected to the vehicle body CAN bus and is used to output a frame signal, and the data end is connected to the host through a data line to output data to the host; the vehicle body CAN bus and the private CAN bus are respectively connected to the host through the same data converter to synchronize the data input to the host; The average data volumes generated by the first type of sensor, the second type of sensor and the third type of sensor during the working period are respectively the first data volume, the second data volume and the third data volume, and the first data volume, the second data volume and the third data volume increase in sequence; The first type of sensors include one or more combinations of vehicle speed sensors, steering wheel angle sensors, turn signal sensors, throttle opening sensors and brake sensors; the third type of sensors include image acquisition devices.

2. The multi-sensor data synchronization system according to claim 1, It is characterized in that The data converter is used to merge the data sent by the vehicle body CAN bus and the private CAN bus, and convert the merged data from data that meets the CAN protocol to data that meets the Ethernet protocol; convert the host data from data that meets the Ethernet protocol to data that meets the CAN protocol, and send it to the corresponding vehicle body CAN bus or private CAN bus.

3. The multi-sensor data synchronization system according to claim 1, It is characterized in that The image acquisition device includes a camera module and a signal processing module that can be connected and communicated with each other; The camera module is connected to the data end, and the signal processing module is connected to the vehicle body CAN bus via the signal end, and is used for generating and outputting the frame signal to the vehicle body CAN bus via the signal end.

4. The multi-sensor data synchronization system as claimed in claim 3, It is characterized in that The data cable is provided with an adapter, and the adapter is used for switching between the interface of the data end and the interface of the host.

5. The multi-sensor data synchronization system as claimed in claim 4, It is characterized in that The adapter is used for switching between the HDMI interface and the USB interface; The adapter HDMI interface is connected to the output end of the camera module, and the USB interface is connected to the host.

6. The multi-sensor data synchronization system according to claim 1, It is characterized in that The second type of sensors includes millimeter wave radar.

7. An image data synchronization method, applied to the multi-sensor data synchronization system according to any one of claims 1 to 6, the method include: Obtaining a frame image, and obtaining a frame identifier corresponding to the frame image according to the frame image; generating a frame signal according to the frame identifier, wherein the frame signal carries the frame identifier; Outputting the frame signal to a vehicle body CAN bus, so as to send the frame signal to a host through the vehicle body CAN bus, and achieving time synchronization between the frame signal and other data on the vehicle body CAN bus; The frame image is sent to the host via a data line.

8. The image data synchronization method according to claim 7, It is characterized in that The obtaining a frame identifier corresponding to the frame image according to the frame image includes: Obtaining a frame sequence number corresponding to the frame image according to the frame image, wherein the frame sequence number is related to a time sequence of acquisition of the frame image; A corresponding frame identifier is obtained based on the frame sequence number.

9. The image data synchronization method according to claim 7, It is characterized in that The step of sending the frame image to the host via a data line comprises: Associating the frame image with the frame identifier to obtain an associated frame image; The associated frame image is sent to the host via a data line.

10. The image data synchronization method according to claim 9, It is characterized in that The step of associating the frame image with the frame identifier to obtain the associated frame image includes: The frame identification information is saved in a preset area of ​​the frame image.

11. The image data synchronization method according to claim 10, It is characterized in that The step of saving the frame identification information into a preset area of ​​the frame image includes: Obtaining a target color value corresponding to the information of the frame identification; Obtaining a target pixel in a preset area of ​​the frame image; The color value of the target pixel is switched to the target color value.

12. The image data synchronization method according to claim 9, It is characterized in that The method further comprises: Obtaining the time node of the frame signal at the data stream of the vehicle body CAN bus; Obtaining a target frame image associated with the frame identifier carried by the frame signal; The target frame image is associated with a time node corresponding to the frame signal.

Citation Information

Patent Citations

  • Multi-sensor data synchronization system

    CN211656247U