Data processing method, electronic device and storage medium for radar-vision fusion

By using the matching signal generation unit and the data matching unit in the ThunderSight fusion algorithm, the target frame data is filtered out based on the attribute information of the sensor data, which solves the problem of insufficient sensor data screening in the existing technology and improves the accuracy of the ThunderSight fusion. and efficiency.

CN118468231BActive Publication Date: 2024-09-27GUANGZHOU GAOXING INTERNET CONNECTION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

There is a lack of methods for filtering sensor data in the existing technology, resulting in shortcomings in the accuracy and time-consuming nature of the Lightning Vision fusion algorithm.

Method used

The matching signal generation unit determines the reference phase and acquisition phase based on the attribute information of multiple original frame data of the sensor, and generates a matching signal based on this information, the current timestamp, the negative feedback factor, the cycle of the sensor generated data, and the empirical delay. and matching parameters, used by the data matching unit to filter out the target frame data.

Benefits of technology

It improves the accuracy of LeiShi fusion data processing, makes the filtered sensor data more in line with fusion requirements, and achieves fast and accurate data fusion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118468231B
    Figure CN118468231B
Patent Text Reader

Abstract

The present application provides a data processing method, electronic device and storage medium for thunder and vision fusion, which are applied to a data screening device, wherein the data screening module includes: a data cache unit, a matching signal generating unit and a data matching unit, and the method includes: the matching signal generating unit determines the reference phase and the acquisition phase according to the attribute information of multiple original frame data of the sensor; the matching signal generating unit determines the matching signal and matching parameters corresponding to the sensor according to the reference phase, the acquisition phase, the current timestamp, the negative feedback factor, the period of the sensor generating data and the empirical delay, and sends the matching signal and matching parameters to the data matching unit; the data matching unit screens out the target frame data of the sensor according to the matching signal and matching parameters, and transmits the target frame data of the sensor to the thunder and vision fusion module. The data of the screened sensor can be made more in line with the requirements of thunder and vision fusion, so that thunder and vision fusion can be accurately performed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of autonomous driving data processing, and more specifically, to a radar-vision fusion data processing method, electronic device, and storage medium. Background Art

[0002] The radar-vision fusion algorithm refers to an algorithm that fuses data from sensors such as lidar, millimeter-wave radar, and cameras installed on the road. Through the radar-vision fusion algorithm, it can perceive targets in the entire space, such as people, vehicles, obstacles, etc., and then calculate the target's latitude and longitude, speed, heading angle, size and other information and send it to the vehicle to assist the vehicle's autonomous driving.

[0003] Most of the existing technologies focus on the radar-vision fusion algorithm after filtering the data of each sensor, but there is no method for how to filter the data of each sensor. Therefore, how to filter out accurate sensor data in a short time is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The purpose of the present application is to provide a data processing method, electronic device and storage medium for radar-visual fusion in order to improve the accuracy of data processing for radar-visual fusion in order to address the deficiencies in the above-mentioned prior art.

[0005] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0006] In a first aspect, an embodiment of the present application provides a data processing method for radar-visual fusion, which is applied to a data screening device, wherein the data screening device includes: a data cache unit, a matching signal generating unit, and a data matching unit, and the method includes:

[0007] The matching signal generating unit determines the reference phase and the acquisition phase according to the attribute information of the multiple original frame data of the sensor, wherein the attribute information includes: the acquisition timestamp and the receiving timestamp of the original frame data;

[0008] The matching signal generating unit determines the matching signal and matching parameters corresponding to the sensor according to the reference phase, the acquisition phase, the current timestamp, the negative feedback factor, the period of sensor data generation and the empirical delay, and sends the matching signal and the matching parameters to the data matching unit, wherein the matching parameters include a reference timestamp, a matching interval, an optimal matching interval and a timeout period;

[0009] The data matching unit filters out the target frame data of the sensor according to the matching signal and the matching parameters, and transmits the target frame data of the sensor to the radar-vision fusion module.

[0010] Optionally, determining the reference phase and the acquisition phase according to the attribute information of the plurality of original frame data of the sensor includes:

[0011] The matching signal generating unit divides the receiving timestamp of each raw frame data by the period of the sensor generating data to obtain a remainder as a reference phase of each raw frame data;

[0012] The matching signal generating unit uses the difference between the acquisition timestamp of each original frame data and the receiving timestamp as the acquisition phase of each original frame data;

[0013] The matching signal generating unit obtains the reference phase and the acquisition phase according to the reference phase of each original frame data and the acquisition phase of each original frame data.

[0014] Optionally, the matching signal generating unit obtains the reference phase and the acquisition phase according to the reference phase of each original frame data and the acquisition phase of each original frame data, including:

[0015] Sorting the acquisition phases of the original frame data to obtain an acquisition phase sequence;

[0016] Removing a preset proportion of acquisition phases from the acquisition phase sequence to obtain remaining acquisition phases;

[0017] taking the average value of the remaining acquisition phases as the acquisition phase;

[0018] The average value of the reference phases of the original frame data corresponding to the remaining acquisition phases is calculated to obtain the reference phases.

[0019] Optionally, the matching signal generating unit determines the matching signal and matching parameters corresponding to the sensor according to the reference phase, the acquisition phase, the current timestamp, the negative feedback factor, the period of sensor data generation and the empirical delay, including:

[0020] Determine a reference timestamp of the current round according to the current timestamp, the reference phase and a preset value;

[0021] Determine matching parameters of the sensor in the current round according to the reference timestamp of the current round, the reference phase, the acquisition phase, a period of sensor data generation, and an empirical delay;

[0022] When the reference timestamp, matching interval, best matching interval and timeout period in the matching parameters of the sensor are all calculated, the matching signal of the current round is generated.

[0023] Optionally, determining a reference timestamp of a current round according to the current timestamp, the reference phase and a preset value includes:

[0024] After the matching signal generating unit determines the reference phase and the acquisition phase, the initialization state of the matching signal generating unit is switched to the running state, and the reference timestamp of the first round is determined according to the current timestamp, the preset value and the reference phase when the matching signal generating unit is switched to the running state;

[0025] The reference timestamps of the other rounds except the first round are determined according to the reference timestamp of the previous round and the preset value.

[0026] Optionally, determining the matching parameters of the sensor in the current round according to the reference timestamp of the current round, the reference phase, the acquisition phase, a period for sensor data generation, and an empirical delay includes:

[0027] Determine a matching timestamp of the sensor of the current round according to the reference timestamp of the current round, the acquisition phase, the empirical delay, the negative feedback factor of the sensor, and the sensor type;

[0028] Determine a matching interval and an optimal matching interval of the sensor in the current round according to the matching timestamp of the current round, the fusion period, and the period of data generation by the sensor;

[0029] Set the timeout period to a preset time value.

[0030] Optionally, determining the matching timestamp of the sensor of the current round according to the reference timestamp of the current round, the acquisition phase, the empirical delay, the negative feedback factor of the sensor, and the sensor type includes:

[0031] If the sensor is of the first sensor type, determining a matching timestamp of the sensor of the current round according to the reference timestamp of the current round, the acquisition phase, and a negative feedback factor of the sensor;

[0032] If the sensor is of the second sensor type, a matching timestamp of the sensor of the current round is determined according to the reference timestamp of the current round, the empirical delay, and the negative feedback factor of the sensor.

[0033] Optionally, the data matching unit filters out the target frame data of the sensor according to the matching signal and the matching parameter, including:

[0034] When the data matching unit receives the matching signal and the matching parameter, the data matching unit switches from an idle state to a busy state;

[0035] If any of the following screening conditions is met, the data matching unit screens the original frame data of the sensor in the best matching interval or the matching interval from the data cache unit as the target frame data;

[0036] The screening conditions include: the timestamp when the sensor is disconnected from the network or receives a matching signal is greater than the sum of the reference timestamp and the timeout period, or there is at least one frame of original frame data in the best matching interval, or the timestamp when the matching signal is received is greater than or equal to the reference timestamp and there is at least one frame of original frame data in the matching interval.

[0037] In a second aspect, an embodiment of the present application further provides a data processing device for thunder and visual fusion, the device comprising: the data screening device and thunder and visual fusion module described in the first aspect;

[0038] The data screening device is used to execute the data processing method of the radar and visual fusion described in the first aspect above, obtain the target frame data of each sensor, and send the target frame data of each sensor to the radar and visual fusion module. The radar and visual fusion module is used to perform data fusion based on the received target frame data of each sensor, and feed back the negative feedback factor of the fusion effect to the matching signal generating unit in the data screening device.

[0039] In the third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, and when an application is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the data processing method of radar-vision fusion described in the first aspect above.

[0040] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is read and executes the steps of the data processing method for radar-visual fusion described in the first aspect above.

[0041] The beneficial effects of this application are:

[0042] The present application provides a data processing method, electronic device and storage medium for thunder and vision fusion, wherein the matching signal generating unit determines the reference phase and acquisition phase of the sensor according to the attribute information of multiple original frame data of the sensor, and then determines the matching parameters and matching signals corresponding to the sensor according to the reference phase, acquisition phase, current timestamp, negative feedback factor, sensor data generation cycle and empirical delay, so that the data matching unit filters out the target frame data of the sensor from the data cache unit according to the matching signal and matching parameters, and then the thunder and vision fusion module can perform data fusion according to the received target frame data of each sensor. The data of the filtered sensors can be made more in line with the requirements of thunder and vision fusion, so that thunder and vision fusion can be accurately performed. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 A schematic diagram of the structure of a data screening device provided in an embodiment of the present application;

[0045] Figure 2 A schematic diagram of the structure of a data processing device for radar-visual fusion provided in an embodiment of the present application;

[0046] Figure 3 A schematic diagram of a flow chart of a data processing method for radar-visual fusion provided in an embodiment of the present application;

[0047] Figure 4 A flowchart of another data processing method for radar-visual fusion provided in an embodiment of the present application;

[0048] Figure 5 A flowchart of another data processing method for radar-visual fusion provided in an embodiment of the present application;

[0049] Figure 6 A flowchart of another data processing method for radar-visual fusion provided in an embodiment of the present application;

[0050] Figure 7 A flowchart of another data processing method for radar-visual fusion provided in an embodiment of the present application;

[0051] Figure 8 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0053] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0054] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0055] Figure 1 A structural schematic diagram of a data screening device provided in an embodiment of the present application, the data screening device can be set in an electronic device or in a radar, wherein the electronic device can be, for example, a mobile phone, a tablet computer, a laptop computer, a PDA, a desktop computer, or other terminal device with computing and display capabilities, or can also be a server. Figure 2 A schematic diagram of a data processing device for radar-visual fusion provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the data processing device for the thunder and vision fusion includes a thunder and vision fusion module and Figure 1 The data filtering device in.

[0056] like Figure 1As shown, the data screening device may include: a data cache unit, a matching signal generating unit and a data matching unit, wherein the data cache unit can be used to cache the raw data of each sensor within a period of time, waiting for the data matching unit to obtain it, and the data cache unit can establish a cache data queue for each sensor, sort the raw data of each sensor from small to large according to the timestamp, and at the same time, clear outdated data.

[0057] Optionally, the matching signal generating unit can receive the raw data of each sensor, generate matching signals and matching parameters of each sensor in each round of radar-vision fusion, and receive the negative feedback factor of the current round of radar-vision fusion effect returned by the radar-vision fusion module, update the matching parameters of each sensor according to the negative feedback factor, generate matching parameters and matching signals for the next round of radar-vision fusion, and send the generated matching parameters and matching signals to the data matching unit. The data matching unit filters out the target frame data of each sensor from the data cache unit based on the received matching parameters according to each received matching signal, and sends the filtered target frame data of each sensor to the radar-vision fusion module, so that the radar-vision fusion module performs data fusion according to the received target frame data of each sensor.

[0058] The specific implementation process of the data processing of the radar and visual fusion provided in the embodiment of the present application is explained in detail below. The data processing method of the radar and visual fusion in the present application is explained by taking the data screening of one sensor among multiple sensors as an example, and the data screening of other sensors is consistent with the data screening method of the sensor.

[0059] Figure 3 The flowchart of a data processing method for radar-visual fusion provided in an embodiment of the present application is shown in FIG. 1 , wherein the execution subject of the method is the aforementioned data screening device. Figure 3 As shown, the method includes:

[0060] S101. A matching signal generating unit determines a reference phase and an acquisition phase according to attribute information of a plurality of original frame data of a sensor.

[0061] Optionally, the attribute information of the original frame data may include: a collection timestamp and a receiving timestamp of the original frame data.

[0062] Optionally, the matching signal generating unit can be divided into two working states, namely, an initialization state and a running state, wherein the initialization state is the state before the running state, and the matching signal generating unit can calculate the reference phase and the acquisition phase according to the attribute information of the multiple raw frame data received from the sensor during the initialization state. The reference phase and the acquisition phase are the parameters required for the matching signal generating unit to enter the running state from the initialization state.

