METHOD AND DEVICE FOR DETERMINING THE LATENCY BETWEEN IMU DATA AND SENSOR DATA OF A VEHICLE ENVIRONMENT
Patent Information
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- ROBERT BOSCH GMBH
- Filing Date
- 2023-09-27
- Publication Date
- 2026-05-13
AI Technical Summary
Existing advanced driver-assistance systems (ADAS) face challenges in system-level performance evaluation due to the lack of a common time base between reference and test systems, leading to errors and decreased modularity, necessitating a reliable perception evaluation framework.
Determine latency between time reference frames using velocity data from the system under test and reference system by minimizing velocity differences through linear regression, incorporating IMU measurements and potentially using GNSS for sensor drift compensation.
Enables reliable perception evaluation by aligning data timestamps, reducing errors, and enhancing the modularity of subsystems in ADAS performance assessment.
Description
[0001] The present invention relates to a method and a device for determining a latency between a first time reference frame of a system under test in a host vehicle, and a second time reference frame of a reference system in the host vehicle.Prior Art
[0002] Advanced driver-assistance systems (ADAS) provide functions which help drivers in driving and parking maneuvers. US 11,187,793 B1 relates to the calibration of sensor streams. CN 112129317 A relates to determining an information acquisition time difference. Mair et al., "Spatio-temporal initialization for IMU to camera registration", Robio 2011, pages 557-564 relates to inertia-visual sensors.
[0003] Perception is the subsystem in ADAS responsible for processing and condensing sensor data into a low-dimensional representation of the environment around the host vehicle. The tracked traffic participants can be selected as targets for a certain function such as automatic emergency braking or adaptive cruise control.
[0004] The system-level performance can be measured on the function-level. However, top-level performance reflects the superposition of the deficiencies of all lower-level system components, which makes the identification of root causes a lengthy process and decreases the modularity of subsystems. To remedy this problem, some form of perception-evaluation framework may be implemented.
[0005] Measuring tracking accuracy also requires some form of reference data, which can be provided by double automotive dynamic motion analyzer (ADMA) or differential GPS (dGPS) setups. A further approach relates to advanced reference systems such as lidar auto-labeler pipelines.
[0006] DE 10 2021 212 632 A1 relates to the testing of environment sensors and environment perception of vehicles, in particular for the purposes of driving assistance systems.Disclosure of the Invention
[0007] The invention provides a method and a device for determining a latency between a first time reference frame of a system under test in a host vehicle, and a second time reference frame of a reference system in the host vehicle.
[0008] Preferred embodiments are set out in the dependent claims.
[0009] According to a first aspect, the invention provides a method according to claim 1.
[0010] According to a second aspect, the invention provides a device according to claim 8.Advantages of the invention
[0011] In order to have a proper evaluation it is crucial to ensure that the states of reference data objects obtained by the reference system and the objects obtained by the system under test are compared at the same timestamps. In certain cases, no common time base exists between the reference system and the system under test, which introduces an additional error to the evaluation. This can be interpreted as a latency, which will offset the reference data states from the measured states.
[0012] The invention allows determining the latency und can therefore contribute to a more reliable perception evaluation. According to the invention, the latency is determined based on a first velocity obtained by the system under test and a second velocity obtained by the reference system. By comparing or matching these velocities, the latency can be determined.
[0013] According to the method, computing the latency between the first time reference frame and the second time reference frame comprises minimizing a difference between the first velocity in the first time reference frame and the second velocity in the second time reference frame shifted by the latency. If the correct latency is used, the difference becomes minimal because the velocity data from both systems basically coincides.
[0014] In an embodiment of the method, the difference between the first velocity and the second velocity is minimized using linear regression. This is a computationally efficient way to determine the latency.
[0015] According to the method, a time-dependent acceleration of the host vehicle in the second time reference frame is determined, using the reference system. The latency between the first time reference frame and the second time reference frame is further computed using the acceleration of the host vehicle. The acceleration can be used in the linear regression method.
[0016] In an embodiment of the method, the first velocity is determined using a first sampling rate. The second velocity is determined using a second sampling rate. The second velocity is resampled to the first sampling rate. By resampling, the first and second velocities can be compared.
[0017] In an embodiment of the method, the IMU measures a velocity, an acceleration and a position of the host vehicle. In an embodiment, a Kalman filter is used for measuring a velocity, an acceleration and a position of the host vehicle.
[0018] In an embodiment of the method, the IMU comprises three orthogonally positioned gyroscopes for measuring rotational motion and / or three accelerometers for measuring linear movements of the host vehicle.
[0019] In an embodiment of the method, a sensor drift of the reference system is compensated for by using a global navigation satellite system, GNSS. Based on the GNSS, the absolute position of the host vehicle can be determined.
[0020] In an embodiment of the method, the system under test comprises at least one of a radar sensor, LiDAR sensor, infrared sensor and camera sensor. Each of the sensors can acquire sensor data of the surrounding of the host vehicle.
[0021] In an embodiment of the method, first data obtained by the system under test and second data obtained by the reference system are brought into a common time reference frame, using the latency. The latency can therefore be used to match data obtained by the system under test and the reference system.
[0022] Further advantages, features and details of the invention will be apparent from the following description, in which various embodiments are described in detail with reference to the drawings.Short description of the drawings
[0023] Figure 1shows a schematic block diagram of a device for determining a latency; Figure 2shows a schematic illustration of a time-dependent first velocity of a host vehicle and a time-dependent second velocity of the host vehicle; and Figure 3shows a schematic flow chart of a method for determining a latency.
[0024] The numbering of process steps is for clarity and is generally not intended to imply any particular chronological order. In particular, several process steps can also be carried out simultaneously.Description of the embodiments
[0025] Figure 1 shows a schematic block diagram of a device 1 for determining a latency between a first time reference frame (i.e. temporal reference frame) of a system under test 4 in a host vehicle, and a second time reference frame of a reference system 5 in the host vehicle.
[0026] The system under test 4 comprises at least one sensor for acquiring sensor data of a surrounding of the host vehicle. The system under test 4 may comprise at least one of a radar sensor, LiDAR sensor, infrared sensor and camera sensor.
[0027] The reference system 5 comprises an inertial measurement unit, IMU. The IMU measures a velocity, an acceleration and a position of the host vehicle, e.g. using a Kalman filter. The IMU may comprise three orthogonally positioned gyroscopes for measuring rotational motion. The IMU may further comprise three accelerometers for measuring linear movements of the host vehicle.
[0028] The reference system 5 can comprise an automotive dynamic motion analyzer (ADMA).
[0029] The device 1 comprises an interface 2 configured to receive a time-dependent first velocity of the host vehicle in the first time reference frame, determined by the system under test 4. The interface 2 is further configured to receive a time-dependent second velocity of the host vehicle in the second time reference frame, determined by the reference system 5. The interface 2 may comprise any wired or wireless connection for receiving data, e.g. via a CAN bus.
[0030] The device 1 further comprises a computing unit 3. The computing unit 3 may comprise at least one of a microprocessor, integrated circuit, graphics processing unit, and the like. The computing unit 3 may further comprise at least one memory device for storing data and computing instructions.
[0031] The first velocity is determined using a first sampling rate. The second velocity is determined using a second sampling rate. The computing unit 3 may first resample the second velocity to the first sampling rate.
[0032] The computing unit 3 can further compute the latency between the first time reference frame and the second time reference frame, using the first velocity and the second velocity.
[0033] The computing unit 3 may compute the latency (i.e., relative temporal shift) between the first time reference frame and the second time reference frame by minimizing a difference between the first velocity v HF (t) TEST of the host vehicle (HV) in the first time reference frame (obtained by the system under test 4) and the second velocity v HF (t) ADMA in the second time reference frame shifted by the latency δ.
[0034] In other words, the latency δ is sought to minimize the following expression (where the double brackets denote the L2 norm): v HV t TEST − v HV t + δ ADMA
[0035] One can expand v HF (t+δ) ADMA into a first-order Taylor-series around t: v _ HV t + δ ADMA ≈ v HV t ADMA + dv HV t ADMA dt ⋅ δ
[0036] This equation has a simple physical meaning, that is the latency is causing a difference between the velocities, and this discrepancy is proportional to the acceleration. a HV t ADMA = dv HV t ADMA dt
[0037] The difference between the first velocity and the second velocity can be minimized using linear regression. The signals can be treated as temporal vectors to formulate the minimization problem as a linear regression task. The computing unit 3 may assume that there is no systematic error in the velocities, thus the first coefficient α in the following calculations may not be used as a free parameter because it is assumed to be close to unity: v HV ADMA , 1 a HV ADMA , 1 ⋯ ⋯ v HV ADMA , N a HV ADMA , N ⋅ α δ = v HV TEST , 1 ⋯ ⋯ v HV TEST , N
[0038] Herein, a HV_ADMA may relate a time-dependent acceleration of the host vehicle in the second time reference frame, i.e. determined by the reference system 5. The latency between the first time reference frame and the second time reference frame can be computed using the acceleration of the host vehicle.
[0039] The computing unit 3 may complete the linear regression task by computing the pseudoinverse via singular value decomposition and by multiplying both sides of the equation with the pseudoinverse. The goodness of the fit can be calculated, such as the R2 coefficient of the determination.
[0040] Whereas in figure 1, the system under test 4 and the reference system 5 are shown as external units, the device 1 may also comprise the system under test 4 and the reference system 5 in other embodiments.
[0041] The computing unit 3 may further be configured to compensate for a sensor drift of the reference system by using data from a global navigation satellite system, GNSS, e.g. obtained via interface 2.
[0042] The computing unit 3 may further bring first data obtained by the system under test 4 and second data obtained by the reference system 5 into a common time reference frame, using the latency. For example, the timestamps of the second data might be shifted by the latency.
[0043] The computing unit 3 may filter out all cycles in which the quality of the second velocity is not acceptable, for example indicated by a designated signal. Furthermore, the latency may be computed for scenarios with non-constant velocities, only.
[0044] Figure 2 shows a schematic illustration of a time-dependent first velocity v HV (t) TEST of a host vehicle and a time-dependent second velocity v HV (t) ADMA of the host vehicle as a function of time t. As one can observe, there is an apparent shift between the two signals v HF (t) ADMA and (v HF (t) TEST even though they were recorded in the host vehicle, which corresponds to the latency (or relative temporal shift).
[0045] Figure 3 shows a schematic flow chart of a method for determining a latency between a first time reference frame of a system under test 4 in a host vehicle, and a second time reference frame of a reference system 5 in the host vehicle.
[0046] The system under test 4 comprises at least one sensor for acquiring sensor data of a surrounding of the host vehicle. The reference system 5 comprises an inertial measurement unit, IMU.
[0047] In step S1, a time-dependent first velocity of the host vehicle in the first time reference frame is determined, using the system under test 4.
[0048] In step S2, a time-dependent second velocity of the host vehicle in the second time reference frame is determined, using the reference system 5.
[0049] In step S3, the latency between the first time reference frame and the second time reference frame is computed, using the first velocity and the second velocity. The latency between the first time reference frame and the second time reference frame can be computed by minimizing a difference between the first velocity in the first time reference frame and the second velocity in the second time reference frame shifted by the latency.
[0050] In step S4, first data obtained by the system under test 4 and second data obtained by the reference system 5 can be brought into a common time reference frame, using the latency.
Claims
1. A method for determining a latency between a first time reference frame of a system under test (4) in a host vehicle, and a second time reference frame of a reference system (5) in the host vehicle, wherein the system under test (4) comprises at least one sensor for acquiring sensor data of a surrounding of the host vehicle, and wherein the reference system (5) comprises an inertial measurement unit, IMU, wherein the method comprises the steps: determining (S1) a time-dependent first velocity of the host vehicle in the first time reference frame, using the system under test (4); determining (S2) a time-dependent second velocity of the host vehicle in the second time reference frame, using the reference system (5); determining a time-dependent acceleration of the host vehicle in the second time reference frame, using the reference system (5); and computing (S3) the latency between the first time reference frame and the second time reference frame, using the first velocity, the second velocity and the acceleration of the host vehicle, which comprises minimizing a difference between the first velocity in the first time reference frame and the second velocity in the second time reference frame shifted by the latency.
2. The method according to claim 1, wherein the difference between the first velocity and the second velocity is minimized using linear regression.
3. The method according to claim 1 or 2, wherein the first velocity is determined using a first sampling rate; wherein the second velocity is determined using a second sampling rate; and wherein the second velocity is resampled to the first sampling rate.
4. The method according to any of the preceding claims, wherein the IMU comprises three orthogonally positioned gyroscopes for measuring rotational motion and / or three accelerometers for measuring linear movements of the host vehicle.
5. The method according to any of the preceding claims, wherein a sensor drift of the reference system (5) is compensated for by using data from a global navigation satellite system, GNSS.
6. The method according to any of the preceding claims, wherein the system under test (4) comprises at least one of a radar sensor, LiDAR sensor, infrared sensor and camera sensor.
7. The method according to any of the preceding claims, further comprising the step of bringing (S4) first data obtained by the system under test (4) and second data obtained by the reference system (5) into a common time reference frame, using the latency.
8. A device (1) for determining a latency between a first time reference frame of a system under test (4) in a host vehicle, and a second time reference frame of a reference system (5) in the host vehicle, wherein the system under test (4) comprises at least one sensor for acquiring sensor data of a surrounding of the host vehicle, and wherein the reference system (5) comprises an inertial measurement unit, IMU, wherein the device comprises: an interface (2) configured to receive a time-dependent first velocity of the host vehicle in the first time reference frame, determined by the system under test (4), configured to receive a time-dependent second velocity of the host vehicle in the second time reference frame, determined by the reference system (5), and configured to receive a time-dependent acceleration of the host vehicle in the second time reference frame, determined by the reference system (5); and a computing unit (3) configured to compute the latency between the first time reference frame and the second time reference frame, using the first velocity, the second velocity and the acceleration of the host vehicle, which comprises minimizing a difference between the first velocity in the first time reference frame and the second velocity in the second time reference frame shifted by the latency.