CN111404484B - RC oscillator and electric device - Google Patents

RC oscillator and electric device Download PDF

Info

Publication number
CN111404484B
CN111404484B CN202010337600.2A CN202010337600A CN111404484B CN 111404484 B CN111404484 B CN 111404484B CN 202010337600 A CN202010337600 A CN 202010337600A CN 111404484 B CN111404484 B CN 111404484B
Authority
CN
China
Prior art keywords
voltage
resistance
capacitance
capacitor
oscillator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010337600.2A
Other languages
Chinese (zh)
Other versions
CN111404484A (en
Inventor
周号
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Maiju Microelectronics Co Ltd
Original Assignee
Zhuhai Maiju Microelectronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Maiju Microelectronics Co Ltd filed Critical Zhuhai Maiju Microelectronics Co Ltd
Priority to CN202010337600.2A priority Critical patent/CN111404484B/en
Publication of CN111404484A publication Critical patent/CN111404484A/en
Application granted granted Critical
Publication of CN111404484B publication Critical patent/CN111404484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03BGENERATION OF OSCILLATIONS, DIRECTLY OR BY FREQUENCY-CHANGING, BY CIRCUITS EMPLOYING ACTIVE ELEMENTS WHICH OPERATE IN A NON-SWITCHING MANNER; GENERATION OF NOISE BY SUCH CIRCUITS
    • H03B5/00Generation of oscillations using amplifier with regenerative feedback from output to input
    • H03B5/02Details
    • H03B5/04Modifications of generator to compensate for variations in physical values, e.g. power supply, load, temperature
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03BGENERATION OF OSCILLATIONS, DIRECTLY OR BY FREQUENCY-CHANGING, BY CIRCUITS EMPLOYING ACTIVE ELEMENTS WHICH OPERATE IN A NON-SWITCHING MANNER; GENERATION OF NOISE BY SUCH CIRCUITS
    • H03B5/00Generation of oscillations using amplifier with regenerative feedback from output to input
    • H03B5/20Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element comprising resistance and either capacitance or inductance, e.g. phase-shift oscillator
    • H03B5/24Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element comprising resistance and either capacitance or inductance, e.g. phase-shift oscillator active element in amplifier being semiconductor device

Landscapes

  • Oscillators With Electromechanical Resonators (AREA)

Abstract

The present disclosure provides an RC oscillator including an oscillation circuit, the oscillation circuit including a system resistance and a system capacitance, and the oscillation circuit generating and outputting an oscillation voltage according to at least the system resistance and the system capacitance; and a temperature control circuit for detecting a temperature of the RC oscillator and changing a resistance value of the system resistance and/or a capacitance value of the system capacitance according to the detected temperature so that an oscillation frequency of an oscillation voltage output by the RC oscillator is fixed. The present disclosure also provides an electrical device.

Description

RC oscillator and electric device
Technical Field
The present disclosure relates to an RC oscillator and an electrical device, and more particularly, to an RC oscillator with a fixed output frequency.
Background
In the oscillator circuit, since the oscillation frequency of the oscillator circuit varies with temperature, it is necessary to adjust the oscillation frequency so as not to be affected by temperature in a high-precision oscillator. The oscillation circuit is required to output an oscillation signal having a stable oscillation frequency regardless of temperature.
In a typical capacitive charge-discharge oscillator scheme as shown in FIG. 1, the up-down current I is usedS1And IS2Charging and discharging capacitor C, comparing with VH and VL (VH and VL can be triangular wave high and low level), and oscillating period T ═ C (VH-VL)/IS1+C*(VH-VL)/IS2+2*TDELAY(wherein T isDELAYResponse time for comparator Comp), TDELAYIt is possible to design a period much smaller than the target period, T ═ C (VH-VL)/IS1+C*(VH-VL)/IS2. But the temperature characteristic of the oscillator cycle is determined by the current IS1And IS2The difficulty and cost for designing a low-temperature coefficient current source are high, so that the scheme is only suitable for frequency and temperatureAnd (3) applications with low characteristic requirements.
Disclosure of Invention
In the present disclosure, in order to solve at least one of the above technical problems, an RC oscillator and an electric device are provided.
According to one aspect of the disclosure, an RC oscillator includes
An oscillation circuit that includes a system resistance and a system capacitance, and that generates and outputs an oscillation voltage in accordance with at least the system resistance and the system capacitance; and
a temperature control circuit for detecting a temperature of the RC oscillator and changing a resistance value of the system resistance and/or a capacitance value of the system capacitance according to the detected temperature so that an oscillation frequency of an oscillation voltage output by the RC oscillator is fixed.
According to at least one embodiment of the present disclosure, when the temperature control circuit detects the temperature of the RC oscillator, the temperature of the RC oscillator is detected by a base-emitter voltage of a transistor, or a PN junction voltage of a diode, or a PTAT voltage generated by a PTAT voltage generation circuit, or a thermistor.
According to at least one embodiment of the present disclosure, the power supply further includes a current source including one current source or two current sources, when the current source includes one current source, the one current source generates a first current provided to the system resistor and a second current provided to the system capacitor, when the current source includes two current sources, the two current sources respectively generate a first current provided to the system resistor and a second current provided to the system capacitor, and the system capacitor is connected in parallel with a discharge switch, by which charging and discharging of the system capacitor is controlled to generate a capacitor voltage, the oscillating voltage is generated based on a comparison of a resistor voltage generated by the system resistor and a capacitor voltage generated by the system capacitor.
According to at least one embodiment of the present disclosure, the temperature control circuit changes one or more of a resistance value of the system resistance, a capacitance value of the system capacitance, a current value of the first current, and a current value of the second current according to the detected temperature so that an oscillation frequency of an oscillation voltage output by the RC oscillator is fixed.
According to at least one embodiment of the present disclosure, the oscillator further includes a comparator into which the resistance voltage and the capacitance voltage are input, the comparator comparing the resistance voltage and the capacitance voltage and outputting a comparison voltage, and generating the oscillation voltage based on the comparison voltage.
According to at least one embodiment of the present disclosure, the comparator includes an offset voltage storage capacitor, the offset voltage storage capacitor is connected in series to an input end of a resistance voltage of the comparator, when the oscillation voltage is at a high level, the offset voltage storage capacitor is controlled to be charged by an output voltage of the comparator, and when the oscillation voltage is at a low level, the offset voltage storage capacitor is controlled to be discharged to offset an offset voltage of the comparator, so that an influence of the offset voltage on the oscillation frequency is eliminated.
According to at least one embodiment of the present disclosure, the comparator includes a first switch and a second switch, the offset voltage storage capacitor is charged by an output voltage of the comparator when the first switch is turned on and the second switch is turned off, and the resistance voltage and the capacitance voltage are input to the comparator when the first switch is turned off and the second switch is turned on.
According to at least one embodiment of the present disclosure, the apparatus further comprises a reset controller which controls on and off of the discharge switch by a discharge switch control signal, wherein when the oscillation voltage is at a high level, the discharge switch control signal is at a high level, the switch is controlled to be on to discharge the system capacitor, when the oscillation voltage is at a low level, the discharge switch control signal is at a low level, the switch is controlled to be off to charge the system capacitor,
the reset controller comprises an inverter circuit, and the high level duration time of the discharge switch control signal is only determined by the inverter circuit.
According to at least one embodiment of the present disclosure, the inverter circuit includes an inverter, an inverter resistor, and an inverter capacitor, the inverter resistor is connected in series to an output end or an input end of the inverter, one end of the inverter capacitor is connected to the inverter resistor, and the other end is grounded, the inverter resistor and the system resistor have the same temperature coefficient, when the resistance value of the system resistor is changed by the temperature control circuit, the resistance value of the inverter resistor is also changed accordingly, and/or the inverter capacitor and the system capacitor have the same temperature coefficient, when the capacitance value of the system capacitor is changed by the temperature control circuit, the capacitance value of the inverter capacitor is also changed accordingly.
According to another aspect of the present disclosure, an RC oscillator includes: a system resistor, a system capacitor, a current source, a comparator, a reset controller and a discharge switch,
the current source is one current source or two current sources of the same type and respectively supplies current to the system resistor and the system capacitor,
the discharge switch is connected in parallel to both sides of the system capacitor, and the reset controller controls on and off of the discharge switch to discharge and charge the system capacitor, thereby generating a capacitor voltage,
a resistance voltage generated by the system resistance and a capacitance voltage generated by the system capacitance are input into the comparator, the comparator generates a comparison voltage according to a comparison of the resistance voltage and the capacitance voltage, and the RC oscillator generates an oscillation voltage according to the comparison voltage,
wherein the system resistance is a low temperature coefficient resistance to implement a low temperature coefficient RC oscillator.
According to at least one embodiment of the present disclosure, the comparator includes an offset voltage storage capacitor, the offset voltage storage capacitor is connected in series to an input end of a resistance voltage of the comparator, when the oscillation voltage is at a high level, the offset voltage storage capacitor is controlled to be charged by an output voltage of the comparator, and when the oscillation voltage is at a low level, the offset voltage storage capacitor is controlled to be discharged to offset an offset voltage of the comparator, so that an influence of the offset voltage on the oscillation frequency is eliminated.
According to at least one embodiment of the present disclosure, the comparator includes a first switch and a second switch, the offset voltage storage capacitor is charged by an output voltage of the comparator when the first switch is turned on and the second switch is turned off, and the resistance voltage and the capacitance voltage are input to the comparator when the first switch is turned off and the second switch is turned on.
According to at least one embodiment of the present disclosure, the reset controller controls the discharge switch to be turned on and off by a discharge switch control signal, wherein the discharge switch control signal is at a high level when the oscillation voltage is at a high level, the switch is controlled to be turned on to discharge the system capacitor, and the discharge switch control signal is at a low level when the oscillation voltage is at a low level, the switch is controlled to be turned off to charge the system capacitor,
the reset controller comprises an inverter circuit, and the high level duration time of the discharge switch control signal is only determined by the inverter circuit.
According to at least one embodiment of the present disclosure, the inverter circuit includes an inverter, an inverter resistor, and an inverter capacitor, the inverter resistor is connected in series to an output end or an input end of the inverter, one end of the inverter capacitor is connected to the inverter resistor, and the other end is grounded, the inverter resistor and the system resistor have the same temperature coefficient, when the resistance value of the system resistor is changed by the temperature control circuit, the resistance value of the inverter resistor is also changed accordingly, and/or the inverter capacitor and the system capacitor have the same temperature coefficient, when the capacitance value of the system capacitor is changed by the temperature control circuit, the capacitance value of the inverter capacitor is also changed accordingly.
According to yet another aspect of the disclosure, an electrical device comprises an RC oscillator as described above.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the disclosure and together with the description serve to explain the principles of the disclosure.
Fig. 1 shows a schematic diagram of a conventional capacitor charge-discharge oscillator.
Fig. 2 shows a schematic diagram of an oscillator with temperature calibration functionality according to one embodiment of the present disclosure.
Fig. 3 shows an example of an oscillation circuit according to an embodiment of the present disclosure.
Fig. 4 illustrates a waveform diagram of an oscillation circuit according to one embodiment of the present disclosure.
Fig. 5 shows a clock signal generation schematic according to an embodiment of the present disclosure.
Fig. 6 shows a temperature coefficient diagram of resistance of a semiconductor process.
Fig. 7 shows another form of RC oscillator circuit.
Fig. 8 shows another form of RC oscillation circuit.
Fig. 9 shows a schematic diagram of an oscillator with temperature calibration functionality according to one embodiment of the present disclosure.
Fig. 10 shows three examples of temperature detection units according to an embodiment of the present disclosure.
Fig. 11 illustrates two examples showing PTAT voltage generation circuits according to embodiments of the present disclosure.
Fig. 12 illustrates a manner of adjusting the resistance according to an embodiment of the present disclosure.
Fig. 13 illustrates a manner of adjusting capacitance according to an embodiment of the present disclosure.
Fig. 14 shows a first embodiment of a current source of a current varying manner according to an embodiment of the present disclosure.
Fig. 15 illustrates a second embodiment of a current source for a current varying manner according to an embodiment of the present disclosure.
Fig. 16 shows one example of a circuit diagram of an existing comparator used in an RC oscillator according to an embodiment of the present disclosure.
FIG. 17 illustrates a waveform diagram of a non-overlapping pulse calibration clock according to an embodiment of the disclosure.
FIG. 18 shows a schematic diagram of a zero offset comparator with offset calibration according to an embodiment of the present disclosure.
Fig. 19 shows a circuit diagram of a comparator according to an embodiment of the present disclosure.
FIG. 20 illustrates a non-overlapping clock generation circuit according to the present disclosure.
Fig. 21 shows a waveform diagram of a non-overlapping pulse calibration clock.
Fig. 22 shows a circuit waveform diagram for the embodiment of fig. 3 according to the present disclosure.
Fig. 23 shows a general representation of the delay time of the comparator.
Fig. 24 shows a schematic diagram of a two-stage comparator.
Fig. 25 shows a waveform diagram according to the present disclosure.
Fig. 26 shows a schematic circuit configuration of the inverter.
Fig. 27 shows a circuit configuration schematic of an inverter according to the present disclosure.
Detailed Description
The present disclosure will be described in further detail with reference to the drawings and embodiments. It is to be understood that the specific embodiments described herein are for purposes of illustration only and are not to be construed as limitations of the present disclosure. It should be further noted that, for the convenience of description, only the portions relevant to the present disclosure are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict. Technical solutions of the present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Unless otherwise indicated, the illustrated exemplary embodiments/examples are to be understood as providing exemplary features of various details of some ways in which the technical concepts of the present disclosure may be practiced. Accordingly, unless otherwise indicated, features of the various embodiments may be additionally combined, separated, interchanged, and/or rearranged without departing from the technical concept of the present disclosure.
The use of cross-hatching and/or shading in the drawings is generally used to clarify the boundaries between adjacent components. As such, unless otherwise noted, the presence or absence of cross-hatching or shading does not convey or indicate any preference or requirement for a particular material, material property, size, proportion, commonality between the illustrated components and/or any other characteristic, attribute, property, etc., of the components. Further, in the drawings, the size and relative sizes of components may be exaggerated for clarity and/or descriptive purposes. While example embodiments may be practiced differently, the specific process sequence may be performed in a different order than that described. For example, two processes described consecutively may be performed substantially simultaneously or in reverse order to that described. In addition, like reference numerals denote like parts.
When an element is referred to as being "on" or "on," "connected to" or "coupled to" another element, it can be directly on, connected or coupled to the other element or intervening elements may be present. However, when an element is referred to as being "directly on," "directly connected to" or "directly coupled to" another element, there are no intervening elements present. For purposes of this disclosure, the term "connected" may refer to physically, electrically, etc., and may or may not have intermediate components.
For descriptive purposes, the present disclosure may use spatially relative terms such as "below … …," below … …, "" below … …, "" below, "" above … …, "" above, "" … …, "" higher, "and" side (e.g., as in "side wall") to describe one component's relationship to another (other) component as illustrated in the figures. Spatially relative terms are intended to encompass different orientations of the device in use, operation, and/or manufacture in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, elements described as "below" or "beneath" other elements or features would then be oriented "above" the other elements or features. Thus, the exemplary term "below … …" can encompass both an orientation of "above" and "below". Further, the devices may be otherwise positioned (e.g., rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein interpreted accordingly.
The terminology used herein is for the purpose of describing particular embodiments and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Furthermore, when the terms "comprises" and/or "comprising" and variations thereof are used in this specification, the presence of stated features, integers, steps, operations, elements, components and/or groups thereof are stated but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groups thereof. It is also noted that, as used herein, the terms "substantially," "about," and other similar terms are used as approximate terms and not as degree terms, and as such, are used to interpret inherent deviations in measured values, calculated values, and/or provided values that would be recognized by one of ordinary skill in the art.
An RC oscillator comprising:
an oscillation circuit that includes a resistance and a capacitance, and that generates and outputs an oscillation signal in accordance with at least the resistance and the capacitance; and
a temperature control circuit for detecting a temperature of the RC oscillator and changing a resistance value of the resistor and/or a capacitance value of the capacitor according to the detected temperature so that an oscillation frequency of an oscillation signal output by the RC oscillator is fixed.
Fig. 2 shows a schematic diagram of an oscillator 1 with temperature calibration functionality according to an embodiment of the present disclosure.
As shown in fig. 2, the oscillator 1 may include an oscillation circuit 10 and a temperature control circuit 20.
The oscillating circuit 10 may be an RC oscillating circuit, which includes a resistor 11 and a capacitor 12, and the oscillating output frequency of the oscillating circuit 100 may be adjusted through the resistor 11 and the capacitor 12 included in the oscillating circuit 10.
In the oscillating circuit 10, the number of the resistors 11 is not limited to one, and may include more, and the number of the capacitors 12 is not limited to one, and may also be more.
It will be understood by those skilled in the art that although not shown in fig. 1, other elements may also be included in the oscillator circuit 10.
The temperature control circuit 20 is configured to detect the temperature of the oscillator system and adjust the oscillation output frequency of the oscillation circuit 1 according to the detected temperature, thereby enabling the oscillation circuit 10 to output an oscillation output frequency with a fixed frequency even in the case of a temperature change.
In the example shown in fig. 2, the resistance value of the resistor 11 and/or the capacitance value of the capacitor 12 may be adjusted in accordance with the temperature change detected by the temperature control circuit 20 so as to adjust the oscillation output frequency of the oscillation circuit 10 so as to be fixed.
Although in fig. 2, only the resistor 11 and the capacitor 12 are illustrated as being adjusted, when the oscillation circuit 10 includes other adjustable elements, the other elements may be adjusted so that the oscillation output frequency of the oscillation circuit 10 is fixed.
Hereinafter, embodiments of the present disclosure will be described in more detail by specific examples.
An example of an oscillator circuit 10 according to an embodiment of the present disclosure is shown in fig. 3, which is to be noted as merely exemplary and not meant to limit the scope of the present disclosure.
As shown in fig. 3, the oscillation circuit 10 includes a resistor 110, a capacitor 120, a current source 130, a comparator 140, a reset controller 150, a switch 160, and a buffer 170.
The current source 130 converts the current Is1Is supplied to the resistor 110 to form a reference voltage V1. The current source 130 converts the current Is2Is supplied to the capacitor 120, and the capacitor 120 is charged and discharged (the capacitor 120 is discharged when the switch 120 is turned on, and the capacitor 120 is charged when the switch 120 is turned off) by turning on and off the switch 160 connected in parallel with the capacitor 120, according to the current Is2A waveform voltage V formed by the capacitance of the capacitor 120 and the charging and discharging of the capacitor 1202E.g. the waveform voltage V2May be a sawtooth waveform voltage, etc.
The comparator 140 outputs the voltage V to the input1And V2Comparing to obtain a comparison voltage VCOMPAnd comparing the voltage VCOMPThe buffer 170 is inputted, and the buffer 170 outputs an oscillating voltage VCLK
Further, the reset controller 150 may generate the oscillating voltage V according to the generated oscillating voltage VCLKTo generate a control voltage V of the switch 160SW. By the control voltage VSWTo control the on/off of the switch 160, thereby realizing the charging and discharging of the capacitor 120.
In the present disclosure, the current I is based on the actual situations1、Is2Can come from the same current source or from two different current sources.
In the oscillating circuit shown in fig. 3, the oscillation period T is R C Is1/Is2+TDELAY. R is the resistance of the resistor 110, C is the capacitance of the capacitor 120, TDELAYIs the delay time of comparator 140 and reset controller 150. Wherein T isDELAYCan be designed to be much smaller than the target period of the oscillating circuit.
By mixing TDELAYDesigned to be small enough, the oscillation period T of the oscillating circuit will be R, C, Is1、Is2And (4) determining.
This can be achieved by mixing Is1、Is2Are set equal, e.g.I can be provided by a current sources1、Is2I can also be provided by two current sources of the same types1、Is2. Wherein the current source may be a ptat (proportional To Absolute temperature) current source or other reference current source.
Thus the oscillation period T will be determined by R, C. Since the temperature coefficient of the capacitor is typically an order of magnitude lower than the temperature coefficient of the resistor, the temperature characteristic of the oscillation period T will be determined only by the temperature coefficient of the resistor.
Since the oscillation period of the oscillation circuit is affected by the temperature characteristics of the elements included therein, the oscillation period of the output will vary with the temperature characteristics of the elements included therein, which will cause the oscillation period of the oscillation circuit to become unstable with the temperature of the oscillator system. Therefore, in order to make the oscillation period of the oscillation circuit fixed or substantially fixed, a specific design of the oscillation circuit is required.
For the example of fig. 3, the following is explained with reference to the waveform diagram shown in fig. 4.
Wherein the voltage across the resistor 110, V1 ═ Is1R, the voltage V2 across the capacitor 120 is Is2t/C. At time t during the charging phase of capacitor 120r=R*C*Is1/Is2And time t of the discharging phase of the capacitor 120f=TDELAY. So that the period of oscillation T is Tr+tf. Accordingly, during the capacitor charging phase, VCOMP、VCLKAnd VSWAt a high level, and during a capacitor discharge phase, VCOMP、VCLKAnd VSWAt a low level, such that the time t of the high levelH=R*C*Is1/Is2Time t of low levelL=TDELAY. Due to TDELAYMuch less than R C Is1/Is2Therefore, the oscillation period T can be considered equal to R C Is1/Is2
Further, in the case where a clock signal of 50% duty ratio is obtained by the example shown in fig. 3, V may be converted by a D flip-flop or the likeCLKConverted to a 50% duty cycle clock signal,for example, as shown in FIG. 5, when the period of the clock signal is TDCLK=2*TVCLK=2*(IS1*R*C/IS2+TDELAY)=2*IS1*R*C/IS2Wherein T isDELAYMuch less than R C Is1/Is2
The relationship between the oscillation period and the temperature change will be described in more detail below.
Oscillation period T ═ R ═ C ═ Is1/Is2. Oscillation frequency f 1/T Is2/(R*C*Is1)。
Resistance value R (T) of resistor 110 at time T (T ═ R (T)0)+*(T-T0)=R(T)=R(T0) +. DELTA.T, wherein R (T)0) Is the resistance value of the resistor 110 at the temperature T0, R (T) is the resistance value of the resistor 110 at the temperature T, is the temperature coefficient of the resistor 110, and can be usually 0.2% -0.3%, T-T0Is the amount of change in temperature.
Capacitance value C (T) of capacitor 120 at time T (T ═ C (T)0)+β*(T-T0)=C(T0) + β Δ T, wherein C (T)0) Is the capacitance of the capacitor 120 at a temperature T0, C (T) is the capacitance of the capacitor 120 at a temperature T, β is the temperature coefficient of the capacitor 120, T-T0Is the amount of change in temperature. The temperature coefficient of the capacitor is usually 0.001% or less, and therefore is much smaller than that of the resistor, and in practical applications, only the temperature coefficient of the resistor may be considered, or both the temperature coefficients of the resistor and the capacitor may be considered.
Suppose in the example shown in FIG. 3, I is generated by two current sources, respectivelys1、Is2
Current I at time T of temperatures1Current value ofs1(T)=Is1(T0)+η*(T-T0)=Is1(T0) + η Δ T, wherein Is1(T0) Is a current Is1Current value at temperature T0, Is1(T) is a current Is1The current value at the temperature T, eta is the current Is1Temperature coefficient of current source of (1), T-T0Is the amount of change in temperature.
Current I at time T of temperatures2Current value ofs2(T)=Is2(T0)+γ*(T-T0)=Is2(T0) + γ Δ T, wherein, Is2(T0) Is a current Is2Current value at temperature T0, Is2(T) is a current Is2The current value at temperature T, gamma is the current Is2Temperature coefficient of current source of (1), T-T0Is the amount of change in temperature.
Therefore, the oscillation frequency at the time T of the temperature of the oscillation circuit:
f(T)=Is2(T)/(R(T)*C(T)*Is1(T))=[Is2(T0)+γ*ΔT]/{[R(T0)+*ΔT]*[C(T0)+β*ΔT]*[Is1(T0)+η*ΔT]} formula (1)
It can be known from the above equation (1) that the oscillation frequency is related to the temperature coefficients of the current, the capacitance and the resistance, so that the change of the current, the capacitance and the resistance with the temperature can be accurately predicted by measuring the real-time temperature of the system, and the change of the oscillation frequency can be eliminated by adjusting one, two or all parameters of the current, the capacitance and the resistance, so that the frequency does not change with the temperature. This allows for zero or low temperature coefficient oscillator systems.
Can be combined with Is1And Is2It is arranged to mirror the two currents generated by the current sources, i.e. from the same current source, so that the temperature coefficients of the two currents cancel each other out.
Thus, the above formula (1) may be:
f(T)=Is2(T0)/{[R(T0)+*(T-T0)]*[C(T0)+β*(T-T0)]*Is1(T0) } formula (2)
Wherein T-T is0Denoted as Δ T. Then equation (2) is expressed as (frequency at temperature T):
f(T)=(Is2(T0)/Is1(T0))/{[R(T0)+*ΔT]*[C(T0)+β*ΔT]}
=(Is2(T0)/Is1(T0))/{[R(T0)*C(T0)+(β*R(T0)+*C(T0))*ΔT+β**(ΔT)2]
≈(Is2(T0)/Is1(T0))/{[R(T0)*C(T0)+(β*R(T0)+*C(T0))*ΔT]
≈(Is2(T0)/Is1(T0))/{[R(T0)*C(T0)*[(1+(β*R(T0)+*C(T0))*ΔT)/(R(T0)*C(T0))]]
at a temperature T0Frequency of time f (T)0)=(Is2(T0)/Is1(T0))/(R(T0)*C(T0))。
Thus, f (T) and f (T) from above0) It can be seen that when the temperature of the oscillator system changes, the frequency will change with the temperature due to the change of the resistance value of the resistor and the capacitance value of the capacitor.
Therefore, under the premise of knowing the temperature coefficients of the resistor and the capacitor, the real-time temperature of the oscillator system can be detected, the change of the real-time temperature is obtained, then the resistance value and/or the capacitance value are adjusted, and finally the product of the resistance value and the capacitance value is not changed along with the temperature, so that the product of the resistance value and the capacitance value is changed into a constant which is irrelevant to the temperature, and the frequency of oscillation output is not changed along with the temperature change.
In the preferred embodiment of the present disclosure, since the temperature coefficient of the capacitor is usually about 0.001%, and the temperature coefficient of the capacitor is usually 1 to 2 orders of magnitude smaller than the temperature coefficient of the resistor, in practical applications, the frequency of the oscillation output can be made to be unchanged or substantially unchanged with temperature by considering only the influence of the temperature coefficient of the resistor, that is, only the resistance value of the resistor.
For example, as shown in fig. 6, the resistor using the semiconductor process may have a stable positive temperature coefficient or a negative temperature coefficient. The temperature coefficient of the resistor is positive or negative depending on the doping type of the resistor, depending on its particular manufacturing process.
Likewise, the principles of the present disclosure are equally applicable to other forms of RC oscillator circuits.
By way of example only, fig. 7 and 8 provide other forms of RC oscillator circuits.
In fig. 7, R1 ═ R2 ═ R3 ═ R, C1 ═ C2 ═ C3 ═ C, and the oscillation frequency f of the oscillation circuit shown in fig. 7 is 1/(2 × R ═ C × (6)). Thus, the frequency of the oscillating output can be made invariant, or substantially invariant, to temperature variations by controlling the values of the resistors and/or capacitors.
In fig. 8, R1 ═ R2 ═ R, C1 ═ C2 ═ C, and the oscillation frequency f of the oscillation circuit shown in fig. 8 is 1/(2 × pi R × C). Thus, the frequency of the oscillating output can be made invariant, or substantially invariant, to temperature variations by controlling the values of the resistors and/or capacitors.
The principles of the present disclosure are equally applicable to RC oscillation circuits, not enumerated herein.
Specific examples of fixing the oscillation output frequency by a resistance method, a capacitance method, and a current method will be described below.
In the following description, these three ways are explained separately, but as emphasized in the present disclosure, two of the ways, or three of the ways, may also be employed to simultaneously make the oscillating output frequency fixed. When more than one mode is used, the principle is the same as the principle explained below by one mode.
Mode of resistance change
In the first embodiment of the resistance change manner, taking the oscillation circuit shown in fig. 3 as an example, the current I may be set tos1、Is2The temperature coefficients of the capacitors are set to be equal, and because the temperature coefficient of the capacitors is 1-2 orders of magnitude smaller than that of the resistors, the influence of the temperature coefficient of the resistors is far greater than that of the capacitors, so that the oscillation period T can be considered to be influenced by the temperature coefficient of the contained resistorsThe resistivity resistance may be a polysilicon resistance doped with various types of impurities.
When the resistor with low temperature coefficient is adopted, the influence of the temperature of the oscillator system on the output oscillation period can be effectively reduced, so that the oscillator system with low temperature coefficient can be realized.
It should be noted that although the above description is made with reference to the example shown in fig. 3, it will be understood by those skilled in the art that the above principle is also applicable to other forms of RC oscillation circuits. For example, if the temperature characteristics of other types of RC oscillation circuits are influenced by the temperature characteristics of other elements in addition to the resistance and capacitance, the influence of the temperature characteristics of other elements can be eliminated by canceling each other, and the like, so that the temperature characteristics are mainly determined by the resistance and capacitance. In this way, even in other types of RC oscillation circuits, a low temperature coefficient oscillator system can be realized using a low temperature coefficient resistor.
In the first embodiment of the resistance system, the oscillator system of low temperature coefficient is realized by using the resistance of low temperature coefficient. However, in view of the manufacturing cost limitations, it is desirable to avoid the use of special semiconductor manufacturing processes, and other preferred embodiments are provided in this disclosure. In the preferred embodiment, the real-time temperature of the oscillator system may be detected by the temperature sensing element, and then the resistance value of the resistor may be adjusted by performing feedback control according to the detected real-time temperature.
In a second embodiment of the resistance method, the resistance value of the resistance is changed according to the detected real-time temperature value. Continuing with the example of the oscillator circuit shown in fig. 3, it is noted that the oscillator circuit shown in fig. 3 is merely an example.
As shown in fig. 9, in this embodiment, the temperature of the oscillator system is detected by the temperature detection unit 210, and the control signal generation unit 220 generates a control signal by which the resistance value of the resistor 110 is adjusted according to the system temperature detected by the temperature detection unit 210.
Three examples of the temperature detection unit 210 are shown in fig. 10.
First embodiment of temperature detection (Vbe)
In fig. 10(a), the system temperature of the oscillator system is obtained by the base-emitter voltage Vbe of the NPN transistor 211, wherein the current source 212 may be a system current source. In the NPN transistor 211, the Vbe voltage changes linearly with a change in temperature, for example, decreases linearly with an increase in temperature. Thus, the amount of temperature change can be obtained from the amount of change in the Vbe voltage value.
The Vbe voltage value representing the temperature variation is input to the control signal generating unit 220, and the control signal generating unit 220 may generate a control signal according to the Vbe voltage value, thereby changing the resistance value of the resistor 110.
The control signal unit 220 may include an analog-to-digital converter ADC for converting the Vbe voltage value into a digital signal, and a digital control circuit for generating a corresponding digital control signal according to the digital signal, so as to change the resistance value of the resistor 110.
In fig. 10(b), the system temperature of the oscillator system is obtained by the base-emitter voltage Vbe of the PNP transistor 211, wherein the current source 212 may be a system current source. In the PNP transistor 211, the Vbe voltage changes linearly with temperature, for example, decreases linearly with increasing temperature. Thus, the amount of temperature change can be obtained from the amount of change in the Vbe voltage value.
The Vbe voltage value representing the temperature variation is input to the control signal generating unit 220, and the control signal generating unit 220 may generate a control signal according to the Vbe voltage value, thereby changing the resistance value of the resistor 110.
The control signal unit 220 may include an analog-to-digital converter ADC for converting the Vbe voltage value into a digital signal, and a digital control circuit for generating a corresponding digital control signal according to the digital signal, so as to change the resistance value of the resistor 110.
In fig. 10(c), the system temperature of the oscillator system is obtained by the PN junction voltage Vbe of the diode 211, wherein the current source 212 may be a system current source. In the diode 211, the Vbe voltage value linearly changes with temperature, for example, linearly decreases with increasing temperature. Thus, the amount of temperature change can be obtained from the amount of change in the Vbe voltage value.
The Vbe voltage value representing the temperature variation is input to the control signal generating unit 220, and the control signal generating unit 220 may generate a control signal according to the Vbe voltage value, thereby changing the resistance value of the resistor 110.
The control signal unit 220 may include an analog-to-digital converter ADC for converting the Vbe voltage value into a digital signal, and a digital control circuit for generating a corresponding digital control signal according to the digital signal, so as to change the resistance value of the resistor 110.
Second embodiment of temperature detection (PTAT Voltage)
In this embodiment, the temperature may be measured using a PTAT (proportional To Absolute temperature) voltage that increases with increasing temperature.
Two examples of PTAT voltage generation circuits are shown in fig. 11. Wherein the PTAT voltage VT=kBT/q, wherein VTIs the Boltzmann constant, T is the temperature, q is the electronic quantity, VTIs in first order proportional relationship with temperature.
In FIGS. 11(a) and 11(b), the resistor R3The voltage across the terminals being a PTAT voltage of positive temperature coefficient, i.e. increasing with increasing temperature, where VR3=(kBT/Q) InN, where N is the base emitter area ratio of transistors Q1 and Q2, and N is typically 8. Wherein VR3The temperature coefficient of (A) is usually 0.176 mV/deg.C. In addition, a resistance R1And R2The voltage across is also a positive temperature coefficient PTAT voltage, where VR1=VR2=(kB*T/q)*InN*(R2/R3) Wherein R is1=R2=11*R3。VR1And VR2The temperature coefficient of (A) is usually 1.94 mV/DEG C.
The voltage value of the PTAT voltage varies linearly with temperature, for example, increases linearly with increasing temperature. Thus, the temperature change amount can be obtained by the change amount of the voltage value of the PTAT voltage.
The PTAT voltage value representing the temperature variation is input to the control signal generation unit 220, and the control signal generation unit 220 may generate a control signal according to the PTAT voltage value, thereby changing the resistance value of the resistor 110.
The control signal unit 220 may include an analog-to-digital converter ADC for converting the PTAT voltage value into a digital signal, and a digital control circuit for generating a corresponding digital control signal according to the digital signal, thereby changing the resistance value of the resistor 110.
Third embodiment of temperature detection (thermistor)
In this embodiment, a thermistor is used as the temperature detection element, and for example, a 103AT NTC thermistor can be used. Wherein the relationship between the NTC thermistor and temperature is: r (T) ═ R (T)0)*eB*(1/T-1/T0)Wherein R (T) is the resistance value of the NTC thermistor at the temperature T, R (T)0) Temperature T0B is a material constant of the NTC thermistor.
The voltage value of the thermistor changes with a change in temperature, for example, decreases with an increase in temperature. Thus, the temperature variation can be obtained from the voltage variation of the thermistor. The following table shows the resistance values corresponding to different temperatures of different models of NTC resistors.
Figure BDA0002467263750000141
The voltage value of the thermistor exhibiting the temperature variation is input to the control signal generating unit 220, and the control signal generating unit 220 may generate a control signal according to the voltage value of the thermistor, thereby changing the resistance value of the resistor 110.
The control signal unit 220 may include an analog-to-digital converter ADC for converting the voltage value of the thermistor into a digital signal, and a digital control circuit for generating a corresponding digital control signal according to the digital signal, so as to change the resistance value of the resistor 110.
The manner in which the resistor 110 is adjusted is given in fig. 12. When the resistor 110 is adjusted, the resistance value of the resistor 110 is adjusted according to the temperature variation detected by the temperature detection unit.
FIG. 12 shows an example of a resistive switching cell, resistor R1、R2、……、Rn-1、RnIn series, and each resistor is connected in parallel with a switch S1、S2、……、Sn-1、Sn. The resistors are connected or shorted by the on or off of the switch, so that the resistance value of the series resistor is changed, and the purpose of changing the resistance value is achieved.
Control signal V for on or off of switch1、V2、……、Vn-1、VnGenerated by the control signal generation unit 220.
Mode of capacitance change
Fig. 13 shows the manner in which the capacitance 120 is adjusted. When the capacitor 120 is adjusted, the capacitance value of the capacitor 120 is adjusted according to the temperature variation detected by the temperature detecting unit.
FIG. 12 shows an example of a capacitive switching cell, capacitor C1、C2、……、Cn-1、CnIn parallel, and each capacitor is connected in series with a switch S1、S2、……、Sn-1、Sn. Each capacitor is switched on or off by switching on or off the switch, so that the capacitance value of the parallel capacitor is changed, and the purpose of changing the capacitance value is achieved.
Control signal V for on or off of switch1、V2、……、Vn-1、VnGenerated by the control signal generation unit 220.
When the capacitance value of the capacitor 120 is adjusted according to the temperature variation detected by the temperature detection unit, the temperature detection unit may adopt the form of the temperature detection first embodiment, the temperature detection second embodiment, or the temperature detection third embodiment described above, which is not described herein again.
Mode of current change
Fig. 14 and 15 show a first embodiment and a second embodiment of a current source of a current varying manner, respectively.
In the first embodiment of the current source shown in fig. 14, the output current Is of the current source Is realized by adjusting the resistance value of the resistor R. Wherein the change of the resistance R may be changed according to the amount of temperature change detected by the temperature detecting unit. Thus, the resistance value of the resistor R Is adjusted to enable the value Is to be Iref=Vref/R。
In the second embodiment of the current source shown in FIG. 15, the different currents are provided by N FETs mirrored with the FET providing the reference current I, where N ≧ 1.
As shown in fig. 15, different current values are supplied to the resistor 110 or the capacitor 120 by controlling a plurality of MOS transistors MN1 … … MN (n) having different channel aspect ratios.
Including MOS transistor MNB, and MOS transistors MN0 … … MN (n), MN0 … … MN (n) each having a gate connected to the gate of MNB via a switch SW0 … … SW (n), respectively. Thus, when the respective switch SW0 … … SW (n) of MN0 … … MN (n) transistor is turned on, MNB provides a bias voltage to the respective transistor to turn on the respective transistor, so that each transistor will flow a different current due to the difference in the aspect ratio of the channel of the transistor. In one example, the width to length ratios of MN0 … … MN (n) transistors are 2 for MNB, respectivelynAnd (4) doubling. For example, when the n-th MOS transistor is turned on, the current is 2nI, where I is the bias current flowing through the MNB.
Control signal V of switch SW0 … … SW (n)1、V2、……、Vn-1、VnThe feedback value may be preset or may be feedback value of the detection resistor 400 and/or the thermistor 500.
Further, the MOS transistor MP1And the channel aspect ratio of the MOS transistor MP2 may be set to 1: 1, when the switch SW0 … … SW (n) is controlled to be turned on, the current generated by the transistor MP2 is 2n I。
It should be noted that, in the current changing mode, one current source may be used to generate two currents, and two current sources may also be used to generate two currents, respectively, and one or both of the two currents may be changed to implement an oscillator system with a zero temperature coefficient.
When the current value of the current source is adjusted according to the temperature variation detected by the temperature detection unit, the temperature detection unit may adopt the form of the above-described first embodiment, second embodiment or third embodiment of temperature detection, and details are not repeated here.
Comparator with a comparator circuit
Fig. 16 shows an example of a circuit diagram of a conventional comparator used in an RC oscillator, in which Vin serves as two input terminals. In the conventional comparator, due to the mismatch between the channel width-length ratio and the threshold voltage of the differential input pair transistors M1 and M2, the transistor pair M3 and M8, and the transistor pair M4 and M6, an equivalent offset voltage V is generated at the input terminal of the comparatorOSThe voltage value is usually 1-10 mV.
Figure BDA0002467263750000161
Figure BDA0002467263750000162
Wherein in the above formula, ID1And ID2For the bias currents of the transistor pairs M1 and M2, which are temperature dependent, the offset voltage caused by the mismatch of the transistor pairs M3 and M8 and the transistor pairs M4 and M6 is also reflected to the input terminal, and the offset voltage can also be expressed by the above equation.
According to the principle of RC oscillator, the equivalent offset voltage VOSWill be superimposed on the comparatorInput reference voltage V1=Is1In R. The oscillation period T ═ I of the oscillator system is thus obtaineds1*R+VOS)*C/Is2
If the equivalent offset voltage V is neglectedOSThe oscillation period will inevitably be affected.
In order to eliminate the equivalent offset voltage V in the present disclosureOSBased on the output voltage of the comparator itself, a pair of stable non-overlapping pulse calibration clocks Φ 1 and Φ 2 is implemented. Thereby the equivalent offset voltage VOSThe calibration is zero, so that the equivalent offset voltage V can be eliminatedOSThe influence of (c).
Wherein the waveforms of the non-overlapping pulse alignment clocks Φ 1 and Φ 2 are shown in fig. 17. Wherein the low level time of the pulse alignment clock phi 1 and the high level time of phi 2 are (I)s1*R)*C/Is2Low level time of pulse alignment clock Φ 1 and high level time T of Φ 2DELAY
A zero offset comparator with offset calibration according to one embodiment of the present disclosure is shown in fig. 18 (a). Wherein at a reference voltage V1The input end of the voltage regulator is connected in series with an offset voltage storage voltage CAZ. Wherein the reference voltage V is exemplified as shown in FIG. 31A reference voltage generated by a resistor, and a switch SW connected in series with the input end2
At V2The input end of (the voltage end of the capacitor in FIG. 3) is connected in series with a switch SW2. In addition, at V1And V2Is connected with a switch SW1At the output of the comparator with V2Is connected with SW1And at V1Is connected with SW between the input end of the switch and the ground1
Pulse alignment clock Φ 1 for controlling switch SW1On and off, the pulse alignment clock Φ 2 being used to control the switch SW2On and off. For example, when the pulse alignment clock Φ 1 is high, the switch SW1Conducting; when the pulse alignment clock Φ 1 is at low level, the switch SW1Disconnecting; when the pulse alignment clock Φ 2 is high, the switch SW2Conducting; in pulse calibrationWhen the clock phi 2 is at low level, the switch SW2And (5) disconnecting.
When the pulse alignment clock Φ 1 is at a high level and the pulse alignment clock Φ 2 is at a low level, the switch SW1Conducting and switching SW2And (5) disconnecting. FIG. 18(a) will then be equivalent to FIG. 18(b), where C isAZWill store offset voltage VOS
When the pulse alignment clock Φ 1 is at a low level and the pulse alignment clock Φ 2 is at a high level, the switch SW1Open and switch SW2Conducting, as shown in FIG. 18(C), CAZIs connected in series at V1To the input terminal of (1). Because of CAZIs equal to the storage offset voltage VOSAnd direction and VOSInstead, V will therefore be cancelled outOS. So that VOSIs no longer superposed on V1Thereby eliminating VOSInfluence on the oscillation period.
FIG. 19 shows a circuit diagram of a comparator according to the present disclosure, in which the equivalent offset voltage V is cancelled, compared to the comparator in the prior art as shown in FIG. 16OSIn addition, a compensation capacitor C is connected between the drain and the gate of the MOS transistor M6C1And switch SW1And a compensation capacitor C is connected between the drain and the gate of the MOS transistor M7C1And switch SW1The series circuit of (1). Wherein SW1Controlled by a pulse alignment clock Φ 1.
Reset controller
According to an embodiment of the present disclosure, the charging and discharging of the capacitor 120 is also controlled by the reset control, which is the switch control signal V shown in fig. 3SWA pair of stable non-overlapping pulse alignment clocks Φ 1 and Φ 2 are generated by the non-overlapping clock generation circuit.
A non-overlapping clock generation circuit according to the present disclosure is shown in fig. 20. According to a switch control signal VSWTo generate the pulse alignment clocks Φ 1 and Φ 2.
Fig. 21 shows a waveform diagram of non-overlapping pulse alignment clocks Φ 1 and Φ 2. In which the pulse aligns the low level time of clock phi 1 and the high level time of phi 2Is (I)s1*R)*C/Is2Low level time of pulse alignment clock Φ 1 and high level time T of Φ 2DELAY. The waveform diagram is the same as the waveform diagram shown in fig. 17.
In the present disclosure, after the novel reset control logic is added, the area of the comparator can be reduced, the power consumption of the comparator can be reduced, and the area size of the discharge switch 160 can be reduced at the same time.
A waveform diagram for the circuit of the embodiment of fig. 3 according to the present disclosure is shown in fig. 22. It can be seen from the figure that the discharge time of the delay capacitor cannot be longer than the delay time t of the comparator at the longestpRequires tp>=t2+t3That is to say (t)2+t3) Must be less than the comparator output VCOMPThe rise time (output delay time of the comparator) from the low level to the high level. Thus, the voltage of the capacitor can be changed from VpFrom the change to 0, the next cycle of charging is started.
As can be seen from FIG. 22, the period T of the oscillating outputCLK=TVcomp=t0+t1+t2+t3Wherein t is0=(IS1/IS2) R C, the design target value of the oscillator. In IS1And IS2T is from the same current source or the same type of current source under the condition that the temperature coefficients are mutually counteracted0The variation with temperature is only related to the temperature coefficients of the resistor and the capacitor, and the temperature coefficient of the capacitor is one order of magnitude smaller than that of the resistor, so t0Only with respect to the temperature coefficient of resistance.
t1Is the output voltage V of the comparatorCOMPDelay time from high level to low level.
t2Is the voltage V across the capacitorpBecomes V1The discharge time of (C) is determined by the size of the capacitor C and the on-resistance of the discharge switch SW.
t3Is the output voltage V of the comparatorCOMPRise time from low to high.
t2+t3Is the output voltage V of the comparatorCOMPThe low level duration of (c) is actually the comparator output delay time.
t1、t2、t3Depending on the process parameters and the magnitude of the comparator bias current, the oscillation period will deviate from the design value. At the same time, t1、t2、t3And also temperature dependent, resulting in a variation of the oscillation period with temperature variation. Therefore, in the design process, it is necessary to minimize t1、t2、t3. Thereby enabling the output T of the oscillator systemCLK=TVcomp=t0=(IS1/IS2)*R*C。
It can also be seen from fig. 22 that the discharge time of the capacitor is obviously no longer than the comparator delay time tp,tp>=t2+t3I.e. (t)2+t3) Is less than the rising time of the comparator output from low level to high level, during which the capacitor voltage changes from VpBecomes 0 and then the charge phase of the next cycle begins. It is also desirable that the delay time of the comparator is not too short, otherwise the capacitor voltage cannot be driven from V in a short timepBleeding to 0.
Therefore, in order to make the oscillator system output a clock signal with a fixed frequency, it is necessary to reduce the delay time of the comparator in the case of meeting the demand.
A general representation of the delay time of the comparator is shown in fig. 23. Wherein VILFor inputting low level, VIHTo output high level, (V)OH+VOL) /2 is 1/2 level between high level and low level, which represents the dividing point of the comparator output from low level to high level, tpFor comparator input vinFrom low level to (V)IH+VIL) Start of/2, output voutFrom low level to (V)OH+VOL) Delay time of/2.
The output delay time for a two-stage comparator as shown in fig. 24 can be generally expressed as:
Figure BDA0002467263750000191
Figure BDA0002467263750000192
wherein, 1/gdsIs the output resistance of the MOS transistor, and λ is the channel modulation effect parameter of the MOS transistor, IDFor the static bias current of MOS transistor, the larger the current is, the larger gdsThe larger the comparator delay time, the smaller λ, IDAre temperature dependent and are generally approximately proportional to temperature.
CIIs the first stage output v of the comparatoro1The parasitic capacitance of the node is proportional to the sizes of M2, M4 and M6, and the smaller the sizes of M2, M4 and M6 are, the smaller the size of CIThe smaller the comparator delay time. But C isIIIs the output v of the comparatoroutParasitic capacitance of node, measured by size of M6 and M7 and load capacitance CLDetermined M6 and M7 sizes and load capacitance CLThe smaller the comparator delay time.
From the above analysis, it can be seen that it is desirable that the comparator delay time is short on the one hand, and not too short on the other hand, because the capacitor C needs enough time to discharge, and therefore, how to resolve the contradiction between the two needs to be considered.
If the delay time of the comparator is unlimitedly reduced, the discharge time of the capacitor needs to be unlimitedly accelerated, but in this way, the on-resistance of the discharge switch can be reduced only by continuously increasing the width-to-length ratio W/L of the discharge switch, and the discharge time is accelerated, so that the area of a chip is increased.
(t2+t3) Is the voltage V across the capacitorPThe discharge time to 0 is determined by the size of the capacitor and the on-resistance of the discharge switch. The discharge time constant of the capacitor C is Ron*C,RonIs the on-resistance of the discharge switch. The discharge switch is usually designed by a MOSFET, and its on-resistance is:
Figure BDA0002467263750000193
due to the mobility μnThreshold voltage VTHFixed, the discharge time cannot be accelerated by reducing the capacitance value of the capacitor because the oscillation period of the oscillator system is made of (I)S1/IS2) R C is dependent on the capacitance C and therefore the discharge time cannot be adjusted by C. At this time, the on-resistance of the switch can only be reduced by increasing the width-to-length ratio W/L of the MOSFET switch, thereby reducing t2
In the present disclosure, in order to solve this problem, a discharge pulse reset circuit is provided in which the high level of the output of the discharge pulse reset circuit is determined not by the comparator delay time but by the delay time of the inverter inv1 shown in fig. 25. Thus, t2Delay time T by inverter inv1dlyTherefore, the delay time of the comparator can be reduced as much as possible, and the delay time of the comparator can be designed independently without influencing the discharge time of the capacitor C. Finally, the delay time T of the inverter can be designed appropriatelydlyTo design a reasonably acceptable discharge switch size.
Fig. 26 is a schematic diagram showing a circuit configuration of the inverter. Delay time T of inverterdlyComprises the following steps:
Figure BDA0002467263750000201
wherein, Wn/LnIs the width-to-length ratio of NMOS, Wp/LpIs the width-to-length ratio of PMOS, CLLoading the output terminal of the inverter with a capacitor, munFor electron mobility, μpFor hole mobility, VDDIs a supply voltage, CoxIs the capacitance per unit area of gate oxide.
Can see TdlyDepending on both temperature and process, it is desirable to minimize T in the ideal casedlySo as to reduce the influence of temperature on the oscillation period. However, TdlyAnd can not be reduced without limit because of the discharge time of the capacitor CMust be less than Tdly. Usually TdlyNeed to be designed as 8RSW*C<0.001-0.01*TCLK=(IS1/IS2)*R*C。
Thus, T is reduceddlyThere is a need to increase the discharge switch R without limitationSWThe aspect ratio of (2) will increase the chip area. And too large a size of the discharge switch may also result in a parasitic capacitance (C) of a drain of the discharge switchd) Is increased and CdEquivalently, the oscillation period becomes TCLK=t0=(IS1/IS2)*R*(C+Cd) Deviation from the target design value TCLK=t0=(IS1/IS2)*R*C。
To solve the problem that T can be reduced without increasing the width-length ratio of a discharge switchdlyIn the present disclosure, the inverter inv1 in the pulse reset circuit shown in the lower left side of fig. 25 is replaced with any one of the circuit configurations shown in fig. 27.
In the circuit configuration of fig. 27, a resistor R is connected in parallel to the inverterdlyAnd at the resistance RdlyA capacitor C is connected with the grounddly. Thus, the input-to-output delay time of the circuit shown in fig. 27 can be expressed as: t isdly(total)≈Tdly(inv)+Rdly*CdlyWherein T isdly(inv) is the inverter delay time, RdlyIs a resistance RdlyResistance value of CdlyIs a capacitor CdlyThe capacitance value of (2).
In practice, the minimum T can be achieved by using the inverter inv1 with the smallest size in the given process conditionsdly(inv), typically in ns order, compared to Rdly*CdlyCan be ignored.
Wherein R isdly*Cdly=8*RSWC, in practical design, C may bedlyC, then Rdly=8*RSW
Will resistance RdlyUsing the same type of resistor as resistor 110, that is to say having the same temperature coefficient, by the above temperature calibration method it is possible to useTo change R equally while adjusting the resistor 110dlySize of (1), keep TdlyIndependent of temperature, thereby enabling the oscillation period TCLK=(IS1/IS2)*R*C+TdlyIndependent of temperature.
In addition, the capacitor CdlyWith the same temperature coefficient as that of the capacitor 120, by the above temperature calibration method, C can be changed identically while adjusting the capacitor 120dlySize of (1), keep TdlyIndependent of temperature, thereby enabling the oscillation period TCLK=(IS1/IS2)*R*C+TdlyIndependent of temperature.
Through the various embodiments of the present disclosure, the oscillation output frequency of the RC oscillator can be fixed by changing the current, the resistance and/or the capacitance, and the influence of the elements used in the oscillator on the oscillation output frequency can be eliminated, so that a stable fixed output frequency can be obtained.
In the description herein, reference to the description of the terms "one embodiment/mode," "some embodiments/modes," "example," "specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment/mode or example is included in at least one embodiment/mode or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to be the same embodiment/mode or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments/modes or examples. Furthermore, the various embodiments/aspects or examples and features of the various embodiments/aspects or examples described in this specification can be combined and combined by one skilled in the art without conflicting therewith.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
It will be understood by those skilled in the art that the foregoing embodiments are merely for clarity of illustration of the disclosure and are not intended to limit the scope of the disclosure. Other variations or modifications may occur to those skilled in the art, based on the foregoing disclosure, and are still within the scope of the present disclosure.