[0063] Optionally, since different sensors cannot be guaranteed to enter the working state at the same time, resulting in a relatively large difference between the reference phase and the acquisition phase of each sensor, the reference phase and acquisition phase calculated from multiple raw frame data of the lidar with the lowest data generation frequency can be selected as the reference phase and acquisition phase of each sensor, that is, the reference phase and acquisition phase of each sensor are the same. Secondly, this is because the current common lidars can support the acquisition timestamp of the sent data and support time synchronization with microsecond errors.

[0064] S102, the matching signal generating unit determines the matching signal and matching parameters corresponding to the sensor according to the reference phase, the acquisition phase, the current timestamp, the negative feedback factor, the period of sensor data generation and the empirical delay, and sends the matching signal and matching parameters to the data matching unit.

[0065] The matching parameters may include a reference timestamp, a matching interval, an optimal matching interval, and a timeout period. The current timestamp may refer to the timestamp when the matching signal generating unit enters the running state. The negative feedback factor refers to the negative feedback data of the previous round of the current round of the radar-vision fusion effect, and the negative feedback factor of each sensor is different.

[0066] Optionally, the matching interval may refer to the timestamp interval in which the sensor filters data from the data cache unit in the data screening of the current round of radar vision fusion; the best matching interval refers to a sub-interval of the matching interval. If the timestamp of the original frame data filtered from the data cache unit is within the best matching interval, the original frame data is the target frame data of the sensor; the timeout period is to prevent the sensor from not receiving the data to be collected when there is a sudden network freeze, causing the matching signal unit to be stuck; the reference timestamp refers to the start time of the current round of radar vision fusion. The reference timestamp can be, for example, a sequence with an interval of 100ms, which can ensure that the frequency of the output data is 10HZ.

[0067] S103, the data matching unit filters out the target frame data of the sensor according to the matching signal and the matching parameters, and transmits the target frame data of the sensor to the radar-vision fusion module.

[0068] Optionally, when the data matching unit receives the matching signal and matching parameters, it can filter out the original frame data that meets the preset requirements from the data cache unit according to the matching parameters as the target frame data of the sensor, and transmit the filtered target frame data to the radar and vision fusion module. After receiving the target frame data of all sensors, the radar and vision fusion module performs the current round of data fusion, and sends the negative feedback factor of the current round of data fusion effect to the matching signal generating unit, so that the matching signal generating unit updates the matching parameters of the sensor according to the negative feedback factor of the current round, and generates the matching parameters and matching signals for the next round.

[0069] In this embodiment, the matching signal generating unit determines the reference phase and acquisition phase of the sensor according to the attribute information of multiple original frame data of the sensor, and then determines the matching parameters and matching signals corresponding to the sensor according to the reference phase, acquisition phase, current timestamp, negative feedback factor, sensor data generation cycle and empirical delay, so that the data matching unit can filter out the target frame data of the sensor from the data cache unit according to the matching signal and matching parameters, and then the radar and vision fusion module can perform data fusion according to the received target frame data of each sensor. The data of the filtered sensors can be made more in line with the requirements of radar and vision fusion, so that the radar and vision fusion can be accurately performed.

[0070] Figure 4 A flow chart of another data processing method for radar-visual fusion provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the matching signal generating unit in the above S101 determines the reference phase and the acquisition phase according to the attribute information of the multiple original frame data of the sensor, which may include:

[0071] S201 . A matching signal generating unit uses a remainder obtained by dividing a receiving timestamp of each raw frame data by a period of sensor generated data as a reference phase of each raw frame data.

[0072] Optionally, the period of data generated by the sensor may refer to the period of data generated by the above-mentioned laser radar with the lowest data generation frequency. If the laser radar generates a frame of raw data every 100ms, the period of data generated by the sensor is 100ms.

[0073] Optionally, if the laser radar is started at timestamp 10000, it enters the working state at timestamp 10230. Ideally, it is assumed that the post-processing delay of data acquisition is 0 and the network transmission delay is 0. Then the receiving timestamps of each original frame data can be 10230, 10330, 10430, ... respectively. Among them, any timestamp divided by the period 100ms obtains the remainder 30 as the reference phase. However, in actual situations, data processing delays and network transmission delays exist, resulting in fluctuations in the reference phase of each original frame data within a certain range. Therefore, in this embodiment, the receiving timestamp of each original frame data is divided by the remainder of the period of the sensor generated data as the reference phase of each original frame data, that is, multiple reference phases can be obtained.

[0074] Exemplarily, the reference phase of original frame data 1 is 30.1, the reference phase of original frame data 2 is 31, the reference phase of original frame data 3 is 30.5, the reference phase of original frame data 4 is 30.8, the reference phase of original frame data 5 is 32, and so on.

[0075] S202: The matching signal generating unit uses the difference between the acquisition timestamp of each original frame data and the receiving timestamp as the acquisition phase of each original frame data.

[0076] Optionally, in an ideal case, the acquisition timestamp of the sensor data is equal to the reception timestamp of the received data, and the acquisition phase is 0. However, in actual cases, due to the existence of data processing delay and network transmission delay, the acquisition phase of each raw frame data also fluctuates within a certain range. Therefore, the difference between the acquisition timestamp of each raw frame data and the reception timestamp is taken as the acquisition phase of each raw frame data.

[0077] Exemplarily, the acquisition phase of raw frame data 1 is 0.1, the acquisition phase of raw frame data 2 is 0.01, the acquisition phase of raw frame data 3 is 0.2, the acquisition phase of raw frame data 4 is 0.4, the acquisition phase of raw frame data 5 is 0.05, and so on.

[0078] S203 . The matching signal generating unit obtains a reference phase and an acquisition phase according to the reference phase of each original frame data and the acquisition phase of each original frame data.

[0079] Optionally, the matching signal generating unit may use a preset method to obtain the reference phase and acquisition phase of the sensor according to the reference phase of each raw frame data and the acquisition phase of each raw frame data, and the obtained reference phase and acquisition phase refer to the reference phase and acquisition phase of all sensors. For example, if the obtained reference phase is 30.5 and the acquisition phase is 0.1, the reference phase of each sensor is 30.5 and the acquisition phase of each sensor is 0.1.

[0080] In this embodiment, the acquisition phase and the reference phase are obtained through the reference phase of multiple frames of raw data and the acquisition phase of multiple frames of raw data, which can reduce the influence of fluctuations and reduce calculation errors.

[0081] Figure 5 A flowchart of another data processing method for radar-visual fusion provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the matching signal generating unit in the above S203 obtains the reference phase and the acquisition phase according to the reference phase of each original frame data and the acquisition phase of each original frame data, which may include:

[0082] S301 , sorting the acquisition phases of each original frame data to obtain an acquisition phase sequence.

[0083] Specifically, for example, the acquisition phases of the original frame data may be sorted from small to large, or from large to small, to obtain an acquisition phase sequence.

[0084] Exemplarily, if the acquisition phases of the above 5 original frame data are taken as an example and arranged from small to large, the obtained acquisition phase sequence can be original frame data 2, original frame data 5, original frame data 1, original frame data 3 and original frame data 4.

[0085] S302: Remove a preset proportion of acquisition phases from the acquisition phase sequence to obtain remaining acquisition phases.

[0086] Specifically, for example, a preset proportion of the acquisition phases arranged in the front and the back of the acquisition phase sequence can be removed, for example, 20% of the acquisition phase data arranged in the front can be removed and 20% of the acquisition phase data arranged in the back can be removed, and then 60% of the acquisition phase data in the middle of the acquisition phase sequence remains.

[0087] For example, if there are 50 acquisition phases for raw data in the acquisition phase sequence, that is, there are 50 acquisition phases, the first 20% of the acquisition phases and the last 20% of the acquisition phases can be removed, that is, the first 10 acquisition phases and the last 10 acquisition phases in the acquisition phase sequence can be removed to obtain the remaining 30 acquisition phases in the middle.

[0088] S303: Taking the average value of the remaining acquisition phases as the acquisition phase.

[0089] Specifically, the sum of the remaining acquisition phases may be calculated first, and then the sum of the remaining acquisition phases may be divided by the number of the remaining acquisition phases to obtain the acquisition phase. Exemplarily, the average value of the above 30 middle acquisition phases is used as the acquisition phase.

[0090] S304: Calculate the average value of the reference phases of the original frame data corresponding to the remaining acquisition phases to obtain the reference phases.

[0091] Optionally, each original frame data corresponds to an acquisition phase and a reference phase, and the average value of the reference phases corresponding to the remaining acquisition phases is used as the reference phase. Exemplarily, the average value of the reference phases corresponding to the above 30 acquisition phases is used as the reference phase.

[0092] In this embodiment, a preset proportion of acquisition phases in the acquisition phase sequence is removed, and the remaining acquisition phases and the reference phases corresponding to the remaining acquisition phases are used to calculate the acquisition phase and the reference phase. This removes timestamps that are significantly deviated from most values, avoids gross pulse errors, further reduces calculation errors, and improves the accuracy of the calculated acquisition phase and reference phase.

[0093] Figure 6 A flowchart of another data processing method for radar-visual fusion provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the matching signal generating unit in the above S102 determines the matching signal and matching parameters corresponding to the sensor according to the reference phase, the acquisition phase, the current timestamp, the negative feedback factor, the period of sensor data generation and the empirical delay, which may include:

[0094] S401: Determine a reference timestamp of the current round according to a current timestamp, a reference phase and a preset value.

[0095] The current timestamp may refer to the timestamp when the matching signal generating unit enters the running state. Each time a round of radar-vision fusion is performed, the target frame data of each sensor needs to be screened from the data cache unit once. Therefore, the reference timestamp of the current round refers to any round of multiple rounds of radar-vision fusion, such as the first round of radar-vision fusion, the second round of radar-vision fusion, the third round of radar-vision fusion, etc.

[0096] S402 : Determine matching parameters of the sensors of the current round according to the reference timestamp, reference phase, acquisition phase, sensor data generation period, and empirical delay of the current round.

[0097] Optionally, a preset method may be used to determine the matching interval, optimal matching interval and timeout period in the matching parameters of the current round sensor according to the current round's reference timestamp, reference phase, acquisition phase, sensor data generation period and empirical delay.

[0098] S403: When the matching interval, the best matching interval and the timeout period in the matching parameters of the sensor are calculated, the matching signal of the current round is generated.

[0099] Optionally, in S401 above, determining the reference timestamp of the current round according to the current timestamp, the reference phase and the preset value may include:

[0100] Optionally, for the reference timestamp of the first round of radar-visual fusion, after the matching signal generating unit determines the reference phase and the acquisition phase, the matching signal generating unit switches from the initialization state to the running state, and determines the reference timestamp of the first round according to the current timestamp, preset value and reference phase when the matching signal generating unit switches to the running state. Specifically, the first round reference timestamp = (current timestamp + preset value + reference phase) - (current timestamp mod preset value), wherein the preset value can be, for example, the period of 100ms for the laser radar to generate data, and the reference timestamp is a sequence with an interval of 100ms, which can ensure that the frequency of the output original frame data is 10HZ.

[0101] Optionally, for the reference timestamps of the radar-visual fusion of other rounds after the first round, the reference timestamps of other rounds except the first round can be determined according to the reference timestamps of the previous rounds of other rounds except the first round and a preset value. Specifically, for other rounds except the first round, the reference timestamp of the previous round of the round can be added with the preset value to obtain the reference timestamp of the round. If the reference timestamp of the first round is 10250, the reference timestamp of the second round is 10350, the reference timestamp of the third round is 10450, the reference timestamp of the fourth round is 10550, and so on.

[0102] In this embodiment, by adding a preset value to the reference timestamp of the previous round, it can be ensured that the output frequency of each round of data is the same.

[0103] Figure 7 A flowchart of another method for processing data of radar-visual fusion provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the above S402 determines the matching parameters of the sensor of the current round according to the reference timestamp, reference phase, acquisition phase, sensor data generation period and empirical delay of the current round, which may include:

[0104] S501 : Determine a matching timestamp of a sensor of the current round according to a reference timestamp of the current round, an acquisition phase, a negative feedback factor of a sensor, and a sensor type.

[0105] Optionally, for the first round of matching timestamps, the negative feedback factor of the sensor is 0, and for the negative feedback factors of other rounds except the first round, they are the negative feedback factors of the effect of the radar-vision fusion of the previous round.

[0106] Optionally, different methods are used to determine the matching timestamp of different types of sensors in the current round. The matching timestamps of different types of sensors can be determined using a preset method based on the reference timestamp of the current round, the acquisition phase, and the negative feedback factor of the sensor.

[0107] S502: Determine the matching interval and the best matching interval of the sensor in the current round according to the matching timestamp of the current round, the fusion period, and the period of sensor data generation.

[0108] The fusion period refers to the period for the laser radar to generate data, for example, it can be 100ms.

[0109] Optionally, for each sensor in the current round, the matching interval = [matching timestamp of the current round - fusion period / 2, matching timestamp of the current round + fusion period / 2]. The best matching interval = matching timestamp of the current round ± (period of sensor generated data × 0.5), where the period of data generated by each sensor may be different.

[0110] For example, for a laser radar, the sensor generally generates data at a period of 100 ms. For a millimeter wave radar, the sensor generally generates data at a period of 50 ms or 100 ms. For a camera, the sensor generally generates data at a period of 40 ms or 33.3 ms.

[0111] S503: Set the timeout period to a preset time value.

[0112] Specifically, in order to prevent a sensor from experiencing a sudden network connection freeze and failing to receive data, causing the sensor to freeze, a preset time value can be set as the timeout time based on actual experience.

[0113] Optionally, in S501, determining the matching timestamp of the sensor of the current round according to the reference timestamp of the current round, the acquisition phase, the negative feedback factor of the sensor, and the sensor type may include:

[0114] Optionally, if the sensor is of the first sensor type, the matching timestamp of the sensor of the current round is determined according to the reference timestamp of the current round, the acquisition phase, and the negative feedback factor of the sensor. The first sensor type refers to a sensor that supports acquisition timestamps. Specifically, the matching timestamp of the current round of the sensor that supports acquisition timestamps = the reference timestamp of the current round + the acquisition phase + the negative feedback factor.

[0115] Optionally, if the sensor is of the second sensor type, the matching timestamp of the sensor of the current round is determined according to the reference timestamp of the current round, the experience delay and the negative feedback factor of the sensor. The second sensor type refers to a sensor that does not support the acquisition timestamp.

[0116] Optionally, for sensors that do not support data collection timestamps, the receiving timestamp is used as the collection timestamp. The obtained collection timestamp is equivalent to ignoring the data processing delay and network delay. The delay value obtained during sensor device calibration is used as the empirical delay to replace the actual delay, that is, to replace the collection phase.

[0117] Specifically, the matching timestamp of the current round of the sensor that does not support collecting timestamps=the reference timestamp of the current round-the experience delay+the negative feedback factor.

[0118] In this embodiment, different algorithms are used to obtain the matching timestamps of different types of sensors in the current round, so that the obtained timestamps of each sensor can be more accurate.

[0119] Optionally, the data matching unit in S103 above filters out the target frame data of the sensor according to the matching signal and the matching parameter, and transmits the target frame data of the sensor to the radar-vision fusion module, which may include:

[0120] Optionally, when the data matching unit receives a matching signal and a matching parameter, it switches from an idle state to a busy state.

[0121] Optionally, if any one of the filtering conditions is met, namely, the sensor is disconnected from the network or the timestamp when the matching signal is received is greater than the sum of the reference timestamp and the timeout period, or there is at least one frame of original frame data in the best matching interval, or the timestamp when the matching signal is received is greater than or equal to the reference timestamp and there is at least one frame of original frame data in the matching interval, the data matching unit filters the original frame data of the sensor in the best matching interval or the matching interval from the data cache unit as the target frame data.

[0122] Specifically, if there is at least one frame of original frame data in the best matching interval, the original frame data closest to the center of the best matching interval is selected as the target frame data. If there is no original frame data in the best matching interval, there is at least one frame of original frame data in the matching interval, and the timestamp when the matching signal is received is greater than or equal to the reference timestamp, the original frame data closest to the center of the matching interval is selected from the matching interval as the target frame data.

[0123] Figure 8 1 is a structural block diagram of an electronic device provided in an embodiment of the present application, and the electronic device may be, for example, the data screening device described in the above embodiment. Figure 8 As shown, the electronic device may include: a processor 601 and a memory 602 .

[0124] Optionally, a bus 603 may also be included, wherein the memory 602 is used to store machine-readable instructions executable by the processor 601. When the electronic device is running, the processor 601 communicates with the memory 602 through the bus 603. When the machine-readable instructions are executed by the processor 601, the method steps in the above method embodiment are performed.

[0125] The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method steps in the embodiment of the data processing method for radar-visual fusion are executed.

[0126] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0127] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program code.

[0128] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application.

Claims

1. A data processing method for radar-visual fusion, characterized in that: Applied to a data screening device, the data screening device comprises: a data cache unit, a matching signal generating unit and a data matching unit, the method comprises: The matching signal generating unit determines the reference phase and the acquisition phase according to the attribute information of the multiple original frame data of the sensor, wherein the attribute information includes: the acquisition timestamp and the receiving timestamp of the original frame data; The matching signal generating unit determines the matching signal and matching parameters corresponding to the sensor according to the reference phase, the acquisition phase, the current timestamp, the negative feedback factor, the period of sensor data generation and the empirical delay, and sends the matching signal and the matching parameters to the data matching unit, wherein the matching parameters include a reference timestamp, a matching interval, an optimal matching interval and a timeout period; The data matching unit filters out the target frame data of the sensor according to the matching signal and the matching parameters, and transmits the target frame data of the sensor to the radar vision fusion module; The step of determining the reference phase and the acquisition phase according to the attribute information of the plurality of original frame data of the sensor comprises: The matching signal generating unit divides the receiving timestamp of each raw frame data by the period of the sensor generating data to obtain a remainder as a reference phase of each raw frame data; The matching signal generating unit uses the difference between the acquisition timestamp of each original frame data and the receiving timestamp as the acquisition phase of each original frame data; The matching signal generating unit obtains the reference phase and the acquisition phase according to the reference phase of each original frame data and the acquisition phase of each original frame data.

2. The data processing method of radar-visual fusion according to claim 1 is characterized in that: The matching signal generating unit obtains the reference phase and the acquisition phase according to the reference phase of each original frame data and the acquisition phase of each original frame data, including: Sorting the acquisition phases of the original frame data to obtain an acquisition phase sequence; Removing a preset proportion of acquisition phases from the acquisition phase sequence to obtain remaining acquisition phases; taking the average value of the remaining acquisition phases as the acquisition phase; The average value of the reference phases of the original frame data corresponding to the remaining acquisition phases is calculated to obtain the reference phases.

3. The data processing method of radar-visual fusion according to claim 1 is characterized in that: The matching signal generating unit determines the matching signal and matching parameters corresponding to the sensor according to the reference phase, the acquisition phase, the current timestamp, the negative feedback factor, the period of sensor data generation and the empirical delay, including: Determine a reference timestamp of the current round according to the current timestamp, the reference phase and a preset value; Determine matching parameters of the sensor in the current round according to the reference timestamp of the current round, the reference phase, the acquisition phase, a period of sensor data generation, and an empirical delay; When the reference timestamp, matching interval, best matching interval and timeout period in the matching parameters of the sensor are all calculated, the matching signal of the current round is generated.

4. The data processing method of radar-visual fusion according to claim 3 is characterized in that: The step of determining the reference timestamp of the current round according to the current timestamp, the reference phase and a preset value includes: After the matching signal generating unit determines the reference phase and the acquisition phase, the initialization state of the matching signal generating unit is switched to the running state, and the reference timestamp of the first round is determined according to the current timestamp, the preset value and the reference phase when the matching signal generating unit is switched to the running state; The reference timestamps of the other rounds except the first round are determined according to the reference timestamp of the previous round and the preset value.

5. The data processing method of radar-visual fusion according to claim 3 is characterized in that: The determining, according to the reference timestamp of the current round, the reference phase, the acquisition phase, the period of sensor data generation and the empirical delay, the matching parameters of the sensor in the current round includes: Determine a matching timestamp of the sensor of the current round according to the reference timestamp of the current round, the acquisition phase, the empirical delay, the negative feedback factor of the sensor, and the sensor type; Determine a matching interval and an optimal matching interval of the sensor in the current round according to the matching timestamp of the current round, the fusion period, and the period of data generation by the sensor; Set the timeout period to a preset time value.

6. The data processing method of radar-visual fusion according to claim 5 is characterized in that: The determining the matching timestamp of the sensor of the current round according to the reference timestamp of the current round, the acquisition phase, the empirical delay, the negative feedback factor of the sensor, and the sensor type includes: If the sensor is of the first sensor type, determining a matching timestamp of the sensor of the current round according to the reference timestamp of the current round, the acquisition phase, and a negative feedback factor of the sensor; If the sensor is of the second sensor type, a matching timestamp of the sensor of the current round is determined according to the reference timestamp of the current round, the empirical delay, and the negative feedback factor of the sensor.

7. The data processing method of radar-visual fusion according to claim 1 is characterized in that: The data matching unit filters out the target frame data of the sensor according to the matching signal and the matching parameter, including: When the data matching unit receives the matching signal and the matching parameter, the data matching unit switches from an idle state to a busy state; If any of the following screening conditions is met, the data matching unit screens the original frame data of the sensor in the best matching interval or the matching interval from the data cache unit as the target frame data; The screening conditions include: the timestamp when the sensor is disconnected from the network or receives a matching signal is greater than the sum of the reference timestamp and the timeout period, or there is at least one frame of original frame data in the best matching interval, or the timestamp when the matching signal is received is greater than or equal to the reference timestamp and there is at least one frame of original frame data in the matching interval.

8. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program executable by the processor, and when the processor executes the computer program, the steps of the data processing method for radar-visual fusion described in any one of claims 1 to 7 are implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data processing method for radar-visual fusion as described in any one of claims 1 to 7 are executed.