Next Article in Journal
Optimal PID Control of a Brushed DC Motor with an Embedded Low-Cost Magnetic Quadrature Encoder for Improved Step Overshoot and Undershoot Responses in a Mobile Robot Application
Next Article in Special Issue
High-Precision Semiconductor Laser Current Drive and Temperature Control System Design
Previous Article in Journal
Edge-Computing Video Analytics Solution for Automated Plastic-Bag Contamination Detection: A Case from Remondis
Previous Article in Special Issue
Design and Analysis of Small Size Eddy Current Displacement Sensor
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Frequency-Modulated Signal Measurement Using Closed-Loop Methodology

1
College of Biomedical Engineering and Instrument Science, Zhejiang University, Hangzhou 310027, China
2
School of Aeronautics and Astronautics, Zhejiang University, Hangzhou 310027, China
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(20), 7822; https://doi.org/10.3390/s22207822
Submission received: 15 September 2022 / Revised: 10 October 2022 / Accepted: 11 October 2022 / Published: 14 October 2022

Abstract

:
Frequency-modulated (FM) signals are widely used in sensing, measurement, and signal detection due to their strong anti-interference and easy transmission characteristics. Although the high-precision measurement methods for static signals are quite complete, the high-precision measurement methods for dynamic FM signals still need to be studied, and the measurement accuracy in the high-sampling system still has room for improvement. Traditionally, the equal-precision measurement method is widely applied in most scenarios. However, its accuracy is limited by the quantization error of ±1 word and the sampling gate time, making it difficult to improve the frequency measurement accuracy while ensuring a high sampling rate at the same time. In this paper, a high-precision feedback frequency measurement system with the capability to eliminate the quantization error of ±1 word is proposed. The proposed system consists of two stages, the rough measurement stage based on the equal-precision measurement method and the precise measurement stage based on the negative feedback tracking architecture using the phase–frequency detector (PFD) and direct digital synthesizer (DDS). The effectiveness and feasibility of the system are verified by both simulation and experiment. At the sampling rate of 2 kHz, the frequency measurement accuracy is improved by more than 30 dB.

1. Introduction

Frequency-modulated (FM) signals are widely used in the area of sensing, measurement, and signal detection due to their strong anti-interference ability, good anti-noise performance, and long transmission distance. In the design of high-performance sensors, the method of converting the physical quantity-to-frequency is mainly adopted [1,2]. Among them, the Optoelectronic Oscillator-based (OEO-based) optical fiber sensing system is widely studied. It converts the variation of physical quantities (such as length [3], strain [4,5], pressure [6], angular velocity [7], and temperature [8]) into the frequency variation of the microwave signal generated by OEOs. Ref. [9] maps the in-line position into the oscillating frequency shift and realizes precise positioning. In such optoelectronic sensing systems, the high-sensitivity and low-noise sensing principle contributes to high-precision detection, which can be realized by obtaining the physical quantity-to-frequency mapped information. It is obvious that the frequency measurement of the FM signal is the key stage that directly determines the detection performance.
Normally, the FM signal is conditioned at the front end, following which the traditional equal-precision frequency measurement method is applied to measure the tested signal [10]. In principle, the gate signal of the equal-precision measurement is synchronized with the tested signal to achieve the same detecting accuracy regardless of the frequency of the tested signal. During the gate time, the standard reference signal and the tested signal are counted at the same time, and then the frequency of the tested signal is obtained based on the mathematical relationship between the two count values. The detection accuracy of the traditional equal-precision measurement can be improved with a longer gate time and higher frequency of the standard reference signal. However, due to the high sensitivity of the sensor and high dynamically changing physical quantities, the instantaneous frequency of the FM signal changes rapidly and drastically. In this situation, the measuring rate must be increased to better obtain the waveform of the FM signal, which means an unavoidable decrease in the detecting accuracy. Thus, the relationship between the detecting accuracy and the measuring rate of the equal-precision measurement method is contradictory. In addition, the equal-precision frequency measurement method has the limitation of ±1 counting error [11]. In other words, using the equal-precision frequency measurement method solely cannot meet the requirements of high sampling and high precision at the same time. Therefore, there is an urgent need for a high-precision frequency measurement technology that can achieve wide dynamic range, high sampling rate, and high stability.
For the traditional frequency measurement technology, there are mainly two methods to eliminate the quantization error [12]. One method is to expand the quantization error and then perform second-stage quantization, such as analog interpolation [13], delay line interpolation, etc. These methods have been verified by experiments and can improve the accuracy of frequency measurement. In [14,15], Polish scholars used the TDC method in FPGA to realize the measurement of frequencies up to 200 MHz, and the maximum frequency measurement error within 1 s is 2.4 Hz. In [16], Y.H Ge et al. used the TDC-GP22 chip to achieve an extended measurement of ±1 counting error. Under the condition of a sampling rate of 10 Hz, the frequency measurement resolution is smaller than 0.01 Hz. In [17], the National Timing Center of the Chinese Academy of Sciences developed a time–frequency measurement device based on an FPGA chip and a TDC-GP21 chip, in which case the measurement resolution can reach 13 ps. However, since the above-mentioned methods still adopt electronic counting methods to measure the frequency, the quantization error still exists despite the second-stage quantization.
Another method is to convert the counting error into other physical quantities, such as amplitude and phase. Then, based on the relationship between these physical quantities and frequency, the frequency measurement is achieved indirectly. This kind of method fundamentally eliminates the quantization error. In [18], the Finnish scholar proposed a frequency measurement method based on time-amplitude conversion, referred to as TVC (Time-to-Voltage Converter) method in 1991, which eliminated the quantization error in principle. Additionally, in the 1990s, the American Stanford company developed the SR620 frequency meter by using the TVC method, which achieved a very high resolution (25 ps) and a measurement range of up to 1.3 GHz. In addition, scholars proposed a method to improve the frequency measurement accuracy by using the group phase difference. In [19], Zhou Wei et al. studied the law of phase difference between different frequency signals in the 1990s, and proposed the phase detection based broadband frequency measurement technology for the first time. However, the phase coincidence point of this method is difficult to capture, and the dynamic performance is poor, making it unsuitable for the FM signal measurement of OEO output. Therefore, how to fundamentally solve the ±1 counting error and realize the high-precision frequency measurement technology with high sampling rate, wide frequency band, and high stability has become a major problem in the field of electronic measurement technology.
Aiming at the problem of the ±1 counting error existing in traditional frequency measurement technology at a high sampling rate, this paper proposes a high-precision feedback frequency measurement system based on PFD and DDS by analyzing the relationship between the frequency difference and phase difference. This method eliminates the quantization error commonly existing in frequency measurement in principle and ensures measurement accuracy even at a high sampling rate.
The high-precision feedback frequency measurement system is explained and detailed in Section 2. The simulation results of the proposed system are presented in Section 3. Experiments and measured results are demonstrated in Section 4. Conclusions are summarized in Section 5.

2. High-Precision Frequency Measurement System Based on Negative Feedback Control Structure

2.1. Overall Structure of the High-Precision Frequency Measurement System

The high-precision frequency measurement system proposed in this paper is mainly composed of two modules: the equal-precision frequency measurement module and the accurate closed-loop frequency measurement module. The block diagram of the overall structure design of the system is shown in Figure 1. The equal-precision measurement module is realized in FPGA based on the traditional equal-precision measurement method. It performs the rough measurement on the tested signal ( f x ), and controls the DDS to generate an initial reference signal ( f x ) according to the rough measurement result. The accurate closed-loop frequency measurement module is a negative feedback structure composed of a phase–frequency detector (PFD), a charge pump (CP), a loop filter (LF), analog-to-digital converter (ADC), field programmable gate array (FPGA), and direct digital synthesizer (DDS).
The two key components in the entire frequency measurement system are the PFD and DDS. The PFD is responsible for the precise phase measurement of the tested signal ( f x ), working as the detection unit. The DDS generates a reference signal ( f x ) that can precisely track the tested signal ( f x ) according to the detection output of the PFD, working as the actuator unit. Owing to the two components, the system takes advantage of the fact that the PFD can realize high phase-to-voltage gain, which means it is more sensitive to small phase differences. Additionally, the system features the advantages of the negative feedback system based on DDS, which can achieve high control precision and good system stability. On the basis of the phase-to-voltage transformation method, the quantization error of the system is eliminated in principle, ensuring the detecting accuracy of frequency measurement in a high-sampling scenario. In addition, the wide dynamic range of the frequency measurement is realized by the DDS.
The basic working principle of the proposed frequency measurement system above is to achieve fast frequency tracking of the tested signal and realize high-sampling high-precision frequency at the same time.
Firstly, the equal-precision frequency measurement method is used to roughly measure the frequency of tested signal f x .
Secondly, DDS automatically synthesizes the frequency of f x according to the measured result obtained by the rough measurement part.
Thirdly, f x , f x are sent to the PFD for frequency and phase detection. Together with the CP, the phase and frequency error between f x and f x is transformed into the current information, which is proportional to the phase and frequency error. Then, through the active LF, the current-to-voltage stage is accomplished, and the voltage signal is sampled by ADC.
Finally, the FPGA processes the digital data acquired by ADC to obtain the precise phase and frequency error between f x and f x and transmit the configuration information to the DDS. The DDS dynamically adjusts its output f x according to the configuration information, realizing the closed-loop feedback control. The high-precision frequency measurement result is directly obtained by reading the DDS configuration information since f x is tracking and locked on f x .

2.2. Theoretical Analysis of Phase–Frequency Conversion Measurement Method

The accurate frequency measurement module uses the relationship of the phase–frequency conversion between two signals to achieve a precise frequency measurement. The analysis of the phase–frequency conversion relationship of the signal is presented in this section.
Given two signals f 1 and f 2 with a fixed-frequency difference, if they can be expressed as f 1 = A f m a x and f 2 = B f m a x , where A B and A, B are two mutually prime positive integers, then f m a x is considered to be their greatest common factor frequency. T m i n is defined as the least common multiple period ( T m i n = 1 / f m a x ). It can be seen from Figure 2 that, ideally, the phase difference variation law of two signals with a fixed-frequency difference varies with T m i n as the period [20], as expressed in (1) and (2). At the start and end point of T m i n , the phase of signals f 1 and f 2 are the same, which is called the phase coincidence point. It can be noticed that within the T m i n period, the phase difference does not change regularly or continuously, that is, the change in the phase difference is disordered. In other words, the relationship between the phase difference and the frequency is complex and not applicable to real-time measurement.
T m i n = 1 f 1 / A = A T 1
T m i n = 1 f 2 / B = B T 2
However, when the frequency difference Δ f of the two signals is very small ( Δ f 0 , f 1 f 2 ) and Δ f 0 , the variation law of the phase difference between the two signals with a fixed-frequency difference is ordered and linear. It can be seen in Figure 3 that within the T m i n period when the frequency difference Δ f of the two signals is very small, it can be approximated that their phase differences are proportional to the frequency difference and the time interval. According to the definition of frequency and phase, within the time interval of Δ t , the phases of f 1 and f 2 can be expressed as follows:
φ 1 = 0 Δ t f 1 d t = f 1 · Δ t
φ 2 = 0 Δ t f 2 d t = f 2 · Δ t
Combining Equations (3) and (4), the phase difference between f 1 and f 2 can be expressed as:
Δ φ = f 1 · Δ t f 2 · Δ t = 0 Δ t Δ f d t = Δ f · Δ t
To sum up, considering two signals f 1 and f 2 with a fixed-frequency difference, when the frequency difference Δ f of the two signals is very small ( Δ f 0 , f 1 f 2 ) and Δ f 0 , the phase difference variation law is shown in Figure 4a. During the time interval of T m i n , the phase difference of the two fixed-frequency difference signals changes with time, taking Δ f as the slope coefficient, as shown in Figure 4b. Therefore, the high-precision frequency measurement can be transformed into the high-precision measurement of phase difference between the tested signal ( f x ) and the reference signal ( f x ), when the frequency of f x is close to f x . However, in most scenarios, the frequency of the reference signal is fixed and it is impossible to meet this requirement. Thus, the detecting range will be greatly limited. To address this issue and apply the phase–frequency conversion measurement method, a dynamically adjustable reference signal is necessary. Its detailed description is presented in Section 2.3.2 below.

2.3. Theoretical Analysis of Accurate Frequency Measurement Module

2.3.1. High-Precision Phase Detection

As the core component of the accurate frequency measurement module, the PFD is used to detect the phase difference between the input signal and the reference signal, and then convert the phase difference into a voltage signal. The mathematical model of the PFD is illustrated in Figure 5.
The charge pump (CP) in the PFD converts the phase detector’s digital outputs to appropriate current signal ( I C P ), whose magnitude is proportional to the phase difference between the two input signals, and the direction is related to the sign of the phase difference. The relationship between the output current can be expressed in (6). I F u l l is the given maximum CP gain current, which defines the gain of PFD in amps/radians.
I C P = Δ φ 4 π I F u l l
Therefore, a widely used trans-impedance amplifier (TIA) can be applied after the output of the PFD. The schematic diagram of the current-to-voltage transformation is shown in Figure 6.
The relationship between the input current ( I C P ) and the output voltage ( V o u t ) in the S-domain can be expressed in (7).
V o u t ( s ) = I C P ( s ) · R T · F ( s ) = I C P ( s ) · R T · 1 s R L F C L F + 1 = I F u l l R T Δ φ 4 π · 1 s R L F C L F + 1
where
F ( s ) is the transfer function of the loop filter;
R L F , C L F constructs the one-order RC low-pass filter;
R T is the feedback resistor in the TIA stage.
Combining (5)–(7), the average frequency difference between the two signals ( f x and f x ) within the period of Δ t is expressed in (8):
Δ f = Δ φ Δ t = 4 π V o u t I F u l l R T Δ t
It can be known from (8) that if the time interval Δ t and the voltage output at the TIA V o u t are known, the Δ f can be obtained. Since the reference signal f x is known, the frequency of the tested signal ( f x ) can be obtained as:
f x = f x + Δ f = f x + 4 π V o u t I F u l l R T Δ t

2.3.2. Negative Feedback Control System