Claims (16)

1. An RC oscillator, comprising:
an oscillation circuit that includes a system resistance and a system capacitance, and that generates and outputs an oscillation voltage from a resistance voltage generated by the system resistance and a capacitance voltage generated by the system capacitance;
a temperature control circuit for detecting a temperature of the RC oscillator and changing a resistance value of the system resistance and/or a capacitance value of the system capacitance according to the detected temperature to thereby change the resistance voltage and/or the capacitance voltage so as to make an oscillation frequency of an oscillation voltage output by the RC oscillator fixed according to the changed resistance voltage and/or capacitance voltage; and
a current source providing a current to the system resistance so that the system resistance generates the resistance voltage, and providing a current to the system capacitance so that the system capacitance generates the capacitance voltage,
the system capacitor is connected with a discharge switch in parallel, the discharge switch is used for controlling the charging and discharging of the system capacitor so as to generate the capacitor voltage, the discharge switch is controlled by a reset controller, the reset controller generates a discharge switch control signal to control the on and off of the discharge switch so as to discharge and charge the system capacitor, the reset controller comprises an inverter circuit, and the duration time of the discharge switch control signal for controlling the discharge switch to discharge is determined only by the delay time of the inverter circuit.
2. The RC oscillator of claim 1, wherein the temperature control circuit detects the temperature of the RC oscillator by a base-emitter voltage of a transistor, or a PN junction voltage of a diode, or a PTAT voltage generated by a PTAT voltage generation circuit, or a thermistor.
3. The RC oscillator of claim 1 or 2, wherein the current source comprises one current source or two current sources, the one current source generating a first current provided to the system resistance and a second current provided to the system capacitance when the current source comprises one current source, the two current sources generating a first current provided to the system resistance and a second current provided to the system capacitance when the current source comprises two current sources, respectively, and generating the oscillating voltage based on a comparison of a resistance voltage produced by the system resistance and a capacitance voltage produced by the system capacitance.
4. The RC oscillator of claim 3, wherein the temperature control circuit changes one or more of a resistance value of the system resistance, a capacitance value of the system capacitance, a current value of the first current, and a current value of the second current according to the detected temperature so that an oscillation frequency of an oscillation voltage output by the RC oscillator is fixed.
5. The RC oscillator of claim 4, further comprising a comparator into which the resistance voltage and the capacitance voltage are input, the comparator comparing the resistance voltage and the capacitance voltage and outputting a comparison voltage, and generating the oscillating voltage based on the comparison voltage.
6. The RC oscillator as claimed in claim 5, wherein the comparator includes an offset voltage storage capacitor connected in series to an input terminal of a resistance voltage of the comparator, the offset voltage storage capacitor is controlled to be charged by an output voltage of the comparator when the oscillating voltage is at a high level, and the offset voltage storage capacitor is controlled to be discharged to cancel an offset voltage of the comparator when the oscillating voltage is at a low level, thereby eliminating an influence of the offset voltage on the oscillating frequency.
7. The RC oscillator of claim 6, wherein the comparator comprises a first switch and a second switch, the offset voltage storage capacitor is charged by the output voltage of the comparator when the first switch is turned on and the second switch is turned off, and the resistance voltage and the capacitance voltage are input to the comparator when the first switch is turned off and the second switch is turned on.
8. The RC oscillator of claim 3, wherein when the oscillating voltage is high, the discharge switch control signal is high, controlling the discharge switch to conduct to discharge the system capacitor, and when the oscillating voltage is low, the discharge switch control signal is low, controlling the discharge switch to open to charge the system capacitor.
9. The RC oscillator of claim 8, wherein the inverter circuit includes an inverter, an inverter resistance, and an inverter capacitance, the inverter resistance being connected in series to an output terminal or an input terminal of the inverter, the inverter capacitance having one end connected to the inverter resistance and the other end grounded,
the inverter resistor has the same temperature coefficient as the system resistor, and when the resistance value of the system resistor is changed by the temperature control circuit, the resistance value of the inverter resistor is also changed accordingly, and/or
The inverter capacitor and the system capacitor have the same temperature coefficient, and when the capacitance value of the system capacitor is changed through the temperature control circuit, the capacitance value of the inverter capacitor is also changed correspondingly.
10. An electrical device comprising an RC oscillator as claimed in any one of claims 1 to 9.
11. An RC oscillator, comprising: a system resistor, a system capacitor, a current source, a comparator, a reset controller, a discharge switch and a temperature control circuit,
the current source is one current source or two current sources of the same type and respectively supplies current to the system resistor and the system capacitor,
the discharge switch is connected in parallel to both sides of the system capacitor, and the reset controller controls on and off of the discharge switch to discharge and charge the system capacitor, thereby generating a capacitor voltage,
a resistance voltage generated by the system resistance and a capacitance voltage generated by the system capacitance are input into the comparator, the comparator generates a comparison voltage according to a comparison of the resistance voltage and the capacitance voltage, and the RC oscillator generates an oscillation voltage according to the comparison voltage,
the temperature control circuit is used for detecting the temperature of the RC oscillator and changing the resistance value of the system resistor and/or the capacitance value of the system capacitor according to the detected temperature so as to change the resistance voltage and/or the capacitance voltage, so that the oscillation frequency of the oscillation voltage output by the RC oscillator is fixed,
the system resistor is a low temperature coefficient resistor so as to realize a low temperature coefficient RC oscillator, wherein the reset controller comprises an inverter circuit, and the duration of the discharge switch control signal for controlling the discharge switch to discharge is determined only by the delay time of the inverter circuit.
12. The RC oscillator of claim 11, wherein the comparator includes an offset voltage storage capacitor connected in series to an input terminal of a resistor voltage of the comparator, and the offset voltage storage capacitor is controlled to be charged by an output voltage of the comparator when the oscillating voltage is at a high level, and is controlled to be discharged to cancel the offset voltage of the comparator when the oscillating voltage is at a low level, so as to eliminate an influence of the offset voltage on the oscillating frequency.
13. The RC oscillator of claim 12, wherein the comparator comprises a first switch and a second switch, the offset voltage storage capacitor being charged by the output voltage of the comparator when the first switch is on and the second switch is off, the resistance voltage and the capacitance voltage being input to the comparator when the first switch is off and the second switch is on.
14. The RC oscillator of any of claims 11 to 13, wherein the reset controller controls the discharge switch to be turned on and off by a discharge switch control signal, wherein when the oscillating voltage is high, the discharge switch control signal is high, controlling the discharge switch to be turned on to discharge the system capacitance, and when the oscillating voltage is low, the discharge switch control signal is low, controlling the discharge switch to be turned off to charge the system capacitance.
15. The RC oscillator of claim 14, wherein the inverter circuit includes an inverter, an inverter resistance, and an inverter capacitance, the inverter resistance being connected in series to an output terminal or an input terminal of the inverter, the inverter capacitance having one end connected to the inverter resistance and the other end connected to ground,
the inverter resistor has the same temperature coefficient as the system resistor, and when the resistance value of the system resistor is changed by the temperature control circuit, the resistance value of the inverter resistor is also changed accordingly, and/or
The inverter capacitor and the system capacitor have the same temperature coefficient, and when the capacitance value of the system capacitor is changed through the temperature control circuit, the capacitance value of the inverter capacitor is also changed correspondingly.
16. An electrical device comprising an RC oscillator as claimed in any one of claims 11 to 15.
CN202010337600.2A 2020-04-26 2020-04-26 RC oscillator and electric device Active CN111404484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010337600.2A CN111404484B (en) 2020-04-26 2020-04-26 RC oscillator and electric device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010337600.2A CN111404484B (en) 2020-04-26 2020-04-26 RC oscillator and electric device

Publications (2)

Publication Number Publication Date
CN111404484A CN111404484A (en) 2020-07-10
CN111404484B true CN111404484B (en) 2020-12-08

Family

ID=71431688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010337600.2A Active CN111404484B (en) 2020-04-26 2020-04-26 RC oscillator and electric device

Country Status (1)

Country Link
CN (1) CN111404484B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112290889B (en) * 2020-11-16 2022-09-20 唯捷创芯(天津)电子技术股份有限公司 On-chip RC oscillator, chip and communication terminal
CN115800958B (en) * 2021-09-10 2024-04-12 圣邦微电子(北京)股份有限公司 Relaxation oscillator circuit
CN113872590A (en) * 2021-09-30 2021-12-31 上海赛而微微电子科技有限公司 Circuit, integrated circuit and method for stabilizing output frequency of oscillator
CN115389984B (en) * 2022-08-15 2024-08-02 国网天津市电力公司 Mutual inductor polarity identification device and identification method based on non-oscillation over-damping characteristic
CN116155238A (en) * 2023-04-21 2023-05-23 芯翼成科技(成都)有限公司 Relaxation oscillator system
CN118449455A (en) * 2024-07-05 2024-08-06 上海灵动微电子股份有限公司 Oscillator and integrated circuit

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1726641A (en) * 2002-12-17 2006-01-25 皇家飞利浦电子股份有限公司 Temperature compensated RC oscillator
CN202143040U (en) * 2011-06-28 2012-02-08 比亚迪股份有限公司 Trimming circuit for RC oscillator and RC oscillator adopting the same
CN103346735A (en) * 2013-06-13 2013-10-09 深圳市芯海科技有限公司 Clock signal generation method and device of microcontroller and microcontroller
CN206790441U (en) * 2017-05-31 2017-12-22 广东工业大学 A kind of RC oscillators and DC D/C power chip
CN107769733A (en) * 2017-10-25 2018-03-06 天津大学 A kind of switched capacitor amplifier imbalance eliminates structure
CN109787559A (en) * 2017-11-10 2019-05-21 北京展讯高科通信技术有限公司 Resistance capacitance RC oscillating circuit
CN111092609A (en) * 2019-12-30 2020-05-01 西北工业大学 RC relaxation oscillator without reference voltage
CN111416623A (en) * 2020-03-24 2020-07-14 大连理工大学 Low-offset wide-range comparator circuit based on fish swarm algorithm

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455262A (en) * 2002-05-04 2003-11-12 朱筱杰 Resistance measuring circuit and detection, control and alarm apparatus comprising said circuit
US8044740B2 (en) * 2009-09-03 2011-10-25 S3C, Inc. Temperature compensated RC oscillator for signal conditioning ASIC using source bulk voltage of MOSFET
EP2439846A1 (en) * 2010-10-06 2012-04-11 Nxp B.V. Temperature compensated RC oscillator
CN102983836B (en) * 2012-11-27 2015-11-18 重庆西南集成电路设计有限责任公司 Active RC filter automatic frequency tuning circuit
CN103281055B (en) * 2013-04-28 2016-09-07 深圳市芯海科技有限公司 Rc oscillator
CN205336242U (en) * 2016-01-20 2016-06-22 桂林电子科技大学 Developments comparator with imbalance compensation
CN107332541B (en) * 2017-06-20 2019-09-24 西北工业大学 The RC relaxor that comparator imbalance is offset
CN107994870A (en) * 2017-12-27 2018-05-04 上海艾为电子技术股份有限公司 A kind of temperature drift compensating circuit and RC oscillator

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1726641A (en) * 2002-12-17 2006-01-25 皇家飞利浦电子股份有限公司 Temperature compensated RC oscillator
CN202143040U (en) * 2011-06-28 2012-02-08 比亚迪股份有限公司 Trimming circuit for RC oscillator and RC oscillator adopting the same
CN103346735A (en) * 2013-06-13 2013-10-09 深圳市芯海科技有限公司 Clock signal generation method and device of microcontroller and microcontroller
CN206790441U (en) * 2017-05-31 2017-12-22 广东工业大学 A kind of RC oscillators and DC D/C power chip
CN107769733A (en) * 2017-10-25 2018-03-06 天津大学 A kind of switched capacitor amplifier imbalance eliminates structure
CN109787559A (en) * 2017-11-10 2019-05-21 北京展讯高科通信技术有限公司 Resistance capacitance RC oscillating circuit
CN111092609A (en) * 2019-12-30 2020-05-01 西北工业大学 RC relaxation oscillator without reference voltage
CN111416623A (en) * 2020-03-24 2020-07-14 大连理工大学 Low-offset wide-range comparator circuit based on fish swarm algorithm

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A 110 nW Resistive Frequency Locked On-Chip Oscillator with 34.3 ppm/◦C Temperature Stability for System-on-Chip Designs;Myungjoon Choi等;《IEEE JOURNAL OF SOLID-STATE CIRCUITS》;20160930;第51卷(第9期);第2106页-2116页 *
一种数控反馈自校准温度补偿RC振荡器;王海金;《中国优秀硕士学位论文全文数据库 信息科技辑》;20190115;第1-18页 *

