US20190199287A1 - Oscillation circuit, microcomputer and electronic device - Google Patents
Oscillation circuit, microcomputer and electronic device Download PDFInfo
- Publication number
- US20190199287A1 US20190199287A1 US16/232,122 US201816232122A US2019199287A1 US 20190199287 A1 US20190199287 A1 US 20190199287A1 US 201816232122 A US201816232122 A US 201816232122A US 2019199287 A1 US2019199287 A1 US 2019199287A1
- Authority
- US
- United States
- Prior art keywords
- oscillation circuit
- circuit
- oscillation
- voltage
- temperature characteristic
- 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.)
- Granted
Links
- 230000010355 oscillation Effects 0.000 title claims abstract description 117
- 238000012937 correction Methods 0.000 claims abstract description 67
- 238000006243 chemical reaction Methods 0.000 claims abstract description 23
- 230000003321 amplification Effects 0.000 claims description 5
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 22
- 239000003990 capacitor Substances 0.000 description 11
- 101710170231 Antimicrobial peptide 2 Proteins 0.000 description 9
- 238000012545 processing Methods 0.000 description 6
- HODRFAVLXIFVTR-RKDXNWHRSA-N tevenel Chemical compound NS(=O)(=O)C1=CC=C([C@@H](O)[C@@H](CO)NC(=O)C(Cl)Cl)C=C1 HODRFAVLXIFVTR-RKDXNWHRSA-N 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 239000000470 constituent Substances 0.000 description 4
- 230000000630 rising effect Effects 0.000 description 4
- 239000004065 semiconductor Substances 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 101710170230 Antimicrobial peptide 1 Proteins 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- WQZGKKKJIJFFOK-GASJEMHNSA-N Glucose Natural products OC[C@H]1OC(O)[C@H](O)[C@@H](O)[C@@H]1O WQZGKKKJIJFFOK-GASJEMHNSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 230000036772 blood pressure Effects 0.000 description 1
- 239000000872 buffer Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000008103 glucose Substances 0.000 description 1
- 239000012535 impurity Substances 0.000 description 1
- 238000009413 insulation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002604 ultrasonography Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03B—GENERATION 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/00—Generation of oscillations using amplifier with regenerative feedback from output to input
- H03B5/02—Details
- H03B5/04—Modifications of generator to compensate for variations in physical values, e.g. power supply, load, temperature
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K3/00—Circuits for generating electric pulses; Monostable, bistable or multistable circuits
- H03K3/01—Details
- H03K3/011—Modifications of generator to compensate for variations in physical values, e.g. voltage, temperature
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03B—GENERATION 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/00—Generation of oscillations using amplifier with regenerative feedback from output to input
- H03B5/08—Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element comprising lumped inductance and capacitance
- H03B5/12—Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element comprising lumped inductance and capacitance active element in amplifier being semiconductor device
- H03B5/1206—Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element comprising lumped inductance and capacitance active element in amplifier being semiconductor device using multiple transistors for amplification
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/14—Modifications for compensating variations of physical values, e.g. of temperature
- H03K17/145—Modifications for compensating variations of physical values, e.g. of temperature in field-effect transistor switches
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K3/00—Circuits for generating electric pulses; Monostable, bistable or multistable circuits
- H03K3/02—Generators characterised by the type of circuit or by the means used for producing pulses
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K3/00—Circuits for generating electric pulses; Monostable, bistable or multistable circuits
- H03K3/02—Generators characterised by the type of circuit or by the means used for producing pulses
- H03K3/023—Generators characterised by the type of circuit or by the means used for producing pulses by the use of differential amplifiers or comparators, with internal or external positive feedback
- H03K3/0231—Astable circuits
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03B—GENERATION 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
- H03B2200/00—Indexing scheme relating to details of oscillators covered by H03B
- H03B2200/003—Circuit elements of oscillators
- H03B2200/0038—Circuit elements of oscillators including a current mirror
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03B—GENERATION 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
- H03B2200/00—Indexing scheme relating to details of oscillators covered by H03B
- H03B2200/006—Functional aspects of oscillators
- H03B2200/0088—Reduction of noise
Definitions
- the present invention relates to an oscillation circuit in which the oscillating frequency is temperature compensated. Furthermore, the invention relates to a microcomputer, an electronic device, and the like that use such an oscillation circuit.
- a semiconductor apparatus such as a microcomputer has an oscillation circuit that supplies a clock signal to a CPU (central processing unit), a peripheral circuit, and the like.
- the oscillating frequency of an oscillation circuit has temperature dependence, and thus the oscillating frequency of the oscillation circuit is temperature compensated according to detected temperature information, by a temperature sensor detecting the environmental temperature.
- JP-A-2012-70224 discloses a semiconductor apparatus that has a clock oscillation circuit in which the oscillating frequency is temperature compensated.
- This clock oscillation circuit has a current output circuit that can adjust the dependence of an output current on a power source voltage and temperature, a frequency voltage conversion circuit in which the frequency of the clock signal is changed by changing the number of electrostatic capacitance elements that are connected in parallel to a capacity node that receives output current, and a clock setting unit that generates and outputs a signal for setting the frequency of the clock signal to a frequency voltage conversion circuit.
- the frequency is switched by a switch selecting an electrostatic capacitance element, based on a 4-bit frequency adjustment control signal.
- JP-A-2012-70224 is an example of related art (Abstract, Paragraph 0030, FIG. 12).
- control signals that control the oscillating frequency of an oscillation circuit are also digital signals, and a capacitance element or a resistance element used in an oscillation operation is switched by the control signal. Accordingly, when the oscillating frequency of an oscillation circuit is temperature compensated following a change in temperature, the oscillating frequency changes in discrete values rather than continuous values. As a result, it is possible that noise, jitter, and the like will increase due to changes in characteristics before and after the capacitance element or the resistance element is switched.
- An advantage of some aspects of the invention is to provide an oscillation circuit that continuously temperature compensates the oscillating frequency following a change in temperature to decrease noise, jitter, and the like, without switching a capacitance element or a resistance element used in an oscillation operation.
- a further advantage of some aspects of the invention is to provide a microcomputer and an electronic device that use such an oscillation circuit.
- an oscillation circuit includes a charge-discharge type oscillation unit that performs an oscillation operation at an oscillating frequency that is associated with a control current value, and a control current generation unit that generates the control current.
- the control current generation unit includes a reference voltage generation circuit that generates a reference voltage that has a first temperature characteristic, a temperature characteristic slope correction circuit that corrects a slope of a temperature characteristic of the reference voltage in accordance with the first correction information and generates an output voltage that has a second temperature characteristic, and a voltage-current conversion circuit that converts the output voltage of the temperature characteristic slope correction circuit into the control current, and that corrects the control current value in accordance with second correction information.
- the temperature dependence of the oscillating frequency of the charge-discharge type oscillation unit is suppressed by a temperature characteristic of the control current.
- an oscillation circuit can be provided that, by the temperature characteristic slope correction circuit correcting the slope of the temperature characteristic of the reference voltage, and the voltage-current conversion circuit converting the output voltage of the temperature characteristic slope correction circuit into the control current of an appropriate magnitude and controlling the oscillating frequency, continuously temperature compensates the oscillating frequency following a change in temperature and lowers noise, jitter, and the like without switching the capacitance element or the resistance element that is used in an oscillation operation. Also, reduction of manufacturing costs and other such effects are possible because the circuit size is smaller than the existing oscillation circuit disclosed in JP-A-2012-70224.
- the reference voltage generation circuit includes a bipolar transistor having a base that is connected to a collector, and generates the reference voltage based on a voltage between an emitter of the bipolar transistor and the base and collector.
- a temperature sensor is configured with a bipolar transistor, and can thus generate a reference voltage that has the first temperature characteristic.
- the temperature characteristic slope correction circuit has a constant voltage generation circuit that generates a constant voltage, a differential amplifier circuit that amplifies the reference voltage with the constant voltage as the reference, and a first resistor that has a resistance value that is set in accordance with the first correction information and sets an amplification factor of the differential amplifier circuit, and the temperature characteristic slope correction circuit corrects the slope of the temperature characteristic of the reference voltage based on a resistance value of the first resistor.
- the temperature characteristic slope correction circuit has a constant voltage generation circuit that generates a constant voltage, a differential amplifier circuit that amplifies the reference voltage with the constant voltage as the reference, and a first resistor that has a resistance value that is set in accordance with the first correction information and sets an amplification factor of the differential amplifier circuit, and the temperature characteristic slope correction circuit corrects the slope of the temperature characteristic of the reference voltage based on a resistance value of the first resistor.
- the oscillation circuit may be configured such that the reference voltage and the constant voltage become equal at a predetermined temperature.
- the oscillation circuit may be configured such that the reference voltage and the constant voltage become equal at a predetermined temperature.
- the voltage-current conversion circuit has a first transistor and a second transistor that constitute a current mirror circuit, a third transistor that supplies current to the first transistor in accordance with the output voltage of the temperature characteristic slope correction circuit, and includes a second resistor that has a resistance value set in accordance with second correction information, and sets a voltage-current conversion rate of the third transistor, and corrects the control current value that is output from the second transistor based on the resistance value of the second resistor.
- the third transistor may be formed using a triple well structure, and may have a back gate and a source connected to one end of a second resistor that is connected at another end to wiring that has a predetermined potential. In this way, by the back gate of the third transistor being connected to the source, it is possible to reduce the influence of the potential of the back gate on the characteristic of the third transistor and improve the accuracy of voltage-current conversion operation.
- a microcomputer has any of the oscillation circuits mentioned above, and a storage unit that stores the first and second correction information and supplies the information to the oscillation circuit.
- the storage unit may include a non-volatile memory or a plurality of fuses. According to the second aspect of the invention, it is possible to improve the accuracy of the characteristic of each oscillation circuit by saving the first and second correction information corresponding to each oscillation circuit to the storage unit.
- An electronic device has any of the oscillation circuits mentioned above. According to the third aspect of the invention, it is possible to provide an electronic device that operates in synchronization with an accurate clock signal that is generated by an oscillation circuit that continuously temperature compensates the oscillating frequency following a change in temperature to reduce noise, jitter, and the like.
- FIG. 1 is a block diagram showing a microcomputer according to an embodiment of the invention.
- FIG. 2 is a circuit diagram showing an example of a configuration of an oscillation circuit shown in FIG. 1 .
- FIG. 3 is a diagram circuit showing an example of a configuration of a charge-discharge type oscillation unit shown in FIG. 2 .
- FIG. 4 is a circuit diagram showing an example of a configuration of a control current generation unit shown in FIG. 2 .
- FIG. 5 is a diagram showing a temperature characteristic of a reference voltage that is generated by the reference voltage generation circuit.
- FIG. 6 is a diagram showing a temperature characteristic of an output voltage of the temperature characteristic slope correction circuit.
- FIG. 7 is a diagram showing a temperature characteristic of a control current that is generated a the voltage-current conversion circuit.
- FIG. 8 is a diagram showing a frequency error in a state in which the temperature characteristic of the oscillation circuit has not been corrected.
- FIG. 9 is a diagram showing a frequency error in a state in which the temperature characteristic of the oscillation circuit has been corrected.
- FIG. 10 is a cross sectional diagram showing a structure of a transistor QN 3 shown in FIG. 4 .
- FIG. 11 is a block diagram showing an example of a configuration of an electronic device according to an embodiment of the invention.
- FIG. 1 is a block diagram showing an example of the microcomputer according to an embodiment of the invention.
- this microcomputer includes an oscillation circuit 10 according to an embodiment of the invention, a CPU 20 , a non-volatile memory 30 , a RAM (random access memory) 40 and a peripheral circuit 50 .
- the oscillation circuit 10 generates a clock signal CLK that has a predetermined frequency by performing an oscillation operation and supplies the clock signal CLK to the CPU 20 and the peripheral circuit 50 .
- the CPU 20 operates in synchronization with the clock signal CLK that is supplied from the oscillation circuit 10 and performs various types of signal processing and control processing in accordance with programs.
- the non-volatile memory 30 stores programs, data, and the like for the CPU 20 to perform various types of signal processing and control processing.
- the non-volatile memory 30 stores correction data (16-bit data, for example) that includes first correction information and second correction information that are used for correcting the oscillating frequency of the oscillation circuit 10 and supplies the correction data to the oscillation circuit 10 .
- correction data (16-bit data, for example) that includes first correction information and second correction information that are used for correcting the oscillating frequency of the oscillation circuit 10 and supplies the correction data to the oscillation circuit 10 .
- a plurality of fuses may be provided separately from the non-volatile memory 30 .
- the RAM 40 is used as a work area of the CPU 20 , and temporarily stores programs and data read out from the non-volatile memory 30 or the results of calculations executed by the CPU 20 in accordance with programs, and the like.
- FIG. 2 is a circuit diagram showing an example of a configuration of the oscillation circuit shown in FIG. 1 .
- the oscillation circuit 10 includes a charge-discharge type oscillation unit 60 and a control current generation unit 70 , and operates by being supplied a power source potential VDD of a high potential side and a power source potential VSS of a low potential side (ground potential 0V in the present embodiment).
- the charge-discharge type oscillation unit 60 by performing an oscillation operation at an oscillating frequency that is in accordance with the magnitude of a control current Icnt and generates an oscillation signal Fout.
- the control current generation unit 70 generates the control current Icnt for controlling the oscillating frequency of the charge-discharge type oscillation unit 60 .
- FIG. 3 is a diagram circuit showing an example of a configuration of the charge-discharge type oscillation unit shown in FIG. 2 .
- the charge-discharge type oscillation unit 60 includes P-channel MOS transistors QP 1 and QP 2 , N-channel MOS transistors QN 1 and QN 2 , capacitors C 1 and C 2 , inverters 61 to 66 and an RS flip-flop 67 .
- the inverter 65 inverts the output signal that is output from an output terminal Q of the RS flip-flop 67 and generates the oscillation signal Fout, and the inverter 66 further inverts the oscillation signal Fout and generates an inverted oscillation signal Fx.
- the control current Icnt that is supplied to the charge-discharge type oscillation unit 60 is supplied to the source of a transistor QP 1 and the source of a transistor QP 2 by the current mirror circuit and the like.
- the transistor QP 1 has a gate to which the oscillation signal Fout is applied.
- the transistor QN 1 has a drain that is connected to a drain of the transistor QP 1 , a source that is connected to wiring of the power source potential VSS, and a gate to which the oscillation signal Fout is applied.
- the capacitor C 1 has one end that is connected to the drain of the transistor QP 1 and the drain of the transistor QN 1 , and another end that is connected to wiring of the power source potential VSS.
- the signal that occurs at the one end of the capacitor C 1 is buffered by the inverters 61 and 62 and is supplied to a reset terminal R of the RS flip-flop 67 as a reset signal.
- the transistor QP 2 has a gate to which the inverted oscillation signal Fx is applied.
- the transistor QN 2 has a drain that is connected to the drain of the transistor QP 2 , a source that is connected to wiring of the power source potential VSS, and a gate to which the inverted oscillation signal Fx is applied.
- a capacitor C 2 has once end that is connected to the drain of the transistor QP 2 and the drain of the transistor QN 2 , and another end that is connected to wiring of the power source potential VSS.
- the signal that occurs at the one end of the capacitor C 2 is buffered by the inverters 63 and 64 and is supplied to a set terminal S of the RS flip-flop 67 as a set signal.
- the RS flip-flop 67 is set in synchronization with the rising edge of the set signal, and activates the output signal to high level when the reset signal is at low level, and is set in synchronization with the rising edge of the reset signal, and deactivates the output signal to low level when the set signal is at low level.
- the oscillation signal Fout becomes high level and the inverted oscillation signal Fx becomes low level. Accordingly, the transistor QP 1 will be in an OFF state and the transistor QN 1 will be in an ON state, and thus the charge that is charged in the capacitor C 1 is discharged and the reset signal becomes low level.
- the transistor QP 2 will be in an ON state and the transistor QN 2 will be in an OFF state, and thus the control current Icnt flows to the capacitor C 2 and charges the capacitor C 2 , and the set signal becomes high level.
- the RS flip-flop 67 is set and the output signal is activated to high level.
- the oscillation signal Fout becomes low level and the inverted oscillation signal Fx becomes high level. Accordingly, the transistor QP 2 will be in an OFF state and the transistor QN 2 will be in an ON state, and thus the charge that is charged in the capacitor C 2 is discharged and the set signal becomes low level.
- the transistor QN 1 is in its OFF state when the transistor QP 1 is in its ON state, and thus the control current Icnt flows to the capacitor C 1 and charges the capacitor C 1 , and the set signal becomes high level.
- the RS flip-flop 67 is reset and the output signal is deactivated to low level.
- the charge-discharge type oscillation unit 60 performs a highly accurate oscillation operation by the RS flip-flop 67 repeatedly setting and resetting.
- the rate at which the RS flip-flop 67 repeats the setting and resetting is substantially proportionate to the control current value Icnt, and as such it is possible to control the oscillating frequency of the charge-discharge type oscillation unit 60 by the control current value Icnt.
- the Control Current Generation Unit The Control Current Generation Unit.
- FIG. 4 is a circuit diagram showing an example of a configuration of the control current generation unit shown in FIG. 2 .
- the control current generation unit 70 includes a reference voltage generation circuit 71 , a temperature characteristic slope correction circuit 72 , and a voltage-current conversion circuit 73 .
- the reference voltage generation circuit 71 includes a PNP bipolar transistor QB 1 and a differential amplifier circuit AMP 1 , and generates a reference voltage V 1 that has a first temperature characteristic.
- the transistor QB 1 has an emitter to which a constant current Iref is supplied, and has a collector and a base that are connected to wiring of the power source potential VSS.
- the base of the transistor QB 1 is connected to the collector, and as such the transistor QB 1 is equivalent to a diode.
- the differential amplifier circuit AMP 1 has a non-inverting input terminal that is connected to an emitter of the transistor QB 1 and an inverting input terminal that is connected to the output terminal, and operates as a voltage follower that buffers the voltage that is applied to the non-inverting input terminal and outputs the voltage from the output terminal. Accordingly, the reference voltage generation circuit 71 generates the reference voltage V 1 based on the voltage between the emitter of the transistor QB 1 and the base and collector.
- a temperature sensor is configured with a bipolar transistor, and can generate a reference voltage V 1 that has the first temperature characteristic.
- FIG. 5 is a diagram schematically showing the temperature characteristic of the reference voltage that is generated by the reference voltage generation circuit shown in FIG. 4 .
- the horizontal axis shows a temperature T and the vertical axis shows the reference voltage V 1 that is generated by the reference voltage generation circuit 71 .
- the reference voltage V 1 falls following the rising of the temperature T.
- the temperature characteristic of the reference voltage V 1 is determined mainly by the temperature characteristic of the transistor QB 1 , but because the temperature dependence of the control current Icnt that is ultimately output from the control current generation unit 70 can be adjusted, the temperature dependence of the constant current Iref is permissible within a predetermined range.
- the temperature characteristic slope correction circuit 72 includes, for example, a constant voltage generation circuit 72 a , a differential amplifier circuit AMP 2 , and resistors R 1 and R 2 , and corrects the slope of the temperature characteristic of the reference voltage V 1 in accordance with the first correction information (6-bit data, for example) that is included in the correction data shown in FIG. 1 , and generates an output voltage V 2 that has the second temperature characteristic.
- the constant voltage generation circuit 72 a is constituted by, for example, a band-gap reference circuit and the like, and generates a constant voltage Vref.
- the constant voltage Vref desirably has an extremely low temperature dependence, but because the temperature dependence of the control current Icnt ultimately output from the control current generation unit 70 can be adjusted, the temperature dependence of the constant voltage Vref is permissible within a predetermined range.
- the differential amplifier circuit AMP 2 has a non-inverting input terminal to which the constant voltage Vref is applied, an inverting input terminal that is connected to the output terminal of the reference voltage generation circuit 71 via the resistor R 1 and to the output terminal of the differential amplifier circuit AMP 2 via the resistor R 2 , and outputs the output voltage V 2 from the output terminal by amplifying the reference voltage on the basis of the constant voltage Vref.
- At least one of the resistors R 1 and R 2 is a variable resistor (also called the “first resistor”) that has a resistance value set in accordance with the first correction information, and that sets the amplification factor (closed loop gain) of the differential amplifier circuit AMP 2 .
- the temperature characteristic slope correction circuit 72 corrects the slope of the temperature characteristic of the reference voltage V 1 based on the resistance value of the first resistor. Thus, it is possible to correct the slope of the temperature characteristic of the reference voltage V 1 to a desired slope.
- the output voltage V 2 of the differential amplifier circuit AMP 2 is obtained as follows, assuming that the open loop gain of the differential amplifier circuit AMP 2 is sufficiently large:
- V 2 ⁇ Vref ⁇ ( R 2/ R 1)( V 1 ⁇ Vref)
- V 2 Vref ⁇ ( R 1/ R 1)( V 1 ⁇ Vref) (1)
- FIG. 6 is a diagram schematically showing the temperature characteristic of the output voltage of the temperature characteristic slope correction circuit shown in FIG. 4 .
- the horizontal axis shows the temperature T and the vertical axis shows the output voltage V 2 of the temperature characteristic slope correction circuit 72 .
- the output voltage V 2 rises following the rise of the temperature T.
- the voltage-current conversion circuit 73 includes, for example, a differential amplifier circuit AMP 3 , P-channel MOS transistors QP 3 and QP 4 , an N-channel MOS transistor QN 3 , and a resistor R 3 , and converts the output voltage V 2 of the temperature characteristic slope correction circuit 72 to the control current Icnt, and corrects the control current value Icnt in accordance with the second correction information (10-bit data, for example) that is included in the correction data shown in FIG. 1 .
- the second correction information (10-bit data, for example
- the differential amplifier circuit AMP 3 has a non-inverting input terminal to which the output voltage V 2 of the temperature characteristic slope correction circuit 72 is applied, and an inverting input terminal to which a feedback voltage FB is applied, and outputs an output voltage V 3 from the output terminal.
- a transistor QN 3 has a gate to which the output voltage V 3 of the differential amplifier circuit AMP 3 is applied, and a source that is connected to wiring of the power source potential VSS via the resistor R 3 .
- the transistors QP 3 and QP 4 are a first transistor and a second transistor that constitute the current mirror circuit.
- the transistor QN 3 has a source that is connected to wiring of the power source potential VDD and a drain and a gate that are connected to the drain of the transistor QN 3 .
- the transistor QP 4 has a source that is connected to wiring of the power source potential VDD and a gate that is connected to a drain and a gate of the transistor QP 3 . A current that is proportional to the current that flows to the transistor QP 3 flows to the transistor QP 4 and the control current Icnt is generated.
- the transistor QN 3 is a third transistor that supplies current to the transistor QP 3 in accordance with the output voltage V 2 of the temperature characteristic slope correction circuit 72 .
- the feedback voltage FB is generated at one end of the resistor R 3 when current flows to the transistor QN 3 .
- the feedback voltage FB is applied to the inverting input terminal of the differential amplifier circuit AMP 3 , and as such becomes substantially equal to the output voltage V 2 of the temperature characteristic slope correction circuit 72 that is applied to the non-inverting input terminal.
- control current Icnt is expressed in the following formula (2), using a current I 3 that flows to the transistor QN 3 and:
- a is a constant of proportionality that is determined by the ratio of the magnitude of the transistors QP 3 and QP 4 that constitute the current mirror circuit.
- the resistor R 3 a variable resistor (also called the “second resistor”) that has a resistance value set in accordance with the second correction information, and that sets the voltage-current conversion rate of the transistor QN 3 .
- the voltage-current conversion circuit 73 corrects the control current value Icnt that is output from the transistor QP 4 based on the resistance value of the second resistor. Thus, it is possible to set the oscillating frequency at a predetermined temperature to a desired frequency.
- FIG. 7 is a diagram schematically showing the temperature characteristic of the control current that is generated by the voltage-current conversion circuit shown in FIG. 4 .
- the horizontal axis shows a temperature T and the vertical axis shows the control current Icnt that is generated by the voltage-current conversion circuit 73 .
- the control current Icnt rises following the rise of the temperature T.
- the resistance value of the resistor R 3 in the voltage-current conversion circuit 73 is adjusted and the control current value Icnt is adjusted (see FIG. 7 ) such that the oscillating frequency at a predetermined temperature (25° C., for example) matches a target value.
- the resistance value of the resistor R 2 (or R 1 ) in the temperature characteristic slope correction circuit 72 is adjusted and the temperature characteristic of the output voltage V 2 is adjusted (see FIG. 6 ) such that the frequency error becomes lower at a high temperature (85° C., for example) or in a low temperature.
- setting information for setting the resistance value is stored as correction data in the non-volatile memory 30 shown in FIG. 1 (or a fuse), and is automatically read out and used when the oscillation circuit 10 is started. In this way, it is possible to improve the characteristic of each oscillation circuit by saving correction data (the first and second correction information) that corresponds to each oscillation circuit in the storage unit.
- FIG. 8 is a diagram showing an example of a frequency error in a state in which the temperature characteristic of the oscillation circuit has not been corrected
- FIG. 9 is a diagram showing an example of frequency error in a state in which the temperature characteristic of the oscillation circuit has been corrected.
- the horizontal axis shows an enviromental temperature Ta [° C.] around the oscillation circuit and the vertical axis shows a measurement value of a frequency error [%].
- the control current Icnt that is supplied to the charge-discharge type oscillation unit 60 as shown in FIG. 2 is constant regardless of the temperature.
- the charge-discharge type oscillation unit 60 has a temperature dependence in which the oscillating frequency decreases following the rise of the environmental temperature Ta.
- the temperature dependence of the oscillating frequency of the charge-discharge type oscillation unit 60 is suppressed by the temperature characteristic of the control current Icnt.
- an NPN bipolar transistor may be used instead of a PNP bipolar transistor. At this time, the NPN bipolar transistor is connected to the power source potential VDD side.
- both the PNP bipolar transistor and the NPN bipolar transistor are mounted on the reference voltage generation circuit 71 , and both can be switched and used.
- an inverting amplification circuit may be added, or, the differential amplifier circuit AMP 2 may perform non-inverting amplification operation.
- the present embodiment it is possible to provide an oscillation circuit that continuously temperature compensates the oscillating frequency following a change in temperature to lower noise, jitter, and the like, without switching the capacitance element or resistance element that are used in an oscillation operation, by the temperature characteristic slope correction circuit 72 correcting the slope of the temperature characteristic of the reference voltage V 1 and the voltage-current conversion circuit 73 converting the output voltage V 2 of the temperature characteristic slope correction circuit 72 to a control current Icnt of an appropriate magnitude to control the oscillating frequency. Also, reduction of manufacturing costs and other such effects are possible because the circuit size is smaller than the existing oscillation circuit disclosed in JP-A-2012-70224.
- FIG. 10 is a schematic diagram showing the structure of the transistor QN 3 shown in FIG. 4 .
- a triple well structure is used to form the transistor QN 3 .
- a deep N-well 81 and a P-type contact region 91 are provided in a P-type semiconductor substrate 80 .
- a P-well 82 and an N-type contact region 92 provided in the deep N-well 81 .
- the power source potential VSS is supplied to the semiconductor substrate 80 via the P-type contact region 91
- the power source potential VDD is supplied to the deep N-well 81 via the N-type contact region 92 .
- N-type impurity regions 93 and 94 which respectively constitute the drain and source of the transistor QN 3 , and a P-type contact region 95 are provided in the P-well 82 .
- the P-well 82 corresponds to the back gate of the transistor QN 3 .
- a gate electrode 96 of the transistor QN 3 is arranged on the P-well 82 via gate insulation.
- the transistor QN 3 has the gate electrode 96 to which the output voltage V 3 of the differential amplifier circuit AMP 3 is applied, and has a back gate and a source connected to the one end of the resistor R 3 that is connected at the other end to wiring of a predetermined potential (power source potential VSS in the present embodiment).
- a predetermined potential power source potential VSS in the present embodiment
- FIG. 11 is a block diagram showing an example of a configuration of the electronic device according to an embodiment of the invention.
- This electronic device includes the oscillation circuit 10 according to an embodiment of the invention, a CPU 20 , a non-volatile memory 30 , a RAM 40 , an operation unit 110 , a communication unit 120 , an audio output unit 130 and a display unit 140 .
- Note that some of the constituent elements shown in FIG. 11 may be omitted or changed, and other constituent elements may be added to the constituent elements shown in FIG. 11 .
- the oscillation circuit 10 , the CPU 20 , the non-volatile memory 30 and the RAM 40 are similar to those that have been described with reference to FIG. 1 .
- the clock signal CLK that is generated by the oscillation circuit 10 is supplied to the units of the electronic device via the CPU 20 and the like.
- the CPU 20 controls the communication unit 120 for the purpose of performing various types of signal processing according to an operation signal supplied from the operation unit 110 , data communication with an external device, and the like.
- the CPU 20 generates an audio signal for outputting various types of audio from the audio output unit 130 , and generates an image signal for displaying various types of image on the display unit 140 .
- the operation unit 110 is an input apparatus that includes an operation key, button switch, and the like, and outputs the operation signal according to an operation made by a user to the CPU 20 .
- the communication unit 120 for example, is constituted by an analog circuit and a digital circuit, and performs data transmission between the CPU 20 and an external apparatus.
- the audio output unit 130 for example, includes an audio circuit, a speaker, and the like and outputs audio based on the audio signal supplied from the CPU 20 .
- the display unit 140 for example, includes a display driver circuit and an LCD (liquid crystal display apparatus) and the like, and displays various types of information based on the image signal supplied from the CPU 20 .
- a mobile terminal such as a mobile phone, a smart card, a calculator, an electronic dictionary, an electronic game console, a digital still camera, a digital movie camera, a television, a video telephone, a security monitor, a head-mounted display, a personal computer, a printer, a network device, a car navigation apparatus, a measuring instrument, and a medical instrument (such as an electronic thermometer, a blood pressure meter, a blood glucose level meter, an electrocardiographic apparatus, an ultrasound diagnostic instrument and an electronic endoscope), and the like may qualify as the electronic device described above.
- a medical instrument such as an electronic thermometer, a blood pressure meter, a blood glucose level meter, an electrocardiographic apparatus, an ultrasound diagnostic instrument and an electronic endoscope
- an electronic device that operates in synchronization with an accurate clock signal that is generated by the oscillation circuit 10 which continuously temperature compensates an oscillating frequency following a change in temperature to reduce noise, jitter, and the like.
Landscapes
- Oscillators With Electromechanical Resonators (AREA)
Abstract
Description
- This application claims benefit of Japanese Application JP 2017-250702, filed on Dec. 27, 2017. The disclosure of the prior application is hereby incorporated by reference herein in its entirety.
- The present invention relates to an oscillation circuit in which the oscillating frequency is temperature compensated. Furthermore, the invention relates to a microcomputer, an electronic device, and the like that use such an oscillation circuit.
- A semiconductor apparatus such as a microcomputer has an oscillation circuit that supplies a clock signal to a CPU (central processing unit), a peripheral circuit, and the like. Generally, the oscillating frequency of an oscillation circuit has temperature dependence, and thus the oscillating frequency of the oscillation circuit is temperature compensated according to detected temperature information, by a temperature sensor detecting the environmental temperature.
- As a related technology, JP-A-2012-70224 discloses a semiconductor apparatus that has a clock oscillation circuit in which the oscillating frequency is temperature compensated. This clock oscillation circuit has a current output circuit that can adjust the dependence of an output current on a power source voltage and temperature, a frequency voltage conversion circuit in which the frequency of the clock signal is changed by changing the number of electrostatic capacitance elements that are connected in parallel to a capacity node that receives output current, and a clock setting unit that generates and outputs a signal for setting the frequency of the clock signal to a frequency voltage conversion circuit. For example, the frequency is switched by a switch selecting an electrostatic capacitance element, based on a 4-bit frequency adjustment control signal.
- JP-A-2012-70224 is an example of related art (Abstract, Paragraph 0030, FIG. 12).
- In recent years, because temperature information can be obtained as digital values, control signals that control the oscillating frequency of an oscillation circuit are also digital signals, and a capacitance element or a resistance element used in an oscillation operation is switched by the control signal. Accordingly, when the oscillating frequency of an oscillation circuit is temperature compensated following a change in temperature, the oscillating frequency changes in discrete values rather than continuous values. As a result, it is possible that noise, jitter, and the like will increase due to changes in characteristics before and after the capacitance element or the resistance element is switched.
- An advantage of some aspects of the invention is to provide an oscillation circuit that continuously temperature compensates the oscillating frequency following a change in temperature to decrease noise, jitter, and the like, without switching a capacitance element or a resistance element used in an oscillation operation. A further advantage of some aspects of the invention is to provide a microcomputer and an electronic device that use such an oscillation circuit.
- In order to solve at least one of the above problems, an oscillation circuit according to a first aspect of the invention includes a charge-discharge type oscillation unit that performs an oscillation operation at an oscillating frequency that is associated with a control current value, and a control current generation unit that generates the control current. The control current generation unit includes a reference voltage generation circuit that generates a reference voltage that has a first temperature characteristic, a temperature characteristic slope correction circuit that corrects a slope of a temperature characteristic of the reference voltage in accordance with the first correction information and generates an output voltage that has a second temperature characteristic, and a voltage-current conversion circuit that converts the output voltage of the temperature characteristic slope correction circuit into the control current, and that corrects the control current value in accordance with second correction information. The temperature dependence of the oscillating frequency of the charge-discharge type oscillation unit is suppressed by a temperature characteristic of the control current.
- According to the first aspect of the invention, an oscillation circuit can be provided that, by the temperature characteristic slope correction circuit correcting the slope of the temperature characteristic of the reference voltage, and the voltage-current conversion circuit converting the output voltage of the temperature characteristic slope correction circuit into the control current of an appropriate magnitude and controlling the oscillating frequency, continuously temperature compensates the oscillating frequency following a change in temperature and lowers noise, jitter, and the like without switching the capacitance element or the resistance element that is used in an oscillation operation. Also, reduction of manufacturing costs and other such effects are possible because the circuit size is smaller than the existing oscillation circuit disclosed in JP-A-2012-70224.
- Here, a configuration may be adopted in which the reference voltage generation circuit includes a bipolar transistor having a base that is connected to a collector, and generates the reference voltage based on a voltage between an emitter of the bipolar transistor and the base and collector. Through this, a temperature sensor is configured with a bipolar transistor, and can thus generate a reference voltage that has the first temperature characteristic.
- Also, a configuration may be adopted in which the temperature characteristic slope correction circuit has a constant voltage generation circuit that generates a constant voltage, a differential amplifier circuit that amplifies the reference voltage with the constant voltage as the reference, and a first resistor that has a resistance value that is set in accordance with the first correction information and sets an amplification factor of the differential amplifier circuit, and the temperature characteristic slope correction circuit corrects the slope of the temperature characteristic of the reference voltage based on a resistance value of the first resistor. Thus, it is possible to correct the slope of the temperature characteristic of the reference voltage to a desired slope.
- In such a case, the oscillation circuit may be configured such that the reference voltage and the constant voltage become equal at a predetermined temperature. Thus, it is possible to change the slope of the temperature characteristic of the output voltage of the differential amplifier circuit without changing the output voltage of the differential amplifier circuit at the predetermined temperature.
- Furthermore, a configuration may be adopted in which the voltage-current conversion circuit has a first transistor and a second transistor that constitute a current mirror circuit, a third transistor that supplies current to the first transistor in accordance with the output voltage of the temperature characteristic slope correction circuit, and includes a second resistor that has a resistance value set in accordance with second correction information, and sets a voltage-current conversion rate of the third transistor, and corrects the control current value that is output from the second transistor based on the resistance value of the second resistor.
- In that case, the third transistor may be formed using a triple well structure, and may have a back gate and a source connected to one end of a second resistor that is connected at another end to wiring that has a predetermined potential. In this way, by the back gate of the third transistor being connected to the source, it is possible to reduce the influence of the potential of the back gate on the characteristic of the third transistor and improve the accuracy of voltage-current conversion operation.
- A microcomputer according to a second aspect of the invention has any of the oscillation circuits mentioned above, and a storage unit that stores the first and second correction information and supplies the information to the oscillation circuit. The storage unit may include a non-volatile memory or a plurality of fuses. According to the second aspect of the invention, it is possible to improve the accuracy of the characteristic of each oscillation circuit by saving the first and second correction information corresponding to each oscillation circuit to the storage unit.
- An electronic device according to a third aspect of the invention has any of the oscillation circuits mentioned above. According to the third aspect of the invention, it is possible to provide an electronic device that operates in synchronization with an accurate clock signal that is generated by an oscillation circuit that continuously temperature compensates the oscillating frequency following a change in temperature to reduce noise, jitter, and the like.
-
FIG. 1 is a block diagram showing a microcomputer according to an embodiment of the invention. -
FIG. 2 is a circuit diagram showing an example of a configuration of an oscillation circuit shown inFIG. 1 . -
FIG. 3 is a diagram circuit showing an example of a configuration of a charge-discharge type oscillation unit shown inFIG. 2 . -
FIG. 4 is a circuit diagram showing an example of a configuration of a control current generation unit shown inFIG. 2 . -
FIG. 5 is a diagram showing a temperature characteristic of a reference voltage that is generated by the reference voltage generation circuit. -
FIG. 6 is a diagram showing a temperature characteristic of an output voltage of the temperature characteristic slope correction circuit. -
FIG. 7 is a diagram showing a temperature characteristic of a control current that is generated a the voltage-current conversion circuit. -
FIG. 8 is a diagram showing a frequency error in a state in which the temperature characteristic of the oscillation circuit has not been corrected. -
FIG. 9 is a diagram showing a frequency error in a state in which the temperature characteristic of the oscillation circuit has been corrected. -
FIG. 10 is a cross sectional diagram showing a structure of a transistor QN3 shown inFIG. 4 . -
FIG. 11 is a block diagram showing an example of a configuration of an electronic device according to an embodiment of the invention. - The following is a detailed description of an embodiment of the invention with reference to the drawings. Note that the same constituent elements are given the same reference numerals and redundant descriptions are omitted.
- Microcomputer.
-
FIG. 1 is a block diagram showing an example of the microcomputer according to an embodiment of the invention. As shown inFIG. 1 , this microcomputer includes anoscillation circuit 10 according to an embodiment of the invention, aCPU 20, anon-volatile memory 30, a RAM (random access memory) 40 and aperipheral circuit 50. - The
oscillation circuit 10 generates a clock signal CLK that has a predetermined frequency by performing an oscillation operation and supplies the clock signal CLK to theCPU 20 and theperipheral circuit 50. TheCPU 20 operates in synchronization with the clock signal CLK that is supplied from theoscillation circuit 10 and performs various types of signal processing and control processing in accordance with programs. Thenon-volatile memory 30 stores programs, data, and the like for theCPU 20 to perform various types of signal processing and control processing. - Also, the
non-volatile memory 30 stores correction data (16-bit data, for example) that includes first correction information and second correction information that are used for correcting the oscillating frequency of theoscillation circuit 10 and supplies the correction data to theoscillation circuit 10. Note that, in order to store the correction data, a plurality of fuses may be provided separately from thenon-volatile memory 30. TheRAM 40 is used as a work area of theCPU 20, and temporarily stores programs and data read out from thenon-volatile memory 30 or the results of calculations executed by theCPU 20 in accordance with programs, and the like. - Oscillation Circuit.
-
FIG. 2 is a circuit diagram showing an example of a configuration of the oscillation circuit shown inFIG. 1 . As shown inFIG. 2 , theoscillation circuit 10 includes a charge-dischargetype oscillation unit 60 and a controlcurrent generation unit 70, and operates by being supplied a power source potential VDD of a high potential side and a power source potential VSS of a low potential side (ground potential 0V in the present embodiment). The charge-dischargetype oscillation unit 60, by performing an oscillation operation at an oscillating frequency that is in accordance with the magnitude of a control current Icnt and generates an oscillation signal Fout. The controlcurrent generation unit 70 generates the control current Icnt for controlling the oscillating frequency of the charge-dischargetype oscillation unit 60. - Charge-Discharge Type Oscillation Unit
-
FIG. 3 is a diagram circuit showing an example of a configuration of the charge-discharge type oscillation unit shown inFIG. 2 . As show inFIG. 3 , the charge-dischargetype oscillation unit 60 includes P-channel MOS transistors QP1 and QP2, N-channel MOS transistors QN1 and QN2, capacitors C1 and C2,inverters 61 to 66 and an RS flip-flop 67. Theinverter 65 inverts the output signal that is output from an output terminal Q of the RS flip-flop 67 and generates the oscillation signal Fout, and theinverter 66 further inverts the oscillation signal Fout and generates an inverted oscillation signal Fx. - The control current Icnt that is supplied to the charge-discharge
type oscillation unit 60 is supplied to the source of a transistor QP1 and the source of a transistor QP2 by the current mirror circuit and the like. The transistor QP1 has a gate to which the oscillation signal Fout is applied. The transistor QN1 has a drain that is connected to a drain of the transistor QP1, a source that is connected to wiring of the power source potential VSS, and a gate to which the oscillation signal Fout is applied. - The capacitor C1 has one end that is connected to the drain of the transistor QP1 and the drain of the transistor QN1, and another end that is connected to wiring of the power source potential VSS. The signal that occurs at the one end of the capacitor C1 is buffered by the
inverters flop 67 as a reset signal. - The transistor QP2 has a gate to which the inverted oscillation signal Fx is applied. The transistor QN2 has a drain that is connected to the drain of the transistor QP2, a source that is connected to wiring of the power source potential VSS, and a gate to which the inverted oscillation signal Fx is applied.
- A capacitor C2 has once end that is connected to the drain of the transistor QP2 and the drain of the transistor QN2, and another end that is connected to wiring of the power source potential VSS. The signal that occurs at the one end of the capacitor C2 is buffered by the
inverters flop 67 as a set signal. - The RS flip-
flop 67 is set in synchronization with the rising edge of the set signal, and activates the output signal to high level when the reset signal is at low level, and is set in synchronization with the rising edge of the reset signal, and deactivates the output signal to low level when the set signal is at low level. - When the RS flip-
flop 67 is reset, the oscillation signal Fout becomes high level and the inverted oscillation signal Fx becomes low level. Accordingly, the transistor QP1 will be in an OFF state and the transistor QN1 will be in an ON state, and thus the charge that is charged in the capacitor C1 is discharged and the reset signal becomes low level. - On the other hand, the transistor QP2 will be in an ON state and the transistor QN2 will be in an OFF state, and thus the control current Icnt flows to the capacitor C2 and charges the capacitor C2, and the set signal becomes high level. Through this, the RS flip-
flop 67 is set and the output signal is activated to high level. - When the RS flip-
flop 67 is set, the oscillation signal Fout becomes low level and the inverted oscillation signal Fx becomes high level. Accordingly, the transistor QP2 will be in an OFF state and the transistor QN2 will be in an ON state, and thus the charge that is charged in the capacitor C2 is discharged and the set signal becomes low level. - On the other hand, the transistor QN1 is in its OFF state when the transistor QP1 is in its ON state, and thus the control current Icnt flows to the capacitor C1 and charges the capacitor C1, and the set signal becomes high level. Through this, the RS flip-
flop 67 is reset and the output signal is deactivated to low level. - In this way, the charge-discharge
type oscillation unit 60 performs a highly accurate oscillation operation by the RS flip-flop 67 repeatedly setting and resetting. The rate at which the RS flip-flop 67 repeats the setting and resetting is substantially proportionate to the control current value Icnt, and as such it is possible to control the oscillating frequency of the charge-dischargetype oscillation unit 60 by the control current value Icnt. - The Control Current Generation Unit.
-
FIG. 4 is a circuit diagram showing an example of a configuration of the control current generation unit shown inFIG. 2 . As shown inFIG. 4 , the controlcurrent generation unit 70 includes a referencevoltage generation circuit 71, a temperature characteristicslope correction circuit 72, and a voltage-current conversion circuit 73. - Reference Voltage Generation Circuit.
- The reference
voltage generation circuit 71, for example, includes a PNP bipolar transistor QB1 and a differential amplifier circuit AMP1, and generates a reference voltage V1 that has a first temperature characteristic. The transistor QB1 has an emitter to which a constant current Iref is supplied, and has a collector and a base that are connected to wiring of the power source potential VSS. The base of the transistor QB1 is connected to the collector, and as such the transistor QB1 is equivalent to a diode. - The differential amplifier circuit AMP1 has a non-inverting input terminal that is connected to an emitter of the transistor QB1 and an inverting input terminal that is connected to the output terminal, and operates as a voltage follower that buffers the voltage that is applied to the non-inverting input terminal and outputs the voltage from the output terminal. Accordingly, the reference
voltage generation circuit 71 generates the reference voltage V1 based on the voltage between the emitter of the transistor QB1 and the base and collector. Through this, a temperature sensor is configured with a bipolar transistor, and can generate a reference voltage V1 that has the first temperature characteristic. -
FIG. 5 is a diagram schematically showing the temperature characteristic of the reference voltage that is generated by the reference voltage generation circuit shown inFIG. 4 . InFIG. 5 , the horizontal axis shows a temperature T and the vertical axis shows the reference voltage V1 that is generated by the referencevoltage generation circuit 71. In the example shown inFIG. 5 , the reference voltage V1 falls following the rising of the temperature T. - If the constant current Iref has an extremely low temperature dependence, the temperature characteristic of the reference voltage V1 is determined mainly by the temperature characteristic of the transistor QB1, but because the temperature dependence of the control current Icnt that is ultimately output from the control
current generation unit 70 can be adjusted, the temperature dependence of the constant current Iref is permissible within a predetermined range. - Temperature Characteristic Slope Correction Circuit.
- The temperature characteristic
slope correction circuit 72 includes, for example, a constantvoltage generation circuit 72 a, a differential amplifier circuit AMP2, and resistors R1 and R2, and corrects the slope of the temperature characteristic of the reference voltage V1 in accordance with the first correction information (6-bit data, for example) that is included in the correction data shown inFIG. 1 , and generates an output voltage V2 that has the second temperature characteristic. - The constant
voltage generation circuit 72 a is constituted by, for example, a band-gap reference circuit and the like, and generates a constant voltage Vref. The constant voltage Vref desirably has an extremely low temperature dependence, but because the temperature dependence of the control current Icnt ultimately output from the controlcurrent generation unit 70 can be adjusted, the temperature dependence of the constant voltage Vref is permissible within a predetermined range. - The differential amplifier circuit AMP2 has a non-inverting input terminal to which the constant voltage Vref is applied, an inverting input terminal that is connected to the output terminal of the reference
voltage generation circuit 71 via the resistor R1 and to the output terminal of the differential amplifier circuit AMP2 via the resistor R2, and outputs the output voltage V2 from the output terminal by amplifying the reference voltage on the basis of the constant voltage Vref. - Here, at least one of the resistors R1 and R2 (resistor R2 in
FIG. 4 ) is a variable resistor (also called the “first resistor”) that has a resistance value set in accordance with the first correction information, and that sets the amplification factor (closed loop gain) of the differential amplifier circuit AMP2. The temperature characteristicslope correction circuit 72 corrects the slope of the temperature characteristic of the reference voltage V1 based on the resistance value of the first resistor. Thus, it is possible to correct the slope of the temperature characteristic of the reference voltage V1 to a desired slope. - The output voltage V2 of the differential amplifier circuit AMP2 is obtained as follows, assuming that the open loop gain of the differential amplifier circuit AMP2 is sufficiently large:
-
V2−Vref=−(R2/R1)(V1−Vref) -
∴V2=Vref−(R1/R1)(V1−Vref) (1) -
FIG. 6 is a diagram schematically showing the temperature characteristic of the output voltage of the temperature characteristic slope correction circuit shown inFIG. 4 . InFIG. 6 , the horizontal axis shows the temperature T and the vertical axis shows the output voltage V2 of the temperature characteristicslope correction circuit 72. In the example shown inFIG. 6 , the output voltage V2 rises following the rise of the temperature T. - From the formula (1), it is possible to change the slope of the temperature characteristic of the output voltage V2 of the differential amplifier circuit AMP2 without changing the output voltage V2 of the differential amplifier circuit AMP2 at a predetermined temperature by configuring the oscillation circuit such that the reference voltage V1 and the constant voltage Vref become equal at a predetermined temperature (25° C., for example).
- The Voltage-Current Conversion Circuit.
- The voltage-
current conversion circuit 73 includes, for example, a differential amplifier circuit AMP3, P-channel MOS transistors QP3 and QP4, an N-channel MOS transistor QN3, and a resistor R3, and converts the output voltage V2 of the temperature characteristicslope correction circuit 72 to the control current Icnt, and corrects the control current value Icnt in accordance with the second correction information (10-bit data, for example) that is included in the correction data shown inFIG. 1 . - The differential amplifier circuit AMP3 has a non-inverting input terminal to which the output voltage V2 of the temperature characteristic
slope correction circuit 72 is applied, and an inverting input terminal to which a feedback voltage FB is applied, and outputs an output voltage V3 from the output terminal. A transistor QN3 has a gate to which the output voltage V3 of the differential amplifier circuit AMP3 is applied, and a source that is connected to wiring of the power source potential VSS via the resistor R3. - The transistors QP3 and QP4 are a first transistor and a second transistor that constitute the current mirror circuit. The transistor QN3 has a source that is connected to wiring of the power source potential VDD and a drain and a gate that are connected to the drain of the transistor QN3.
- The transistor QP4 has a source that is connected to wiring of the power source potential VDD and a gate that is connected to a drain and a gate of the transistor QP3. A current that is proportional to the current that flows to the transistor QP3 flows to the transistor QP4 and the control current Icnt is generated.
- The transistor QN3 is a third transistor that supplies current to the transistor QP3 in accordance with the output voltage V2 of the temperature characteristic
slope correction circuit 72. The feedback voltage FB is generated at one end of the resistor R3 when current flows to the transistor QN3. The feedback voltage FB is applied to the inverting input terminal of the differential amplifier circuit AMP3, and as such becomes substantially equal to the output voltage V2 of the temperature characteristicslope correction circuit 72 that is applied to the non-inverting input terminal. - Accordingly, the control current Icnt is expressed in the following formula (2), using a current I3 that flows to the transistor QN3 and:
-
Icnt=αI3=αV2/R3 (2) - Here, a is a constant of proportionality that is determined by the ratio of the magnitude of the transistors QP3 and QP4 that constitute the current mirror circuit.
- Also, the resistor R3 a variable resistor (also called the “second resistor”) that has a resistance value set in accordance with the second correction information, and that sets the voltage-current conversion rate of the transistor QN3. The voltage-
current conversion circuit 73 corrects the control current value Icnt that is output from the transistor QP4 based on the resistance value of the second resistor. Thus, it is possible to set the oscillating frequency at a predetermined temperature to a desired frequency. -
FIG. 7 is a diagram schematically showing the temperature characteristic of the control current that is generated by the voltage-current conversion circuit shown inFIG. 4 . InFIG. 7 , the horizontal axis shows a temperature T and the vertical axis shows the control current Icnt that is generated by the voltage-current conversion circuit 73. In the example shown inFIG. 7 , the control current Icnt rises following the rise of the temperature T. - Oscillating Frequency Adjustment.
- When referring to
FIG. 4 toFIG. 7 , in order to adjust the oscillating frequency of an oscillation circuit, first, the resistance value of the resistor R3 in the voltage-current conversion circuit 73 is adjusted and the control current value Icnt is adjusted (seeFIG. 7 ) such that the oscillating frequency at a predetermined temperature (25° C., for example) matches a target value. Next, the resistance value of the resistor R2 (or R1) in the temperature characteristicslope correction circuit 72 is adjusted and the temperature characteristic of the output voltage V2 is adjusted (seeFIG. 6 ) such that the frequency error becomes lower at a high temperature (85° C., for example) or in a low temperature. - When these resistance values are determined, setting information for setting the resistance value is stored as correction data in the
non-volatile memory 30 shown inFIG. 1 (or a fuse), and is automatically read out and used when theoscillation circuit 10 is started. In this way, it is possible to improve the characteristic of each oscillation circuit by saving correction data (the first and second correction information) that corresponds to each oscillation circuit in the storage unit. -
FIG. 8 is a diagram showing an example of a frequency error in a state in which the temperature characteristic of the oscillation circuit has not been corrected, andFIG. 9 is a diagram showing an example of frequency error in a state in which the temperature characteristic of the oscillation circuit has been corrected. InFIG. 8 andFIG. 9 , the horizontal axis shows an enviromental temperature Ta [° C.] around the oscillation circuit and the vertical axis shows a measurement value of a frequency error [%]. - In a state in which the temperature characteristic of the oscillation circuit has not been corrected, the control current Icnt that is supplied to the charge-discharge
type oscillation unit 60 as shown inFIG. 2 is constant regardless of the temperature. In such a case, as shown inFIG. 8 , the charge-dischargetype oscillation unit 60 has a temperature dependence in which the oscillating frequency decreases following the rise of the environmental temperature Ta. On the other hand, in a case where a suitable temperature dependence is given to the control current Icnt by the controlcurrent generation unit 70 shown inFIG. 2 , as shown inFIG. 9 , the temperature dependence of the oscillating frequency of the charge-dischargetype oscillation unit 60 is suppressed by the temperature characteristic of the control current Icnt. - Also, in a state in which the temperature characteristic of the oscillation circuit is not corrected, there are cases in which the charge-discharge
type oscillation unit 60 shown inFIG. 2 has a temperature dependence in which the oscillating frequency rises following with the rising of the environmental temperature Ta. In a case such as this, in the referencevoltage generation circuit 71 shown inFIG. 4 , an NPN bipolar transistor may be used instead of a PNP bipolar transistor. At this time, the NPN bipolar transistor is connected to the power source potential VDD side. - Also, both the PNP bipolar transistor and the NPN bipolar transistor are mounted on the reference
voltage generation circuit 71, and both can be switched and used. Alternatively, in the temperature characteristicslope correction circuit 72 shown inFIG. 4 , an inverting amplification circuit may be added, or, the differential amplifier circuit AMP2 may perform non-inverting amplification operation. - According to the present embodiment, it is possible to provide an oscillation circuit that continuously temperature compensates the oscillating frequency following a change in temperature to lower noise, jitter, and the like, without switching the capacitance element or resistance element that are used in an oscillation operation, by the temperature characteristic
slope correction circuit 72 correcting the slope of the temperature characteristic of the reference voltage V1 and the voltage-current conversion circuit 73 converting the output voltage V2 of the temperature characteristicslope correction circuit 72 to a control current Icnt of an appropriate magnitude to control the oscillating frequency. Also, reduction of manufacturing costs and other such effects are possible because the circuit size is smaller than the existing oscillation circuit disclosed in JP-A-2012-70224. - Triple Well Structure.
-
FIG. 10 is a schematic diagram showing the structure of the transistor QN3 shown inFIG. 4 . In the present embodiment, a triple well structure is used to form the transistor QN3. As shown inFIG. 10 , a deep N-well 81 and a P-type contact region 91 are provided in a P-type semiconductor substrate 80. Also, there is a P-well 82 and an N-type contact region 92 provided in the deep N-well 81. The power source potential VSS is supplied to thesemiconductor substrate 80 via the P-type contact region 91, and the power source potential VDD is supplied to the deep N-well 81 via the N-type contact region 92. - Furthermore, N-
type impurity regions type contact region 95 are provided in the P-well 82. The P-well 82 corresponds to the back gate of the transistor QN3. Agate electrode 96 of the transistor QN3 is arranged on the P-well 82 via gate insulation. - Accordingly, the transistor QN3 has the
gate electrode 96 to which the output voltage V3 of the differential amplifier circuit AMP3 is applied, and has a back gate and a source connected to the one end of the resistor R3 that is connected at the other end to wiring of a predetermined potential (power source potential VSS in the present embodiment). In this way, by the back gate of the transistor QN3 being connected to the source, it is possible to reduce the effect of the potential of the back gate on the characteristic of the transistor QN3, and improve the accuracy of the voltage-current conversion operation. - Electronic Device
- Next, an electronic device that is used with the oscillation circuit according to an embodiment of the invention will be described.
-
FIG. 11 is a block diagram showing an example of a configuration of the electronic device according to an embodiment of the invention. This electronic device includes theoscillation circuit 10 according to an embodiment of the invention, aCPU 20, anon-volatile memory 30, aRAM 40, anoperation unit 110, acommunication unit 120, anaudio output unit 130 and adisplay unit 140. Note that some of the constituent elements shown inFIG. 11 may be omitted or changed, and other constituent elements may be added to the constituent elements shown inFIG. 11 . - The
oscillation circuit 10, theCPU 20, thenon-volatile memory 30 and theRAM 40 are similar to those that have been described with reference toFIG. 1 . The clock signal CLK that is generated by theoscillation circuit 10 is supplied to the units of the electronic device via theCPU 20 and the like. Also, theCPU 20 controls thecommunication unit 120 for the purpose of performing various types of signal processing according to an operation signal supplied from theoperation unit 110, data communication with an external device, and the like. Alternatively, theCPU 20 generates an audio signal for outputting various types of audio from theaudio output unit 130, and generates an image signal for displaying various types of image on thedisplay unit 140. - The
operation unit 110, for example, is an input apparatus that includes an operation key, button switch, and the like, and outputs the operation signal according to an operation made by a user to theCPU 20. Thecommunication unit 120, for example, is constituted by an analog circuit and a digital circuit, and performs data transmission between theCPU 20 and an external apparatus. Theaudio output unit 130, for example, includes an audio circuit, a speaker, and the like and outputs audio based on the audio signal supplied from theCPU 20. Also, thedisplay unit 140, for example, includes a display driver circuit and an LCD (liquid crystal display apparatus) and the like, and displays various types of information based on the image signal supplied from theCPU 20. - For example, a mobile terminal such as a mobile phone, a smart card, a calculator, an electronic dictionary, an electronic game console, a digital still camera, a digital movie camera, a television, a video telephone, a security monitor, a head-mounted display, a personal computer, a printer, a network device, a car navigation apparatus, a measuring instrument, and a medical instrument (such as an electronic thermometer, a blood pressure meter, a blood glucose level meter, an electrocardiographic apparatus, an ultrasound diagnostic instrument and an electronic endoscope), and the like may qualify as the electronic device described above.
- According to the present embodiment, it is possible to provide an electronic device that operates in synchronization with an accurate clock signal that is generated by the
oscillation circuit 10 which continuously temperature compensates an oscillating frequency following a change in temperature to reduce noise, jitter, and the like. - The invention is not limited to the embodiment described above, and it is possible for those of ordinarily skill in the art to carry out many modifications within the technical idea of the invention.
Claims (19)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017250702A JP2019118006A (en) | 2017-12-27 | 2017-12-27 | Oscillation circuit, micro computer, and electronic apparatus |
JP2017-250702 | 2017-12-27 |
Publications (2)
Publication Number | Publication Date |
---|---|
US20190199287A1 true US20190199287A1 (en) | 2019-06-27 |
US10797643B2 US10797643B2 (en) | 2020-10-06 |
Family
ID=66951569
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/232,122 Active US10797643B2 (en) | 2017-12-27 | 2018-12-26 | Oscillation circuit, microcomputer and electronic device |
Country Status (3)
Country | Link |
---|---|
US (1) | US10797643B2 (en) |
JP (1) | JP2019118006A (en) |
CN (1) | CN110011642B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10714243B2 (en) | 2018-02-26 | 2020-07-14 | Seiko Epson Corporation | Variable resistance circuit, oscillator circuit, and semiconductor device |
US10972049B2 (en) * | 2019-09-04 | 2021-04-06 | Kabushiki Kaisha Toshiba | Oscillation apparatus |
US20210105878A1 (en) * | 2018-06-27 | 2021-04-08 | Dialog Semiconductor (Uk) Limited | Circuit for Reducing a Noise Signal |
US11632079B2 (en) | 2020-09-08 | 2023-04-18 | Changxin Memory Technologies, Inc. | Oscillating circuit |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114157239A (en) * | 2020-09-08 | 2022-03-08 | 长鑫存储技术有限公司 | Oscillating circuit |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070290731A1 (en) * | 2006-06-14 | 2007-12-20 | Freescale Semiconductor, Inc. | Low pin count reset configuration |
US20090051454A1 (en) * | 2007-08-22 | 2009-02-26 | Nec Electronics Corporation | Voltage controlled oscillator |
US20120319793A1 (en) * | 2011-06-14 | 2012-12-20 | Lapis Semiconductor Co., Ltd. | Oscillation circuit |
US9503058B1 (en) * | 2015-02-24 | 2016-11-22 | Xilinx, Inc. | Relaxation oscillator |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002057576A (en) | 1992-05-21 | 2002-02-22 | Rohm Co Ltd | Oscillation circuit |
US5384553A (en) | 1993-05-10 | 1995-01-24 | Rohm Co., Ltd. | Voltage control oscillation circuit |
JP4882474B2 (en) | 2006-04-14 | 2012-02-22 | セイコーエプソン株式会社 | Oscillator |
JP5498047B2 (en) * | 2009-04-01 | 2014-05-21 | 株式会社東芝 | Semiconductor integrated circuit |
JP2011166439A (en) * | 2010-02-09 | 2011-08-25 | Mitsumi Electric Co Ltd | Semiconductor integrated circuit device and temperature correction method thereof |
JP5451541B2 (en) | 2010-06-28 | 2014-03-26 | スパンション エルエルシー | Oscillator circuit |
JP5674401B2 (en) | 2010-09-24 | 2015-02-25 | ルネサスエレクトロニクス株式会社 | Semiconductor device |
JP5755443B2 (en) | 2010-12-28 | 2015-07-29 | ルネサスエレクトロニクス株式会社 | Semiconductor device |
JP2013172397A (en) * | 2012-02-22 | 2013-09-02 | Renesas Electronics Corp | Resistance value compensation circuit |
JP2014119822A (en) * | 2012-12-13 | 2014-06-30 | Renesas Electronics Corp | Constant current generation circuit and microprocessor including the same |
JP2017010297A (en) * | 2015-06-23 | 2017-01-12 | セイコーエプソン株式会社 | Clock signal generation circuit, semiconductor integrated circuit device, and electronic apparatus |
-
2017
- 2017-12-27 JP JP2017250702A patent/JP2019118006A/en active Pending
-
2018
- 2018-12-26 CN CN201811600538.0A patent/CN110011642B/en active Active
- 2018-12-26 US US16/232,122 patent/US10797643B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070290731A1 (en) * | 2006-06-14 | 2007-12-20 | Freescale Semiconductor, Inc. | Low pin count reset configuration |
US20090051454A1 (en) * | 2007-08-22 | 2009-02-26 | Nec Electronics Corporation | Voltage controlled oscillator |
US20120319793A1 (en) * | 2011-06-14 | 2012-12-20 | Lapis Semiconductor Co., Ltd. | Oscillation circuit |
US9503058B1 (en) * | 2015-02-24 | 2016-11-22 | Xilinx, Inc. | Relaxation oscillator |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10714243B2 (en) | 2018-02-26 | 2020-07-14 | Seiko Epson Corporation | Variable resistance circuit, oscillator circuit, and semiconductor device |
US20210105878A1 (en) * | 2018-06-27 | 2021-04-08 | Dialog Semiconductor (Uk) Limited | Circuit for Reducing a Noise Signal |
US11632838B2 (en) * | 2018-06-27 | 2023-04-18 | Dialog Semiconductor (Uk) Limited | Circuit for reducing a noise signal |
US10972049B2 (en) * | 2019-09-04 | 2021-04-06 | Kabushiki Kaisha Toshiba | Oscillation apparatus |
US11632079B2 (en) | 2020-09-08 | 2023-04-18 | Changxin Memory Technologies, Inc. | Oscillating circuit |
Also Published As
Publication number | Publication date |
---|---|
JP2019118006A (en) | 2019-07-18 |
CN110011642B (en) | 2023-06-06 |
CN110011642A (en) | 2019-07-12 |
US10797643B2 (en) | 2020-10-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10797643B2 (en) | Oscillation circuit, microcomputer and electronic device | |
CN107026644B (en) | Oscillator, electronic apparatus, and moving object | |
JP5446529B2 (en) | Low pass filter circuit, constant voltage circuit using the low pass filter circuit, and semiconductor device | |
US8136987B2 (en) | Ratio meter for temperature sensor | |
US7863873B2 (en) | Power management circuit and method of frequency compensation thereof | |
US8779736B2 (en) | Adaptive miller compensated voltage regulator | |
US7348848B2 (en) | Buffer amplifier for source driver | |
US10715128B2 (en) | Power supply voltage detection circuit, semiconductor apparatus and electronic device | |
JP2009153110A (en) | Delay element, variable delay line, and voltage controlled oscillator, as well as display device and system comprising the same | |
US7005838B2 (en) | Voltage generation circuit | |
US9537448B2 (en) | Oscillator, electronic apparatus, and moving object | |
EP3617672A1 (en) | Temperature sensor arrangement and light sensor arrangement including the same | |
US9100005B2 (en) | Output circuit, semiconductor integrated circuit, resonating device, electronic device, and moving object | |
US20090146729A1 (en) | Constant voltage circuit, constant voltage supply system and constant voltage supply method | |
JP2007219856A (en) | Constant voltage power source circuit | |
CN106292975B (en) | Power supply voltage detection circuit, semiconductor integrated circuit, and electronic device | |
US20170104494A1 (en) | Signal-processing circuit | |
US10454471B2 (en) | Power supply switching circuit and electronic device | |
US7176750B2 (en) | Method and apparatus for fast power-on of the band-gap reference | |
CN101330284B (en) | Apparatus for correcting time constant and correlation method thereof | |
JP2017112557A (en) | Voltage-controlled oscillator, electronic apparatus and movable body | |
Roy et al. | Achieving< 1% Precision Clocking Solution with External-R under Practical Constraints | |
JP2019149665A (en) | Oscillation circuit, semiconductor device, and microcomputer | |
US11476812B2 (en) | Amplifying apparatus | |
US20200404208A1 (en) | Electronic circuit for configuring amplifying circuit configured to output voltage including low noise |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: SEIKO EPSON CORPORATION, JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KUWANO, TOSHIKAZU;KIKUCHI, TAKAHIRO;ABE, SACHIYUKI;AND OTHERS;REEL/FRAME:047851/0213 Effective date: 20181015 |
|
FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |