Next Article in Journal
AIDETECT2: A Novel AI-Driven Signal Detection Approach for beyond 5G and 6G Wireless Networks
Previous Article in Journal
Modeling, Design, and Application of Analog Pre-Distortion for the Linearity and Efficiency Enhancement of a K-Band Power Amplifier
Previous Article in Special Issue
Design and Evaluation of Device Authentication and Secure Communication System with PQC for AIoT Environments
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Two Variables PID Control Algorithm in Precision Clock Disciplining System

1
The State Key Laboratory of Information Photonics and Optical Communications, School of Information and Communication Engineering, Beijing University of Posts and Communications, Beijing 100876, China
2
Institute of Technology and Standards, China Academy of Information and Communications Technology, Beijing 100191, China
*
Author to whom correspondence should be addressed.
Electronics 2024, 13(19), 3820; https://doi.org/10.3390/electronics13193820
Submission received: 14 July 2024 / Revised: 18 September 2024 / Accepted: 20 September 2024 / Published: 27 September 2024
(This article belongs to the Special Issue Precise Timing and Security in Internet of Things)

Abstract

:
Proportion Integration Differentiation (PID) is a common clock disciplining algorithm. In satellite clock source equipment and in Internet of Things (IoT) sensor nodes it is usually required that both time and frequency signals have high accuracy. Because the traditional PID clock disciplining method used in the equipment only performs PID calculation and feedback control on single variable, such as frequency, the time accuracy error of the clock source is large and even has inherent deviation. By using the integral relationship between frequency and time, a new two variables PID control algorithm for high-precision clock disciplining is proposed in this paper. Time is taken as the constraint variable to make the time deviation converge. It can guarantee a high accuracy of time and high long-term stability of frequency. At the same time, frequency is taken as the feedback variable to make frequency obtain fast convergence. It can ensure high short-term stability of the frequency and the continuity of time. So, it can make the time and frequency of the disciplined clock have high accuracy and stability at the same time. In order to verify the effectiveness of the proposed algorithm, it is simulated based on the GNSS disciplined clock model. The GNSS time after Kalman filtering is used as the time reference to discipline the local clock. The simulation results show that the time deviation range of a local clock after convergence is −0.38 ns∼0.31 ns, the frequency accuracy is better than 1 × 10 15 averaging over one day, and the long-term time stability (TDEV) for a day is about 7 ps when using the two variables PID algorithm. Compared with the single variable PID algorithm, the time accuracy of the two variables PID algorithm is improved by about one order of magnitude and the long-term time stability (TDEV) is improved by about two orders of magnitude. The research results indicate that the two variables PID control algorithm has great application potential for the development of clock source equipment and other bivariate disciplining scenarios.

1. Background Introduction

With the development of mobile communication technology, various new communication services have needed higher and higher requirements for the accuracy of clocks. For example, the 5G-enhanced primary reference time clock (ePRTC) requires a time accuracy within 30 ns [1] and a frequency accuracy within 1 × 10 12 [2]. In IoT sensor networks, millisecond or even microsecond time synchronization is also required [3]. This is usually achieved by configuring the satellite timing module in a few nodes or by using a time synchronization protocol [4,5,6]. These two methods have a common feature that they need to use the Global Navigation Satellite System (GNSS) or a standard reference time to discipline the node’s local clock to achieve clock synchronization. The basic principle is that the node obtains the reference time and locks its local clock to the reference time by using a disciplining algorithm.
GNSS has been widely used to access a highly accurate reference time. Therefore, this paper takes a GNSS disciplining local clock as an example to carry out the disciplining algorithm research. The schematic diagram of the GNSS disciplining the local clock is shown in Figure 1 [7,8]. A GNSS receiver is used to receive and generate a 1PPS reference signal with high long-term accuracy and stability. The time deviation between the 1PPS signal of the GNSS receiver and the 1PPS signal from the local clock is measured by the time interval tester, and the test data is processed by a clock disciplining algorithm. Then, the local clock is locked to the GNSS clock and outputs the time and frequency signals with high precision.

1.1. Review of Conventional PID Algorithm

Currently, the commonly used clock disciplining algorithm is PID. Its basic principle is to calculate the proportion, integration, and differentiation of the clock error and to provide feedback control to adjust the clock. The feedback control quantity is the weighted composite value of the proportion, integration, and differentiation [9,10,11,12,13,14,15]. As shown in Figure 2, after the original error data r ( t ) enters the PID controller, the feedback control quantity u ( t ) is calculated by the PID algorithm. u ( t ) is the sum of the three components of PID and the proportional, integral, and differential coefficients are k p , k i , and k d , respectively. After the feedback control quantity acts on r ( t ) , the error quantity e ( t ) is obtained. The PID controller recalculates the data error u ( t ) using e ( t ) and carries out a new feedback control. And, this continues to loop until the end of the data r ( t ) input.
This algorithm has many advantages, such as a simple structure, easy implementation, and a good control effect [16]. Therefore, it has been widely used in the field of clock disciplining. In 2014, Liang K. et al. proposed a disciplined oscillator system using UTC(NIM) for remote time and frequency traceability [17]. In this method, UTC(NIM) time is obtained by a common-view GNSS receiver. By measuring the time deviation between a local rubidium clock and UTC(NIM), the frequency deviation of the local clock is obtained. The frequency of the local clock is corrected using the Proportion and Differentiation (PD) algorithm. The experimental results show that the daily time difference is within 25 ns and the frequency accuracy of NIMDO could be better than 1 × 10 13 averaging over one day. In 2016, Yu F. et al. proposed the design of a high precision time synchronization system based on GPS/BD dual-mode [18]. This method uses a GPS/BD dual-mode receiver to provide time reference. The frequency deviation is also calculated by measuring the deviation from reference time, and the frequency of the local OCXO is corrected by the PID algorithm. The experimental results show that the time accuracy of the clock is 50 ns.
Both methods use the PID algorithm to calculate the fractional frequency deviation of a local clock, and the calculation results are fed back to the local clock, which has the characteristics of a simple structure. However, these PID clock disciplining algorithms still have a defect. This algorithm only carries out PID control for a single variable. It means that the variable used to calculate PID is the same as the one that receives feedback. But, the clock contains both time and frequency signals, and usually requires both variables to converge. Since time is an integral of frequency, if the frequency converges, it cannot guarantee time to converge. Time may introduce some oscillations, or it cannot converge in a short time and may even converge with a constant offset. In contrast, when time converges, it cannot guarantee frequency to converge within a small range. So, this algorithm cannot theoretically guarantee both time and frequency to converge at the same time.

1.2. Two Variables PID Algorithm

To solve the above problems, a new two variables PID clock disciplining algorithm is proposed in this paper. The block diagram of the two variables PID algorithm is shown in Figure 3. r ( t ) represents the time deviation between the local clock and the reference signal as shown in Figure 1. e ( t ) represents the time deviation after feedback. After the PID calculation, e ( t ) is converted to Δ T ( t ) , as shown in box (a). Δ T ( t ) is taken the derivative and divided by a proportional coefficient n to obtain the adjustment quantity of fractional frequency deviation Δ y ( t ) , as shown in box (b). After feeding Δ y ( t ) back to the frequency of the local clock y ( t ) , y ( t ) ¯ = y ( t ) Δ y ( t ) is obtained, as shown in box (c). The local clock then runs with the new fractional frequency deviation y ( t ) ¯ until the next measurement of r ( t ) . The algorithm utilizes the integral relation between frequency and time. It uses time as the PID constraint variable and frequency as the feedback variable so that the time and frequency can be correlated. That the time is taken as the constraint variable of PID means that time adjustment quantity is calculated by PID to ensure the convergence of time. Then, it can ensure a good long-term stability of frequency. That the frequency is taken as the feedback variable means that the time adjustment quantity is converted into a frequency adjustment quantity to feedback the frequency. It can ensure the short-term stability of frequency and the continuity of time. Therefore, the convergence of time and frequency can theoretically be guaranteed at the same time, and the clock output has good accuracy and stability. The simulation results show that the time deviation range of the two variables PID algorithm is −0.38 ns∼0.31 ns and the fractional frequency deviation range is 4.8 × 10 11 6.1 × 10 11 . The frequency accuracy is better than 1 × 10 15 averaging over one day and the long-term time stability (TDEV) for a day is about 7 ps after convergence. Compared with a single variable PID algorithm, the time accuracy of the two variables PID algorithm is improved by about one order of magnitude and the long-term time stability is improved by about two orders of magnitude.
The rest of the paper is organized as follows. In Section 2, the principles of the two variables PID control clock disciplining algorithm are described in detail. In order to ensure the correctness of the algorithm, a non-strict theoretical proof of the algorithm is provided in Section 3. In Section 4, the simulations are carried out and the simulation results are discussed in detail. Then, the paper is concluded in Section 5.

