Light source synchronization method

By calculating the target delay time to align the lighting time of the flashing stripes with the exposure start time of the image sensor, the inaccuracy caused by the light source synchronization problem in delay time testing is solved, and high-precision delay measurement is achieved.

WO2025118935A9PCT designated stage Publication Date: 2026-05-15YONGJIANG LAB
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
YONGJIANG LAB
Filing Date
2024-11-13
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

In existing technologies, the latency test of XR devices is affected by the coupling and interference of factors such as the exposure timing of the camera module, the display frame rate of the display module, and the duty cycle, resulting in inaccurate test results.

Method used

By calculating the unit cycle and unit exposure time of the image sensor and the first delay time from the industrial control computer to the display device, the target delay time is obtained. The lighting time of the flashing stripes is controlled to be aligned with the exposure start time of the image sensor to achieve light source synchronization. The delay measurement is then performed in conjunction with the parameters of the device under test.

Benefits of technology

It significantly improves the accuracy and precision of delay measurement, reduces the impact on test results, and can accurately reflect the delay time changes of the device under test.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024131806_15052026_PF_FP_ABST
    Figure CN2024131806_15052026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the field of delay measurement, and discloses a light source synchronization method. The light source synchronization method comprises: acquiring a unit period corresponding to an image sensor during image acquisition, a unit exposure time of the image sensor, and a first delay time from an industrial personal computer to a display device, wherein the industrial personal computer is used for sending a control signal to the display device, so that the display device displays a flicker stripe in response to the control signal, and the image sensor is used for capturing the flicker stripe displayed on the display device; computing a target delay time on the basis of the unit period, the unit exposure time, and the first delay time; and before the (first target number)-th exposure of the image sensor, sending a control signal to the display device in advance by the target delay time.
Need to check novelty before this filing date? Find Prior Art

Description

Light source synchronization method

[0001] Cross-reference to related applications

[0002] This application is based on and claims priority to Chinese Patent Application No. 202311651480.3, filed on December 4, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of time delay measurement, and more specifically, to a method for synchronizing light sources. Background Technology

[0004] Extended Reality (XR) devices can construct virtual environments and allow users to interact with real-world scenes. XR devices are integrated terminal devices, and their latency is constrained by their hardware, algorithms, and usage scenarios. Currently, there is a lack of effective methods to avoid the coupling and interference of factors such as camera module exposure timing, display module frame rate, and duty cycle on latency testing, thus affecting the test results.

[0005] Summary of the Invention

[0006] This application aims to address at least one of the technical problems existing in the prior art. To this end, this application proposes a light source synchronization method that ensures the lighting time of the flickering stripes is aligned with the exposure start time of the image sensor, thereby achieving light source synchronization with high control precision and accuracy.

[0007] In a first aspect, this application provides a light source synchronization method, the method comprising:

[0008] The system acquires the unit period corresponding to the image sensor during image acquisition, the unit exposure time of the image sensor, and the first delay time from the industrial control computer to the display device; the industrial control computer sends a control signal to the display device to cause the display device to display flickering stripes in response to the control signal; the image sensor acquires the flickering stripes displayed by the display device.

[0009] The target delay time is calculated based on the unit period, the unit exposure duration, and the first delay time.

[0010] Before the first target exposure of the image sensor, the control signal is sent to the display device in advance of the target delay time.

[0011] According to the light source synchronization method of this application, the target delay time is calculated by the unit cycle and unit exposure time of the image sensor of the device under test and the first delay time from the industrial control computer to the display device. The flashing stripes are controlled to light up based on the target delay time, thereby ensuring that the lighting time of the flashing stripes is aligned with the exposure start time of the image sensor, realizing the synchronization of the light source, and the control precision and accuracy are high.

[0012] According to one embodiment of this application, calculating the target delay time based on the unit period, the unit exposure duration, and the first delay time includes:

[0013] The non-exposure duration is obtained based on the difference between the unit period and the unit exposure duration;

[0014] Based on the first delay time and the unit period, the remaining delay time corresponding to the first delay time is determined when the image sensor is exposed to the second target.

[0015] The target delay time is calculated based on the remaining delay time, the non-exposure duration, the unit period, the unit exposure duration, and the first delay time.

[0016] According to one embodiment of this application, calculating the target delay time based on the remaining delay time, the non-exposure duration, the unit period, the unit exposure duration, and the first delay time includes:

[0017] If the remaining delay time is less than the non-exposure duration, the difference between the unit period and the remaining delay time and the unit exposure duration is determined as the target delay time.

[0018] If the remaining delay time is not less than the non-exposure duration, the sum of the difference and the unit period is determined as the target delay time.

[0019] According to one embodiment of this application, calculating the target delay time based on the unit period, the unit exposure duration, and the first delay time includes:

[0020] When the illumination period of the flashing stripe is an integer multiple of the unit period, and the first delay time is an integer multiple of the unit period, the difference between the unit period and the unit exposure time is determined as the target delay time.

[0021] Secondly, this application provides a time delay measurement method applied to a measurement system for measuring a device under test, the measurement system including a display device and a detection device, the display device being electrically connected to the detection device; the method includes:

[0022] Before the first target exposure of the image sensor of the device under test, a control signal is sent to the display device in advance by a target delay time. The control signal is used to control the display device to display flickering stripes. The target delay time is calculated based on the unit cycle corresponding to the image sensor during image acquisition, the unit exposure time of the image sensor, and the first delay time from the industrial control computer to the display device.

[0023] When the display device displays the flickering stripes, the display device sends first light intensity information generated based on the flickering stripes to the detection device; the image sensor acquires second light intensity information from the flickering stripes and sends the second light intensity information to the detection device.

[0024] The detection device calculates the device delay time of the device under test based on the time of receiving the first light intensity information and the time of receiving the second light intensity information.

[0025] According to the delay measurement method of this application, the target delay time is calculated so that the lighting time of the flashing stripe is aligned with the exposure start time of the image sensor to achieve light source synchronization. Based on this, the delay measurement is performed based on the time difference between the first light intensity information received from the display device and the second light intensity information received from the device under test. This method can reduce the influence on the test results by combining the parameters of the device under test itself, and significantly improve the measurement accuracy and precision.

[0026] According to one embodiment of this application, the display device sends first light intensity information generated based on the flickering stripes to the detection device; the image sensor acquires second light intensity information from the flickering stripes and sends the second light intensity information to the detection device, including:

