FREQUENCY CONTROLLED OSCILLATOR

Abstract: A frequency controlled oscillator (e.g. VCO) arrangement for fabrication in integrated circuit form comprises: at least one primary frequency controlled oscillator (100, 200); and a secondary frequency controlled oscillator (300) comprising: a frequency controllable oscillator circuit (310); counter means (340) arranged periodically to count pulses of the oscillation frequency of the frequency controllable oscillator and to produce a first output signal if the count is less than a predetermined value and to produce a second output signal if the count is greater than a predetermined value; and control means (350, 360) for providing a bias control signal in dependence on the output signals of the counter means for tuning the oscillation frequency of both the secondary voltage controlled oscillator and the or each primary frequency controlled oscillator. In an alternative arrangement (Fig. 2) a single oscillator (400) may alternately act as the primary and secondary oscillator, thereby to time itself.

Description: - 1 - FREQUENCY CONTROLLED OSCILLATOR This Invention relates to frequency controlled oscillators and particularly, though not exclusively, to voltage controlled oscillators (VCO's). The Invention finds particular application to VCO's fabricated in integrated circuit form- In a VCO an oscillator circuit is provided whose oscillation frequency 1s dependent on an applied voltage. In order to tune the VCO accurately to a particular desired frequency and 1n order to maintain this desired frequency in operation of the circuit, reference is conventionally made to a reference frequency external to the circuit (e.g. derived from an external crystal). However, where a VCO 1s to be made 1n an Integrated circuit, the use of such a reference external to the Integrated circuit requires the use of one pin of the integrated circuit. It will, of course, be understood that in integrated circuits the number of pins available Is strictly limited and so the use of one pin for an external reference frequency to tune an on-chip YCO may necessitate compromises in input/output functions and circuit design elsewhere 1n the integrated circuit. It 1s an object of the present Invention to provide a frequency controlled oscillator suitable for fabrication in integrated circuit form wherein the above disadvantage may be overcome or at least alleviated. In accordance with a first aspect of the present Invention a frequency controlled oscillator arrangement for fabrication in Integrated circuit form comprises: at least one primary frequency controlled oscillator; and a secondary frequency controlled oscillator comprising: a frequency controllable oscillator circuit; - 2 - counter means arranged periodically to count pulses of the oscillation frequency of the frequency controllable oscillator and to produce a first output signal 1f the count is less than a predetermined value and to produce a second output signal if the count is greater than a predetermined value; and control means for providing a bias control signal in dependence on the output signals of the counter means for tuning the oscillation frequency of both the secondary voltage controlled oscillator and the or each primary frequency controlled oscillator. In a particular embodiment of the invention the control means comprises: an up/down counter arranged to be decremented by the first output signal of the counter means and arranged to be incremented by the second output signal of the counter means; and digital to analogue converter means for generating the control signal representative of the count of the up/down counter. Preferably the predetermined value 1s changeable between a plurality of predetermined values. In accordance with a second aspect of the present invention, a frequency controlled oscillator arrangement for fabrication 1n integrated circuit form comprises: a frequency controllable oscillator circuit; counter means arranged to sample the output of the frequency controllable oscillator circuit 1n a first mode when the output is not required and to periodically count pulses of the sampled output signal and to produce a first output signal 1f the count 1s less than a predetermined value and a second output signal if the count 1s greater than the predetermined value; and control means for producing a bias control signal in dependence on the output signals of the counter means - 3 - for tuning the oscillation frequency of the frequency controlled oscillator. It will be appreciated that such a frequency controlled oscillator in accordance with the second aspect of the invention 1s particularly suited to applications where the oscillator 1s required to produce its output to drive additional circuitry only periodically, e.g. as a VCO 1n generating timebase signals 1n a television receiver. Two voltage controlled oscillators in accordance with the Invention will now be described, by way of example only, with reference to the accompanying drawings, 1n which: Figure 1 shows a block-schematic diagram of a first voltage controlled oscillator system; Figure 2 shows a block-schematic diagram of a second voltage controlled oscillator. Referring firstly to Figure 1, the horizontal time base section of an integrated circuit for use in a television receiver includes primary oscillators 100 and 200 and a secondary oscillator 300. The oscillator 100 includes a voltage controllable oscillator circuit 110 having control Inputs 112 and 114 and an output 116. The output 116 1s connected to the Input of a divider 120 and to the Input of a decoder 130. The decoder 130 is connected to receive in parallel from the divider 120 a six-bit word and to produce an output signal at node 140 when an output enable signal is applied at an input 132 of the decoder 130. The VCO 100 also includes a phase detector 150 having a first Input connected to the node 160 and a second input connected to the output of an exclusive OR gate 170. The output of the phase detector 150 1s connected directly to the input 114 of the voltage controllable oscillator circuit 110 and is also connected to one input of a multiplier 180. - 4 - The oscillator 200 Includes a voltage controllable oscillator circuit 210 having control inputs 212 and 214 and an output 216. The output 216 1s connected to the input of a divider 220 and to the input of a decoder 230. The decoder 230 is connected to receive in parallel from the divider 220 a six-bit word and to produce an output signal. The VCO 200 also includes a phase detector 250 having a first input connected to the node 260 and a second input connected to the output of the decoder 230. The output of the phase detector 250 is connected directly to the input 214 of the voltage controllable oscillator circuit 210. The VCO 200 also includes a coincidence detector 280 habing a first input connected to the node 260 and a second input connected to the output of the decoder 230. The output of the coincidence detector 280 is connected to a controlling microprocessor (not shown). The output of the decoder 230 Is also connected to one Input of the exclusive OR gate 170, the other input of the gate being supplied by the controlling microprocessor (not shown). The output of the coincidence detector is also connected to ground via a capacitor 290, to ground via a resistor 292 and a capacitor 294 and to ground via a resistor 296, a capacitor 298 and a switch 299 controlled by the microprocessor (not shown). The oscillator 300 Includes a voltage controllable oscillator circuit 310 having control inputs 312 and 314 and an output 316. The control input 314 1s connected to a potential divider constituted by resistors 316, 317 and supplied by a supply voltage V $ . The output 316 is connected to the input of a divider 320 whose output is connected to the signal input of a D-type flip-flop 330. The output of the flip-flop is connected to the reset - 5 - frequency F re f which is also applied to the clock Input of the flip-flop 330. The counter/divider arrangement 340 has two outputs which are connected to an up/down counter 350. The count of the counter 350 is applied as a parallel six-bit word to a digital to analog (D/A) converter 360. The output of the D/A converter is applied to the input 312 of the voltage controllable oscillator circuit 310 and also, as will be explained hereafter, to the Inputs 212 and 112 of the voltage controllable oscillator circuits 210 and 110 respectively. In use of the circuit a flyback signal is applied to node 160 and a horizontal sync signal is applied to node 260. The voltage controllable oscillator circuits 210 and 110 each produce nominal output frequencies of 1MHz, and the dividers 220 and 120 are each arranged to divide by 64. It will be understood that the signal derived at the output of the decoder 230 is the horizontal frequency signal. Coincidence of this signal with the horizontal sync pulse applied at node 260 is detected in the coincidence detector 280 and signalled to the microprocessor. The phase detector 250 compares the phase of the horizontal sync pulse applied at node 260 with the derived horizontal frequency from the decoder 230 and applies an appropriate control signal to the input 214 of the voltage controllable oscillator circuit 210. The phase detector 250 also receives additional inputs from the microprocessor 1n order to control Its gain and vertical Inhibit. The horizontal frequency signal derived from the decoder 230 is applied to one input of the exclusive OR gate 170, the other input of the gate being provided from the microprocessor. The output of the exclusive OR gate 170, which 1s a 180 degree phase shifted version of the horizontal frequency signal derived at the output of - 6 - of the decoder 230, 1s applied to the phase detector 150. The phase detector 150 compares the phase of the applied phase shifted horizontal frequency signal with the phase of the flyback signal applied at node 160 and produces an appropriate control voltage which is applied to the input 114 of the voltage controllable oscillator circuit 110. It will be understood that, when enabled at its input 132, the decoder 130 produces a horizontal drive signal which appears at node 140. It will be appreciated that for optimum operation with a video cassette recorder, the circuit sensitivity needs to be changed. This is effected by the microprocessor closing the switch 299, so bringing into circuit the resistor 296 and the capacitor 298. The voltage controllable oscillator 310 produces an output signal having a frequency, like the voltage controllable oscillators 210 and 110, of 1 MHz. The divider 320 divides this frequency down by 16 and this divided frequency 1s used by the flip-flop 313 to reset the counter/divider 340. The on chip reference frequency used to clock the counter/divider 340 is conveniently 4.4 MHz divided by 4, i.e. 1.1 MHz. After each reset the counter/divider 340 begins to count and if at the next reset a predetermined count value has been exceeded an output signal on the up output 1s generated. Conversely if at the next reset the predetermined count value has not been reached then a down output signal 1s generated on the down output. Thus at each reset of the counter/divider 340 the up/down counter 350 either (1) counts up 1f an up output signal was produced by the counter/divider 340, or (2) counts down if a down output signal was produced by the counter/divider 340 or (3) retains Its count at the same value if no output signal was produced by the counter/divider 340. - 7 - The count value of the up/down counter 350 1s converted by the digital-to-analog converter 360 to a bias voltage which Is applied to the input 312 of the voltage controllable oscillator 310 to tune its output to the desired frequency. The same bias control voltage Is applied to the Inputs 212 and 112 of the voltage controllable oscillators 210 and 110 to also tune their outputs to the desired frequency. Thus 1t will be appreciated that the primary VCO's 200 and 100 used to produce the horizontal drive signal at the node 140 are both tuned by providing the secondary VCO 300 to generate the bias control voltage. It will be appreciated that the bias control voltage 1s generated on-chip without using an external reference frequency and so obviates the use of a pin of the integrated circuit. In practice, the oscillator arrangement described enables the oscillators to maintain a free-running frequency accurate to __ Z% with on-chip RC time constants accurate to _+ 30%. It will be appreciated that 1n order to be able to change the oscillator frequencies between those required 1n the horizontal tlmebases of the different television systems, the predetermined value held by the counter/divider to determine whether it produces up or down signals is changeable (under microprocessor control) between different predetermined values. Referring now to Figure 2, the horizontal timebase section of a second integrated circuit for use 1n a television receiver includes a single voltage controlled oscillator 400. The VCO 400 Includes a voltage controllable oscillator circuit 410 having Inputs 412 and 414 and an output 416. The output 416 is connected to the input of a divider 420 whose output 1s connected to one Input of a multiplier 430. Another input of the - 8 - multiplier is connected to the output of an AND gate 431, one of whose inputs is connected to a node 460. The output of the multiplier 430 is applied via a switch 432 to the Input 414 of the voltage controllable oscillator circuit 410. The switch 432 switches the connection of the input 414 between the output of the multiplier 430 and a supply voltage V s through a voltage divider 433, 434. The output of the multiplier 430 is also connected to ground via a capacitor 435 and also to ground via a resistor 436 and a capacitor 437. The output of divider 420 1s also connected to one Input of an AND gate 438 whose output is connected to the input of a divider/counter 440. The divider/counter 440 is clocked by an on-chip reference frequency FREJΓ as in the previously described timebase circuit of Figure 1. The divider/counter 440 has two outputs which are connected to an up/down counter 450. The count of the up/down counter 450 is connected as a parallel six-bit word to the Input of a digital-to-analog converter 470. The output of the digital-to-analog converter 470 is connected to the input 412 of the voltage controllable oscillator circuit 410. The two outputs of the divider/counter 440 are also connected to the two inputs of an OR gate 471 whose output is connected to one input of an AND gate 472. The output of AND gate 472 1s connected to one input of an OR gate 473 whose output 1s connected to the reset inputs of two flip-flops 474, 475. The non-inverted output of flip-flop 474 is connected to the input of flip-flop 475 and the inverted output of flip-flop 475 is connected to one input of an OR gate 476. The inverted output of flip-flop 475 1s also connected to an input of AND gate 472 and also to one input of an OR gate 477. The inverted output of flip-flop 475 1s also connected to one input of an AND gate 478 whose output is connected to the input of - 9 - flip-flop 474. Another input of AND gate 478 is connected to the output of AND gate 438. The output of OR gate 477 1s connected to an input of AND gate 438 and also to an input of AND gate 431. An Input of OR gate 477 is connected to node 480. An input of OR gate 476 1s connected to node 490. In use the tlmebase circuit of Figure 2 operates similarly to the tlmebase circuit of Figure 1 and will only be described hereafter in so far as to explain its differences in operation. A horizontal sync signal is applied at node 460 and with the input 414 connected to the capacitor 435, the VCO loop 410, 420, 430 operates to generate the horizontal frequency, at the output of the divider 20, as in the previously described ti ebase generator of Figure 1. With the switch 432 In this position tuning of the VCO 1s performed wholely by the VCO loop 410, 420, 430. However, 1n those parts of the picture frame where the horizontal timebase signal is not used a frame signal which is applied to node 480 causes the AND gate 438 to be enabled and so causes the counter 440 to count. The counter/divider 440 produces up and down outputs which drive the up/down counter 450, and the digital-to-analog converter 470 produces a bias control voltage which 1s applied to input 412 to tune the oscillation frequency of the voltage controllable oscillator circuit 410, similarly to the timebase generator of Figure 1. When the frame signal applied at node 480 disables the AND gate 438 the counter 440 is prevented from counting. At the same time the switch 432 connects the Input 414 to the capacitor 435 and the VCO loop 410, 420, 430 generates the horizontal frequency as described above. The horizontal frequency signal may be disabled by an inhibit signal applied at node 490. - 10 - In order to allow the frequency of the VCO to be tuned to its desired value when the circuit is powered up, a power-on-reset signal applied to OR gate 473 via node 491 causes the circuit to be held in "tuning" mode until the counter/divider 440 has ceased to produce "up" or "down" signals for a predetermined number of cycles. It will be appreciated that in the timebase generator of Figure 2 the free running frequency of the voltage controllable oscillator circuit 410 1s tuned without having recourse to an external reference frequency, as in the timebase generator of Figure 1, but in the generator of Figure 2 no extra "secondary" VCO is used, the VCO being tuned when Its generated frequency 1s not required for driving additional circuitry.

Claims: - 11 - CLAIMS 1. A frequency controlled oscillator arrangement for fabrication in Integrated circuit form comprises: at lease one primary frequency controlled oscillator; and a secondary frequency controlled oscillator comprising: a frequency controllable oscillator circuit; counter means arranged periodically to count pulses of the oscillation frequency of the frequency controllable oscillator and to produce a first output signal 1f the count is less than a predetermined value and to produce a second output signal If the count 1s greater than a predetermined value; and control means for providing a bias control signal In dependence on the output signals of the counter means for tuning the oscillation frequency of both the secondary voltage controlled oscillator and the or each primary frequency controlled oscillator. 2. A frequency controlled oscillator arrangement for fabrication in integrated circuit form comprising: a frequency controllable oscillator circuit; counter means arranged to sample the output of the frequency controllable oscillator circuit in a first mode when the output Is not required and to periodically count pulses of the sampled output signal and to produce a first output signal if the count is less than a predetermined value and a second output signal if the count 1s greater than the predetermined value; and control means for producing a bias control signal 1n dependence on the output signals of the counter means - 12 - 3. A frequency controlled oscillator arrangement according to claim 1 or 2 wherein the control means comprises: an up/down counter arranged to be decremented by the first output signal of the counter means and arranged to * be incremented by the second output signal of the counter means; and digital to analogue converter means for generating the control signal representative of the count of the up/down counter for tuning the oscillation frequency of the frequency controlled oscillator. 4. A frequency controlled oscillator arrangement according to claim 1,2 or 3 wherein the counter means is arranged count pulses of a reference frequency and to be periodically reset. 5. A frequency controlled oscillator arrangement according to claim 2 further comprising power-on reset means for maintaining the arrangement in the first mode with the counter means has failed to produce output signals for a predetermined time. 6. A frequency controlled oscillator arrangement according to any preceding claim wherein the predetermined value is changeable between a plurality of predetermined values so as to tune the oscillator arrangement between a plurality of predetermined frequencies. 7. A frequency controlled oscillator arrangement according to any preceding claim wherein the frequency controlled oscillators are voltage controlled oscillators and the bias control signal 1s a voltage signal. 8. An integrated circuit device incorporating a frequency controlled oscillator arrangement according to any preceding claim. 9. A television timebase generator circuit Including a frequency controlled oscillator arrangement according to any one of claims 1 to 7.

Inventors: NEWTON ANTHONY DAVID, SMITH ROBERT, NEWTON, ANTHONY, DAVID, SMITH, ROBERT
Applicants: MOTOROLA INC, MOTOROLA, INC.
Application year: 1985
Main classification: H03L7
IPC codes: H03L7, H04N5