2. Algorithm Principle

First, the clock model is established, as shown in Equation (1).
T ( t ) = T 0 + y × t + 1 2 d × t 2 + n ( t )
where T ( t ) is the time deviation of clock, T 0 is the initial time deviation, y is the fractional frequency deviation, d is the aging rate, t is the duration, and n ( t ) is the inherent time noise of the clock. According to the Power Laws theory [19], the power spectral density S y ( f ) of inherent time noise n ( t ) can be reasonably well-modeled by a superposition of five independent noise processes obeying power laws with integer exponents 2 α 2 as shown in Equation (2).
S y ( f ) = α = 2 2 h α f α
where α = 2 , 1 , 0 , 1 , and 2, respectively, represent frequency random walk of frequency noise, flicker frequency noise, white frequency noise, flicker phase noise, and white phase noise. h α is the power spectral density coefficient, which has a certain relationship with the stability of the signal. After constructing the power laws model, n ( t ) can be obtained by the inverse Fourier transform.
When the GNSS receiver receives the GNSS time signal, the GNSS time is filtered, and the time of the local clock is roughly adjusted to obtain the initial time, which is usually within 30 ns for GNSS dual-frequency receivers. Then, the PID disciplining is carried out. The algorithm process is shown in Figure 4, and this paper focuses on the design of the PID algorithm after rough adjustment, as shown in the solid box of Figure 4.
When it is not disciplined, the local clock is in the state of free run with the parameters y, d, and t. When it is disciplined, the system measures the time difference r ( t ) . The time adjustment quantity Δ T is calculated using r ( t ) by PID. The frequency feedback quantity Δ y is obtained by a time–frequency conversion. Then, frequency is given negative feedback by Δ y at last.
In the process of PID design, the proportional term is set as the measured time difference of the clock, the integral term is the sum of each time difference, and the differential term is the fractional frequency deviation of the clock. The proportion, integration, and differentiation coefficients are k p , k i , and k d , respectively. Then, the time adjustment quantity Δ T is calculated using Equation (3).
Δ T = k p · r ( t ) + k i · r ( t ) d + k d · y
The frequency feedback quantity Δ y is obtained using Equation (4).
Δ y = Δ T Δ T ( n × T s ) ( n × T s )
where T s represents the disciplining interval, and n represents the approximate number of epochs to complete disciplining.

3. Algorithm Verification

It is mentioned in Section 1 that this algorithm can ensure that the time and frequency of the equipment converge simultaneously, so the algorithm is theoretically proofed in this section. In order to make the proof result more general, it is assumed that the measured clock deviation is e ( t ) . Equation (5) is obtained by a Taylor series expansion of e ( t ) .
e ( t ) = e 0 ( t ) + e ( t ) · t + e ( t ) · t 2 + o ( t 2 )
The feedback quantity e ( t ) is discretized, and Equation (6) is obtained, where τ is the adjustment period, assuming that the adjustment is completed within about n epochs.
e ( t ) = 1 n · d e ( t ) d t = 1 n τ [ e ( k ) e ( k 1 ) ]
This algorithm is used to feedback the frequency, so PID is used to directly feedback the first-order differential term. To make e ( k ) = u ( k ) , e ( k 1 ) = 0 ; then, the feedback quantity can be obtained as shown in Equation (7).
e ( t ) = u ( k ) n τ
In order to provide negative feedback on the frequency, Equation (7) is substituted into Equation (5). Then, Equation (8) can be obtained.
e ( t ) = e 0 ( t ) + [ e ( t ) u ( k ) n τ ] · t + e ( t ) · t 2 + o ( t 2 )
The algorithm can achieve the following three effects, which are not strictly proved below.