[0027] The optical path signal corresponding to the first light intensity information and the optical path signal corresponding to the second light intensity information are combined into one signal to obtain the target optical path signal;

[0028] The target optical path signal is sent to the detection device.

[0029] According to one embodiment of this application, the device delay time includes at least one of a light-on delay time and a dark-off delay time; the detection device calculates the device delay time of the device under test based on the time of the received first light intensity information and the time of the received second light intensity information, including:

[0030] Extract the first time corresponding to the first rising edge, the second time corresponding to the second rising edge, the third time corresponding to the first falling edge, and the fourth time corresponding to the second falling edge from the target optical path signal;

[0031] The lighting delay time is obtained based on the difference between the second time and the first time;

[0032] The dark delay time is obtained based on the difference between the fourth time and the third time.

[0033] According to one embodiment of this application, when the first target is multiple times, the detection device calculates the device delay time of the device under test based on the time of receiving the first light intensity information and the time of receiving the second light intensity information, including:

[0034] Based on the time of receiving the first light intensity information and the time of receiving the second light intensity information under each first target, the corresponding second delay time under each first target is obtained;

[0035] The device delay time is obtained by averaging the multiple second delay times.

[0036] Thirdly, this application provides a measurement system, including:

[0037] The display device is used to display flashing stripes and generate first light intensity information in response to a control signal sent by the industrial control computer in advance of a target delay time; the target delay time is calculated based on the unit cycle corresponding to the image sensor during image acquisition, the unit exposure time of the image sensor, and the first delay time from the industrial control computer to the display device;

[0038] The detection device is electrically connected to the display device and the device under test respectively. The detection device is used to calculate the device delay time of the device under test based on the time of the first light intensity information received and the time of the second light intensity information received. The second light intensity information is generated by the device under test collecting the flickering stripes displayed by the display device.

[0039] Fourthly, this application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the light source synchronization method as described in the first aspect or the delay measurement method as described in the second aspect.

[0040] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the light source synchronization method as described in the first aspect or the delay measurement method as described in the second aspect.

[0041] The above-described one or more technical solutions in the embodiments of this application have at least one of the following technical effects:

[0042] The target delay time is calculated by taking the unit cycle and unit exposure time of the image sensor of the device under test and the first delay time from the industrial control computer to the display device. The flashing stripe is then controlled to light up based on the target delay time, thereby ensuring that the lighting time of the flashing stripe is aligned with the exposure start time of the image sensor. This achieves synchronization of the light source and has high control precision and accuracy.

[0043] Furthermore, by setting the flashing stripe period and the delay from the industrial computer to the control screen, the lighting period of the flashing stripe is made to be an integer multiple of the unit period, and the first delay time is also an integer multiple of the unit period. Therefore, it is not necessary to adjust the target delay time according to the delay of the industrial computer. While ensuring the control accuracy and achieving light source synchronization, it also makes the calculation simpler and more convenient.

[0044] Furthermore, by calculating the target delay time to align the lighting time of the flashing stripes with the exposure start time of the image sensor to achieve light source synchronization, and based on this, delay measurement is performed based on the time difference between the first light intensity information received from the display device and the second light intensity information received from the device under test. This can reduce the impact on the test results by combining the parameters of the device under test itself, and significantly improve the measurement accuracy and precision.

[0045] Furthermore, by setting up a display device for displaying flickering stripes, and a device under test (DUT) and a detection device for acquiring the flickering stripes, the flickering stripes can be acquired over a long period of time, and the average value can be calculated to improve reliability. The target delay time is calculated from the parameters of the DUT, and the flickering stripes are controlled to light up based on the target delay time, ensuring that the lighting time of the flickering stripes is aligned with the exposure start time of the image sensor. On this basis, the delay time of the DUT is measured based on the time difference between the rising and falling edges of the acquired signal. This method has high measurement accuracy and precision, and is simple to operate and easy to implement with low design cost.

[0046] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0047] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:

[0048] Figure 1 is a flowchart illustrating the light source and method provided in an embodiment of this application;

[0049] Figure 2 is a schematic diagram of the structure of the measurement system provided in an embodiment of this application;

[0050] Figure 3 is one of the schematic diagrams of the principle of the light source and method provided in the embodiments of this application;

[0051] Figure 4 is a second schematic diagram of the principle of the light source and method provided in the embodiments of this application;

[0052] Figure 5 is the third schematic diagram of the principle of the light source and method provided in the embodiments of this application;

[0053] Figure 6 is the fourth schematic diagram of the principle of the light source and method provided in the embodiments of this application;

[0054] Figure 7 is a flowchart illustrating the delay measurement method provided in an embodiment of this application;

[0055] Figure 8 is one of the schematic diagrams of the delay measurement method provided in the embodiments of this application;

[0056] Figure 9 is a second schematic diagram of the delay measurement method provided in the embodiments of this application;

[0057] Figure 10 is a second schematic diagram of the measurement system provided in an embodiment of this application;

[0058] Figure 11 is a schematic diagram of the light source synchronization device provided in an embodiment of this application;

[0059] Figure 12 is a schematic diagram of the delay measurement device provided in an embodiment of this application;

[0060] Figure 13 is a schematic diagram of the structure of the electronic device provided in an embodiment of this application. Detailed Implementation

[0061] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0062] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0063] The light source synchronization method, delay measurement method, measurement system, and readable storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0064] Among them, the light source synchronization method and the delay measurement method can be applied to the terminal, and can be executed by the hardware or software in the terminal.

[0065] The light source synchronization method and delay measurement method provided in this application embodiment can be executed by an electronic device or a functional module or entity in an electronic device that can implement the light source synchronization method and delay measurement method. The electronic devices mentioned in this application embodiment include, but are not limited to, mobile phones, tablets, computers, cameras and wearable devices. The light source synchronization method and delay measurement method provided in this application embodiment are described below using an electronic device as the execution subject as an example.

[0066] As shown in Figure 1, the light source synchronization method includes steps 110, 120 and 130.

[0067] This light source synchronization method can be applied to time-delay measurements of the device under test.

[0068] The device under test can be a terminal integrated device.

[0069] As shown in Figure 2, in some embodiments, the device under test can be an XR device under test, which includes an image sensor and a display optical engine. The image acquired by the image sensor will be displayed on the display optical engine.

[0070] Step 110: Obtain the unit cycle, unit exposure time of the image sensor, and first delay time from the industrial control computer to the display device during image acquisition; the industrial control computer is used to send control signals to the display device so that the display device displays flashing stripes in response to the control signals; the image sensor is used to acquire the flashing stripes displayed by the display device.