In the accurate frequency measurement module, a negative feedback control system is proposed. The frequency difference between the two input signals detected at the PFD is used as the control information to dynamically configure the DDS. The DDS automatically adjusts the frequency of its output signal, decreasing the frequency difference between the reference signal f x generated by DDS and the tested signal f x . Therefore, an accurate frequency tracking system is formed. Generally, two problems can be solved based on the negative feedback control system, compared with the open-loop measurement.
(1) During the measurement procedure, there exists certain randomness in the initial phase of the reference frequency signal f x generated by the DDS and the tested signal f x . If the open-loop measurement is performed directly, even if the frequencies of f x and f x are the same, there still exists a difference between the initial phase, as shown in Figure 7. In this situation, supposing the initial phase difference between the two signals is φ 0 , the frequency result is expressed in (10). There will be an error of φ 0 / Δ t generated in the measurement of the frequency, failing to achieve the purpose of precise frequency measurement.
f x = f x + Δ f = f x + φ 0 Δ t f x
(2) During the open-loop measurement, the input test signal f x will be an FM signal with a certain dynamic range, that is, the frequency of f x will have a frequency fluctuation compared with a reference signal with a fixed frequency. When f x changes drastically, there could be a big frequency difference between f x and f x . The phase–frequency conversion measurement method described in Section 2.2 is no longer applicable since the relationship between the phase difference and frequency is disordered. What is more, limited by the phase detection range of the PFD, even a small frequency difference will generate a big phase difference as the time interval increases. When the accumulated phase difference during a sample period exceeds several cycles, without the information of exceeded cycles, the phase detection is inaccurate, and the measuring performance of the entire system is badly degraded.
Therefore, the negative feedback control system proposed in this paper tracks the steady-state phase difference between f x and f x to 0. That is to say, under the ideal situation, the entire accurate frequency measurement module can track the change in the tested signal f x accurately, eliminating the counting error of ±1 word in principle and ensuring the detecting dynamic range.

2.4. Analysis of the System Theoretical Frequency Measurement Accuracy

The structure of the accurate frequency measurement module using closed-loop feedback control is shown in Figure 8. The theoretical frequency measurement accuracy of this structure depends on the phase tracking accuracy between the reference signal f x and the tested signal f x . The mathematical model of the PFD, CP, and LF is described in Section 2.3.1.
Analogous to the voltage-controlled oscillator (VCO) in a phase-locked loop, DDS plays the same role in this closed-loop system. DDS adjusts the frequency of its output signal according to the phase difference measured by the PFD. The reference signal f x generated by DDS can be expressed in (11).
f x ( t ) = f 0 + K o u c ( t )
where
f 0 is the initial reference signal;
u c is the voltage representing the phase difference;
K o is the gain coefficient.
The output of DDS is fed back to the PFD to detect the phase difference between f x and f x , which means there exists a conversion between phase and frequency. So, the mathematical model of DDS has an integration stage to transform the frequency into phase, corresponding to an integration factor 1 / s in the S-domain. Then, the transfer function of DDS is expressed in (12).
θ o ( s ) = K o s
Transform all the components in Figure 8 into mathematical models, the phase-transfer model of the whole loop can be simplified and shown in Figure 9. Similar to the structure of the phase-locked loop, the open-loop transfer function of the accurate frequency measurement module can be expressed in (13):
H o ( s ) = K d F ( s ) K o / s = I F u l l R T K o F ( s ) 4 π s
where
K d is the phase gain coefficient of the PFD;
F ( s ) is the transfer function of the loop filter;
H o ( s ) is the open-loop transfer function.
The closed-loop transfer function of the system can be expressed in (14):
H ( s ) = θ o ( s ) θ i ( s ) = H o ( s ) 1 + H o ( s ) = K d K o F ( s ) s + K d K o F ( s )
Assuming K is the loop gain, then:
K = K d K o
H ( s ) = θ o ( s ) θ i ( s ) = H o ( s ) 1 + H o ( s ) = K F ( s ) s + K F ( s )
The transfer function of the phase error θ e ( s ) in the loop can be obtained and expressed in (17):
H e ( s ) = θ e ( s ) θ i ( s ) = 1 1 + H o ( s ) = s s + K F ( s )
To obtain the steady-state phase error of the frequency measurement system, the inverse Laplace Transform is applied to obtain the following equations.
θ e ( s ) = θ i ( s ) H e ( s )
θ e ( ) = lim t θ e ( t ) = lim s 0 s θ i ( s ) s s + K F ( s )
From (19), we can see that the steady-state tracking phase error of the system is related to the loop filter F ( s ) and the input signal θ i ( s ) . A one-order low-pass filter is used in the paper. Its transfer function can be expressed as:
F ( s ) = 1 1 + s R C
The input test signal can be regarded as a phase step signal and expressed in (21):
θ i ( s ) = 1 s
Combining (19)–(21), the steady-state error transfer function of the accurate frequency measurement module can be expressed as (22):
θ e ( ) = lim t θ e ( t ) = lim s 0 s θ i ( s ) s s + K F ( s ) = s s + K 1 + S R C = 0
Therefore, the steady-state phase error between the tested signal and the tracking reference signal can reach zero. That is to say, under the ideal situation, the entire accurate frequency measurement module can dynamically adjust the reference signal f x to track the change in the tested signal accurately without error. Then, the frequency of f x can be directly obtained from the known reference frequency f x generated by the DDS, which is expressed in (23).
f x ( t ) = f x ( t ) = F T W ( t ) 2 N f c l k
where
F T W is the frequency tuning word used to configure the output of DDS;
Nis the number of bits in the phase accumulator;
f c l k is the system clock running in DDS.
The accuracy of the frequency measurement result depends on the accuracy of the reference signal generated by the DDS. Without considering the influence of output spurs, the theoretical output accuracy of DDS depends on the noise performance of the system clock and the number of bits in the phase accumulator. Since the frequency tuning word FTW is taken as an integer in this paper, ideally, the frequency resolution of the accurate frequency measurement module is expressed in (24):
e p r e c i s e = | Δ F T W | 2 N f c l k f c l k 2 N

