A fully digital phase comparison method and system for heterodyne frequency signals

Through the full digital phase comparison method, DDS signals are used for mixing and filtering to eliminate the influence of the common oscillator, achieve accurate phase measurement of different frequency and high frequency signals, and solve the problems of measurement accuracy and range limitation in the existing technology.

CN118376840BActive Publication Date: 2024-09-13NAT UNIV OF DEFENSE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410830369.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-13
Estimated Expiration
2044-06-25

AI Technical Summary

Technical Problem

It is difficult to simultaneously measure the frequency and phase fluctuations of signals with the existing technology, especially in the case of multi-frequency signals. Moreover, the phase comparison measurement of high-frequency signals has sampling rate limitations and the influence of a common oscillator, which affects accuracy and reliability.

Method used

Using a fully digital phase comparison method, through oversampling or undersampling signals, and using DDS signals for mixing, low-pass filtering, decimation filtering and phase calculation are performed to obtain the phase of the signal, and then proportional amplification and subtraction are performed to eliminate common The effect of the oscillator is to obtain the phase difference.

Benefits of technology

It effectively offsets the influence of the public oscillator, improves the measurement accuracy and reliability, is suitable for phase comparison measurement of different frequency and high-frequency signals, and expands the measurement range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118376840B
    Figure CN118376840B
Patent Text Reader

Abstract

The present application relates to a fully digital phase comparison method and system for heterofrequency signals. The method comprises: respectively oversampling, mixing low-pass filtering, decimation filtering, and phase resolution of a first reference signal and a measured signal to obtain the phase of the first reference signal and the phase of the measured signal; respectively proportionally amplifying the phase of the first reference signal and the phase of the measured signal so that the items related to the phase fluctuation value of the common oscillator in the two phase signals are the same, and subtracting the phase of the measured signal after the amplification processing from the phase of the first reference signal after the amplification processing to obtain the phase difference. The method adopts a fully digital phase comparison measurement signal processing method based on the Nyquist sampling rate, solves the measurement problem of heterofrequency signals, effectively offsets the influence of the common oscillator, and improves the measurement background level.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of phase comparison measurement, and in particular to a fully digital phase comparison method and system for heterofrequency signals. Background Art

[0002] Phase comparison technology is a relatively common technology in the field of electronic information. Measuring the tiny frequency and phase fluctuations between the received signal and the transmitted signal (reference frequency signal) requires phase comparison measurement. It is a technology commonly used in radar, communication, sonar, navigation and some other electronic information fields.

[0003] It is necessary to measure the tiny frequency and phase fluctuations of the signal. The traditional method is generally to measure it through a high-precision frequency meter, but this method can only measure frequency fluctuations and cannot measure phase fluctuations.

[0004] If the frequency and phase fluctuations need to be measured simultaneously, the double-mixing time difference method is generally used. This method mainly uses mixing technology to convert a higher frequency to a lower frequency, while offsetting the impact of the common oscillation frequency on system indicators. However, this method generally performs phase comparison measurements on signals of the same frequency.

[0005] At present, all-digital phase comparison technology has become the mainstream research direction in recent years. However, this technology is affected by the sampling rate and has a limited measurement range. In addition, it is difficult to completely eliminate the influence of the common oscillator when performing phase comparison on signals of different frequencies, which affects the phase comparison indicators.

[0006] If you need to compare the phase of a higher frequency signal, you often need to down-convert it. However, down-conversion requires a reference frequency signal, which cannot be an ideal signal, so it will inevitably affect the measured frequency signal. In addition, when measuring two frequency signals of different frequencies, it is difficult to offset the influence of the common oscillator on the system indicators, thus affecting the accuracy and reliability of the phase comparison. Summary of the invention

[0007] Based on this, it is necessary to provide a fully digital phase comparison method and system for heterodyne signals in order to address the above technical issues.

[0008] A fully digital phase comparison method for different-frequency signals, the method comprising:

[0009] The first reference signal and the measured signal are oversampled respectively to obtain the first reference signal digital quantity and the measured signal digital quantity; wherein the two sampling clocks are provided by a common oscillator, the frequencies of the first reference signal and the measured signal are different, and the initial phase of the first reference signal is 0.

[0010] The first reference signal digital quantity and the measured signal digital quantity are mixed with the first DDS signal and the second DDS signal respectively to obtain the first mixed signal and the second mixed signal; wherein the first DDS signal and the second DDS signal are homologous DDS signals generated by a common oscillator frequency.

[0011] The first mixed signal and the second mixed signal are respectively subjected to low-pass filtering, extraction filtering, and phase resolution to obtain a first reference signal phase and a measured signal phase.

[0012] The phase of the first reference signal and the phase of the measured signal are respectively proportionally amplified so that the items related to the phase fluctuation value of the common oscillator in the two phase signals are the same, and the phase of the measured signal after amplification is subtracted from the phase of the first reference signal after amplification to obtain a phase difference.

