Frequency divider for RF transceiver

Information

  • Patent Application
  • 20040251935
  • Publication Number
    20040251935
  • Date Filed
    June 13, 2003
    20 years ago
  • Date Published
    December 16, 2004
    19 years ago
Abstract
A frequency divider for dividing a frequency of a clock signal by an odd divisor includes a flip-flop chain for latching signals having a number of flip-flops equal to the divisor. The frequency divider also has an XOR gate having two input nodes and an output node, one input node being electrically connected to the clock signal, the other input node being electrically connected to an inverted output node of the last flip-flop, and the output node of the XOR gate being electrically connected to clock input nodes of the odd flip-flops in the flip-flop chain. The frequency divider further has an inverter, an input node of the inverter being electrically connected to the output node of the XOR gate, an output node of the inverter being electrically connected to clock input nodes of the even flip-flops in the flip-flop chain.
Description


CROSS REFERENCE TO RELATED APPLICATIONS


BACKGROUND OF INVENTION

[0001] 1. Field of the Invention


[0002] The present invention relates to a frequency divider, and more particularly, to a frequency divider for RF transceivers, which utilizes general-purpose flip-flops.


[0003] 2. Description of the Prior Art


[0004] A local oscillator (LO) path in a communication system provides the mixing tone to up convert low frequency modulated signals in a transmitter, and to down convert received signals so that they may be demodulated. Currently, as die sizes of integrated circuits are getting smaller, on-channel LO frequencies interacting with and corrupt received and transmitted radio frequency (RF) signals has become a serious problem.


[0005] In direct conversion receivers, wherein direct conversion implies that in the receiver the LO frequency is equal to the received RF frequency, interactions between the LO signal and the RF signal due to coupling through the substrate of the chip can lead to DC offsets, which corrupt data in modulation schemes such as EDGE or GSM containing information at DC.


[0006] One way to avoid this phenomenon is to divide the LO frequency by three and then to double or quadruple it. This guarantees that neither the LO nor any of its harmonics correspond to the received RF frequency.


[0007] R. Magoon and A. Molnar in “RF Local Oscillator Path for GSM Direct Conversion Transceiver with True 50% Duty Cycle Divide by Three and Active Third Harmonic Cancellation, page 23˜26, 2002 IEEE Radio Frequency Integrated Circuit Symposium” disclosed such an RF local oscillator path. Please refer to FIG. 1. FIG. 1 shows a diagram of an LO path 10 using a UHF (Ultra-High Frequency) VCO (Voltage-Controlled Oscillator) with fc=1350 MHz according to the prior art. The LO path 10 comprises a VCO 12 for generating an oscillating signal with a central frequency fc=1350 MHz; a divide-by-three frequency divider 14 electrically connected to the VCO 12, for dividing the frequency of the oscillating signal by three to generate a 450 MHz signal; a first frequency doubler 16 electrically connected to the frequency divider 14, for multiplying the frequency of the signal generated by the frequency divider 14 by two to generate a 900 MHz signal, which can be used as an LO signal in a GSM system; and a second frequency doubler 18 electrically connected to the first frequency doubler 16, for multiplying the frequency of the signal generated by the first frequency doubler 16 by two to generate a 1800 MHz signal, which can be used as an LO signal in a DCS or a PCS system.


[0008] Now please refer to FIG. 2. FIG. 2 shows a divide-by-three frequency divider 20 according to prior art. In the prior art LO path 10 shown in FIG. 1, the frequency divider 20 in FIG. 2 is used as the frequency divider 14. The frequency divider 20 comprises a first, a second, and a third phase switchable D flip-flops 22, 24, 26. Each phase switchable D flip-flop has a data input node D, a clock input node clk, a first output node Q, and a second output node Qbar for outputting a logic signal complementary to a logic signal outputted at the first output node Q, as an ordinary general-purpose D flip-flop does. In addition to those, each phase switchable D flip-flop in FIG. 2 further has a phase-switching input node θ. By dynamically driving the phase-switching input node θ of the flip-flop, a signal at the first output node Q can be made to transition on either a rising edge or a falling edge of a signal inputted at the clock input node clk.


[0009] Please refer to FIG. 3. FIG. 3 shows a circuit diagram of a phase switchable D flip-flop according to prior art, used as phase switchable D flip-flops 22, 24, 26 in FIG. 2. The phase switchable D flip-flop in FIG. 3 is composed of a plurality of ECL (Emitter Coupled Logic) transistors and a plurality of resistors. All the signals are inputted and outputted differentially.


[0010] In FIG. 2, the data input node D1 of the first flip-flop 22 is electrically connected to the second output node Qbar3 of the third flip-flop 26, and the phase-switching input node θ1 of the first flip-flop 22 is electrically connected to the first output node Q2 of the second flip-flop 24. The data input node D2 of the second flip-flop 24 is electrically connected to the first output node Q1 of the first flip-flop 22, and the phase-switching input node θ2 of the second flip-flop 24 is electrically connected to the second output node Qbar3 of the third flip-flop 26. The data input node D3 of the third flip-flop 26 is electrically connected to the first output node Q2 of the second flip-flop 24, and the phase-switching input node θ3 of the third flip-flop 26 is electrically connected to the second output node Qbar1 of the first flip-flop 22. Finally, all the clock input nodes clk1, clk2, clk3 of the first, the second, and the third flip-flops 22, 24, 26 are electrically connected to an input signal in, which is the signal with the central frequency fc=1350 MHz generated by the VCO 12 in FIG. 1.


[0011] Now please refer to FIG. 4. FIG. 4 shows a time sequence of signals at the nodes shown in FIG. 2. Under the configuration in FIG. 2, signals at the first output nodes Q1, Q2, Q3 of the flip-flops 22, 24, 26 have frequencies one-third a frequency of the input signal in at the clock input nodes clk1, clk2, clk3, wherein the signal at the first output node Q1 leads the signal at the first output node Q2 by a 60° phase difference, and the signal at the first output node Q2 leads the signal at the first output node Q3 by a 60° phase difference.


[0012] The divide-by-three frequency divider in FIG. 2 utilizing the phase-switching D flip-flop in FIG. 3 serves the purpose of the LO path in FIG. 1 well. However, since the phase-switching D flip-flop in FIG. 3 is far more complex than a general-purpose flip-flop and requires more circuitry to implement, and a consequently larger chip area, an LO path with such a frequency divider tends to have increased costs of manufacture.



SUMMARY OF INVENTION

[0013] It is therefore a primary objective of the claimed invention to provide a divide-by-N frequency divider utilizing general-purpose flip-flops, to solve the above-mentioned problem.


[0014] According to the claimed invention, a frequency divider for dividing a frequency of a clock signal by a divisor, the divisor being an odd number, comprises a flip-flop chain having a plurality of flip-flops for latching signals, an amount of flip-flops being equal to the divisor, each flip-flop having a data input node, a clock input node, a first output node, and a second output node for outputting a logic signal complementary to a logic signal outputted at the first output node, the first output node of each but the last flip-flop being electrically connected to the data input node of the next flip-flop, the second output node of the last flip-flop being electrically connected to the data input node of the first flip-flop; an XOR gate having two input nodes and an output node, one input node of the XOR gate being electrically connected to the clock signal, the other input node of the XOR gate being electrically connected to the second output node of the last flip-flop, the output node of the XOR gate being electrically connected to the clock input nodes of the odd flip-flops in the flip-flop chain; and an inverter having an input node and an output node for inverting a signal inputted at the input node of the inverter, the input node of the inverter being electrically connected to the output node of the XOR gate, the output node of the inverter being electrically connected to the clock input nodes of the even flip-flops in the flip-flop chain; whereby a frequency of a signal outputted at the first output node of the last flip-flop is equal to the frequency of the clock signal divided by the divisor.


[0015] By utilizing a flip-flop chain having a plurality of general-purpose flip-flops and a simple combination of logic gates, namely an XOR gate plus an inverter, the present invention frequency divider can generate a signal of a frequency equal to a frequency of an input signal divided by the number of flip-flops. The present invention frequency divider uses only general-purpose flip-flops instead of the phase switching D flip-flops in the prior art, such that circuit designs of the LO path can be simplified, thus lowering the cost of manufacture.


[0016] These and other objectives of the claimed invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.







BRIEF DESCRIPTION OF DRAWINGS

[0017]
FIG. 1 is a block diagram of an LO path using a UHF VCO with fc=1350 MHz according to the prior art.


[0018]
FIG. 2 is a block diagram of a divide-by-3 frequency divider in FIG. 1 according to prior art.


[0019]
FIG. 3 is a circuit diagram of a phase switchable D flip-flop according to prior art.


[0020]
FIG. 4 is a time sequence of signals at nodes shown in FIG. 2.


[0021]
FIG. 5 is a block diagram of a divide-by-N frequency divider according to present invention.


[0022] FIG. 6 is a block diagram of a divide-by-3 frequency divider according to present invention.


[0023]
FIG. 7 is a time sequence of signals shown in FIG. 6.


[0024]
FIG. 8 is a block diagram of a divide-by-5 frequency divider according to present invention.


[0025]
FIG. 9 is a time sequence of signals shown in FIG. 8.







DETAILED DESCRIPTION

[0026] Please refer to FIG. 5. FIG. 5 shows a block diagram of a divide-by-N frequency divider 30 according to present invention. The frequency divider 30 is used for dividing a frequency of an inputted clock signal in by a divisor. Here, the divisor is an odd number N. The frequency divider 30 comprises a flip-flop chain 32 having a plurality of flip-flops FF1˜FFN for latching signals. The number of flip-flops is equal to the divisor N. Each flip-flop has a data input node D, a clock input node clk, a first output node Q, and a second output node Qbar for outputting a logic signal complementary to a logic signal outputted at the first output node Q. The first output node Q of each but the last flip-flop FFN (i.e., each of the flip-flops FF1˜FFN−1) is electrically connected to the data input node D of the next flip-flop. The second output node Qbar of the last flip-flop FFN is electrically connected to the data input node D of the first flip-flop FF1.


[0027] The present invention frequency divider 30 also comprises an XOR gate 34 having two input nodes and an output node. One input node of the XOR gate 34 is electrically connected to the clock signal in, while the other input node of the XOR gate 34 is electrically connected to the second output node Qbar of the last flip-flop FFN. The output node of the XOR gate 34 is electrically connected to the clock input nodes clk of the odd flip-flops (i.e., FF1, FF3, FF5 . . . FFN) in the flip-flop chain 32. The present invention frequency divider 30 further comprises an inverter 36 having an input node and an output node for inverting a signal inputted at the input node of the inverter 36. The input node of the inverter 36 is electrically connected to the output node of the XOR gate 34, while the output node of the inverter 36 is electrically connected to the clock input nodes clk of the even flip-flops (i.e., FF2, FF4, FF6 . . . FFN−1) in the flip-flop chain 32.


[0028] Under the configuration of the above-mentioned frequency divider 30, a frequency of a signal outputted at the first output node Q of the last flip-flop FFN is equal to the frequency of the clock signal in divided by the divisor N. As a matter of fact, signals at the first output nodes Q of the flip-flops FF1˜FFN are of frequencies one-Nth a frequency of the clock signal in at the clock input nodes clk, wherein the signal at the first output node Q of one flip-flop leads the signal at the first output node Q of a next flip-flop by a phase difference.


[0029] Please note here, the flip-flops used in the present invention frequency divider 30 are general-purpose flip-flops, wherein the logic signal outputted at the first output node Q of a flip-flop traces the logic signal inputted at the data input node D of the flip-flop latched by the flip-flop during a previous clock cycle. The flip-flops can be D flip-flops, however any other types of flip-flops that are capable of achieving the same purpose also fall into the scope of the present invention.


[0030] To describe the present invention frequency divider more specifically and in greater detail, now consider a preferred embodiment of the present invention with the divisor N being equal to 3. Please refer to FIG. 6. FIG. 6 shows a block diagram of a divide-by-3 frequency divider 40 according to the present invention. The frequency divider 40 for dividing a frequency of a clock signal in by 3 comprises a flip-flop chain 42 having a first flip-flop FF1, a second flip-flop FF2, and a third flip-flop FF3 for latching signals. Each flip-flop has a data input node D, a clock input node clk, a first output node Q, and a second output node Qbar for outputting a logic signal complementary to a logic signal outputted at the first output node Q. A first output node Q1 of the first flip-flop FF1 is electrically connected to a data input node D2 of the second flip-flop FF2. A first output node Q2 of the second flip-flop FF2 is electrically connected to a data input node D3 of the third flip-flop FF3. A second output node Qbar3 of the third flip-flop FF3 is electrically connected to a data input node D1 of the first flip-flop FF1.


[0031] The present invention frequency divider 40 also comprises an XOR gate 44 having two input nodes and an output node. One input node of the XOR gate 44 is electrically connected to the clock signal in, while the other input node of the XOR gate 44 is electrically connected to the second output node Qbar3 of the third flip-flop FF3. The output node of the XOR gate 44 is electrically connected to clock input nodes clk1, clk3 of the first and the third flip-flops FF1, FF3. The present invention frequency divider 40 further comprises an inverter 46 having an input node and an output node for inverting a signal inputted at the input node of the inverter 46. The input node of the inverter 46 is electrically connected to the output node of the XOR gate 44, while the output node of the inverter 46 is electrically connected to a clock input node clk2 of the second flip-flop FF2.


[0032] Now please refer to FIG. 7. FIG. 7 shows a time sequence of signals shown in FIG. 6. In FIG. 7, the following signals shown in FIG. 6 are illustrated: in, qbar3, ck, ckbar, q1, q2, and q3, wherein in is the inputted clock signal, qbar3 is at the second output node Qbar3 of the third flip-flop FF3 (i.e., D1), ck is the exclusive-OR operation result of the XOR gate 44 (i.e., clk1 and clk3), ckbar is a complementary signal of ck, q1 is at the first output node Q1 of the first flip-flop FF1 (i.e., D2), q2 is at the first output node Q2 of the second flip-flop FF2 (i.e., D3), and q3 is at the first output node Q3 of the third flip-flop FF3 (i.e., a complementary signal of qbar3).


[0033] As shown in FIG. 7, suppose that before time t1, the clock signal in has not been inputted to the XOR gate 44 and is set to logical “0”, qbar3 is at a logical “1”, and the clock signal in starts to flow into the XOR gate 44 at time t1. At time t1, the clock signal in switches from “0” to “1”. As a result of the XOR operation on in and qbar3, ck switches from “1” to “0”. At time t2, the clock signal in switches from “1” back to “0”, as a result ck switches from “0” to “1”. At this time, because ck provides a rising edge at the clock input node clk1 of the first flip-flop FF1 and the first flip-flop FF1 latches a logical “1” from a previous clock cycle, q1 at the first output node Q1 of the first flip-flop FF1 responds with a transition to a logical “1”.


[0034] At time t3, the clock signal in switches from “0” to “1”, and as a result ck switches from “1” to “0”, with ckbar changing from “0” to “1”. At this time, because ckbar provides a rising edge at the clock input node clk2 of the second flip-flop FF2 and the second flip-flop FF2 latches a logical “1” from a previous clock cycle (i.e., a signal inputted at the data input node D2), q2 at the first output node Q2 of the second flip-flop FF2 responds with a transition to a logical “1”.


[0035] Similarly, at time t4, the clock signal in switches from “1” to “0”, and as a result ck switches from “0” to “1”. At this time, because ck provides a rising edge at the clock input node clk3 of the third flip-flop FF3 and the third flip-flop FF3 latches a logical “1” from a previous clock cycle (i.e., a signal inputted at the data input node D3), q3 at the first output node Q3 of the third flip-flop FF3 responds with a transition to a logical “1” and as a result, qbar3 responds with a transition from an original “1” to a “0”. The transition of qbar3 causes a change in the result of the XOR operation of the XOR gate 44, and therefore after a time delay tp from time t4, ck switches again from “1,” to “0” and ckbar from “0” to “1”, as shown in FIG. 7.


[0036] At time t5, the clock signal in switches from “0” to “1”, and now ck switches from “0” to “1”. At this time, because ck provides a rising edge at the clock input node clk1 of the first flip-flop FF1 and the first flip-flop FF1 latches a logical “0” from a previous clock cycle (i.e., a signal inputted at the data input node D1), q1 at the first output node Q1 of the first flip-flop FF1 responds with a transition from a logical “1” to “0”.


[0037] At time t6, the clock signal in switches from “1” to “0”, and as a result ck switches from “1” to “0”, with ckbar changing from “0” to “1”. At this time, because ckbar provides a rising edge at the clock input node clk2 of the second flip-flop FF2 and the second flip-flop FF2 latches a logical “0” from a previous clock cycle (i.e., a signal inputted at the data input node D2), q2 at the first output node Q2 of the second flip-flop FF2 responds with a transition from a logical “1” to “0”.


[0038] Similarly, at time t7, the clock signal in switches from “0” to “1”, and as a result ck switches from “0” to “1”. At this time, because ck provides a rising edge at the clock input node clk3 of the third flip-flop FF3 and the third flip-flop FF3 latches a logical “0” from a previous clock cycle (i.e., a signal inputted at the data input node D3), q3 at the first output node Q3 of the third flip-flop FF3 responds with a transition from a logical “1” to “0”, and as a result, qbar3 responds with a transition from na original “0” to a “1”. The transition of qbar3 again causes a change in the result of the XOR operation of the XOR gate 44, and therefore after a time delay tp from time t7, ck switches again from “1” to “0” and ckbar from “0” to “1”, as shown in FIG. 7. After this, the whole cycle repeats itself continuously.


[0039] Under the configuration of the above-mentioned frequency divider 40, a frequency of a signal outputted at the first output node Q3 of the third flip-flop FF3 is equal to the frequency of the clock signal in divided by 3. As a matter of fact, signals at the first output nodes Q1, Q2 of the flip-flops FF1, FF2 are also of frequencies one-third a frequency of the clock signal in, wherein the signal at the first output node of one flip-flop leads the signal at the first output node of a next flip-flop by a 60° phase difference.


[0040] Consider another preferred embodiment of the present invention with the divisor N being equal to 5. Please refer to FIG. 8. FIG. 8 shows a block diagram of a divide-by-5 frequency divider 50 according to the present invention. The frequency divider 50 for dividing a frequency of a clock signal by 5 comprises a flip-flop chain 52 having a first flip-flop FF1, a second flip-flop FF2, a third flip-flop FF3, a fourth flip-flop FF4, and a fifth flip-flop FF5 for latching signals. Each flip-flop has a data input node D, a clock input node clk, a first output node Q, and a second output node Qbar for outputting a logic signal complementary to a logic signal outputted at the first output node Q. A first output node Q1 of the first flip-flop FF1 is electrically connected to a data input node D2 of the second flip-flop FF2. A first output node Q2 of the second flip-flop FF2 is electrically connected to a data input node D3 of the third flip-flop FF3. A first output node Q3 of the third flip-flop FF3 is electrically connected to a data input node D4 of the fourth flip-flop FF4. A first output node Q4 of the fourth flip-flop FF4 is electrically connected to a data input node D5 of the fifth flip-flop FF5. A second output node Qbar5 of the fifth flip-flop FF5 is electrically connected to the data input node D1 of the first flip-flop FF1.


[0041] The present invention frequency divider 50 also comprises an XOR gate 54 having two input nodes and an output node. One input node of the XOR gate 54 is electrically connected to the clock signal in, while the other input node of the XOR gate 54 is electrically connected to the second output node Qbar5 of the fifth flip-flop FF5. The output node of the XOR gate 54 is electrically connected to clock input nodes clk1, clk3, clk5 of the first, the third, and the fifth flip-flops FF1, FF3, FF5. The present invention frequency divider 50 further comprises an inverter 56 having an input node and an output node for inverting a signal inputted at the input node of the inverter 56. The input node of the inverter 56 is electrically connected to the output node of the XOR gate 54, while the output node of the inverter 56 is electrically connected to clock input nodes clk2, clk4 of the second and the fourth flip-flops FF2, FF4.


[0042] Now please refer to FIG. 9. FIG. 9 shows a time sequence of signals shown in FIG. 8. In FIG. 9, the following signals shown in FIG. 8 are given: in, qbar5, ck, ckbar, q1, q2, q3, q4, and q5, wherein in is the inputted clock signal, qbar3 is at the second output node Qbar3 of the third flip-flop FF3 (i.e., D1), ck is the exclusive-OR operation result of the XOR gate 44 (i.e., clk1 and clk3), ckbar is a complementary signal of ck, q1 is at the first output node Q1 of the first flip-flop FF1 (i.e., D2), q2 is at the first output node Q2 of the second flip-flop FF2 (i.e., D3), q3 is at the first output node Q3 of the third flip-flop FF3 (i.e., D4), q4 is at the first output node Q4 of the fourth flip-flop FF4 (i.e., D5), and q5 is at the first output node Q5 of the fifth flip-flop FF5 (i.e., a complementary signal of qbar5).


[0043] According to FIG. 9 and an analysis similar to that previously done with FIG. 7, under the configuration of the above-mentioned frequency divider 50, a frequency of a signal outputted at the first output node Q5 of the fifth flip-flop FF5 is equal to the frequency of the clock signal in divided by 5. As a matter of fact, signals at the first output nodes Q1, Q2, Q3, Q4 of the flip-flops FF1, FF2, FF3, FF4 are all of frequencies one-fifth a frequency of the clock signal in, wherein the signal at the first output node of one flip-flop leads the signal at the first output node of a next flip-flop by a 36° phase difference.


[0044] In contrast to the prior art, the present invention frequency divider requires merely a flip-flop chain having a plurality of general-purpose flip-flops and a simple combination of logic gates, namely an XOR gate plus an inverter, in order to generate a signal of a frequency equal to a frequency of an input signal divided by the number of flip-flops. The present invention frequency divider uses only general-purpose flip-flops instead of the phase switching D flip-flops in the prior art, such that circuit designs of the LO path can be simplified, thus to lowering the costs of manufacture.


[0045] Those skilled in the art will readily observe that numerous modifications and alterations of the device may be made while retaining the teachings of the invention. Accordingly, that above disclosure should be construed as limited only by the metes and bounds of the appended claims.


Claims
  • 1. A frequency divider for dividing a frequency of a clock signal by a divisor, the divisor being an odd number, the frequency divider comprising: a flip-flop chain having a plurality of flip-flops for latching signals, an amount of flip-flops being equal to the divisor, each flip-flop having a data input node, a clock input node, a first output node, and a second output node for outputting a logic signal complementary to a logic signal outputted at the first output node, the first output node of each but the last flip-flop being electrically connected to the data input node of the next flip-flop, the second output node of the last flip-flop being electrically connected to the data input node of the first flip-flop; an XOR gate having two input nodes and an output node, one input node of the XOR gate being electrically connected to the clock signal, the other input node of the XOR gate being electrically connected to the second output node of the last flip-flop, the output node of the XOR gate being electrically connected to the clock input nodes of the odd flip-flops in the flip-flop chain; and an inverter having an input node and an output node for inverting a signal inputted at the input node of the inverter, the input node of the inverter being electrically connected to the output node of the XOR gate, the output node of the inverter being electrically connected to the clock input nodes of the even flip-flops in the flip-flop chain; whereby a frequency of a signal outputted at the first output node of the last flip-flop is equal to the frequency of the clock signal divided by the divisor.
  • 2. The frequency divider of claim 1 wherein the flip-flops are D flip-flops.
  • 3. The frequency divider of claim 1 wherein a state of a logic signal outputted at the fist output node of a flip-flop during a given clock cycle follows a state of a logic signal inputted at the data input node of the flip-flop latched by the flip-flop during an immediately preceding clock cycle.
  • 4. The frequency divider of claim 1 wherein the divisor is equal to 3, the flip-flop chain having a first, a second, and a third flip-flop, the first output node of the first flip-flop being electrically connected to the data input node of the second flip-flop, the first output node of the second flip-flop being electrically connected to the data input node of the third flip-flop, the second output node of the third flip-flop being electrically connected to the data input node of the first flip-flop, the output node of the XOR gate being electrically connected to the clock input nodes of the first and the third flip-flops, the output node of the inverter being electrically connected to the clock input node of the second flip-flop.
  • 5. The frequency divider of claim 1 wherein the divisor is equal to 5, the flip-flop chain having a first, a second, a third, a fourth, and a fifth flip-flop, the first output node of the first flip-flop being electrically connected to the data input node of the second flip-flop, the first output node of the second flip-flop being electrically connected to the data input node of the third flip-flop, the first output node of the third flip-flop being electrically connected to the data input node of the fourth flip-flop, the first output node of the fourth flip-flop being electrically connected to the data input node of the fifth flip-flop, the second output node of the fifth flip-flop being electrically connected to the data input node of the first flip-flop, the output node of the XOR gate being electrically connected to the clock input nodes of the first, the third, and the fifth flip-flops, the output node of the inverter being electrically connected to the clock input nodes of the second and the fourth flip-flops.
  • 6. A frequency divider for dividing a frequency of a clock signal by 3, the frequency divider comprising: a flip-flop chain having a first, a second, and a third flip-flop for latching signals, each flip-flop having a data input node, a clock input node, a first output node, and a second output node for outputting a logic signal complementary to a logic signal outputted at the first output node, the first output node of the first flip-flop being electrically connected to the data input node of the second flip-flop, the first output node of the second flip-flop being electrically connected to the data input node of the third flip-flop, the second output node of the third flip-flop being electrically connected to the data input node of the first flip-flop; an XOR gate having two input nodes and an output node, one input node of the XOR gate being electrically connected to the clock signal, the other input node of the XOR gate being electrically connected to the second output node of the third flip-flop, the output node of the XOR gate being electrically connected to the clock input nodes of the first and the third flip-flops; and an inverter having an input node and an output node for inverting a signal inputted at the input node of the inverter, the input node of the inverter being electrically connected to the output node of the XOR gate, the output node of the inverter being electrically connected to the clock input node of the second flip-flop; whereby a frequency of a signal outputted at the first output node of the third flip-flop is equal to the frequency of the clock signal divided by 3.
  • 7. The frequency divider of claim 6 wherein the flip-flops are D flip-flops.
  • 8. The frequency divider of claim 6 wherein a state of a logic signal outputted at the first output node of a flip-flop during a given clock cycle follows a state of a logic signal inputted at the data input node of the flip-flop latched by the flip-flop during an immediately preceding clock cycle.
  • 9. A frequency divider for dividing a frequency of a clock signal by 5, the frequency divider comprising: a flip-flop chain having a first, a second, a third, a fourth, and a fifth flip-flop for latching signals, each flip-flop having a data input node, a clock input node, a first output node, and a second output node for outputting a logic signal complementary to a logic signal outputted at the first output node, the first output node of the first flip-flop being electrically connected to the data input node of the second flip-flop, the first output node of the second flip-flop being electrically connected to the data input node of the third flip-flop, the first output node of the third flip-flop being electrically connected to the data input node of the fourth flip-flop, the first output node of the fourth flip-flop being electrically connected to the data input node of the fifth flip-flop, the second output node of the fifth flip-flop being electrically connected to the data input node of the first flip-flop; an XOR gate having two input nodes and an output node, one input node of the XOR gate being electrically connected to the clock signal, the other input node of the XOR gate being electrically connected to the second output node of the fifth flip-flop, the output node of the XOR gate being electrically connected to the clock input nodes of the first, the third, and the fifth flip-flops; and an inverter having an input node and an output node for inverting a signal inputted at the input node of the inverter, the input node of the inverter being electrically connected to the output node of the XOR gate, the output node of the inverter being electrically connected to the clock input nodes of the second and the fourth flip-flops; whereby a frequency of a signal outputted at the fist output node of the third flip-flop is equal to the frequency of the clock signal divided by 5.
  • 10. The frequency divider of claim 9 wherein the flip-flops are D flip-flops.
  • 11. The frequency divider of claim 9 wherein a state of a logic signal outputted at the first output node of a flip-flop during a given clock cycle follows a state of a logic signal inputted at the data input node of the flip-flop latched by the flip-flop during an immediately preceding clock cycle.
  • 12. A frequency divider for dividing a frequency of a clock signal by a divisor N, the frequency divider comprising: N flip-flops for latching signals, each of the N flip-flops having a data input node, a clock input node, a first output node, and a second output node for outputting a logic signal complementary to a logic signal outputted at the first output node, the first output node of each but a last flip-flop being electrically connected to the data input node of a next flip-flop, the second output node of the last flip-flop being electrically connected to the data input node of the first flip-flop; an XOR gate having two input nodes and an output node, a first input node of the XOR gate being electrically connected to the clock signal, a second input node of the XOR gate being electrically connected to the second output node of the last flip-flop, the output node of the XOR gate being electrically connected to the clock input nodes of odd flip-flops; and an inverter having an input node and an output node for inverting a signal inputted at the input node of the inverter, the input node of the inverter being electrically connected to the output node of the XOR gate, the output node of the inverter being electrically connected to the clock input nodes of the even flip-flops in the flip-flop chain; whereby a frequency of a signal outputted at the first output node of the last flip-flop is equal to the frequency of the clock signal divided by the divisor N.
  • 13. The frequency divider of claim 12 the divisor N being an odd number.
  • 14. The frequency divider of claim 12 wherein states of logic signals outputted at the first output nodes of the flip-flops during a given clock cycle follow states of logic signals inputted at the data input nodes of the flip-flops latched by the flip-flops during an immediately preceding clock cycle.
  • 15. The frequency divider of claim 14 wherein the flip-flops are D flip-flops.
  • 16. The frequency divider of claim 12 wherein the divisor N is equal to 3.
  • 17. The frequency divider of claim 12 wherein the divisor N is equal to 5.