3. Simulation

In order to verify the effectiveness of the frequency measurement method proposed in this paper, a theoretical simulation model of the entire system is built in Simulink. As shown in Figure 1, the high-precision frequency measurement system based on a negative feedback control structure combines the rough measurement result from the equal-precision frequency measurement module and the precise measurement result from the accurate closed-loop frequency measurement module.
The equal-precision measurement method is adopted to achieve a rough measurement of the tested signal f x , and then the accurate frequency measurement module uses the PFD to achieve high-precision frequency measurement. Since the PFD has a certain range of phase detection ( 2 π , 2 π ), the system needs to quickly track the tested signal when performing the accurate frequency measurement to prevent the PFD from entering the saturation region, thereby ensuring the accuracy of frequency measurement. The control part of the accurate frequency measurement module adopts the classic proportional–integral–derivative (PID) control. In addition, during the first rough measurement, the accurate frequency measurement module should be disabled since the initial frequency output of the DDS is not obtained. Then, the accurate frequency measurement module is enabled after the first rough measurement is accomplished.
The timing diagram of the entire frequency measurement system is shown in Figure 10. The preset gate signal, actual gate signal, and the reference signal f r e f are used to realize the equal-precision frequency measurement, providing a rough measurement result of f x . After the rough test completion signal is pulled high, the accurate measurement module is enabled, following the rough measurement.
Due to the limitation of the computer’s computing power, the simulation model is simplified. The related parameters are listed in Table 1.
When the gate frequency of the equal-accuracy frequency measurement module is 1 Hz, and the reference frequency is 200 kHz, the frequency accuracy of the equal-precision measurement method is theoretically calculated as [21]:
δ r o u g h = | Δ N r e f | N r e f 1 N r e f = 1 T G a t e · f r e f = 10 5
e r o u g h = δ r o u g h · f x = 0.1   Hz
That is, the frequency measurement result of the tested signal using the equal-precision measurement method is 10 kHz ± 0.1 Hz. In comparison, theoretically, the frequency measurement accuracy of the accurate measurement module is determined by the resolution of the DDS. Under the given simulation conditions, the frequency accuracy can be expressed as:
e p r e c i s e = 64,000 Hz 2 26 0.001 Hz
It can be seen from (25)–(27) that theoretically, the relative error of equal-precision measurement depends on the gate time T G a t e and the frequency of the reference signal f r e f . When the sampling rate rises, the gate time will decrease, leading to degraded measurement accuracy. The only way to solve this issue is to increase the frequency of the reference signal, which cannot be increased without limit. Instead, the ideal measurement accuracy is independent of the sampling time, making it keep a high-precision detection even in a high sampling scenario.
Under the same sampling time of 1 s, the two groups of signals with the frequency of 9999.93 Hz and 11,000.030 Hz are measured using the proposed method and the equal-precision method, respectively. The simulated frequency measurement results are shown in Figure 11a,b.
The comparison table, shown in Table 2, lists the frequency measurement errors of the high-precision frequency measurement system proposed in this paper and the equal-precision frequency measurement method.
Through the comparison of the above table, it can be found that under the same gate time, the frequency accuracy of the high-precision frequency measurement system proposed in this paper is higher than that of the traditional equal-precision frequency measurement method. The relative error of the proposed method is less than 1 × 10 7 with the gate time of 1 s, while the relative error of the equal-precision measurement method with the same gate time is 1 × 10 5 . The frequency measurement accuracy of the proposed method is about 30 dB better than that of the equal-precision method under the given simulation conditions.

4. Experiment and Validation

The experimental board and test environment are shown in Figure 12 and Figure 13, respectively. ADI’s HMC984 is chosen as the PFD component, whose input frequency reaches up to 150 MHz, and the output current is adjustable from 0.02 mA to 2.5 mA. ADI’s AD9915 is chosen as the DDS component, which has a maximum 64-bit frequency tuning word and a maximum system clock of 2.5 GHz. The experimental board runs the DDS with 2 GHz reference system clock and 32-bit frequency tuning word. In this situation, according to (24), the resolution of the DDS can be calculated in (28), corresponding to a 0.5 Hz frequency error.
e p r e c i s e = F c l k 2 N = 2 GHz 2 64 0.5 Hz
In the specific experiment, the sampling rate of the system is set to 2 kHz, that is, the system completes a frequency measurement and outputs the result every 0.5 ms. Additionally, the tested signal generated by the signal generator is 80.000000 MHz. Considering the stability and timing requirements of system operation in FPGA, the reference signal f r e f used in the equal-precision measurement module is set to 200 MHz. According to (25) and (26), the theoretical frequency measurement accuracy of the equal-precision method with a gate time of 0.5 ms is calculated as:
δ r o u g h = 1 T G a t e · f r e f = 1 0.5 × 10 3 × 200 × 10 6 = 1 × 10 5
e r o u g h = δ r o u g h · f x = 1 × 10 5 × 80 × 10 6 = 8 × 10 2 Hz
In order to verify the effectiveness of the proposed system, the proposed frequency measurement method and the equal-precision frequency measurement method are used simultaneously to measure the 80.000000 MHz signal generated by the signal generator. The measurement results are compared in Figure 14. Obviously, the fluctuation of the measured frequency is greatly decreased after the introduction of the accurate frequency measurement module in the proposed system. The detailed frequency measurement results are shown in Figure 15. The comparisons of the measurement results are listed in Table 3. It can be seen from the table that the relative error of the frequency measurement system proposed in this paper is ±6.06000 × 10 7 under the sampling rate of 2 kHz, while the relative error of the equal-precision frequency measurement under the same sampling rate is only ±2.49813 × 10 5 . Obviously, with the proposed method in this paper, the relative error and Allan variance are greatly optimized compared with the equal-precision frequency measurement method.
To sum up, it can be seen that the high-precision feedback frequency measurement system proposed in this paper can achieve a high-precision frequency measurement under the condition of high sampling rate. Additionally, in the case of a 2 kHz sampling rate, the relative error of the proposed method is reduced by more than 30 dB compared with the equal-precision measurement method, greatly improving the accuracy of frequency measurement.

5. Conclusions

With the development of different sensing mechanisms, a growing number of sensors are designed featuring high sensitivity to better detect signals. However, during the conversion of variations in physical quantities to the modulated frequency, high sensitivity has both pros and cons. On the one hand, high sensitivity can make the weak signal obtain greater gain. On the other hand, strong disturbance signals can be amplified as well, making the instantaneous frequency of the FM signal change drastically. Thus, the sampling rate must be increased to obtain the real-time variation information, which reduces the accuracy of frequency measurement accordingly and makes it hard to realize a high-precision measurement at a high sampling rate.
This paper presents a high-precision frequency measurement system based on negative feedback architecture. The system uses the PFD to realize the high-precision phase-to-frequency transformation and dynamically adjust the output of the DDS to track the tested signal. In this way, the quantization error is eliminated in principle, and the frequency measurement accuracy is independent of the sample time. The simulation results and the experiments have shown that the proposed system can effectively improve the accuracy of frequency measurement at a high sampling rate compared with the equal-precision measurement method. At a sampling rate of 2 kHz, the relative error of the proposed method is more than 30 dB better than that of the equal-precision measurement method. The proposed system can provide an effective solution for the high-precision frequency measurement when the frequency of the FM signal changes dynamically and there is a need for testing at a high sampling rate.

Author Contributions

Conceptualization, H.W. and X.S.; methodology, H.W. and X.T.; software, X.T.; validation, X.S.; formal analysis, H.W.; investigation, L.Y.; resources, L.Y. and K.S.; data curation, X.S.; writing—original draft, H.W., X.T.; writing—review and editing, X.S and W.W.; supervision, K.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Acknowledgments

The authors would like to thank Dajun Chen of the Zhejiang Lab for assistance with code debugging related to this work.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
FMFrequency modulated
DDSDirect digital synthesizer
PFDPhase–frequency detector
CPCharge pump
LFLoop filter
ADCAnalog-to-Digital converter
FPGAField programmable gate array
TIATrans-impedance amplifier
PIDProportional–Integration–Derivative

