A system and method for measuring phase noise
By injecting white noise signals into the phase noise measurement system and calculating loop errors, the problem of difficulty in measurement error compensation in the prior art is solved, and higher measurement accuracy and accuracy are achieved.
Patent Information
- Application Number
- CN202111654045.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2041-12-30
AI Technical Summary
There are gaps in the measurement range and accuracy of existing phase noise measurement systems, which makes it difficult to effectively correct the error, resulting in insufficient measurement accuracy.
A system including the source to be measured, a voltage controlled oscillator, a phase detector, a filter, an operational amplifier, an adder, a switch, a digital-to-analog converter and a computer is designed, and by injecting white noise signals into the phase-locked loop circuit, The power spectral density of the white noise signal is obtained, the loop error is calculated and the compensation is performed to improve the accuracy of phase noise measurement.
By compensating for the errors brought by the phase locked loop circuit, the accuracy of phase noise measurement is significantly improved, loop errors are eliminated, and more accurate measurement results are obtained.
Smart Images

Figure CN114421893B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an electronic measurement method, and in particular to a system and method for measuring phase noise. Background Art
[0002] In the design and development of RF microwave products, the phase noise of the signal reflects the frequency stability of the product in the frequency domain and is an important indicator for evaluating product performance. Accurate measurement of phase noise has become an indispensable part of the development and optimization of high-stability devices.
[0003] Common phase noise measurement systems in domestic laboratories, such as HP3048, E5500 series, and PN9000 series, are all foreign products, which have great risks of introduction. The demand for independently developed phase noise measurement systems is becoming stronger and stronger. At present, similar products developed in China still have a certain gap in the measurement range and accuracy of phase noise compared with the international leading level. The domestic demand for simple and high-performance phase noise measurement systems is becoming more and more urgent. How to improve the accuracy of phase noise measurement is one of the topics in this field.
[0004] Therefore, the inventor provides a system for measuring phase noise by phase, which can correct the error of the system, so that the accuracy of measuring phase noise is higher. Summary of the invention
[0005] 1. Technical issues to be resolved
[0006] The technical problem to be solved by the present invention is how to correct the error of a system for measuring phase noise.
[0007] (II) Technical solution
[0008] To solve the above technical problems, the present invention provides a system for measuring phase noise, comprising a source to be measured, a voltage-controlled oscillator, a phase detector, a first filter, a first operational amplifier, an adder, a first switch, a second switch, a third switch, a digital-to-analog converter, a first analog-to-digital converter, a memory and a host computer;
[0009] The measured source, the voltage-controlled oscillator and the phase detector are connected to form a phase-detection circuit; the first filter and the first operational amplifier are connected to form a negative feedback circuit of the phase-detection circuit; one end of the negative feedback circuit is connected to the phase detector, and the other end of the negative feedback circuit is connected to the control end of the voltage-controlled oscillator through an adder; the phase-detection circuit, the adder and the negative feedback circuit are used to form a phase-locked loop circuit; the phase-locked loop circuit is used to make the voltage-controlled oscillator work at the frequency of the measured source;
[0010] The phase detector is connected to the first analog-to-digital converter through the second switch, and the first analog-to-digital converter is connected to the host computer; the host computer is connected to the digital-to-analog converter through the memory, and is used to control the digital-to-analog converter to output a white noise signal according to the white noise data stored in the memory; the digital-to-analog converter is connected to the phase detector through the third switch; the digital-to-analog converter is connected to the adder through the first switch;
[0011] When the second switch and the third switch are closed at the same time and the first switch is opened, the white noise signal output by the digital-to-analog converter is input to the host computer through the first analog-to-digital converter; the host computer obtains a first voltage of the white noise signal;
[0012] When the second switch and the first switch are closed at the same time and the third switch is opened, the white noise signal output by the digital-to-analog converter is input to the control end of the voltage-controlled oscillator through the adder, and the host computer is used to obtain the second voltage output by the phase detector when the control end of the voltage-controlled oscillator is injected with the white noise signal; the second voltage is the voltage of the first beat signal between the voltage-controlled oscillator with the white noise signal injected into the control end and the source under test;
[0013] When the third switch and the first switch are disconnected at the same time and the second switch is closed, the host computer is used to obtain the third voltage output by the phase detector when the control end of the voltage-controlled oscillator is not injected with a white noise signal; the third voltage is the voltage of the second beat signal between the voltage-controlled oscillator when the control end is not injected with a white noise signal and the source under test.
[0014] Furthermore, the host computer is used to obtain a first power spectral density of a white noise signal according to a first voltage; obtain a second power spectral density of the white noise signal passing through a phase-locked loop circuit according to a second voltage; obtain a first error correction value of a loop error of the phase-locked loop circuit according to the first power spectral density and the second power spectral density; obtain a third power spectral density according to a third voltage; correct the third power spectral density according to the first error correction value to obtain a fourth power spectral density; and obtain first phase noise information according to the fourth power spectral density.
[0015] Further, it also includes a fourth switch, a second filter and a second operational amplifier;
[0016] The phase detector is connected to the second filter through the fourth switch, the second filter is connected to the second operational amplifier, and the second operational amplifier is connected to the host computer through the second analog-to-digital converter; the second filter is connected to the second operational amplifier to form a baseband signal processing circuit for amplifying the beat signal output by the phase detector;
[0017] When the fourth switch and the third switch are closed at the same time, and the first switch and the second switch are opened at the same time, the host computer is used to obtain a fourth voltage of the white noise signal passing through the baseband signal processing circuit;
[0018] When the first switch and the fourth switch are closed at the same time, and the second switch and the third switch are opened at the same time, the host computer is used to obtain the fifth voltage of the second beat signal passing through the baseband signal processing circuit.
[0019] Furthermore, the upper computer is also used to obtain a fifth power spectral density based on the fourth voltage; obtain a second error correction value based on the first power spectral density and the fifth power spectral density; obtain a sixth power spectral density based on the fifth voltage; obtain a seventh power spectral density based on the first error correction value, the second error correction value and the sixth power spectral density; and obtain second phase noise information based on the seventh power spectral density.
[0020] The present invention provides a method for measuring phase noise, which is applied to a host computer in a system for measuring phase noise, and comprises:
[0021] Control the second switch to be closed, the third switch to be closed, and the first switch to be opened;
[0022] According to the white noise information in the memory, a white noise signal is generated by a digital-to-analog converter;
[0023] Acquire a first voltage of a white noise signal through a first analog-to-digital converter;
[0024] Acquire a first power spectrum density of the white noise signal according to the first voltage;
[0025] Control the second switch to be closed, the first switch to be closed, and the third switch to be opened;
[0026] Acquire a second voltage of the first beat signal through a first analog-to-digital converter;
[0027] Acquire a second power spectrum density of the white noise signal passing through the phase-locked loop circuit according to the second voltage;
[0028] Acquire a first error correction value of a loop error of a phase-locked loop circuit according to the first power spectrum density and the second power spectrum density;
[0029] Control the third switch to be opened, the first switch to be opened, and the second switch to be closed;
[0030] Acquire a third voltage of the second beat signal through the first analog-to-digital converter;
[0031] Acquire a third power spectrum density according to the third voltage;
[0032] Correcting the third power spectrum density according to the first error correction value to obtain a fourth power spectrum density;
[0033] Acquire first phase noise information according to a fourth power spectrum density;
[0034] The system includes a source to be measured, a voltage-controlled oscillator and a phase detector, a first filter, a first operational amplifier, an adder, a first switch, a second switch, a third switch, a digital-to-analog converter, a first analog-to-digital converter, a memory and a host computer.
[0035] Furthermore, the system also includes a fourth switch, a second filter, a second operational amplifier, and a second analog-to-digital converter; controlling the second switch to be closed, the third switch to be closed, and the first switch to be opened includes:
[0036] Control the second switch to be closed, the third switch to be closed, the first switch to be opened, and the fourth switch to be opened;
[0037] Controlling the second switch to be closed, the first switch to be closed, and the third switch to be opened, comprising:
[0038] Control the second switch to be closed, the first switch to be closed, the third switch to be opened, and the fourth switch to be opened;
[0039] After obtaining a first error correction value of a loop error of a phase-locked loop circuit according to the first power spectrum density and the second power spectrum density, the method further includes:
[0040] Control the fourth switch to be closed, the third switch to be closed, the first switch to be opened, and the second switch to be opened, and obtain a fourth voltage of the white noise signal passing through the baseband signal processing circuit;
[0041] acquiring a fifth power spectrum density according to the fourth voltage;
[0042] Obtaining a second error correction value according to the first power spectrum density and the fifth power spectrum density;
[0043] Control the first switch to be closed, the fourth switch to be closed, the second switch to be opened, and the third switch to be opened;
[0044] Acquire a fifth voltage of the second beat signal after passing through the baseband signal processing circuit;
[0045] A sixth power spectrum density is obtained according to the fifth voltage; a seventh power spectrum density is obtained according to the first error correction value, the second error correction value and the sixth power spectrum density; and second phase noise information is obtained according to the seventh power spectrum density.
[0046] (III) Beneficial effects
[0047] The above technical solution of the present invention has the following advantages:
[0048] The measurement system of the present invention can inject a white noise signal into a phase-locked loop circuit for measuring a phase noise circuit, obtain the voltage output by the white noise signal through the phase-locked loop circuit, and then obtain the power spectrum density of the white noise signal output through the phase-locked loop circuit. Since the influence of the phase noise of the measured source on the power spectrum density of the white noise signal output through the phase-locked loop circuit can be approximately ignored, the difference between the power spectrum density of the white noise itself and the power spectrum density of the white noise output through the phase-locked loop circuit is approximately caused by the phase-locked loop circuit. The loop error caused by the phase-locked loop circuit to the phase measurement is determined by two power spectrum densities, and the phase noise measurement value is compensated according to the loop error, thereby eliminating the error caused by the phase-locked loop circuit, and the obtained result after compensation is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 is a principle block diagram of a system for measuring phase noise according to an embodiment of the present invention;
[0050] Figure 2 is a phase model of the phase-locked loop circuit of an embodiment of the present invention;
[0051] Figure 3 is a schematic diagram of frequency response of a phase-locked loop circuit according to an embodiment of the present invention;
[0052] Figure 4 is a phase model of a voltage controlled oscillator according to an embodiment of the present invention;
[0053] Figure 5 is a principle block diagram of another system for measuring phase noise of the present invention;
[0054] Figure 6 The present invention is a flowchart of a method for measuring phase noise according to an embodiment of the present invention. DETAILED DESCRIPTION
[0055] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0056] In the description of the present invention, it is necessary to understand that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the system or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0057] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0058] In a first aspect, the present invention provides a system for measuring phase noise. Figure 1 It is a principle block diagram of a system for measuring phase noise according to an embodiment of the present invention, the system comprising a measured source 1, a voltage-controlled oscillator 2, a phase detector 3, a first filter 4, a first operational amplifier 5, an adder 6, a first switch 14, a second switch 16, a third switch 17, a digital-to-analog converter 9, a first analog-to-digital converter 11, a memory 12 and a host computer 13;
[0059] A measured source 1, a voltage-controlled oscillator 2 and a phase detector 3 are connected to form a phase-detection circuit; a first filter 4 and a first operational amplifier 5 are connected to form a negative feedback circuit of the phase-detection circuit; one end of the negative feedback circuit is connected to the phase detector 3, and the other end of the negative feedback circuit is connected to the control end of the voltage-controlled oscillator 2 through an adder 6; the phase-detection circuit, the adder 6 and the negative feedback circuit are used to form a phase-locked loop circuit; the phase-locked loop circuit is used to make the voltage-controlled oscillator 2 work at the frequency of the measured source 1;
[0060] The phase detector 3 is connected to the first analog-to-digital converter 11 through the second switch 16, and the first analog-to-digital converter 11 is connected to the host computer 13; the host computer 13 is connected to the digital-to-analog converter 9 through the memory 12, and is used to control the digital-to-analog converter 9 to output a white noise signal according to the white noise data stored in the memory 12; the digital-to-analog converter 9 is connected to the phase detector 3 through the third switch 17; the digital-to-analog converter 9 is connected to the adder 6 through the first switch 14;
[0061] When the second switch 16 and the third switch 17 are closed at the same time and the first switch 14 is opened, the white noise signal output by the digital-to-analog converter 9 is input to the host computer 13 through the first analog-to-digital converter 11; the host computer 13 obtains the first voltage of the white noise signal;
[0062] When the second switch 16 and the first switch 14 are closed at the same time and the third switch 17 is opened, the white noise signal output by the digital-to-analog converter 9 is input to the control end of the voltage-controlled oscillator 2 through the adder 6, and the host computer 13 is used to obtain the second voltage output by the phase detector 3 when the control end of the voltage-controlled oscillator 2 is injected with the white noise signal; the second voltage is the voltage of the first beat signal between the voltage-controlled oscillator 2 with the white noise signal injected into the control end and the measured source 1;
[0063] When the third switch 17 and the first switch 14 are disconnected at the same time and the second switch 16 is closed, the host computer 13 is used to obtain the third voltage output by the phase detector 3 when the control end of the voltage-controlled oscillator 2 is not injected with a white noise signal; the third voltage is the voltage of the second beat signal between the voltage-controlled oscillator 2 and the measured source 1 when the control end is not injected with a white noise signal.
[0064] The application scenario of the present invention is a circuit for detecting phase noise. The circuit for detecting phase noise mainly includes a phase-locked loop circuit and a detection circuit. The phase-locked loop circuit includes a voltage-controlled oscillator 2 and a source to be measured, forming a negative feedback circuit. It is used to make the phase signal of the signal output by the voltage-controlled oscillator 2 have the same frequency as the phase signal of the source to be measured. The phase-locked loop circuit includes a phase detector 3, which is used to obtain the beat signal of the signal output by the source to be measured and the signal output by the voltage-controlled oscillator 2. The detection circuit is used to detect the beat signal and determine the phase noise of the source to be measured according to the beat signal.
[0065] The loop of the phase-locked loop circuit will bring close-carrier frequency errors to the measured phase noise, so the error brought by the phase-locked loop circuit needs to be compensated.
[0066] The principle of the error caused by the loop of the phase-locked loop circuit is as follows:
[0067] Figure 2 is the phase model of the phase-locked loop circuit of the embodiment of the present invention. Wherein, the specific symbols are defined as: θ r : Phase information of measured source 1; θ v : Phase information of voltage-controlled oscillator 2; θ e : Phase difference; K d : Phase sensitivity of phase detector 3; F(s): transfer function of loop filter; K vco : Voltage control sensitivity.
[0068] Figure 2 The frequency response of the transfer function of this model shows a high-pass characteristic, and its transfer function and frequency response diagram are as follows:
[0069]
[0070] Figure 3 It is a frequency response diagram of the phase-locked loop circuit of an embodiment of the present invention. After the measured source 1 passes through the loop of the phase-locked loop circuit, its low-frequency part will be suppressed, causing acquisition errors. If accurate phase noise information is to be measured and the near-carrier frequency testing capability of the phase noise test system is to be improved, it is necessary to compensate for the suppressed part at the near end.
[0071] This embodiment adopts a method of inputting a white noise signal into a phase-locked loop circuit to obtain the error caused by the phase-locked loop circuit. The white noise source is realized by the host computer 13, the memory 12 and the digital-to-analog converter 9, and the output white noise signal is a Gaussian white noise signal. White noise signal.
[0072] After the loop is locked, the white noise source is input into the voltage controlled oscillator 2 through the adder 6, and as a part of the voltage controlled oscillator 2, it passes through the phase detector 3. The signal output by the phase detector 3 is approximately the phase voltage signal of the white noise signal. The reasons are as follows:
[0073] In the phase-locked loop circuit, a voltage-controlled oscillator 2 is generally used as a voltage-controlled oscillator 2. Figure 4 is the phase model of the voltage controlled oscillator 2 of the embodiment of the present invention. Figure 4 As shown, the oscillation frequency of the voltage controlled oscillator 2 varies with the input control voltage v c (t) changes linearly, and the relationship is
[0074] ω(t)=ω0+K vco v c (t)
[0075] Where ω0 is the free oscillation angular frequency. The output signal of the voltage-controlled oscillator 2 is fed back to the phase detector 3, and the phase information is used, which can be expressed as
[0076]
[0077] Rewrite it into operator form
[0078]
[0079] After negative feedback from the phase-locked loop circuit, the voltage-controlled oscillator 2 and the measured source 1 are in the same frequency and in quadrature.
[0080] θ r (t) = θ1(t) + θ3(t);
[0081] therefore
[0082] θ e (t) = θ3(t) - θ2(t);
[0083] During normal acquisition, when the reference phase noise is much better than the measured phase noise, that is, when θ2(t) is much smaller than θ3(t), the influence of voltage-controlled oscillator 2 can be ignored, and it is considered that the measured phase noise is the measured source 1. When θ2(t) is close to θ3(t), there is another mature calculation formula for correction.
[0084] The digital-to-analog converter 9 outputs a Gaussian white noise signal into the voltage-controlled oscillator 2, that is, a white noise voltage signal is given to the voltage-controlled oscillator 2, which is equivalent to superimposing a white noise signal on the output signal. At this time, the phase information θ2(t) is much greater than θ3(t). The signal (second voltage) collected by the first analog-to-digital converter 11 can be regarded as collecting the voltage of the Gaussian white noise signal after passing through the loop of the phase-locked loop circuit. Furthermore, the power spectrum density (second power spectrum density) of the white noise signal passing through the phase-locked loop circuit can be obtained according to the second voltage.
[0085] Since the white noise signal output by the white noise source composed of the host computer 13 and the digital-to-analog converter 9 cannot be infinite in time, it is different from the real white noise signal. Therefore, what is actually input to the voltage-controlled oscillator 2 is an approximate white noise signal. In order to accurately obtain the loop error (i.e., the near-carrier frequency error) caused by the phase-locked loop circuit. It is necessary to obtain the power spectrum density (i.e., the first power spectrum density) of the white noise signal actually output by the white noise source.
[0086] The first error correction value X(f) of the loop error of the phase-locked loop circuit is obtained according to the first power spectrum density and the second power spectrum density, which can be obtained according to the following formula:
[0087] X(f)=H e (f) = N1(f) - N(f) (dB);
[0088] Where, N1(f) is the second power spectrum density, N(f) is the first power spectrum density, H e (f): Frequency domain representation of the loop transfer function.
[0089] The principle of correcting the phase noise according to the error correction value X(f) is as follows:
[0090] Assume that the measured phase noise (i.e., the first phase noise information) is Φ i , the measured phase noise (which can be obtained through the power spectrum density of the third voltage signal) is Φ o
[0091]
[0092] Right now
[0093] Φ i (f) = Φ o (f)-H e (f)(dB);
[0094] The error correction is performed on the measured phase noise result (i.e., the third power spectrum density is corrected by using the first error correction value to obtain the fourth power spectrum density), and the final result is the phase noise Φ of the measured source 1. i (f) = Φo (f) = Φ o (f)-H e (f)+X(f).
[0095] (1) Obtain the power spectral density of the white noise signal (i.e., the first power spectral density)
[0096] When only the second switch 16 and the third switch 17 are closed and the other switches are open, the first analog-to-digital converter 11 obtains the power spectrum density of the white noise signal generated by the white noise source (that is, by obtaining the first voltage signal, the host computer 13 obtains the first power spectrum density according to the first voltage signal), which can be stored in the memory 12.
[0097] (2) Obtaining the power spectrum density of the white noise signal passing through the phase-locked loop circuit (i.e., the second power spectrum density)
[0098] When only the first switch 14 and the second switch 16 are closed and the other switches are open, the white noise signal generated by the white noise source passes through the phase-locked loop and enters the first analog-to-digital converter 11, and a voltage signal (i.e., the second voltage) of the white noise signal passing through the phase-locked loop circuit is obtained. The second power spectrum density is obtained based on the second voltage, and after comparing it with the power spectrum density of the Gaussian white noise signal, the error correction value (first error correction value) of the near-carrier frequency loop characteristic can be obtained, and the memory 12 saves the result.
[0099] (3) Obtaining the power spectrum density of the baseband signal processing circuit through which the white noise signal passes (i.e., the third power spectrum density)
[0100] When only the fourth switch 15 and the third switch 17 are closed, the Gaussian white noise signal generated by the white noise source passes through the baseband signal processing circuit, and the result after baseband signal processing (the fifth voltage, the sixth power spectrum density is obtained according to the fifth voltage) is collected by the second analog-to-digital converter 10, and the frequency response error correction value (the second error correction value) of the baseband signal processing is calculated by comparing with the power spectrum density (the first power spectrum density) of the original Gaussian white noise signal, and the memory 12 stores the result. After obtaining the first error correction value and the second error correction value, the phase noise data passing through the phase-locked loop circuit and the baseband signal processing circuit can be corrected according to the first error correction value and the second error correction value.
[0101] The present invention injects a white noise signal into a phase-locked loop circuit of a phase noise measurement circuit to obtain the power spectrum density of the white noise output through the phase-locked loop circuit. Since the influence of the phase noise of the measured source 1 on the power spectrum density of the white noise through the phase-locked loop circuit can be approximately ignored, the difference between the power spectrum density of the white noise itself and the power spectrum density of the white noise output through the phase-locked loop circuit is approximately caused by the phase-locked loop circuit. The loop error caused by the phase-locked loop circuit to the phase measurement is obtained through two power spectrum densities, and the phase noise measurement value is compensated according to the loop error, thereby eliminating the error caused by the phase-locked loop circuit, and the obtained result after compensation is more accurate.
[0102] As some embodiments, the upper computer 13 is used to obtain a first power spectrum density of a white noise signal based on a first voltage; obtain a second power spectrum density of the white noise signal passing through a phase-locked loop circuit based on a second voltage; obtain a first error correction value of a loop error of the phase-locked loop circuit based on the first power spectrum density and the second power spectrum density; obtain a third power spectrum density based on a third voltage; correct the third power spectrum density based on the first error correction value to obtain a fourth power spectrum density; and obtain first phase noise information based on the fourth power spectrum density.
[0103] In practical applications, the beat signal obtained by the phase detector 3 is usually small in amplitude. If it is directly obtained by the first analog-to-digital converter 11, the accuracy of the obtained result is low. Therefore, a baseband signal processing circuit is added between the phase detector 3 and the second analog-to-digital converter 10 to amplify the beat signal. However, when the baseband signal processing circuit is added, a systematic error will be introduced into the acquisition of phase noise. Therefore, the present invention also provides a method for compensating the error caused by the baseband signal processing circuit.
[0104] As some examples, Figure 5 is a principle block diagram of another system for measuring phase noise of the present invention, the system further comprising a fourth switch 15, a second filter 7 and a second operational amplifier 8;
[0105] The phase detector 3 is connected to the second filter 7 through the fourth switch 15, the second filter 7 is connected to the second operational amplifier 8, and the second operational amplifier 8 is connected to the host computer 13 through the second analog-to-digital converter 10; the second filter 7 is connected to the second operational amplifier 8 to form a baseband signal processing circuit for amplifying the beat signal output by the phase detector 3;
[0106] When the fourth switch 15 and the third switch 17 are closed at the same time, and the first switch 14 and the second switch 16 are opened at the same time, the host computer 13 is used to obtain a fourth voltage of the white noise signal passing through the baseband signal processing circuit;
[0107] When the first switch 14 and the fourth switch 15 are closed at the same time, and the second switch 16 and the third switch 17 are opened at the same time, the host computer 13 is used to obtain the fifth voltage of the second beat signal passing through the baseband signal processing circuit.
[0108] In practical applications, the output end of the measured source 1 and the phase detector 3 can be connected via a radio frequency cable, the voltage-controlled oscillator 2 and the phase detector 3 are connected via a radio frequency cable, the phase detector 3 is respectively connected to the fourth switch 15, the second switch 16, the third switch 17, and the first filter 4 via a radio frequency cable, the first filter 4 is connected to the first operational amplifier 5 via a radio frequency cable, the first operational amplifier 5 is connected to the adder 6 via a radio frequency cable, the fourth switch 15 is connected to the second filter 4 via a microwave cable, and the second filter 4 is connected to the second operational amplifier 8 via a microwave cable. The second operational amplifier 8 is connected to the second analog-to-digital converter 10 through a cable, the analog-to-digital converter 9 is connected to the third switch 17 and the first switch 14 through a microwave cable, the first switch 14 is connected to the adder 6 through a microwave cable, the third switch 17 is connected to the second switch 16 through a microwave cable, the second switch 16 is linked to the AD acquisition card 11 through a microwave cable, the host computer 13 is respectively connected to the second analog-to-digital converter 10, the first analog-to-digital converter 11, and the memory 12 through a data bus, and the memory 12 is connected to the analog-to-digital converter 9 through a data bus.
[0109] As some embodiments, the upper computer 13 is also used to obtain a fifth power spectral density based on the fourth voltage; obtain a second error correction value based on the first power spectral density and the fifth power spectral density; obtain a sixth power spectral density based on the fifth voltage; obtain a seventh power spectral density based on the first error correction value, the second error correction value and the sixth power spectral density; and obtain second phase noise information based on the seventh power spectral density.
[0110] Similarly, a white noise signal is injected into the baseband signal processing circuit, and the power spectrum density of the white noise signal (first power spectrum density) is compared with the power spectrum density obtained by the voltage (fifth voltage) of the white noise signal through the baseband signal processing circuit to obtain an error correction value (i.e., a second error correction value). In this way, errors are introduced into two sections of the circuit, and therefore the first error correction value and the second error correction value are required to compensate for the phase noise acquisition result.
[0111] In a second aspect, the present invention provides a method for measuring phase noise. Figure 6 1 is a flow chart of a method for measuring phase noise according to an embodiment of the present invention. The method is applied to a host computer 13 in a system for measuring phase noise, and includes steps S1 to S13:
[0112] Step S1, controlling the second switch 16 to be closed, the third switch 17 to be closed, and the first switch 14 to be opened;
[0113] Step S2, generating a white noise signal through the digital-to-analog converter 9 according to the white noise information in the memory 12;
[0114] Step S3, obtaining a first voltage of a white noise signal through a first analog-to-digital converter 11;
[0115] Step S4, obtaining a first power spectrum density of the white noise signal according to the first voltage;
[0116] Step S5, controlling the second switch 16 to be closed, the first switch 14 to be closed, and the third switch 17 to be opened;
[0117] Step S6, obtaining a second voltage of the first beat signal through the first analog-to-digital converter 11;
[0118] Step S7, obtaining a second power spectrum density of the white noise signal passing through the phase-locked loop circuit according to the second voltage;
[0119] Step S8, obtaining a first error correction value of a loop error of the phase-locked loop circuit according to the first power spectrum density and the second power spectrum density;
[0120] Step S9, controlling the third switch 17 to be opened, the first switch 14 to be opened, and the second switch 16 to be closed;
[0121] Step S10, obtaining a third voltage of the second beat signal through the first analog-to-digital converter 11;
[0122] Step S11, obtaining a third power spectrum density according to the third voltage;
[0123] Step S12, correcting the third power spectrum density according to the first error correction value to obtain a fourth power spectrum density;
[0124] Step S13, obtaining first phase noise information according to the fourth power spectrum density;
[0125] The system includes a measured source 1, a voltage-controlled oscillator 2 and a phase detector 3, a first filter 4, a first operational amplifier 5, an adder 6, a first switch 14, a second switch 16, a third switch 17, a digital-to-analog converter 9, a first analog-to-digital converter 11, a memory 12 and a host computer 13.
[0126] As some embodiments, the system further includes a fourth switch 15, a second filter 7, a second operational amplifier 8, and a second analog-to-digital converter 10; controlling the second switch 16 to be closed, the third switch 17 to be closed, and the first switch 14 to be opened includes:
[0127] Control the second switch 16 to be closed, the third switch 17 to be closed, the first switch 14 to be opened, and the fourth switch 15 to be opened;
[0128] Controlling the second switch 16 to be closed, the first switch 14 to be closed, and the third switch 17 to be opened includes:
[0129] Control the second switch 16 to be closed, the first switch 14 to be closed, the third switch 17 to be opened, and the fourth switch 15 to be opened;
[0130] After obtaining a first error correction value of a loop error of a phase-locked loop circuit according to the first power spectrum density and the second power spectrum density, the method further includes:
[0131] Control the fourth switch 15 to be closed, the third switch 17 to be closed, the first switch 14 to be opened, and the second switch 16 to be opened, and obtain a fourth voltage of the white noise signal passing through the baseband signal processing circuit;
[0132] acquiring a fifth power spectrum density according to the fourth voltage;
[0133] Obtaining a second error correction value according to the first power spectrum density and the fifth power spectrum density;
[0134] Control the first switch 14 to be closed, the fourth switch 15 to be closed, the second switch 16 to be opened, and the third switch 17 to be opened;
[0135] Acquire a fifth voltage of the second beat signal after passing through the baseband signal processing circuit;
[0136] A sixth power spectrum density is obtained according to the fifth voltage; a seventh power spectrum density is obtained according to the first error correction value, the second error correction value and the sixth power spectrum density; and second phase noise information is obtained according to the seventh power spectrum density.
[0137] It should be clear that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. For the embodiments of the method, the relevant parts can refer to the partial description of the device embodiment (adopted according to the writing situation). The present invention is not limited to the specific steps and structures described above and shown in the figures. In addition, for the sake of simplicity, a detailed description of known method technologies is omitted here.
[0138] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A system for measuring phase noise, characterized in that: It comprises a source to be measured (1), a voltage-controlled oscillator (2), a phase detector (3), a first filter (4), a first operational amplifier (5), an adder (6), a first switch (14), a second switch (16), a third switch (17), a digital-to-analog converter (9), a first analog-to-digital converter (11), a memory (12) and a host computer (13); The measured source (1), the voltage-controlled oscillator (2) and the phase detector (3) are connected to form a phase detection circuit; the first filter (4) and the first operational amplifier (5) are connected to form a negative feedback circuit of the phase detection circuit; one end of the negative feedback circuit is connected to the phase detector (3), and the other end of the negative feedback circuit is connected to the control end of the voltage-controlled oscillator (2) through the adder (6); the phase detection circuit, the adder (6) and the negative feedback circuit are used to form a phase-locked loop circuit; the phase-locked loop circuit is used to make the voltage-controlled oscillator (2) work at the frequency of the measured source (1); The phase detector (3) is connected to the first analog-to-digital converter (11) via the second switch (16), and the first analog-to-digital converter (11) is connected to the host computer (13); the host computer (13) is connected to the digital-to-analog converter (9) via the memory (12), and is used to control the digital-to-analog converter (9) to output a white noise signal according to the white noise data stored in the memory (12); the digital-to-analog converter (9) is connected to the phase detector (3) via the third switch (17); the digital-to-analog converter (9) is connected to the adder (6) via the first switch (14); When the second switch (16) and the third switch (17) are closed at the same time and the first switch (14) is opened, the white noise signal output by the digital-to-analog converter (9) is input into the host computer (13) through the first analog-to-digital converter (11); the host computer (13) obtains a first voltage of the white noise signal; When the second switch (16) and the first switch (14) are closed at the same time and the third switch (17) is opened, the white noise signal output by the digital-to-analog converter (9) is input to the control end of the voltage-controlled oscillator (2) through the adder (6), and the host computer (13) is used to obtain the second voltage output by the phase detector (3) when the control end of the voltage-controlled oscillator (2) is injected with the white noise signal; the second voltage is the voltage of the first beat signal between the voltage-controlled oscillator (2) whose control end is injected with the white noise signal and the source under test (1); When the third switch (17) and the first switch (14) are opened at the same time and the second switch (16) is closed, the host computer (13) is used to obtain a third voltage output by the phase detector (3) when the control end of the voltage-controlled oscillator (2) is not injected with the white noise signal; the third voltage is the voltage of the second beat signal between the voltage-controlled oscillator (2) and the measured source (1) when the control end is not injected with the white noise signal.
2. The system according to claim 1, characterized in that The host computer (13) is used to obtain a first power spectrum density of the white noise signal according to the first voltage; obtain a second power spectrum density of the white noise signal passing through the phase-locked loop circuit according to the second voltage; obtain a first error correction value of a loop error of the phase-locked loop circuit according to the first power spectrum density and the second power spectrum density; obtain a third power spectrum density according to the third voltage; correct the third power spectrum density according to the first error correction value to obtain a fourth power spectrum density; and obtain first phase noise information according to the fourth power spectrum density.
3. The system according to claim 2, characterized in that Also includes a fourth switch (15), a second filter (7) and a second operational amplifier (8); The phase detector (3) is connected to the second filter (7) via the fourth switch (15); the second filter (7) is connected to the second operational amplifier (8); the second operational amplifier (8) is connected to the host computer (13) via the second analog-to-digital converter 10; the second filter (7) is connected to the second operational amplifier (8) to form a baseband signal processing circuit for amplifying the beat signal output by the phase detector (3); When the fourth switch (15) and the third switch (17) are closed at the same time, the first switch (14) and the second switch (16) are opened at the same time, and the host computer (13) is used to obtain a fourth voltage of the white noise signal passing through the baseband signal processing circuit; When the first switch (14) and the fourth switch (15) are closed at the same time, and the second switch (16) and the third switch (17) are opened at the same time, the host computer (13) is used to obtain a fifth voltage of the second beat signal passing through the baseband signal processing circuit.
4. The system according to claim 3, characterized in that The host computer (13) is further used to obtain a fifth power spectrum density based on the fourth voltage; obtain a second error correction value based on the first power spectrum density and the fifth power spectrum density; obtain a sixth power spectrum density based on the fifth voltage; obtain a seventh power spectrum density based on the first error correction value, the second error correction value and the sixth power spectrum density; and obtain second phase noise information based on the seventh power spectrum density.
5. A method for measuring phase noise, applied to a host computer (13) in a system for measuring phase noise according to claim 3 or claim 4, characterized in that: include: Controlling the second switch (16) to be closed, the third switch (17) to be closed, and the first switch (14) to be opened; According to the white noise information in the memory (12), a white noise signal is generated by a digital-to-analog converter (9); Acquiring a first voltage of the white noise signal through a first analog-to-digital converter (11); Acquire a first power spectrum density of the white noise signal according to the first voltage; Controlling the second switch (16) to be closed, the first switch (14) to be closed, and the third switch (17) to be opened; Acquiring a second voltage of the first beat signal through the first analog-to-digital converter (11); Acquire a second power spectrum density of the white noise signal passing through the phase-locked loop circuit according to the second voltage; Acquire a first error correction value of a loop error of the phase-locked loop circuit according to the first power spectrum density and the second power spectrum density; Controlling the third switch (17) to be opened, the first switch (14) to be opened, and the second switch (16) to be closed; Acquiring a third voltage of the second beat signal through the first analog-to-digital converter (11); Acquire a third power spectrum density according to the third voltage; Correcting the third power spectrum density according to the first error correction value to obtain a fourth power spectrum density; Acquire first phase noise information according to the fourth power spectrum density; The system comprises a source to be measured (1), a voltage-controlled oscillator (2) and a phase detector (3), a first filter (4), a first operational amplifier (5), an adder (6), a first switch (14), a second switch (16), a third switch (17), a digital-to-analog converter (9), a first analog-to-digital converter (11), a memory (12) and a host computer (13).
6. The method according to claim 5, characterized in that The system further comprises a fourth switch (15), a second filter (7), a second operational amplifier (8) and a second analog-to-digital converter 10; the control of closing the second switch (16), closing the third switch (17) and opening the first switch (14) comprises: Controlling the second switch (16) to be closed, the third switch (17) to be closed, the first switch (14) to be opened, and the fourth switch (15) to be opened; The controlling the second switch (16) to be closed, the first switch (14) to be closed, and the third switch (17) to be opened comprises: Controlling the second switch (16) to be closed, the first switch (14) to be closed, the third switch (17) to be opened, and the fourth switch (15) to be opened; After obtaining a first error correction value of a loop error of the phase-locked loop circuit according to the first power spectrum density and the second power spectrum density, the method further includes: Controlling the fourth switch (15) to be closed, the third switch (17) to be closed, the first switch (14) to be opened, and the second switch (16) to be opened, and obtaining a fourth voltage of the white noise signal passing through the baseband signal processing circuit; Acquire a fifth power spectrum density according to the fourth voltage; Acquire a second error correction value according to the first power spectrum density and the fifth power spectrum density; Controlling the first switch (14) to be closed, the fourth switch (15) to be closed, the second switch (16) to be opened, and the third switch (17) to be opened; Acquire a fifth voltage of the second beat signal passing through the baseband signal processing circuit; A sixth power spectral density is obtained according to the fifth voltage; a seventh power spectral density is obtained according to the first error correction value, the second error correction value and the sixth power spectral density; and second phase noise information is obtained according to the seventh power spectral density.
