This application claims the priority benefit of French patent application number 07/58456, filed on Oct. 22, 2007, entitled “Digital Frequency Synthesizer,” which is hereby incorporated by reference to the maximum extent allowable by law.
1. Field of the Invention
The present application relates to a frequency synthesizer capable of providing, from a first periodic signal at a first frequency, a second periodic signal at a second frequency different from the first frequency, where the ratio between the first and second frequencies can be modified.
2. Discussion of the Related Art
Many electronic circuits use one or several frequency synthesizers. As an example, telecommunication systems generally use frequency synthesizers which provide periodic signals in determined frequency bands to modulate the signals to be transmitted. In mobile telephony, the DCS (Digital Communication System) standard for example provides the transmission of signals having a frequency on the order of 1,800 MHz. Telecommunication systems using ISM (Industrial Scientific and Medical) frequency bands transmit, for example, signals at frequencies on the order of 2.4 GHz.
An example of a conventional frequency synthesizer uses a phase-locked loop. A disadvantage of such a frequency synthesizer is that it exhibits, in operation, a generally non-negligible latency which corresponds to the duration required to stabilize the phase-locked loop. Further, such a synthesizer is essentially formed of analog circuits, which makes a modification of the synthesizer difficult. Further, the phase-locked loop generally comprises one or several filters, which may be difficult to form.
There exist frequency synthesizers which provide, from a first signal corresponding to a periodic sequence of pulses at a first frequency, a second signal corresponding to a periodic sequence of pulses at a second frequency, where the ratio between the first and second frequencies can be modified. Such synthesizers are generally called digital frequency synthesizers and may essentially be formed of logic gates, especially based on MOS transistors. They however generally have the disadvantage that they have a large power consumption and that they can only operate at low frequencies.
An example of a digital frequency synthesizer uses a phase accumulator. A phase accumulator is a circuit clocked by a clock signal and providing a signal corresponding to a non-perfectly periodic sequence of pulses at an average frequency proportional to the clock frequency and which corresponds to the desired frequency. However, since the signal provided by the phase accumulator is not perfectly periodic, the frequency synthesizer further comprises a correction circuit which, based on the pulse sequence provided by the phase accumulator, provides a periodic sequence of pulses corrected to the desired frequency. A disadvantage of this type of frequency synthesizer is that it cannot generally provide a signal having a frequency greater than half the clock frequency.
The significant power consumption of a conventional digital frequency synthesizer results in that, when used in battery-powered systems, it is necessary to search for a compromise between the power consumption and the clock frequency that can be used to clock the synthesizer.
There is a need for a digital frequency synthesizer using a phase accumulator and capable of providing, from a first periodic sequence of pulses at a first frequency, a second periodic sequence of pulses at a second frequency which may be lower than, equal to, or greater than the first frequency.
According to an embodiment, there is provided a digital frequency synthesizer receiving a first signal corresponding to a periodic sequence of first pulses at a first frequency and providing a second signal corresponding to a periodic sequence of second pulses at a second frequency. The synthesizer comprises a first circuit clocked by a third signal corresponding to a sequence of third pulses and obtained from the first signal, the first circuit providing a fourth digital signal which, for any set of third successive pulses, increases on each pulse and decreases at the end of said set or decreases on each pulse and increases at the end of said set; and a second circuit receiving the first and fourth signals and providing, for each first pulse from among some at least of the first pulses, a second pulse which is shifted with respect to the first pulse by a duration which depends on said fourth signal.
According to an embodiment, the second circuit comprises a third circuit providing a fifth analog signal which depends on the fourth signal; a source of a sixth analog signal; and a comparator receiving the fifth and sixth signals and providing the second signal.
According to an embodiment, the first and third signals are identical. The source is capable of providing the sixth analog signal in the form of a first sawtooth voltage at the clock rate of the first signal. The third circuit comprises a digital-to-analog converter providing, at the clock rate of the first signal, the fifth signal in the form of a second stepped voltage which depends on the fourth signal.
According to an embodiment, the source is capable of providing the sixth signal in the form of a constant voltage. The third circuit comprises a digital-to-analog converter providing a current which at least partly depends on the fourth signal; a capacitor charged by the current; and a switch assembled in parallel across the capacitor, the fifth signal corresponding to the voltage across the capacitor.
According to an embodiment, the synthesizer comprises a finite state machine clocked by the first signal and capable of controlling, in a first state, the turning-on of the switch to discharge the capacitor; and causing, in a second state, the turning-off of the switch and causing the converter to charge the capacitor with said current.
According to an embodiment, the first circuit comprises a first storage unit providing, at the clock rate of the third signal, a seventh digital signal; an adder receiving the seventh digital signal and an eighth signal and providing a ninth digital signal corresponding to the sum of the seventh and eighth signals; and a second storage unit receiving the ninth signal and providing, at the rate of the third signal, the eighth signal which corresponds to the last value of the stored ninth signal, the fourth signal being obtained from the eighth signal.
According to an embodiment, the first circuit comprises a first storage unit providing, at the clock rate of the third signal, a seventh digital signal; a first adder receiving the seventh digital signal and an eighth signal and providing a ninth digital signal corresponding to the sum of the seventh and eighth signals; a second adder receiving the seventh signal, the eighth signal and a tenth digital signal, the tenth signal corresponding to a constant value, the second adder providing an eleventh signal corresponding to the sum of the seventh, eighth, and tenth signals; a multiplexer receiving the eighth terminal and the eleventh signal and comprising a selection signal receiving a twelfth signal provided by the finite state machine and providing a thirteenth signal equal to the eighth signal or to the eleventh signal according to the value of the twelfth signal; and a second storage unit receiving the thirteenth signal and providing, at the rate of the third signal, the eighth signal which corresponds to the last value of the stored thirteenth signal, the fourth signal being obtained from the eighth signal.
According to an embodiment, the second circuit comprises N current sources, N being an integer corresponding to a power of two, each current source providing a current which depends on the fourth signal; and at least N transistors, each transistor having a first main terminal connected to one of the N current sources and a second main terminal connected to an output node, the transistor being controlled by one of N oscillating signals, the N oscillating signals being phase-shifted with respect to one another, the second signal being provided to said output node.
An embodiment also provides a method for providing, from a first signal corresponding to a periodic sequence of first pulses at a first frequency, a second signal corresponding to a periodic sequence of second pulses at a second frequency. The method comprises the steps of providing, at the clock rate of a third signal corresponding to a sequence of third pulses and obtained from the first signal, and providing a fourth digital signal which, for any set of third successive pulses, increases on each pulse and decreases at the end of said set; and of providing, for each first pulse from among some at least of the first pulses, a second pulse shifted with respect to said first pulse by a duration which depends on the fourth signal.
According to an embodiment, the method further comprises the steps of providing a fifth analog signal which depends on the fourth signal; and providing the second signal based on the comparison of the fifth signal and of a sixth analog signal.
According to an embodiment, the method further comprises the steps of converting the fourth signal into a current; and charging a capacitor with said current, the fifth signal corresponding to the voltage across the capacitor and the sixth signal being a constant voltage.
The foregoing and other objects, features, and advantages will be discussed in detail in the following non-limiting description of specific embodiments in connection with the accompanying drawings.
For clarity, the same elements have been designated with the same reference numerals in the different drawings.
The frequency synthesizer according to an embodiment uses a phase accumulator that can have a conventional structure or a structure slightly modified with respect to a conventional structure. The structure and the operation of a conventional phase accumulator will thus first be described.
The operation of phase accumulator 10 is the following: for each clock cycle, phase increment P is added to signal S2, that is, to the last value of signal S1, and the new obtained value of signal S1 is stored in storage unit 16. Considering that signal S1 is initially null, for each clock cycle of index i, the new value S1(i) of signal S1 is obtained by the following relation:
S1(i)=iP modulo 2n (1)
Signal S1, and thus signal Phase, increases “stepwise” then abruptly decreases each time signal S1 should reach, at the next clock cycle, a value greater than or equal to 2n. The decrease of signal S1 or S2 is called overflow in the following description. For each overflow of signal S1, first overflow bit Ov is set to “1”, for example, during a clock cycle. For each overflow of signal S2, second overflow bit Ov′ is set to “1”, for example, during a clock cycle. Second overflow bit Ov′ thus is substantially one clock cycle behind first overflow bit Ov.
Respectively call fOUT and TOUT the average frequency and the average frequency of second overflow bit Ov′. Frequency fOUT is provided by the following relation:
Frequency synthesizer 20 comprises a first conversion unit 21 (Conv1) receiving phase increment P and providing a terminal B1 with a current I1 having its intensity depending on phase increment P and which is, for example, proportional to phase increment P. Frequency synthesizer 20 comprises a second conversion unit 22 (Conv2) receiving signal Phase and providing a terminal B2 with a current I2 having its intensity depending on signal Phase and decreasing when signal Phase increases. A switch 23 controlled by a signal SEL is capable of connecting terminal B1 or terminal B2 to the positive input (+) of a comparator 24. The negative input (−) of comparator 24 is connected to ground GND. Comparator 24 provides a signal OUT corresponding to a sequence of pulses at frequency fOUT. A capacitor 25 is provided between the positive input (+) of comparator 24 and of ground GND. A switch 26 controlled by a signal SW is provided across capacitor 25. A control unit 27 (Control Logic) receives overflow bits Ov and Ov′, signal OUT and provides signals SEL and SW.
The operation of synthesizer 20 is the following: when first overflow bit Ov is at “1”, switch 23 connects terminal B2 to the positive input (+) of comparator 24. Capacitor 25 is then charged by current I2 having its intensity decreasing as signal Phase increases. The voltage across capacitor 25 being positive, signal OUT is low. When second overflow bit Ov′ is at “1”, at the next clock cycle, switch 23 connects terminal B1 to the positive input (+) of comparator 24. Capacitor 25 is then discharged by current I1 having a constant intensity which depends on phase increment P. Signal OUT switches from the low level to the high level when capacitor 25 is fully discharged. The switching time of signal OUT depends on the duration of the discharge of capacitor 25, and thus on the intensity of current I2 with which it has been charged at the preceding clock cycle. The times of occurrence of the rising edges of signal OUT are thus modulated and are exactly separated by time period TOUT.
A disadvantage of synthesizer 20 is that, because of its operation, output frequency fOUT is necessarily lower than half the frequency of clock signal fCLK.
The phase shift applied by phase interpolator 42 thus follows the variation of signal Phase and in particular decreases, in absolute value, after each overflow of signal Phase. After an overflow, phase interpolator 42 cannot take into account a pulse of clock signal CLK or a value of signal Phase, or use again the last pulse of clock signal CLK to ensure the regularity in the provision of the pulses of signal OUT_PI.
Period TOUT
T
OUT
PI
=T
CLK
+dt (3)
where dt may be positive or negative according to the operation of phase interpolator 42. The absolute value of increment dt is linked to the operating parameters of phase accumulator 10 according to the following relation:
Frequency fOUT
The frequency synthesizer according to an embodiment is thus capable of providing, from a clock signal CLK, a periodic signal having a frequency fOUT
The operation of frequency synthesizer 70 will now be described for a specific example in which P is equal to 1 and n and k are equal to 2. Current I provided by converter 72 is likely to take 4 values, noted L0 to L3. Further, current L0 corresponds to the null current, current L2 is equal to two thirds of current L3, and current L1 is equal to one third of current L3.
At step 90, finite state machine 72 is at state “R1” (Reset1). It then causes the turning-on of switch M, causing the discharge of capacitor C. Further, converter 74 is controlled by signal SC so that current I is equal to L0. Further, if an overflow will occur at the next cycle of modified clock signal CLK2, that is, if first overflow bit Ov is at “1”, finite state machine 72 sets signal SEL_ADD to “1”. In the opposite case, it sets signal SEL_ADD to “0”. The method carries on at step 92.
At step 92, finite state machine 72 switches to state “V” (Variable). It causes the turning-off of switch M, causing the charge of capacitor C with the current. Finite state machine 72 controls, with signal SC, converter 74 so that current I is at a value L1, L2, or L3 according to the value of signal Phase. As an example, current I is at L3 when signal Phase is at 1, current I is at L2 when signal Phase is at 2, and current I is at L1 when signal Phase is at 3. The method carries on at step 94.
At step 94, finite state machine 72 switches to state “C1” (Constant1). Finite state machine 72 causes the turning-off of switch M, causing the charge of capacitor C with current I, and it further controls converter 74 so that current I is at value L3. The method carries on at step 96.
At step 96, finite state machine 72 switches to state “C2” (Constant2). Finite state machine 72 causes the turning-off of switch M, causing the charge of capacitor C with current I, and it further controls converter 74 so that current I is at value L3. The process carries on at step 98.
At step 98, the finite state machine determines from the value of first overflow bit Ov whether an overflow will occur at the next cycle of modified clock signal CLK2. If not, the method carries on at step 90. If so, the process carries on at step 100.
At step 100, finite state machine 72 switches to state “R2” (Reset2). It then causes the turning-on of switch M, causing the discharge of capacitor C. Further, converter 74 is controlled so that current I is equal to L0. Further, finite state machine 72 delays modified clock signal CLK2 by a cycle of clock CLK1. The process then returns to step 90.
where fCLK2 is the frequency of clock signal CLK2.
According to a variation of the previously-described embodiment, a buffer memory may be provided on the transmission line of signal Phase between phase accumulator 10 and phase interpolator 42, a buffer memory may be provided on the transmission line of signal SC between finite state machine 72 and phase interpolator 42 and on the transmission line of signal SM between finite state machine 72 and phase interpolator 42. Each buffer delays the transmission of the signal that it stores, for example, by one cycle of clock CLK1. In this case, finite state machine 72 may receive second overflow bit Ov′ instead of first overflow bit Ov and may determine whether an overflow of signal Phase occurs based on second overflow bit Ov′ which has the advantage of being generally better stabilized than first overflow bit Ov.
Circuit 112 comprises four differential pairs 114A to 114D, each comprising a first MOS transistor 115A to 115D and a second MOS transistor 116A to 116D. For each differential pair, the drain of transistor 115A to 115D is connected to a node A1 and the drain of transistor 116A to 116D is connected to a node A2. Further, for each differential pair, the sources of transistors 115A to 15D and 116A to 116D are connected to a terminal of a current source IA to ID having its other terminal connected to a source of a first reference voltage, for example, ground GND. Node A1 is connected to a source of a second reference voltage VDD via a resistor R1. Node A2 is connected to source VDD via a resistor R2. The voltage between nodes A1 and A2 corresponds to signal OUT_PI.
A clock signal VCLK,I is applied between the gate of transistor 115A and the gate of transistor 116A, and the clock signal complementary to VCLK,I (that is, phase-shifted by 180° with respect to VCLK,I) between the gate of transistor 115B and the gate of transistor 116B. A clock signal VCLK,Q phase-shifted by 90° with respect to signal VCLK,I is applied between the gate of transistor 115C and the gate of transistor 116C, and the clock signal complementary to VCLK,Q (that is, phase-shifted by 180° with respect to VCLK,Q) is applied between the gate of transistor 115D and the gate of transistor 116D. Signals VCLK,I and VCLK,Q may correspond to pulse sequences, to sinusoidal signals, or to triangular signals.
Phase interpolator 42 also comprises a control unit 118 (Logic Module), rated by clock signal CLK, receiving signal Phase and providing control signals SIA to SID to current sources IA to ID. The frequency of signal VCLK,I is equal to an integral multiple, possibly equal to 1, of the frequency of clock signal CLK.
Differential pairs 114A to 114D are driven by clock signals in quadrature. The sum of currents IA to ID is constant so that the peak-to-peak amplitude of signal OUT_PI remains constant. Circuit 112 provides a voltage OUT_PI corresponding to a clock signal phase-shifted with respect to signal VCLK,I, the value of the phase shift being imposed by the values of current IA, IB, IC, and ID. Currents IA and ID are in fact integrated by the stray capacitances of the MOS transistors or by capacitors, not shown, provided in parallel with resistors R1 and R2.
In operation, the values of currents IA to ID are controlled by the corresponding control signals SIA to SID which are themselves determined by control unit 118 based on signal Phase. For each new value of signal Phase, control unit 118 determines new values of control signals SIA to SID so that the phase shift of signal OUT_PI with respect to signal VCLK,I depends on signal Phase and is, for example, proportional to signal Phase.
A clock signal VCLK,I is applied between the gates of transistors 124A and 126A and the gates of transistors 124B and 126B, and a clock signal VCLK,Q, phase-shifted by 90° with respect to signal VCLK,I, is applied between the gates of transistors 124C and 126C and the gates of transistors 124D and 126D. Signals VCLK,I and VCLK,Q may correspond to pulse sequences, to sinusoidal signals, to triangular signals.
Phase interpolator 42 also comprises a control unit 128 (Logic Module), rated by clock signal CLK, receiving signal Phase and providing control signals SIA to SID to current sources IA to ID. The frequency of signal VCLK,I is equal to an integral multiple, possibly equal to 1, of the frequency of clock signal CLK.
CMOS inverters 122A to 122D are driven by clock signals in quadrature. The sum of currents IA to ID is constant so that the peak-to-peak amplitude of signal OUT_PI remains constant. Signal OUT_PI corresponds to a clock signal phase shifted with respect to signal VCLK,I, the value of the phase shift being imposed by the values of currents IA, IB, IC, and ID. Currents IA and ID are in fact integrated by the stray capacitances of the MOS transistors.
In operation, the values of currents IA to ID are controlled by the corresponding control signals SIA to SID which are themselves determined by control unit 128 based on signal Phase. For each new value of signal Phase, control unit 128 determines new values of control signals SIA to SID so that the phase shift of signal OUT_PI with respect to signal VCLK,I depends on signal Phase and is, for example, proportional to signal Phase.
In the embodiments previously described in relation with
Specific embodiments of the present invention have been described. Various alterations, modifications, and improvements will occur to those skilled in the art. In particular, phase interpolator 42 may be formed with MOS transistors and finite state machine 72 will then be adapted to this structure.
Such alterations, modifications, and improvements are intended to be part of this disclosure, and are intended to be within the spirit and the scope of the present invention. Accordingly, the foregoing description is by way of example only and is not intended to be limiting. The present invention is limited only as defined in the following claims and the equivalents thereto.
Number | Date | Country | Kind |
---|---|---|---|
07/58456 | Oct 2007 | FR | national |