3.1. The Time Deviation of the Disciplined Clock Is Convergent

Because e ( t ) = 0 t e ( t ) d t , Equation (9) can be obtained.
e k + 1 ( t ) = 0 t e k ( t ) Δ e k ( t ) d t = 0 t e k ( t ) d t 0 t Δ e k ( t ) d t < e k ( t )
So, the error variable e ( t ) is convergent overall.

3.2. The Fractional Frequency Deviation of the Disciplined Clock Is Bounded

Since e ( t ) converges, then e ( t ) is also bounded, i.e.,
e ( t ) = 0 t e ( t ) t · e ( t ) C
where C is a fixed constant, then,
e ( t ) e ( t ) C t
So, e ( t ) is also bounded.

3.3. The Time of the Disciplined Clock Is Continuous

Suppose that e ( t ) is adjusted at time t 0 and the amount of adjustment is Δ e ( t ) , then,
e ( t ) = 0 t 0 e ( t ) d t + t 0 t [ e ( t ) Δ e ( t ) ] d t
After taking the limit on both ends of Equation (12), it can be obtained that
l i m t t 0 e ( t ) = l i m t t 0 [ 0 t 0 e ( t ) d t + t 0 t [ e ( t ) Δ e ( t ) ] d t ]
It can be seen from Section 3.2 that e ( t ) Δ e ( t ) C t is bounded, then,
l i m t t 0 e ( t ) = 0 t 0 e ( t ) d t = e ( t 0 )
So, e ( t ) is continuous.
According to the above analysis, it can be concluded that the time of the disciplined clock is continuous and convergent, and the frequency is bounded.

4. Simulation and Results Analysis

