Multi-channel signal synchronization device, method, signal acquisition equipment and readable storage medium

By using a combination of calibration module and delay measurement module in the multi-channel signal acquisition device, the time delay difference between the signal acquisition modules is calculated and compensated, and the problem that signal synchronization error in the prior art cannot meet the high-precision requirements is solved, and the problem of the signal synchronization error in the prior art is realized. High-precision signal synchronization.

CN118659865BActive Publication Date: 2024-11-15深圳市万里眼技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411147488.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-11-15
Estimated Expiration
2044-08-21

AI Technical Summary

Technical Problem

It is difficult for existing multi-channel signal acquisition equipment to achieve high-precision delay determination during synchronous calibration, resulting in signal synchronization errors that cannot meet the accuracy requirements of high-frequency and high-speed signal testing.

Method used

Using a device including a calibration module, a delay measurement module and a signal acquisition module, the time delay difference calculation of the auxiliary acquisition unit and the main acquisition unit can achieve accurate compensation of the signal delay, ensuring the synchronization accuracy between the signal acquisition modules.

Benefits of technology

It improves the accuracy of multi-channel signal synchronization, meets the synchronization error accuracy requirements of high-frequency and high-speed signal testing, and realizes high-precision synchronization of signal acquisition equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118659865B_ABST
    Figure CN118659865B_ABST
Patent Text Reader

Abstract

The present application provides a multi-channel signal synchronization device, method, signal acquisition equipment and readable storage medium, which relates to the field of wireless communication technology, including a calibration module, a delay measurement module and at least two signal acquisition modules, and the calibration module is used to output a calibration signal. An auxiliary acquisition unit is used to sample the calibration signal to obtain a sampling signal; the delay measurement module is used to determine the current delay of the signal acquisition channel corresponding to the auxiliary acquisition unit according to the sampling signal and the reference sampling signal obtained based on the calibration signal; the main acquisition unit is used to determine the signal delay according to the current delay, and based on the signal delay, delay compensation is performed on the signal in the signal acquisition channel. Since the accuracy of the signal delay determined by the current delay and the delay difference matches the accuracy of the signal in the signal acquisition channel, when data synchronization is performed based on the signal delay, it can be ensured that the synchronization accuracy of the signal meets the accuracy requirements of the multi-channel signal acquisition device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a multi-channel signal synchronization device, method, signal acquisition equipment and readable storage medium. Background Art

[0002] With the development of modern industry, signal acquisition equipment must have multi-channel, high-precision, high-speed and other capabilities. During the use of the equipment, the multiple channels must maintain a certain phase / time relationship so that the collected data can be output synchronously with high precision.

[0003] However, the sampling rate of multi-channel signal acquisition equipment has reached a relatively high level. In order to ensure the test accuracy of high-frequency and high-speed signals, the accuracy of synchronization error also needs to be improved. The error accuracy can be calculated through synchronization calibration technology.

[0004] In the process of synchronously calibrating signals in multiple channels of a multi-channel signal acquisition device, it is necessary to determine the time delay between channels. However, the currently determined time delay is difficult to meet the accuracy requirements of the multi-channel signal acquisition device. Summary of the invention

[0005] The present application provides a multi-channel signal synchronization device, method, signal acquisition equipment and readable storage medium, which can improve the accuracy of multi-channel signal synchronization.

[0006] In a first aspect, the present application provides a multi-channel signal synchronization device, comprising a calibration module, a delay measurement module and at least two signal acquisition modules, each of the signal acquisition modules comprising a main acquisition unit and an auxiliary acquisition unit; the auxiliary acquisition unit, the delay measurement module and the main acquisition unit are connected in sequence.

[0007] The calibration module is used to output a calibration signal; the auxiliary acquisition unit is used to sample the calibration signal to obtain a sampling signal; the delay measurement module is used to determine the current delay of the signal acquisition module according to the sampling signal and a reference sampling signal obtained based on the calibration signal; wherein the accuracy of the current delay matches the delay accuracy in the signal acquisition module; the main acquisition unit is used to determine the signal delay according to the current delay and the pre-stored delay difference between the main acquisition unit and the auxiliary acquisition unit, and based on the signal delay, perform delay compensation on the signal in the signal acquisition module.

[0008] The delay measurement module is used to obtain the sampling signal sampled by the auxiliary acquisition unit, and determine the current delay of the signal acquisition module based on the sampling signal and the reference sampling signal. The accuracy of the current delay matches the delay accuracy in the signal acquisition channel. The main acquisition unit is the main channel for signal acquisition in the signal acquisition channel, and is used to determine the signal delay using the current delay and the pre-stored delay difference between the main acquisition unit and the corresponding auxiliary acquisition unit, and based on the signal delay, perform delay compensation on the signal in the signal acquisition module.

[0009] Based on the above description, since the accuracy of the current delay matches the accuracy of the signal in the signal acquisition module, the accuracy of the signal delay determined using the current delay and the delay difference also matches the accuracy of the signal in the signal acquisition module. When the signal in the signal acquisition module is synchronized based on the signal delay, not only can the synchronization of the signals in the multi-channel signal synchronization device be achieved, but also the synchronization accuracy of the signals can be guaranteed to meet the accuracy requirements of the multi-channel signal acquisition equipment.

[0010] In an optional embodiment, any one of the at least two signal acquisition modules is used as a reference acquisition module; the auxiliary acquisition unit in the reference acquisition module is used as a reference auxiliary acquisition unit; the reference auxiliary acquisition unit is connected to the delay measurement module; the reference auxiliary acquisition unit is used to sample the calibration signal to obtain the reference sampling signal; the delay measurement module is used to obtain the reference sampling signal from the reference auxiliary acquisition unit.

[0011] Based on this, the reference sampling signal can be used to synchronously calibrate the signals in multiple signal acquisition modules.

[0012] In an optional implementation manner, the delay measurement module is specifically used to:

[0013] A signal alignment operation is performed on the sampling signal and the reference sampling signal according to a sliding window algorithm to determine an integer delay of the signal acquisition module.

[0014] The sampling signal and the reference sampling signal are compensated according to the integer delay to obtain a compensated sampling signal and a compensated reference sampling signal.

[0015] A data expansion operation is performed on the compensated sampling signal and the compensated reference sampling signal to obtain an expanded sampling signal and an expanded reference sampling signal; wherein the accuracy of the expanded sampling signal and the expanded reference sampling signal matches the delay accuracy in the signal acquisition module.

[0016] The expanded sampling signal and the compensated reference sampling signal are aligned according to a sliding window algorithm to determine a fractional delay corresponding to the signal acquisition module.

[0017] The current delay is obtained based on the integer delay and the fractional delay.

[0018] In the case of adopting the above technical solution, since the sampling rate of equivalent sampling matches the delay accuracy in the signal acquisition module, and the interpolation multiple of the interpolation processing matches the delay accuracy in the signal acquisition module, it can be ensured that the accuracy of the extended sampling signal and the extended reference sampling signal meets the accuracy of the actual sampling signal in the signal acquisition module, and when the fractional delay is determined using the extended sampling signal and the extended reference sampling signal, the accuracy of the fractional delay can also meet the delay accuracy in the signal acquisition module. In addition, the accuracy of the determined current delay meets the delay accuracy in the signal acquisition module.

[0019] In an optional implementation manner, the delay measurement module is specifically used to:

[0020] The size of the sliding window and the size of the fixed window in the sliding window algorithm are determined according to the characteristics of the sampling signal and / or the characteristics of the reference sampling signal.

[0021] The fixed window is set on one of the sampling signal and the reference sampling signal, and the sliding window is set on the other signal.

[0022] During the sliding process of the sliding window, the matching degree between the signal in the sliding window at any sliding position and the signal in the fixed window is obtained.

[0023] Based on the matching degree, the best matching position of the sliding window is determined, and the sampling signal and the reference sampling signal are aligned according to the best matching position of the sliding window and the position of the fixed window.

[0024] In the case of adopting the above technical solution, the best matching position of the sliding window can be determined according to the calculated matching degree, that is, the best matching position is the position where the matching degree between the sliding window and the fixed window is the highest. Then, according to the best matching position, the time axis of the sampling signal is adjusted to synchronize it with the reference sampling signal, so as to realize the alignment operation of the sampling signal and the reference sampling signal.

[0025] In an optional implementation manner, the delay measurement module is specifically used to:

[0026] The compensated sampling signal and the compensated reference sampling signal are equivalently sampled to obtain an equivalent high-frequency sampling signal and an equivalent high-frequency reference sampling signal.

[0027] The missing signal points in the high-frequency sampling signal and the missing signal points in the high-frequency reference sampling signal are filled according to the interpolation processing to obtain the extended sampling signal and the extended reference sampling signal; wherein the sampling rate of the equivalent sampling and the interpolation multiple of the interpolation processing match the delay accuracy in the signal acquisition module.

[0028] When the above technical solution is adopted, the measurement accuracy and frequency range of the compensated sampling signal and the compensated reference sampling signal can be improved without increasing the actual sampling rate.

[0029] In an optional implementation, the main acquisition unit includes a delay compensation subunit, and the delay compensation subunit is used to:

[0030] An integer sample point deviation and a fractional sample point deviation are determined according to the signal delay and the sampling rate of the signal acquisition module.

[0031] Integer sample point compensation is performed on the signal collected by the signal collection module according to the integer sample point deviation to obtain a signal after integer sample point compensation.

[0032] The delay compensation filter constructed according to the fractional sample point deviation performs fractional sample point compensation on the integer sample point compensated signal.

[0033] When the above technical solution is adopted, the delay compensation subunit is used to realize the delay compensation of the signal in the signal acquisition channel, which can more accurately compensate the delay of the signal between the signal acquisition modules of the synchronization device, thereby improving the synchronization of the synchronization device and the accuracy of signal processing.

[0034] In an optional implementation, any one of the at least two signal acquisition modules serves as a reference acquisition module, the main acquisition unit in the reference acquisition module serves as a reference main acquisition unit, and the auxiliary acquisition unit in the reference acquisition module serves as a reference auxiliary acquisition unit.

[0035] The delay measurement module is also used for:

[0036] Acquire an auxiliary sampling signal obtained by sampling the calibration signal by the auxiliary acquisition unit in each of the signal acquisition modules, and a reference auxiliary sampling signal obtained by sampling the calibration signal by the reference auxiliary acquisition unit, and determine a first measurement delay corresponding to the auxiliary acquisition unit according to the auxiliary sampling signal and the reference auxiliary sampling signal.

[0037] A main sampling signal obtained by sampling the collected signal by the main acquisition unit in each of the signal acquisition modules and a reference main sampling signal obtained by sampling the collected signal by the reference main acquisition unit are obtained, and a second measurement delay corresponding to the main acquisition unit is determined according to the main sampling signal and the reference main sampling signal.

[0038] According to the first measurement delay and the second measurement delay, a delay difference between a main acquisition unit and an auxiliary acquisition unit in each signal acquisition module is determined and sent to the main acquisition unit.

[0039] In the case of adopting the above technical solution, the delay difference can be determined by the difference between the first measured delay and the second measured delay. It should be understood that in the same synchronization device, the delay difference is determined, and after the delay difference is obtained, it is stored in the main acquisition unit, and when the synchronization device is used later, the delay difference can be directly used to determine the signal delay, thereby improving efficiency.

[0040] In an optional implementation, the calibration module includes a calibration source and a power divider, and the calibration source and the power divider are connected.

[0041] The calibration source is used to output a total calibration signal, and the power divider is used to equally divide the total calibration signal into at least two calibration signals.

[0042] In the case of adopting the above technical solution, the calibration source is used to output a high-precision total calibration signal. The power divider is used to divide the input total calibration signal into at least two calibration signals. These calibration signals will be sent to different auxiliary acquisition units and the reference auxiliary acquisition unit for signal calibration.

[0043] In an optional implementation, the auxiliary acquisition unit includes an analog-to-digital conversion subunit and a storage subunit, and the analog-to-digital conversion subunit is connected to the storage subunit.

[0044] The analog-to-digital conversion subunit is used to sample the calibration signal to obtain a sampled signal;

[0045] The storage subunit is used to store the sampled signal.

[0046] When the above technical solution is adopted, the functions of sampling the calibration signal and storing the sampled signal are realized, and the subsequent delay measurement module can obtain the sampled signal in the memory to determine the current delay.

[0047] In a second aspect, an embodiment of the present application further provides a multi-channel signal synchronization method, comprising:

[0048] Generate a calibration signal.

[0049] The calibration signal is sampled to obtain a sampled signal.

[0050] The current delay of each signal acquisition module in at least two signal acquisition modules is determined according to the sampling signal and a reference sampling signal obtained based on the calibration signal; wherein the accuracy of the current delay matches the delay accuracy in the signal acquisition module.

[0051] The signal delay is determined according to the current delay and the pre-stored delay difference between the main acquisition unit and the auxiliary acquisition unit, and based on the signal delay, the delay compensation is performed on the signal in the signal acquisition module.

[0052] In an optional implementation manner, determining the current delay of the signal acquisition module according to the sampling signal and the reference sampling signal obtained based on the calibration signal includes:

[0053] A signal alignment operation is performed on the sampling signal and the reference sampling signal according to a sliding window algorithm to determine an integer delay of the signal acquisition module.

[0054] The sampling signal and the reference sampling signal are compensated according to the integer delay to obtain a compensated sampling signal and a compensated reference sampling signal.

[0055] A data expansion operation is performed on the compensated sampling signal and the compensated reference sampling signal to obtain an expanded sampling signal and an expanded reference sampling signal; wherein the accuracy of the expanded sampling signal and the expanded reference sampling signal matches the delay accuracy in the signal acquisition module.

[0056] The expanded sampling signal and the compensated reference sampling signal are aligned according to a sliding window algorithm to determine a fractional delay corresponding to the signal acquisition module.

[0057] The current delay is obtained based on the integer delay and the fractional delay.

[0058] In an optional implementation manner, performing a signal alignment operation on the sampled signal and the reference sampled signal according to a sliding window algorithm to determine an integer delay of the signal acquisition module includes:

[0059] The size of the sliding window and the size of the fixed window in the sliding window algorithm are determined according to the characteristics of the sampling signal and / or the characteristics of the reference sampling signal.

[0060] The fixed window is set on one of the sampling signal and the reference sampling signal, and the sliding window is set on the other signal.

[0061] During the sliding process of the sliding window, the matching degree between the signal in the sliding window at any sliding position and the signal in the fixed window is obtained.

[0062] Based on the matching degree, the best matching position of the sliding window is determined, and the sampling signal and the reference sampling signal are aligned according to the best matching position of the sliding window and the position of the fixed window.

[0063] In an optional implementation manner, performing a data expansion operation on the compensated sampling signal and the compensated reference sampling signal to obtain an expanded sampling signal and an expanded reference sampling signal comprises:

[0064] Performing equivalent sampling on the compensated sampling signal and the compensated reference sampling signal to obtain an equivalent high-frequency sampling signal and an equivalent high-frequency reference sampling signal;

[0065] The missing signal points in the high-frequency sampling signal and the missing signal points in the high-frequency reference sampling signal are filled according to the interpolation process to obtain the extended sampling signal and the extended reference sampling signal.

[0066] In an optional implementation manner, the delay compensation of the signal in the signal acquisition module based on the signal delay includes:

[0067] An integer sample point deviation and a fractional sample point deviation are determined according to the signal delay and the sampling rate of the signal acquisition module.

[0068] Integer sample point compensation is performed on the signal collected by the signal collection module according to the integer sample point deviation to obtain a signal after integer sample point compensation.

[0069] The delay compensation filter constructed according to the fractional sample point deviation performs fractional sample point compensation on the integer sample point compensated signal.

[0070] In an optional implementation, any one of the at least two signal acquisition modules serves as a reference acquisition module, the main acquisition unit in the reference acquisition module serves as a reference main acquisition unit, and the auxiliary acquisition unit in the reference acquisition module serves as a reference auxiliary acquisition unit.

[0071] The method further comprises:

[0072] The auxiliary acquisition unit in each of the signal acquisition modules is controlled to sample the calibration signal to obtain an auxiliary sampling signal, and the reference auxiliary acquisition unit is controlled to sample the calibration signal to obtain a corresponding reference auxiliary sampling signal, and a first measurement delay corresponding to the auxiliary acquisition unit is determined according to the auxiliary sampling signal and the reference auxiliary sampling signal.

[0073] The main acquisition unit in each of the signal acquisition modules is controlled to sample the collected signal to obtain a corresponding main sampling signal, and the reference main acquisition unit is controlled to sample the collected signal to obtain a reference main sampling signal, and a second measurement delay corresponding to the main acquisition unit is determined according to the main sampling signal and the reference main sampling signal.

[0074] According to the first measurement delay and the second measurement delay, a delay difference between a main acquisition unit and an auxiliary acquisition unit in each signal acquisition module is determined and sent to the main acquisition unit.

[0075] In a third aspect, the present application also provides a signal acquisition device, comprising the multi-channel signal synchronization device as described in the first aspect.

[0076] In a fourth aspect, the present application further provides a multi-channel signal acquisition device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the program is executed by the processor to perform the multi-channel signal synchronization method described in the second aspect.

[0077] In a fifth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the multi-channel signal synchronization method described in any one of the second aspects is implemented.

[0078] The beneficial effects of the second to fifth aspects of the present application are the same as the beneficial effects of the multi-channel signal synchronization device provided in the first aspect above, and will not be repeated herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] Figure 1 A schematic diagram of a multi-channel signal synchronization device provided in an embodiment of the present application Figure 1 ;

[0080] Figure 2 A schematic diagram of a multi-channel signal synchronization device provided in an embodiment of the present application Figure 2 ;

[0081] Figure 3 A flowchart of the functions implemented by a delay measurement module provided in an embodiment of the present application;

[0082] Figure 4 A functional structure diagram of a main acquisition unit provided in an embodiment of the present application;

[0083] Figure 5 A flowchart of the functions implemented by a delay compensation subunit provided in an embodiment of the present application;

[0084] Figure 6A schematic diagram of a time delay filter structure provided in an embodiment of the present application;

[0085] Figure 7 A flowchart for determining a delay difference in an offline mode provided in an embodiment of the present application;

[0086] Figure 8 A flowchart of performing multi-channel data synchronization in an online mode provided in an embodiment of the present application;

[0087] Fig. 9 A flowchart of a multi-channel signal synchronization method provided by an embodiment of the present application;

[0088] Fig.10 A schematic diagram of the structure of a signal acquisition device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0089] The embodiments provided in this application will be described below with reference to the accompanying drawings.

[0090] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art to which the present application belongs. The terms used herein in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. It is understood that the terms "first", "second", etc. used in the present application can be used to describe various information or data in this article, but these elements are not limited by these terms. These terms are only used to distinguish the first information from another information. For example, without departing from the scope of the present application, the first action information can be referred to as the second action information, and similarly, the second action information can be referred to as the first action information. Both the first action information and the second action information are action information, but they are not the same action information.

[0091] First, the terms involved in this application are explained:

[0092] A multi-channel signal synchronization device (hereinafter referred to as a "synchronization device") refers to a device that can simultaneously acquire signals from multiple sensors or signal sources. Exemplarily, the synchronization device is included in a multi-channel signal acquisition device, such as an oscilloscope, a spectrum analyzer, and other measurement equipment.

[0093] Signal acquisition module: It is a component of the synchronization device, used to obtain and process signals from sensors or other signal sources.

[0094] Delay: refers to the time difference that a signal takes to travel from the sending side to the receiving side.

[0095] In a synchronization device, a certain phase / time relationship must be maintained between multiple signal acquisition modules so that the acquired signals can be output synchronously with high precision.

[0096] At present, the sampling rate of the synchronization device has reached a relatively high level (for example, 256GSa / s). In order to ensure the accuracy of high-frequency and high-speed signals, the accuracy of the synchronization error of each signal acquisition module in the synchronization device needs to reach the picosecond (ps) level or above. The error accuracy can be guaranteed by the synchronization calibration technology, which is used to ensure the consistency of the delay between each signal acquisition module.

[0097] There are two states of delay between signal acquisition modules: (1) Determined delay, which remains unchanged after each power-on; (2) Uncertain delay, which changes after each power-on. Determined delay is mainly achieved through system clock homology, synchronous acquisition and triggering technologies. The calculation scheme of uncertain delay has high requirements on clock timing and jitter, and the logic implementation is complex and difficult to implement. In fact, many applications will have two or more non-cognate clocks. Therefore, it is not easy to determine the uncertain delay between multiple signal acquisition modules.

[0098] Based on this, the present application provides a synchronization device, which may include a built-in calibration module and an auxiliary acquisition unit. By collecting the calibration signal of the auxiliary acquisition unit, the uncertain delay between channels is converted into a deterministic delay and delay compensation is performed, thereby solving the problem of delay jumps in the multi-channel signal acquisition device each time it is powered on, and realizing signal synchronization of the multi-channel signal acquisition device, and the synchronization accuracy can reach the ps level.

[0099] The synchronization device provided in this application can be applied to a single-frame acquisition device or a multi-frame cascade system, and the synchronization accuracy can reach the ps level. Among them, multiple signal acquisition modules can be integrated in a single single-frame acquisition device. This configuration is characterized by compactness and high integration, and is suitable for scenarios requiring high-density signal acquisition. A multi-frame cascade system refers to the realization of multi-channel signal acquisition by cascading multiple device frames. This configuration is characterized by strong scalability and is suitable for scenarios requiring large-scale signal acquisition.

[0100] The synchronization device in this embodiment includes a main acquisition link and an auxiliary acquisition link. The main acquisition link includes an RF front end, an analog-to-digital converter (ADC) and a delay compensation module, which are used to acquire and condition the analog signal at the input end (including delay compensation). The auxiliary acquisition module includes a built-in calibration source, an auxiliary acquisition ADC, a memory and a delay measurement module, which are used to generate a calibration signal and calculate the dynamic delay value between multiple signal acquisition modules.

[0101] The structure and principle of the synchronization device provided by the present application are described in detail below with reference to the accompanying drawings.

[0102] Figure 1FIG. 1 shows a schematic diagram of the structure of the synchronization device provided by the present application. Figure 1 As shown, the synchronization device includes a calibration module, a delay measurement module and at least two signal acquisition modules. Figure 1 Two signal acquisition modules are exemplified in FIG. Each signal acquisition module includes a main acquisition unit and an auxiliary acquisition unit.

[0103] For example, Figure 1 The figure shows a signal acquisition module 1 including a main acquisition unit 1 and a corresponding auxiliary acquisition unit 1, and a signal acquisition module 2 including a main acquisition unit 2 and a corresponding auxiliary acquisition unit 2, wherein one of the signal acquisition module 1 and the signal acquisition module 2 is a reference sampling module.

[0104] It is understandable that each signal acquisition module is independent of each other. Figure 1 The signal acquisition module 1 and the signal acquisition module 2 are independent of each other, and the main acquisition unit 1 and the main acquisition unit 2, the auxiliary acquisition unit 1 and the auxiliary acquisition unit 2 are also independent of each other. The auxiliary acquisition unit, the delay measurement module and the main acquisition unit are connected in sequence.

[0105] Exemplarily, the synchronization device in the embodiment of the present application may be an oscilloscope, a spectrum analyzer, or the like. The embodiment of the present application does not impose any particular limitation on the specific form of the synchronization device.

[0106] The calibration module in the embodiment of the present application is used to output a calibration signal and can be any module that can generate a calibration signal, and the embodiment of the present application does not make any specific limitation on this.

[0107] For example, refer to Figure 1 The calibration module includes a calibration source and a power divider, wherein the calibration source and the power divider are connected; the calibration source is used to output a total calibration signal, and the power divider is used to divide the total calibration signal into at least two calibration signals. The total calibration signal includes but is not limited to a swept frequency single tone or a broadband analog signal. The synchronization device may also include a PLL (Phase-Locked Loop) for synchronizing the various calibration signals.

[0108] The calibration source can be a signal generating device that can output a high-precision total calibration signal. The power divider is a signal distribution device that is used to divide the input total calibration signal into at least two calibration signals. These calibration signals will be sent to different auxiliary acquisition units and the reference auxiliary acquisition unit for signal calibration.

[0109] The auxiliary acquisition unit in the embodiment of the present application is used to sample the calibration signal to obtain a sampled signal. The auxiliary acquisition unit is used to obtain a sampled signal before the synchronization device synchronizes the signal, and the sampled signal is subsequently used to calculate the signal delay of the signal acquisition module. The number of auxiliary acquisition units is not limited, which is determined by the number of signal acquisition modules and can be flexibly configured. The sampling rate and storage requirements of the auxiliary acquisition unit can be much lower than those of its corresponding main acquisition unit, and the hardware requirements are low. The reference clock (Reference Clock, ref clk) can be a low-frequency signal, which reduces the performance index requirements for the hardware module.

[0110] Based on this, this embodiment introduces a calibration module and an auxiliary acquisition unit to generate a synchronous calibration signal, and samples each auxiliary acquisition unit to obtain a digital signal as input data for the dynamic delay measurement module. It is worth noting that the square wave signal frequency f generated by the calibration source is related to the calibration source bandwidth BW, the sampling rate fs of the synchronization device, and the delay between signal acquisition modules (current delay), and must satisfy: f≥1 / (2*skew), BW≥5f, fs≥5f*2.

[0111] The delay measurement module in the embodiment of the present application can be arranged outside each signal acquisition module and connected to each auxiliary acquisition unit, so as to obtain the sampling signal sampled by each auxiliary acquisition unit, and determine the current delay of the signal acquisition module corresponding to each auxiliary acquisition unit according to the sampling signal and the reference sampling signal. The reference sampling signal is obtained based on the calibration signal. It is worth noting that the accuracy of the current delay matches the delay accuracy in the signal acquisition module.

[0112] The main acquisition unit is the main channel for signal acquisition in the signal acquisition module. When the synchronization device synchronizes the signal, it is responsible for signal acquisition. It is used to determine the signal delay according to the current delay and the pre-stored delay difference between the main acquisition unit and the corresponding auxiliary acquisition unit, and based on the signal delay, perform delay compensation on the signal in the signal acquisition module.

[0113] Based on the above description, since the accuracy of the signal delay determined by the current delay and the delay difference matches the accuracy of the signal in the signal acquisition module, when data synchronization is performed on the signal in the signal acquisition module based on the signal delay, the synchronization accuracy of the signal can be guaranteed to meet the accuracy requirements of the multi-channel signal acquisition device.

[0114] In the embodiment of the present application, the current delay is a component of the signal delay of the synchronization device, and the current delay can be determined based on the sampling signal and the reference sampling signal. The sampling signal can be obtained in the following manner:

[0115] Reference Figure 2, the calibration signal is sampled by ADC using the ADC subunit (analog-to-digital conversion subunit) to obtain a sampled signal. It is worth noting that the ADC subunit is part of the auxiliary acquisition unit. In some examples, the auxiliary acquisition unit may also include a storage subunit, wherein the ADC subunit and the storage subunit are connected, and the storage subunit is used to store the above-mentioned sampled signal. Based on this, the ADC sampling of the calibration signal and the storage function of the sampled signal are realized, and the subsequent delay measurement module can obtain the sampled signal in the memory to determine the current delay.

[0116] Optionally, the ADC subunit and the storage subunit may be any unit capable of implementing ADC sampling of the calibration signal and storage of the sampled signal, and the embodiments of the present application do not specifically limit this.

[0117] Exemplarily, the ADC subunit is an analog-to-digital converter, and the storage subunit is a memory.

[0118] The following will describe the process of obtaining the reference sampling signal.

[0119] Optionally, the embodiment of the present application may obtain the reference sampling signal by any method that can determine the reference sampling signal through the calibration signal, and the embodiment of the present application does not make any special limitation on this.

[0120] Exemplarily, the present application uses a reference auxiliary acquisition unit to sample the calibration signal to obtain a reference sampling signal. The reference auxiliary acquisition unit is a part of a reference acquisition module, and the reference acquisition module is any one of the at least two signal acquisition modules, which is not specifically limited in the present application embodiment.

[0121] Furthermore, the reference auxiliary acquisition unit is also connected to the delay measurement module, which is used to obtain the reference sampling signal for subsequent current delay calculation. When determining the signal delay in any other signal acquisition module, the reference signal acquisition module can be used as a reference, based on which, the reference sampling signal can be used to synchronously calibrate the signals in multiple signal acquisition modules.

[0122] It should be understood that the above-mentioned reference sampling module can be any one of the at least two signal acquisition modules, and this embodiment does not make any special limitation on this.

[0123] The specific functions of the delay measurement module will be described below, including how the delay measurement module uses the sampling signal and the reference sampling signal to determine the current delay of the signal acquisition module corresponding to the auxiliary acquisition unit.

[0124] Optional, see Figure 3 The delay measurement module provided in the embodiment of the present application is specifically used for the following operations:

[0125] First, a signal alignment operation is performed on the sampled signal and the reference sampled signal according to a sliding window algorithm to determine an integer delay corresponding to the signal acquisition module. The reference sampled signal is sampled by a reference signal sampling module, and the reference sampling module includes a reference main acquisition unit and a reference auxiliary acquisition unit. The sampled signal can be sampled by any signal sampling module, and this embodiment does not specifically limit this.

[0126] It should be understood that the sliding window algorithm has many applications in data alignment, especially in the fields of signal processing, image processing, and time series analysis. The purpose of signal alignment is to synchronize or match two or more signal sequences through a sliding window algorithm so that they are aligned in time or space. In this embodiment, the sliding window algorithm can be used to synchronize the sampled signal and the reference sampled signal so that they are aligned in time.

[0127] Optionally, determining the integer delay corresponding to the signal acquisition module may include the following specific operations:

[0128] a1. Determine the size of the sliding window and the size of the fixed window in the sliding window algorithm according to the characteristics of the sampling signal and / or the characteristics of the reference sampling signal;

[0129] It should be understood that the size of the sliding window is the same as the size of the fixed window, and the size of the sliding window or the size of the fixed window can be determined by the characteristics of the sampling signal and the reference sampling signal. The characteristics of the sampling signal can include at least one of the period of the sampling signal, the frequency of the sampling signal, and the sampling rate of the sampling signal. Similarly, the characteristics of the reference sampling signal can include at least one of the period characteristics of the reference sampling signal, the frequency characteristics of the reference sampling signal, and the sampling rate of the reference sampling signal.

[0130] For example, when the characteristic of the sampling signal is the frequency of the sampling signal, and the sampling signal is a high-frequency signal, the sliding window should be set smaller to capture the rapidly changing signal characteristics. When the characteristic of the sampling signal may include the frequency of the sampling signal, and the sampling signal is a low-frequency signal, the sliding window can be set larger to capture the signal characteristics over a longer period of time.

[0131] For another example, when the characteristic of the reference sampling signal is the sampling rate, the sliding window size is usually expressed in the number of sampling points. The window size should be large enough to include signal characteristics of multiple cycles, but should not be too large to avoid introducing excessive delays.

[0132] It should be understood that the above setting method of the sliding window size is only an example, and this embodiment does not impose any special limitation on this.

[0133] a2. Set the fixed window on one of the sampling signal and the reference sampling signal, and set the sliding window on the other signal.

[0134] In this embodiment, the size and position of the fixed window remain unchanged during the entire processing process. The sliding window has a fixed size but a variable position, and the sliding window slides on the corresponding signal (sampled signal or reference sampled signal), gradually covering different parts of the signal for dynamic analysis and comparison.

[0135] Exemplarily, it is assumed that the fixed window is set on the sampled signal and the sliding window is set on the reference sampled signal. The sliding window starts from the starting position of the signal and moves backward step by step. Each time the sliding window moves, the signal in the sliding window is extracted and compared or processed with the signal in the fixed window. In this way, dynamic matching, alignment, correlation analysis and other operations of the two signals can be realized.

[0136] a3. During the sliding process of the sliding window, obtain the matching degree between the signal in the sliding window at any sliding position and the signal in the fixed window.

[0137] The signal matching degree generally refers to the similarity or correlation between two signals.

[0138] It should be understood that the sliding window starts from the starting position on the corresponding signal and moves backward step by step with a preset step size. After each movement, the sliding window covers a new part of the corresponding signal, and at each position of the sliding window, the signal in the window is extracted. The extracted signal is compared with the signal in the fixed window to calculate the matching degree. The matching degree can be calculated by a variety of methods, such as cross-correlation, mean squared error (MSE), mutual information, etc.

[0139] a4. Based on the matching degree, determine the best matching position of the sliding window, and align the sampling signal and the reference sampling signal according to the best matching position of the sliding window and the position of the fixed window.

[0140] In this embodiment, the best matching position of the sliding window is determined according to the calculated matching degree, that is, the best matching position is the position where the matching degree between the sliding window and the fixed window is the highest. Then, according to the best matching position, the time axis of the sampling signal is adjusted to synchronize it with the reference sampling signal, so as to achieve the alignment operation of the sampling signal and the reference sampling signal.

[0141] Second, the sampling signal and the reference sampling signal are compensated according to the integer delay to obtain a compensated sampling signal and a compensated reference sampling signal.

[0142] In this embodiment, compensating the sampling signal and the reference sampling signal by using an integer delay may include: performing time shifts on the sampling signal and the reference sampling signal respectively according to the determined integer delay so that the two are integer aligned, thereby obtaining a compensated sampling signal and a compensated reference sampling signal.

[0143] It should be understood that this embodiment may also use other possible implementations to implement the compensation operation, and this embodiment does not make any special limitation to this.

[0144] Third, a data expansion operation is performed on the compensated sampling signal and the compensated reference sampling signal to obtain an expanded sampling signal and an expanded reference sampling signal, wherein the precision of the expanded sampling signal and the expanded reference sampling signal matches the precision of the signal in the signal acquisition module.

[0145] In this embodiment, the data expansion operation for the compensated sampling signal and the compensated reference sampling signal may be performed by the following operations:

[0146] b1, performing equivalent sampling on the compensation sampling signal and the compensation reference sampling signal to obtain an equivalent high-frequency sampling signal and an equivalent high-frequency reference sampling signal, wherein the sampling rate of the equivalent sampling matches the delay accuracy in the signal acquisition module.

[0147] Among them, equivalent sampling is a technology used in the field of signal processing and data acquisition, mainly used to improve the effective resolution or frequency range of the sampling system. It reconstructs high-frequency signals or improves the resolution of signals by sampling different parts of the signal in multiple cycles and then combining these parts. With equivalent sampling, the periodic characteristics of the signal can be utilized, and the equivalent sampling rate higher than the actual sampling rate can be obtained by multiple sampling and rearranging these sampling points. It is suitable for processing signal types such as high-frequency signals.

[0148] Based on this, this embodiment can improve the measurement accuracy and frequency range of the compensated sampling signal and the compensated reference sampling signal without increasing the actual sampling rate.

[0149] b2. Use interpolation processing to fill in the missing signal points in the high-frequency sampling signal and the missing signal points in the high-frequency reference sampling signal to obtain the extended sampling signal and the extended reference sampling signal; wherein the interpolation multiple of the interpolation processing matches the delay accuracy in the signal acquisition module.

[0150] Optionally, common interpolation methods include Sinc interpolation, linear interpolation, polynomial interpolation and spline interpolation. In this embodiment, a suitable interpolation method can be selected according to specific application scenarios and data characteristics. For example, the interpolation method used in this embodiment is Sinc interpolation.

[0151] It should be understood that in the high-frequency sampling signal and the high-frequency reference sampling signal, some signal points may be missing due to equivalent sampling. These missing signal points can be filled by interpolation processing to obtain a complete extended sampling signal and an extended reference sampling signal.

[0152] In addition, this embodiment sets the interpolation multiple of the interpolation processing according to the delay accuracy requirement in the signal acquisition module, so that the interpolation multiple of the interpolation processing matches the delay accuracy in the signal acquisition module, so as to ensure that the accuracy of the current delay meets the delay accuracy in the signal acquisition module, so that the synchronization accuracy of the signal collected by the synchronization device can meet the accuracy requirement of the synchronization error.

[0153] Since the sampling rate of equivalent sampling matches the delay accuracy in the signal acquisition module, and the interpolation multiple of the interpolation processing matches the delay accuracy in the signal acquisition module, it can be ensured that the accuracy of the expanded sampling signal and the expanded reference sampling signal meets the accuracy of the actual sampling signal in the signal acquisition module. When the fractional delay is determined using the expanded sampling signal and the expanded reference sampling signal, the accuracy of the fractional delay can also meet the delay accuracy in the signal acquisition module.

[0154] Fourth, an alignment operation is performed on the expanded sampling signal and the expanded reference sampling signal according to a sliding window algorithm to determine a fractional delay corresponding to the signal acquisition module.

[0155] In this embodiment, the sliding window algorithm can be used to synchronize the expanded sampling signal and the expanded reference sampling signal so that they can be aligned in time. Based on the expanded sampling signal and the expanded reference sampling signal, it can be ensured that the sliding window can also perform an alignment operation at the signal boundary.

[0156] Among them, the size of the sliding window in the above sliding window algorithm should be selected according to the characteristics of the signal and the sampling rate, and usually needs to cover enough signal cycles to ensure the accuracy of alignment.

[0157] Then, a sliding window is applied to the extended sampled signal and the extended reference sampled signal. Specifically, the window is started from the starting position of the signal and gradually slid to the end position of the signal. At each position, the signal segment in the window is compared with the reference signal segment. At each sliding window position, the similarity between the signal segment in the window and the reference signal segment is calculated. Commonly used similarity measurement methods include cross-correlation, mean square error, etc. Find the position with the highest similarity, that is, the sliding window position, so that the extended sampled signal segment is most matched with the extended reference sampled signal segment. The delay corresponding to this position is the fractional delay.

[0158] It is worth noting that the sliding window algorithm used in this operation is similar to the sliding window algorithm used in the above description. The difference is that the sliding window algorithm in this operation is used to determine the fractional delay of the corresponding signal acquisition module, and the sliding window algorithm in the above description is used to determine the integer delay of the corresponding signal acquisition module. Therefore, the sliding window algorithm will not be described in detail here. For more specific operations, please refer to the corresponding description in the above description.

[0159] Fifth, the current delay is obtained based on the integer delay and the fractional delay.

[0160] Optionally, in this embodiment, the integer delay and the fractional delay obtained by the above operation may be added together to obtain the current delay.

[0161] Based on the above description, the accuracy of the current delay in this embodiment meets the delay accuracy in the signal acquisition module, so that the synchronization accuracy of the signal acquired by the multi-channel acquisition device can meet the accuracy requirement of the synchronization error.

[0162] The above embodiment describes the delay measurement module in detail. The following describes how to use the current delay determined by the delay measurement module to perform delay compensation on the signal in the signal acquisition module. In this embodiment, the main acquisition unit uses the current delay to perform delay compensation on the signal in the signal acquisition module. Optionally, the main acquisition unit is used to determine the signal delay using the current delay and the pre-stored delay difference between the main acquisition unit and the corresponding auxiliary acquisition unit, and based on the signal delay, perform delay compensation on the signal in the signal acquisition module.

[0163] More specifically, see Figure 4 The main acquisition unit may include a radio frequency front end, an ADC acquisition subunit and a delay compensation subunit connected in sequence.

[0164] The delay compensation subunit is used for:

[0165] The signal delay is determined according to the current delay and a pre-stored delay difference between the main acquisition unit and the corresponding auxiliary acquisition unit.

[0166] It should be understood that in the synchronization device, there may be a time delay difference between the main acquisition unit and the auxiliary acquisition unit. In order to accurately determine the signal delay, this time delay difference needs to be considered.

[0167] Optionally, the above-mentioned delay difference can be the delay difference between the main acquisition unit and the corresponding auxiliary acquisition unit determined by the synchronization device when leaving the factory or before use. The delay difference can be characterized as the delay difference between the main acquisition unit and the corresponding auxiliary acquisition unit during signal acquisition.

[0168] Therefore, the signal delay of each channel in the synchronization device can be accurately determined by using the current delay and the delay difference. In some examples, the signal delay can be determined by using the sum of the current delay and the delay difference.

[0169] Based on the signal delay, delay compensation is performed on the signal in the signal acquisition module.

[0170] In this embodiment, the signal delay can be used to calculate the amount of time that the corresponding signal acquisition module needs to compensate, and the amount of compensation time is to align the signals in all signal acquisition modules in time. After that, the signal delay is applied to each signal acquisition module, and the signal synchronization between each signal acquisition module can be achieved. Since the accuracy of the signal delay meets the delay accuracy requirements in the signal acquisition module, the synchronization accuracy of the signal can also meet the accuracy requirements of the synchronization error.

[0171] In some examples, reference Figure 5 , the main acquisition unit includes a delay compensation subunit, and the delay compensation subunit is used to:

[0172] An integer sample point deviation and a fractional sample point deviation are determined according to the signal delay and the sampling rate of the signal acquisition module.

[0173] Among them, integer sampling points refer to the situation where the position of the sampling point is an integer value, and fractional sampling points refer to the situation where the position of the sampling point is not an integer but a fractional value during the sampling process.

[0174] In this embodiment, the sample point deviation can be calculated according to the signal delay Δt and the sampling rate fs of the signal acquisition module: sample_delay =Δt / fs. The sampling rate refers to the number of samples collected by the signal acquisition channel per second.

[0175] Among them, the integer sample deviation and fractional sample deviation are:

[0176] int_delay = round(sample_delay); int_delay represents the formal sample point deviation, and Round represents the rounding calculation of the sample point deviation.

[0177] frac_delay = sample_delay - int_delay; frac_delay represents the fractional sample point deviation.

[0178] The integer sample deviation and the fractional sample deviation are obtained by the above calculation method, wherein the integer sample deviation indicates the number of complete sample points that the signal needs to compensate. The fractional sample deviation indicates the number of partial sample points that the signal needs to compensate. Based on this, the present embodiment can more accurately compensate for the delay of the signal, improve the synchronization of the synchronization device and the accuracy of signal processing.

[0179] The integer sample point deviation is used to perform integer sample point compensation on the signal collected by the signal collection channel to obtain a signal after integer sample point compensation.

[0180] Optionally, when the integer sample deviation is a positive deviation, it indicates that the signal needs to be delayed. This can be achieved by inserting a corresponding number of zero samples in front of the signal. For example, if the integer sample deviation is 3, 3 zero samples are inserted in front of the signal.

[0181] When the integer sample deviation is positive, it means that the signal needs to be advanced. This can be achieved by removing the corresponding number of samples in front of the signal. For example, if the integer sample deviation is -2, then remove the 2 samples in front of the signal.

[0182] Based on the above operations, a signal after integer sample point compensation can be obtained, and the signal can be aligned with the signals in different signal acquisition modules in time.

[0183] For the signal after the integer sample point compensation mentioned above, fractional sample point compensation can also be performed to meet the accuracy requirements of signal synchronization.

[0184] The delay compensation filter constructed according to the fractional sample point deviation performs fractional sample point compensation on the integer sample point compensated signal.

[0185] After completing integer sample point compensation, the next step is to use fractional sample point deviation to perform more precise delay compensation. Fractional sample point compensation is usually achieved by constructing a delay compensation filter. The delay compensation filter is used to process fractional sample point deviation and can include an interpolation filter and a FIR (finite impulse response) filter.

[0186] Among them, the FIR filter can be designed as a filter with specific delay characteristics, and its linear phase characteristics can be used to achieve accurate delay compensation.

[0187] Exemplarily, this embodiment performs fractional sample point compensation on the integer sample point compensated signal through a set of 21 low-order FIR filters, and the filter is implemented by adding a Blackman-Nuttall window function to a sinc function.

[0188] In this embodiment, the design process of the 21 low-order FIR filter is as follows:

[0189] If a signal x(n) is delayed by D sampling points to obtain a signal y(n), then y(n) = x(nD), where n is the discrete time index. Based on the time-shift property of Fourier transform, the frequency domain transform is: ; where ω is the angular frequency, used to represent the independent variable in frequency domain analysis, and D is a constant, used to represent the time delay. j Is an imaginary unit.

[0190] Then the ideal discrete time delay transfer function can be expressed as:

[0191] ;in, is the frequency response function, is the transfer function in the Z-transform domain, and z is a complex variable in the Z-transform domain.

[0192] The impulse response under ideal conditions can be obtained by inverse Fourier transform:

[0193]

[0194]

[0195]

[0196]

[0197]

[0198] in, is the impulse response, n is the discrete time index, representing the sample point of the discrete time signal.

[0199] The embodiment of the present application determines a fractional delay filter based on a sinc function plus a window function.

[0200] It should be understood that the Blackman-Nuttall window has the advantage of smaller ripples in the passband and smaller group delay fluctuations in the passband. Therefore, the embodiment of the present application selects the Blackman-Nuttall window as the window function, that is, win(nD) in the following formula. The filter transfer function is:

[0201]

[0202] It can be seen that the fractional delay filter is essentially a low-pass filter with a bandwidth approximately at the Nyquist frequency. Therefore, the order of the filter will affect the amplitude and phase response of the filter and the ripple in the passband. Therefore, the design of the fractional-order delay filter needs to consider the following two factors: the normalized bandwidth of the filter should be greater than the maximum normalized bandwidth in the synchronization device, and the ripple of the filter group delay should be small enough. According to simulation verification, when the filter order is 120, at a sampling rate of up to 175GSa / s, its amplitude-frequency response meets the design requirements of a system bandwidth greater than 80GHz.

[0203] The delay compensation filter is implemented in FPGA (Field-Programmable Gate Array). Considering the data processing efficiency and logic resource consumption, a 4-way parallel FFA (Fast Fourier Analysis) algorithm structure is finally selected to implement the delay compensation filter. The detailed structure of the delay filter is shown in Figure 6 shown.

[0204] Based on the above description, this embodiment uses a delay compensation subunit to implement delay compensation for signals in a signal acquisition channel, specifically including integer sample point compensation and fractional sample point compensation. Based on this, it is possible to more accurately perform delay compensation on signals between signal acquisition modules of the synchronization device, thereby improving the synchronization of the synchronization device and the accuracy of signal processing.

[0205] In an embodiment of the present application, the signal delay is calculated by using the delay difference between the main acquisition unit and the corresponding auxiliary acquisition unit pre-stored in the main acquisition unit. This embodiment focuses on describing the process of determining the delay difference. Optionally, this embodiment can use a delay measurement module to determine the above-mentioned delay difference. Before describing the use of the delay measurement module to determine the above-mentioned delay difference, the structure of the synchronization device related to this part is first explained here: the synchronization device includes a reference acquisition module, and the reference acquisition module is any one of the at least two signal acquisition modules. The reference acquisition module includes a reference main acquisition unit and a reference auxiliary acquisition unit; wherein the auxiliary acquisition unit, the reference auxiliary acquisition unit, the main acquisition unit and the reference main acquisition unit are all connected to the delay measurement module.

[0206] Determining the delay difference using the delay measurement module may specifically include the following operations:

[0207] d1, obtaining an auxiliary sampling signal obtained by the auxiliary acquisition unit in each of the signal acquisition modules by sampling the calibration signal, and a reference auxiliary sampling signal obtained by the reference auxiliary acquisition unit by sampling the calibration signal, and determining a first measurement delay corresponding to the auxiliary acquisition unit according to the auxiliary sampling signal and the reference auxiliary sampling signal.

[0208] The first measured delay is used to characterize the delay between the auxiliary acquisition unit and the reference auxiliary acquisition unit, and can be used to align the auxiliary sampling signal with the reference auxiliary sampling signal. Signal alignment can be achieved by using a cross-correlation method to find the best alignment point between the two signals. By comparing the aligned signals, the delay of the auxiliary acquisition unit relative to the reference auxiliary acquisition unit, i.e., the first measured delay, is determined.

[0209] d2, obtaining a main sampling signal obtained by sampling the collected signal by the main acquisition unit in each of the signal acquisition modules, and a reference main sampling signal obtained by sampling the collected signal by the reference main acquisition unit, and determining a second measurement delay corresponding to the main acquisition unit according to the main sampling signal and the reference main sampling signal.

[0210] The second measured delay is used to characterize the delay between the main acquisition unit and the reference main acquisition unit, and can be used to align the main sampling signal with the reference main sampling signal. Then, by comparing the aligned signals, the delay of the main acquisition unit relative to the reference main acquisition unit, i.e., the second measured delay, is determined.

[0211] d3, determining the delay difference between the main acquisition unit and the corresponding auxiliary acquisition unit in each signal acquisition module according to the first measurement delay and the second measurement delay, and sending the delay difference to the main acquisition unit.

[0212] In this embodiment, the delay difference can be determined by the difference between the first measured delay and the second measured delay. It should be understood that in the same synchronization device, the delay difference is determined, and after the delay difference is obtained, it is stored in the main acquisition unit, and the signal delay can be directly determined by using the delay difference when the synchronization device is used later.

[0213] Optionally, the main acquisition unit may use a memory to store the delay difference. Of course, the main acquisition unit may also store the delay difference in other ways, which is not specifically limited in this embodiment.

[0214] As a specific example, the present application targets the scenario where there is uncertain delay between channels each time the synchronization device is powered on. The delay difference is calculated offline once before leaving the factory and saved, and combined with the current delay calculated during online use, data synchronization between multiple signal acquisition modules is achieved.

[0215] Reference Figure 7 and Figure 8Specifically, in offline mode: the delay difference Δt is calculated once when the synchronization device leaves the factory and saved. In online mode: when the synchronization device is used normally, after power-on, the device automatically switches to calibration mode, calculates the current delay value skew1' of the auxiliary acquisition unit, and calculates the signal delay Skew2'=Skew1'+Δt between the signal sampling channels. According to the signal delay skew2', the configuration parameters of the delay filter are calculated and issued in the delay compensation module. The device automatically switches to normal business mode, and each signal acquisition channel performs signal acquisition normally. The signal is delayed calibrated in the delay compensation module to achieve multi-channel signal synchronization.

[0216] It is worth noting that the architecture of the synchronization device provided by this application is universal, and can support the smooth evolution of signal acquisition equipment with larger bandwidth and higher sampling rate, and can be applied to various types of multi-channel signal acquisition equipment, such as spectrum analyzers, etc., providing a solution for the high-precision synchronization of multi-channel signal acquisition equipment. At the same time, the solution is simple to implement, and can automatically measure and compensate for the dynamic delay between multiple acquisition channels by configuring offline waveform files, effectively reducing the requirements of the synchronization device on the clock system, and does not require the user to start the machine for manual calibration, which improves the efficiency of the synchronization device in completing signal synchronization.

[0217] Moreover, the synchronization device provided in the present application is highly scalable, can support any number of signal acquisition channels in a single frame and flexible configuration of multiple frames, has good engineering applicability, can unify synchronization schemes, improve development efficiency, and save development manpower.

[0218] Reference Fig. 9 The embodiment of the present application also provides a multi-channel signal synchronization method, the method comprising the following steps:

[0219] S100, generate a calibration signal. The calibration signal may be generated by a calibration source and a power divider. Optionally, the calibration source outputs a high-precision total calibration signal. The power divider is used to divide the input total calibration signal into at least two calibration signals.

[0220] S200, sampling the calibration signal to obtain a sampled signal.

[0221] In this embodiment, the ADC subunit may be used to perform ADC sampling on the calibration signal to obtain a sampled signal.

[0222] S300, determining the current delay of each signal acquisition module in at least two signal acquisition modules according to the sampling signal and a reference sampling signal obtained based on the calibration signal; wherein the accuracy of the current delay matches the delay accuracy in the signal acquisition module.

[0223] S400, determining a signal delay according to the current delay and a pre-stored delay difference between the main acquisition unit and the auxiliary acquisition unit, and performing delay compensation on the signal in the signal acquisition module based on the signal delay.

[0224] Based on the above description, since the accuracy of the current delay matches the accuracy of the signal in the signal acquisition module, the accuracy of the signal delay determined using the current delay and the delay difference also matches the accuracy of the signal in the signal acquisition module. When the signal in the signal acquisition module is synchronized based on the signal delay, not only can the synchronization of the signals in the multi-channel signal synchronization device be achieved, but also the synchronization accuracy of the signal can be guaranteed to meet the accuracy requirements of the synchronization error.

[0225] Optionally, determining the current delay of the signal acquisition module according to the sampling signal and a reference sampling signal obtained based on the calibration signal includes:

[0226] A signal alignment operation is performed on the sampling signal and the reference sampling signal according to a sliding window algorithm to determine an integer delay of the signal acquisition module.

[0227] The sampling signal and the reference sampling signal are compensated according to the integer delay to obtain a compensated sampling signal and a compensated reference sampling signal.

[0228] A data expansion operation is performed on the compensated sampling signal and the compensated reference sampling signal to obtain an expanded sampling signal and an expanded reference sampling signal; wherein the accuracy of the expanded sampling signal and the expanded reference sampling signal matches the delay accuracy in the signal acquisition module.

[0229] The expanded sampling signal and the compensated reference sampling signal are aligned according to a sliding window algorithm to determine a fractional delay corresponding to the signal acquisition module.

[0230] The current delay is obtained based on the integer delay and the fractional delay.

[0231] Optionally, performing a signal alignment operation on the sampled signal and the reference sampled signal according to a sliding window algorithm to determine an integer delay of the signal acquisition module includes:

[0232] The size of the sliding window and the size of the fixed window in the sliding window algorithm are determined according to the characteristics of the sampling signal and / or the characteristics of the reference sampling signal.

[0233] The fixed window is set on one of the sampling signal and the reference sampling signal, and the sliding window is set on the other signal.

[0234] During the sliding process of the sliding window, the matching degree between the signal in the sliding window at any sliding position and the signal in the fixed window is obtained.

[0235] Based on the matching degree, the best matching position of the sliding window is determined, and the sampling signal and the reference sampling signal are aligned according to the best matching position of the sliding window and the position of the fixed window.

[0236] Optionally, performing a data expansion operation on the compensated sampling signal and the compensated reference sampling signal to obtain an expanded sampling signal and an expanded reference sampling signal includes:

[0237] The compensated sampling signal and the compensated reference sampling signal are equivalently sampled to obtain an equivalent high-frequency sampling signal and an equivalent high-frequency reference sampling signal.

[0238] The missing signal points in the high-frequency sampling signal and the missing signal points in the high-frequency reference sampling signal are filled according to the interpolation process to obtain the extended sampling signal and the extended reference sampling signal.

[0239] Optionally, the performing delay compensation on the signal in the signal acquisition module based on the signal delay includes:

[0240] An integer sample point deviation and a fractional sample point deviation are determined according to the signal delay and the sampling rate of the signal acquisition module.

[0241] Integer sample point compensation is performed on the signal collected by the signal collection module according to the integer sample point deviation to obtain a signal after integer sample point compensation.

[0242] The delay compensation filter constructed according to the fractional sample point deviation performs fractional sample point compensation on the integer sample point compensated signal.

[0243] Optionally, any one of the at least two signal acquisition modules serves as a reference acquisition module, a main acquisition unit in the reference acquisition module serves as a reference main acquisition unit, and an auxiliary acquisition unit in the reference acquisition module serves as a reference auxiliary acquisition unit;

[0244] The method further comprises:

[0245] The auxiliary acquisition unit in each of the signal acquisition modules is controlled to sample the calibration signal to obtain an auxiliary sampling signal, and the reference auxiliary acquisition unit is controlled to sample the calibration signal to obtain a corresponding reference auxiliary sampling signal, and a first measurement delay corresponding to the auxiliary acquisition unit is determined according to the auxiliary sampling signal and the reference auxiliary sampling signal.

[0246] The main acquisition unit in each of the signal acquisition modules is controlled to sample the collected signal to obtain a corresponding main sampling signal, and the reference main acquisition unit is controlled to sample the collected signal to obtain a reference main sampling signal, and a second measurement delay corresponding to the main acquisition unit is determined according to the main sampling signal and the reference main sampling signal.

[0247] According to the first measurement delay and the second measurement delay, a delay difference between a main acquisition unit and an auxiliary acquisition unit in each signal acquisition module is determined and sent to the main acquisition unit.

[0248] It should be understood that the multi-channel signal synchronization method provided in this embodiment is similar to the aforementioned Figure 1-Figure 8 The beneficial effects of the multi-channel signal synchronization device provided in the illustrated embodiment are the same and will not be described in detail here.

[0249] The present application also provides a signal acquisition device, including the Figure 1-Figure 8 A signal synchronization device is provided in the illustrated embodiment.

[0250] The signal acquisition device in this embodiment includes a measuring device, such as an oscilloscope, a spectrum analyzer, a network analyzer, etc.

[0251] The present application also provides a multi-channel signal acquisition device, Fig.10 This is a schematic diagram of the structure of a multi-channel signal acquisition device provided in an embodiment of the present application. Fig.10 As shown, the multi-channel signal acquisition device may include: a transceiver 121 , a processor 122 , and a memory 123 .

[0252] The processor 122 executes the computer execution instructions stored in the memory, so that the processor 122 executes the multi-channel signal synchronization method provided in the above embodiment. The processor 122 can be a general-purpose processor, including a central processing unit CPU, a network processor (network processor, NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0253] The memory 123 is connected to the processor 122 via a system bus and completes communication between them. The memory 123 is used to store computer program instructions.

[0254] The transceiver 121 may be used to obtain tasks to be executed and configuration information of the tasks to be executed.

[0255] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.

[0256] An embodiment of the present application also provides a chip for running instructions, which is used to execute the technical solution of the multi-channel signal synchronization method in the above embodiment.

[0257] An embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the technical solution of the multi-channel signal synchronization method of the above embodiment.

[0258] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0259] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.

[0260] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

[0261] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.

[0262] It should be understood that the above processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the invention can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.

[0263] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.

[0264] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.

[0265] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.

[0266] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic control unit or a main control device.

[0267] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

Claims

1. A multi-channel signal synchronization device, characterized in that: It includes a calibration module, a delay measurement module and at least two signal acquisition modules, each of which includes a main acquisition unit and an auxiliary acquisition unit; the auxiliary acquisition unit, the delay measurement module and the main acquisition unit are connected in sequence; The calibration module is used to output a calibration signal: The auxiliary acquisition unit is used to sample the calibration signal to obtain a sampled signal; The delay measurement module is used to determine the current delay of the signal acquisition module according to the sampling signal and the reference sampling signal obtained based on the calibration signal; wherein the accuracy of the current delay matches the delay accuracy in the signal acquisition module; The main acquisition unit is used to determine the signal delay according to the current delay and the pre-stored delay difference between the main acquisition unit and the auxiliary acquisition unit, and perform delay compensation on the signal in the signal acquisition module based on the signal delay.

2. The multi-channel signal synchronization device according to claim 1, characterized in that: Any one of the at least two signal acquisition modules is used as a reference acquisition module; The auxiliary acquisition unit in the reference acquisition module serves as a reference auxiliary acquisition unit; The reference auxiliary acquisition unit is connected to the delay measurement module; The reference auxiliary acquisition unit is used to sample the calibration signal to obtain the reference sampling signal; The delay measurement module is used to obtain the reference sampling signal from the reference auxiliary acquisition unit.

3. The multi-channel signal synchronization device according to claim 1, characterized in that: The delay measurement module is specifically used for: Performing a signal alignment operation on the sampled signal and the reference sampled signal according to a sliding window algorithm to determine an integer delay of the signal acquisition module; Compensating the sampling signal and the reference sampling signal according to the integer time delay to obtain a compensated sampling signal and a compensated reference sampling signal; Performing a data expansion operation on the compensated sampling signal and the compensated reference sampling signal to obtain an expanded sampling signal and an expanded reference sampling signal; wherein the accuracy of the expanded sampling signal and the expanded reference sampling signal matches the delay accuracy in the signal acquisition module; Performing an alignment operation on the expanded sampling signal and the compensated reference sampling signal according to a sliding window algorithm to determine a fractional delay corresponding to the signal acquisition module; The current delay is obtained based on the integer delay and the fractional delay.

4. The multi-channel signal synchronization device according to claim 3, characterized in that: The delay measurement module is specifically used for: Determining a sliding window size and a fixed window size in the sliding window algorithm according to the characteristics of the sampling signal and / or the characteristics of the reference sampling signal; Setting the fixed window on one of the sampling signal and the reference sampling signal, and setting the sliding window on the other signal; During the sliding process of the sliding window, obtaining a matching degree between a signal in the sliding window at any sliding position of the sliding window and a signal in the fixed window; Based on the matching degree, the best matching position of the sliding window is determined, and the sampling signal and the reference sampling signal are aligned according to the best matching position of the sliding window and the position of the fixed window.

5. The multi-channel signal synchronization device according to claim 3, characterized in that: The delay measurement module is specifically used for: Performing equivalent sampling on the compensated sampling signal and the compensated reference sampling signal to obtain an equivalent high-frequency sampling signal and an equivalent high-frequency reference sampling signal; The missing signal points in the high-frequency sampling signal and the missing signal points in the high-frequency reference sampling signal are filled according to the interpolation processing to obtain the extended sampling signal and the extended reference sampling signal; wherein the sampling rate of the equivalent sampling and the interpolation multiple of the interpolation processing match the delay accuracy in the signal acquisition module.

6. The multi-channel signal synchronization device according to any one of claims 1 to 5, characterized in that: The main acquisition unit includes a delay compensation subunit, and the delay compensation subunit is used to: Determining integer sample point deviation and fractional sample point deviation according to the signal delay and the sampling rate of the signal acquisition module; Performing integer sample point compensation on the signal collected by the signal collection module according to the integer sample point deviation to obtain a signal after integer sample point compensation; The delay compensation filter constructed according to the fractional sample point deviation performs fractional sample point compensation on the integer sample point compensated signal.

7. The multi-channel signal synchronization device according to any one of claims 1 to 5, characterized in that: Any one of the at least two signal acquisition modules is used as a reference acquisition module, the main acquisition unit in the reference acquisition module is used as a reference main acquisition unit, and the auxiliary acquisition unit in the reference acquisition module is used as a reference auxiliary acquisition unit; The delay measurement module is also used for: Acquire an auxiliary sampling signal obtained by sampling the calibration signal by the auxiliary acquisition unit in each of the signal acquisition modules, and a reference auxiliary sampling signal obtained by sampling the calibration signal by the reference auxiliary acquisition unit, and determine a first measurement delay corresponding to the auxiliary acquisition unit according to the auxiliary sampling signal and the reference auxiliary sampling signal; Acquire a main sampling signal obtained by sampling the collected signal by the main acquisition unit in each of the signal acquisition modules, and a reference main sampling signal obtained by sampling the collected signal by the reference main acquisition unit, and determine a second measurement delay corresponding to the main acquisition unit according to the main sampling signal and the reference main sampling signal; According to the first measurement delay and the second measurement delay, a delay difference between a main acquisition unit and an auxiliary acquisition unit in each signal acquisition module is determined and sent to the main acquisition unit.

8. The multi-channel signal synchronization device according to any one of claims 1 to 5, characterized in that: The calibration module includes a calibration source and a power divider, and the calibration source and the power divider are connected; The calibration source is used to output a total calibration signal, and the power divider is used to equally divide the total calibration signal into at least two calibration signals.

9. The multi-channel signal synchronization device according to any one of claims 1 to 5, characterized in that: The auxiliary acquisition unit includes an analog-to-digital conversion subunit and a storage subunit, and the analog-to-digital conversion subunit is connected to the storage subunit; The analog-to-digital conversion subunit is used to sample the calibration signal to obtain a sampled signal; The storage subunit is used to store the sampled signal.

10. A multi-channel signal synchronization method performed by the multi-channel signal synchronization device according to any one of claims 1 to 9, characterized in that: The method comprises: generating a calibration signal; Sampling the calibration signal to obtain a sampling signal; Determine the current delay of each signal acquisition module in at least two signal acquisition modules according to the sampling signal and the reference sampling signal obtained based on the calibration signal; wherein the accuracy of the current delay matches the delay accuracy in the signal acquisition module; The signal delay is determined according to the current delay and the pre-stored delay difference between the main acquisition unit and the auxiliary acquisition unit, and based on the signal delay, the delay compensation is performed on the signal in the signal acquisition module.

11. The multi-channel signal synchronization method according to claim 10, characterized in that: Determining the current delay of the signal acquisition module according to the sampling signal and the reference sampling signal obtained based on the calibration signal includes: Performing a signal alignment operation on the sampled signal and the reference sampled signal according to a sliding window algorithm to determine an integer delay of the signal acquisition module; Compensating the sampling signal and the reference sampling signal according to the integer time delay to obtain a compensated sampling signal and a compensated reference sampling signal; Performing data expansion operation on the compensated sampling signal and the compensated reference sampling signal to obtain an expanded sampling signal and an expanded reference sampling signal; wherein the accuracy of the expanded sampling signal and the expanded reference sampling signal matches the delay accuracy in the signal acquisition module; Performing an alignment operation on the expanded sampling signal and the compensated reference sampling signal according to a sliding window algorithm to determine a fractional delay corresponding to the signal acquisition module; The current delay is obtained based on the integer delay and the fractional delay.

12. The multi-channel signal synchronization method according to claim 11, characterized in that: The performing a signal alignment operation on the sampled signal and the reference sampled signal according to a sliding window algorithm to determine the integer delay of the signal acquisition module comprises: Determining a sliding window size and a fixed window size in the sliding window algorithm according to the characteristics of the sampling signal and / or the characteristics of the reference sampling signal; Setting the fixed window on one of the sampling signal and the reference sampling signal, and setting the sliding window on the other signal; During the sliding process of the sliding window, obtaining a matching degree between a signal in the sliding window at any sliding position of the sliding window and a signal in the fixed window; Based on the matching degree, the best matching position of the sliding window is determined, and the sampling signal and the reference sampling signal are aligned according to the best matching position of the sliding window and the position of the fixed window.

13. The multi-channel signal synchronization method according to claim 11, characterized in that: The performing a data expansion operation on the compensated sampling signal and the compensated reference sampling signal to obtain an expanded sampling signal and an expanded reference sampling signal comprises: Performing equivalent sampling on the compensated sampling signal and the compensated reference sampling signal to obtain an equivalent high-frequency sampling signal and an equivalent high-frequency reference sampling signal; The missing signal points in the high-frequency sampling signal and the missing signal points in the high-frequency reference sampling signal are filled according to the interpolation process to obtain the extended sampling signal and the extended reference sampling signal.

14. The multi-channel signal synchronization method according to any one of claims 10 to 13, characterized in that: The performing delay compensation on the signal in the signal acquisition module based on the signal delay includes: Determining integer sample point deviation and fractional sample point deviation according to the signal delay and the sampling rate of the signal acquisition module; Performing integer sample point compensation on the signal collected by the signal collection module according to the integer sample point deviation to obtain a signal after integer sample point compensation; The delay compensation filter constructed according to the fractional sample point deviation performs fractional sample point compensation on the integer sample point compensated signal.

15. The multi-channel signal synchronization method according to any one of claims 10 to 13, characterized in that: Any one of the at least two signal acquisition modules is used as a reference acquisition module, the main acquisition unit in the reference acquisition module is used as a reference main acquisition unit, and the auxiliary acquisition unit in the reference acquisition module is used as a reference auxiliary acquisition unit; The method further comprises: Controlling the auxiliary acquisition unit in each of the signal acquisition modules to sample the calibration signal to obtain an auxiliary sampling signal, and the reference auxiliary acquisition unit to sample the calibration signal to obtain a corresponding reference auxiliary sampling signal, and determining a first measurement delay corresponding to the auxiliary acquisition unit according to the auxiliary sampling signal and the reference auxiliary sampling signal; Controlling the main acquisition unit in each of the signal acquisition modules to sample the collected signal to obtain a corresponding main sampling signal, and the reference main sampling signal obtained by the reference main acquisition unit to sample the collected signal, and determining a second measurement delay corresponding to the main acquisition unit according to the main sampling signal and the reference main sampling signal; According to the first measurement delay and the second measurement delay, a delay difference between a main acquisition unit and an auxiliary acquisition unit in each signal acquisition module is determined and sent to the main acquisition unit.

16. A signal acquisition device, characterized in that: It comprises a multi-channel signal synchronization device as described in any one of claims 1-9.

17. A multi-channel signal acquisition device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the multi-channel signal synchronization method according to any one of claims 10 to 15 is implemented.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the multi-channel signal synchronization method according to any one of claims 10 to 15 is implemented.