[0071] In this step, the industrial control computer is used for program control and data processing, and is electrically connected to the display device to send control signals to the display device so that the display device displays flashing stripes in response to the control signals.

[0072] The flashing stripes light up / darken based on a certain period.

[0073] Referring again to Figure 2, in some embodiments, the flashing stripe may be located at the center of the control screen of the display device, the width of the flashing stripe may be the width of the control screen, and the height of the flashing stripe may be a single-digit number of pixels.

[0074] In the actual synchronization process, the device under test can be placed in front of the control screen of the display device, with its center aligned with the center of the control screen. The device under test is fixed by the bracket installed on the platform. After the VST perspective mode is turned on, the image sensor inside the device under test will collect the content of the control screen of the display device.

[0075] The unit period is the duration of each frame of an image acquired by the image sensor, i.e., the refresh period, hereinafter referred to as T.

[0076] The unit exposure time of an image sensor is the duration of exposure within one unit cycle, denoted as T2 below, where T > T2.

[0077] The first delay time is the signal transmission delay time between the industrial control computer and the control panel of the display device, hereinafter referred to as D0.

[0078] It is understandable that the first delay time may vary depending on the type of industrial control computer and its distance from the control panel; similarly, the unit period and unit exposure time may differ depending on the parameters of the image sensor.

[0079] Step 120: Calculate the target delay time based on the unit cycle, unit exposure duration, and first delay time;

[0080] In this step, the target delay time is used to synchronize the exposure of the image sensor with the time when the flashing stripes are displayed on the control screen of the display device, that is, the image sensor is exposed to acquire an image at the same time as the flashing stripes are displayed on the control screen.

[0081] The following explanation uses an XR device as an example of the device under test.

[0082] Entering the XR device's VST mode, the XR device's optical engine refresh cycle can be measured as T. The industrial control computer is set to output flashing stripes on the control screen, and the first delay time from the industrial control computer to the control screen can be measured as D0. Without precise control of the stripe period, it cannot be guaranteed that the stripe's brightening / darkening time falls within the image sensor camera's exposure time during measurement. Let the unit exposure time of the camera within one unit cycle T be T2:

[0083] If the time point when the stripes light up / dark down falls within T2, the image will be displayed on the screen after processing in the current cycle, as shown in case1 of Figure 3.

[0084] If the time point when the stripes light up / dark down is outside of T2, the image will be displayed on the screen after the next cycle of processing, as shown in case2 in Figure 3.

[0085] It is understandable that the true value of PTP delay is (Tc-Ta). When (Tc-Tb) remains unchanged, the timing of the image sensor's exposure capture is not synchronized with the timing of the stripes lighting up / darkening, which will affect the time of (Tb-Ta), thus introducing a change in the true value of delay (Tc-Ta). That is, the period of the flickering stripes is related to the camera's beating. At this time, the PTP delay of the XR device will have a fluctuation range of 1 frame, thus affecting the experimental test results.

[0086] In this application, the analysis is conducted in conjunction with the camera acquisition mode of the XR device:

[0087] Image sensors employing different exposure methods (including Rolling Shutter and Global Shutter) can determine their accurate exposure time by extracting their fsync signal.

[0088] Taking the Global Shutter as an example, its unit period is the same as that of the optical engine, T. Within each frame, the image sensor is exposed, driving the fsync signal to high / low. The ideal situation where the image sensor exposure and the stripe timing are synchronized is shown in case 0 of Figure 4: Through the fsync signal, the flickering timing corresponding to the flickering stripes on the control screen can be precisely controlled, aligning its illumination time Ta with the exposure start time of the image sensor.

[0089] In this step, the target delay time corresponding to the occurrence of the Nth fsync can be obtained based on the duration and changes between the unit period, the unit exposure time, and the first delay time using the fsync signal, so that the lighting time Ta of the flashing stripe after the Nth fsync occurs is aligned with the exposure start time of the image sensor.

[0090] Step 130: Before the first exposure of the target on the image sensor, send a control signal to the display device in advance of the target delay time.

[0091] In this step, the first target number can be user-defined, such as N+1 times or N+2 times.

[0092] The Nth exposure of an image sensor can be represented by the occurrence of the Nth fsync signal.

[0093] For example, when the Nth fsync signal appears, the industrial control computer sends a control signal to the display device before the target delay time. After receiving the control signal, the display device responds immediately to control the flashing stripes to light up on the control screen. At the same time, the fsync signal controls the exposure of the image sensor, so that the exposure start time of the image sensor is aligned with the lighting time of the flashing stripes, thereby achieving synchronization of the light source.

[0094] According to the light source synchronization method provided in the embodiments of this application, the target delay time is calculated by the unit cycle and unit exposure time of the image sensor of the device under test and the first delay time from the industrial control computer to the display device. The flashing stripes are controlled to light up based on the target delay time, thereby ensuring that the lighting time of the flashing stripes is aligned with the exposure start time of the image sensor, realizing the synchronization of the light source, and the control precision and accuracy are high.

[0095] The specific implementation of step 120 will be explained from different perspectives below.

[0096] In some embodiments, step 120 may include:

[0097] The non-exposure duration is obtained based on the difference between the unit cycle and the unit exposure time;

[0098] Based on the first delay time and unit period, determine the remaining delay time corresponding to the first delay time for the image sensor in the case of the second target exposure;

[0099] The target delay time is calculated based on the remaining delay time, non-exposure duration, unit cycle, unit exposure duration, and first delay time.

[0100] In this embodiment, the non-exposure duration is the duration during which the image sensor remains in an unexposed state within one unit cycle, i.e. (T-T2).

[0101] As shown in Figures 5 and 6, in the actual execution process, the remaining delay time can be obtained based on the remainder of the quotient of the first delay time D0 and the unit period T.

[0102] In some embodiments, the first delay time D0 and the unit period T can be processed by modulo operation to obtain the remaining delay time.

[0103] After obtaining the remaining delay time, determine the relationship between the remaining delay time and the non-exposure duration, as shown in Figure 5. If the remaining delay time is less than the non-exposure duration, the target delay time D1 can be directly introduced in the unit cycle to achieve light source synchronization; as shown in Figure 6, if the remaining delay time is not less than the non-exposure duration, the target delay time D1 needs to be introduced in the next unit cycle to achieve light source synchronization.

[0104] In some embodiments, the target delay time is calculated based on the remaining delay time, the non-exposure duration, the unit cycle, the unit exposure duration, and the first delay time, and may include:

[0105] If the remaining delay time is less than the non-exposure duration, the difference between the unit cycle minus the remaining delay time and the unit exposure duration is determined as the target delay time;

[0106] If the remaining delay time is not less than the non-exposure duration, the sum of the difference and the unit cycle is determined as the target delay time.

[0107] In this embodiment, as shown in Figure 5, when the remaining delay time is less than the non-exposure time, that is, when the sum of the remaining delay time and the exposure time T2 is less than the unit period T, when N fsync signals occur, the difference between the unit period T and the remaining delay time and the unit exposure time T2 is determined as the target delay time D1, that is, D1 = T - (D0 mod T) - T2. At this time, the industrial control computer can realize the synchronization of the stripe lighting time and the exposure time by introducing the target delay time D1.

[0108] Where N = Floor(T1 / T) - Floor(D0 / T) - 1; T1 is the lighting period of the flashing stripe.

[0109] As shown in Figure 6, when the remaining delay time is not less than the non-exposure time, that is, when the sum of the remaining delay time and the unit exposure time T2 is not less than the unit period T, when N fsync signals occur, the sum of the difference between the unit period T and the remaining delay time and the unit exposure time T2 and the unit period T is determined as the target delay time D1, that is, D1 = 2T - (D0 mod T) - T2. At this time, the industrial control computer can realize the synchronization of the stripe lighting time and the exposure time by introducing the target delay time D1.

[0110] Where N = Floor(T1 / T) - Floor(D0 / T) - 2; T1 is the lighting period of the flashing stripe.

[0111] According to the light source synchronization method provided in the embodiments of this application, the target delay time corresponding to the Nth exposure is adjusted in real time by the first delay time of the industrial control computer. It is applicable to any type of industrial control computer, has a wide range of application scenarios and universality, and has high control precision and accuracy.

[0112] In some embodiments, step 120 may include:

[0113] When the illumination period of the flashing stripes is an integer multiple of the unit period, and the first delay time is an integer multiple of the unit period, the difference between the unit period and the unit exposure time is determined as the target delay time.

[0114] In this embodiment, the lighting period of the flashing stripe, i.e. the duration of continuous lighting of the flashing stripe within one on / off cycle, is denoted by T1.

[0115] The lighting period T1 of the flashing stripe is an integer multiple of the unit period T, that is, T1 mod T = 0.

[0116] The first delay time D0 is an integer multiple of the unit period T, i.e., D0 mod T = 0.

[0117] In some embodiments, the lighting period of the flashing stripes and the relevant parameters of the image sensor can be designed according to actual needs, such as setting the flashing stripe period and the delay from the industrial computer to the control screen, so that the lighting period of the flashing stripes is an integer multiple of the unit period, and the first delay time is an integer multiple of the unit period.

[0118] In this case, when N fsync signals are received, the difference between the unit period T and the unit exposure time T2 is determined as the target delay time D1, that is, D1 = T - T2. At this time, the industrial control computer can realize the synchronization of the stripe lighting time and the exposure time by introducing the target delay time D1.

[0119] Where N = (T1 - D0) / T-1.

[0120] It should be noted that the value of N can be user-defined, and the specific value can be selected based on actual needs.

[0121] According to the light source synchronization method provided in the embodiments of this application, by setting the flashing stripe period and the delay from the industrial control computer to the control screen, the lighting period of the flashing stripe is an integer multiple of the unit period, and the first delay time is an integer multiple of the unit period. Therefore, it is not necessary to adjust the target delay time according to the delay of the industrial control computer. While ensuring the control accuracy to achieve light source synchronization, it also makes the calculation simpler and more convenient.

[0122] This application also provides a delay measurement method.

[0123] This delay measurement method is applied to a measurement system, which includes a display device, a device under test (DUT), and a detection device.

[0124] The display device and the device under test are electrically connected to the testing equipment.

[0125] As shown in Figure 7, the delay measurement method includes steps 710, 720 and 730.

[0126] This delay measurement is applied to a measurement system that measures the device under test. The measurement system includes a display device and a detection device, and the display device and the detection device are electrically connected.

[0127] Step 710: Before the first target exposure of the image sensor of the device under test, send a control signal to the display device in advance of the target delay time. The control signal is used to control the display device to display flickering stripes. The target delay time is calculated based on the unit cycle corresponding to the image sensor during image acquisition, the unit exposure time of the image sensor, and the first delay time from the industrial control computer to the display device.

[0128] In this step, the target delay time can be calculated based on the light source synchronization method described in any of the above embodiments, which will not be elaborated here.

[0129] The first target can be based on user-defined criteria.

[0130] The target delay time can be determined based on the light source synchronization method described in any of the above embodiments, and will not be elaborated here.

[0131] The control signal is used to control the display screen of the display device to display flashing stripes.

[0132] For example, when N fsync signals are received, before receiving the next fsync signal, the industrial control computer sends a control signal to the display device in advance of the target delay time D1; after the display device receives the control signal, it immediately controls the flashing stripes to light up on the control screen.

[0133] Step 720: When the display device displays flickering stripes, the display device sends first light intensity information generated based on the flickering stripes to the detection device; the image sensor collects the flickering stripes to obtain second light intensity information and sends the second light intensity information to the detection device.

[0134] In this step, the first light intensity information is used to generate light intensity information for the display device that displays flashing stripes.

[0135] The second light intensity information is obtained from the image sensor of the device under test.

[0136] In actual execution, when N fsync signals are received, before receiving the next fsync signal, the industrial control computer sends a control signal to the display device in advance of the target delay time D1; after receiving the control signal, the display device immediately controls the flashing stripes to light up on the control screen; when the flashing stripes light up, the display device sends the first light intensity information of the control screen to the detection device.

[0137] At the same time that the flashing stripe lights up, the next fsync signal is received. This fsync signal controls the exposure of the image sensor of the device under test, thereby acquiring the flashing stripe that lights up on the control screen at the same time to generate second light intensity information. The device under test sends the second light intensity information to the detection device.

[0138] Step 730: The detection device calculates the device delay time of the device under test based on the time of the first light intensity information received and the time of the second light intensity information received.

[0139] In this step, the device delay time is the delay of the device under test itself, which is affected and constrained by various factors such as its own hardware, algorithm and usage scenario.

[0140] In actual testing, due to the speed of signal transmission, the testing equipment can receive the first light intensity information and the second light intensity information successively. Then, based on the time difference between the first light intensity information and the second light intensity information received, the device delay time of the device under test can be calculated.

[0141] During the research and development process, the inventors discovered that in related technologies, the camera module often captures the real scene and transmits it to its display screen. The delay is then measured based on the time displayed on the screen. However, due to differences in parameters such as the frame rate of the hardware module and the display module, this method results in the actual measured delay being a variable with a certain range of fluctuation, which affects the accuracy of the test. This makes it impossible for developers to clearly understand the impact of minor improvements to XR devices on the delay time through test results.

[0142] In this application, the target delay time is calculated so that the lighting time of the flashing stripe is aligned with the exposure start time of the image sensor to achieve light source synchronization. This method can take into account the coupling and interference of the camera module's exposure and the display module's display frame rate on the delay time test. By combining the parameters of the device under test itself, the influence on the test results is reduced, which significantly improves the measurement accuracy and precision. This helps developers to clarify the impact of minor improvements to the device under test on the delay time through the test results.

[0143] According to the delay measurement method provided in the embodiments of this application, the target delay time is calculated so that the lighting time of the flashing stripe is aligned with the exposure start time of the image sensor to achieve light source synchronization. Based on this, the delay measurement is performed based on the time difference between the first light intensity information received from the display device and the second light intensity information received from the device under test. This method can combine the parameters of the device under test itself to reduce the impact on the test results and significantly improve the measurement accuracy and precision.

[0144] In some embodiments, step 720 may include:

[0145] The optical path signal corresponding to the first light intensity information and the optical path signal corresponding to the second light intensity information are combined into one signal to obtain the target optical path signal.

[0146] Send the target optical path signal to the detection equipment.

[0147] In this embodiment, the target optical path signal includes the optical path signal corresponding to the first light intensity information and the optical path signal corresponding to the second light intensity information, and the target optical path signal is a single signal.

[0148] After generating the first light intensity information and the second light intensity information, the two signals can be combined into one signal and input into the detection device for delay measurement.

[0149] According to the delay measurement method provided in the embodiments of this application, by combining the collected dual signals into a single signal and sending it to the detection device, the high-cost equipment required for triggering synchronization at the acquisition end can be avoided, and additional errors introduced by different test equipment specifications can be eliminated, thereby improving the accuracy of the acquired signals.

[0150] In some embodiments, the device delay time includes at least one of a light-on delay time and a dark-off delay time; step 730 may include:

[0151] Extract the first time corresponding to the first rising edge, the second time corresponding to the second rising edge, the third time corresponding to the first falling edge, and the fourth time corresponding to the second falling edge from the target optical path signal;

[0152] The lighting delay time is obtained based on the difference between the second time and the first time.

[0153] The dark delay time is obtained based on the difference between the fourth and third times.

[0154] In this embodiment, the target optical path signal is a single signal obtained by merging the two acquired signals.

[0155] The first rising edge is the first rising edge corresponding to the target optical path signal within the fringe period.

[0156] The second rising edge is the second rising edge corresponding to the target optical path signal within the fringe period.

[0157] The first falling edge is the first falling edge corresponding to the target optical path signal within the fringe period.

[0158] The second falling edge is the second falling edge corresponding to the target optical path signal within the fringe period.

[0159] The implementation method of this application will be specifically explained below, taking the device under test as an XR device.

[0160] For example, in the actual testing process, the overall measurement system shown in Figure 2 is set up to ensure that each device is placed in the specified position, and the XR device is placed at the target distance (such as 30mm or 40mm) in front of the OLED control screen of the display device.

[0161] According to the light source synchronization method described in any of the above embodiments, based on the target delay time calculated according to the XR device parameters, two flashing stripes are controlled to light up based on the target delay time. According to the fsync signal derived from the XR device camera exposure, the flashing stripes are displayed on the control screen with precise timing to ensure that the exposure time of the image sensor is synchronized with the lighting time of the flashing stripes.

[0162] After image acquisition is completed, the signal corresponding to the first light intensity information sent by the display device and the signal corresponding to the second light intensity information acquired by the XR device are merged into one signal to obtain the target optical path signal.

[0163] Turn on the detection equipment to receive the target optical path signal received within the target acquisition time. Use an industrial control computer to save the data of the received target optical path signal changing over time, as shown in Figure 8, which includes two rising edges and two falling edges.

[0164] The target acquisition time can be user-defined, such as set to 5 minutes or 8 minutes, and this application does not impose any restrictions.

[0165] Referring to Figure 8, taking the rising edge as an example, within each fringe cycle, the first light intensity jump time T0_up (i.e., the first time) represents the control screen lighting up, and the second rising light intensity jump time T1_up (i.e., the second time) represents the XR display screen of the XR device lighting up.

[0166] The time difference between the two rising edges can be approximated as the time difference between the control screen lighting up and the XR display lighting up. Based on the difference between the second time T1_up and the first time T0_up, the XR device's lighting delay time Delay_up can be obtained.

[0167] Taking the falling edge as an example, within each fringe cycle, the first light intensity drop time T0_down (i.e., the third time) represents the control screen going dark, and the second light intensity drop time T1_down (i.e., the fourth time) represents the XR display screen of the XR device going dark.

[0168] The time difference between the two falling edges can be approximated as the time difference between the control screen going dark and the XR display going dark. Based on the difference between the fourth time T1_down and the third time T0_down, the darking delay time Delay_down of the XR device can be obtained.

[0169] In some embodiments, the light-on delay time and dark-off delay time can be obtained based on the following steps:

[0170] c.1 During the data processing stage, the light intensity data collected by Admesy, which is fed into the system through two different sources, will include two periodic delay signals with an interval of ms, superimposed together.

[0171] c.2 Based on the positions of the rising and falling edges, four key time points can be identified:

[0172] Two ups: These represent the times when the OLED display and the XR device turn on, respectively: T0_up and T1_up.

[0173] The two drops represent the time it takes for the OLED display to darken and the XR device to darken, respectively: T0_down and T1_down.

[0174] c.3 By calculating the time interval between the two rises, the XR device's power-on delay time Delay_up can be obtained.

[0175] c.4 By calculating the time interval between the two drops, the dark delay time Delay_down of the XR device can be obtained.

[0176] The following explains the specific extraction methods for the first rising edge, the second rising edge, the first falling edge, and the second falling edge:

[0177] Identify the points of the first rise and fall (when the control screen lights up and dims):

[0178] a. Record half the brightness of the flickering stripes displayed on the control panel as I0.

[0179] b. Starting from the starting point of the data, iterate through the data points showing how the light intensity changes over time.

[0180] c. Find the first point (called I1) whose intensity, along with the next two points, satisfies the following condition: I1<I0,I2> I0, I3>I0.

[0181] d.I1 marks the point of the first rise, with its time coordinate being T0_up.

[0182] e. Next, find the first point (called I1) whose intensity, along with the next two points, satisfies the following condition: I1 > I0, I2 <I0,I3<I0。

[0183] f.I1 marks the point of the first descent, with its time coordinate being T0_down.

[0184] Identify the points of the second rise and fall (when the XR device display lights up and goes dark):

[0185] a. Calculate the minimum and maximum values ​​of the 10-200 data points after the first rise point, denoted as min and max, respectively. These points correspond to the brightness when the control screen is on and the brightness when the control screen is on plus the brightness of the XR device's display.

[0186] b. Calculate the threshold T1 = 0.5 * (max + min).

[0187] c. Start iterating from the data points after the first rising point.

[0188] d. Find the first point (called I4) that satisfies the following condition: I4 > T1

[0189] e.I4 marks the second rising point, indicating that the XR device display lights up, with its time coordinate being T1_up.

[0190] f. Similarly, calculate the minimum and maximum values ​​of the 10-200 data points after the first descent point, and then calculate the threshold T2 = 0.5 * (max + min).

[0191] g. Start traversing from the data points after the first descent point.

[0192] h. Find the first point (called I5) that satisfies the following condition: I5 <T2

[0193] i.I5 marks the point of the second descent, indicating that the XR device's display went dark, with its time coordinate being T1_down.

[0194] Of course, in other embodiments, the first rising edge, the second rising edge, the first falling edge, and the second falling edge can also be extracted in other ways, and this application does not limit them.

[0195] As shown in Figure 9, in some embodiments, when the first target is tested multiple times, the detection device calculates the device delay time of the device under test based on the time of receiving the first light intensity information and the time of receiving the second light intensity information, which may include:

[0196] Based on the time of the first light intensity information received and the time of the second light intensity information received under each first target, the corresponding second delay time under each first target is obtained;

[0197] The device delay time is obtained by averaging the multiple second delay times.

[0198] In this embodiment, the first rising edge, the second rising edge, the first falling edge, and the second falling edge within multiple stripe periods can be acquired.

[0199] For each stripe cycle, the light-up delay time and dark-down delay time of the device under test corresponding to that stripe cycle can be obtained based on the above method, thereby obtaining multiple light-up delay times and multiple dark-down delay times.

[0200] By averaging multiple lighting delay times, the final lighting delay time can be obtained, which represents the average lighting delay time of the device under test during long-term operation.

[0201] The average dark delay time of the device under test under long-term operation is obtained by taking the average of multiple dark delay times.

[0202] According to the delay measurement method provided in the embodiments of this application, by averaging the lighting delay time and darkening delay time corresponding to multiple stripe flicker cycles, the average lighting delay time and average darkening delay time of the device under test under long-term operation can be obtained, which has high precision and accuracy.

[0203] This application also provides a measurement system.

[0204] As shown in Figure 10, the measurement system includes a display device and a detection device.

[0205] In this embodiment, the display device is used to display flashing stripes and generate first light intensity information in response to the control signal sent by the industrial control computer in advance of the target delay time; the target delay time is calculated based on the unit cycle corresponding to the image sensor in the image acquisition process, the unit exposure time of the image sensor, and the first delay time from the industrial control computer to the display device.

[0206] The detection device is electrically connected to the display device and the device under test respectively. The detection device is used to calculate the device delay time of the device under test based on the time of the first light intensity information received and the time of the second light intensity information received. The second light intensity information is generated by the device under test acquiring the flickering stripes displayed by the display device.

[0207] The testing equipment is used to perform delay measurement based on the delay measurement method described in any of the above embodiments, which will not be elaborated upon here.

[0208] The device under test is positioned in front of the display device to collect the flickering stripes displayed on the display device and generate second light intensity information.

[0209] In some embodiments, the detection device may include an Admesy measuring instrument.

[0210] In some embodiments, the detection device may be a light intensity measurement device with high dynamic range and low response time.

[0211] The implementation method of this application will be explained in detail below, taking the device under test as an XR device as an example.

[0212] In actual testing, an overall measurement system as shown in Figure 2 can be set up to ensure that each device is placed in the specified position, and the XR device is placed at the target distance (such as 30mm or 40mm) in front of the OLED control screen of the display device.

[0213] As shown in Figure 10, the transmission module is installed in two optical fibers. The input port of one optical fiber is aligned with the center of the OLED display; the input port of the other optical fiber is fixed to the rear of the XR device and aligned with the single-channel display screen of the XR device in order to collect the intensity changes of the flickering stripes in VST mode.

[0214] The output ports of the fixed dual optical fibers ensure that the light beam can enter the light intensity detection equipment completely.

[0215] Turn on the XR device and control screen, and use the target delay time calculated according to the light source synchronization method described in any of the above embodiments to set the flashing stripe timing according to the XR device parameters, so as to realize the display of precisely timed flashing stripes on the control screen according to the fsync signal derived from the XR device camera exposure.

[0216] Turn on the flicker measurement mode of the Admesy measuring instrument, set the target acquisition time (such as 5 min or 8 min), and use an industrial control computer to save the data of light intensity change over time (i.e., the data of target optical path signal change over time) collected by the Admesy measuring instrument, as shown in Figures 8 and 9.

[0217] Based on the change of the target optical path signal over time, two rising edges within the stripe period are extracted. The lighting delay time of the device under test is measured based on the time difference between the two rising edges; the darking delay time of the device under test is measured based on the time difference between the two falling edges.

[0218] The measurement system provided according to the embodiments of this application includes a display device for displaying flickering stripes, a device under test (DUT) for acquiring the flickering stripes, and a detection device. The flickering stripes allow for long-term acquisition and statistical averaging, improving reliability. A target delay time is calculated using the parameters of the DUT, and the flickering stripes are controlled to illuminate based on this target delay time, ensuring that the illumination time of the flickering stripes is aligned with the exposure start time of the image sensor. Furthermore, the delay time of the DUT is measured based on the time difference between the rising and falling edges of the acquired signal. This system offers high measurement accuracy and precision, is simple to operate and easy to implement, and has low design costs.

[0219] In some embodiments, the measurement system may further include: a first fiber optic coupling lens, a second fiber optic coupling lens, a target fiber, a first fiber, and a second fiber.

[0220] In this embodiment, the first fiber optic coupling lens is the fiber optic coupling lens corresponding to the control screen of the display device, and the first fiber optic coupling lens is disposed at the output end of the display device.

[0221] The second fiber optic coupling lens is the fiber optic coupling lens corresponding to the display screen of the device under test, and the second fiber optic coupling lens is set at the output end of the device under test.

[0222] The target optical fiber is connected to the input end of the detection equipment.

[0223] The first optical fiber is connected between the first optical fiber coupling lens and the target optical fiber, and the second optical fiber is connected between the second optical fiber coupling lens and the target optical fiber. That is, the first optical fiber and the second optical fiber are combined into one through the target optical fiber.

[0224] Continuing with the example of the XR device under test, in the actual measurement process, the XR device under test is placed in front of the control screen of the measurement system, with its center aligned with the center of the control screen of the measurement system, and the XR device is fixed by the human head model installed on the platform.

[0225] After the VST perspective mode is enabled, flickering stripes will also be displayed on the XR device's display optical engine. The intensity changes of the flickering stripes on the control screen of the measurement system and the XR device's display optical engine are respectively converged through fiber optic coupling lenses and enter two optical fibers. After transmission, the two paths are combined at the output end and sent to the detection device.

[0226] According to the measurement system provided in the embodiments of this application, by adopting dual-channel acquisition and then performing single-channel input to the detection device, the high-cost equipment required for triggering synchronization at the acquisition end is avoided, and additional errors introduced by different test equipment specifications are also eliminated, which can further improve the measurement accuracy.

[0227] The light source synchronization method provided in this application can be executed by a light source synchronization device. This application uses a light source synchronization device executing the light source synchronization method as an example to illustrate the light source synchronization device provided in this application.

[0228] This application also provides a light source synchronization device.

[0229] As shown in Figure 11, the light source synchronization device includes: a first processing module 1110, a second processing module 1120 and a third processing module 1130.

[0230] The first processing module 1110 is used to acquire the unit cycle corresponding to the image sensor during image acquisition, the unit exposure time of the image sensor, and the first delay time from the industrial control computer to the display device; the industrial control computer is used to send a control signal to the display device so that the display device displays flashing stripes in response to the control signal; the image sensor is used to acquire the flashing stripes displayed by the display device.

[0231] The second processing module 1120 is used to calculate the target delay time based on the unit cycle, the unit exposure duration, and the first delay time.

[0232] The third processing module 1130 is used to send a control signal to the display device before the first target exposure of the image sensor by advancing the target delay time.

[0233] According to the light source synchronization device provided in the embodiments of this application, the target delay time is calculated by the unit cycle and unit exposure time of the image sensor of the device under test and the first delay time from the industrial control computer to the display device. The flashing stripes are controlled to light up based on the target delay time, thereby ensuring that the lighting time of the flashing stripes is aligned with the exposure start time of the image sensor, realizing the synchronization of the light source, and the control precision and accuracy are high.

[0234] In some embodiments, the second processing module 1120 may be used for:

[0235] The non-exposure duration is obtained based on the difference between the unit cycle and the unit exposure time;

[0236] Based on the first delay time and unit period, determine the remaining delay time corresponding to the first delay time for the image sensor in the case of the second target exposure;

[0237] The target delay time is calculated based on the remaining delay time, non-exposure duration, unit cycle, unit exposure duration, and first delay time.

[0238] In some embodiments, the second processing module 1120 may be used for:

[0239] If the remaining delay time is less than the non-exposure duration, the difference between the unit cycle minus the remaining delay time and the unit exposure duration is determined as the target delay time;

[0240] If the remaining delay time is not less than the non-exposure duration, the sum of the difference and the unit cycle is determined as the target delay time.

[0241] In some embodiments, the second processing module 1120 may be used for:

[0242] When the illumination period of the flashing stripes is an integer multiple of the unit period, and the first delay time is an integer multiple of the unit period, the difference between the unit period and the unit exposure time is determined as the target delay time.

[0243] This application also provides a time delay measurement device.

[0244] As shown in Figure 12, the delay measurement device is applied to a measurement system, which includes a display device, a device under test, and a detection device. The display device and the device under test are electrically connected to the detection device. The system includes a fourth processing module 1210, a fifth processing module 1220, and a sixth processing module 1230.

[0245] The fourth processing module 1210 is used to send a control signal to the display device before the first exposure of the image sensor of the device under test by a target delay time. The control signal is used to control the display device to display flickering stripes. The target delay time is calculated based on the unit cycle corresponding to the image sensor during image acquisition, the unit exposure time of the image sensor, and the first delay time from the industrial control computer to the display device.

[0246] The fifth processing module 1220 is used to, when the display device displays flickering stripes, send first light intensity information generated based on the flickering stripes to the detection device; the image sensor collects the flickering stripes to obtain second light intensity information, and sends the second light intensity information to the detection device;

[0247] The sixth processing module 1230 is used to enable the detection device to calculate the device delay time of the device under test based on the time of the first light intensity information received and the time of the second light intensity information received.

[0248] According to the delay measurement device provided in the embodiments of this application, the target delay time is calculated so that the lighting time of the flashing stripe is aligned with the exposure start time of the image sensor to achieve light source synchronization. Based on this, the delay measurement is performed based on the time difference between the first light intensity information received from the display device and the second light intensity information received from the device under test. This can reduce the impact on the test results by combining the parameters of the device under test itself, and significantly improve the measurement accuracy and precision.

[0249] In some embodiments, the fifth processing module 1220 can also be used for:

[0250] The optical path signal corresponding to the first light intensity information and the optical path signal corresponding to the second light intensity information are combined into one signal to obtain the target optical path signal.

[0251] Send the target optical path signal to the detection equipment.

[0252] In some embodiments, the device delay time includes at least one of a light-on delay time and a dark-off delay time; the sixth processing module 1230 can also be used for:

[0253] Extract the first time corresponding to the first rising edge, the second time corresponding to the second rising edge, the third time corresponding to the first falling edge, and the fourth time corresponding to the second falling edge from the target optical path signal;

[0254] The lighting delay time is obtained based on the difference between the second time and the first time.

[0255] The dark delay time is obtained based on the difference between the fourth and third times.

[0256] In some embodiments, when the first target is performed multiple times, the sixth processing module 1230 can also be used for:

[0257] Based on the time of the first light intensity information received and the time of the second light intensity information received under each first target, the corresponding second delay time under each first target is obtained;

[0258] The device delay time is obtained by averaging multiple second delay times.

[0259] The light source synchronization device or delay measurement device in the embodiments of this application can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, handheld computer, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. The embodiments of this application do not specifically limit the scope.

[0260] The light source synchronization device or delay measurement device in the embodiments of this application can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application does not specifically limit the specific operating system used.

[0261] The light source synchronization device or delay measurement device provided in this application embodiment can realize the various processes implemented in the method embodiments of Figures 1 to 9. To avoid repetition, they will not be described again here.

[0262] In some embodiments, as shown in FIG13, this application embodiment also provides an electronic device 1300, including a processor 1301, a memory 1302, and a computer program stored in the memory 1302 and executable on the processor 1301. When the program is executed by the processor 1301, it implements the various processes of the above-described light source synchronization method or delay measurement method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0263] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0264] This application also provides a non-transitory computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described light source synchronization method or delay measurement method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0265] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0266] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described light source synchronization method or delay measurement method.

[0267] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0268] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described light source synchronization method or delay measurement method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0269] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0270] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0271] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0272] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

[0273] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0274] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.

Claims

1. A method for synchronizing light sources, characterized in that, include: The unit cycle corresponding to the image sensor during image acquisition, the unit exposure time of the image sensor, and the first delay time from the industrial control computer to the display device are obtained. The industrial control computer is used to send control signals to the display device so that the display device displays flashing stripes in response to the control signals; the image sensor is used to capture the flashing stripes displayed by the display device; The target delay time is calculated based on the unit period, the unit exposure duration, and the first delay time. Before the first target exposure of the image sensor, the control signal is sent to the display device in advance of the target delay time.

2. The light source synchronization method according to claim 1, characterized in that, The calculation of the target delay time based on the unit period, the unit exposure duration, and the first delay time includes: The non-exposure duration is obtained based on the difference between the unit period and the unit exposure duration; Based on the first delay time and the unit period, the remaining delay time corresponding to the first delay time is determined when the image sensor is exposed to the second target. The target delay time is calculated based on the remaining delay time, the non-exposure duration, the unit period, the unit exposure duration, and the first delay time.

3. The light source synchronization method according to claim 2, characterized in that, The calculation of the target delay time based on the remaining delay time, the non-exposure duration, the unit period, the unit exposure duration, and the first delay time includes: If the remaining delay time is less than the non-exposure duration, the difference between the unit period and the remaining delay time and the unit exposure duration is determined as the target delay time. If the remaining delay time is not less than the non-exposure duration, the sum of the difference and the unit period is determined as the target delay time.

4. The light source synchronization method according to any one of claims 1-3, characterized in that, The calculation of the target delay time based on the unit period, the unit exposure duration, and the first delay time includes: When the illumination period of the flashing stripe is an integer multiple of the unit period, and the first delay time is an integer multiple of the unit period, the difference between the unit period and the unit exposure duration is determined as the target delay time.

5. A delay measurement method, characterized in that, A measurement system for measuring a device under test, the measurement system including a display device and a detection device, the display device being electrically connected to the detection device; the method includes: Before the first target exposure of the image sensor of the device under test, a control signal is sent to the display device in advance by a target delay time. The control signal is used to control the display device to display flickering stripes. The target delay time is calculated based on the unit cycle corresponding to the image sensor during image acquisition, the unit exposure time of the image sensor, and the first delay time from the industrial control computer to the display device. When the display device displays the flickering stripes, the display device sends first light intensity information generated based on the flickering stripes to the detection device; the image sensor acquires second light intensity information from the flickering stripes and sends the second light intensity information to the detection device. The detection device calculates the device delay time of the device under test based on the time of receiving the first light intensity information and the time of receiving the second light intensity information.

6. The delay measurement method according to claim 5, characterized in that, The display device sends first light intensity information based on the flickering stripes to the detection device; The image sensor acquires the flickering stripes to obtain second light intensity information, and sends the second light intensity information to the detection device, including: The optical path signal corresponding to the first light intensity information and the optical path signal corresponding to the second light intensity information are combined into one signal to obtain the target optical path signal; The target optical path signal is sent to the detection device.

7. The delay measurement method according to claim 6, characterized in that, The device delay time includes at least one of a light-on delay time and a dark-off delay time; the detection device calculates the device delay time of the device under test based on the time of the received first light intensity information and the time of the received second light intensity information, including: Extract the first time corresponding to the first rising edge, the second time corresponding to the second rising edge, the third time corresponding to the first falling edge, and the fourth time corresponding to the second falling edge from the target optical path signal; The lighting delay time is obtained based on the difference between the second time and the first time; The dark delay time is obtained based on the difference between the fourth time and the third time.

8. The delay measurement method according to any one of claims 5-7, characterized in that, When the first target is tested multiple times, the detection device calculates the device delay time of the device under test based on the time of receiving the first light intensity information and the time of receiving the second light intensity information, including: Based on the time of receiving the first light intensity information and the time of receiving the second light intensity information under each first target, the corresponding second delay time under each first target is obtained; The device delay time is obtained by averaging the multiple second delay times.

9. A measurement system, characterized in that, include: The display device is used to display flashing stripes and generate first light intensity information in response to a control signal sent by an industrial control computer in advance of a target delay time. The target delay time is calculated based on the unit cycle corresponding to the image sensor during image acquisition, the unit exposure time of the image sensor, and the first delay time from the industrial control computer to the display device; The detection device is electrically connected to the display device and the device under test respectively. The detection device is used to calculate the device delay time of the device under test based on the time of the first light intensity information received and the time of the second light intensity information received. The second light intensity information is generated by the device under test collecting the flickering stripes displayed by the display device.

10. The measurement system according to claim 9, characterized in that, Also includes: A first fiber optic coupling lens is disposed at the output end of the display device; A second fiber optic coupling lens is disposed at the output end of the device under test; The target optical fiber is connected to the input end of the detection device; A first optical fiber is connected between the first optical fiber coupling lens and the target optical fiber; The second optical fiber is connected between the second optical fiber coupling lens and the target optical fiber.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the light source synchronization method as described in any one of claims 1-4 or the delay measurement method as described in any one of claims 5-8.

12. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the light source synchronization method as described in any one of claims 1-4 or the delay measurement method as described in any one of claims 5-8.

13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the light source synchronization method as described in any one of claims 1-4 or the delay measurement method as described in any one of claims 5-8.