Abstract:
A voltage controlled oscillator comprises a plurality of differential amplification stages each arranged to introduce a phase shift between its differential input signal and its differential output signal. The frequency at which the desired phase shift occurs can be controlled by adjusting the control signal Vc. The stages are arranged such that the output of one amplifier becomes the input to the next amplifier, making the phase shift additive. Further, a phase shift of 180° may be introduced by inverting the output from one stage before inputting it to the next stage. The total phase shift introduced by the stages is 360°. In this way, an oscillating signal of varying phase shift is produced at the output of each stage. Each stage comprises a standard differential amplifier, well known in the art, having a matched pair of p-channel transistors and a matched pair of n-channel transistors. The differential input is applied to each gate of the n-channel transistor pair, and the differential output is generated at the drains of the n-channel transistor pair.

Description:
FIELD OF THE INVENTION 
     This invention relates to a voltage controlled oscillator. 
     BACKGROUND TO THE INVENTION 
     A common application of a voltage controlled oscillator is in a phase locked loop. A phase locked loop comprises a phase comparator which compares the phase between a periodic incoming signal and a feedback signal. The phase comparator generates an error signal dependent on the phase difference. The error signal is passed through a filter to form a control signal for a voltage controlled oscillator which generates an output signal oscillating at a frequency dependent on the voltage of the control signal supplied from the filter to the voltage controlled oscillator. 
     Such loops are well known and have many applications, one of which is to increase on a chip the frequency of an external clock signal supplied to the chip. In such a case the output signal from the voltage controlled oscillator is fed back through a divide-by-n circuit to form the feedback signal for the phase comparator. The external clock signal is used as the incoming signal and the output signal from the voltage controlled oscillator (before it is fed back through the divide-by-n circuit) thus forms a periodic signal which oscillates at a selected multiple of the frequency of the incoming signal and at a fixed phase relative thereto. 
     Phase locked loops have been used to perform this function for some years now. However, problems have arisen when these loops are implemented on a chip with other circuitry. On chip circuitry, particularly logic circuitry, generates noise which can have a significant effect on the power supply which is required for operation of the phase locked loop. It is desirable that the phase locked loop be immune to such noise. Moreover, the stability of the loop is a function of its open loop gain which varies considerably with process and temperature conditions. It is difficult therefore to design a phase locked loop to have a particular open loop gain which will remain constant under different conditions. 
     An important component of a phase locked loop is the voltage controlled oscillator, and with existing designs this is also the most sensitive to noise affecting its power supply. A commonly used voltage controlled oscillator is based on a principle of operation in which a current source within the voltage controlled oscillator is controlled by the control signal for the voltage controlled oscillator to generate a current in dependence on the voltage of the control signal. The value of this current affects the rate at which a capacitor of the voltage controlled oscillator charges or discharges. On a graph of voltage against time, a ramp of a gradient depending on the current is thus generated. At the point at which this crosses a predetermined threshold, a voltage transition is generated which forms an edge of the output signal. The frequency of the output signal is related to the gradient of the ramp. If the output signal of the voltage controlled oscillator is to produce edges at fixed intervals it is important that the voltage ramp always crosses the threshold with a fixed delay from initiation of the ramp. Noise from the power supply can affect the shape of the ramp by introducing spikes or glitches so that there is no longer certainty over the time at which the ramp will cross the threshold. In these circumstances, the output signal is said to suffer from &#34;jitter&#34;. A clock signal with jitter is unacceptable for many timing applications. 
     To overcome this, with some voltage controlled oscillators, a resistor is placed in one of the power supply lines to form, with capacitance between the positive and ground supply lines, a filter for filtering noise from the power supply. In this way, the voltage controlled oscillator is decoupled from the power supply. This has a disadvantage in that voltage is dropped across the resistor which reduces the supply available to the phase locked loop. As the speed requirement for the phase locked loop increases, so more current will be consumed and with this the voltage drop across the resistor will be increased, perhaps to such an extent that there will be insufficient supply to operate the phase locked loop. 
     It is an object of the present invention to provide a voltage controlled oscillator which is less sensitive to power supply noise. This means that the resistor included in the supply line of the power supply can be reduced in value or removed altogether. This would have the desirable result that less or no voltage would be dropped across the resistor, thus allowing the voltage controlled oscillator to consume more current and hence function at higher frequencies. 
     SUMMARY OF THE INVENTION 
     According to the present invention there is provided a controllable oscillator comprising at least three differential amplification stages, each amplification stage having first and second input terminals and first and second output terminals, the first and second input terminals of each stage being connected to the first and second output terminals of a preceding one of the amplification stages to receive a difference signal therefrom, whereby the amplification stages are connected in a loop, each stage being arranged to introduce a predetermined phase shift between said input and output difference signals, the phase shift of each amplification stage at a preset frequency and the number of amplification stages being selected so that the loop introduces a total phase shift of 360°, the preset frequency being controllable in response to a control signal applied to each amplification stage. 
     In the described embodiment, the oscillator comprises four such amplification stages, each introducing a phase shift of 45° at the preset frequency and the output of one of the amplification stages being inverted before being supplied to a next one of the amplification stages. 
     However, any suitable number of stages can be used. In particular three such amplification stages each introducing a phase shift of 60° at the preset frequency, the output of one of the amplification stages being inverted before being supplied to a next one of the amplification stages. 
     In the described embodiment, each amplification stage comprises first and second n-channel transistors, each having a gate electrode connected to receive a respective one of the output signals from the previous amplification stage and the sources of which are connected together and to a controllable current source and the drains of which are connected via respective load elements to a supply voltage. In this specification, the term &#34;gate&#34; will be understood to connote the gate electrode of the corresponding device rather than the gate region (channel region). 
     In one circuit each load element comprises a p-channel field effect transistor having its gate connected to its drain, its drain connected to the drain of a respective one of the n-channel field effect transistors and its source connected to the supply voltage, the output signals from each stage being taken across the drains of the p-channel transistors. In another circuit, each load element comprises an n-channel transistor having its gate and drain connected to the supply voltage and its p-well connected to its source, the output signals from each stage being taken across the sources of the n-channel transistors. 
     In one form the current source comprises a field effect transistor the gate of which is connected to receive said control signal, and which has a gate length selected so that the source to drain current is substantially independent of the drain voltage. 
     In another form, substantially immune to the effect of process variations, the current source comprises an n-channel field effect transistor having its gate connected to the gate of a further n-channel transistor, the gate of said further transistor being connected to its drain and the drain of the further transistor being connected to the drain of a p-channel field effect transistor the gate of which is connected to receive said control signal. 
     The oscillator can be used with first and second comparators connected across the output of each differential amplification stage in opposite senses so as to provide first and second clock signals whose frequency depends on the preset frequency. 
     To ensure that the oscillator operates in an a.c. mode, the outputs of one of said amplification stages can be crossed over before being connected to the inputs of the next of said amplification stages thereby to introduce a phase shift of 180°. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a diagram of a phase locked loop; 
     FIG. 2 is a diagram of a voltage controlled oscillator in accordance with one embodiment of the present invention; 
     FIG. 3 is a circuit diagram of one embodiment of a stage of the voltage controlled oscillator of FIG. 2; 
     FIG. 4 is a small signal equivalent circuit of the stage of FIG. 3 of the voltage controlled oscillator; 
     FIG. 5 is a diagram illustrating the relationship between source current Ids and drain voltage Vds in a field effect transistor; 
     FIG. 6 shows an improved current source for use in the circuit of FIG. 3; 
     FIG. 7 is a circuit diagram of another embodiment of a stage of the voltage controlled oscillator of FIG. 2; and 
     FIG. 8 is a diagram illustrating a voltage controlled oscillator capable of providing a plurality of clock signals, phase shifted relative to each other. 
    
    
     For a better understanding of the present invention, and to show how the same may be carried into effect, reference will now be made by way of example to the accompanying drawings. 
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     FIG. 1 illustrates a conventional phase locked loop. The loop comprises a comparator 2 which compares the phase between an incoming signal φin and a feedback signal F to generate an error signal ε dependent on the phase difference. The error signal ε is fed to a low pass filter 4 which produces a control signal Vc the voltage of which is dependent upon the error signal ε. The control voltage Vc is supplied to a voltage controlled oscillator 6, which produces an output signal φout oscillating at a frequency dependent on the voltage of the control signal Vc. The output of the voltage controlled oscillator φout is also fed via a divide-by n-circuit 8 to the phase comparator as the feedback signal F. The phase locked loop operates, in a manner which is well known, to hold the frequency of the output signal φout at a fixed multiple of the frequency of the input signal φin and with a fixed or zero phase difference relative thereto. 
     FIG. 2 shows a voltage controlled oscillator comprising four differential amplification stages 10,12,14,16 connected in a loop. Each stage has positive and negative inputs so that the voltage input to each stage is a difference between two input values. This is termed herein a differential voltage signal. Each stage also has two outputs across which is supplied a differential output voltage signal designated V 1 ,V 2 ,V 3 ,V 4  for stages 10,12,14,16 respectively. Each of the second, third and fourth stages 12,14,16 receives at its inputs the differential signal supplied across the voltage outputs of the previous stage. The output V 4  of the fourth stage 16 is inverted (by crossing over the output lines of the fourth stage) before being connected to the inputs of the first stage 10 as input signal V o . There is also connected across the outputs of each differential amplification stage a capacitor, 18,20,22,24 respectively. These extra capacitors may not be necessary in circumstances where the input of each differential stage itself has a high enough capacitance to cause an adequate phase shift in the output of the preceding stage as discussed hereinafter. 
     The oscillator is designed so that when it is supplied with power, small amplitude (for example less than about 20% of the supply voltage) sinusoidal difference signals are generated. This is achieved by ensuring that the total phase shift of the loop, that is the phase shift between output V 4  and input V o  is 360°. In the circuit of FIG. 2, each differential amplification stage is designed to provide an output signal phase shifted by 45° at a desired frequency with respect to the input signal and to have a small signal gain greater than unity at the desired frequency. The open loop phase shift of the circuit of FIG. 2 (V o  →V 4 ) is thus 180°. By inverting the output V 4  of the fourth stage 16 and feeding it back to the first stage 10 an effective further phase lag of 180° is introduced. It will be appreciated that the phase shifts referred to herein are phase lags, but that the minus sign normally used to denote a phase lag is not used herein. The end result is that each differential amplification stage produces a differential output signal varying at the same frequency as the signal input to it but phase shifted by 45°. The frequency is controlled by the voltage of the control signal Vc which is fed to each stage. 
     By arranging for each stage to receive and supply difference signals, any changes in the power supply affect both inputs (or outputs) in the same way so that the effect on the differential signal is minimal. The circuit of FIG. 2 thus provides a significant advantage in reducing the effect of power supply noise. 
     Changes in the power supply can however shift the quiescent bias point of the stages, that is the voltage level about which the differential signal oscillates. It is important that the characteristics of each stage are not unduly affected by changes in this voltage level, and this is generally expressed by indicating that the stage should have a high common mode rejection ratio. This is normally defined in decibels (dB) as the ratio of the differential gain to the common mode gain. FIG. 3 shows a circuit illustrating how each differential amplification stage can be implemented to satisfy this requirement. As will become apparent from the following, the circuit of FIG. 3 also has the advantage that its decisive parameters for implementation in an oscillator are largely independent of process variations. 
     FIG. 3 shows two p-channel field effect transistors 26,28 and two n-channel field effect transistors 30,32 connected as a long-tail pair. The p-channel transistors are matched as far as possible, as are the n-channel transistors. The sources of the p-channel transistors 26,28 are connected to a voltage supply line Vdd and their drains are connected to the drains of respective ones of the n-channel transistors 30,32. Moreover, the gates of the p-channel transistors 26,28 are connected to their drains. The sources of the n-channel transistors 30,32 are tied together and connected to the drain of an n-channel field effect control transistor 34. A capacitor 36 is connected between the drains of the n-channel transistors 30,32. The gates of the n-channel transistors 30,32 receive respectively the positive and negative input voltages v i  +,v i  - supplied to each stage. The source current of the control transistor 34 is designated Iss and controls the frequency at which the desired phase shift is introduced between output and input in a manner which will be described more fully hereinafter. The control transistor 34 receives the control signal Vc at its gate. The output values v o  -, v o  + are taken from output nodes 31,33 connected to the drains of the n-channel transistors 30,32. 
     The section of the circuit illustrated in FIG. 3 outlined with a broken line, that is comprising the n-channel transistors 30,32, the p-channel transistors 26,28 and the capacitor 36 connected across their drains can be modelled for small sinusoidal signals as shown in FIG. 4. In FIG. 4, the combination of each p-channel transistor 26,28 and its associated n-channel transistor 30,32 is modelled as a current source of value g mn  v gs  (where g mn  is the small signal transconductance of the n-channel transistor and v gs  is the gate to source voltage of the transistor) and an output impedance r o  connected in parallel with the current source. The output impedance is a function of the conductance of the n-channel and p-channel transistors g dsn , g dsp  and of the transconductance g mp  of the p-channel transistors. In this circuit, v gs  is the voltage v i  applied to the gate of each n-channel transistor. 
     Equation 1 gives the relationship of r o  to g dsn , g dsp  and g mp . ##EQU1## FIG. 5 is a graph showing the relationship between the source to drain current I ds  and the source to drain voltage V ds  of a field effect transistor. The region to the right of the dotted line in FIG. 5 is known as the saturation region of the transistor, and in this region changes in the drain to source voltage V ds  do not significantly affect the drain current I ds . Thus, in the saturation region, g ds  is small and certainly at least an order of magnitude smaller than g m . As the gate length increases, the characteristic in the saturation region becomes flatter to the extent that g ds  thus tends to zero. If the gate of the transistor is long, that is around 5 microns or greater, the drain current I ds  is nearly independent of the source to drain voltage V ds . 
     For cases where g dsn , g dsp  &lt;&lt;g mp , Equation 1 thus approximates to ##EQU2## An analysis of the equivalent circuit shown in FIG. 4 reveals that the differential output v od  is given by: ##EQU3## where: 
     
         vod=(v.sub.o +)-(v.sub.o -), and 
    
     
         vid=(v.sub.i +)-(v.sub.i -), 
    
     these variables being shown in FIG. 3. 
     When the circuit is in oscillation at a frequency w o ,s=jw o . It is required that the phase shift arg(v od  /v id )=-45°. So ##EQU4## From this it can be deduced that ##EQU5## From this, it can be seen that the oscillation frequency of the circuit can be controlled by varying the output impedance r o . By substituting a value for r o  from Equation 1a, ##EQU6## In addition to determining the frequency at which the correct phase lag is introduced, it is necessary that the gain of each stage be set at or above unity at the frequency of oscillation. Otherwise, according to conventional control theory, there will be no oscillation. In order to achieve a perfect sinusoidal output for a sinusoidal input, the gain should be exactly one, but this is not achievable in practice. However, the gain should be designed to be as close to unity as possible. 
     If the effect of transistor output conductance g ds  is ignored on the basis of the assumptions made above, at the desired frequency the a.c. gain of the circuit is given from Equation (2). Substituting Equations 1a and 4 into Equation 2 and rationalising gives: ##EQU7## The gain can thus be set by selecting the approximate relationship between the transconductance g mn , g mp  of the n-channel and p-channel transistors. The sizes of the transistors are thus selected so that Equation (6) gives a gain of just above unity at the quiescent bias point. Equation (6) illustrates an important feature of the circuit of FIG. 3, namely that the small signal a.c. gain does not depend on operating conditions of the circuit, and in particular is not affected by changes in the control signal Vc or by noise in the power supply. 
     The circuit of FIG. 3 has other important features. The frequency at which the desired phase shift between output and input is introduced is controlled by the voltage of the control signal Vc and is largely immune to power supply noise. This can be appreciated from the following explanation. 
     For a field effect transistor, g m  is a function of the device dimensions (width, W, length, L), process parameters (mobility μo, oxide capacitance C ox ), transistor operating region and the source current I DS . The relation is given by Equation 7 ##EQU8## This has some important ramifications. As illustrated by Equation (5), the frequency at which the amplification stage introduces a phase shift of 45° can be predetermined by selecting appropriate values of C and g mp . C can be readily determined by selecting an appropriate capacitor. g mp  depends on the parameter shown in Equation (7). The width W and length L can be set during design, and μ o  and C ox  are constant process parameters so that the frequency w o  can be finally adjusted by controlling the source current I DS  of the p-channel transistors 26,28 to be a preset value. None of the parameters is affected by power supply noise so the frequency at which the desired phase lag is introduced is immune to variations in the power supply. 
     In the circuit of FIG. 3, the source current I DS  of each p-channel transistor 26,28 is controlled to a value I SS/2  where I SS  is the drain current of the control transistor 34. The control signal V c  is supplied to the gate of the control transistor 34. The control transistor is manufactured with a long gate (5 μm or greater) and is operated in the saturation region so that I SS  is independent of the drain voltage (see FIG. 5 and the accompanying explanation supra), and depends substantially only on the gate voltage Vc. The frequency w o  of the stage thus depends on the voltage of the control signal V c . 
     As explained above, the desired frequency w o  depends only on the control signal V c  and is largely immune to noise in the power supply. In addition to these advantages, it is possible to make the frequency w o  largely independent of variations in parameters which inevitably arise during manufacture of a chip by modifying the circuit of FIG. 3 in the manner illustrated in FIG. 6. That is, instead of supplying the control signal V c  directly to the gate of the control transistor 34, it is referenced to the supply volta V dd  and supplied to the gate of a p-channel transistor 60, the width of which is n times the width of each of the p-channel transistors 26,28. The source of the transistor 60 is connected to the voltage supply V dd  and its drain is connected in the drain of a further n-channel transistor 62. The source of the transistor 62 is connected to ground and its gate is connected both to its drain and to the gate of the control transistor 34. The process independence of the frequency w o  is evident from the following explanation. 
     If the input capacitance of each amplification stage is sufficient to cause an adequate phase shift, so that the capacitors 18,20,22,24 are not required, then the capacitance value for the denominator of Equation (5) is W n  L n  C oxn  +W p  L p  C oxp , where the subscripts m,p are the values for the n-channel and p-channel transistors respectively. Substituting Equation 7 into Equation 5 and taking into account the well known relationship between the gate voltage of a field effect transistor and its drain current, it can be shown that ##EQU9## where V tp  is the threshold voltage of the p-channel transistor 60. 
     The denominator of Equation 8 can be rewritten as follows: ##EQU10## 
     Variations in width W, length L and capacitance C ox  of n and p-channel transistors tend to be similar for the same process variations, so the factor ##EQU11## The dependance of w o  on L n  L p  can be reduced by keeping L n ,L p  long so that process variations have a reduced effect on the magnitudes of L n  and L p . Therefore it can be seen to a first order that w o  depends only on μ o . 
     An important parameter in the open loop gain of a phase locked loop is the overall gain K v  of the voltage controlled oscillator. The overall gain K v  of the voltage controlled oscillator is given by Equation (9). ##EQU12## where w o  is in radians. The value of the gain K is the limiting factor in the design of phase locked loops, and affects the open-loop gain of the phase locked loop and thus the frequency at which the open-loop gain is one. If this is allowed to vary too widely with process variations it becomes difficult to maintain stability of the phase locked loop. The circuit of FIG. 3 considerably reduces this problem as explained in more detail below: 
     Taking the differential of Equation 8 it can be seen that the gain K v  is set forth by the following equation 10: ##EQU13## For the reasons given above in relation to the frequency w o , it can be seen that K v  is largely immune to process variations. It is also self evident from Equation 10 that K v  is not affected by power supply noise. 
     FIG. 7 shows an alternative differential amplification stage in which the p-channel transistors 26,28 are replaced by n-channel transistors 70,72 the gates and drains of which are connected to the supply voltage and the p-wells of which are connected to their sources and not to ground. In other respects the circuit is as described with reference to FIG. 3. This circuit is capable of producing an a.c. gain more consistently closer to unity than the circuit illustrated in FIG. 3. 
     As described above, FIG. 2 illustrates a voltage controlled oscillator which produces across the output of each differential stage a sinusoid oscillating at the selected frequency w o . FIG. 8 shows how this oscillator can be modified to produce timing edges for clocking digital circuitry. Reference numerals 40,42,44,46,48,50,52 and 54 designate comparators which are connected across the outputs of the differential amplification stage. That is, each differential amplification stage has connected across its outputs two comparators, one connected in a positive sense and one connected in a negative sense. 
     The comparators are conventional in that their state is switched thereby producing a timing edge each time the oscillating signal crosses zero. Preferably, the timing edges produced by the comparators have high slew rates. Inverters can be connected to the output of the comparators to act as a buffer to maintain high slew rates. 
     The arrangement shown in FIG. 8 is particularly useful for providing a plurality of clock signals at the same frequency but with a predetermined phase shift therebetween. In the embodiment of FIG. 8, eight clock signals can be produced with phases of 0°, 45°, 90°, 135°, 180°, 225°, 270° and 315°. Any changes to the frequency of one signal will correspond to changes in the frequency of the other signals so it is certain that the signals will always have a common frequency. Moreover, their relative phase difference always remains fixed. This has a significant advantage for timing independent logic circuitry in different parts of a chip since the frequency and phase difference can be assured.