References

  1. Jiang, S.; Liu, B.; Wang, H.; Zhao, B. Absolute distance measurement using frequency-scanning interferometry based on hilbert phase subdivision. Sensors 2019, 19, 5132. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Shi, G.; Wang, W.; Zhang, F. Precision improvement of frequency-modulated continuous-wave laser ranging system with two auxiliary interferometers. Opt. Commun. 2018, 411, 152–157. [Google Scholar] [CrossRef]
  3. Wang, Y.; Wang, M.; Xia, W.; Ni, X.; Wu, D. Optical Fiber Bragg Grating Pressure Sensor Based on Dual Frequency Optoelectronic Oscillator. IEEE Photonics Technol. Lett. 2017, 29, 1864–1867. [Google Scholar] [CrossRef]
  4. Liu, J.; Wang, M.; Tang, Y.; Yang, Y.; Wu, Y.; Jin, W.; Jian, S. Switchable Optoelectronic Oscillator Using an FM-PS-FBG for Strain and Temperature Sensing. IEEE Photonics Technol. Lett. 2017, 29, 2008–2011. [Google Scholar] [CrossRef]
  5. Yin, B.; Wang, M.; Wu, S.; Tang, Y.; Feng, S.; Zhang, H. High sensitivity axial strain and temperature sensor based on dual-frequency optoelectronic oscillator using PMFBG Fabry-Perot filter. Opt. Express. 2017, 25, 14106–14113. [Google Scholar] [CrossRef] [PubMed]
  6. Kong, F.; Li, W.; Yao, J. Transverse load sensing based on a dual-frequency optoelectronic oscillator. Opt. Lett. 2013, 38, 2611–2613. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Ye, L.; Ma, Y.; Wang, W.; Wang, J.; Yu, J.; Song, K. High-sensitivity angular velocity measurement based on bidirectional coupled optoelectronic oscillator. Opt. Commun. 2019, 440, 201–206. [Google Scholar] [CrossRef]
  8. Fan, Z.; Su, J.; Zhang, T.; Yang, N.; Qiu, Q. High precision thermal-insensitive strain sensor based on optoelectronic oscillator. Opt. Express. 2017, 25, 27037–27050. [Google Scholar] [CrossRef] [PubMed]
  9. Zou, X.; Liu, X.; Li, W.; Li, P.; Pan, W.; Yan, L.; Shao, L. Optoelectronic Oscillators (OEOs) to Sensing, Measurement, and Detection. IEEE Quantum Electron. 2016, 52, 1–16. [Google Scholar] [CrossRef]
  10. Dong, H.; Hu, S.; Ge, J.; Liu, H.; Luo, W.; Yuan, Z.; Zhu, J.; Zhang, H. A high-precision and fast-sampling frequency measurement method based on FPGA carry chain for airborne optically pumped cesium magnetometer. Rev. Sci. Instrum. 2018, 89, 075001. [Google Scholar] [CrossRef] [PubMed]
  11. Chen, L.; Meng, R.; Feng, X. A review of frequency measurement research. Electron. Technol. 2011, 24, 155–159. [Google Scholar] [CrossRef]
  12. Sun, J.; Pan, J. A review of high-precision time interval measurement methods. Comput. Meas. Control 2007, 15, 145–148. [Google Scholar] [CrossRef]
  13. Ahola, R.; Myllyla, R. A new method for measuring the time-of-flight in fast laser range finding. Autom. Opt. Insp. SPIE 1986, 654, 19–25. [Google Scholar]
  14. Kalisz, J.; Szplet, R.; Pelka, R.; Poniecki, A. Single-chip interpolating time counter with 200-ps resolution and 43-s range. IEEE Trans. Instrum. Meas. 1997, 46, 851–856. [Google Scholar] [CrossRef]
  15. Szplet, R.; Kalisz, J.; Szymanowski, R. Interpolating time counter with 100 ps resolution on a single FPGA device. IEEE Trans. Instrum. Meas. 2000, 49, 879–883. [Google Scholar] [CrossRef]
  16. Ge, Y.H.; Chen, Q.Y.; Zhang, Y.F.; Xia, M.Y. Frequency signal acquisition of scalar atomic magnetometer based on using TDC and FPGA. IOP Conf. Ser. Mater. Sci. Eng. 2017, 231, 012047. [Google Scholar] [CrossRef] [Green Version]
  17. Liu, T.; Chen, G.; Chen, F. Research on Dead-time Free Frequency Measurement Technology Based on TDC. Dian Zi Yu Xin Xi Xue Bao 2021, 43, 2518–2525. [Google Scholar]
  18. Raisanen-Ruotsalainen, E.; Rahkonen, T.; Kostamovaara, J. Time interval measurements using time-to-voltage conversion with built-in dual-slope A/D conversion. In Proceedings of the IEEE International Sympoisum on Circuits and Systems, Singapore, 11–14 June 1991; pp. 2573–2576. [Google Scholar]
  19. Zhou, W. The frequency measurement technique by broad-band phase detection. Chin. J. Sci. Instrum. 1993, 14, 358–362. [Google Scholar]
  20. Zhou, W.; Li, Z.; Zhou, H. A practical method to process time and frequency signal. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2000, 47, 480–483. [Google Scholar] [CrossRef] [PubMed]
  21. Zhu, D.; Li, Z.; Li, Y.; Li, Y.; Li, Z. The distributed surface acoustic wave strain sensing system based on FPGA. In Proceedings of the Sixth International Symposium on Instrumentation and Control Technology: Sensors, Automatic Measurement, Control, and Computer Simulation, SPIE, Washington, DC, USA, 8 November 2006; pp. 7–11. [Google Scholar]