[0013] In one embodiment, the first DDS signal and the second DDS signal are respectively:

[0014] ;

[0015] ;

[0016] in, is the first DDS signal, is the second DDS signal, is the sampling data point number, is the oversampling period, is the frequency value of the common oscillator, The frequencies of the first reference signal and the measured signal, respectively, are the frequency fluctuation values ​​of the first reference signal and the measured signal respectively; is the phase fluctuation value of the common oscillator.

[0017] In one embodiment, the signal after extraction and filtering is:

[0018] ;

[0019] ;

[0020] in, respectively extracting the first reference signal and the measured signal after filtering; is the initial phase of the measured signal.

[0021] In one embodiment, the phase difference is:

[0022] ;

[0023] in, is the phase fluctuation of the measured signal.

[0024] A fully digital phase comparison system for heterofrequency signals comprises two phase measurement branches, a DDS module, a common oscillator and a phase difference calculation module.

[0025] The phase measurement branch includes an ADC module, a mixer, a low-pass filter, a decimation filter, a phase solver module, and a proportional module.

[0026] The first phase measurement branch is used to oversample the received first reference signal using the ADC module, mix the oversampled signal of the first reference signal and the first DDS signal using a mixer, and then filter it using a low-pass filter and an extraction filter, and then process it using a phase solution module to obtain the phase of the first reference signal. After the phase of the first reference signal is processed by the proportional module, it is input into the phase difference calculation module.

[0027] The second phase measurement branch is used to use the ADC module to oversample the received measured signal, use a mixer to mix the oversampled signal of the measured signal and the second DDS signal, and then use a low-pass filter and an extraction filter to filter it, and then use the phase solution module to process it to obtain the phase of the measured signal. After the phase of the measured signal is processed by the proportional module, it is input into the phase difference calculation module; the frequencies of the first reference signal and the measured signal are different, and the initial phase of the first reference signal is 0.

[0028] The phase difference calculation module is used to subtract the phase of the measured signal after amplification processing from the phase of the first reference signal after amplification processing to obtain the phase difference.

[0029] The common oscillator is used to provide a frequency source for the DDS module and also to provide a sampling clock for the two ADC modules.

[0030] The DDS module is used to generate a first DDS signal and a second DDS signal according to a frequency source.

[0031] A fully digital phase comparison method for different-frequency signals applicable to high-frequency signals, the method comprising:

[0032] The second reference signal is oversampled and the high-frequency measured signal is undersampled to obtain a digital quantity of the second reference signal and a digital quantity of the high-frequency measured signal; wherein the two sampling clocks are both provided by a common oscillator, the frequencies of the second reference signal and the high-frequency measured signal are different, and the initial phase of the second reference signal is 0.

[0033] The second reference signal digital quantity and the high-frequency measured signal digital quantity are mixed with the third DDS signal and the fourth DDS signal respectively to obtain the third mixed signal and the fourth mixed signal; wherein the third DDS signal and the fourth DDS signal are homologous DDS signals generated according to the first common oscillator frequency.

[0034] The third mixed signal and the fourth mixed signal are respectively subjected to low-pass filtering, decimation filtering, and phase resolution to obtain a second reference signal phase and a high-frequency measured signal phase.

[0035] The phase of the second reference signal and the phase of the high-frequency measured signal are respectively proportionally amplified so that the items related to the phase fluctuation value of the common oscillator in the two phase signals are the same, and the phase of the measured signal after amplification is subtracted from the phase of the second reference signal after amplification to obtain the phase difference.

[0036] In one embodiment, the third DDS signal and the fourth DDS signal are respectively:

[0037] ;

[0038] ;

[0039] in, is the third DDS signal, is the fourth DDS signal, is the sampling data point number, is the undersampling period, is the frequency value of the first common oscillator, The frequencies of the first reference signal and the measured signal, respectively, are the frequency fluctuation values ​​of the second reference signal and the high-frequency measured signal respectively; is the phase fluctuation value of the first common oscillator.

[0040] In one embodiment, the signal after extraction and filtering is:

[0041] ;

[0042] ;

[0043] in, respectively extracting the filtered second reference signal and the high-frequency measured signal; is the initial phase of the high-frequency measured signal.

[0044] In one embodiment, the phase difference is:

[0045] ;

[0046] in, It is the phase fluctuation of the measured high-frequency signal.

[0047] A fully digital phase comparison system for heterodyne signals suitable for high-frequency signals comprises a third phase measurement branch, a fourth phase measurement branch, a first DDS module, a first common oscillator and a first phase difference calculation module.

[0048] The third phase measurement branch and the fourth phase measurement branch both include a first ADC module, a first mixer, a first low-pass filter, a first decimation filter, a first phase solving module and a first proportional module.

[0049] The third phase measurement branch is used to use the first ADC module to oversample the received second reference signal, use the first mixer to mix the oversampled signal of the second reference signal and the third DDS signal, and then use the first low-pass filter and the first extraction filter to filter, and then use the first phase solution module to process to obtain the phase of the second reference signal. After the phase of the second reference signal is processed by the first proportional module, it is input into the first phase difference calculation module.

[0050] The fourth phase measurement branch is used to use the first ADC module to undersample the received high-frequency measured signal, use the first mixer to mix the undersampled signal of the high-frequency measured signal and the fourth DDS signal, and then use the first low-pass filter and the first extraction filter to filter, and then use the first phase solution module to process to obtain the phase of the high-frequency measured signal. After the phase of the high-frequency measured signal is processed by the first proportional module, it is input into the first phase difference calculation module; the frequencies of the second reference signal and the high-frequency measured signal are different, and the initial phase of the first reference signal is 0.

[0051] The first phase difference calculation module is used to subtract the phase of the measured signal after amplification processing from the phase of the first reference signal after amplification processing to obtain a phase difference.

[0052] The first common oscillator is used to provide a frequency source for the first DDS module and is also used to provide a sampling clock for the two first ADC modules.

[0053] The first DDS module is used to generate a third DDS signal and a fourth DDS signal according to a frequency source.

[0054] The above-mentioned all-digital phase comparison method and system for heterofrequency signals, the method includes: respectively oversampling, mixing low-pass filtering, extraction filtering, and phase resolution of the first reference signal and the measured signal to obtain the first reference signal phase and the measured signal phase; respectively proportionally amplifying the first reference signal phase and the measured signal phase so that the items related to the phase fluctuation value of the common oscillator in the two phase signals are the same, and subtracting the amplified measured signal phase from the amplified first reference signal phase to obtain the phase difference. This method adopts a fully digital phase comparison measurement signal processing method based on the Nyquist sampling rate, solves the measurement problem of heterofrequency signals, effectively offsets the influence of the common oscillator, and improves the measurement background level. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 A schematic diagram of a flow chart of a fully digital phase comparison method for heterodyne frequency signals in one embodiment;

[0056] Figure 2 It is a structural block diagram of a fully digital phase comparison system for heterodyne signals in one embodiment;

[0057] Figure 3 It is a flow chart of a fully digital phase comparison method of different-frequency signals applicable to high-frequency signals in one embodiment;

[0058] Figure 4 It is a structural block diagram of a fully digital phase comparison system for different-frequency signals applicable to high-frequency signals in another embodiment. DETAILED DESCRIPTION

[0059] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0060] Phase comparison technology often requires a phase comparison between the measured signal and the reference frequency signal, such as measuring a small frequency shift and phase shift. Generally, the measured frequency signal is compared with the original first reference signal after the phase change. Sometimes the frequency value is the same, and sometimes the measured signal and the first reference signal have different frequency values. For example, in a speed radar system, the system generally has an intermediate frequency reference frequency signal, and the transmitting signal is generally a signal after the intermediate frequency signal is multiplied. Therefore, the RF signal is generally of a higher frequency, but it is generally the same source as the intermediate frequency signal. If the full digital method is used for measurement, a higher sampling frequency is generally required for the RF signal. When the frequency is high to a certain extent, the sampling rate and signal-to-noise ratio are difficult to be effectively guaranteed, and sometimes even direct sampling cannot be achieved. For intermediate frequency signals, AD acquisition is very convenient. Therefore, two problems need to be solved here. The first problem is how to solve the phase comparison technology between signals of different frequencies. The second problem is how to solve the measurement problem of the measurement frequency signal with a relatively high relative frequency based on the first problem.

[0061] In response to the first problem, the fully digital phase comparison method for heterofrequency signals proposed in this application is based on the fully digital phase comparison measurement signal processing flow and method of the Nyquist sampling rate, which solves the measurement problem of heterofrequency signals, effectively offsets the influence of the common oscillator, and improves the measurement background level.

[0062] In response to the second problem, the present application proposes a fully digital phase comparison method for high-frequency heterodyne signals, which is based on an undersampling rate fully digital phase comparison measurement signal processing flow and method, and simultaneously solves the measurement problems of heterodyne signals and high-frequency signals, effectively offsets the influence of the common oscillator, and improves the measurement background level.

[0063] In one embodiment, Figure 1 As shown, a fully digital phase comparison method for different-frequency signals is provided, and the method should include the following steps:

[0064] Step 100: oversample the first reference signal and the measured signal respectively to obtain the first reference signal digital quantity and the measured signal digital quantity; wherein the two sampling clocks are provided by a common oscillator, the frequencies of the first reference signal and the measured signal are different, and the initial phase of the first reference signal is 0.

[0065] Specifically, if the amplitudes of the first reference signal and the measured signal are fixed (non-AM signal), then the amplitudes have nothing to do with the calculation of frequency and phase. For convenience, input the first reference signal ( ) and the measured signal ( ) are normalized amplitude signals, as shown in formulas (1) and (2). The first reference signal is generally regarded as an ideal signal, and its phase fluctuation is considered to be 0. Its initial phase has no effect on the calculation result. Therefore, the initial phase of the first reference signal can be set to 0. The phase information of the measured signal changes with time, so express.

[0066] (1)

[0067] (2)

[0068] in, is the first reference signal, is the measured signal, The frequencies of the first reference signal and the measured signal, respectively, is the initial phase of the measured signal. The frequency of the measured signal is less than 30M.

[0069] After the first reference signal and the measured signal are collected (oversampled) by AD, the signals are shown in formulas (3) and (4):

[0070] (3)

[0071] (4)

[0072] in, is the first reference signal digital quantity, is the digital quantity of the measured signal, Represents the sampling period, and the corresponding sampling rate is , Indicates the sequence number of the sampling data point.

[0073] By using a phase-locked loop to lock the 10MHz frequency signal with the 10.23MHz signal, the two signals can be considered to be the same source signal, but with different frequencies. Through oversampling measurement, the ADC bit width is 16 bits, the sampling rate is 91MHz, and the tested second stability is 2e-15, which is consistent with the standard frequency stability measuring instrument.

[0074] It is worth noting that firstly, the condition of undersampling the measured signal needs to be met. Secondly, the sampling frequency is generally set slightly lower than the frequency of the measured signal. Under normal circumstances, the frequency of the under-sampled signal after sampling is within the range of 1MHz-30MHz (this frequency range is also the measurement range of the general phase comparator).

[0075] Step 102: Mix the first reference signal digital quantity and the measured signal digital quantity with the first DDS signal and the second DDS signal respectively to obtain the first mixed signal and the second mixed signal; wherein the first DDS signal and the second DDS signal are homologous DDS signals generated by a common oscillator frequency.

[0076] Specifically, the first reference signal and the measured signal are input into the mixer after AD acquisition. For the convenience of analysis, the formulas (3) and (4) are replaced by Convert to frequency signal , we get formulas (5) and (6), and the other two signals of the mixer are generated by the common oscillator frequency The generated DDS signal and the common oscillator are also used as the sampling clock for AD acquisition, as shown in formulas (7) and (8) respectively.

[0077] (5)

[0078] (6)

[0079] (7)

[0080] (8)

[0081] in, Indicates the phase fluctuation value of the common oscillator. Set the appropriate and The purpose of the value is to avoid the signal becoming a zero intermediate frequency signal after mixing and to avoid the signal appearing in an image. and The value is generally small, determined by the maximum frequency fluctuation range, but generally it will meet , , reasonable simplification can be made during calculation, so that formulas (7) and (8) can be simplified to formulas (9) and (10).

[0082] Step 104: low-pass filter, decimation filter, and phase calculation are performed on the first mixed signal and the second mixed signal respectively to obtain a first reference signal phase and a measured signal phase.

[0083] Specifically, the first mixing signal and the second mixing signal are subjected to low-pass filtering and extraction filtering respectively to filter out the sum frequency signal of the mixing signal and retain the difference frequency signal. The filtered signals are subjected to phase calculation to obtain the phase of the first reference signal and the measured signal.

[0084] Step 106: Proportionally amplify the phase of the first reference signal and the phase of the measured signal so that the items related to the phase fluctuation value of the common oscillator in the two phase signals are the same, and subtract the phase of the measured signal after amplification from the phase of the first reference signal after amplification to obtain a phase difference.

[0085] Specifically, the phase of the first reference signal and the phase of the measured signal include items related to the phase fluctuation value of the common oscillator. By performing a proportional operation on the phase, the terms related to the phase fluctuation value of the common oscillator included in the phase of the first reference signal and the phase of the measured signal are made the same, and then the phase difference is obtained by subtracting the phase of the first reference signal after proportional processing from the phase of the measured signal after amplification processing.

[0086] In the above-mentioned all-digital phase comparison method for heterofrequency signals, the method includes: respectively oversampling, mixing low-pass filtering, decimation filtering, and phase resolution of the first reference signal and the measured signal to obtain the first reference signal phase and the measured signal phase; respectively proportionally amplifying the first reference signal phase and the measured signal phase so that the items related to the phase fluctuation value of the common oscillator in the two phase signals are the same, and subtracting the amplified measured signal phase from the amplified first reference signal phase to obtain the phase difference. This method adopts a fully digital phase comparison measurement signal processing method based on the Nyquist sampling rate, solves the measurement problem of heterofrequency signals, effectively offsets the influence of the common oscillator, and improves the measurement background level.

[0087] In one embodiment, the first DDS signal and the second DDS signal in step 102 are respectively:

[0088] (9)

[0089] (10)

[0090] in, is the first DDS signal, is the second DDS signal, is the sampling data point number, is the oversampling period, is the frequency value of the common oscillator, The frequencies of the first reference signal and the measured signal, respectively, are the frequency fluctuation values ​​of the first reference signal and the measured signal respectively; is the phase fluctuation value of the common oscillator.

[0091] In one embodiment, the signal extracted and filtered in step 104 is:

[0092] (11)

[0093] (12)

[0094] in, respectively extracting the first reference signal and the measured signal after filtering; is the initial phase of the measured signal.

[0095] Specifically, the sum frequency signal is filtered out by mixing, and the difference frequency signal is retained to obtain the following equations (11) and (12). According to the above principle, the amplitude is still normalized. After the phase is solved, the following equations (13) and (14) are obtained.

[0096] (13)

[0097] (14)

[0098] In one embodiment, the phase difference in step 106 is:

[0099] (15)

[0100] in, is the phase fluctuation of the measured signal.

[0101] Specifically, considering the convenience of calculating the phase difference after phase comparison, the relative phase fluctuation and frequency fluctuation results are generally calculated based on the reference frequency value. , and finally the phase difference is as shown in formula (15), where The common oscillation frequency is completely offset, which solves the influence of the common oscillation frequency measurement result. In formula (15), if , the final result is shown in formula (16).

[0102] (16)

[0103] In this way, the relative phase fluctuation result of the measured signal is completely obtained. However, the result is the nominal value relative to the reference frequency signal. Therefore, when calculating the frequency difference and phase difference, they are both relative to the reference frequency value.

[0104] In one embodiment, Figure 2 As shown, a fully digital phase comparison system for heterofrequency signals includes: two phase measurement branches 20, a DDS module 21, a common oscillator 22 and a phase difference calculation module 23.

[0105] The phase measurement branch 20 includes an ADC module 201 , a mixer 202 , a low-pass filter 203 , a decimation filter 204 , a phase calculation module 205 and a proportional module 206 .

[0106] The first phase measurement branch 20 is used to use the ADC module 201 to oversample the received first reference signal, use the mixer 202 to mix the oversampled signal of the first reference signal and the first DDS signal, and then use the low-pass filter 203 and the extraction filter 204 to filter, and then use the phase solution module 205 to process to obtain the phase of the first reference signal. After the phase of the first reference signal is processed by the proportional module 206, it is input into the phase difference calculation module 23.

[0107] The second phase measurement branch 20 is used to use the ADC module 201 to oversample the received measured signal, use the mixer 202 to mix the oversampled signal of the measured signal and the second DDS signal, and then use the low-pass filter 203 and the extraction filter 204 to filter, and then use the phase solution module 205 to process to obtain the phase of the measured signal. After the phase of the measured signal is processed by the proportional module 206, it is input into the phase difference calculation module 23; the frequencies of the first reference signal and the measured signal are different, and the initial phase of the first reference signal is 0.

[0108] The phase difference calculation module 23 is used to subtract the phase of the measured signal processed by the proportional module 206 from the phase of the first reference signal processed by the proportional module 206 to obtain a phase difference.

[0109] The common oscillator 22 is used to provide a frequency source for the DDS module 21 and also used to provide a sampling clock for the two ADC modules 201 .

[0110] The DDS module 21 is used to generate a first DDS signal and a second DDS signal according to a frequency source.

[0111] In one embodiment, Figure 3 As shown, a fully digital phase comparison method for different-frequency signals applicable to high-frequency signals is provided, and the specific steps of the method include:

[0112] Step 300: oversample the second reference signal and undersample the high-frequency measured signal to obtain a digital quantity of the second reference signal and a digital quantity of the high-frequency measured signal; wherein the two sampling clocks are both provided by a common oscillator, the frequencies of the second reference signal and the high-frequency measured signal are different, and the initial phase of the second reference signal is 0.

[0113] Specifically, a high-frequency measured signal generally refers to a frequency signal having a frequency greater than 30 MHz.

[0114] For the second reference signal, AD acquisition can be oversampling, while for the high-frequency measured signal, undersampling can be used (using undersampling technology to directly sample the RF signal, the measurement range can be expanded very large), as long as the ADC analog bandwidth is greater than the frequency of the measured signal. Since the measurement of single-frequency signals is mainly considered, it belongs to undersampling of narrowband signals. Therefore, it is better to choose the sampling frequency for undersampling. There are special literatures to prove it, which will not be repeated here.

[0115] If the input signal has a fixed amplitude (non-AM signal), then its amplitude has nothing to do with the frequency and phase calculations. Therefore, for convenience, we assume that the second reference signal ( ) and high frequency measured signal ( ) are normalized amplitude signals, as shown in formulas (17) and (18). The first reference signal is generally regarded as an ideal signal, and its phase fluctuation is considered to be 0. Its initial phase has no effect on the calculation result. Therefore, the initial phase of the second reference signal can be set to 0. The phase information of the high-frequency measured signal changes with time, so express.