Also Published As

Publication number Publication date
CN111404484A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN111404484B (en) RC oscillator and electric device
US9785176B2 (en) Small-circuit-scale reference voltage generating circuit
US10027312B2 (en) Low temperature coefficient clock signal generator
US8368472B2 (en) Oscillation circuit
US8115559B2 (en) Oscillator for providing a constant oscillation signal, and a signal processing device including the oscillator
US7843279B2 (en) Low temperature coefficient oscillator
US20060114073A1 (en) Temperature compensated r-c oscillator
US11949417B2 (en) Precision oscillators that use imprecise components
CN109690948B (en) Method and apparatus for low power relaxation oscillator
CN109194328B (en) High-precision on-chip oscillator
CN114296503B (en) Ultra-low power consumption programmable low dropout linear voltage regulator circuit
CN106788338A (en) RC oscillating circuits
CN112000162A (en) Band-gap reference voltage source
JP3136012U (en) Oscillator
US8022744B2 (en) Signal generator
CN115149904A (en) Oscillator circuit capable of calibrating temperature coefficient and voltage coefficient
CN114185388A (en) Temperature characteristic adjustable current module, oscillator and circuit
CN112558680A (en) Linear regulator and control circuit thereof
US12088250B2 (en) Thermally compensated circuits
JP3852924B2 (en) Oscillator circuit
US20240097618A1 (en) Inductor current reconstruction circuit, controller and switched-mode power supply
WO2023243050A1 (en) Switching regulator
JP2024002737A (en) Timer circuit, oscillator circuit, and semiconductor device
WO2022106617A1 (en) Amplitude regulator for crystal oscillator
CN118174653A (en) Oscillator circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant