Multi-sensor data compensation method and system

By using a multi-sensor data compensation method, the computer system stores and judges the sensor data, and computer vision and interpolation are used to fill in missing values, which solves the problem of discontinuous sensor data in the ROS2 robot system and achieves data stability and cost-effectiveness.

CN123178791APending Publication Date: 2026-11-27ADVANTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510766551.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2025-05-26
Filing Date
2025-06-10
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In the ROS2 robot system, sensor data latency and frame drops cause data discontinuity, affecting the stability of the robot system, and existing solutions increase operating costs.

Method used

The multi-sensor data compensation method utilizes a computer system to store historical sensing data and time, determines whether the current sensing data needs compensation, and uses computer vision and interpolation to fill in missing values, adapting to different types of sensing data.

Benefits of technology

It achieves stable and continuous sensing data, reduces the high cost of replacing sensors, and simplifies the integration difficulty and development cost with other applications of the robot system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178791A_ABST
    Figure CN123178791A_ABST
Patent Text Reader

Abstract

A multi-sensor data compensation method utilizes a computer system to perform the following steps: obtaining current sensing data corresponding to a sensor to be compensated and recording a current receiving time; determining whether the current sensing data needs to be compensated according to the current receiving time, a generating time of the current sensing data, and a latest receiving time; when it is determined that compensation is needed, determining whether the current sensing data belongs to one of a plurality of specific data types; when it is determined that it belongs to one of the specific data types, performing missing value filling using a motion estimation algorithm to obtain compensated sensing data; and when it is determined that it does not belong to the specific data types, performing missing value filling using one of a data compensation model and an interpolation method to obtain the compensated sensing data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a data compensation method and system, and more particularly to a multi-sensor data compensation method and system. Background Technology

[0002] Robot Operating System 2 (ROS2) is an open-source computer operating system architecture designed specifically for robot software development, enabling developers to more easily build complex robot systems. In practical applications of ROS2, latency, dropped frames, or insufficient transmission rates are inevitable when acquiring data from sensors. This causes application-specific algorithms in the robot system, such as Simultaneous Localization and Mapping (SLAM) algorithms, or navigation and obstacle avoidance algorithms, to malfunction due to data discontinuity, leading to overall instability in the robot system's functionality. Current practices often address this by replacing sensors with higher-performance, more expensive ones, significantly increasing the operating costs of the robot system.

[0003] Therefore, overcoming the data discontinuity caused by delays and frame drops when acquiring data from sensors to ensure the normal operation of the robot system and avoid significantly increasing the operating cost of the robot system has become one of the issues that related technical fields want to address. Summary of the Invention

[0004] The purpose of this invention is to provide a multi-sensor data compensation method and system that can overcome at least one drawback of the prior art.

[0005] This invention provides a multi-sensor data compensation method, executed using a computer system. The computer system stores multiple historical sensing data corresponding to the sensor to be compensated and multiple historical reception times corresponding to the historical sensing data, each historical reception time indicating the time point when the corresponding historical sensing data was acquired. The multi-sensor data compensation method includes the following steps: (A) Obtaining current sensing data corresponding to the sensor to be compensated and recording the current reception time, wherein the current sensing data includes a generation time indicating the time point when the current sensing data was generated, and the current reception time indicates the time point when the current sensing data was acquired. (B) Determining whether the current sensing data needs compensation based on the current reception time, the generation time of the current sensing data, and the most recent reception time, wherein the most recent reception time is the historical reception time of the most recently acquired historical sensing data before the current sensing data was acquired. (C) When it is determined that the current sensing data needs compensation, determining whether the current sensing data belongs to one of multiple specific data types. (D) When it is determined that the current sensed data belongs to one of the specific data types, missing values ​​are imputed using a motion estimation algorithm in the field of computer vision based on the historical sensed data and the current sensed data to obtain compensated sensed data. (E) When it is determined that the current sensed data does not belong to the specific data type, missing values ​​are imputed using a data compensation model and an interpolation method based on the historical sensed data and the current sensed data to obtain compensated sensed data.

[0006] In some embodiments, step (B) includes the following sub-steps: (B1) obtaining a current delay time based on the current reception time and the generation time of the current sensing data; (B2) obtaining a current reception frequency based on the current reception time and the most recent reception time; and (B3) determining whether the current delay time is greater than a delay tolerance value or whether the current reception frequency is lower than a desired reception frequency, so as to determine whether the current sensing data needs to be compensated.

[0007] In some embodiments, in step (C), the specific data type is an image data type and a point cloud data type.

[0008] In some embodiments, step (D) includes the following sub-steps: (D1) when it is determined that the current sensing data belongs to the image data type, missing values ​​are filled using optical flow to obtain the compensated sensing data; and (D2) when it is determined that the current sensing data belongs to the point cloud data type, missing values ​​are filled using scene flow estimation to obtain the compensated sensing data.

[0009] In some embodiments, in step (E), the interpolation method includes one of nearest neighbor interpolation, linear interpolation, and cubic spline interpolation.

[0010] The present invention provides a multi-sensor data compensation system, which includes a storage module and a processing module connected to the storage module.

[0011] The storage module stores multiple historical sensing data corresponding to the sensor to be compensated and multiple historical reception times corresponding to the historical sensing data. Each historical reception time indicates the time point when the corresponding historical sensing data was obtained.

[0012] The processing module is used to obtain current sensing data corresponding to the sensor to be compensated, and record the current receiving time. The current sensing data includes a generation time indicating the time point when the current sensing data was generated, and the current receiving time indicates the time point when the current sensing data was obtained. Based on the current receiving time, the generation time of the current sensing data, and the most recent receiving time, it determines whether the current sensing data needs to be compensated. The most recent receiving time is the historical receiving time of the most recent historical sensing data obtained before obtaining the current sensing data. When it is determined that the current sensing data needs to be compensated, it determines whether the current sensing data belongs to one of multiple specific data types. When it is determined that the current sensing data belongs to one of the specific data types, it uses motion estimation algorithms in the field of computer vision to impute missing values ​​based on the historical sensing data and the current sensing data to obtain compensated sensing data. And when it is determined that the current sensing data does not belong to the specific data type, it uses one of a data compensation model and an interpolation method to impute missing values ​​based on the historical sensing data and the current sensing data to obtain compensated sensing data.

[0013] In some embodiments, the processing module obtains the current delay time based on the current reception time and the generation time of the current sensing data; the processing module obtains the current reception frequency based on the current reception time and the most recent reception time; and the processing module determines whether the current delay time is greater than the delay tolerance value or whether the current reception frequency is lower than the expected reception frequency, so as to determine whether the current sensing data needs to be compensated.

[0014] In some embodiments, the specific data type is an image data type and a point cloud data type.

[0015] In some embodiments, when it is determined that the current sensing data belongs to the image data type, the processing module uses optical flow to fill in missing values ​​to obtain the compensated sensing data; and when it is determined that the current sensing data belongs to the point cloud data type, the processing module uses scene flow estimation to fill in missing values ​​to obtain the compensated sensing data.

[0016] In some embodiments, the interpolation method includes one of nearest neighbor interpolation, linear interpolation, and cubic spline interpolation.

[0017] The beneficial effects of this invention are as follows: By first determining whether the current sensed data needs compensation, and then determining whether the current sensed data requiring compensation belongs to one of the specific data types, the most appropriate method can be used to directly and in real-time compensate the data content according to the characteristics of different types of sensed data. This ensures data stability and continuity, enabling programs in the robot system that rely on sensed data to operate smoothly and saving the high costs associated with replacing sensors. Furthermore, compared to establishing separate compensation processes for different sensors, this invention, by implementing compensation for sensed data collected by multiple different sensors in a single process, also helps reduce the difficulty and development costs when integrating the compensation process with other application processes in the robot system. Attached Figure Description

[0018] Other features and effects of the present invention will be clearly presented in the embodiments with reference to the accompanying drawings, wherein:

[0019] Figure 1 This is a block diagram illustrating an embodiment of the multi-sensor data compensation system of the present invention.

[0020] Figure 2 This is a flowchart illustrating, by way of example, how the processing module of the described embodiment executes the multi-sensor data compensation procedure;

[0021] Figure 3 This is a flowchart illustrating, for example, how the processing module determines whether the current sensed data needs to be compensated. Detailed Implementation

[0022] Before the invention is described in detail, it should be noted that similar elements are represented by the same numbers in the following description.

[0023] See Figure 1An embodiment of the multi-sensor data compensation system 1 of the present invention includes a storage module 11 and a processing module 12 connected to the storage module 11. The multi-sensor data compensation system 1 can be implemented as a node in ROS2, and exchange data with multiple nodes corresponding to multiple sensors (not shown) by publishing and subscribing to topics in ROS2. Furthermore, by adopting the ROS2 standard Node / Topic architecture, the multi-sensor data compensation system 1 can be easily integrated with other ROS2 applications (such as SLAM, navigation, obstacle avoidance, etc.) for collaborative operation.

[0024] The storage module 11 can be implemented as, for example, but not limited to, any type of fixed or removable random access memory (RAM), hard disk drive (HDD), solid state drive (SSD), or similar elements or combinations thereof, and stores multiple historical sensing data for each sensor and the historical reception time corresponding to each historical sensing data. Each historical reception time indicates the time point at which the corresponding historical sensing data was obtained.

[0025] The processing module 12 can be implemented as, for example, but not limited to, a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor, or other similar components or combinations thereof. Detailed operation of the processing module 12 will be described below.

[0026] The following will be referred to Figure 2 The following example illustrates how the processing module 12 executes a multi-sensor data compensation procedure. The multi-sensor data compensation procedure includes the following steps S1 to S5.

[0027] In step S1, the processing module 12 obtains the current sensing data corresponding to the sensor to be compensated and records the current reception time. The sensor to be compensated is one of the sensors. The current sensing data includes a generation time indicating the time when the current sensing data was generated. The current reception time indicates the time when the current sensing data was obtained.

[0028] In step S2, the processing module 12 determines whether the current sensing data needs compensation based on the current receiving time, the generation time of the current sensing data, and the most recent receiving time. The most recent receiving time is the historical receiving time of the most recent historical sensing data corresponding to the sensor to be compensated, obtained before the current sensing data was obtained. See below for further details. Figure 3 The process module 12 is described in detail as follows: it determines whether the current sensing data needs to be compensated, and includes sub-steps S21 to S23.

[0029] In sub-step S21, the processing module 12 obtains the current delay time based on the current reception time and the current generation time of the current sensing data. More specifically, the current delay time is, for example, the difference between the generation time and the current reception time.

[0030] In sub-step S22, the processing module 12 obtains the current receiving frequency based on the current receiving time and the most recent receiving time. More specifically, the current receiving frequency is, for example, the difference between the most recent receiving time and the current receiving time.

[0031] It is worth noting that the current delay time reflects whether a delay occurs when the sensor transmits sensing data, while the current receiving frequency reflects whether there are dropped frames when the sensor transmits or collects sensing data. Furthermore, the calculation of the current delay time and the current receiving frequency is not limited in any particular order in practice and can be performed simultaneously.

[0032] In sub-step S23, the processing module 12 determines whether the current delay time is greater than the delay tolerance value or whether the current receiving frequency is lower than the expected receiving frequency. When it is determined that the current delay time is greater than the delay tolerance value or the current receiving frequency is lower than the expected receiving frequency, the current sensing data needs to be compensated, and the process proceeds to step S3; when it is determined that the current delay time is not greater than the delay tolerance value and the current receiving frequency is not lower than the expected receiving frequency, the current sensing data does not need to be compensated, and the process ends. Furthermore, after the process ends, the current sensing data is stored together in the storage module 11 as historical sensing data corresponding to the sensor to be compensated, and the current receiving time is stored together as the corresponding historical receiving time.

[0033] It should be noted that this step refers to whether one of the two conditions mentioned above is met, rather than choosing only one of the two conditions for judgment.

[0034] In step S3, the processing module 12 determines whether the current sensed data belongs to one of a plurality of specific data types. When it is determined that the current sensed data belongs to one of the specific data types, the process proceeds to step S4; when it is determined that the current sensed data does not belong to the specific data type, the process proceeds to step S5.

[0035] In this embodiment, the specific data types are image data types and point cloud data types.

[0036] In step S4, the processing module 12 uses a motion estimation algorithm from the field of computer vision to fill in missing values ​​based on the historical sensing data and the current sensing data corresponding to the sensor to be compensated, so as to obtain the compensated sensing data.

[0037] More specifically, in this embodiment, when the current sensed data is determined to belong to the image data type, the processing module 12 uses optical flow to predict and fill in missing image information by analyzing motion vectors between adjacent image frames to obtain the compensated sensed data; when the current sensed data is determined to belong to the point cloud data type, the processing module 12 uses scene flow estimation to estimate the three-dimensional motion of each point in the continuous point cloud and fill in missing or delayed point cloud frames to obtain the compensated sensed data. For example, the optical flow method can be implemented using the optical flow estimation function calcOpticalFlowPyrLK provided by OpenCV, while the scene flow estimation method can be implemented using relevant modules in the Point Cloud Library (PCL).

[0038] In step S5, the processing module 12 fills in missing values ​​using one of a data compensation model, a data replication method, and an interpolation method based on the historical sensing data and the current sensing data corresponding to the sensor to be compensated, to obtain the compensated sensing data. For example, the processing module 12 may determine one of the data compensation model, the data replication method, and the interpolation method to fill in missing values ​​based on user operation.

[0039] In this embodiment, the interpolation method includes one of nearest neighbor interpolation, linear interpolation, and cubic spline interpolation. The data replication method and the nearest neighbor interpolation method can be implemented using Python's NumPy library, while the linear interpolation method and the cubic spline interpolation method can be implemented using the `interpolate` function in the SciPy library. The data compensation model can be built based on a publicly available sensor data database and using machine learning algorithms. The sensor data database needs to contain multiple original sensor readings, a timestamp corresponding to each original sensor reading, and the ideal compensation result (ground truth) corresponding to each original sensor reading. The sensor data database can, for example, use an existing TUM RGB-D database or a KITTIOdometry database. When training the data compensation model, for example, N original sensor data points within a certain interval and their corresponding timestamps can be used as features, and the ideal compensation results corresponding to the N original sensor data points can be used as labels, so as to train the data compensation model that can obtain the compensated sensing data based on the historical sensing data within the certain interval.

[0040] In summary, by first determining whether the current sensed data needs compensation, and then determining whether the current sensed data requiring compensation belongs to one of the specific data types, the most appropriate method can be used to directly and in real-time compensate the data content based on the characteristics of different types of sensed data. This ensures data stability and continuity, enabling programs in the robot system that rely on sensed data to operate smoothly and saving the high costs associated with replacing sensors. Furthermore, compared to establishing separate compensation processes for different sensors, this invention compensates for sensed data collected by multiple different sensors in a single process, which also helps reduce the difficulty and development costs when integrating the compensation process with other application processes in the robot system. Therefore, the objectives of this invention are indeed achieved.

[0041] The above description is merely an embodiment of the present invention and should not be construed as limiting the scope of the present invention. Any simple equivalent changes and modifications made in accordance with the claims and description of the present invention shall still fall within the scope of the present invention.

Claims

1. A multi-sensor data compensation method, executed using a computer system, wherein the computer system stores multiple historical sensing data corresponding to the sensors to be compensated and multiple historical reception times corresponding to the historical sensing data, each historical reception time indicating the time point at which the corresponding historical sensing data was obtained, characterized in that, The multi-sensor data compensation method includes the following steps: (A) Obtain current sensing data corresponding to the sensor to be compensated, and record the current receiving time, wherein the current sensing data includes a generation time indicating the time point when the current sensing data was generated, and the current receiving time indicates the time point when the current sensing data was obtained; (B) Based on the current receiving time, the generation time of the current sensing data and the most recent receiving time, determine whether the current sensing data needs to be compensated. The most recent receiving time is the historical receiving time of the most recent historical sensing data obtained before the current sensing data was obtained. (C) When it is determined that the current sensing data needs to be compensated, it is determined whether the current sensing data belongs to one of a number of specific data types; (D) When it is determined that the current sensed data belongs to one of the specific data types, missing values ​​are imputed using motion estimation algorithms in the field of computer vision based on the historical sensed data and the current sensed data to obtain compensated sensed data; and (E) When it is determined that the current sensing data does not belong to the specific data type, the missing values ​​are filled using either a data compensation model or an interpolation method based on the historical sensing data and the current sensing data to obtain the compensated sensing data.

2. The multi-sensor data compensation method according to claim 1, characterized in that, Step (B) includes the following sub-steps: (B1) Obtain the current delay time based on the current reception time and the current generation time of the current sensing data; (B2) Obtain the current receiving frequency based on the current receiving time and the most recent receiving time; and (B3) Determine whether the current delay time is greater than the delay tolerance value or whether the current receiving frequency is lower than the expected receiving frequency, so as to determine whether the current sensing data needs to be compensated.

3. The multi-sensor data compensation method according to claim 1, characterized in that: In step (C), the specific data type is an image data type and a point cloud data type.

4. The multi-sensor data compensation method according to claim 3, characterized in that, Step (D) includes the following sub-steps: (D1) When it is determined that the current sensed data belongs to the image data type, optical flow is used to fill in missing values ​​to obtain the compensated sensed data; and (D2) When it is determined that the current sensing data belongs to the point cloud data type, the missing value is filled in using the scene flow estimation method to obtain the compensated sensing data.

5. The multi-sensor data compensation method according to claim 1, characterized in that: In step (E), the interpolation method includes one of nearest neighbor interpolation, linear interpolation, and cubic spline interpolation.

6. A multi-sensor data compensation system, characterized in that, Include: The storage module stores multiple historical sensing data corresponding to the sensor to be compensated and multiple historical reception times corresponding to the historical sensing data, with each historical reception time indicating the time point at which the corresponding historical sensing data was obtained. and The processing module, connected to the storage module, is used for... Obtain the current sensing data corresponding to the sensor to be compensated, and record the current receiving time. The current sensing data includes a generation time indicating the time when the current sensing data was generated, and the current receiving time indicates the time when the current sensing data was obtained. Based on the current reception time, the generation time of the current sensing data, and the most recent reception time, it is determined whether the current sensing data needs compensation. The most recent reception time is the historical reception time of the most recent historical sensing data obtained before the current sensing data was obtained. When it is determined that the current sensed data needs compensation, it is then determined whether the current sensed data belongs to one of several specific data types. When it is determined that the current sensed data belongs to one of the specific data types, missing values ​​are imputed using motion estimation algorithms in the field of computer vision, based on the historical sensed data and the current sensed data, to obtain compensated sensed data. When it is determined that the current sensing data does not belong to the specific data type, the missing values ​​are filled using either a data compensation model or an interpolation method based on the historical sensing data and the current sensing data to obtain the compensated sensing data.

7. The multi-sensor data compensation system according to claim 6, characterized in that: The processing module obtains the current delay time based on the current reception time and the current generation time of the current sensing data; The processing module obtains the current receiving frequency based on the current receiving time and the most recent receiving time; and The processing module determines whether the current delay time is greater than the delay tolerance value or whether the current receiving frequency is lower than the expected receiving frequency, so as to determine whether the current sensing data needs to be compensated.

8. The multi-sensor data compensation system according to claim 6, characterized in that: The specific data types mentioned are image data types and point cloud data types.

9. The multi-sensor data compensation system according to claim 8, characterized in that: When it is determined that the current sensing data belongs to the image data type, the processing module uses optical flow to fill in the missing values ​​to obtain the compensated sensing data. and When it is determined that the current sensing data belongs to the point cloud data type, the processing module uses the scene flow estimation method to fill in the missing values ​​to obtain the compensated sensing data.

10. The multi-sensor data compensation system according to claim 6, characterized in that: The interpolation method includes one of the nearest neighbor interpolation method, linear interpolation method, and cubic spline interpolation method.