This invention relates generally to a phase locked loop frequency control system and more particularly to logic for fast tuning the frequency of such a system.
Many digital frequency synthesizers employ a phase locked loop circuit comprising a voltage controlled oscillator (VCO) whose output signal at a frequency of f.sub.VCO is supplied to a divide-by-N divider. The output frequency of the divider f.sub.VCO /N in turn is supplied to a phase detector. A reference frequency f.sub.r is also supplied to the phase detector which compares f.sub.r with f.sub.VCO /N to produce a frequency control signal e.sub.c which is supplied to the frequency control input of the VCO through a loop filter circuit. By well known principles f.sub.VCO /N will become equal to f.sub.r. By changing the value of N the VCO output frequency will also change so that its divided down frequency f.sub.VCO /N will remain equal to f.sub.r. However, because of constraints put upon the system by the loop filter the changing of the frequency f.sub.VCO is relatively slow. To speed up the attainment of the new f.sub.VCO prior slow. To speed up the attainment of the new f.sub.VCO prior art schemes apply a coarse tuning voltage to the frequency control input of the VCO to pre-position it to the approximate final output frequency f.sub.VCO. The usual method of such coarse tuning is to add a dc voltage to the loop error voltage, i.e., the output of the phase detector whenever a new output frequency is desired. A disadvantage of such prior art schemes is that the coarse voltage is continuously applied. Hence, any noise on the coarse tuning voltage will cause frequency modulated (FM) noise to be generated by the VCO. If the coarse tuning voltage is filtered to reduce noise, the time delay added by this filter will increase the settling time.
The present invention provides a coarse tuning circuit that avoids the difficulties mentioned above in that it coarse tunes the VCO output frequency rapidly and without the perturbations normally caused by noise in prior art schemes.
In a preferred embodiment of the invention there is provided, in a phase locked loop for locking the phase of a reference signal e.sub.r of frequency f.sub.r to the phase of an input signal e.sub.VCO and comprising a voltage controlled oscillator (VCO) for generating a signal e.sub.VCO of frequency f.sub.VCO, a divide-by-N circuit, a frequency/phase detector responsive to the phases of e.sub.VCO and e.sub.r to supply a frequency control signal e.sub.c to the VCO, a loop filter circuit comprising a resistor and a capacitor for filtering e.sub.c, and logic for changing N to a new value N' at time intervals not less than T, an improved circuit responsive to each change of N for coarse tuning the control signal supplied to the VCO and comprising a voltage generator responsive to each new value N' for generating a coarse tuned voltage having a magnitude which, when impressed across the capacitor, will change the frequency f.sub.VCO so that the new f.sub.VCO /N will approximate f.sub.r, and gating logic responsive to each change in N to disconnect the output of the frequency/phase detector and coincidentally to supply the coarse tuned voltage across the capacitor for a time interval .DELTA. where .DELTA.<<T, and then to reconnect the output of the frequency/phase detector.
In the sole FIGURE (FIG. 1) there is shown a block diagram of a preferred form of the invention.
FIG. 1 includes a conventional phase locked loop consisting of VCO 108 whose frequency output f.sub.VCO is supplied to a divide-by-N counter 106 to produce an output frequency f.sub.VCO /N which is supplied to an input 111 of digital frequency/phase detector 110. A reference frequency source 113 supplies a reference signal of frequency f.sub.r to the second input 115 of digital frequency/phase detector 116.
There are two outputs 119 and 121 from digital frequency/phase detector 110 which are, respectively, positive and negative in nature and depending upon the phase relationship of f.sub.VCO /N and f.sub.r, energizes either current pump 112 or current pump 114. The two current pumps 112 and 114 respectively supply positive or negative analog currents to current adder 118 which in turn supplies a combined output current through normally conductive transmission gate 120 to frequency control input 125 of VCO 108. VCO 108 responds to such frequency control input to cause its output frequency f.sub.VCO to become equal to Nf.sub.r in a well known manner. The filter 130, consisting of resistor 132 and capacitor 134 smoothes the output of current adder 118 and provides a predetermined loop filter bandwidth for the system of about 10% of f.sub.r.
Also part of the prior art is the logic within the dashed line block 101 which consists of logic for changing the value of N in divider 106. More specifically, a suitable control source such as microprocessor 100 will, in response to certain conditions, supply a value N to register 102 which will then, in response to a change channel pulse appearing on the lead 103, will be supplied to input terminals 107 of comparator 104. Also supplied to comparator 104 via leads 109 is the current count value of counter 106. When the count value of a counter 106 reaches the value N appearing in register 102 the comparator 104 will supply a correlation output signal via lead 117 which will indicate that counter 106 has attained a count value equal to N and will reset counter 106 to 0 and also supply a pulse to digital frequency/phase detector 110. It is to be noted that the output terminal of comparator 104 is, in fact, the terminal on which the signal having the frequency f.sub.VCO /N appears. It is apparent that if a new value of N is placed in register 102 the comparator 104 will output a signal on its output terminal 117 each time counter 106 counts to the new value N. In this manner the count capacity of counter 106 is effectively changed to change the frequency of the signal supplied to the detector 110.
The inventive portion of the circuit is primarily contained within dashed block 133 and includes coarse tune voltage word generator 132, (which can be a ROM) a digital-to-analog converter (DAC) 134, a normally non-conductive transmission gate 128 the output of which is connected across the capacitor 134 of loop filter 130, also employed as part of the inventive portion of the circuit. Further included within block 133 is a one-shot multivibrator 122 the output of which is responsive to each change of channel pulse appearing on lead 103 to cause the normally conductive transmission gate 120 to become non-conductive (through inverter 126) for the duration of the output pulse 124 of one-shot multivibrator 122, and to cause normally non-conductive transmission gate 128 to become conductive for such duration of pulse 124. Thus, the normally conductive transmission gate 120 and the normally non-conductive transmission gate 128 in cooperation with inverter 126 form a multiplexing circuit under control of the output of one-shot multivibrator 122.
Consider the operation of the logic within block 133 more specifically. Upon the occurrence of every change of channel pulse appearing on the output lead 103 of microprocessor 100 the one-shot multivibrator 122 generates an output pulse 124 which causes transmission gate 120 to become non-conductive for the duration thereof and transmission gate 128 to become conductive for the duration thereof. Simultaneously, a new value of N appears in register 102 and is supplied via bus 105 as an address to the input of coarse tuned voltage word generator 132, which is preferaly a ROM. The value N supplied to ROM 132 accesses a memory location thereof, the contents of which is a digital word that represents the coarse voltage required to approximately tune the VCO to the new output frequency. The word is supplied to DAC 134 which converts such digital words to analog voltage, which is in turn supplied through the now conductive transmission gate 128 across the capacitor 134 in loop filter 130. The charge across capacitor 134 will change to the peak value output of DAC 134 during the time duration of output pulse 124 of multivibrator 122.
The new voltage appearing across capacitor 134 now becomes the frequency control input signal to VCO 108 and will cause the frequency f.sub.VCO of the output of VCO 108 to very rapidly tune to the approximate new frequency demanded by the change in the value of N appearing in register 102 which, as discussed above, is the new count capacity of counter 106. It should be specifically noted that the contents of the memory location accessed in ROM 132 by the new value of N has a value which, when converted to an analog value by DAC 134, is of the proper magnitude to make such coarse adjustments in f.sub.VCO.
At the end of the duration of pulse 124 transmission gate 120 will return to its normally conductive state and transmission gate 128 will return to its normally non-conductive state so that the logic in block 133 is now effectively out of the circuit.
The output of the digital frequency/phase detector 110 will now be responsive to the new coarse value of f.sub.VCO /N and will modify the new voltage appearing across capacitor 134 to pull in f.sub.VCO to a phase locked condition. Since the coarse tune voltage has been disconnected from the capacitor 134, the coarse tune voltage cannot contribute any noise components which would cause undesirable modulation of the VCO output frequency.
It is to be understood that the time duration of the output pulse 124 from multivibrator 122 is very short and can be less than the period of a cycle of the frequency f.sub.VCO /N and less than the time duration of the change of channel command pulses generated by microprocessor 100 on output lead 103.
A digital frequency/phase detector and current pumps 112 and 114 suitable for use in the present invention are shown and described in detail in a publication entitled "Charge-Pump Phase-Lock Loops" by Floyd M. Gardner, appearing in the November, 1980 issue of the "IEEE Transactions on Communications", Vol. Com-28, No. 11, pages 1849-1858, and incorporated herein by reference. The structure of the publication has capability of pulling into sync a signal having a frequency difference as well as a phase difference.