WO2022057844A1 - 设备同步校准方法、装置、设备及存储介质 - Google Patents
设备同步校准方法、装置、设备及存储介质 Download PDFInfo
- Publication number
- WO2022057844A1 WO2022057844A1 PCT/CN2021/118635 CN2021118635W WO2022057844A1 WO 2022057844 A1 WO2022057844 A1 WO 2022057844A1 CN 2021118635 W CN2021118635 W CN 2021118635W WO 2022057844 A1 WO2022057844 A1 WO 2022057844A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- time stamp
- synchronization
- devices
- calibration
- deviation
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/14—Time supervision arrangements, e.g. real time clock
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/12—Synchronisation of different clock signals provided by a plurality of clock generators
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Definitions
- the embodiments of the present application relate to signal processing technologies, for example, to a device synchronization calibration method, apparatus, device, and storage medium.
- the parallel mode and the series mode are usually used to align the channels between multiple devices.
- the parallel mode is shown in Figure 1, that is, using a synchronization source (or called a synchronization machine) to connect multiple devices in parallel, and through the synchronization source, the synchronization signals and clock signals between multiple devices are strictly synchronized and aligned.
- the serial mode is shown in Figure 2, that is, multiple devices are connected in series, and the delay of multiple devices is adjusted or supplemented by measuring the delay of the serial path.
- the above two schemes both need to be synchronized based on the operating clock, and the clock synchronization is further divided into a parallel clock synchronization scheme and a serial clock synchronization scheme.
- the parallel clock synchronization scheme can be understood as outputting multiple synchronous clocks to multiple devices from a standard clock source, so that the frequency and phase of the clocks of the multiple devices are kept consistent.
- a complex clock source circuit needs to be used to ensure strict alignment, calibration and testing, and the circuit cost is high.
- Serial clock synchronization can be understood as a clock source provides a clock, multiple devices are connected in series by clocks, and multiple devices use a phase locked loop (Phase Locked Loop, PLL) to perform phase detection and synchronization tracking of the clock to achieve multiple devices.
- PLL Phase Locked Loop
- the clock frequency is the same between.
- due to the problem of clock path delay there will be a relatively fixed clock phase difference, which will lead to the accumulation of errors between multiple devices connected in series.
- the present application provides a device synchronization calibration method, device, device and storage medium, aiming at realizing synchronization calibration among multiple devices through time stamp synchronization deviation.
- an embodiment of the present application provides a device synchronization calibration method, which is applied to a controller, including: acquiring a time stamp synchronization deviation between at least two devices;
- the synchronization calibration instruction is used to perform synchronization calibration on two devices corresponding to the synchronization deviation of any time stamp.
- an embodiment of the present application provides a device synchronization calibration method, which is applied to a device and includes: acquiring a sampling signal;
- the timestamp is sent to the controller.
- an embodiment of the present application provides a device synchronization calibration device, including:
- An acquisition module set to acquire the timestamp synchronization deviation between at least two devices
- a judgment module configured to judge whether the time stamp synchronization deviation between the at least two devices is a set value
- the generation module is set to generate a synchronization calibration instruction when the synchronization deviation of any time stamp is not the set value;
- the synchronization calibration instruction is used to perform synchronization calibration on two devices corresponding to the synchronization deviation of any time stamp.
- an embodiment of the present application provides a device synchronization calibration device, including:
- the acquisition module is set to acquire the sampling signal
- a processing module configured to process the sampled signal to generate a timestamp
- a transmission module configured to send the timestamp to the controller.
- an embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and running on the processor, when the processor executes the computer program, the processor implements the following: The device synchronization calibration method provided by the above embodiment.
- an embodiment of the present application provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a processor, the device synchronization calibration method provided by the above embodiment is implemented.
- Fig. 1 is the schematic diagram of a plurality of devices in parallel in the related art
- Fig. 2 is a schematic diagram of a plurality of devices connected in series in the related art
- FIG. 3 is a flowchart of a method for synchronizing calibration of equipment in an embodiment of the present application
- FIG. 4 is a flowchart of a method for synchronizing calibration of equipment in an embodiment of the present application
- FIG. 5 is a schematic diagram of a device synchronization calibration framework in an embodiment of the present application.
- FIG. 6 is a schematic diagram of a time stamp in an embodiment of the present application.
- FIG. 7 is a schematic diagram of a synchronization calibration result in an embodiment of the present application.
- FIG. 8 is a flowchart of a device synchronization calibration method in an embodiment of the present application.
- FIG. 9 is a flowchart of a device synchronization calibration method in an embodiment of the present application.
- FIG. 10 is a flowchart of a method for synchronizing calibration of equipment in an embodiment of the present application
- FIG. 11 is a schematic structural diagram of an apparatus for synchronizing and calibrating equipment in an embodiment of the present application.
- FIG. 12 is a schematic structural diagram of an apparatus for synchronizing and calibrating equipment in an embodiment of the present application.
- FIG. 13 is a schematic structural diagram of an electronic device in an embodiment of the present application.
- FIG. 3 is a flowchart of a device synchronization calibration method provided by an embodiment of the present application. As shown in FIG. 3 , the method can be applied to a controller, and the method can include but is not limited to the following steps:
- the time stamp synchronization deviation between the two devices in this step can be understood as the deviation between the time stamp intervals recorded by the two devices for different signals respectively. b Deviation between the intervals of time stamps recorded for the same two signals. When there are more than two devices, all devices can be combined in pairs to determine the time stamp synchronization deviation between the two devices in each combination.
- controller may be a controller in an independent device, or may be a controller within the above-mentioned device.
- the above-mentioned set value may be 0, or may be a fixed deviation value between two devices.
- the time stamp synchronization deviation between the two devices is the set value, it means that the transmission channels of the two devices are kept synchronized.
- the set value when the set value is 0, describe the interval between the time stamps of the two signals recorded by device a and the time stamps of the same two signals recorded by device b.
- the deviation is 0, that is, the transmission channels of the two devices are synchronized.
- the set value is a fixed deviation value, that is, there is a certain deviation between the transmission channel of device a and the transmission channel of device b, if the interval between the time stamps of the two signals recorded by device a is different from that of device b If the deviation between the time stamp intervals of the same two signals recorded is still the fixed deviation value, it means that the transmission channels between the two devices are kept synchronized.
- Any time stamp synchronization deviation in this step may be understood as the time stamp synchronization deviation between the two devices corresponding to the synchronization deviation. If the synchronization deviation of any time stamp is not the set value, it means that the data transmission channel between the two devices corresponding to the synchronization deviation of any time stamp is out of synchronization.
- the controller generates a synchronization calibration instruction.
- the synchronous calibration instruction can be used to synchronously calibrate the two devices corresponding to any of the above-mentioned time stamp synchronization deviations.
- the synchronous calibration instruction may carry a calibration deviation, and the controller may perform synchronous calibration on the corresponding two devices through the calibration deviation.
- An embodiment of the present application provides a device synchronization calibration method, which can be applied to a controller, and includes acquiring the time stamp synchronization deviation between at least two devices; judging the time stamp between at least two devices Whether the synchronization deviation is the set value; if the synchronization deviation of any time stamp is not the set value, a synchronization calibration command is generated; wherein, the synchronization calibration command is used to synchronize the two devices corresponding to the synchronization deviation of any time stamp calibration. In this way, the synchronization delay between multiple devices can be effectively improved by the time stamp synchronization deviation.
- step S301 may include, but is not limited to, the following steps:
- the first trigger processing signal in this step may be the synchronization machine outputting the synchronization signal to the device a and the device b, which are respectively transmitted to the trigger module of the corresponding device via the input channels of the device a and the device b. signal generated later.
- the manner of obtaining the first time stamp interval for the first trigger processing signal may be: obtaining the first time stamp recorded by any one of the two current devices for the first trigger processing signal, and obtaining the other device among the two current devices For the second time stamp recorded by the first trigger processing signal, obtain the time stamp interval between the current two devices for the first trigger processing signal according to the first time stamp and the second time stamp.
- the signal transmitted by the input channel can be transmitted to the data processing module through the delay module, and after the trigger module transmits the first trigger processing signal to the data processing module, the data processing module delays the first trigger processing signal.
- the signal transmitted by the time module is processed, and the current time stamp is recorded, which is the first time stamp.
- the data processing module performs the same processing process and records the current time stamp as the second time stamp. In this way, the interval between the first timestamp and the second timestamp recorded by the device a and the device b respectively for the first trigger processing signal is the first timestamp interval.
- the synchronization signal can be obtained by aligning the channels inside a device, for example, aligning the data channel and the trigger channel, using the channel-aligned device to calibrate the output of the synchronizing machine, and then aligning the calibrated synchronizing machine.
- the output end of the device is connected to at least two devices, and the trigger source in the synchronization machine transmits the synchronization signal to the at least two devices.
- the output end of the synchronization machine is connected to two devices, and transmits synchronization signals to the two devices.
- S402 Acquire a second time stamp interval of the current two devices processing signals for the second trigger.
- the second trigger processing signal in this step may be that after the synchronizing machine transmits another synchronizing signal to equipment a and equipment b, respectively, the second trigger processing signal in equipment a and equipment b
- the trigger module generates a signal based on the synchronization signal.
- the manner of obtaining the second time stamp interval for the second trigger processing signal may be: obtaining the third time stamp recorded by any one of the two current devices for the second trigger processing signal, and obtaining the other device among the two current devices For the fourth time stamp recorded by the second trigger processing signal, obtain the time stamp interval between the current two devices for the second trigger processing signal according to the third time stamp and the fourth time stamp.
- the data processing module After the trigger module inside the device a transmits the second trigger processing signal to the data processing module, the data processing module receives the signal transmitted by the input channel transmitted by the delay module, and performs processing on the signal transmitted by the delay module for the second trigger processing signal. processing, while recording the first timestamp, after the trigger module inside the 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 second timestamp, Then, the interval between the first timestamp and the second timestamp recorded by the device a and the device b respectively is the second timestamp interval.
- the absolute value of the difference between the first time stamp interval and the second time stamp interval determined by the two current devices for the two synchronization signals is taken as the time stamp synchronization deviation.
- the time stamp synchronization deviation Offset_ab between device a and device b can be determined by the following formula, namely:
- Offset_ab
- a.TS1 is the time stamp recorded by device a for the first trigger processing signal
- b.TS1 is the time stamp recorded by device b for the first trigger processing signal
- a.TS2 is the time stamp recorded by device a for the second trigger processing signal
- is the first time stamp interval between device a and device b for the first trigger processing signal
- is the second time stamp interval for device a and device b to process signals for the second trigger.
- the above time stamp mainly contains two parts of information, one part is the count value generated by the working clock of each device, and the count value accumulated from the initial value (for example, 0) with the clock cycle as the step, and the other part is the fine trigger by signal trigger Judgment to obtain more accurate time and location information. That is, a.TS1, b.TS1, a.TS2, and b.TS2 are all composed of two parts, a coarse adjustment and a fine adjustment. Exemplarily, the two parts may be shown in FIG. 6 .
- S404 Select two devices that are different from at least one of the current two devices from the at least two devices, and use the selected two devices as the current two devices.
- the device a and device can be selected. At least one of two different devices in b, for example, select device a and device c, or device c and device d, etc., and use the selected two devices as the current two devices.
- the above-mentioned steps S401 to S404 can be repeatedly performed. For example, for the selected device a and device c, after determining the time stamp synchronization deviation between the two devices, the device a and device a can be reselected. Two devices with different device c, and continue to determine the time stamp synchronization deviation between the selected two devices, until the time stamp synchronization deviation between all devices in at least two devices is obtained.
- the controller may also send a synchronization calibration instruction to the two devices corresponding to any time stamp synchronization deviation, and/or send a synchronization calibration instruction to the synchronization machine.
- the synchronous calibration command may include a previous-stage calibration command, and/or a subsequent-stage calibration command.
- the previous-level calibration instruction is used to instruct the device corresponding to any timestamp synchronization deviation to adjust its own channel delay according to any timestamp synchronization deviation; or, the previous-level calibration instruction is used to instruct the synchronization machine to synchronize according to any timestamp
- the deviation adjusts the delay of the channel corresponding to the synchronization deviation of any time stamp within itself, and the synchronization machine is connected to at least two devices through at least two channels within itself.
- the previous-level calibration instruction can be used for the device corresponding to the time stamp synchronization deviation to adjust its own channel delay according to the time stamp synchronization deviation, or, by the synchronization
- the machine adjusts the delay of the channel connected to the corresponding device according to the time stamp synchronization deviation.
- the post-level calibration instruction is used to instruct the controller to perform delay compensation on the signal display mode according to any time stamp synchronization deviation.
- Figure 7 shows the result of synchronizing the two devices through the synchronizing calibration command.
- the measured signal in Figure 7 can be understood as the signal input by the synchro machine to the two devices at the connection point.
- CLK.A and CLK.B are respectively It is the signal waveform sampled by the two devices to the measured signal
- SYNC.A and SYNC.B are the signal waveforms after the two devices are synchronized.
- FIG. 8 is a flowchart of a device synchronization calibration method provided by an embodiment of the present application. The method can be applied to a device. As shown in FIG. 8 , the method can include the following steps:
- the sampling signal can be understood as a signal transmitted by a synchronizing machine connected to the device.
- S802. Process the sampled signal to generate a time stamp.
- the device may process the acquired sampled signal in two ways: coarse adjustment and fine adjustment. For example, rough adjustment processing is performed on the sampling signal, and fine adjustment processing is performed on the roughly adjusted sampling signal according to the trigger signal, and a timestamp is generated based on the finely adjusted sampling signal,
- the trigger signal in the above process is generated by the device based on the sampling signal.
- the controller can be a controller in an independent device, or can also be a controller inside the device. After the device generates the time stamp, the time stamp can be transmitted to the controller.
- An embodiment of the present application provides a device synchronization calibration method, the method includes acquiring a sampling signal, processing the sampling signal to generate a time stamp, sending the time stamp to a controller, and receiving a synchronization calibration instruction sent by the controller, wherein the synchronization
- the calibration command is used to synchronize the calibration of the device.
- the controller can judge whether the corresponding device is synchronized through the timestamp.
- the synchronization calibration command sent by the controller is received to calibrate the device, thereby effectively improving the synchronization delay between multiple devices. .
- the synchronization calibration instruction may carry a time stamp synchronization deviation, and the time stamp synchronization deviation may be calculated by the controller according to the time stamp in the foregoing step S803.
- the method may further include but not limited to the following steps:
- the synchronization calibration instruction carries a time stamp synchronization deviation
- the time stamp synchronization deviation may be calculated by the controller according to the time stamp in the foregoing step S803.
- the method may further include but not limited to the following steps:
- the synchronization calibration instruction is used to instruct the synchronization machine to adjust the delay of the channel corresponding to the time stamp synchronization deviation in the synchronization machine according to the time stamp synchronization deviation.
- the synchronous machine can be connected to the device through any one of the at least two channels within itself, then the device can send a synchronization calibration instruction to the synchronous machine based on the channel, and the synchronous machine can adjust the channel connected to the device according to the synchronization calibration instruction. Perform calibration.
- FIG. 11 is a device synchronization calibration apparatus provided by an embodiment of the present application. As shown in FIG. 11 , the apparatus may include: an acquisition module 1101 , a determination module 1102 , and a generation module 1103 ;
- the obtaining module is set to obtain the time stamp synchronization deviation between at least two devices
- the judgment module is set to judge whether the time stamp synchronization deviation between at least two devices is a set value
- the generation module is set to generate a synchronization calibration instruction when the synchronization deviation of any time stamp is not the set value;
- the synchronization calibration instruction is used to perform synchronization calibration on two devices corresponding to any time stamp synchronization deviation.
- the above obtaining module may be configured to implement the following steps:
- Step 1 Obtain the first time stamp interval of the current two devices for the first trigger processing signal
- Step 2 Obtain the second time stamp interval of the current two devices for the second trigger processing signal:
- Step 3 Determine the current timestamp synchronization deviation between the two devices according to the first timestamp interval and the second timestamp interval;
- Step 4 Select two devices that are different from at least one of the current two devices from the at least two devices, and use the selected two devices as the current two devices;
- the obtaining module may be configured to obtain the first time stamp recorded by any one of the current two devices for the first trigger processing signal or the second trigger processing signal; obtain the first time stamp that is recorded by the other device in the current two devices for the first trigger processing signal the second time stamp recorded by the signal or the second trigger processing signal; and obtaining, according to the first time stamp and the second time stamp, the time stamp interval of the current two devices processing the signal for the first trigger or the second trigger.
- the above-mentioned synchronous calibration instruction may include a pre-level calibration instruction, and/or a post-level calibration instruction;
- the previous-level calibration instruction is used to instruct the device corresponding to any timestamp synchronization deviation to adjust its own channel delay according to any timestamp synchronization deviation; or, the previous-level calibration instruction is used to instruct the synchronization machine to synchronize according to any timestamp The deviation adjusts the delay of the channel corresponding to the synchronization deviation of any timestamp within itself, and the synchronization machine is connected to at least two devices through at least two channels within itself;
- the post-level calibration instruction is used to instruct the controller to perform delay compensation on the signal display mode according to any time stamp synchronization deviation.
- the above apparatus may further include a transmission module
- the transmission module is configured to send a synchronization calibration instruction to two devices corresponding to any time stamp synchronization deviation; and/or, to send a synchronization calibration instruction to the synchronization machine.
- the above-mentioned device synchronization calibration device can execute the device synchronization calibration method provided in FIG. 3 and FIG. 4 , and has corresponding components and beneficial effects in the method.
- FIG. 12 is a device synchronization calibration device provided by an embodiment of the present application. As shown in FIG. 12 , the device may include: an acquisition module 1201 , a processing module 1202 , a transmission module 1203 , and a calibration module 1104 ;
- the acquisition module is set to acquire the sampling signal
- the processing module is set to process the sampled signal to generate a timestamp
- the transmission module is configured to send the time stamp to the controller; and receive the synchronous calibration instruction sent by the controller, wherein the synchronous calibration instruction is used to perform synchronous calibration on the device.
- the above-mentioned 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 the trigger signal; and generate a timestamp according to the finely adjusted sampling signal;
- the trigger signal is generated by the above-mentioned apparatus based on the sampling signal.
- the synchronization calibration instruction carries a timestamp synchronization offset
- the processing module is set to adjust its own channel delay according to the time stamp synchronization deviation.
- the synchronization calibration instruction carries a time stamp synchronization deviation;
- the above-mentioned transmission module is configured to send the synchronization calibration instruction to the synchronization machine;
- the synchronization calibration instruction is used to instruct the synchronization machine to adjust the delay of the channel corresponding to the time stamp synchronization deviation in the synchronization machine according to the time stamp synchronization deviation.
- the synchronous machine is connected to the above-mentioned device through any one of at least two channels inside itself.
- the above device synchronization calibration device can execute the device synchronization calibration method provided in FIG. 7 and FIG. 8 , and has corresponding components and beneficial effects in the method.
- FIG. 13 is a schematic structural diagram of an electronic device provided in Embodiment 13 of the present application.
- 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 can be is one or more, and a controller 1301 is taken as an example in FIG. 13; the controller 1301, memory 1302, input device 1303 and output device 1304 in the device can be connected through a bus or other means. In FIG. 13, the connection through the bus is example.
- the memory 1302 can be configured to store software programs, computer-executable programs, and modules, such as the corresponding device synchronization calibration methods in the embodiments of FIGS. 3 , 4 , 8 , 9 and 10 .
- Program instructions/modules eg, modules in the device synchronization calibration apparatus in the embodiments of FIG. 11 and FIG. 12 .
- the controller 1301 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 1302, ie, implements the above-mentioned device synchronization calibration method.
- the memory 1302 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function; the stored data area may store data created according to the use of the terminal, and the like. Additionally, memory 1302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some instances, memory 1302 may include memory located remotely from controller 1301, which may be connected to a terminal/server through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
- the input device 1303 may be configured to receive input numerical or character information, and to generate key signal input related to user settings and function control of the device.
- the output device 1304 may include a display device such as a display screen.
- Embodiments of the present application further provide a storage medium containing computer-executable instructions, the computer-executable instructions are configured to execute a device synchronization calibration method when executed by a computer processor, and the method includes FIG. 3 , FIG. 4 , and FIG. 8 , the steps shown in the embodiments of FIG. 9 and FIG. 10 .
- the present application can be implemented by means of software and necessary general-purpose hardware, and certainly can also be implemented by hardware.
- the technical solutions of the present application can be embodied in the form of software products in essence or the parts that make contributions to related technologies, and the computer software products can be stored in a computer-readable storage medium, such as a computer floppy disk, Read-Only Memory (ROM), Random Access Memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including several instructions to make a computer device (which can be a personal computer, A server, or a network device, etc.) executes the methods described in the various embodiments of the present application.
- the storage medium may be a non-transitory storage medium.
- the solution shown in this application can be applied between synchronizing machines, devices and controllers.
- the synchronization machine includes a trigger source.
- the synchronization machine includes a trigger source.
- the synchronization machine includes a trigger source.
- the synchronization machine includes a trigger source.
- the synchronization machine includes a trigger source.
- the synchronization machine includes a trigger source.
- the synchronization machine includes a trigger source.
- the a and device b obtain the sampling signal respectively, and perform rough adjustment processing on the sampling signal to obtain the sampling signal after the rough adjustment processing; according to the trigger signal sent by the trigger source in the synchronous machine, the rough adjustment sampling signal is subjected to fine adjustment processing , a time stamp is generated according to the finely adjusted sampling signal, wherein the trigger signal is generated by device a or device b based on the sampling signal.
- the signal under test can be understood as the signal input by the synchronous machine to the device a.
- the device a samples the signal under test to form the sampling signal CLK.A.
- the device a A trigger signal is also generated. Since the working clock of device a will first step by the clock cycle, a count value will be accumulated from the initial value, that is, the timestamp of device a will be roughly adjusted, and the roughly adjusted timestamp will be recorded.
- device a will perform fine adjustment processing on the sampled signal after the rough adjustment according to the trigger signal to obtain more accurate time and position information, that is, finely adjust the time stamp of device a, record the fine adjustment time stamp after fine adjustment, and finally According to the superposition result of the coarse adjustment time stamp and the fine adjustment time stamp, the time stamp of device a is finally determined.
- the trigger source in the synchronization machine sends a first synchronization signal to device a and device b. After device a and device b sample the first synchronization signal to obtain the sampled signal, The trigger modules in the two devices respectively generate a first trigger processing signal.
- Device a obtains a rough adjustment time stamp based on the sampling signal, the controller obtains a fine adjustment time stamp based on the first trigger processing signal, and finally determines the first time stamp of device a for the first synchronization signal (or the first trigger processing signal); device b
- the coarse adjustment time stamp is obtained based on the sampling signal, the controller obtains the fine adjustment time stamp based on the first trigger processing signal, and finally the second time stamp of the device b for the first synchronization signal (or the first trigger processing signal) is determined.
- the controller records the interval between the first time stamp and the second time stamp of the device a and the device b for the first synchronization signal (or for the first trigger processing signal), and determines it as the first time stamp interval.
- the trigger source in the synchronization machine sends a second synchronization signal to device a and device b, and device a and device b perform the same processing on the second synchronization signal.
- the controller records the interval between the third time stamp and the fourth time stamp of device a and device b for the second synchronization signal (or for the second trigger processing signal), and determines it as the second time stamp interval.
- the controller determines the time stamp synchronization deviation between device a and device b according to the first time stamp interval and the second time stamp interval. Determine whether the time stamp synchronization deviation between device a and device b is the set value. If the time stamp synchronization deviation is not the set value, the controller generates a synchronization calibration instruction for the synchronization calibration of device a and device b. .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Hardware Redundancy (AREA)
- Electric Clocks (AREA)
Abstract
Description
Claims (13)
- 一种设备同步校准方法,应用于控制器,包括:获取至少两台设备中每两台设备之间的时间戳同步偏差;判断所述每两台设备之间的时间戳同步偏差是否为设定值;基于任一时间戳同步偏差不为设定值的判断结果,生成同步校准指令;其中,所述同步校准指令用于对与所述任一时间戳同步偏差对应的两台设备进行同步校准。
- 根据权利要求1所述的方法,其中,所述获取至少两台设备中每两台设备之间的时间戳同步偏差,包括:获取当前两台设备针对第一触发处理信号的第一时间戳间隔;获取所述当前两台设备针对第二触发处理信号的第二时间戳间隔;根据所述第一时间戳间隔与所述第二时间戳间隔,确定所述当前两台设备之间的时间戳同步偏差;在所述至少两台设备中选取与当前两台设备中至少一台不同的两台设备,并将选取的两台设备作为当前两台设备;返回执行所述获取当前两台设备针对第一触发处理信号的第一时间戳间隔;获取所述当前两台设备针对第二触发处理信号的第二时间戳间隔;根据所述第一时间戳间隔与所述第二时间戳间隔,确定所述当前两台设备之间的时间戳同步偏差;在所述至少两台设备中选取与当前两台设备中至少一台不同的两台设备,并将选取的两台设备作为当前两台设备的步骤,直至获取所述至少两台设备中每两台设备之间的时间戳同步偏差。
- 根据权利要求2所述方法,其中,所述获取当前两台设备针对第一触发处理信号的第一时间戳间隔,包括:获取所述当前两台设备中任一设备针对第一触发处理信号记录的第一时间戳;获取所述当前两台设备中另一设备针对所述第一触发处理信号记录的第二时间戳;根据所述第一时间戳和所述第二时间戳获取所述当前两台设备针对所述第一触发处理信号的第一时间戳间隔;所述获取所述当前两台设备针对第二触发处理信号的第二时间戳间隔,包括:获取所述当前两台设备中任一设备针对第二触发处理信号记录的第三时间戳;获取所述当前两台设备中另一设备针对所述第二触发处理信号记录的第四时间戳;根据所述第三时间戳和第四时间戳获取所述当前两台设备针对所述第二触发处理信号的第二时间戳间隔。
- 根据权利要求1所述的方法,其中,所述同步校准指令包括前级校准指令,和后级校准指令中的至少一种;所述前级校准指令用于指示与所述任一时间戳同步偏差对应的设备根据所述任一时间戳同步偏差调整自身的通道延时;或者,所述前级校准指令用于指示同步机根据所述任一时间戳同步偏差调整自身内部与所述任一时间戳同步偏差对应的通道的延时,所述同步机通过自身内部的至少两个通道分别与所述至少两台设备连接;所述后级校准指令用于指示所述控制器根据所述任一时间戳同步偏差对信号显示方式进行延时补偿。
- 根据权利要求1或4所述的方法,在所述同步校准指令包括前级校准指令的情况下,在生成同步校准指令之后,所述方法还包括以下至少之一:向与所述任一时间戳同步偏差对应的两台设备发送所述同步校准指令;和向同步机发送所述同步校准指令。
- 一种设备同步校准方法,应用于设备,包括:获取采样信号;对所述采样信号进行处理产生时间戳;将所述时间戳发送至控制器;接收所述控制器发送的同步校准指令,其中所述同步校准指令用于对设备进行同步校准。
- 根据权利要求6所述的方法,其中,对所述采样信号进行处理产生时间戳,包括:对所述采样信号进行粗调整处理;根据触发信号对粗调整后的采样信号进行微调整处理;根据微调整后的采样信号产生时间戳;其中,所述触发信号是所述设备基于所述采样信号生成的。
- 根据权利要求6或7所述的方法,其中,所述同步校准指令中携带有时间戳同步偏差,所述方法还包括:根据所述时间戳同步偏差调整所述时间戳同步偏差对应的设备的通道延时。
- 根据权利要求6或7所述的方法,其中,所述同步校准指令中携带有时间戳同步偏差,所述方法还包括:将所述同步校准指令发送至同步机,其中,所述同步校准指令用于指示所述同步机根据所述时间戳同步偏差调整所述同步机内部与所述时间戳同步偏差对应的通道的延时,所述同步机通过自身内部的至少两个通道中的任意一个通道与所述设备连接。
- 一种设备同步校准装置,包括:获取模块,设置为获取至少两台设备中每两台设备之间的时间戳同步偏差;判断模块,设置为判断所述每两台设备之间的时间戳同步偏差是否为设定值;生成模块,设置为基于任一时间戳同步偏差不为设定值的判断结果,生成同步校准指令;其中,所述同步校准指令用于对与所述任一时间戳同步偏差对应的两台设备进行同步校准。
- 一种设备同步校准装置,包括:获取模块,设置为获取采样信号;处理模块,设置为对所述采样信号进行处理产生时间戳;传输模块,设置为将所述时间戳发送至控制器;接收所述控制器发送的同步校准指令,其中所述同步校准指令用于对设备进行同步校准。
- 一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现如权利要求1-5任一项所述的设备同步校准方法,或者,权利要求6-9任一项所述的设备同步校准方法。
- 一种计算机存储介质,存储有计算机程序,所述计算机程序被处理器执行时,实现如权利要求1-5任一项所述的设备同步校准方法,或者,权利要求6-9任一项所述的设备同步校准方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020237012479A KR20230066106A (ko) | 2020-09-17 | 2021-09-16 | 설비 동기화 교정 방법, 장치, 설비 및 저장 매체 |
JP2023517788A JP2023541963A (ja) | 2020-09-17 | 2021-09-16 | 機器同期校正方法、装置、機器及び記憶媒体 |
US18/026,672 US20230341892A1 (en) | 2020-09-17 | 2021-09-16 | Device synchronous calibration method and apparatus, devices, and storage medium |
EP21868666.5A EP4216019A1 (en) | 2020-09-17 | 2021-09-16 | Device synchronous calibration method and apparatus, devices, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010980816.0 | 2020-09-17 | ||
CN202010980816.0A CN112214065B (zh) | 2020-09-17 | 2020-09-17 | 设备同步校准方法、装置、设备及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022057844A1 true WO2022057844A1 (zh) | 2022-03-24 |
Family
ID=74050428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/118635 WO2022057844A1 (zh) | 2020-09-17 | 2021-09-16 | 设备同步校准方法、装置、设备及存储介质 |
Country Status (6)
Country | Link |
---|---|
US (1) | US20230341892A1 (zh) |
EP (1) | EP4216019A1 (zh) |
JP (1) | JP2023541963A (zh) |
KR (1) | KR20230066106A (zh) |
CN (1) | CN112214065B (zh) |
WO (1) | WO2022057844A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115932351A (zh) * | 2023-03-09 | 2023-04-07 | 深圳市鼎阳科技股份有限公司 | 一种示波器级联的延时校正方法、示波器、终端及介质 |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112214065B (zh) * | 2020-09-17 | 2022-10-21 | 北京普源精电科技有限公司 | 设备同步校准方法、装置、设备及存储介质 |
CN113390452B (zh) * | 2021-06-16 | 2023-08-18 | 北京康斯特仪表科技股份有限公司 | 一种开关型仪表校准方法及装置 |
CN113726466B (zh) * | 2021-07-21 | 2023-12-01 | 歌尔股份有限公司 | 一种可穿戴设备及其信号采集方法 |
CN114006674B (zh) * | 2021-12-31 | 2022-04-01 | 深圳市海清视讯科技有限公司 | 出勤设备的校时方法、装置、设备及存储介质 |
TWI835438B (zh) * | 2022-11-29 | 2024-03-11 | 瑞昱半導體股份有限公司 | 媒體通訊系統及其具有訊號同步機制的媒體通訊裝置及方法 |
CN116887077B (zh) * | 2023-09-07 | 2023-11-24 | 南通市计量检定测试所 | 一种大型设备多仪器同步采集数据分析处理方法 |
CN117713983B (zh) * | 2024-02-05 | 2024-05-07 | 浙江华创视讯科技有限公司 | 时钟同步监测方法、装置、级联系统和计算机设备 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101515831A (zh) * | 2008-02-22 | 2009-08-26 | 杭州华三通信技术有限公司 | 一种时间同步传递方法、系统及装置 |
CN109547146A (zh) * | 2019-01-14 | 2019-03-29 | 北京邮电大学 | 一种基于超宽带无线通信的无线时钟同步方法及装置 |
US10411793B1 (en) * | 2018-06-20 | 2019-09-10 | Goodrich Corporation | Data transport and time synchronization for ISR systems |
CN111102689A (zh) * | 2019-12-11 | 2020-05-05 | 珠海格力电器股份有限公司 | 时钟同步的调整方法及装置 |
CN112214065A (zh) * | 2020-09-17 | 2021-01-12 | 北京普源精电科技有限公司 | 设备同步校准方法、装置、设备及存储介质 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9306693B2 (en) * | 2013-11-15 | 2016-04-05 | Broadcom Corporation | Time synchronization architecture in a network device |
CN105099647A (zh) * | 2014-05-16 | 2015-11-25 | 中兴通讯股份有限公司 | 一种同步方法、控制器、同步节点及同步网络 |
CN104836654B (zh) * | 2015-04-15 | 2018-06-22 | 浙江大学 | 一种基于Ethernet POWERLINK的时钟同步方法 |
CN109842603A (zh) * | 2017-11-29 | 2019-06-04 | 北京通号国铁城市轨道技术有限公司 | 一种时间同步方法及装置 |
CN108923876B (zh) * | 2018-06-27 | 2020-11-27 | 北京旷视机器人技术有限公司 | 时间同步方法、装置及系统 |
CN111008239B (zh) * | 2018-10-07 | 2023-03-24 | 上海希路智能科技有限公司 | 一种异步系统的数据同步方法、系统及终端设备 |
CN109327899A (zh) * | 2018-10-11 | 2019-02-12 | 恒大法拉第未来智能汽车(广东)有限公司 | 一种车载设备同步时间的方法、装置和同步时间系统 |
CN109194436B (zh) * | 2018-11-01 | 2020-08-07 | 百度在线网络技术(北京)有限公司 | 传感器时间戳同步测试方法、装置、设备、介质及车辆 |
CN109379160A (zh) * | 2018-12-30 | 2019-02-22 | 广东大普通信技术有限公司 | 一种时钟校准服务器及方法 |
CN109818702A (zh) * | 2019-03-04 | 2019-05-28 | 西安电子科技大学 | 一种ieee802.1as时钟同步功能实现系统以及实现方法 |
CN110719135A (zh) * | 2019-10-17 | 2020-01-21 | Ut斯达康通讯有限公司 | 时间校准方法、系统及电子装置 |
-
2020
- 2020-09-17 CN CN202010980816.0A patent/CN112214065B/zh active Active
-
2021
- 2021-09-16 WO PCT/CN2021/118635 patent/WO2022057844A1/zh unknown
- 2021-09-16 KR KR1020237012479A patent/KR20230066106A/ko unknown
- 2021-09-16 EP EP21868666.5A patent/EP4216019A1/en active Pending
- 2021-09-16 US US18/026,672 patent/US20230341892A1/en active Pending
- 2021-09-16 JP JP2023517788A patent/JP2023541963A/ja active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101515831A (zh) * | 2008-02-22 | 2009-08-26 | 杭州华三通信技术有限公司 | 一种时间同步传递方法、系统及装置 |
US10411793B1 (en) * | 2018-06-20 | 2019-09-10 | Goodrich Corporation | Data transport and time synchronization for ISR systems |
CN109547146A (zh) * | 2019-01-14 | 2019-03-29 | 北京邮电大学 | 一种基于超宽带无线通信的无线时钟同步方法及装置 |
CN111102689A (zh) * | 2019-12-11 | 2020-05-05 | 珠海格力电器股份有限公司 | 时钟同步的调整方法及装置 |
CN112214065A (zh) * | 2020-09-17 | 2021-01-12 | 北京普源精电科技有限公司 | 设备同步校准方法、装置、设备及存储介质 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115932351A (zh) * | 2023-03-09 | 2023-04-07 | 深圳市鼎阳科技股份有限公司 | 一种示波器级联的延时校正方法、示波器、终端及介质 |
Also Published As
Publication number | Publication date |
---|---|
CN112214065A (zh) | 2021-01-12 |
CN112214065B (zh) | 2022-10-21 |
JP2023541963A (ja) | 2023-10-04 |
KR20230066106A (ko) | 2023-05-12 |
EP4216019A1 (en) | 2023-07-26 |
US20230341892A1 (en) | 2023-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022057844A1 (zh) | 设备同步校准方法、装置、设备及存储介质 | |
US20220182164A1 (en) | Method of remotely monitoring the timing performance of a ptp slave | |
US10868664B2 (en) | Minimizing timestamp error in PTP systems | |
EP3002593B1 (en) | Multi-scope control and synchronization system | |
JP2007212453A (ja) | トリガ分配装置 | |
WO2017219881A1 (zh) | 一种基于1588的时间同步方法及装置 | |
US20120191418A1 (en) | Structure and method of data synchronization for muti measuring apparatus | |
WO2018040856A1 (zh) | 多屏显示装置的视频处理单元输出同步性检测方法和系统 | |
US20110016232A1 (en) | Time stamping apparatus and method for network timing synchronization | |
TWI726448B (zh) | 利用對準標記實現時間戳記的奈秒精度及其形成方法 | |
CN117054715A (zh) | 一种多台数字示波器的采样同步方法 | |
CN113711057A (zh) | 用于同步多个测试和测量仪器的系统和方法 | |
KR101449615B1 (ko) | 복수의 측정 채널 어셈블리 및/또는 측정 장치의 동기화 방법, 및 적합한 측정 장치 | |
JP2018125768A (ja) | データ伝送装置及びプログラム | |
CN114326925A (zh) | 一种信号同步输出方法、装置、设备及介质 | |
TWI400596B (zh) | 同步接收電路及方法 | |
CN104901844A (zh) | 基于pcie的高精度时间戳获取方法、装置及网卡 | |
US20240171295A1 (en) | Communication apparatus, control method for communication apparatus, and storage medium | |
US20230275679A1 (en) | Method and apparatus for synchronizing signals of signal measuring devices | |
CN117784580B (zh) | 提升ptp点对点授时精度的方法和授时装置 | |
WO2022160283A1 (zh) | 一种采样方法、采样电路及分布式网络的时钟同步方法 | |
CN112019288B (zh) | 时间同步方法、业务单板及网络设备 | |
CN117784580A (zh) | 提升ptp点对点授时精度的方法和授时装置 | |
US9673971B2 (en) | Automatic clock calibration of a remote unit using phase drift | |
JP2021158608A (ja) | 計測システム、及びその制御方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21868666 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2023517788 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 20237012479 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2021868666 Country of ref document: EP Effective date: 20230417 |