Nonlinear dynamical model of Costas loop and an approach to the analysis of its stability in the large
Full text
This is an electronic reprint of the original article. This reprint may differ from the original in pagination and typographic detail. Author(s): Title: Year: Version: Please cite the original version: All material supplied via JYX is protected by copyright and other intellectual property rights, and duplication or sale of all or part of any of the repository collections is not permitted, except that material may be duplicated by you for your research use or educational purposes in electronic or print form. You must obtain permission for any other use. Electronic or print copies may not be offered, whether for sale or otherwise to anyone who is not an authorised user. Nonlinear dynamical model of Costas loop and an approach to the analysis of its stability in the large Leonov, G.A.; Kuznetsov, Nikolay; Yuldashev, Marat; Yuldashev, Renat Leonov, G.A., Kuznetsov, N., Yuldashev, M., & Yuldashev, R. (2015). Nonlinear dynamical model of Costas loop and an approach to the analysis of its stability in the large. Signal Processing, 108(March 2015), 124-135. https://doi.org/10.1016/j.sigpro.2014.08.033 2015
Nonlinear dynamical model of Costas loop and an approach to the analysis of its stability in the large G.A. Leonov a , N.V. Kuznetsov a,b, n , M.V. Yuldashev a,b , R.V. Yuldashev a,b a Saint-Petersburg State University, Russia b University of Jyväskylä, Finland article info Article history: Received 3 February 2014 Received in revised form 18 June 2014 Accepted 18 August 2014 Available online 2 September 2014 Keywords: Costas loop BPSK Phase-locked loop (PLL) Nonlinear analysis Phase detector characteristic Phase comparator Simulation Stability in the large abstract The analysis of the stability and numerical simulation of Costas loop circuits for highfrequency signals is a challenging task. The problem lies in the fact that it is necessary to simultaneously observe very fast time scale of the input signals and slow time scale of phase difference between the input signals. To overcome this difficult situation it is possible, following the approach presented in the classical works of Gardner and Viterbi, to construct a mathematical model of Costas loop, in which only slow time change of signal's phases and frequencies is considered. Such a construction, in turn, requires the computation of phase detector characteristic, depending on the waveforms of the considered signals. While for the stability analysis of the loop near the locked state (local stability) it is usually sufficient to consider the linear approximation of phase detector characteristic near zero phase error, the global analysis (stability in the large) cannot be accomplished using simple linear models. The present paper is devoted to the rigorous construction of nonlinear dynamical model of classical Costas loop, which allows one to apply numerical simulation and analytical methods (various modifications of absolute stability criteria for systems with cylindrical phase space) for the effective analysis of stability in the large. Here a general approach to the analytical computation of phase detector characteristic of classical Costas loop for periodic non-sinusoidal signal waveforms is suggested. The classical ideas of the loop analysis in the signal's phase space are developed and rigorously justified. Effective analytical and numerical approaches for the nonlinear analysis of the mathematical model of classical Costas loop in the signal's phase space are discussed. &2014 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/3.0/). 1. Introduction The Costas loop [1,2] is a classical phase-locked loop (PLL) based circuit for carrier recovery. Nowadays among the applications of Costas loop there are Global Positioning Systems (see, e.g., [3–7]), wireless communication (see, e. g., [8–14] and others [15–23]. A PLL-based circuit behaves as a nonlinear control system and its physical model in the signal space can be described by nonlinear nonautonomous difference or differential equations. In practice, numerical simulation is widely used for the analysis of nonlinear PLL-based models (see, e.g., [24–28]). However the explicit numerical simulation of the physical model of Costas loop or its mathematical model in the signal space (e.g., full SPICE- level simulation) is rather complicated for the highfrequency signals. The problem lies in the fact that it is necessary to consider simultaneously both very fast time Contents lists available at ScienceDirect journal homepage: www.elsevier.com/locate/sigpro Signal Processing http://dx.doi.org/10.1016/j.sigpro.2014.08.033 0165-1684/&2014 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/3.0/). n Corresponding author at: University of Jyväskylä, Finland. E-mail address: [email protected] (N.V. Kuznetsov). Signal Processing 108 (2015) 124–135
scale of the signals and slow time scale of phase difference between the signals, so one very small simulation timestep needs to be taken over a very long total simulation period [29–31]. To overcome this difficult situation it is possible, following the approach presented, e.g., in the classical works of Gardner and Viterbi, to construct a mathematical model in the signal's phase space, in which only slow time change of signal's phases and frequencies is considered. Such a construction, in turn, requires the computation of phase detector characteristic, which depends on PD physical realization and the waveforms of the considered signals [32–35].Notethat “understanding how phase detectors work is one of the major keys to understanding how PLLs work”[36]. Nowadays the following scheme 1. consideration of the physical model in the signal space; 2. computation of phase detector characteristic and the construction of the mathematical model in the signal's phase space (phase-domain macromodel [29]); 3. nonlinear analysis of the transient processes of the signal's phases adjustment and the estimation of the dependence of various important acquisition characteristics on circuit's parameters in the mathematical model in the signal'sphase space by numerical and analytical methods, which goes back to pioneering works on PLL and considered below in the paper, is widely used [29,37] (see, e.g., modern engineering literature [25–28,36,38–47] and others). Such an approach allows one to analyze effectively the transient processes of signal's phases adjustment and to estimate the dependence of many important acquisition characteristics on circuit's parameters by numerical and analytical methods. It is important to note that the construction of mathematical model and the use of results of its analysis for the conclusions on the behavior of the considered physical model are needed for rigorous mathematical foundation [35,48], but it is often ignored in engineering studies. The attempts to justify analytically the reliability of conclusions, based on simplified engineering approaches, and rigorous study of nonlinear models are quite rare (see, e.g., [49–61]). In the present paper a general effective approach to analytical computation of phase detector characteristic is presented; the classical ideas of analysis and design of PLL- based circuits in the signal's phase space are developed and rigorously justified; for various non-sinusoidal waveforms of high-frequency signals (see, e.g., various applications of PLL-based circuits with non-sinusoidal signals in [62–68]) its phase-detector characteristics are obtained for the first time and its dynamical model is constructed. 2. Physical model of Costas loop in the signal space Various modifications of analog and digital Costas loops and PLL with squarer are widely used for BPSK (Binary Phase Shift Keying) and QPSK (Quadrature Phase Shift Keying) demodulation in telecommunication. Because the realization of squaring circuits can be quite difficult, the Costas loop is the preferred variant [26]. In digital circuits, the maximum data rate is limited by a speed of ADC (Analog-to-Digital Converter). In the following classical analog Costas loop, used for BPSK demodulation (similar analysis can also be done for QPSK Costas loop), is considered. Consider the Costas loop operation (see Fig. 1) with the sinusoidal carrier and VCO (Voltage-Controlled Oscillator) signals with the same frequencies after transient processes. The input signal is BPSK signal, which is a product of the transferred data mðtÞ¼71 and the harmonic carrier sin ðωtÞwith the high frequency ω . Since here the Costas loop in lock is considered, VCO signal is synchronized with the carrier (i.e. there is no phase difference between VCO signal and input carrier). On the lower branch (Q branch) after the multiplication of VCO signal, shifted by 901, and the input signal by the multiplier block () one has Q¼ 1 2 mtðÞsin 0ðÞmtðÞsin 2ωtðÞðÞ¼ 1 2 mtðÞsin 2ωtðÞ:ð1Þ From an engineering point of view, the high-frequency part sin ð2ωtÞin (1) is removed by a low-pass filter on Q branch. Thus, after filtration a signal on Q branch is zero (a constant in the general case when the initial frequencies are different). On the upper branch (I) the input signal is multiplied by the output signal of VCO: I¼ 1 2 mtðÞcos 0ðÞmtðÞcos 2ωtðÞðÞ ¼ 1 2 mtðÞmtðÞcos 2ωtðÞðÞ:ð2Þ The high-frequency term cos ð2ωtÞis filtered by a low-pass filter. Thus, on the upper branch I after filtration one can obtain the demodulated data m(t). Then both branches are multiplied together and after an additional filtration one gets the signal g(t) to adjust VCO frequency to the frequency of input carrier signal. After a transient process there is no phase difference and the control input of VCO is zero. In the general case when the initial = 1 2 g(t)≡0 0 LPF1 LPF2 Loop filter VCO sin(ωt) m(t)sin(ωt) -90o data carrier (m(t)cos(0)-m(t)cos(2ωt)) 1 2(-m(t)sin(0)-m(t)sin(2ωt)) input φ(t)≡0 m(t) 2 Fig. 1. Costas loop is in lock: m(t) is a useful information ð71Þ;ωis a frequency of input carrier and VCO output; mðtÞsin ðωtÞis an input signal. G.A. Leonov et al. / Signal Processing 108 (2015) 124–135 125
frequencies are different the control input of VCO is constant: gðtÞconst:ð3Þ Consider the case (see Fig. 2) when the phase of the input carrier θ 1 ðtÞand the phase of VCO θ 2 ðtÞare different. The latter means that either (1) the frequencies are different or (2) the frequencies are the same but there is a constant phase difference. For engineers it is a wellknown fact [69] that in the considered case of sinusoidal signals the input of loop filter can be approximated as φtðÞ 1 8 sin 2θ 2 tðÞ2θ 1 tðÞ : This approximation depends on the phase difference of signals and is called a phase detector characteristic of Costas loop for sinusoidal signals. When the phase difference of signals is small, using the linearization φðtÞKðθ 2 ðtÞθ 1 ðtÞÞ,onecan consider a linearized mathematical model of Costas loop for sinusoidal signals (see details in Section 4). This allows one to estimate approximately acquisition parameters by the same methods that were developed for the analysis and design of classical PLLs (see, e.g., [69–72] and others). In the next section a rigorous mathematical approach to the analytical computation of phase detector characteristic and the nonlinear analysis of classical Costas loop for non-sinusoidal waveforms is considered. 2.1. Simplified model of Costas loop The low-pass filters on the upper and the lower branches of Costas loop (Fig. 2) are responsible for demodulation process (see Fig. 1) and therefore they can be applied separately from the loop (see, e.g., [4]). From a point of view of the analysis of stability, the filter at the input of VCO executes their filtering functions. Thus one can consider a simplified physical open-loop model of Costas loop (Fig. 3) with only one filter at the input of VCO. In this case the transmitted data m(t) can be omitted (i.e. mðtÞ1) because after the multiplication of the upper and the lower branches at the input of filter the data are squared: (mðtÞ 2 ¼ð71Þ 2 ¼1). Here the signal f 1 ðtÞ¼f 1 ðθ 1 ðtÞÞ represents the carrier and θ 1 ðtÞrepresents its phase. In analogy, f 2 ðtÞ¼f 2 ðθ 2 ðtÞÞ represents the output signal of VCO, and θ 2 ðtÞrepresents its phase. The functions f 1;2 ðθÞare called waveforms. Consider the analysis of Costas loop for general periodic signal waveforms. Suppose that the waveforms f 1;2 ðθÞare bounded 2π-periodic piecewise differentiable functions 1 (this is true for the most considered waveforms, e.g., sinusoidal, squarewave, sawtooth, triangular, and polyharmonic). Consider the following Fourier series representation: f p θ ¼∑ 1 i¼1 a p i cos iθ þb p i sin iθ ;θZ0 a p i ¼1 πZ π π f p θ cos iθ dθ; b p i ¼1 πZ π π f p θ sin iθ dθ;p¼1;2: The relation between the input φðtÞand the output gðtÞ of linear filter is as follows [73]: gðtÞ¼α 0 ðtÞþZ t 0 γðtτÞφðτÞdτ;ð4Þ where γðtÞis an impulse response function of filter and α 0 ðtÞis an exponentially damped function depending on the initial state of filter at t¼0. By (4) the filter output g(t) has the form gtðÞ¼α 0 tðÞþZ t 0 γtτðÞf 1 θ 1 τðÞ f 2 θ 2 τðÞ f 1 θ 1 τðÞ f 2 θ 2 τðÞ π 2 dτ:ð5Þ 2.2. High-frequency signals For solving the above problem, posed by D. Abramovitch, and applying the averaging methods it is necessary to consider mathematical properties of high-frequency signals. Here an approach is applied and used which is developed for the study of the classical PLL [32,35,48,74]. = 1 2 g(t) g1(t) g2(t) LPF1 LPF2 Loop filter VCO sin(θ2(t)) -90o data carrier I= m(t)(cos(θ2(t)-θ1(t))-cos(θ2(t)+θ1(t))) input φ(t)≈ sin(2θ2(t)-2θ1(t)) 1 8 m(t)sin(θ1(t)) 1 2 Q= m(t)(sin(θ2(t)-θ1(t))-sin(θ2(t)+θ1(t))) Fig. 2. Costas loop. Operation in the general case. 0 ° Fig. 3. Block diagram of simplified Costas loop. 1 The functions with a finite number of jump discontinuity points differentiable on their continuity intervals. G.A. Leonov et al. / Signal Processing 108 (2015) 124–135126
A high-frequency property of signals can be reformulated in the following way. Suppose that for the frequencies 2 ω 1;2 ðtÞ¼ _ θ 1;2 ðtÞ;ð6Þ there exist a sufficiently large number ω min such that on a fixed time interval ½0;T,whereTis independent of ω min ,the conditions ω 1;2 ðtÞZω min 40ð7Þ are satisfied. The frequency difference is assumed to be uniformly bounded: jω 1 ðtÞω 2 ðtÞjrω max Δ ;8tA½0;T:ð8Þ Requirements (7)and(8) are obviously satisfied for the tuning of two high-frequency oscillators with close frequencies. Let us introduce δ¼ω 1=2 min .Considertherelations jω p ðtÞω p ðτÞjrΩ;p¼1;2; jtτjrδ;8t;τA½0;T;ð9Þ where Ωis independent of δ .Conditions(7)–(9) mean that the functions ω p ðτÞare almost constant and the functions f p ðθ p ðtÞÞ are rapidly oscillating time functions on the small intervals ½t;tþδ. To study the filtration of high-frequency signals by filter (4) it is assumed that the impulse response function of filter is a differentiable function with a bounded derivative (this is true for the most considered filters [73]). The boundedness of derivative of γðtÞimplies that jγðτÞγðtÞj¼OðδÞ;jtτjrδ;8τ;tA½0;T:ð10Þ 3. Analytical computation of phase detector characteristics for non-sinusoidal waveforms Consider a block diagram in Fig. 4. Here PD is a nonlinear block (describing the operation of all intermediate elements in Fig. 3 between inputs and filter) and its output is 2 π -periodic function φðθ 2 ðtÞθ 1 ðtÞÞ (the phase detector characteristic of Costas loop); G(t) is the output of filter. Suppose that the characteristics and the initial state of filters in Fig. 3 and in Fig. 4 coincide. By (4) the output has the form GðtÞ¼α 0 ðtÞþZ t 0 γðtτÞφðθ 2 ðτÞθ 1 ðτÞÞ dτ:ð11Þ Theorem 1. Consider 2 π -periodic function φðθÞof the form φθ ¼A 1 0 A 2 0 4þ1 2∑ 1 l¼1 A 1 l A 2 l þB 1 l B 2 l cos lθ þðA 1 l B 2 l B 1 l A 2 l Þsin ðlθÞ;ð12Þ where the coefficients A p l and B p l are expressed via the coefficients of the waveforms f 1;2 ðθÞin the following way: A 1 l ¼a 1 0 a 1 l 2þ1 2∑ 1 m¼1 a 1 m a 1 mþl þa 1 ml þb 1 m b 1 mþl þb 1 ml hi ; B 1 l ¼a 1 0 b 1 l 2þ1 2∑ 1 m¼1 a 1 m b 1 mþl b 1 ml b 1 m a 1 mþl a 1 ml hi ; A 2 l ¼a 2 0 α 2 l 2þ1 2∑ 1 m¼1 α 2 m α 2 mþl þα 2 ml þβ 2 m β 2 mþl þβ 2 ml hi ; B 2 l ¼a 2 0 β 2 l 2þ1 2∑ 1 m¼1 α 2 m β 2 mþl β 2 ml β 2 m α 2 mþl α 2 ml hi ; ð13Þ and α 2 k ¼ a 2 k ;k¼4p; b 2 k ;k¼4pþ1; a 2 k ;k¼4pþ2; b 2 k ;k¼4pþ3; β 2 k ¼ b 2 k ;k¼4p; a 2 k ;k¼4pþ1; b 2 k ;k¼4pþ2; a 2 k ;k¼4pþ3: 8 > > > > > < > > > > > : 8 > > > > > < > > > > > : ð14Þ If high-frequency conditions (7)–(9)and condition on filter (10) are satisfied,then the relation jgðtÞGðtÞj¼OðδÞ;8tA½0;Tð15Þ is valid. In other words, this theorem separates the lowfrequency error-correcting signal from parasitic highfrequency oscillations and proves that the considered function φðθÞis a phase detector characteristic of Costas loop. Thus the filter input can be approximated by the function φðθÞin the sense that a change in the filter output signal is sufficiently small (see (15)). For sinusoidal waveforms this fact was known to engineers [2] without rigorous justification. Remark 1. Since f 1;2 ðθÞare piecewise-differentiable, then A 1;2 k ¼O1 k ;B 1;2 k ¼O1 k ;ð16Þ and φðθÞis a smooth function. Remark 2. For the most considered waveforms, infinite series (12) can be truncated up to the first ffiffiffiffiffiffiffiffiffiffi ω min pterms. By (13) and (16), the remainder R ½1=δ of series (12) can be estimated as jR ½1=δ xðÞjrO∑ 1 l¼½1=δþ1 1 l 2 ! rOδ : Fig. 4. Phase detector (PD) of Costas loop and filter. 2 A phase of analog signal can be defined as an integral of instantaneous frequency of signal. G.A. Leonov et al. / Signal Processing 108 (2015) 124–135 127
The theorem allows one to compute a phase detector characteristic 3,4 for the following typical signals given below in the table. 4. Description of classical Costas loop in the signal's phase space From a mathematical point of view, linear filter (4) can also be described by a system of linear differential equations _ x¼AxþbφðtÞ;σ¼c n x;ð17Þ a solution of which has the form (4). Here Ais a constant matrix, xðtÞis the state vector of Filter, band care constant vectors. The model of VCO is usually assumed to be linear: _ θ 2 ðtÞ¼ω free þLGðtÞ;tA½0;T;ð18Þ where ω free is the free-running frequency of VCO and Lis the gain of VCO. Similarly, one can consider various nonlinear models of VCO (see, e.g., [37]). Therefore the initial VCO frequency is as follows: _ θ 2 ð0Þ¼ω free þLc n xð0Þ: By equations of filter (17) and VCO (18) one has _ x¼Axþbf 1 θ 1 tðÞ f 2 θ 2 tðÞ f 1 θ 1 tðÞ f 2 θ 2 tðÞ π 2 ; _ θ 2 ¼ω free þLc n x:ð19Þ Nonautonomous system (19) describes physical model of Costas loop in the signal space (see Fig. 5) and is rather difficult for the study. Suppose that the frequency of reference signal is a constant _ θ 1 ðtÞω 1 :ð20Þ Then Theorem 1 allows one to consider more simple autonomous system of differential equations (in place of nonautonomous (19)), which describes the mathematical model of Costas loop in the signal's phase space: _ x¼Axþbφðθ Δ Þ;θ Δ ¼ω free ω 1 þLc n x; θ Δ ¼θ 2 θ 1 :ð21Þ 3 It can be proved that the phase detector characteristic for Costas loop in Fig. 2 coincides with (12) under some essential conditions on frequency characteristics of filters on the upper and lower branches. 4 Since there is an integration in VCO model (18), for the case of proportional-integrating filter one can easily prove an analog of the theorem with the estimation jR t 0 GðtÞR t 0 gðtÞj¼Oð δ Þ. G.A. Leonov et al. / Signal Processing 108 (2015) 124–135128
Here the initial difference of frequencies (at t¼0) has the form _ θ Δ ð0Þ¼ω free ω 1 þLc n xð0Þ. 5 The well-known averaging method permits 6 to show that the solutions of (19) and (21) are close on time interval ½0;T, where T5ω min , under some assumptions [75,76]. Thus the block diagram of Costas loop in the signal space (Fig. 5) can be asymptotically changed (for high-frequency generators, see conditions (7)–(10)) to the block diagram in the signal's phase space (Fig. 6). Here PD has the corresponding characteristics (12). Linearized model (21), where φðθ Δ Þis changed to Kθ Δ , may be used for analysis in the case when the considered circuit “is in lock, but analysis of the acquisition behavior cannot be accomplished using the simple linear models and nonlinear analysis techniques are necessary”[28]. Note that the linearization and the analysis of linearized models of control systems may result in incorrect conclusions, 7 so one can read in [37] “the use of linear macromodels can lead to qualitatively incorrect prediction of important PLL phenomena”. At the same time the attempts to justify analytically the reliability of conclusions, based on simplified engineering approaches, and rigorous study of nonlinear models are quite rare and one of the reasons is that “nonlinear analysis techniques are well beyond the scope of most undergraduate courses in communication theory”[28]. While the physical model of Costas loop in the signal space (19) is nonautonomous and its rigorous global analysis (transient processes, stability in the large, cycle slipping, etc.) is rather difficult and creative task, for the global analysis of nonlinear autonomous model (21) of Costas loop, the well-known methods of analysis of pendulum-like systems can be applied (see, e.g., [79,54,80, 56,81,60]). Modification of direct Lyapunov method with the construction of periodic Lyapunov-like functions, the method of positively invariant cone grids, and the method of nonlocal reduction turned out to be most effective [82,83,80,81].The last method, which combines the elements of direct Lyapunov method and bifurcation theory, allows one to extend the classical results of Tricomi [84] and his progenies to the multidimensional dynamical systems [83,85]. 5. Simulation of Costas loop Since in the block diagram in Fig. 6 and system (21) only slow time change of signal's phases and frequencies is considered, they can be effectively studied numerically. For the simulation of system (21) with the function φðÞ of the form (12), in place of conditions (8) and (10) the conditions jω max Δ j5ω min ;jλ A j5ω min should be considered, where λ A is the largest (in modulus) eigenvalue of matrix A. Also, it is necessary to consider T5ω min to justify the transition from Eqs. (35)–(39) (see Appendix) and to use Remark 1. The considered theoretical results are justified by the simulation 8,9 of those considered in the previous section of Costas loop models in the signal and signal's phase spaces. In Fig. 7 are shown the transient processes of VCO input in block diagrams in Figs. 5 and 6(here it is important if and when VCO input becomes a constant, see (3)). Here the simulation in the signal's phase space is more than 100 times faster. Unlike the filter output in the signal's phase space, in the signal space the filter output contains additional high-frequency oscillation. These high-frequency oscillations interfere with qualitative analysis and efficient simulation of Costas loop. The passage to the analysis of autonomous dynamical model of Costas loop (in place of the nonautonomous one) allows one to overcome the difficulties that relate to the analysis of Costas loop in the signal space. The approach described can be adapted to digital Costas loops [4,88], where the filter and the VCO are digital unlike those in Fig. 5. If a discretization step is sufficiently small, then a digital filter acts similar to an analog filter. In this case it can be shown that the considered mathematical model in the signal's phase space is adequate (see Fig. 8). In conclusion it should be remarked that in the signal's phase space a similar numerical simulation of the whole transient process (around 10 s –see Fig. 7) of Costas loop with frequencies around 1 GHz¼10 9 Hz takes less than 1 s. At the same time to perform the accurate simulation of Costas loop in the signal space for such frequencies one has to use a discretization step much less than 10 9 , what results in a very long simulation time to oversee the whole transient process: during 10 s of simulation in the signal Fig. 5. Block diagram of Costas loop in the signal space. Fig. 6. Block diagram of Costas loop in the signal's phase space. 5 Note that to consider one-dimensional stability domains, e.g., defined by ω Δ ¼ ω 1 ω free , one has to assume that c n xð0Þ¼0. In the general case one has to consider multi-dimensional stability domains taking into account the initial state of loop filter —vector xð0Þ. 6 Note that the derivation of dynamical model (21) and the rigorous justification of its adequacy for the analysis of stability are possible here only under condition (20), while formula (12) is obtained for PD characteristic in the general case without condition (20). 7 See also counterexamples to the filter hypothesis, Aizerman's and Kalman's conjectures on the absolute stability of nonlinear control systems [77], and the Perron effects of the largest Lyapunov exponent sign inversions [78], etc. 8 One can compare the numerical integration of systems (19) and (21) with the simulation of realization of block diagrams in Figs. 5 and 6, f.e., in Matlab Simulink (see, e.g., [28,86] and the patent application [87]). 9 While we consider a very simple filter, sawtooth and triangle waveforms in simulation, one can consider similar effects for lag-lead or PI filters and other waveforms. G.A. Leonov et al. / Signal Processing 108 (2015) 124–135 129
space only 3.5 10 8 s of 10 s of transient process was obtained (see Fig. 9). These difficulties are described in [37]:“Direct timedomain simulation of PLLs at the level of SPICE circuits is typically impractical because of its great inefficiency. PLL transients can last hundreds of thousands of cycles, with each cycle requiring hundreds of small time steps for accurate simulation of the embedded voltage-controlled oscillator (VCO). Furthermore, extracting phase or frequency information, one of the chief metrics of PLL performance, from timedomain voltage/current waveforms is often difficult and inaccurate.” 6. Conclusion The approach, proposed in this paper, allows one to compute analytically PD characteristics for the general case of periodic waveforms and to construct the nonlinear mathematical model in the signal's phase space for classical Costas loop and, ultimately, to apply numerical simulation and analytical methods (various modifications of absolute stability criteria for pendulum-like systems) for the effective analysis of its stability in the large. Acknowledgment This work was supported by Saint Petersburg State University, Russian Foundation of Basic Research (Russia), and the Academy of Finland. The authors would like to thank R.E. Best (Best Engineering company, Oberwil, Switzerland) for valuable discussions on practical implementations of Costas loops. Appendix A A.1. Averaging method Application of averaging methods [75,76,89,90] requires the consideration of constant data signal and constant frequency of input carrier (20): θ 1 ðtÞ¼ω 1 tþθ 1 ð0Þ: In this case (19) is equivalent to _ x¼Axþbf 1 ω 1 tþθ 1 0ðÞ f 2 ω 1 tþθ 1 0ðÞþθ Δ f 1 ω 1 tþθ 1 0ðÞ f 2 ω 1 tþθ 1 0ðÞþθ Δ π 2 ; _ θ Δ ¼ω Δ þLðc n xÞ:ð22Þ Assuming that input carrier is a high-frequency signal ( ω 1 is large), one can consider small parameter ε¼1 ω 1 :ð23Þ Denote τ¼ω 1 t:ð24Þ Then system (22) can be transformed as dx dτ¼εAxþbf 1 τþθ 1 0ðÞ f 2 τþθ 1 0ðÞþθ Δ f 1 τþθ 1 0ðÞ f 2 τþθ 1 0ðÞþθ Δ π 2 ; dθ Δ dτ¼εω Δ þLðc n xÞ ;ð25Þ and represented in such a way that dz dτ¼εFz;τðÞ;z¼ðx;θ Δ Þ n :ð26Þ In the classical averaging theory such a form of system is 246810120 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 time signal’s phase space signal space Fig. 7. ω free ¼100:5 Hz, θ 1 ¼100 Hz, L¼27, filter transfer functions 1=ðsþ2Þ, sawtooth and triangle waveforms. 0 -2 -4 -6 -8 0.40 0.8 1.2 1.6 0.44 0.48 0.52 0.56 time -3 -4 -5 -6 -7 signal’s phase space signal space Fig. 8. ω free ¼105 Hz, θ 1 ¼100 Hz, L¼100, analog filter transfer function 1=ð0:1sþ1Þ, discrete filter in z-domain 10=ð1exp 10T z 1 Þ, sample time 10 3 , sawtooth and triangle waveforms. 1234 0 -1.6 -1.2 -0.8 -0.4 0x10-8 x10-8 time signal’s phase space signal space Fig. 9. ω free ¼1000:5 Hz, θ 1 ¼1000 Hz, L¼27, filter transfer functions 1=ðsþ2Þ, sawtooth and triangle waveforms. G.A. Leonov et al. / Signal Processing 108 (2015) 124–135130
called a standard form. Consider an averaged equation dy dτ¼εFyðÞ;ð27Þ where FyðÞ¼ 1 PZ P 0 Fy;τðÞdτ:ð28Þ Suppose Dis a bounded domain containing the point z 0 ¼ðxð0Þ;θ Δ ð0ÞÞ. Consider solutions zðτ;εÞand yðτ;εÞwith the initial data z 0 ¼y 0 . In this case there exists a constant T such that zðτ;εÞand yðτ;εÞremain in the domain Dfor 0rτrT=ε. Define ε max ¼1=ω min . Consider system of differential equations dz dτ¼Fτ;z;λ ;ð29Þ where z,Fare points of n-dimensional Euclidean space E n , λ is a parameter. Let function Fðτ;z;λÞbe real measurable function in τA½0;T=ε,zADfor any λAΛ;λ 0 AΛ, where Λis a domain of E n . Theorem 2. Consider the following system: dz dτ¼εFτ;zðÞ:ð30Þ Assume that the right-hand side Fðτ;zÞis uniformly bounded and integrals Z τ 0 Z z c Fðτ;xÞdx dt;0rτo1;yADð31Þ are smooth for any fixed cAD;the following limit lim T-1 1 TZ T 0 Fτ;zðÞdτ¼FzðÞ ð32Þ exists (uniformly with respect to zAD); uniformly with respect to y,r m : lim T-1 1 TZ T 0 F Δ ðτ;z 1 ;…;z i þr m ;…;z n ÞF Δ ðτ;zÞ r m dτ¼0; zþð0;…;0;r m ;0;…;0Þ T AD;ð33Þ where r m is a decreasing sequence (r m -0while m-1), and F Δ ¼Fðτ;zÞFðzÞ;FðzÞare k-Lipschitz functions;solution yðτÞ of the averaged equation (27) for any τ from 0rτo1 belongs to the domain D together with its ρ -neighborhood,and solution of the (30) with initial conditions zð0Þ¼yð0Þis unique. Then for any η40;T40there is an ε 0 40, such that for 0oεoε 0 the solution zðτÞof (30) satisfies jzτðÞyτðÞjoη;τA0;T ε ð34Þ A.2. Proof of the main theorem Suppose, tA½0;T. Consider a difference gtðÞGtðÞ¼Z t 0 γtsðÞ f 1 ðθ 1 ðsÞÞf 2 ðθ 2 ðsÞÞ f 1 θ 1 sðÞ f 2 θ 2 sðÞ π 2 φθ 2 sðÞθ 1 sðÞ ids:ð35Þ Let mAN 0 such that tA½mδ;ðmþ1Þδ. By definition of δ , one has moT=δþ1. The continuity condition implies that γðtÞis bounded on ½0;Tand f 1 ðθÞ;f 2 ðθÞare bounded on R. Since f 1;2 ðθÞare piecewise differentiable, one gets Z ðmþ1Þδ t γts ðÞ f 1 θ 1 s ðÞ f 2 θ 2 s ðÞ f 1 θ 1 sðÞ f 2 θ 2 sðÞ π 2 ds ¼Oδ ; Z ðmþ1Þδ t γðtsÞφðθ 2 ðsÞθ 1 ðsÞÞds ¼OðδÞ:ð36Þ It follows that (35) can be represented as gtðÞGtðÞ¼ ∑ m k¼0 Z ½kδ;ðkþ1Þδ γtsðÞ f 1 θ 1 sðÞ f 2 θ 2 sðÞ f 1 θ 1 sðÞ f 2 θ 2 sðÞ π 2 φðθ 2 ðsÞθ 1 ðsÞÞdsþOðδÞ:ð37Þ Prove now that on each interval ½kδ;ðkþ1Þδthe corresponding integrals are equal to Oðδ 2 Þ. Condition (10) implies that on each interval ½kδ;ðkþ1Þδ the following relation γðtsÞ¼γðtkδÞþOðδÞ;t4s;s;tA½kδ;ðkþ1Þδð38Þ is satisfied. Here OðδÞis independent of kand the relation is satisfied uniformly with respect to t.By(37), (38), and the boundedness of functions f 1 ðθÞ;f 2 ðθÞ;φðθÞit can be obtained that gtðÞGtðÞ¼ ∑ m k¼0 γtkδ Z ½kδ;ðkþ1Þδ f 1 θ 1 sðÞ f 2 θ 2 sðÞ f 1 θ 1 sðÞ f 2 θ 2 sðÞ π 2 h φðθ 2 ðsÞθ 1 ðsÞÞdsþOðδÞ:ð39Þ Denote θ k p ðsÞ¼θ p ðkδÞþ _ θ p ðkδÞðskδÞ;p¼1;2:ð40Þ Then for sA½kδ;ðkþ1Þδ, condition (9) yields θ p ðsÞ¼θ k p ðsÞþOðδÞ:ð41Þ From (8) and the boundedness of derivative φðθÞon Rit follows that Z ½kδ;ðkþ1Þδ jφðθ 2 ðsÞθ 1 ðsÞÞφðθ k 2 ðsÞθ k 1 ðsÞÞjds ¼Oðδ 2 Þ:ð42Þ If f 1 ðθÞand f 2 ðθÞare continuous on R, then for f 1 ðθ 1 ðsÞÞf 2 ðθ 2 ðsÞÞf 1 ðθ 1 ðsÞÞf 2 ðθ 2 ðsÞπ=2Þthe relation Z ½kδ;ðkþ1Þδ f 1 θ 1 sðÞ f 2 θ 2 sðÞ f 1 θ 1 sðÞ f 2 θ 2 sðÞ π 2 ds ¼Z ½kδ;ðkþ1Þδ f 1 θ k 1 sðÞ f 2 θ k 2 sðÞ f 1 θ k 1 s ðÞ f 2 θ k 2 s ðÞ π 2 dsþOδ 2 ð43Þ is satisfied. Consider why this estimate is valid for the considered class of piecewise-differentiable waveforms. Since conditions (7)and(9) are satisfied and the functions θ 1;2 ðsÞare differentiable and satisfy (8),forallk¼0;…;mthere exist sets E k (the union of sufficiently small neighborhoods of discontinuity points of f 1;2 ðtÞ)suchthattherelationR E k ds ¼Oðδ 2 Þis valid, in which case this relation is satisfied uniformly with G.A. Leonov et al. / Signal Processing 108 (2015) 124–135 131