Machine Synchronization Calibration Method, Device, Machine, and Storage Medium
The device synchronization calibration method addresses synchronization challenges by monitoring and correcting timestamp deviations between devices, ensuring accurate and consistent synchronization, thereby enhancing data transmission reliability.
Patent Information
- Application Number
- JP2023517788
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-09-17
- Filing Date
- 2021-09-16
- Publication Date
- 2025-06-18
- Estimated Expiration
- 2041-09-16
AI Technical Summary
Existing device synchronization methods, such as parallel and serial clock synchronization, face challenges in ensuring accurate alignment and calibration across multiple devices due to clock path delays and error accumulation, leading to synchronization deviations.
A device synchronization calibration method that involves obtaining timestamp synchronization deviations between devices, determining if these deviations match a set value, and generating synchronization calibration commands to correct any deviations, thereby ensuring synchronized operation among multiple devices.
The method effectively addresses synchronization delays by continuously monitoring and correcting timestamp synchronization deviations, ensuring accurate and consistent synchronization across multiple devices, which improves data transmission reliability and reduces operational costs.
Smart Images

Figure 0007694966000004 
Figure 0007694966000005 
Figure 0007694966000006
Abstract
Description
Technical Field
[0001] This application claims the priority of a Chinese patent application with the application number 202010980816.0, filed with the Chinese Patent Office on September 17, 2020, and all the contents of the application are incorporated herein by reference.
[0002] (Technical Field) Embodiments of this application relate to signal processing technology, for example, to a device synchronization calibration method, apparatus, device, and storage medium.
Background Art
[0003] When synchronizing or aligning multiple channels of multiple devices, usually, it is necessary to first align one or more channels in a single device and then align the channels between multiple devices. Among them, to align the channels between multiple devices, usually, a parallel method and a serial method are adopted. As shown in FIG. 1, the parallel method is to connect multiple devices in parallel using a synchronization source (which may be called a synchronizer), and the synchronization source performs strict synchronization and alignment on the synchronization signal and clock signal between multiple devices. As shown in FIG. 2, the serial method is to connect multiple devices in series and measure the delay of the serial path to adjust or compensate for the delay of multiple devices.
[0004] However, both of the above two modes need to perform synchronization based on the operating clock, and clock synchronization can be further divided into a parallel clock synchronization mode and a serial clock synchronization mode. Among them, the parallel clock synchronization mode can be understood as realizing that a plurality of synchronous clocks are output from one standard clock source to a plurality of devices, so that the frequencies and phases of the clocks of the plurality of devices are kept consistent. By doing so, in the scenario of a plurality of devices, without using a complex clock source circuit, accurate alignment calibration and testing cannot be guaranteed, and the circuit cost is high. Serial clock synchronization means that one clock source provides a clock, a plurality of devices are serially connected by the clock, and a plurality of devices perform phase discrimination and synchronization tracking on the clock by a phase-locked loop (PLL), so that the clock frequencies among the plurality of devices are the same. However, due to the problem of clock path delay, there is a relatively fixed clock phase difference, and further, an error accumulation occurs among the plurality of serially connected devices. Summary of the Invention Means for Solving the Problems
[0005] This application provides a device synchronization calibration method, device, device, and storage medium for realizing synchronization calibration among a plurality of devices due to timestamp synchronization deviation.
[0006] In a first aspect, an embodiment of the present application is applied to a controller, obtaining the timestamp synchronization deviation between every two of at least two devices; judging whether the timestamp synchronization deviation between every two of the at least two devices is a set value; when any one of the timestamp synchronization deviations is not a set value, generating a synchronization calibration command used to perform synchronization calibration on the two devices corresponding to any one of the timestamp synchronization deviations. A device synchronization calibration method is provided.
[0007] On the second aspect, the embodiments of the present application are applied to devices, acquiring a sampling signal, processing the sampling signal to generate a time stamp, and providing a device synchronization calibration method including transmitting the time stamp to a controller.
[0008] On the third aspect, the embodiments of the present application provide an acquisition module configured to acquire a time stamp synchronization deviation between every two of at least two devices, a determination module configured to determine whether the time stamp synchronization deviation between every two of the at least two devices is a set value, and a generation module configured to generate a synchronization calibration command used to perform synchronization calibration on two devices corresponding to any one of the time stamp synchronization deviations when any one of the time stamp synchronization deviations is not the set value.
[0009] On the fourth aspect, the embodiments of the present application provide an acquisition module configured to acquire a sampling signal, a processing module configured to process the sampling signal to generate a time stamp, and a transmission module configured to transmit the time stamp to a controller. The embodiments of the present application provide a device synchronization calibration device.
[0010] On the fifth aspect, the embodiments of the present application provide an electronic device including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the device synchronization calibration method according to the above embodiments is realized.
[0011] In a sixth aspect, the embodiment of the present application provides a computer storage medium storing a computer program that, when executed by a processor, implements the device synchronization calibration method according to the above embodiment.
Brief Description of the Drawings
[0012]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Modes for Carrying Out the Invention
[0013] Hereinafter, the present application will be described in more detail with reference to the drawings and embodiments. It can be understood that the specific embodiments described herein are merely for interpreting the present application and do not limit the present application. For the sake of easy explanation, only the parts related to the present application are shown in the drawings, not all structures.
[0014] FIG. 3 is a flowchart of a device synchronization calibration method according to an embodiment of the present application. As shown in FIG. 3, the method can be applied to a controller, and the method may include the following steps, but is not limited thereto.
[0015] In S301, obtain the timestamp synchronization deviation between every two of at least two devices.
[0016] In this step, the timestamp synchronization deviation between two devices can be understood as the deviation between the intervals of timestamps recorded by the two devices for different signals respectively. For example, it can be understood as the deviation between the interval of timestamps of two signals recorded by device a and the interval of timestamps of the same two signals recorded by device b. When there are more than two devices, all devices can be combined in pairs, and the timestamp synchronization deviation between every two devices in each combination can be determined.
[0017] Note that the above controller may be a controller in an independent device or a controller inside the above device.
[0018] In S302, determine whether the timestamp synchronization deviation between every two of at least two devices is a set value.
[0019] Exemplarily, the above set value may be 0 or a fixed deviation value between two devices. Among them, when the timestamp synchronization deviation between two devices is the set value, it indicates that the transmission channels of the two devices maintain synchronization.
[0020] For example, taking device a and device b as an example, when the set value is 0, the deviation between the interval of the timestamps of the two signals recorded by device a and the interval of the timestamps of the same two signals recorded by device b is 0, that is, it indicates that the transmission channels of these two devices are synchronized. Similarly, when the set value is a fixed deviation value, that is, when there is a certain deviation between the transmission channel of device a and the transmission channel of device b, if the deviation between the interval of the timestamps of the two signals recorded by device a and the interval of the timestamps of the same two signals recorded by device b is still the said fixed deviation value, it indicates that the transmission channels between these two devices maintain synchronization.
[0021] In S303, if any timestamp synchronization deviation is not the set value, a synchronization correction command is generated.
[0022] Any timestamp synchronization deviation in this step can be understood as the timestamp synchronization deviation between the two devices corresponding to the said deviation. If any timestamp synchronization deviation is not the set value, it indicates that the data transmission channels between the two devices corresponding to the said any timestamp synchronization deviation are not synchronized. At this time, a synchronization correction command is generated by the controller. The said synchronization correction command can be used to perform synchronization correction on the two devices corresponding to any of the above timestamp synchronization deviations.
[0023] For example, the synchronization correction command can carry a correction deviation, and the controller can perform synchronization correction on the two corresponding devices according to the said correction deviation.
[0024] Embodiments of the present application provide a device synchronization calibration method, which is applicable to a controller, and includes obtaining the time stamp synchronization deviation between every two of at least two devices, determining whether the time stamp synchronization deviation between every two of at least two devices is a set value, and generating a synchronization calibration command when any time stamp synchronization deviation is not the set value. Among them, the synchronization calibration command is used to perform synchronization calibration on two devices corresponding to any time stamp synchronization deviation. In this way, the situation of delay in synchronization among multiple devices due to time stamp synchronization deviation can be effectively improved.
[0025] As shown in FIG. 4, in one embodiment, the implementation manner of the above step S301 may include the following steps, but is not limited thereto.
[0026] In S401, obtain the first time stamp interval for the first trigger processing signal of the current two devices.
[0027] Exemplarily, as shown in FIG. 5, the first trigger processing signal in this step may be a signal generated after the synchronizer outputs a synchronization signal to devices a and b and transmits it to the trigger modules of the corresponding devices through the input channels of devices a and b respectively.
[0028] The method for obtaining the first time stamp interval for the first trigger processing signal is to obtain the first time stamp recorded by any one of the current two devices for the first trigger processing signal, obtain the second time stamp recorded by the other of the current two devices for the first trigger processing signal, and obtain the time stamp interval for the first trigger processing signal of the current two devices according to the first time stamp and the second time stamp.
[0029] For example, inside device a, the signal transmitted on the input channel can be transmitted to the data processing module by the time delay module. After the trigger module transmits the first trigger processing signal to the data processing module, the data processing module processes the signal transmitted by the time delay module for the first trigger processing signal and records the current timestamp as the first timestamp. Inside device b, after the trigger module transmits the first trigger processing signal to the data processing module, the data processing module executes the same processing procedure and records the current timestamp as the second timestamp. In this way, the interval between the first timestamp and the second timestamp respectively recorded by device a and device b for the first trigger processing signal is the first timestamp interval.
[0030] Among them, the acquisition method of the synchronization signal is to align the channels inside one device. For example, align the data channel and the trigger channel, use the device after the channels are aligned to calibrate the output of the synchronizer, and then connect the output end of the calibrated synchronizer to at least two devices, and transmit the synchronization signal from the trigger source in the synchronizer to at least two devices. As shown in FIG. 5, the output end of the synchronizer is connected to two devices, and the synchronization signal is transmitted to these two devices.
[0031] In S402, obtain the second timestamp interval for the second trigger processing signal of the current two devices.
[0032] Similarly, according to the implementation method of the above step S401, as shown in FIG. 5, the second trigger processing signal in this step may be a signal generated by the trigger modules in device a and device b based on the synchronization signal after the synchronizer transmits another synchronization signal to device a and device b respectively.
[0033] The method for obtaining the second timestamp interval for the second trigger processing signal may be to obtain the third timestamp recorded by either one of the current two devices for the second trigger processing signal, obtain the fourth timestamp recorded by the other device of the current two devices for the second trigger processing signal, and obtain the timestamp interval for the second trigger processing signal of the current two devices according to the third timestamp and the fourth timestamp.
[0034] After the trigger module inside device a transmits the second trigger processing signal to the data processing module, the data processing module receives the signal transmitted on the input channel transmitted by the time delay module, processes the signal transmitted by the time delay module for the second trigger processing signal, and simultaneously records the third timestamp. After the trigger module inside device b transmits the second trigger processing signal to the data processing module, the data processing module performs the same processing on the second trigger processing signal and records the fourth timestamp. Then, the interval between the third timestamp and the fourth timestamp respectively recorded by device a and device b is the second timestamp interval.
[0035] In S403, determine the timestamp synchronization deviation between the current two devices according to the first timestamp interval and the second timestamp interval.
[0036] Take the absolute value of the difference between the first timestamp interval and the second timestamp interval determined by the current two devices for the two synchronization signals as the timestamp synchronization deviation.
[0037] For example, assuming that the current two devices are device a and device b, the timestamp synchronization deviation Offset_ab between device a and device b can be determined by the following formula, that is,
Equation
Number
Number
[0038] The above timestamp mainly includes information in two parts. One part is a count value generated by the operating clock of each device, with the clock cycle taken as a step and the accumulation starting from an initial value (for example, 0). The other part is more accurate time position information obtained by making a judgment with a precise trigger using a signal trigger. That is, a.TS1, b.TS1, a.TS2, and b.TS2 all consist of two parts: rough adjustment and fine adjustment. Exemplarily, these two parts may be as shown in FIG. 6.
[0039] In S404, select two devices that are different from at least one of the current two devices among at least two devices, and set the selected two devices as the current two devices.
[0040] Exemplarily, assume that there are four devices, namely device a, device b, device c, and device d respectively. If the current two devices are device a and device b, select two devices that are different from at least one of device a and device b among these four devices. For example, select device a and device c, or device c and device d, etc., and set the selected two devices as the current two devices.
[0041] In S405, steps S401 to S404 are repeatedly executed until a time stamp synchronization deviation between every two of at least two devices is obtained.
[0042] After selecting the current two devices in step S404, steps S401 to S404 can be repeatedly executed until a time stamp synchronization deviation between every two of all of the at least two devices is obtained. For example, after determining the time stamp synchronization deviation between two devices, namely, the selected device a and device c, two devices different from device a and device c can be newly selected, and then the time stamp synchronization deviation between the two selected devices can be determined. In one embodiment, after step S303, the controller can further send a synchronization correction command to two devices corresponding to any time stamp synchronization deviation and / or send a synchronization correction command to the synchronizer. The synchronization correction command may include a pre-stage correction command and / or a post-stage correction command.
[0043] The pre-stage correction command is used to instruct a device corresponding to any time stamp synchronization deviation to adjust its own channel time delay according to the time stamp synchronization deviation. Alternatively, the pre-stage correction command is used to instruct the synchronizer to adjust the time delay of a channel corresponding to any internal time stamp synchronization deviation according to the time stamp synchronization deviation. The synchronizer is connected to at least two devices respectively through at least two internal channels of itself. That is, when the time stamp synchronization deviation is not a set value, the pre-stage correction command can be used for the device corresponding to the time stamp synchronization deviation to adjust its own channel time delay according to the time stamp synchronization deviation, or for the synchronizer to adjust the time delay of the channel connected to the corresponding device according to the time stamp synchronization deviation.
[0044] The post-stage calibration command is used to instruct the controller to perform time delay compensation on the signal display method according to any time stamp synchronization deviation.
[0045] The results after performing synchronization calibration on two devices by the synchronization calibration command are as shown in Fig. 7. The measured signal in Fig. 7 can be understood as the signal input to the two connected devices by the synchronizer. CLK.A and CLK.B are respectively the signal waveforms sampled for the measured signals of the two devices, and SYNC.A and SYNC.B are respectively the signal waveforms after synchronization of the two devices.
[0046] Fig. 8 is a flowchart of the device synchronization calibration method according to an embodiment of the present application. The method is applicable to devices. As shown in Fig. 8, the method may include the following steps.
[0047] In S801, a sampling signal is acquired.
[0048] The sampling signal can be understood as the signal transmitted by the synchronizer connected to the device.
[0049] In S802, the sampling signal is processed to generate a time stamp.
[0050] Exemplarily, in the embodiment of the present application, the processing method for the acquired sampling signal of the device may include two methods: rough adjustment and fine adjustment. For example, the sampling signal is subjected to rough adjustment processing, and the roughly adjusted sampling signal is subjected to fine adjustment processing according to the trigger signal generated by the device based on the sampling signal, and a time stamp is generated based on the finely adjusted sampling signal.
[0051] In S803, the time stamp is transmitted to the controller.
[0052] The controller may be a controller in an independent device or a controller inside a device. After the device generates a time stamp, the device can transmit the time stamp to the controller.
[0053] In S804, receive a synchronization correction command transmitted by the controller and used to perform synchronization correction on the device.
[0054] The embodiment of the present application provides a device synchronization correction method including acquiring a sampling signal, processing the sampling signal to generate a time stamp, transmitting the time stamp to the controller, and receiving a synchronization correction command transmitted by the controller and used to perform synchronization correction on the device. By doing so, it is possible to determine whether the corresponding device is synchronized with the time stamp by the controller. When the devices are not synchronized, by receiving the synchronization correction command transmitted by the controller and correcting the device, it is possible to effectively improve the situation where there is a delay in the synchronization among multiple devices.
[0055] In one embodiment, the synchronization correction command may carry a time stamp synchronization deviation, and the time stamp synchronization deviation may be obtained by calculation according to the time stamp in the above step S803 by the controller.
[0056] As shown in FIG. 9, after the above step S804, the method may further include, but is not limited to, a step S901 of adjusting the channel time delay of the device corresponding to the time stamp synchronization deviation according to the time stamp synchronization deviation.
[0057] In one embodiment, the synchronization correction command carries a time stamp synchronization deviation, and the time stamp synchronization deviation may be calculated by the controller according to the time stamp in step S803 above. As shown in FIG. 10, after step S804, the method may further include step S1001 of sending the synchronization correction command to the synchronizer, but is not limited thereto.
[0058] Among them, the synchronization correction command is used to instruct the synchronizer to adjust the time delay of the channel corresponding to the internal time stamp synchronization deviation of the synchronizer according to the time stamp synchronization deviation. The synchronizer can be connected to the device through any one of at least two internal channels of itself. Then, the device can send the synchronization correction command to the synchronizer based on the channel, and the synchronizer can correct the channel connected to the device according to the synchronization correction command.
[0059] FIG. 11 shows a device synchronization correction apparatus according to an embodiment of the present application. As shown in FIG. 11, the apparatus includes an acquisition module 1101 configured to acquire the time stamp synchronization deviation between every two of at least two devices; a judgment module 1102 configured to judge whether the time stamp synchronization deviation between every two of at least two devices is a set value; a generation module 1103 configured to generate a synchronization correction command used to perform synchronization correction on two devices corresponding to any time stamp synchronization deviation when any time stamp synchronization deviation is not a set value.
[0060] Exemplarily, the acquisition module step 1 of acquiring the first time stamp interval for the first trigger processing signal of the current two devices; step 2 of acquiring the second time stamp interval for the second trigger processing signal of the current two devices; Step 3 of determining the timestamp synchronization deviation between the current two devices according to the first timestamp interval and the second timestamp interval; Step 4 of selecting two devices that are different from at least one of the current two devices among at least two devices, and using the selected two devices as the current two devices; It may be configured to implement a step of repeatedly executing the above steps 1 to 4 until the timestamp synchronization deviations between every two of all the devices among at least two devices are obtained.
[0061] For example, the acquisition module acquires the first timestamp recorded by any one of the current two devices for the first trigger processing signal or the second trigger processing signal, and acquires the second timestamp recorded by the other device of the current two devices for the first trigger processing signal or the second trigger processing signal, and may be configured to acquire the timestamp interval for the first trigger or the second trigger processing signal of the current two devices according to the first timestamp and the second timestamp.
[0062] For example, the above synchronization correction command may include a pre-stage correction command and / or a post-stage correction command. Among them, the pre-stage correction command is used to instruct the device corresponding to any timestamp synchronization deviation to adjust its own channel time delay according to any timestamp synchronization deviation, or the pre-stage correction command is used to instruct the synchronizer to adjust the time delay of the channel corresponding to any internal timestamp synchronization deviation of itself according to any timestamp synchronization deviation, and the synchronizer is connected to at least two devices respectively through at least two internal channels of itself. The post-stage correction command is used to instruct the controller to perform time delay compensation on the signal display method according to any timestamp synchronization deviation.
[0063] In one example, the above device The transmission module may further be configured to send a synchronization calibration command to two devices corresponding to any time stamp synchronization deviation and / or to send a synchronization calibration command to a synchronizer.
[0064] The device synchronization calibration apparatus can execute the device synchronization calibration method according to FIGS. 3 and 4, and includes corresponding devices and beneficial effects in the method.
[0065] FIG. 12 shows a device synchronization calibration apparatus according to an embodiment of the present application. As shown in FIG. 12, the apparatus may include an acquisition module 1201, a processing module 1202, a transmission module 1203, and a calibration module 1104. Among them, the acquisition module is configured to acquire a sampling signal. The processing module is configured to process the sampling signal to generate a time stamp. The transmission module is configured to send the time stamp to the controller and receive a synchronization calibration command that is sent by the controller and used to perform synchronization calibration on the device.
[0066] In one example, the processing module is configured to perform rough adjustment processing on the sampling signal, perform fine adjustment processing on the roughly adjusted sampling signal according to a trigger signal generated by the apparatus based on the sampling signal, and generate a time stamp according to the finely adjusted sampling signal.
[0067] In one example, the synchronization calibration command carries a time stamp synchronization deviation. The processing module is configured to adjust its own channel time delay according to the time stamp synchronization deviation.
[0068] In one example, the synchronization calibration command carries a time stamp synchronization deviation, and the transmission module is configured to send the synchronization calibration command to a synchronizer. Among them, the synchronization calibration command is used to instruct the synchronizer to adjust the time delay of the channel corresponding to the timestamp synchronization deviation inside the synchronizer according to the timestamp synchronization deviation. The synchronizer is connected to the above device via any one of at least two channels inside itself.
[0069] The above device synchronization calibration device can execute the device synchronization calibration method according to FIGS. 7 and 8, and has the corresponding device and beneficial effects in the method.
[0070] FIG. 13 is a structural schematic diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 13, the device includes a controller 1301, a memory 1302, an input device 1303, and an output device 1304. The number of controllers 1301 in the device may be one or more. In FIG. 13, one controller 1301 is taken as an example. The controller 1301, the memory 1302, the input device 1303, and the output device 1304 in the device may be connected via a bus or other means. In FIG. 13, the connection via a bus is taken as an example.
[0071] The memory 1302 may be configured to store software programs, computer-executable programs, and modules, such as program instructions / modules corresponding to the device synchronization calibration method in the embodiments of FIGS. 3, 4, 8, 9, and 10 (for example, the modules in the device synchronization calibration device in the embodiments of FIGS. 11 and 12), as a computer-readable storage medium. The controller 1301 executes various functional applications and data processing of the device by operating the software programs, instructions, and modules stored in the memory 1302, that is, realizes the above device synchronization calibration method.
[0072] Memory 1302 may mainly include a program storage area capable of storing an operating system and application programs necessary for at least one function, and a data storage area capable of storing data created according to the use of the terminal. Further, Memory 1302 may include a high-speed random access memory, and may further include a non-volatile memory, for example, at least one magnetic disk memory device, a flash memory device, or other non-volatile solid-state memory devices. In some examples, Memory 1302 may include a memory remotely set with respect to Controller 1301, and these remote memories can be connected to the terminal / server via a network. Examples of the above network include, but are not limited to, the Internet, an in-house network, a local area network, a mobile communication network, and combinations thereof.
[0073] Input device 1303 may be configured to receive input numerical or character information and generate key signal inputs related to user settings and function control of the device. Output device 1304 may include a display device such as a display.
[0074] The embodiments of the present application further provide a storage medium including computer-executable instructions, and when the computer-executable instructions are executed by a processor of a computer, they are configured to execute a device synchronization calibration method including the steps shown in the embodiments of FIGS. 3, 4, 8, 9, and 10.
[0075] From the description of the above embodiments, those skilled in the art can clearly understand that the present application may be implemented by software and the required general-purpose hardware, and of course, may also be implemented by hardware. Based on such an understanding, the technical aspect of the present application can essentially or the part contributing to the related art be expressed in the form of a software product. The computer software product may be stored in a computer-readable storage medium, for example, a flexible disk of a computer, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk, or an optical disk, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in multiple embodiments of the present application. The storage medium may be a non-transitory storage medium.
[0076] Exemplarily, the aspect shown in the present application is applicable between a synchronizer and a device and a controller. Among them, the synchronizer includes a trigger source. Suppose there are 4 devices, which are device a, device b, device c, and device d respectively. Select device a and device b as the current two devices and try to perform synchronization calibration on these two devices. Device a and device b respectively acquire sampling signals and perform rough adjustment processing on the sampling signals to obtain the sampling signals after rough adjustment processing. Then, according to the trigger signal transmitted by the trigger source in the synchronizer, the sampling signals after rough adjustment are subjected to fine adjustment processing, and a time stamp is generated according to the sampling signals after fine adjustment. Among them, the trigger signal is generated by device a or device b based on the sampling signal.
[0077] For example, the signal to be measured can be understood as the signal input to device a by a synchronizer. Device a samples the signal to be measured to form a sampling signal CLK.A. During the operation process of device a, based on the sampling signal CLK.A, device a further generates a trigger signal. Since the operating clock of device a itself starts with the clock cycle as a step and accumulates one count value from the initial value, that is, the time stamp of device a is roughly adjusted and the roughly adjusted time stamp is recorded. Then, device a finely adjusts the sampling signal after rough adjustment according to the trigger signal to obtain more accurate time position information, that is, the time stamp of device a is finely adjusted and the finely adjusted time stamp after fine adjustment is recorded. Finally, according to the superimposed result of the roughly adjusted time stamp and the finely adjusted time stamp, the time stamp of device a is finally determined.
[0078] When determining the timestamp synchronization deviation between device a and device b, the trigger source in the synchronizer sends a first synchronization signal to device a and device b. After device a and device b sample the first synchronization signal to obtain a sampling signal, the trigger modules in the two devices each generate one first trigger processing signal. Device a obtains a rough adjustment timestamp based on the sampling signal, and the controller obtains a fine adjustment timestamp based on the first trigger processing signal. Finally, the first timestamp for the first synchronization signal (or the first trigger processing signal) of device a is determined. Device b obtains a rough adjustment timestamp based on the sampling signal, and the controller obtains a fine adjustment timestamp based on the first trigger processing signal. Finally, the second timestamp for the first synchronization signal (or the first trigger processing signal) of device b is determined. The controller records the interval between the first timestamp and the second timestamp for the first synchronization signal (or the first trigger processing signal) of device a and device b, and determines it as the first timestamp interval. Similarly, the trigger source in the synchronizer sends a second synchronization signal to device a and device b. Device a and device b perform the same processing on the second synchronization signal, and the controller can obtain the third timestamp for the second synchronization signal (or the second trigger processing signal) of device a and the fourth timestamp for the second synchronization signal (or the second trigger processing signal) of device b. The controller records the interval between the third timestamp and the fourth timestamp for the second synchronization signal (or the second trigger processing signal) of device a and device b, and determines it as the second timestamp interval.
[0079] The controller determines the timestamp synchronization deviation between device a and device b according to the first timestamp interval and the second timestamp interval. It is judged whether the timestamp synchronization deviation between device a and device b is a set value. If the timestamp synchronization deviation is not the set value, the controller generates a synchronization correction command for synchronizing and correcting device a and device b.
[0080] (Appendix 1) A device synchronization calibration method applied to a controller, obtaining a time stamp synchronization deviation between every two of at least two devices; determining whether the time stamp synchronization deviation between every two of the two devices is a set value; generating a synchronization calibration command used to perform synchronization calibration on the two devices corresponding to any one of the time stamp synchronization deviations based on a determination result that any one of the time stamp synchronization deviations is not the set value, Device synchronization calibration method.
[0081] (Appendix 2) The obtaining of the time stamp synchronization deviation between every two of at least two devices described above is obtaining a first time stamp interval for a first trigger processing signal of the current two devices; obtaining a second time stamp interval for a second trigger processing signal of the current two devices; determining the time stamp synchronization deviation between the current two devices according to the first time stamp interval and the second time stamp interval; selecting two devices that are different from at least one of the current two devices from the at least two devices, and using the selected two devices as the current two devices; returning to execute the obtaining of the first time stamp interval for the first trigger processing signal of the current two devices, the obtaining of the second time stamp interval for the second trigger processing signal of the current two devices, the determining of the time stamp synchronization deviation between the current two devices according to the first time stamp interval and the second time stamp interval, and the selecting of two devices that are different from at least one of the current two devices from the at least two devices and using the selected two devices as the current two devices until the time stamp synchronization deviation between every two of at least two devices is obtained, The device synchronization calibration method described in Supplementary Note 1.
[0082] (Supplementary Note 3) Obtaining the first timestamp interval for the first trigger processing signal of the current two devices described above includes: Obtaining the first timestamp recorded by any one of the current two devices for the first trigger processing signal; Obtaining the second timestamp recorded by the other device of the current two devices for the first trigger processing signal; Obtaining the first timestamp interval for the first trigger processing signal of the current two devices according to the first timestamp and the second timestamp. Obtaining the second timestamp interval for the second trigger processing signal of the current two devices described above includes: Obtaining the third timestamp recorded by any one of the current two devices for the second trigger processing signal; Obtaining the fourth timestamp recorded by the other device of the current two devices for the second trigger processing signal; Obtaining the second timestamp interval for the second trigger processing signal of the current two devices according to the third timestamp and the fourth timestamp. The device synchronization calibration method described in Supplementary Note 2.
[0083] (Supplementary Note 4) The synchronization calibration command includes at least one of a pre-stage calibration command and a post-stage calibration command. The pre-stage calibration command is used to instruct the device corresponding to any one of the timestamp synchronization deviations to adjust its own channel time delay according to any one of the timestamp synchronization deviations, or It is used to instruct the synchronizer to adjust the time delay of the channel corresponding to any of the internal time stamp synchronization deviations of itself according to any of the time stamp synchronization deviations, and the synchronizer is respectively connected to the at least two devices through at least two internal channels of itself. The post-stage calibration command is used to instruct the controller to perform time delay compensation on the signal display method according to any of the time stamp synchronization deviations. The device synchronization calibration method described in Supplementary Note 1.
[0084] (Supplementary Note 5) When the synchronization calibration command includes the pre-stage calibration command, after generating the synchronization calibration command, transmitting the synchronization calibration command to two devices corresponding to any of the time stamp synchronization deviations, and further including at least any one of transmitting the synchronization calibration command to the synchronizer. The device synchronization calibration method described in Supplementary Note 1 or 4.
[0085] (Supplementary Note 6) A device synchronization calibration method applied to a device, comprising: acquiring a sampling signal, processing the sampling signal to generate a time stamp, transmitting the time stamp to a controller, and receiving a synchronization calibration command transmitted by the controller and used to perform synchronization calibration on the device. Device synchronization calibration method.
[0086] (Supplementary Note 7) Processing the sampling signal to generate a time stamp includes: performing coarse adjustment processing on the sampling signal, and performing fine adjustment processing on the coarsely adjusted sampling signal according to a trigger signal generated by the device based on the sampling signal. generating a time stamp according to the finely adjusted sampling signal The device synchronization calibration method according to Appendix 6.
[0087] (Appendix 8) The synchronization calibration command carries a time stamp synchronization deviation, further comprising adjusting a channel time delay of a device corresponding to the time stamp synchronization deviation according to the time stamp synchronization deviation. The device synchronization calibration method according to Appendix 6 or 7.
[0088] (Appendix 9) The synchronization calibration command carries a time stamp synchronization deviation, further comprising transmitting the synchronization calibration command to a synchronizer, the synchronization calibration command is used to instruct the synchronizer to adjust a time delay of a channel corresponding to the time stamp synchronization deviation inside the synchronizer according to the time stamp synchronization deviation, and the synchronizer is connected to the device through any one of at least two channels inside itself. The device synchronization calibration method according to Appendix 6 or 7.
[0089] (Appendix 10) an acquisition module configured to acquire a time stamp synchronization deviation between every two of at least two devices; a determination module configured to determine whether the time stamp synchronization deviation between every two of the two devices is a set value; a generation module configured to generate a synchronization calibration command used to perform synchronization calibration on the two devices corresponding to any one of the time stamp synchronization deviations based on a determination result that any one of the time stamp synchronization deviations is not a set value; and a device synchronization calibration apparatus.
[0090] (Appendix 11) an acquisition module configured to acquire a sampling signal A processing module configured to process the sampling signal to generate a time stamp; A transmission module configured to send the time stamp to a controller and receive a synchronization calibration command transmitted by the controller for use in performing synchronization calibration on a device. The device synchronization calibration apparatus comprises: Device synchronization calibration apparatus.
[0091] (Appendix 12) A memory, a processor, and a computer program stored in the memory and operable on the processor, wherein when the processor executes the computer program, the device synchronization calibration method according to any one of Appendices 1 to 5 or the device synchronization calibration method according to any one of Appendices 6 to 9 is realized. Electronic device.
[0092] (Appendix 13) A computer storage medium storing a computer program which, when executed by a processor, realizes the device synchronization calibration method according to any one of Appendices 1 to 5 or the device synchronization calibration method according to any one of Appendices 6 to 9. Computer storage medium.
Claims
1. A device synchronization calibration method applied to a controller, comprising: obtaining a timestamp synchronization deviation between every two of at least two devices; determining whether the timestamp synchronization deviation between every two of the two devices is a set value; generating a synchronization calibration command used to perform synchronization calibration on the two devices corresponding to any one of the timestamp synchronization deviations based on a determination result that any one of the timestamp synchronization deviations is not the set value; The obtaining of the timestamp synchronization deviation between every two of at least two devices described above includes: obtaining a first timestamp interval for a first trigger processing signal of the current two devices; obtaining a second timestamp interval for a second trigger processing signal of the current two devices; determining the timestamp synchronization deviation between the current two devices according to the first timestamp interval and the second timestamp interval; selecting two devices different from at least one of the current two devices from the at least two devices, and setting the selected two devices as the current two devices; returning to execute the obtaining of the first timestamp interval for the first trigger processing signal of the current two devices, the obtaining of the second timestamp interval for the second trigger processing signal of the current two devices, the determining of the timestamp synchronization deviation between the current two devices according to the first timestamp interval and the second timestamp interval, and the selecting of two devices different from at least one of the current two devices from the at least two devices and setting the selected two devices as the current two devices until the timestamp synchronization deviation between every two of the at least two devices is obtained; A device synchronization calibration method.
2. Obtaining the first timestamp interval for the first trigger processing signal of the two current devices described above involves: Obtaining the first timestamp recorded by one of the two current devices for the first trigger processing signal; Obtaining the second timestamp recorded by the other of the two current devices for the first trigger processing signal; Obtaining the first timestamp interval for the first trigger processing signal of the two current devices according to the first timestamp and the second timestamp, and Obtaining the second timestamp interval for the second trigger processing signal of the two current devices described above involves: Obtaining the third timestamp recorded by one of the two current devices for the second trigger processing signal; Obtaining the fourth timestamp recorded by the other of the two current devices for the second trigger processing signal; Obtaining the second timestamp interval for the second trigger processing signal of the two current devices according to the third timestamp and the fourth timestamp, and The device synchronization calibration method according to claim 1.
3. The synchronization calibration command includes at least one of a pre-stage calibration command and a post-stage calibration command. The pre-stage calibration command is used to instruct the device corresponding to any of the timestamp synchronization deviations to adjust its own channel time delay according to any of the timestamp synchronization deviations, or The pre-stage calibration command is used to instruct the synchronizer to adjust the time delay of the channel corresponding to any of the timestamp synchronization deviations within itself according to any of the timestamp synchronization deviations. The synchronizer is connected to the at least two devices respectively through at least two channels within itself. The post-stage calibration command is used to instruct the controller to perform time delay compensation on the signal display method according to any of the timestamp synchronization deviations. The device synchronization calibration method according to claim 1.
4. When the synchronization calibration command includes a pre-stage calibration command, after generating the synchronization calibration command, at least one of transmitting the synchronization calibration command to two devices corresponding to any of the timestamp synchronization deviations and transmitting the synchronization calibration command to a synchronizer is further included. The device synchronization calibration method according to claim 3.
5. A memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the device synchronization calibration method according to claim 1 is realized. An electronic device.
6. A computer storage medium storing a computer program that, when executed by a processor, realizes the device synchronization calibration method according to claim 1. A computer storage medium.
7. An acquisition module configured to acquire a timestamp synchronization deviation between every two of at least two devices. A determination module configured to determine whether the timestamp synchronization deviation between every two of the two devices is a set value. A generation module configured to generate a synchronization calibration command used to perform synchronization calibration on two devices corresponding to any of the timestamp synchronization deviations based on a determination result that any of the timestamp synchronization deviations is not a set value. The acquisition of the timestamp synchronization deviation between every two of at least two devices described above is Obtaining a first timestamp interval for the first trigger processing signal of two current devices; Obtaining a second timestamp interval for the second trigger processing signal of the two current devices; Determining a timestamp synchronization deviation between the two current devices according to the first timestamp interval and the second timestamp interval; Selecting two devices that are different from at least one of the two current devices among the at least two devices, and setting the selected two devices as the two current devices; Repeating the steps of obtaining a first timestamp interval for the first trigger processing signal of the two current devices, obtaining a second timestamp interval for the second trigger processing signal of the two current devices, determining a timestamp synchronization deviation between the two current devices according to the first timestamp interval and the second timestamp interval, and selecting two devices that are different from at least one of the two current devices among the at least two devices and setting the selected two devices as the two current devices until the timestamp synchronization deviation between each pair of the at least two devices is obtained; Device synchronization calibration apparatus.
Citation Information
Patent Citations
Transmission apparatus, receiving apparatus and reproduction system
JP2014216706A
System and Method for Time Stamp Synchronization
US20190155327A1
Techniques For Determining Timestamp Inaccuracies In A Transceiver
US20190319729A1