This application is based upon and claims the benefit of priority from prior Japanese Patent Application No. 2010-146408, filed on Jun. 28, 2010, the entire contents of which are incorporated herein by reference.
The present disclosure relates to an oscillation circuit.
In recent years, generation of a high-precision (for example, within ±1.5%) clock signal has been requested for a communication protocol for a vehicle. When a crystal oscillator or a ceramic oscillator is used to generate a high-precision clock signal in a vehicle, vibration may damage the oscillator. For example, solder, which holds the oscillator in a fixed state, may separate from the oscillator and cracking may occur in the oscillator. Further, costs should be reduced. Accordingly, there is a demand for oscillation circuits that are incorporated in a silicon device. In order to realize a high-precision oscillation circuit on a silicon device, various proposals have been made.
An oscillation frequency of the CR oscillation circuit in
In the CR oscillation circuit in
The following documents are related to the background art described above.
Japanese Laid-Open Patent Publication No. 2008-252414
Japanese Laid-Open Patent Publication No. 2007-299294
Japanese National Phase Laid-Open Patent Publication No. 2009-522661
Japanese Patent No. 7-22253
However, in the CR oscillation circuit of
One aspect of the embodiments is an oscillation circuit including a reference voltage generation circuit that adds a proportional-to-absolute-temperature (PTAT) output, which increases in proportion to an absolute temperature, to a complementary-to-absolute-temperature (CTAT) output, which decreases in proportion to an absolute temperature, to generate and output a reference voltage. A first switching unit is coupled to the reference voltage generation circuit. The first switching unit switches an adding ratio of the PTAT output and the CTAT output to minimize a variation in an output from the reference voltage generation circuit that depends on temperature. A current source generates constant current based on the output from the reference voltage generation circuit. A regulator circuit generates constant voltage based on the output from the reference voltage generation circuit. A first capacitor and a second capacitor, each includes one terminal coupled to the current source and is charged and discharged by the constant current of the current source. An inverter is coupled to another terminal of the second capacitor. The inverter drives the second capacitor using the constant voltage supplied from the regulator circuit as a power supply. A second switching unit switches a value of the constant current of the current source to adjust an oscillation frequency. A third switching unit is coupled to the first capacitor. The third switch unit switches capacitance of the first capacitor to adjust oscillation amplitudes at the one terminal of each of the first and second capacitors. The first switching unit, the second switching unit, and the third switching unit perform trimming to generate an oscillation signal having a desired and fixed frequency.
Additional objects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
An oscillation circuit according to a first embodiment will be described below with reference to
An operational amplifier AMP2, a PMOS transistor MP4, and resistors R2 and R3 configure a regulator circuit 5 that generates an output voltage VREG. A reference voltage VBGR2 is supplied from a band gap reference circuit BGR2 to the operational amplifier AMP2. The output voltage VREG from the regulator circuit 5 is generated in accordance with resistance-divided voltages of the resistors R2 and R3 based on the reference voltage VBGR2.
Each of the band gap reference circuits BGR1 and BGR2 includes a PTAT voltage generation circuit 1, a CTAT voltage generation circuit 2, and an adding ratio setting circuit 3. In order to trim the temperature dependencies of the reference voltages VBGR1 and VBGR2, a temperature dependency cancellation switching unit 4 is arranged for each of the band gap reference circuits BGR1 and BGR2.
Configurations and operations of the band gap reference circuits BGR1 and BGR2 will be described below with reference to
As illustrated in
In the CTAT voltage generation circuit 2, a PMOS transistor MP13 and a resistor R12 are coupled in series between the power supply and ground. The gate of the PMOS transistor MP13 is coupled to an output of an operational amplifier AMP12. The PMOS transistor MP13 causes a current I2 to flow in an ON state. The operational amplifier AMP12 includes a non-inverted input terminal coupled to one end of the resistor R12 and an inverted input terminal coupled to an anode of the diode D2 of the PTAT voltage generation circuit 1. As will be described later, the resistor R12 has a resistance that can be switched, or adjusted.
The operational amplifier AMP12 has an output terminal coupled to the non-inverted input terminal to configure a negative feedback circuit that matches a voltage at one end of the resistor R12 with a voltage at the anode of the diode D2 of the PTAT voltage generation circuit 1. An output from the operational amplifier AMP12 is fixed to a voltage at which the voltage at one end of the resistor R12 is matched with the forward voltage Vbe2 of the diode D2. In this manner, a voltage equal to the forward voltage Vbe2 of the diode D2 is applied across the two ends of the resistor R12. As described above, the forward voltage Vbe2 of the diode D2 decreases in proportion to an absolute temperature. Therefore, the current I2 is a complementary-to-absolute-temperature (CTAT) current that decreases in proportion to an absolute temperature.
The adding ratio setting circuit 3 includes PMOS transistors MP14 and MP15. Since a gate voltage of the PMOS transistor MP14 is controlled by an output from the operational amplifier AMP11, current I3 flowing in the PMOS transistor MP14 is a PTAT current. An absolute value of the current I3 is determined by a difference between a size ratio (channel width/channel length) of the PMOS transistor MP14 and a size ratio of the PMOS transistors MP11 and MP12. Since a gate voltage of the PMOS transistor MP15 is controlled by an output from the operational amplifier AMP12, a current I4 flowing in the PMOS transistor MP15 is a CTAT current. An absolute value of the current I4 is determined by a difference between a size ratio (channel width/channel length) of the PMOS transistor MP15 and a size ratio of the PMOS transistor MP13.
A current obtained by adding the current I3 and the current I4 flows in a resistor R13. When the ratio of a PTAT current having a positive dependency on an absolute temperature to a CTAT current having a negative dependency on an absolute temperature is appropriately adjusted, total current (I3+I4) flowing in the resistor R13 does not depend on the temperature (see
The configuration and operation of the bias generation circuit 6 will be described below with reference to
Returning to
Subsequently, an oscillation frequency Fosc of an oscillation signal is calculated.
An oscillation amplitude ΔV at the node NA is determined by the output voltage VREG of the regulator circuit 5 and a capacitance-divided voltage.
ΔV=VH−Vth=Vth−VL=(C2/(C1+C2))×VREG (1)
Here, C1 and C2 are capacitances of the capacitors C1 and C2.
When values of constant currents of the current sources IP1 and IN1 and a half cycle are given by I and t, respectively, a relationship expressed by the following equation is given:
I×t=ΔV×(C1+C2) (2)
According to equations (1) and (2),
t=(ΔV×(C1+C2))/I=((C2/(C1+C2))×VREG×(C1+C2))/I=C2×VREG/I (3)
Therefore, according to equation (3), the oscillation frequency Fosc is expressed by the following equation:
Fosc=1/(2×t)=1/(2×C2×VREG) (4)
When the reference voltage VBGR1 output from the band gap reference circuit BGR1 decreases, current values of the current sources IN. and IN1 decreases. At this time, as is apparent from equation (4), the oscillation frequency Fosc decreases. When the reference voltage VBGR2 output from the band gap reference circuit BGR2 decreases, the output voltage VREG of the regulator circuit 5 is lowered to decrease the oscillation amplitude ΔV. In this case, as is apparent from equation (4) in
A trimming procedure in the first embodiment will be described below with reference to
(1) Canceling of Linear Temperature Dependencies of the Band Gap Reference Circuits BGR1 and BGR2 by the Temperature Dependency Cancellation Switching Unit 4 (see
The temperature dependency of the band gap reference circuit BGR1 corresponds to the temperature dependencies of the current values of the current sources IP1 and IN1 (
(2) Adjustment of the Oscillation Amplitude ΔV by the Oscillation Amplitude Trimming Switching Unit 8 (see
The degree of lowering of the oscillation amplitude ΔV with respect to the lowering of the output voltage VREG of the regulator circuit 5 is adjusted by the oscillation amplitude trimming switching unit 8 to cancel a quadratic temperature dependency of the oscillation frequency Fosc.
The current sources IP1 and IN1 generate currents that charge and discharge the capacitors C1 and C2 based on the reference voltage VBGR1 output by the band gap reference circuit BGR1. Therefore, the charging and discharging currents have the temperature dependencies as illustrated in
The oscillation amplitude ΔV is determined based on the output voltage VREG of the regulator circuit 5. In the regulator circuit 5 (see
Since the band gap reference circuits BGR1 and BGR2 have the same configurations, the temperature dependencies of the reference voltages VBGR1 and VBGR2 are equal to each other. When a temperature dependency of a charging and discharging current corresponding to the reference voltage VBGR1 and a temperature dependency of the output voltage VREG of the regulator circuit 5 are inversely summed up, even though an output precision of each of the band gap reference circuit is about ±2% as in a prior art reference, precision of the oscillation frequency Fosc can be maintained at ±1% or less (
(3) Adjustment of the Oscillation Frequency Fosc by the Oscillation Frequency Trimming Switching Unit 7 (see
The oscillation frequency Fosc is adjusted by the oscillation frequency trimming switching unit 7 from frequencies at which the trimmings of the (1) and (2) are performed to a desired applied frequency (
Until the oscillation frequency Fosc is converged, the trimming procedures (1) to (3) are repeated in the order given by (1)→(2)→(3)→(1)→(2)→(3)→ . . . , and a desired and constant oscillation frequency Fosc is generated. The oscillator can be used at a frequency that is closer to a desired value when the trimming is repeated. However, the trimming need not be always repeated. In step (3), although the resistance of the resistor R1 is trimmed, since the resistor has a quadratic temperature characteristic, before and after trimming of the resistance of the resistor R1, the change ratio of the current values of the current sources IP1 and IN1 is not completely proportional to the change ratio of the oscillation frequency Fosc (see
The trimmings in steps (1) and (2) are performed prior to the trimming in step (3) for the following reasons. For example, when the linear temperature dependency of the band gap reference circuit BGR1 are left uncancelled, the oscillation frequency Fosc is adjusted to the applied frequency by the trimming in step (3). Thereafter, when the linear temperature dependency of the band gap reference circuit BGR1 is canceled, the oscillation frequency Fosc shifts from the applied frequency (see
With reference to
Switching of a capacitance of the capacitor C1 by the oscillation amplitude trimming switching unit 8 will be described below with reference to
A second embodiment of an oscillation circuit will now be described with reference to
In the second embodiment, the band gap reference circuits BGR1 and BGR2 according to the first embodiment are commonly coupled, and the current values of the current sources IP1 and IN1 and the output voltage VREG of the regulator circuit 5 are controlled by a single band gap reference circuit BGR. Instead of the bias generation circuit 6 according to the first embodiment, a trimming current DAC 9 is used in the second embodiment.
The configuration and operation of the trimming current DAC 9 will be described below with reference to
The adding ratio setting circuit 3 in
The band gap reference circuit BGR supplies a reference voltage VBGR to the regulator circuit 5. The adding ratio setting circuit 3 supplies a current obtained by adding a current flowing in the PMOS transistor MP16 and a current flowing in the PMOS transistor MP17 to the trimming current DAC as an output from the band gap reference circuit BGR. This current flows in the NMOS transistor MN91 of the trimming current DAC 9. NMOS transistors MN92, MN93, and MN94 configure a current mirror circuit that distributes the reference current flowing in the NMOS transistor MN91 to the PMOS transistor MP91. Numbers (x4, x2, and x1) added to the NMOS transistors MN92, MN93, and MN94 denote examples of mirror ratios of the current mirror circuit. NMOS transistors MN95, MN96, MN97 are coupled in series with the NMOS transistors MN92, MN93, and MN94, respectively. The PMOS transistor MP92 configures a current mirror circuit that distributes a current flowing in the PMOS transistor MP91 to an NMOS transistor MN98. The trimming current DAC 9 supplies gate voltages of the PMOS transistor MP91 and the NMOS transistor MN98 to the current sources IP1 and IN1 of the oscillation circuit unit, respectively.
In the illustrated example, the oscillation frequency trimming switching unit 7 switches the ON/OFF states of the NMOS transistors MN95, MN96, MN97 to switch ratios of the reference current flowing in the NMOS transistor MN91 and currents flowing in a PMOS transistor MP91 and the NMOS transistor MN98. In this manner, the values of the constant currents of the current sources IP1 and IN1 are switched.
The second embodiment has the same advantages as the first embodiment. In the second embodiment, since the band gap reference circuit is commonly used, the number of circuit elements can be reduced, and an occupied circuit area for an oscillation circuit can be reduced.
A third embodiment of an oscillation circuit will now be described focusing on differences from the first and second embodiments. Like or same reference numerals are given to those components that are the same as the corresponding components of the first and second embodiments. Such components will not be described.
The oscillation circuit according to the third embodiment is different in configuration from the oscillation circuit units according to the first and second embodiments. The oscillation circuit unit according to the third embodiment includes a comparator COMP51, inverters INV51 and INV52, a capacitor C51, the current sources IP1 and IN1, the PMOS transistor MP1, NMOS transistors MN1 and MN51, resistors R51, R52, and R53, and an oscillation amplitude trimming switching unit 8.
The resistors R51, R52, and R53 are coupled in series with each other to divide the output voltage VREG from the regulator circuit 5. An inverted input terminal of the comparator COMP51 is coupled to one terminal (node ND) of the capacitor C51. An input terminal of the inverter INV51 is coupled to an output terminal of the comparator COMP51. An input terminal of the inverter INV52 is coupled to the output terminal of the inverter INV51. The inverter INV52 inverts a rectangular waveform oscillation signal output from the inverter INV51 to output the inverted rectangular waveform oscillation signal from an output terminal OUT. The inverter INV52 inverts an output from the inverter INV51 and supplies the inverted output to the gates of the PMOS transistor MP1 and the NMOS transistors MN1 and MN51. According to an output from the inverter INV52, when the PMOS transistor MP1 and the NMOS transistor MN1 are alternately turned on, said one terminal of the capacitor C51 is coupled to the current source IP1 or IN1 to charge and discharge the capacitor C51. The NMOS transistor MN51 is coupled in parallel to the resistor R51. The NMOS transistor MN51 is turned on depending on an output from the comparator COMP51 to configure a switch that short-circuits the resistor R51.
Waveforms at the node ND and the output terminal OUT in the oscillation circuit unit in the third embodiment will be described below with reference to
ΔV=VH−VL=((R51+R52)/(R51+R52+R53)−R52/(R52+R53))×VREG (5)
Here, R51, R52, and R53 are resistances of the resistors R51, R52, and R53, respectively. In the third embodiment, the oscillation amplitude trimming switching unit 8 switches the resistance of the resistor R51 to adjust the oscillation amplitude ΔV. In this manner, a fixed frequency is also generated in the third embodiment in the same manner as in the first and second embodiments.
As described above in detail, in the first to third embodiments, a charging and discharging current, which determines an oscillation frequency when a reference voltage output from the band gap reference circuit is low, decreases to lower the oscillation frequency. When the reference voltage output from the band gap reference circuit is low, an oscillation amplitude decreases to raise the oscillation frequency. In the oscillation circuit, a temperature dependency of a charging and discharging current is the same as a temperature dependency of an output voltage of the regulator circuit. When the oscillation amplitude trimming switching unit 8 adjusts the oscillation amplitude, a quadratic temperature dependency does not occur in the oscillation frequency, and a high-precision (for example, within ±1%) oscillation circuit can be realized.
It should be apparent to those skilled in the art that the present invention may be embodied in many other specific forms without departing from the spirit or scope of the invention. Particularly, it should be understood that the present invention may be embodied in the following forms.
For example, the configuration of the band gap reference circuit is not limited to the configurations of the embodiments. The cancellation of the temperature dependency of the band gap reference circuit is not limited to a configuration that is described in
In the first and second embodiment, the oscillation amplitude trimming switching unit 8 may switch the capacitance of the capacitor C2 taking into consideration the change in the oscillation frequency based on equation (4).
In the resistor switching unit and the capacitor switching unit described in
In addition, the embodiments may be combined with one another in any manner.
The band gap reference circuits BGR1, BGR2, and BGR are examples of the reference voltage generation circuit, the temperature dependency cancellation switching unit 4 is an example of the first switching unit, the current sources IP1 and IN1 are examples of the current source, the regulator circuit 5 is an example of the regulator circuit, the capacitors C1 and C51 are examples of the first capacitor, the capacitor C2 is an example of the second capacitor, the PMOS transistor MP2 and the NMOS transistor MN2 are examples of the inverter, the oscillation frequency trimming switching unit 7 is an example of the second switching unit, the oscillation amplitude trimming switching unit 8 is an example of the third switching unit, the resistors R51, R52, and R53 are examples of the first, second, and third voltage dividing resistors, the comparator COMP51 is an example of the comparator, the NMOS transistor MN51 is an example of the switch, the resistor R1 is an example of the reference resistor, the operational amplifier AMP1 and the PMOS transistor MP3 are examples of the feedback amplification circuits, the NMOS transistors MN91, MN92, MN93, and MN94 are examples of the current mirror circuits, the PMOS transistors MP11, MP12, MP13, MP14 and MP15 are examples of the first, second, third, fourth, and fifth PMOS transistors, the resistors R11 and R12 are examples of first and second resistors, the diodes D1 and D2 are examples of the first and second diodes, and the operational amplifiers AMP11 and AMP12 are examples of the first and second operational amplifiers.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the principles of the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2010-146408 | Jun 2010 | JP | national |