At present, a high precision clock is generally realized by a GNSS dual-frequency receiver [7] or a common-view GNSS receiver [8]. In this experiment, GNSS time deviation data using a common-view GNSS receiver are collected, as shown in Figure 5. The GNSS receivers at the local clock and the remote clock measure the time deviation between their own time and the GNSS time. The remote clock is UTC(NIM). Then, Δ T slave = T Localclock T GNSS and Δ T Master = T UTC ( NIM ) T GNSS can be obtained. By exchanging the time difference information over the data network, the local clock can calculate the time deviation between the local clock and UTC(NIM). Then, the local clock can be locked to UTC(NIM) with high precision. When the local clock continues to measure the time deviation between its own time and that of GNSS, the Δ T slave is the collected GNSS time deviation in simulation. The collected GNSS time deviation is the time difference between the 1 PP S GNSSreceiver and 1 PP S Localclock , as shown in Figure 1. It is entered into the clock disciplining algorithm, and then the local clock can be locked to GNSS time.
According to the analysis in Section 3, it is assumed that the initial phase of the local clock is 30 ns. According to the typical performance parameters of the rubidium clock, it is assumed that the fractional frequency deviation of the local clock is 1 × 10 10 , the day frequency drift rate is 2 × 10 12 , the disciplining interval of each epoch is set to 30 s, and disciplining is completed within about 1000 epochs. According to Equation (2), the noise of any kind of f α can be seen as the result of f α + 1 noise multiplied by a 1/2 order integrator. The 1/2 order integrator can be expressed as Equation (15).
H 1 / 2 ( f ) = 1 2 π i × f
Therefore, the flicker phase noise can be obtained by multiplying the white phase noise by the 1/2 order integrator in the frequency domain. Then, the flicker phase noise in the time domain can be obtained by an inverse Fourier transform. Analogously, other types of noise can be obtained by repeating the above operation for white phase noise. The coefficients of the power spectral density S y ( f ) of n ( t ) are shown in Table 1, where R is the number between 1 and 10. It can be seen from Table 1 that the main factor affecting rubidium clock noise is frequency white noise. R is randomly set to 4.7, and the time-domain noise n ( t ) can be obtained through simulation, as shown in Figure 6. In comparison, the GNSS time reference is assumed to have no noise first. This means that the deviation of the GNSS time reference is zero. The single variable PID algorithm and the two variables PID algorithm are used to discipline the local clock. In order to avoid time hopping caused by time adjustment, the single variable PID algorithm only performs PID calculation and feedback on the frequency variable. The two variables PID algorithm is shown in the second part of the paper. Matlab R2021b (9.11.0.1769968) is used to do the simulation, and the simulation results are shown in Figure 7 and Figure 8.
It can be seen from Figure 7 and Figure 8 that the time deviation range of the local clock after convergence is 1.6 ns∼1.2 ns when using the single variable PID algorithm and the fractional frequency deviation range is 2.6 × 10 11 3.0 × 10 11 . The time deviation range after convergence is −0.25 ns∼0.25 ns when using the two variables PID algorithm and the fractional frequency deviation range is 2.6 × 10 11 2.9 × 10 11 . The frequency accuracies of the two variables PID algorithm and the single variable PID algorithm are almost the same, but the two variables PID algorithm has a higher time accuracy and shorter convergence time than that of the single variable PID algorithm.
In the next step, we intend to discipline the local clock using the real GNSS time, and a GNSS receiver is used to collected the GNSS time for 20922 epochs with an interval of 30 s, as shown in Figure 9a. The maximum deviation of GNSS time is 6.8 ns, the minimum deviation is −5.8 ns, and the standard deviation is 1.3 ns. The data distribution for the GNSS time is analyzed, as shown in Figure 9b. By fitting the histogram, the curve of the data distribution is obtained. It can be seen that the GNSS time follows the normal distribution N (0, 1.45).
Before disciplining, Kalman filtering is usually applied to the collected GNSS time to reduce the noise. The maximum deviation of the filtered GNSS time is 1.3 ns, the minimum deviation is −1.7 ns, and the standard deviation is 0.7 ns, as shown in Figure 9a.
The filtered GNSS time is taken as a time reference to discipline the local clock when using the single variable and two variables PID algorithms. The disciplining result is shown in Figure 10 and Figure 11.
According to Figure 10 and Figure 11, the time deviation range of the local clock after convergence is −2.8 ns∼2.4 ns when using single variable PID algorithm and the fractional frequency deviation range is 4.9 × 10 11 5.8 × 10 11 . The frequency accuracy is better than 5 × 10 14 averaging over one day, as shown in Figure 12. The time deviation range after convergence is −0.38 ns ∼ 0.31 ns when using the two variables PID algorithm and the fractional frequency deviation range is 4.8 × 10 11 6.1 × 10 11 . The frequency accuracy is better than 1 × 10 15 averaging over one day, as shown in Figure 12. From the above data, it can be seen that the time accuracy and frequency accuracy (averaging over one day) of the two variables PID algorithm are about one order of magnitude better than these of the single variable PID algorithm and the short-term fractional frequency deviation range is close to that of the single variable PID algorithm. These results are also better than the results mentioned in [17,18].
The time and frequency stability values after convergence are calculated, as shown in Figure 13 and Figure 14. It can be seen from Figure 13 and Figure 14 that the long-term time stability (TDEV) of the two variables PID algorithm is about 7 ps per day, while that of the single variable PID algorithm is about 0.6 ns per day. Compared with the single variable PID algorithm, the long-term time stability (TDEV) of the two variables PID algorithm is improved by about two orders of magnitude, which is also better than the result mentioned in [17]. The frequency stability values of both algorithms are similar, and the long-term stability values of both algorithms show a downward trend, as shown in Figure 14.

5. Conclusions

This paper presents a new two variables PID algorithm, which is suitable for clock disciplining. This algorithm uses the integral relationship between frequency and time. Time is taken as the constraint variable and frequency as the feedback variable. Then, time and frequency can be correlated in this way. The algorithm can theoretically guarantee the convergence of time and frequency and the continuity of time. Compared with the single variable PID method, it has higher precision and stronger robustness. To verify the effectiveness of the two variables PID algorithm, two scenarios with and without GNSS time noise are constructed. The simulation results show that the two variables PID algorithm has a higher convergence speed, and the time deviation after convergence is −0.38 ns∼0.31 ns, which is about one order of magnitude better than the single variable PID algorithm. The time deviation after convergence is also much better than that of the existing GNSS disciplined clock scheme using PID. The long-term time stability (TDEV) is about 7 ps per day, which is about two orders of magnitude better than the single variable PID algorithm. This algorithm is a typical application of a PID algorithm in the clock synchronization field, and it is expected to have good application prospects in the development of clock source equipment and other bivariate scenarios.

Author Contributions

Methodology, software, data curation, and writing—original draft, X.M.; validation and funding acquisition, C.H.; supervision and writing—review and editing, Y.Q. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded in part by National Natural Science Foundation of China grant number 42227802 and in part by BUPT Excellent Ph.D. Students Foundation under Grant CX2019104.

Data Availability Statement

Data are only available on request due to restrictions. The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. ITU-T. Timing Characteristics of Enhanced Primary Reference Time Clocks: G.8272.1; ITU: Geneva, Switzerland, 2016. [Google Scholar]
  2. ITU-T. Timing Characteristics of Enhanced Primary Reference Clocks: G.811.1; ITU: Geneva, Switzerland, 2017. [Google Scholar]
  3. Wenlun, Y. Distributed Clock Synchronization Protocols over Wireless Sensor Networks. Ph.D. Thesis, Zhejiang University, Hangzhou, China, 2018. [Google Scholar]
  4. Heng, W.; Haiyong, Z.; Ping, W. Linear Estimation of Clock Frequency Offset for Time Synchronization Based on Overhearing in Wireless Sensor Networks. IEEE Commun. Lett. 2016, 20, 288–291. [Google Scholar]
  5. Xintao, H.; Hanxiang, H.; Tianli, W.; Qigang, W.; Han, H. A Timestamp-Free Time Synchronization Scheme Based on Reverse Asymmetric Framework for Practical Resource-Constrained Wireless Sensor Networks. IEEE Trans. Commun. 2022, 70, 6109–6121. [Google Scholar]
  6. Xintao, H.; Wen, C.; Tianli, W.; Han, H. A Microsecond Energy-Efficient LoRa Time Synchronization Based on Low-Layer Timestamping and Asymmetric Time Translation. IEEE Trans. Veh. Technol. 2024, 73, 7328–7332. [Google Scholar]
  7. Weinbach, U.; Schon, S. GNSS receiver clock modeling when using high-precision oscillators and its impact on PPP. Adv. Space Res. 2011, 47, 229–238. [Google Scholar] [CrossRef]
  8. Wenhung, T.; Shinnyan, L. Improving long-baseline rapid GPS time transfers by a modified common-view method. GPS Solut. 1995, 25, 39. [Google Scholar]
  9. Miller, R.M.; Shah, S.L.; Wood, R.K.; Kwok, E.K. Predictive PID. ISA Trans. 1999, 38, 11–23. [Google Scholar] [CrossRef]
  10. Ang, K.H.; Chong, G.C.Y.; Li, Y. PID control system analysis, design, and technology. IEEE Trans. Control. Syst. Technol. 2005, 13, 559–576. [Google Scholar]
  11. Dan, Z.; Bin, W. Convergence performance comparisons of PID, MRAC, and PID MRAC hybrid controller. Front. Mech. Eng. 2016, 11, 213–217. [Google Scholar]
  12. Pritesh, S.; Sudhir, A. Review of fractional PID controller. Mechatronics 2016, 38, 29–41. [Google Scholar]
  13. Jianan, L.; Rongjia, Z.; Yirong, Z.; Jinkai, F.; Wei, L.; Kaiqing, L. CFHBA-PID Algorithm Dual-Loop PID Balancing Robot Attitude Control Algorithm Based on Complementary Factor and Honey Badger Algorithm. Sensors 2022, 22, 4492. [Google Scholar] [CrossRef] [PubMed]
  14. Wei, T.; Tao, Z.; Qianwen, D.; Hanwen, Z.; Yao, M. Non-singleton interval type-2 fuzzy PID control for high precision electro-optical tracking system. ISA Trans. 2022, 120, 258–270. [Google Scholar]
  15. Bilel, H.; Youcef, Z.; Bernard, K.F.; Hanwen, Z.; Yao, M. Influence of meta-heuristic algorithms on the optimization of quadrotor altitude PID controller. J. Braz. Soc. Mech. Sci. Eng. 2023, 45, 504–522. [Google Scholar]
  16. Victor, M.A. PID controllers fragility. ISA Trans. 2007, 46, 555–559. [Google Scholar]
  17. Liang, K.; Yang, H.; Zuo, F.; Zhang, S.D.; Zhong, Y. Disciplined oscillator system by UTC(NIM) for remote time and frequency traceability. In Proceedings of the 2014 European Frequency and Time Forum (EFTF), Neuchatel, Switzerland, 23–26 June 2014; pp. 468–471. [Google Scholar]
  18. Yu, F.; Ma, X.; Wang, Z.S. Design of high precision time synchronization system based on GPS/BD dual mode. Int. J. Adv. Netw. Monit. Control. 2016, 2, 89–95. [Google Scholar]
  19. Fritz, R. Characterisation of Amplitude and Frequency Noise. In Frequency Standards Basics and Applications; WILEY-VCH: Weinheim, Germany, 2004; pp. 47–68. [Google Scholar]
Figure 1. Schematic diagram of GNSS disciplining local clock.
Figure 1. Schematic diagram of GNSS disciplining local clock.
Electronics 13 03820 g001
Figure 2. Block diagram of PID control.
Figure 2. Block diagram of PID control.
Electronics 13 03820 g002
Figure 3. Block diagram of two variables PID clock disciplining algorithm.
Figure 3. Block diagram of two variables PID clock disciplining algorithm.
Electronics 13 03820 g003
Figure 4. Flow chart of PID disciplining algorithm.
Figure 4. Flow chart of PID disciplining algorithm.
Electronics 13 03820 g004
Figure 5. GNSS time deviation data acquisition diagram.
Figure 5. GNSS time deviation data acquisition diagram.
Electronics 13 03820 g005
Figure 6. Inherent time noise n ( t ) of rubidium clock.
Figure 6. Inherent time noise n ( t ) of rubidium clock.
Electronics 13 03820 g006
Figure 7. Time deviation after disciplining.
Figure 7. Time deviation after disciplining.
Electronics 13 03820 g007
Figure 8. Fractional frequency deviation after disciplining.
Figure 8. Fractional frequency deviation after disciplining.
Electronics 13 03820 g008
Figure 9. GNSS time deviation. (a) Time deviation of GNSS time. (b) Probability density of GNSS time.
Figure 9. GNSS time deviation. (a) Time deviation of GNSS time. (b) Probability density of GNSS time.
Electronics 13 03820 g009
Figure 10. Time deviation after disciplining (with real GNSS time).
Figure 10. Time deviation after disciplining (with real GNSS time).
Electronics 13 03820 g010
Figure 11. Fractional frequency deviation after disciplining (with real GNSS time).
Figure 11. Fractional frequency deviation after disciplining (with real GNSS time).
Electronics 13 03820 g011
Figure 12. Fractional frequency deviation (averaging over one day) after disciplining (with real GNSS time).
Figure 12. Fractional frequency deviation (averaging over one day) after disciplining (with real GNSS time).
Electronics 13 03820 g012
Figure 13. Time stability after disciplining (with real GNSS time).
Figure 13. Time stability after disciplining (with real GNSS time).
Electronics 13 03820 g013
Figure 14. Frequency stability after disciplining (with real GNSS time).
Figure 14. Frequency stability after disciplining (with real GNSS time).
Electronics 13 03820 g014
Table 1. Power law spectrum parameters of rubidium clock.
Table 1. Power law spectrum parameters of rubidium clock.
Type h 2 h 1 h 0 h 1 h 2
Value R × 10 30 R × 10 25 R × 10 22 //
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Miao, X.; Hu, C.; Qiao, Y. A Novel Two Variables PID Control Algorithm in Precision Clock Disciplining System. Electronics 2024, 13, 3820. https://doi.org/10.3390/electronics13193820

AMA Style

Miao X, Hu C, Qiao Y. A Novel Two Variables PID Control Algorithm in Precision Clock Disciplining System. Electronics. 2024; 13(19):3820. https://doi.org/10.3390/electronics13193820

Chicago/Turabian Style

Miao, Xinyu, Changjun Hu, and Yaojun Qiao. 2024. "A Novel Two Variables PID Control Algorithm in Precision Clock Disciplining System" Electronics 13, no. 19: 3820. https://doi.org/10.3390/electronics13193820

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