FREQUENCY DIVIDER
20170346495 · 2017-11-30
Assignee
Inventors
Cpc classification
International classification
Abstract
A variable frequency divider arrangement is arranged to divide a frequency of an incoming signal by a variable number D to provide a resultant signal. The arrangement comprises: a first counter having a first clock input and a first output undergoing a single cycle for P cycles of said first clock if a first control input is in a first state or undergoing a single cycle for P+1 cycles of said first clock if said first control input is in a second state; a second counter in series with said first counter 108 and having a second clock input and a second output undergoing a single cycle for every N cycles of said second clock, wherein N is an integer predetermined by a second control input; and a controller arranged to determine said first and second control inputs.
Claims
1. A variable frequency divider arranged to divide a frequency of an incoming signal by a variable number D to provide a resultant signal, the variable frequency divider comprising: a first counter having a first clock input and a first output undergoing a single cycle for P cycles of said first clock if a first control input is in a first state or undergoing a single cycle for P+1 cycles of said first clock if said first control input is in a second state; a second counter in series with said first counter and having a second clock input and a second output undergoing a single cycle for every N cycles of said second clock, wherein N is an integer predetermined by a second control input; and a controller arranged to determine said first and second control inputs such that said first control input is in said second state for a number A of first clock cycles such that D=N*P+A and wherein said controller is arranged to select N and A such that the resultant signal has cumulative high and low times which are the same to within half a cycle of said second clock input.
2. The variable frequency divider of claim 1 further comprising a signal translator which translates said resultant signal into a clock signal having double the frequency of the resultant signal.
3. The variable frequency divider of claim 1 wherein said controller is arranged to determine a value for N and A based on a value for D using a lookup table.
4. The variable frequency divider of claim 3 wherein the lookup table also specifies at which part of the cycle to place one or more extended-length pulses.
5. The variable frequency divider of claim 4 wherein the extended length pulse is placed on the shortest half-cycle of the output clock for at least some division values.
6. The variable frequency divider of claim 4 wherein the extended length pulse is placed equally in the first and second half cycles of the output clock when N is even.
7. A variable frequency divider arranged to divide a frequency of an incoming signal by a variable number D to provide a resultant signal, the variable divider comprising: a first counter having a first clock input and a first output undergoing a single cycle for P cycles of said first clock if a first control input is in a first state or undergoing a single cycle for P+1 cycles of said first clock if said first control input is in a second state; a second counter in series with said first counter and having a second clock input and a second output undergoing a single cycle for every N cycles of said second clock, wherein N is an integer predetermined by a second control input; and a controller arranged to determine said first and second control inputs such that said first control input is in said second state for a number A of first clock cycles such that D=N*P+A and wherein said controller is arranged to determine where in the cycle of the second counter the first control input is in said second state such that the resultant signal has cumulative high and low times which are the same to within half a cycle of said second clock input.
8. The variable frequency divider of claim 7 comprising a lookup table which specifies at which part of the cycle to place one or more extended-length pulses.
9. The variable frequency divider of claim 8 wherein the extended length pulse is placed on the shortest half-cycle of the output clock for at least some division values.
10. The variable frequency divider of claim 8 wherein the extended length pulse is placed equally in the first and second half cycles of the output clock when N is even.
11. A phase-locked loop comprising the frequency divider of claim 1.
12. A digital radio transmitter or receiver comprising the phase locked loop of claim 11.
13. A phase-locked loop comprising the frequency divider of claim 7.
14. A digital radio transmitter or receiver comprising the phase locked loop of claim 7.
Description
[0017] An embodiment of the invention will now be described, by way of example only, with reference to the accompanying drawings in which:
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026] A conventional fractional N phase locked-loop (PLL) to which the invention can be applied is shown in
[0027] A variable modulus pre-scaler (VMP) circuit 108 is used to divide the frequency by P or P+1 depending upon the control signal it receives from a further divider module 110, which divides the frequency by a further integer N before feeding the phase detector 104. The frequency of the VCO 102 is therefore controlled to be F.sub.ref*N*(nP+m(P+1)) where F.sub.ref is the reference crystal frequency and n and m are the relative proportions of the occurrences of the respective counts P and P+1 over a given time period.
[0028] The divider module 110 is controlled by a sigma-delta modulator (SDM) 112 to determine the above-mentioned relative proportions of P and P+1 counts, so determining the precise frequency. In this circuit there is inevitably quantisation noise coming from the SDM 112 corresponding to steps of 32 MHz (the reference frequency, F.sub.ref).
[0029] The precisely divided average frequency signal is fed to the phase detector 104 which generates an output signal to control the VCO 102 in accordance with any mismatch between the signal from the divider 110 and the reference clock input signal CK_REF. Since the divided clock is used as an input to an edge-triggered phase detector, its duty cycle is not critical. However it will generally be significantly different from 50%.
[0030]
[0031] The input clock, CK_I for the VMP 108 is provided by the output of the VCO 102 (see
[0032]
[0033] The division by 5 of the DIVN module 110 is implemented by setting the counter to C_N−1=4 and then counting down to 0. The resultant clock signal C_O1 is shown in the fifth plot. This shows the clock output signal CK_O1 is high for two cycles of the CK_INT signal by which the DIVN module 110 is clocked, and low for three cycles. Of course the length of each half-cycle is unequal as is inevitable when dividing by an odd number but this does not matter for the purposes of the edge-triggered phase detector 104.
[0034] The final plot is the double-frequency output clock CK_O2. This is realised by defining internal states where the output should rise or fall. In this example the CK_O2 output is set to go high whenever the CK_O1 output has a transition (low to high or high to low), then go low again after one cycle of CK_INT. As can be seen from the fifth plot of
[0035]
[0036] To achieve the same overall count of 20, the DIVN divider module 110 is set to divide by 4 this time. The division by 4 by the DIVN module 110 is implemented by switching its control signal C_N (fourth plot) from high to low (or vice versa) for every 4 periods of the pre-scaler count CK_INT. The resultant clock signal C_O1 is shown in the fifth plot. This shows the clock output signal CK_O1 is high for two cycles of the CK_INT signal by which the DIVN module 110 is clocked, and low for two cycles. The length of each half-cycle is now equal.
[0037] The double-frequency output clock CK_O2 is derived in the same way: going high whenever the CK_O1 output has a transition, then going low again after one cycle of CK_INT. As can be seen from the fifth plot of
[0038] While the example given above is a relatively simple one, the principle of adjusting, in accordance with the invention, the relative values of N and A for a given value of P to give a significantly more even duty cycle is clearly illustrated. A more realistic example that also employs count-dependent placement of the C_P pulse can be seen from the table of
[0039]
[0040] The two left hand columns in
[0041] The fourth and fifth columns on the other hand show these values N′ and A′ modified in accordance with the invention. It will be seen that in general N′ is equal to or lower than N and consequently A′ is higher than or equal to A (when N′=N−1; A′=A+P. Although for many of the total count values N′ and A′ are the same as N and A respectively, overall these columns show that by deviating from an ‘automatic’ scheme and providing specific values for each total count, and by specifying the placement of the C_P pulse as will be explained below, the duty cycle can be made very close to 50% as shown in the right hand column and
[0042] As well as an adjustment to the counts applied by the pre-scaler 108 and DIVN module 110, the Applicant has further appreciated that a more even duty cycle can be achieved by judicious placement of the extended-length pulses—i.e. by appropriate selection of when the C_P signal pulse is applied. This is given in the sixth column of
[0043] With additional reference to
Total count=3*8+9*9+4*8=137
[0044] It will be appreciated that in this example the C_P pulse spans the first and second halves of the CK_O1 cycle. Together with the choice of N and A this gives 69 pulses high (penultimate column of
[0045] In another example (not illustrated in a timing diagram) using the total count=141 row, N′=17 and A′=5. The DIVN counter 110 counts down from 16 (=N′−1) at which point the C_P signal is low and so the VMP counts 8 (=P) for each cycle of the DIVN counter. In this case C_P stays low for 10 cycles of the DIVN output (CK_INT). When the DIVN counter gets to 6 as indicated by the sixth column of
Total count=10*8+5*9+2*8=141
[0046] It will be appreciated that in this example the C_P pulse is skewed slightly towards the second half of the CK_O1 cycle. This gives 71 pulses high and so a duty cycle of 71/141=50.4% is achieved.
[0047] Finally using the total count=146 row (also not illustrated), N′=18 and A′=2. The DIVN counter 110 counts down from 17 (=N′−1) at which point the C_P signal is low and so the VMP counts 8 (=P) for each cycle of the DIVN counter. In this case C_P stays low for 8 cycles of the DIVN output (CK_INT). When the DIVN counter gets to 9 as indicated by the sixth column of
Total count=8*8+2*9+8*8=146
[0048] In this example the C_P pulse exactly spans the first half and second half of the CK_O1 cycle. This gives 73 pulses high and so a duty cycle of 73/146=50.0% is achieved.
[0049] The comparison between the original, automatic scheme and the arrangement in accordance with the invention is shown in
[0050] Although a particular modified mapping for N to N′ and A to A′ and a placement in the CK_O1 cycle (as indicated by the state C_P start column) is shown for each value of the total count, this particular mapping and placement is merely an example and different mappings and placements could be applied for different values of P and total count for example. The key is that the provision of a specific mapping and placement for each count value (which may be in the form of a lookup table) allows an advantageous near-50% duty cycle to be achieved.