The present invention relates to a frequency divider circuits, and in particular, though not necessarily, to frequency divider circuits based upon a Johnson ring architecture.
Digital processing circuits require one or more clock signals to function. Clock signals are typically derived from a fundamental clock signal provided by a crystal oscillator. For example, a clock signal having a frequency lower than that of the fundamental clock signal can be obtained by dividing the fundamental clock signal by an appropriate amount. In circuits where multiple clock signals are required, these can be obtained in an efficient manner by chaining together a set of frequency dividers. For example, if the fundamental frequency is fo, frequencies fo/2 and fo/4 may be obtained by applying the fundamental clock signal to a divide-by-2 circuit and applying the output of that circuit to a further divide-by-2 circuit.
A problem arises where it is required to obtain a clock signal which is an odd number division of the fundamental clock signal frequency, i.e. where we need a divide-by-N circuit where N is an odd number.
For the purpose of illustration,
It is an object of the present invention to provide a divide-by-N counter which is able to generate an output signal having a duty cycle of 50%, where N is an odd number.
According to a first aspect of the present invention there is provided a circuit for deriving an output clock signal from an input clock signal, the output clock signal having a frequency which is 1/Nth of the frequency of the input clock signal, where N is an odd number, the circuit comprising:
a plurality of latches configured as a latch ring, the latches being arranged in successive pairs, each pair of latches comprising a first latch that switches on one of the rising or falling edge of the input clock signal, and a second latch that switches on the other of the rising or falling edge of the input clock signal; and
a memory element coupled to receive at one of its set and reset inputs an output from the latch ring that is switched on a rising edge of the input clock signal, and at the other of the set and reset inputs an output from the latch ring that is switched on a falling edge of the input clock signal,
said output clock signal being provided at an output of the memory element.
In an embodiment of the invention, said latches are D-type latches. Each said pair of latches provides a D-type flip flop. The number of latches in the latch ring is N+1.
In an embodiment of the invention, the set input of the RS flip flop is coupled to an output of an AND gate. Inputs of the AND gate are coupled to respective outputs of two latches that are both triggered by the rising edge of the input clock signal, or by the falling edge. More preferably, said two latches are the second latches of successive latch pairs in the ring. The reset input of the memory element is preferably coupled to an output of a first latch of one of the latch pairs.
In an embodiment of the present invention, said circuit is programmable to set the value of N from a plurality of values including odd and even values. The circuit may comprise a first multiplexer having an input coupled to the output of said AND gate, and one or more further inputs coupled to respective outputs of latch pairs. The circuit may comprise a second multiplexer having a first input coupled to an output of said memory element, and a second input coupled to an output of one of the latch pairs. The multiplexers are controlled to provide at their outputs one of the signals provided at their inputs.
Preferably, the memory element is an edge triggered device. More preferably, the memory element is an RS flip flop.
According to a second aspect of the present invention there is provided a method of generating a clock signal having a frequency which is 1/Nth of the frequency of an input clock signal, where N is an odd number, using a plurality of latches configured as a latch ring, the latches being arranged in successive pairs, each pair of latches comprising a first latch that switches on one of the rising or falling edge of the input clock signal, and a second latch that switches on the other of the rising or falling edge of the input clock signal, the method comprising:
setting the output of a memory element using an output from the latch ring that is switched on one of a rising or falling edge of the input clock signal, and resetting the memory element on the other of the rising or falling edge of the input clock signal,
said output clock signal being provided at an output of the RS flip flop.
There is illustrated in
The circuit of
The circuit of
Divide-by-2
Muliplexer MUX 1 is switched to input (a) and multiplexer MUX 2 is switched to input (b). Latches D Latch 3 to D Latch 6 are powered down, as are the RS flip flop and the output AND gate. The circuit effectively becomes a two latch counter, providing at the output of MUX 2 a divide-by-2 clock signal having a 50% duty cycle.
Divide-by-4
Muliplexer MUX 1 is switched to input (b) and multiplexer MUX 2 is switched to input (b). Latches D Latch 5 and D Latch 6 are powered down, as are the RS flip flop and the output AND gate. The circuit effectively becomes a four latch counter, providing at the output of MUX 2 a divide-by-4 clock signal having a 50% duty cycle.
Divide-by-5
In this circuit configuration all components are powered on. Multiplexer MUX 1 is switched to input (c), whilst multiplexer MUX 2 is switched to input (a). The state table for this configuration is illustrated in the table of
The state table of
It will be appreciated by the person of skill in the art that various modifications may be made to the above described embodiment without departing from the present scope of the invention. For example, whilst the embodiment described above makes use of D-type flip flop, an arrangement of JK flip flops may be used instead.
Number | Date | Country | Kind |
---|---|---|---|
0604263.4 | Mar 2006 | GB | national |
This national stage application claims the benefit under 35 U.S.C. §371 of International Application No. PCT/GB2007/050016 filed on Jan. 15, 2007, entitled FREQUENCY DIVIDER CIRCUITS, which takes its priority from U.S. Provisional Application No. 60/761,363 filed on Jan. 24, 2006 and also takes its priority from GB Application No. 0604263.4 filed on Mar. 3, 2006, and all of whose entire disclosures are incorporated by reference herein.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/GB2007/050016 | 1/15/2007 | WO | 00 | 10/7/2008 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2007/085867 | 8/2/2007 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5148050 | Koide | Sep 1992 | A |
6061418 | Hassoun | May 2000 | A |
6067339 | Knapp | May 2000 | A |
6424691 | Neravetla | Jul 2002 | B1 |
6570417 | Choi et al. | May 2003 | B2 |
6847239 | Leifso et al. | Jan 2005 | B2 |
7342425 | Kang | Mar 2008 | B1 |
20050110532 | Kuroki | May 2005 | A1 |
Number | Date | Country |
---|---|---|
0903859 | Mar 1999 | EP |
2041591 | Sep 1980 | GB |
59221031 | Dec 1984 | JP |
Number | Date | Country | |
---|---|---|---|
20090251176 A1 | Oct 2009 | US |
Number | Date | Country | |
---|---|---|---|
60761363 | Jan 2006 | US |