TDTL Based Frequency Synthesizers with Auto Sensing Technique

This paper presents a frequency synthesizer architecture based on the time delay digital tanlock loop (TDTL). The loop is of the first order type. The synthesizer architecture includes an adaptation mechanism to keep the complete system in lock. The mechanism uses a frequency sensing structure to control critical TDTL parameters responsible for locking. Both integer and fractional multiples of the loop reference frequency are synthesized by the new architecture. The ability of the TDTL based frequency synthesizer to respond to sudden variations in the system input frequency is studied. The results obtained indicate the proposed synthesizer has a robust performance and is capable of responding to those changes provided that they are within the bounds of its locking region.


Introduction
The explosion in the growth of communication systems in general and wireless ones in particular is placing highly demanding requirements on the designers of such systems.Modern wireless communication systems have to support high data rates with low power consumption, high signal to noise ratios and compact designs.In addition to this, wireless systems must be able to deal with different communication standards operating at various frequencies [1][2][3].The frequency synthesizer is one of the fundamental components of any wireless transceivers.As shown in Figure 1, the frequency synthesizer is basically a device that generates any number of operating frequencies (F out ) from a stable input reference frequency (F ref ) under the control of a command word or signal (f c ).
In wireless communication system transceivers frequency synthesizers are used as the local oscillators to generate the periodic signals required for the up-conversion as well as down-conversion processes [4][5][6][7].Figure 2 shows the generic architecture of a wireless RF (radio frequency) transceiver with the frequency synthesizer block.
Depending on the process of frequency generation, frequency synthesizers are classified as direct or indirect [7,8].Direct frequency synthesis can be divided into coherent and incoherent types.In the latter, synthesis is achieved by using fixed oscillators in addition to a group of frequency dividers and multipliers in order to generate   a variety of frequencies.In the coherent technique, however, only one reference source is used to generate the required output frequencies.In this approach, the stability and accuracy of the output frequencies are the same as that of the reference source.One example of the coherent technique is the phase accumulation synthesizer.The main advantages of the direct synthesis are the fast settling, fine step sizes, and simple implementation.The disadvantages of this technique are bandwidth limitations and undesired spurious harmonic generation.These problems pose severe limitations on future generation wireless communications such as 4G where OFDM is employed [7][8][9][10].
The second approach in frequency synthesis is the indirect frequency synthesis.The theory behind this type of synthesis is that it uses an unstable oscillator; the oscil-lator is then forced to be stabilized by feeding back a portion of the received (original) signal.The feedback is used to stabilize the loop as well as provide enough information in order to reconstruct the signal by generating a replica of the carrier [5,7,[11][12][13].The advantages of using such technique are the generation of spurious free output signals, the wideband system operation, and the less stringent requirement on the local oscillator frequency stability.The main limitations are the settling time and phase noise which can be minimized by using additional circuitry embedded in the loop.Two approaches of the indirect synthesis are the analog PLL synthesizer and the digital PLL synthesizer.The basic block diagram of an indirect frequency synthesizer is depicted in Figure 3.This paper uses a novel type of digital phase lock loops called the time-delay digital tanlock loop (TDTL) as the locking element of the indirect frequency synthesizer system.The TDTL is a high performance phase locking system that can be implemented efficiently as all its components are of the digital type [14].
The paper is organized as follows.Section 2 presents the architecture and system equations of the time-delay digital tanlock loop.This also includes the locking range of the TDTL which is a major aspect of a phase lock loop.Section 3 discusses the process and the challenges of using the TDTL as a frequency synthesizer.The adaptation process introduced to enable the TDTL based frequency synthesizer to achieve locking for both integer and fractional frequency division is also detailed in Section 3. The results of the new TDTL based frequency synthesizer for various division factors and under different input conditions are presented in Section 4. The conclusions of this work are presented in Section 5.

Time-Delay Digital Tanlock Loop
The structure of the TDTL is shown in Figure 4.It consists mainly of two sample and hold blocks, a phase detector, a low pass filter, a digitally controlled oscillator, and a time-delay block.Being comprised of these components, the TDTL lends itself for implementation in various digital systems technologies.The TDTL offers an inexpensive implementation and improved performance compared with other synchronization techniques.Compared with the conventional digital tanlock loop in [15], the TDTL in Figure 4 does not preserve the linearity of the phase characteristics.This is due to the fact that the delay component of the loop is frequency dependent and hence causes the phase shift of the input signal to deviate somewhat from the original designed value over the locking range.Consequently an element of nonlin-earity is introduced into the locking range.However, this supposed disadvantaged can basically be ignored because the TDTL preserves the wide locking range and fast acquisition behavior advantages of the conventional digital tanlock loop and uses a system architecture that is easier to implement in hardware compared to the conventional type.An in depth comparison of the conventional digital tanlock loop and TDTL with extensive results and discussion is given in [16].The mathematical analysis of the TDTL under noise free conditions is detailed below.All of the signal notations are chosen in reference to the block diagram shown in Figure 4.The analysis follows a similar line to that given in [14, 17,18].
The TDTL receives a continuous time sinusoid y(t) which is given by (1).
where A is the amplitude of the signal, 0  is the free running frequency of the DCO, 0 0 ) ) ( (     . The sampling interval between the sampling instants and is given by (5).
is the nominal period of the DCO and is the output of the digital filter at the i th sam- , the total time elapsed up to the k th sampling instant is given by (6).
And therefore, the phase error between the input signal and the DCO can be also defined as: Having defined the phase error, Equations ( 7) and ( 8) can be rewritten as These signals are applied to the phase detector producing the error signal given in (12).


is a random phase disturbance due to AWGN.The error signal represents a nonlinearly mapped version of the phase error.However, the effect of the nonlinearity is minimum and e(k) can be approximately linear if is equal to, or in the vicinity of π/2.This relatively small effect of nonlinearity is illustrated in Figure 5 by the plot for  0 =2, which can be reconstructed as a pricewise linear one.The digital filter, which has a transfer function given by receives the error signal e(k) and produces the signal that drives the DCO.Therefore, the system difference equation can be derived from ( 6) and (9) as , and the AWGN terms are neglected since noise-free analysis is assumed.In the case of the conventional digital tanlock loop, the linear characteristic function of the phase detector enables the description of the loop as a linear difference equation, and hence finding the lock range using the stability criterions of its Z-transformed transfer function [15].However, the nonlinear characteristic function of the TDTL phase detector results in a nonlinear difference equation, which can only be solved by numerical analysis.The lock range of the TDTL was analyzed in [14], using fixed-point theorems, which have been utilized previously in the analysis of the lock range of sinusoidal ZC-DPLLs [19,20].The digital filter of the first order loop is simply a gain block G 1 , and the system equation is given by where . Defining as .Therefore, the locking range can be acquired by numerically solving the inequality where , ) ( One of the properties of the first order TDTL is that it converges to a nonzero steady state phase error, which is translated with a phase offset between the pulses of the DCO and the zero crossings of the input signal.The steady-state value of the phase error is given by . Figure 5 2) and ( 4) is for the TDTL when  0 =2; and the region enclosed by (1) and ( 5) is for the TDTL when  0 =.ince the TDTL has non-linear characteristic function As shown in Figure 6, the TDTL based Synthesizer is tion gives a general overview of the synthesizer system that includes the operation of the TDTL and the divider utilized to act as an indirect picted in Figure 6.This is so ecause the different frequencies that are produced in S numerical analysis were used to determine the range of independent locking.The analysis shows that the TDTL offers an advantage on the conventional digital tanlock loop in this regard.

TDTL Frequency Synthesizer
mainly comprised of two subsystems; namely the first order TDTL and the frequency divider.The two subsystems are configured to form an indirect frequency synthesizer.The divider generates various frequencies which are multiple of the DCO frequency, while the TDTL locks and stabilizes the synthesized frequency.This sec-as a frequency synthesizer block.Depending on the desired division factor, the synthesizer may be classified as an integer one or a fractional one.Both classes are discussed below.

Integer TDTL-FS
In this paper the TDTL is frequency synthesizer as de b loop or in other words the frequency division operation are occurring within the feedback path of the loop.To achieve frequency division, a counter is introduced into the loop.This counter is placed between the DCO and the Sample and Hold blocks.Therefore, now the sam-nts that ar which, for the same loop conditions, the syste re ctor, the operating point may shift outside th er introducing the divider in order to keep th pling frequency of the loop is not the frequency of the DCO but the output of the divider or the counter.
The operation of frequency division is simple in which a counter is used that is clocked with the input signal.The counter has a limited number of states or cou e equal to the division factor that is required.For example, in a divide by 2 cases the counter has 2 states (i.e. 2 counts) and produces an output when it reaches the final state before it resets i.e. it will count from 0 to 1 and will produce an output while it is residing at 1.In other words, the counter will produce 1 pulse for every 2 pulses in the case of a divide by 2 counters.Generally speaking, a divide by N counter will produce 1 pulse as an output for every N counts or input pulses, hence divide by N.
Following the introduction of the divider into the system, it was observed that the system response has changed, in m would go out of lock when the divider is introduced and would stabilize and lock if the divider is removed.Analysis of the system and associated problems indicated that the introduction of the divider into the system has the effect of moving the operating point of the system outside the locking range of the system.The reason for this is that the sampling frequency of the S/H blocks has decreased.Therefore, to compensate for this, the DCO frequency was multiplied by the same factor (N) in order to achieve the original sampling frequency.Another interesting point that was found is that in order to get the system back into its exact original operating point, not only the DCO frequency has to be adjusted but also the error signal that is fed to the DCO from the phase error detector had to be adjusted too.
The divider block has the effect of dividing the frequency of the DCO output which is considered to be a sult of two factors, the DCO running frequency and the error signal.Therefore, when the output of the DCO is divided not only the frequency is divided but also the effect of the error signal that feeds the DCO and its weight (original value) in the system.As a result, both the DCO running frequency and the error signal have to be conditioned and adjusted when the divider is introduced into the system.The adjustments are done by multiplying the error signal and the DCO running frequency by the same division factor in order to get the system back into its original operating point.For example, as illustrated in Figure 7, the TDTL was configured to operate at point A within the locking range, where W= 0 /=1 and K=G 0 =1, prior to the introduction of the divider.
After introducing the divider (÷N) and depending on the division fa e locking range towards point B, Figure 7.This is because the error signal effect will be divided by N and hence the output of the gain block will be divided by N as well as the DCO frequency and the new operating point will be at W= 0 /N=1/N and K=G 0 /N 2 =1/N 2 .So, in order to get the system back in lock, the DCO frequency  0 and the Gain G are multiplied by the same division factor and this will bring the system back into its original state.
As stated above, the TDTL synthesizer requires some adjustments aft e loop locked in its basic original operating point.These adjustments are basically adjusting the DCO frequency and the error signal.In order to make this process as flexible as possible, an adaptation mechanism is introduced in the system.The mechanism basically cancels the effect of the division on the system stability through adjustment of some system parameters.This mechanism  is mainly composed of a frequency sensing block (FSB).The frequency sensing block consists of a frequency detector, a filter block, a differential amplifier and a finite state machine (FSM).The structure of the FSB and the frequency detector are shown in Figure 8a and Figure 8b respectively.The integer TDTL-FS incorporating the adaptive FSB to keep it stable is depicted in Figure 9.
The basic functionality of the FSM block of the FSB is to compare between the two frequencies at the input of the divider and its output and produce an output (train of pulses with certain widths) that corresponds to the difference in frequency.This output is fed into an amplifier and then to a low pass filter in order to extract the required information.The extracted information will be in the form of a certain DC value, and this value is then fed into the FSM in order to be conditioned and to get a suitable output for adapting the system.The output of the FSM is used to adjust the gain of the variable gain block G in the loop and the frequency of the DCO.The synthesizer structure uses a variable gain block G that makes the adaptation process possible.

Fractional TDTL-FS
Fractional synthesizers are the type produce not only integer multiple equency but also a fractional multiple (÷N.p) of it.The co certain adjustments.Similarly, introducing a fractional divider requires employing the same adaptation principle; however the case now is more difficult because of the use of two independent dividers as well as a control mechanism that switches between these two dividers.Before applying an adaptation mechanism, the loop was tested and analyzed after introducing the fractional divider.After different assessments, it was found that in the case of a fractional divider, the operating point of the loop does not shift outside the locking range into one single location but oscillates between two different locations.
Each division factor is responsible for shifting the operating point to one of the points.Therefore, in order to get the loop back into its nominal point, point A in Figure 7, the adaptation process has to compensate for the two divisions individually and one at a time.This observation implied that a more complex adaptation process is required that has the ability to adapt the system for two itch quickly between them as the control unit switches between the two dividers.in hin of systems that can (÷N) of the source division factors and sw fr fractional synthesizer basically uses a type of fractional dividers and employs it to produce fractional divisions.
The fractional divider can be constructed using different methods.In this paper a modulus-2 prescaler divider was designed and subsequently introduced into the system.This type of fractional divider uses two integer dividers that are controlled by a control unit.The inputs of the ntrol unit are driven by the outputs of the two dividers in order to generate the signal that controls the MUX and DeMUX blocks.This control unit is the one responsible for creating the fraction part of the division.The two integer dividers have to be increments of each other i.e. 5 and 6 or 7 and 8 etc, in general P/P+1.The block diagram of the modulus-2 prescaler is shown in Figure 10.
As discussed in the previous integer divider section, introducing a divider into the TDTL will cause some changes in the performance of the system that requires As a solution to the previous problems, duplicate blocks were added to the fractional divider that were used to condition the divider in such a way that it is now possible to extract the required information about the division factor.This approach includes duplicating the two dividers and using the duplicates as dummy counters that have access to the input signal all the time, not switched inputs, and two FSBs connected to those two counters.The outputs of the two FSBs are switched usg a demultiplexer that is controlled by the same output of the control unit of the fractional divider.The block diagram of the adaptation process is shown in Figure 11 and the complete fractional TDTL-FS is depicted in Figure 12.The advantage of this approach is that the switching between the two adaptation signals from FSB1 and FSB2 is switched simultaneously with the switching of the division because they are both taking their switc g signal from the same control unit.

TDTL-FS Results
This section presents the simulation results of the TDTL frequency synthesizers for both integer and fractional divisions.The TDTL used in both cases is of the firstorder type.The modeling, simulation, and testing of all system architectures were done using MATLAB/SIMU-LINK.The results in this section illustrate the ability of the TDTL frequency synthesizers to regain its locking state following the introduction of the division process into the loop.They also show that the system is capable of synthesizing frequencies that are integer as well as fractional multiples of the input frequency.

Integer Division
After applying the divider into the system, several input steps were subjected to the system.A positive step indicates an increase in the input frequency while a negative step indicates a decrease in the input frequency.In all cases and prior to the introduction of the division process the loop was chosen to operate at point A in Figure 7, which is considered the optimu range as it allows symmetrical sw ratio is W=ω o /ω=1 and K= o chosen to be ψ o =ω o τ = π/2. lock.
An example of applying a positive step to a TDTL-FS with and integer divider is shown in Figure 13. Figure 13(a) shows the input step with amplitude of 0.4 and system response in Figure 13(b) and Figure 13(c) prior to the incorporation of the FSB adaptation block.It can be clearly seen that the TDTL-FS is out of lock. Figure 13(c) depicts the phase plane response of the system which clearly shows the lack of convergence.The arrow in the figure indicates (0).The effect of the FSB on the stability of the TDTL-FS is shown in Figure 13(d).It can be seen that the system regained lock following the activation of the FSB block.Once the system stabilized it was able to generate correct integer division.This is illustrated in Figure 14 for a division factor of 16.

Fractional Division
The concept of TDTL-FS fractional synthesis using the FSB approach was achieved and simulated.An input with a positive frequency step was applied to the system.The system response to that step is shown in Figure 15.
t the system locks onto the input ror.The error does not converge ue to the limitations of the order of the loop filte m point in the locking ing in the input signal.
It can be clearly seen tha but with a steady state er At point A the frequency ω = 1.The time delay was to zero d G r, in which a simple gain block is used as the loop filter.These conditions imply that the TDTL basic system is in It is important to mention that the response of the system to the frequency step is very similar to the response of the loop itself, this implies and proves that, in both cases, the system is operating at the same operating point.This observation concludes that the adaptation mechanism was successful in adjusting the loop and shifting it back into its original location.However, it is also important to point that the system adaptation using the FSB approach requires about 15 samples to initialize it and be able to adapt the system, and this is one of the disadvantages of this approach.
The division factor that was chosen for this simulation example was (÷3.25).The frequency division that was achieved for this example is shown in Figure 16.It can be clearly seen that the division cycles are broken into four parts, for the first three parts the input is divided by 3 and for the last part the input is divided by 4 and hence a division by 3.25 is achieved.

Conclusions
The TDTL is an efficient mixed-signal digital phase lock loop.This paper presented the architecture and governing system equations of the TDTL.It then presented a novel indirect frequency synthesis system based on the TDTL.The system shows a robust performance as it deals with sudden changes in the input signal frequencies.The achievement of locking following a system disturbance within an acceptable number of samples re-enforces the robustness aspect.
In order for the TDTL-FS system to be stable and hence usable an adaptive stabilization mechanism was incorporated with the synthesizer.The adaptive frequency sensing mechanism stabilizes the loop by controlling the gain block and the DCO of the loop in a way that counter acts the effect of the division process and brings the loop to its optimum operating point within the locking region.
The TDTL-based frequency synthesizer offers a number of advantages compared to other PLL synthesizers.These include an all digital architecture that is independent of the input signal level and a wider range of frequency synthesis.This is also coupled with relatively  low system implementation complexity.The ability of the TDTL-FS to achieve locking as well as integer and fractional divisions were illustrated.The results indicate that fine divisions can be achieved.However, the speed of the adaptation process for fine divisions will need to be improved.This will be the subject of further work in the future.
aforementioned continuous time signals pass to the sample and hold blocks, and thereby get transformed to the discrete time signals in (3) and (4).
phase lag o  induced by the time delay units on the input can be initially arranged by manipulating the parameters o  and in the manner given by  o o    shows the locking range of the first-order TDTL for different values of o  as well as the conventional digital tanlock loop locking region [14].The range of independent locking of the TDTL and the effect of initial phase error are studied in depth in [14,21].

Figure 13 .
Figure 13.TDT-FS system response for integer division (a) Positive step input, (b) Phase error without adaptation, (c) Phase plane without adaptation (d) Phase error with adaptation.

5 TFigure 15 .
Figure 15.TDTL-FS with FSB system response to a positive f the phase error detector.ime(S

Figure 16 .
Figure 16.Output of the divider and the DCO for a division of 3.25 (Top): DCO output (Bottom): Divider output.