Calibration method and system for dual-channel synchronous sampling phase difference

By using a dual-channel synchronous sampling phase difference calibration method, the phase difference is converted into a high-precision time interval signal. A frequency counter is used to achieve sub-nanosecond time measurement, and a frequency-synchronous sampling phase correction value mapping table is generated. This solves the traceability problem of high-level phase difference measurement instruments and improves measurement accuracy.

CN121679448APending Publication Date: 2026-03-17CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511743285.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-25
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

High-level phase difference measurement instruments lack methods for tracing back to the source, and the phase difference obtained by sampling synchronous signals cannot meet the requirements of high-accuracy phase difference measurement instruments.

Method used

By using a dual-channel synchronous sampling phase difference calibration method, the phase difference is converted into a high-precision time interval signal. A frequency counter is used to achieve sub-nanosecond time measurement, a traceability path between the phase difference and the standard time reference is established, and a mapping table of frequency-synchronous sampling phase correction values ​​is generated.

Benefits of technology

It significantly reduces reliance on expensive high-end signal sources, lowers calibration costs and technical barriers, improves the accuracy of phase difference measurement results, and covers the measurement needs of the full range of phase differences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121679448A_ABST
    Figure CN121679448A_ABST
Patent Text Reader

Abstract

The invention provides a calibration method and system for a dual-channel synchronous sampling phase difference, and the method comprises the steps: converting the phase difference into a high-precision time interval signal, achieving the sub-nanosecond time measurement through a frequency counter, building a traceability path of the phase difference and a standard time reference, and achieving the calibration of the dual-channel synchronous sampling phase difference. According to the method, the problem of phase difference magnitude traceability deficiency in a low-frequency signal scene is effectively solved, the limitation that a traditional method depends on standard signal source comparison is broken, the dependence on an expensive high-end signal source is remarkably reduced, the calibration cost and the technical threshold are reduced, and meanwhile the measurement credibility is remarkably improved. The frequency band range involved by the method and the system comprises 10 Hz to 10 kHz, the phase difference coverage full range is-180 degrees to 180 degrees, for 100 Hz / 10 ms, the measurement result deviation of a frequency counter is smaller than 6 ns, the corresponding phase deviation is smaller than 0.0002 degrees or 3.5 microrad, a correction table of the synchronous sampling phase difference can be given through calibration under different frequencies and different phases, and the accuracy of the phase difference measurement result is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of high-precision synchronous sampling signal processing technology, and more specifically, to a calibration method and system for dual-channel synchronous sampling phase difference. Background Technology

[0002] In modern measurement and control systems, accurate acquisition of the phase relationship between two or more signals is a key prerequisite for achieving high-precision analysis and control. This is particularly true in fields such as power system monitoring, audio signal processing, communication engineering, and precision sensor arrays, where there is a widespread need for high-precision measurement of the phase difference between dual-channel synchronously sampled signals.

[0003] Currently, there are generally two methods for calibrating measuring instruments: one is to calibrate a lower-accuracy measuring instrument with a higher-accuracy signal source. This method relies on the high accuracy of the signal source, but the phase difference accuracy that the signal source itself can generate is limited, making it difficult to meet the requirements of high-precision measurement; the other is to use a stable, same signal source and calibrate a lower-accuracy measuring instrument with a higher-accuracy measuring instrument. This method can calibrate lower-accuracy measuring instruments, but for high-level phase difference measuring instruments, there is still a lack of a method for tracing back to the source.

[0004] Furthermore, the phase difference obtained by sampling synchronous signals has higher phase accuracy than that obtained by sampling single-channel signals because the phase shift is canceled out by subtraction. As a result, the phase-directly traced electrical signal cannot meet the requirements of high-accuracy phase difference measurement instruments. Summary of the Invention

[0005] To address the technical problems of existing high-level phase difference measurement instruments lacking upstream tracing methods and the inability of direct phase tracing of electrical signals based on the signal difference obtained from synchronous signal sampling to meet the requirements of high-accuracy phase difference measurement instruments, this invention provides a calibration method and system for dual-channel synchronous sampling phase difference.

[0006] According to one aspect of the present invention, a calibration method for the phase difference of dual-channel synchronous sampling is provided, comprising:

[0007] According to another aspect of the present invention, a calibration system for dual-channel synchronous sampling phase difference is provided, the system comprising:

[0008] According to another aspect of the present invention, a computer-readable storage medium is provided, the storage medium storing a computer program that, when executed by a processor, implements the methods described in any of the above aspects of the present invention.

[0009] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: a processor; a memory for storing executable instructions of the processor; the processor being configured to read the executable instructions from the memory and execute the instructions to implement the method described in any of the preceding aspects of the present invention.

[0010] The present invention relates to a method and system for calibrating the phase difference of dual-channel synchronous sampling, the method comprising: Attached Figure Description

[0011] Exemplary embodiments of the present invention can be more fully understood by referring to the following figures:

[0012] Figure 1 This is a flowchart of a calibration method for the phase difference of dual-channel synchronous sampling according to a preferred embodiment of the present invention;

[0013] Figure 2 This is a wiring diagram illustrating the steps of the calibration method for the phase difference of dual-channel synchronous sampling according to a preferred embodiment of the present invention.

[0014] Figure 3 This is a schematic diagram of the structure of a calibration system for dual-channel synchronous sampling phase difference according to a preferred embodiment of the present invention;

[0015] Figure 4 This is a schematic diagram of the structure of an electronic device according to a preferred embodiment of the present invention. Detailed Implementation

[0016] Exemplary embodiments of the invention will now be described with reference to the accompanying drawings. However, the invention may be embodied in many different forms and is not limited to the embodiments described herein. These embodiments are provided to fully and completely disclose the invention and to fully convey its scope to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the drawings is not intended to limit the invention. In the drawings, the same units / elements are referred to by the same reference numerals.

[0017] Unless otherwise stated, the terms used herein (including technical terms) have their common meaning as understood by one of ordinary skill in the art. Furthermore, it is understood that terms defined in commonly used dictionaries should be understood to have a meaning consistent with the context of their relevant field, and not to be interpreted as having an idealized or overly formal meaning.

[0018] Exemplary methods

[0019] Figure 1 This is a flowchart of a dual-channel synchronous sampling phase difference calibration method according to a preferred embodiment of the present invention. Figure 1As shown, the calibration method for the phase difference of dual-channel synchronous sampling described in this preferred embodiment starts from step 101.

[0020] In step 101, when the frequency output by the dual-channel signal generator to the frequency counter via the coaxial shielded cable is f j When two synchronous square wave signals are received, the time difference between the first channels of the dual-channel signal generator is obtained, where 1≤j≤J and 10Hz≤f. j ≤10kHz.

[0021] In step 102, when a square wave signal with frequency fj is output from one channel of the dual-channel signal generator, two identical signals are output through the three-way terminal, and then enter the synchronous sampling acquisition card through the coaxial shielded line and are sent to the data processing module to determine the first phase difference of synchronous sampling.

[0022] In step 103, when the frequency output by the frequency counter from the dual-channel signal generator via the coaxial shielded cable is f j The phase difference is When two synchronous square wave signals are obtained, the time difference between the second channels of the dual-channel signal generator is acquired, where 1 ≤ i ≤ I.

[0023] In step 104, when the frequency generated by the dual-channel signal generator is f j The phase difference is The two synchronous square wave signals enter the synchronous sampling acquisition card through the coaxial shielded line and are sent to the data processing module to determine the second phase difference of synchronous sampling.

[0024] Figure 2 This is a wiring diagram illustrating the steps of a dual-channel synchronous sampling phase difference calibration method according to a preferred embodiment of the present invention. Figure 2 The corresponding parameter values ​​can be obtained by wiring the equipment in steps 101 to 104 as shown.

[0025] In step 105, the corrected first phase difference is calculated based on the time difference between the first channel and the time difference between the second channel.

[0026] Preferably, the corrected first phase difference is calculated based on the time difference between the first channel and the time difference between the second channel, and the calculation formula is as follows:

[0027]

[0028] In the formula, △t j00 This indicates that the output frequency of the dual-channel signal generator is f. jThe time difference between the first channels of two synchronized square wave signals, Δt j0i and These represent the output frequencies of the dual-channel signal generator, f and f, respectively. j The phase difference is The time difference between the second channels and the corrected first phase difference when two synchronous square wave signals are used.

[0029] In step 106, the corrected second phase difference is calculated based on the first phase difference of the synchronous sampling and the second phase difference of the synchronous sampling.

[0030] Preferably, the corrected second phase difference is calculated based on the first phase difference and the second phase difference of the synchronous sampling, and the calculation formula is as follows:

[0031]

[0032] In the formula, This indicates that the output frequency of one channel of a dual-channel signal generator is f. j The first phase difference of synchronous sampling when the square wave signal is received. and respectively represent These represent the output frequencies of the dual-channel signal generator, f and f, respectively. j The phase difference is The synchronous sampling second phase difference and the corrected second phase difference for two synchronous square wave signals.

[0033] In step 107, the phase correction value of the synchronous sampling acquisition card is calculated based on the corrected first phase difference and the corrected second phase difference.

[0034] Preferably, the phase correction value of the synchronous sampling acquisition card is calculated based on the corrected first phase difference and the corrected second phase difference, and the calculation formula is as follows:

[0035]

[0036] In the formula, This indicates that the output frequency of the dual-channel signal generator is f. j The phase difference is The phase correction value of the synchronous sampling acquisition card when two synchronous square wave signals are detected.

[0037] In step 108, let i = i + 1. When i ≤ 1, return to step 103. When i > 1, the generation frequency is f. j The synchronous sampling phase correction value table is then used, and the process proceeds to step 109.

[0038] In step 109, let j = j + 1. When j ≤ J, return to step 101. When j > J, generate a frequency-synchronous sampling phase correction value mapping table based on the synchronous sampling phase correction value tables corresponding to the J frequencies.

[0039] Preferably, the vertical resolution of the output of the dual-channel signal generator is not less than 16 bits. The dual-channel generator in this preferred embodiment may be a DG922Pro, but this does not constitute a limitation on the use of other highly stable dual-channel generators in the invention.

[0040] Preferably, the frequency counter has at least two channels and a time resolution of at least 100 ps. The frequency counter in this preferred embodiment can be a 53220A, but this does not constitute a limitation on the use of other frequency counters in the invention.

[0041] Preferably, the synchronous sampling acquisition card has at least two channels and is equipped with an A / D converter of at least 24 bits. The synchronous sampling acquisition card in this preferred embodiment can be a PXI 5922, a DT 9847, or other high-performance acquisition cards.

[0042] Furthermore, the data processing module of this preferred embodiment has sufficient storage space to store data without overflowing and is capable of data calculation. Its hardware can be a laptop computer, industrial control computer, etc., and its software can be developed using LabVIEW, Matlab, etc.

[0043] One point that needs to be emphasized in the embodiments of the present invention is that in order to improve the accuracy of the generated frequency-synchronous sampling phase correction value mapping table when tracing the source, the connection between any devices should be consistent with the connection in this preferred embodiment and should not be arbitrarily exchanged.

[0044] The dual-channel synchronous sampling phase difference calibration method described in this preferred embodiment converts the phase difference into a high-precision time interval signal and uses a frequency counter to achieve sub-nanosecond time measurement. It establishes a traceability path between the phase difference and a standard time reference, effectively solving the problem of missing phase difference measurement traceability in low-frequency signal scenarios. This breaks the limitations of traditional methods that rely on standard signal sources for comparison, significantly reducing dependence on expensive high-end signal sources, lowering calibration costs and technical barriers, and significantly improving measurement reliability. The method covers a frequency band of 10Hz-10kHz, with a phase difference covering the full range of -180° to 180°. For 100Hz / 10ms, the frequency counter measurement result deviation is less than 6ns, corresponding to a phase deviation of less than 0.0002° or 3.5μrad. Calibration at different frequencies and phases can provide a correction table for the synchronous sampling phase difference, further improving the accuracy of the phase difference measurement results.

[0045] Exemplary System

[0046] Figure 3 This is a schematic diagram of a dual-channel synchronous sampling phase difference calibration system according to a preferred embodiment of the present invention. Figure 3 As shown, the dual-channel synchronous sampling phase difference calibration system 300 of this preferred embodiment includes a dual-channel signal generator 301, a frequency counter 302, a coaxial shielded cable 303, a three-way terminal 304, a synchronous sampling acquisition card 305, and a data processing module 306, wherein:

[0047] A dual-channel signal generator 301 is used to output a frequency of f to a frequency counter 302 via a coaxial shielded cable 303 when j≤J. j Two synchronous square wave signals are generated. One channel outputs a square wave signal with frequency fj. After passing through a three-way terminal 304, two identical signals are output, then via a coaxial shielded cable 303 to a synchronous sampling and acquisition card 305. Additionally, when i ≤ I, signals with frequency fj are output via the coaxial shielded cable 303 to both a frequency counter 302 and the synchronous sampling and acquisition card 305. j The phase difference is Two synchronous square wave signals, where 1≤j≤J and 10Hz≤f. j ≤10kHz, 1≤i≤I,

[0048] Frequency counter 302 is used to operate at a frequency of f j Two synchronous square wave signals with frequency f j The phase difference is When the two synchronous square wave signals enter the dual-channel signal generator 301 in sequence, the time difference between the first channel and the time difference between the second channel are obtained respectively.

[0049] The synchronous sampling acquisition card 305 is used to acquire two identical square wave signals with frequency fj, and to acquire signals with frequency fj. j The phase difference is Two synchronous square wave signals are transmitted to the data processing module 306.

[0050] The data processing module 306 is used to calculate the corrected first phase difference based on the time difference between the first channel and the time difference between the second channel; determine the synchronous sampling first phase difference and the synchronous sampling second phase difference; calculate the corrected second phase difference based on the synchronous sampling first phase difference and the synchronous sampling second phase difference; calculate the phase correction value of the synchronous sampling acquisition card based on the corrected first phase difference and the corrected second phase difference; and when j>J and i>I, aggregate the synchronous sampling phase correction value tables corresponding to J frequencies to generate a frequency-synchronous sampling phase correction value mapping table.

[0051] Preferably, the vertical resolution of the output of the dual-channel signal generator 301 is not less than 16 bits.

[0052] Preferably, the frequency counter 302 has no fewer than two channels and a time resolution of no less than 100 ps.

[0053] Preferably, the synchronous sampling acquisition card 305 has no fewer than two channels and is equipped with an A / D converter with no less than 24 bits.

[0054] Preferably, the data processing module 306 calculates the corrected first phase difference based on the time difference between the first channel and the time difference between the second channel, and the calculation formula is as follows:

[0055]

[0056] In the formula, △t j00 This indicates that the output frequency of the dual-channel signal generator is f. j The time difference between the first channels of two synchronized square wave signals, Δt j0i and These represent the output frequencies of the dual-channel signal generator, f and f, respectively. j The phase difference is The time difference between the second channels and the corrected first phase difference when two synchronous square wave signals are used.

[0057] Preferably, the data processing module 306 calculates the corrected second phase difference based on the first phase difference and the second phase difference of the synchronous sampling, and the calculation formula is as follows:

[0058]

[0059] In the formula, This indicates that the output frequency of one channel of a dual-channel signal generator is f. j The first phase difference of synchronous sampling when the square wave signal is received. and respectively represent These represent the output frequencies of the dual-channel signal generator, f and f, respectively. j The phase difference is The synchronous sampling second phase difference and the corrected second phase difference for two synchronous square wave signals.

[0060] Preferably, the data processing module 306 calculates the phase correction value of the synchronous sampling acquisition card based on the corrected first phase difference and the corrected second phase difference, and the calculation formula is as follows:

[0061]

[0062] In the formula, This indicates that the output frequency of the dual-channel signal generator is f.j The phase difference is The phase correction value of the synchronous sampling acquisition card when two synchronous square wave signals are detected.

[0063] The calibration system for dual-channel synchronous sampling phase difference described in this preferred embodiment and the calibration method for dual-channel synchronous sampling phase difference have the same steps in converting the phase difference into a high-precision time interval signal, using a frequency counter to achieve sub-nanosecond time measurement, and generating a frequency-synchronous sampling phase correction value mapping table. The technical effects achieved are also the same, and will not be repeated here.

[0064] Exemplary electronic devices

[0065] Figure 4 This is a schematic diagram of the structure of an electronic device according to a preferred embodiment of the present invention. Figure 4 As shown, the electronic device includes one or more processors 401 and memory 402.

[0066] The processor 401 may be a central processing unit (CPU) or other form of processing unit with data processing and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0067] Memory 402 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and processor 401 may execute the program instructions to implement the dual-channel synchronous sampling phase difference calibration method of the various disclosed embodiments described above, and / or other desired functions. In one example, the electronic device may also include an input device 403 and an output device 404, these components being interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0068] In addition, the input device 403 may also include, for example, a keyboard, a mouse, etc.

[0069] The output device 404 can output various information to the outside. The output device 404 may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.

[0070] Of course, for the sake of simplicity, Figure 4Only some of the components of the electronic device relevant to this disclosure are shown, omitting components such as buses, input / output interfaces, etc. In addition, the electronic device may include any other suitable components depending on the specific application.

[0071] Exemplary computer program products and computer-readable storage media

[0072] In addition to the methods and apparatus described above, embodiments of this disclosure may also be computer program products comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the calibration method for dual-channel synchronous sampling phase difference according to various embodiments of this disclosure as described in the "Exemplary Methods" section of this specification.

[0073] The computer program product can be written in any combination of one or more programming languages ​​to perform the operations of the embodiments of this disclosure. The programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on a user's computing device, partially on a user's computing device, as a standalone software package, partially on a user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0074] Furthermore, embodiments of this disclosure may also be computer-readable storage media storing computer program instructions that, when executed by a processor, cause the processor to perform the steps in the calibration method for dual-channel synchronous sampling phase difference according to various embodiments of this disclosure as described in the "Exemplary Methods" section above.

[0075] The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0076] The basic principles of this disclosure have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this disclosure are merely examples and not limitations, and should not be considered as essential features of each embodiment of this disclosure. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the scope of this disclosure to the necessity of employing the aforementioned specific details for implementation.

[0077] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For system embodiments, since they largely correspond to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0078] The block diagrams of devices, apparatuses, devices, and systems disclosed herein are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.

[0079] The apparatus and methods of this disclosure may be implemented in many ways. For example, they may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order of steps for the methods is for illustrative purposes only, and the steps of the methods of this disclosure are not limited to the order specifically described above unless otherwise specifically stated. Furthermore, in some embodiments, this disclosure may also be implemented as a program recorded on a recording medium, the program including machine-readable instructions for implementing the methods according to this disclosure. Thus, this disclosure also covers recording media storing programs for performing the methods according to this disclosure.

[0080] It should also be noted that in the apparatus, devices, and methods of this disclosure, the components or steps are decomposable and / or recombinable. Such decomposition and / or recombination should be considered equivalent to the present disclosure. The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of this disclosure. Therefore, this disclosure is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.

[0081] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this disclosure to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations therein.

Claims

1. A method of calibrating a dual-channel synchronous sampling phase difference, characterized in that, The method comprises: Step 101, when the frequency output by the dual-channel signal generator to the frequency counter through the coaxial shielded wire is f j , two synchronous square wave signals, the first channel time difference of the dual-channel signal generator is obtained, wherein, 1≤j≤J, 10Hz≤f j ≤10kHz; Step 102, when the frequency of the square wave signal output by one channel of the dual-channel signal generator is f, two identical signals are output through the three-way terminal, enter the synchronous sampling acquisition card through the coaxial shielded wire, and are sent to the data processing module to determine the synchronous sampling first phase difference; Step 103, when the double-channel signal generator is the frequency f output by the frequency counter through the coaxial shielded wire j , the phase difference of two synchronous square wave signals is , the second channel time difference of the double-channel signal generator is obtained, wherein 1≤i≤I, Step 104, when the frequency of the double-channel signal generator is f j , the phase difference of the two synchronous square wave signals generated by the coaxial shielded wire into the synchronous sampling acquisition card, and sent to the data processing module to determine the synchronous sampling second phase difference; ​ Step 105, calculating the corrected first phase difference according to the first inter-channel time difference and the second inter-channel time difference; Step 106, calculating the corrected second phase difference according to the synchronous sampling first phase difference and the synchronous sampling second phase difference; Step 107, calculating the phase correction value of the synchronous sampling acquisition card according to the corrected first phase difference and the corrected second phase difference; Step 108, let i = i + 1, when i ≤ I, return to step 103, when i > I, generate the synchronization sampling phase correction value table with the frequency f j and go to step 109; Step 109, setting j = j + 1, returning to step 101 when j ≤ J, and generating a frequency-synchronous sampling phase correction value mapping relationship table according to the synchronous sampling phase correction value table corresponding to each frequency when j > J.

2. The method of claim 1, wherein, The calculation formula of the corrected first phase difference according to the first inter-channel time difference and the second inter-channel time difference is: where Δt j00 represents the first inter-channel time difference when the two-channel signal generator outputs two synchronized square wave signals with a frequency of f j . j0i and respectively represent the second inter-channel time difference and the corrected first phase difference when the two-channel signal generator outputs two synchronized square wave signals with a frequency of f j , and a phase difference of .

3. The method of claim 2, wherein, The calculation formula of the corrected second phase difference according to the synchronous sampling first phase difference and the synchronous sampling second phase difference is: wherein indicates a first phase difference of a synchronous sampling when a frequency of one channel output of a two-channel signal generator is f j indicates a second phase difference of a synchronous sampling when two synchronous square wave signals of which frequencies are f j and a phase difference is indicates a second phase difference of a synchronous sampling when two synchronous square wave signals of which frequencies are f j and a phase difference is indicates a second phase difference of a synchronous sampling when two synchronous square wave signals of which frequencies are f j and a phase difference is indicates a second phase difference of a synchronous sampling when two synchronous square wave signals of which frequencies are f j and a phase difference is indicates a second phase difference of a synchronous sampling when two synchronous square wave signals of which frequencies are f j and a phase difference 4. The method of claim 3, wherein, The calculation formula of the phase correction value of the synchronous sampling acquisition card according to the corrected first phase difference and the corrected second phase difference is: In the formula, represents the phase correction value of the synchronous sampling acquisition card when the output frequency of the two-channel signal generator is f j , and the phase difference of the two synchronous square wave signals is .

5. The method of claim 1, wherein, The output vertical resolution of the dual-channel signal generator is not less than 16 bits.

6. The method of claim 1, wherein, The channel of the frequency counter is not less than 2, and the time resolution is not less than 100 ps.

7. The method of claim 1, wherein, The channel of the synchronous sampling acquisition card is not less than 2, and the acquisition card has not less than 24-bit A / D.

8. A calibration system for a two-channel synchronous sampling phase difference, characterized in that The system comprises a dual-channel signal generator, a frequency counter, a coaxial shielded wire, a three-way terminal, a synchronous sampling acquisition card, and a data processing module, wherein: a double-channel signal generator, for outputting a frequency f j two synchronous square wave signals, one of which is a square wave signal with a frequency f j , and a phase difference of , wherein 1≤j≤J, 10Hz≤f j ≤10kHz, 1≤i≤I, a frequency counter, for acquiring a first inter-channel time difference and a second inter-channel time difference of the double-channel signal generator when two synchronous square wave signals with a frequency f j and two synchronous square wave signals with a frequency f j , and a phase difference of enter the frequency counter in sequence The synchronous sampling acquisition card is used for acquiring two same square wave signals with a frequency of f and two synchronous square wave signals with a frequency of f and a phase difference of j , and transmitting to the data processing module. ​ The data processing module is used to calculate the corrected first phase difference according to the first inter-channel time difference and the second inter-channel time difference, determine the synchronous sampling first phase difference and the synchronous sampling second phase difference, calculate the corrected second phase difference according to the synchronous sampling first phase difference and the synchronous sampling second phase difference, calculate the phase correction value of the synchronous sampling acquisition card according to the corrected first phase difference and the corrected second phase difference, and generate a frequency-synchronous sampling phase correction value mapping relationship table according to the synchronous sampling phase correction value table corresponding to each frequency when j > J and i > I.

9. A computer readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to realize the steps of the method in any one of claims 1-7.

10. An electronic device, comprising: Comprise: A processor; A memory for storing executable instructions of the processor; The processor is used to read the executable instructions from the memory and execute the executable instructions to realize the steps of the method in any one of claims 1-7.