[0116] (17)

[0117] (18)

[0118] After the first reference signal and the measured signal are collected by AD, the signals are shown in formulas (19) and (20).

[0119] (19)

[0120] (20)

[0121] in Represents the sampling period, and the corresponding sampling rate is , Indicates the sequence number of the sampling data point.

[0122] For the convenience of analysis, it is assumed that the undersampling frequency is slightly lower than the signal frequency. In other cases, only the frequency values ​​obtained after sampling are different. The principle analysis is the same. It is not difficult to obtain equations (21) and (22). The signal frequency after undersampling becomes This produces a peculiar effect, similar to the effect of mixing, but it also brings a new problem, that is, the signal after undersampling of the measured signal is mixed with the frequency value of the common oscillator. , how to eliminate it becomes a thorny issue.

[0123] (twenty one)

[0124] (twenty two)

[0125] The common oscillator is not an ideal signal either. It certainly has phase fluctuations and frequency fluctuations. , it is not difficult to obtain formulas (23), (24) and (25).

[0126] (twenty three)

[0127] (twenty four)

[0128] (25)

[0129] Step 302: Mix the second reference signal digital quantity and the high-frequency measured signal digital quantity with the third DDS signal and the fourth DDS signal respectively to obtain a third mixed signal and a fourth mixed signal; wherein the third DDS signal and the fourth DDS signal are homologous DDS signals generated according to the first common oscillator frequency.

[0130] Specifically, the data after AD sampling is input to the mixer, and the two external signals of the mixer are generated by DDS, as shown in formulas (26) and (27).

[0131] Step 304: low-pass filter, decimation filter, and phase calculation are performed on the third mixed signal and the fourth mixed signal respectively to obtain a second reference signal phase and a high-frequency measured signal phase.

[0132] Step 306: Proportionally amplify the phase of the second reference signal and the phase of the high-frequency measured signal respectively so that the items related to the phase fluctuation value of the common oscillator in the two phase signals are the same, and subtract the phase of the measured signal after amplification from the phase of the second reference signal after amplification to obtain a phase difference.

[0133] This method uses a phase-locked loop to achieve locking between a 10MHz frequency signal and a 100MHz frequency signal. The two signals can be considered to be homologous signals, but with different frequencies. The ADC bit width is 16 bits, the sampling rate is 91MHz, and the test second stability is 3e-15, which is consistent with the standard frequency stability measuring instrument.

[0134] In one embodiment, the third DDS signal and the fourth DDS signal in step 302 are respectively:

[0135] (26)

[0136] (27)

[0137] in, is the third DDS signal, is the fourth DDS signal, is the sampling data point number, is the undersampling period, is the frequency value of the first common oscillator, The frequencies of the first reference signal and the measured signal, respectively, are the frequency fluctuation values ​​of the second reference signal and the high-frequency measured signal respectively; is the phase fluctuation value of the first common oscillator.

[0138] Set up the appropriate and The purpose of the value is to avoid the signal becoming a zero intermediate frequency signal after mixing and to avoid the signal appearing in an image. and The value is generally small, determined by the maximum frequency fluctuation range, but generally it will meet , , a reasonable approximation can be made during calculations.

[0139] In one embodiment, the signal extracted and filtered in step 304 is:

[0140] (28)

[0141] (29)

[0142] in, respectively extracting the filtered second reference signal and the high-frequency measured signal; is the initial phase of the high-frequency measured signal.

[0143] Specifically, the sum frequency signal is filtered out by mixing, and the difference frequency signal is retained to obtain the following equations (28) and (29). According to the previous principle, the amplitude is still normalized. After the phase is solved, the following equations (30) and (31) are obtained.

[0144] (30)

[0145] (31)

[0146] in, is the phase of the second reference signal after phase resolution, is the phase of the high-frequency measured signal after phase resolution.

[0147] In one embodiment, the phase difference in step 306 is:

[0148] (32)

[0149] in, is the phase fluctuation of the measured signal.

[0150] Specifically, considering the convenience of calculating the phase difference after phase comparison, the relative phase fluctuation and frequency fluctuation results are generally calculated based on the reference frequency value. , and finally the phase difference is as shown in formula (32), where This completely cancels out the influence of the common oscillation frequency on the measurement results. In formula (32), if , the final result is as shown in formula (33).

[0151] (33)

[0152] In this way, the relative phase fluctuation result of the measured signal is completely obtained. However, the result is the nominal value relative to the reference frequency signal. Therefore, when calculating the frequency difference and phase difference, they are both relative to the reference frequency value.

[0153] In one embodiment, Figure 4 As shown, a fully digital phase comparison system for heterodyne signals applicable to high-frequency signals is provided, and the system comprises: a third phase measurement branch 40, a fourth phase measurement branch 44, a first DDS module 41, a first common oscillator 42 and a first phase difference calculation module 43.

[0154] The third phase measurement branch 40 and the fourth phase measurement branch 44 both include a first ADC module 401 , a first mixer 402 , a first low-pass filter 403 , a first decimation filter 404 , a first phase solving module 405 and a first proportional module 406 .

[0155] The third phase measurement branch 40 is used to use the first ADC module 401 to oversample the received second reference signal, use the first mixer 402 to mix the oversampled signal of the second reference signal and the third DDS signal, and then use the first low-pass filter 403 and the first extraction filter 404 to filter, and then use the first phase solution module 405 to process to obtain the phase of the second reference signal. After the phase of the second reference signal is processed by the first proportional module 406, it is input into the first phase difference calculation module 43.

[0156] The fourth phase measurement branch 44 is used to use the first ADC module 401 to undersample the received high-frequency measured signal, use the first mixer 402 to mix the undersampled signal of the high-frequency measured signal and the fourth DDS signal, and then use the first low-pass filter 403 and the first extraction filter 404 to filter, and then use the first phase solution module 405 to process to obtain the phase of the high-frequency measured signal, and the phase of the high-frequency measured signal is processed by the first proportional module 406 and input into the first phase difference calculation module 43; the second reference signal and the high-frequency measured signal have different frequencies, and the initial phase of the first reference signal is 0.

[0157] The first phase difference calculating module 43 is used for subtracting the phase of the high-frequency measured signal processed by the first proportional module from the phase of the second reference signal processed by the first proportional module to obtain a phase difference.

[0158] The first common oscillator 42 is used to provide a frequency source for the first DDS module 41 , and is also used to provide a sampling clock for the two first ADC modules 401 .

[0159] The first DDS module 41 is used to generate a third DDS signal and a fourth DDS signal according to a frequency source.

[0160] It should be understood that although Figure 1 , Figure 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 , Figure 3 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0161] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0162] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A fully digital phase comparison method for different frequency signals, characterized in that: The method comprises: Oversampling the first reference signal and the measured signal respectively to obtain a digital quantity of the first reference signal and a digital quantity of the measured signal; wherein the two sampling clocks are provided by a common oscillator, the frequencies of the first reference signal and the measured signal are different, and the initial phase of the first reference signal is 0; The first reference signal digital quantity and the measured signal digital quantity are mixed with the first DDS signal and the second DDS signal respectively to obtain the first mixed signal and the second mixed signal; wherein the first DDS signal and the second DDS signal are homologous DDS signals generated by a common oscillator frequency; the first DDS signal and the second DDS signal are respectively: in, is the first DDS signal, is the second DDS signal, n is the sampling data point number, is the oversampling period, is the frequency value of the common oscillator, , The frequencies of the first reference signal and the measured signal, respectively, , are the frequency fluctuation values ​​of the first reference signal and the measured signal respectively; is the phase fluctuation value of the common oscillator; The first mixed signal and the second mixed signal are respectively subjected to low-pass filtering, decimation filtering, and phase resolution to obtain a first reference signal phase and a measured signal phase; The first reference signal phase and the measured signal phase are respectively proportionally amplified so that the items related to the phase fluctuation value of the common oscillator in the two phase signals are the same, and the measured signal phase after amplification is subtracted from the first reference signal phase after amplification to obtain a phase difference; the phase difference is: in, is the phase fluctuation of the measured signal, is the initial phase of the measured signal.

2. The method according to claim 1, characterized in that: The signal after extraction and filtering is: in, , respectively extracting the first reference signal and the measured signal after filtering; is the initial phase of the measured signal.

3. A fully digital phase comparison system for different frequency signals, characterized in that: The system is used to implement the all-digital phase comparison of different-frequency signals by adopting the all-digital phase comparison method of different-frequency signals according to claim 1 to obtain the phase difference; the system comprises: two phase measurement branches, a DDS module, a common oscillator and a phase difference calculation module; The phase measurement branch includes an ADC module, a mixer, a low-pass filter, a decimation filter, a phase resolution module and a proportional module; The first phase measurement branch is used to use the ADC module to oversample the received first reference signal, use the mixer to mix the oversampled signal of the first reference signal and the first DDS signal, and then use the low-pass filter and the extraction filter to filter, and then use the phase solution module to process to obtain the phase of the first reference signal, and the phase of the first reference signal is processed by the proportional module and input into the phase difference calculation module; The second phase measurement branch is used to use the ADC module to oversample the received measured signal, use the mixer to mix the oversampled signal of the measured signal and the second DDS signal, and then use the low-pass filter and the extraction filter to filter, and then use the phase solution module to process to obtain the phase of the measured signal, and the phase of the measured signal is processed by the proportional module and input to the phase difference calculation module; the frequencies of the first reference signal and the measured signal are different, and the initial phase of the first reference signal is 0; The phase difference calculation module is used to subtract the phase of the measured signal after amplification from the phase of the first reference signal after amplification to obtain a phase difference; the phase difference is: in, is the phase fluctuation of the measured signal, , The frequencies of the first reference signal and the measured signal, respectively, , are the frequency fluctuation values ​​of the first reference signal and the measured signal respectively, is the initial phase of the measured signal, n is the sampling data point number, is the oversampling period; The common oscillator is used to provide a frequency source for the DDS module and also to provide a sampling clock for the two ADC modules; The DDS module is used to generate a first DDS signal and a second DDS signal according to the frequency source.

4. A fully digital phase comparison method for different frequency signals applicable to high frequency signals, characterized in that: The method comprises: Oversampling the second reference signal and undersampling the high-frequency measured signal to obtain a digital quantity of the second reference signal and a digital quantity of the high-frequency measured signal; wherein the two sampling clocks are both provided by the first common oscillator, the frequencies of the second reference signal and the high-frequency measured signal are different, and the initial phase of the second reference signal is 0; The second reference signal digital quantity and the high-frequency measured signal digital quantity are mixed with the third DDS signal and the fourth DDS signal respectively to obtain a third mixed signal and a fourth mixed signal; wherein the third DDS signal and the fourth DDS signal are homologous DDS signals generated according to the first common oscillator frequency; the third DDS signal and the fourth DDS signal are respectively: in, is the third DDS signal, is the fourth DDS signal, n is the sampling data point number, is the undersampling period, is the frequency value of the first common oscillator, , The frequencies of the first reference signal and the measured signal, respectively, , are the frequency fluctuation values ​​of the second reference signal and the high-frequency measured signal respectively; is the phase fluctuation value of the first common oscillator; The third mixing signal and the fourth mixing signal are respectively subjected to low-pass filtering, extraction filtering, and phase resolution to obtain a second reference signal phase and a high-frequency measured signal phase; The second reference signal phase and the high-frequency measured signal phase are respectively proportionally amplified so that the items related to the phase fluctuation value of the common oscillator in the two phase signals are the same, and the measured signal phase after amplification is subtracted from the second reference signal phase after amplification to obtain a phase difference; the phase difference is: in, is the phase fluctuation of the high-frequency signal under test. is the initial phase of the high-frequency measured signal.

5. The method according to claim 4, characterized in that The signal after extraction and filtering is: in, , respectively extracting the filtered second reference signal and the high-frequency measured signal; is the initial phase of the high-frequency measured signal.

6. A fully digital phase comparison system for different frequency signals suitable for high frequency signals, characterized in that: The system is used to implement the all-digital phase comparison of different-frequency signals by adopting the all-digital phase comparison method of different-frequency signals applicable to high-frequency signals as described in claim 4 to obtain the phase difference; the system comprises: a third phase measurement branch, a fourth phase measurement branch, a first DDS module, a first common oscillator and a first phase difference calculation module; The third phase measurement branch and the fourth phase measurement branch each include a first ADC module, a first mixer, a first low-pass filter, a first decimation filter, a first phase resolution module and a first proportional module; The third phase measurement branch is used to use the first ADC module to oversample the received second reference signal, use the first mixer to mix the oversampled signal of the second reference signal and the third DDS signal, and then use the first low-pass filter and the first extraction filter to filter, and then use the first phase solution module to process to obtain the phase of the second reference signal, and after the phase of the second reference signal is processed by the first proportional module, it is input to the first phase difference calculation module; The second phase measurement branch is used to use the first ADC module to undersample the received high-frequency measured signal, use the first mixer to mix the undersampled signal of the high-frequency measured signal and the fourth DDS signal, and then use the first low-pass filter and the first extraction filter to filter, and then use the first phase solution module to process to obtain the phase of the high-frequency measured signal, and after the phase of the high-frequency measured signal is processed by the first proportional module, it is input to the first phase difference calculation module; the second reference signal and the high-frequency measured signal have different frequencies, and the initial phase of the first reference signal is 0; The first phase difference calculation module is used to subtract the phase of the high-frequency measured signal processed by the first proportional module from the phase of the second reference signal processed by the first proportional module to obtain a phase difference; the phase difference is: in, is the phase fluctuation of the high-frequency signal under test, n is the number of sampling data points, is the undersampling period, , The frequencies of the first reference signal and the measured signal, respectively, , are the frequency fluctuation values ​​of the second reference signal and the high-frequency measured signal respectively, is the initial phase of the high-frequency measured signal; The first common oscillator is used to provide a frequency source for the first DDS module, and is also used to provide a sampling clock for the two first ADC modules; The first DDS module is used to generate a third DDS signal and a fourth DDS signal according to the frequency source.