Figure 1. Overall structure diagram of the high-precision frequency measurement system based on negative feedback control.
Figure 1. Overall structure diagram of the high-precision frequency measurement system based on negative feedback control.
Sensors 22 07822 g001
Figure 2. Variation of phase difference between two signals with a fixed-frequency difference.
Figure 2. Variation of phase difference between two signals with a fixed-frequency difference.
Sensors 22 07822 g002
Figure 3. Variation law of phase difference between two signals with a small fixed-frequency difference.
Figure 3. Variation law of phase difference between two signals with a small fixed-frequency difference.
Sensors 22 07822 g003
Figure 4. Variation of phase difference between two signals with a small fixed-frequency difference: (a) Schematic diagram of the relationship between the phase difference and time. (b) Schematic diagram of phase–frequency mapping.
Figure 4. Variation of phase difference between two signals with a small fixed-frequency difference: (a) Schematic diagram of the relationship between the phase difference and time. (b) Schematic diagram of phase–frequency mapping.
Sensors 22 07822 g004aSensors 22 07822 g004b
Figure 5. Mathematical model of the phase–frequency detector (PFD).
Figure 5. Mathematical model of the phase–frequency detector (PFD).
Sensors 22 07822 g005
Figure 6. Schematic diagram of the current-to-voltage transformation.
Figure 6. Schematic diagram of the current-to-voltage transformation.
Sensors 22 07822 g006
Figure 7. Variation law of phase difference between two signals with equal frequency and different initial phase.
Figure 7. Variation law of phase difference between two signals with equal frequency and different initial phase.
Sensors 22 07822 g007
Figure 8. The structure of the accurate frequency measurement module using closed-loop feedback control.
Figure 8. The structure of the accurate frequency measurement module using closed-loop feedback control.
Sensors 22 07822 g008
Figure 9. The simplified mathematical structure of the phase-transfer model.
Figure 9. The simplified mathematical structure of the phase-transfer model.
Sensors 22 07822 g009
Figure 10. Control timing diagram of the proposed high-precision frequency measurement system based on negative feedback control structure.
Figure 10. Control timing diagram of the proposed high-precision frequency measurement system based on negative feedback control structure.
Sensors 22 07822 g010
Figure 11. Simulation results of the proposed method and the equal-precision measurement method: (a) Tested signal: f x = 9999.930 Hz. (b) Tested signal: f x = 11,000.030 Hz.
Figure 11. Simulation results of the proposed method and the equal-precision measurement method: (a) Tested signal: f x = 9999.930 Hz. (b) Tested signal: f x = 11,000.030 Hz.
Sensors 22 07822 g011
Figure 12. Photograph of the experimental board.
Figure 12. Photograph of the experimental board.
Sensors 22 07822 g012
Figure 13. Photograph of conducting testing experiments.
Figure 13. Photograph of conducting testing experiments.
Sensors 22 07822 g013
Figure 14. Comparison of frequency measurement results between the proposed method and the equal-precision method.
Figure 14. Comparison of frequency measurement results between the proposed method and the equal-precision method.
Sensors 22 07822 g014
Figure 15. Detailed frequency measurement results of the proposed method.
Figure 15. Detailed frequency measurement results of the proposed method.
Sensors 22 07822 g015
Table 1. Simulation parameters of the key components in the model.
Table 1. Simulation parameters of the key components in the model.
Frequency of the Tested SignalReference Signal ( f r e f )Sampling Gate FrequencySystem Clock of DDS ( f c l k )Number of Bits in the Phase Accumulator (N)
10 kHz200 kHz1 Hz64 kHz26
Table 2. Simulated error table under the gate time of 1 s.
Table 2. Simulated error table under the gate time of 1 s.
f x /HzFrequency Measurement
of the Proposed Method
Frequency Measurement
by EQUAL-Precision Method
Max Absolute Error/HzMax Relative ErrorMax Absolute Error/HzMax Relative Error
9999.930.001 1 × 10 7 0.10 1 × 10 5
11,000.030.001 1 × 10 7 0.11 1 × 10 5
Table 3. Frequency Measurement Accuracy and Stability of the System at 2 kHz Sampling Rate.
Table 3. Frequency Measurement Accuracy and Stability of the System at 2 kHz Sampling Rate.
MethodMaximumMinimumRelative ErrorAllan Variance @ 0.5 ms
Frequency measurement
by equal precision method
80,001,998.81 Hz79,998,799.72 Hz±2.49813 × 10 5 3.77475 × 10 6
Frequency measurement
of this system
80,000,048.79 Hz79,999,957.99 Hz±6.06000 × 10 7 8.75028 × 10 8
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Sun, X.; Wu, H.; Tan, X.; Wang, W.; Ye, L.; Song, K. Frequency-Modulated Signal Measurement Using Closed-Loop Methodology. Sensors 2022, 22, 7822. https://doi.org/10.3390/s22207822

AMA Style

Sun X, Wu H, Tan X, Wang W, Ye L, Song K. Frequency-Modulated Signal Measurement Using Closed-Loop Methodology. Sensors. 2022; 22(20):7822. https://doi.org/10.3390/s22207822

Chicago/Turabian Style

Sun, Xinglin, Haojie Wu, Xinyue Tan, Wenrui Wang, Lingyun Ye, and Kaichen Song. 2022. "Frequency-Modulated Signal Measurement Using Closed-Loop Methodology" Sensors 22, no. 20: 7822. https://doi.org/10.3390/s22207822

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop