TIMER CIRCUIT
20230421140 ยท 2023-12-28
Inventors
Cpc classification
H03K3/011
ELECTRICITY
International classification
Abstract
A first current source charges a capacitor. A second current source supplies a current to an input node of an inverter. A current mirror circuit has its output node coupled to an input node of the inverter. A resistor is coupled between the input node of the current mirror circuit and the capacitor.
Claims
1. A timer circuit comprising: a capacitor; a first current source structured to charge the capacitor; an inverter; a second current source structured to supply a current to an input node of the inverter; a current mirror circuit having an output node coupled to the input node of the inverter; and a resistor coupled between an input node of the current mirror circuit and the capacitor.
2. The timer circuit according to claim 1, wherein the current mirror circuit is configured using a field-effect transistor.
3. The timer circuit according to claim 2, wherein a ratio between a channel width W and a channel length L, i.e., W/L, is determined such that, when an output of the inverter changes, a fluctuation of a gate-source voltage of an input-side transistor of the current mirror circuit is maintained within a range of 0.05 V or less in a case in which a fluctuation occurs in a temperature within a guaranteed operating temperature range.
4. The timer circuit according to claim 1, wherein the current mirror circuit is configured using a bipolar transistor.
5. The timer circuit according to claim 1, monolithically integrated on a single semiconductor substrate.
6. An oscillator circuit comprising two timer circuits according to claim 1, wherein each of the two timer circuits is reset by an output of the other timer circuit.
7. An oscillator circuit comprising: the timer circuit according to claim 1; and a reset circuit structured to discharge the capacitor in response to an output of the inverter of the timer circuit.
8. A semiconductor apparatus comprising: the oscillator circuit according to claim 6; a charge pump circuit structured to be driven according to an output signal of the oscillator circuit; a linear regulator including an NMOS transistor; and a startup bias circuit structured to receive an output voltage of the charge pump circuit, and to generate a bias voltage at a gate of the NMOS transistor.
9. A semiconductor apparatus comprising: the oscillator circuit according to claim 7; a charge pump circuit structured to be driven according to an output signal of the oscillator circuit; a linear regulator including an NMOS transistor; and a startup bias circuit structured to receive an output voltage of the charge pump circuit, and to generate a bias voltage at a gate of the NMOS transistor.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Embodiments will now be described, by way of example only, with reference to the accompanying drawings which are meant to be exemplary, not limiting, and wherein like elements are numbered alike in several Figures, in which:
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
DETAILED DESCRIPTION
Outline of Embodiments
[0021] A summary of several example embodiments of the disclosure follows. This summary is provided for the convenience of the reader to provide a basic understanding of such embodiments and does not wholly define the breadth of the disclosure. This summary is not an extensive overview of all contemplated embodiments and is intended to neither identify key or critical elements of all embodiments nor to delineate the scope of any or all aspects. Its sole purpose is to present some concepts of one or more embodiments in a simplified form as a prelude to the more detailed description that is presented later. For convenience, the term one embodiment may be used herein to refer to a single embodiment or multiple embodiments of the disclosure.
[0022] A timer circuit according to one embodiment includes: a capacitor; a first current source structured to charge the capacitor; an inverter; a second current source structured to supply a current to an input node of the inverter; a current mirror circuit having an output node coupled to the input node of the inverter; and a resistor coupled between an input node of the current mirror circuit and the capacitor.
[0023] With the voltage across the capacitor as V.sub.C1, with the threshold voltage of the input-side transistor of the current mirror circuit as V.sub.TH, and with the resistance value of the resistor as R1, the current I.sub.3 that flows through the resistor and the input node of the current mirror circuit is represented by I.sub.3=(V.sub.C1V.sub.TH)/R1. With the mirror ratio of the current mirror circuit as K, the output current I.sub.4 of the current mirror circuit is represented by I.sub.4=KI.sub.3=K(V.sub.C1V.sub.TH)/R1. When the current I.sub.2 generated by the second current source becomes equal to the output current I.sub.4 of the current mirror circuit, the output of the inverter changes. Accordingly, the capacitor voltage V.sub.C1(TH) at the point when the output of the inverter changes is represented by V.sub.C1(TH)=I.sub.2R1/K+V.sub.TH. The voltage V.sub.C1(TH) is a constant value that does not depend on the power supply voltage of the inverter. Accordingly, with such a timer circuit, this is capable of providing time measurement without depending on the power supply voltage.
[0024] In one embodiment, the current mirror circuit may be configured using a field-effect transistor (FET).
[0025] In one embodiment, the ratio between the channel width W and the channel length L, i.e., W/L, is determined such that, when the output of the inverter changes, a fluctuation of the gate-source voltage of an input-side transistor of the current mirror circuit is maintained within a range of 0.1 V or less or more preferably, 0.05 or less in a case in which a fluctuation occurs in the temperature within a guaranteed operating temperature range. This is capable of reducing the temperature dependence of the measurement time.
[0026] In one embodiment, the current mirror circuit may be configured using a bipolar transistor.
[0027] In one embodiment, the timer circuit may be monolithically integrated on a single semiconductor substrate. Examples of such an integrated arrangement include: an arrangement in which all the circuit components are formed on a semiconductor substrate; and an arrangement in which principal circuit components are monolithically integrated. Also, a part of the circuit components such as resistors or capacitors may be arranged in the form of components external to such a semiconductor substrate in order to adjust the circuit constants. By integrating the circuit on a single chip, such an arrangement allows the circuit area to be reduced and allows the circuit elements to have uniform characteristics.
[0028] An oscillator according to one embodiment may include: any one of the timer circuits described above; and a reset circuit structured to discharge the capacitor in response to the output of the inverter of the timer circuit.
[0029] An oscillator according to one embodiment may include two timer circuit. Each of the two timer circuits may be reset by an output of the other timer circuit.
[0030] A semiconductor apparatus according to one embodiment may include any one of the oscillator circuits described above, a charge pump circuit driven by an output signal of the oscillator circuit, and an N-type transistor arranged such that the output voltage of the charge pump circuit is received via its control electrode.
EMBODIMENTS
[0031] Description will be made below regarding preferred embodiments with reference to the drawings. The same or similar components, members, and processes are denoted by the same reference numerals, and redundant description thereof will be omitted as appropriate. The embodiments have been described for exemplary purposes only and are by no means intended to restrict the present disclosure and the present invention. Also, it is not necessarily essential for the present disclosure and the present invention that all the features or a combination thereof be provided as described in the embodiments.
[0032] In some cases, the sizes (thickness, length, width, and the like) of each component shown in the drawings are expanded or reduced as appropriate for ease of understanding. The size relation between multiple components in the drawings does not necessarily match the actual size relation between them. That is to say, even in a case in which a given member A has a thickness that is larger than that of another member B in the drawings, in some cases, in actuality, the member A has a thickness that is smaller than that of the member B.
[0033] In the present specification, a state represented by the phrase the member A is coupled to the member B includes a state in which the member A is indirectly coupled to the member B via another member that does not substantially affect the electric connection between them, or that does not damage the functions or effects of the connection between them, in addition to a state in which they are physically and directly coupled.
[0034] Similarly, a state represented by the phrase the member C is provided between the member A and the member B includes a state in which the member A is indirectly coupled to the member C, or the member B is indirectly coupled to the member C via another member that does not substantially affect the electric connection between them, or that does not damage the functions or effects of the connection between them, in addition to a state in which they are directly coupled.
[0035] In the present specification, the reference symbols denoting electric signals such as a voltage signal, current signal, or the like, and the reference symbols denoting circuit elements such as a resistor, capacitor, inductor, or the like, also represent the corresponding voltage value, current value, or circuit constants (resistance value, capacitance value, inductance) as necessary.
[0036]
[0037] The timer circuit 100 includes a capacitor C1, a first current source CS1, a second current source CS2, a current mirror circuit 110, a resistor R1, an inverter 120, and a reset transistor M3. A power supply voltage V.sub.DD is supplied to a power supply line 102 of the timer circuit 100.
[0038] The capacitor C1 is arranged such that one end is grounded. The first current source CS1 is coupled to the other end of the capacitor C1. The first current source CS1 functions as a source of a constant current I.sub.1 to the capacitor C1 so as to charge the capacitor C1.
[0039] The inverter 120 includes a high-side transistor M21 and a low-side transistor M22 coupled between the power supply line 102 and the ground. Specifically, the high-side transistor M21 is coupled between the power supply line 102 and the output line 104. The low-side transistor M22 is coupled between the output line 104 and the ground.
[0040] The second current source CS2 is coupled to an input node 122 of the inverter 120. The second current source CS2 functions as a source of a current I.sub.2 to the input node of the inverter 120.
[0041] The current mirror circuit 110 mirrors the current that flows through the input node 112 such that it is multiplied by K (K is referred to as the mirror ratio), and such that the mirrored current is folded back and sunk from an output node 114. The current mirror circuit 110 includes an input-side transistor M11 and an output-side transistor M12. The output node 114 of the current mirror circuit 110 is coupled to the input node 122 of the inverter 120.
[0042] The resistor R1 is coupled between the input node 112 of the current mirror circuit 110 and the capacitor C1.
[0043] The reset transistor M3 is coupled in parallel with the capacitor C1. During a period in which the start signal /START is negated (high), the reset transistor M3 is turned on so as to discharge the capacitor C1. During a period in which the start signal /START is asserted (low), the reset transistor M3 is turned off, which allows the capacitor C1 to be charged by means of the first current source CS1.
[0044] The above is the configuration of the timer circuit 100. Next, description will be made regarding the operation thereof.
[0045]
[0046] Before the time point to, the start signal /START is negated, and the reset transistor M3 is turned on. In this state, the capacitor voltage V.sub.C1 is fixed to 0 V.
[0047] When the start signal /START is asserted at the time point t.sub.0, the capacitor C1 is charged by the current I.sub.1 generated by the first current source CS1. With this, the capacitor voltage V.sub.C1 rises with time.
[0048] When the capacitor voltage V.sub.C1 exceeds a gate-source threshold voltage V.sub.GS(th) of the input-side transistor M11 of the current mirror circuit 110, the current I.sub.3 starts to flow through the resistor R1 and the input side of the current mirror circuit 110. The current I.sub.3 is represented by the following Expression.
I.sub.3=(V.sub.C1V.sub.GS(th)/R1
[0049] For simplification of description,
[0050] Before the time point t.sub.2, the relation I.sub.4<I.sub.2 holds true. Accordingly, the voltage V.sub.INV of the input node 122 of the inverter 120 is high (V.sub.DD). Accordingly, the output of the inverter 120, i.e., the output OUT of the timer circuit 100, is low.
[0051] When the current I.sub.4 exceeds the current I.sub.2 (I.sub.4>I.sub.2) at the time point t.sub.3, the voltage V.sub.INV of the input node 122 of the inverter 120 is set to low (0 V). In this state, the output of the inverter 120, i.e., the output OUT of the timer circuit 100 transits to high.
[0052] The time between the time points t.sub.0 and t.sub.2 is used as the measurement time .sub.MEAS by the timer circuit 100. The capacitor voltage V.sub.C1(TH) at the time point t.sub.2 is represented by V.sub.C1(TH)=I.sub.2R1/K+V.sub.C1(TH).
[0053] Directing attention to the capacitor C1, the capacitor voltage V.sub.C1 is generated by charging the capacitor C1 using a charging current I.sub.CHG=I.sub.1I.sub.3. Accordingly, the integration time represented by C1(I.sub.2R1/K+V.sub.C1(TH))=.sup.I.sub.CHG(t) dt is the measurement time .sub.MEAS.
[0054] The above is the operation of the timer circuit 100. The advantages of the timer circuit 100 can be clearly understood in comparison with conventional techniques.
[0055]
[0056] The capacitor C1 is charged by the current I.sub.1 generated by the current source CS1. The capacitor voltage V.sub.C1 increases with a constant slope with time. With this, when the capacitor voltage V.sub.C1 reaches the threshold voltage of the inverter 120, the output OUT changes from high to low.
[0057] In this case, the threshold voltage of the inverter 120 is half the power supply voltage V.sub.DD. Accordingly, with the timer circuit 100R shown in
[0058] In contrast, the timer circuit 100 shown in
[0059] Next, description will be made regarding the usage of the timer circuit 100. The timer circuit 100 can be used in an oscillator circuit.
[0060]
[0061] The first timer circuit 100_1 and the second timer circuit 100_2 each have the same configuration as that of the timer circuit 100 described above. The respective measurement times .sub.MEAS1 and .sub.MEAS2 of the first timer circuit 100_1 and the second timer circuit 100_2 may be the same or may be different.
[0062] The controller circuit 210 asserts a second start signal /START2 for the second timer circuit 100_2 in response to the assertion of an output OUT1 of the first timer circuit 100_1. Furthermore, the controller circuit 210 asserts a first start signal /START1 for the first timer circuit 100_1 in response to the assertion of an output OUT2 of the second timer circuit 100_2. During a period in which one of the first start signal /START1 and the second start signal /START2 is asserted, an output CLK of the controller 210 is set to a first level (e.g., high). During a period in which the other is asserted, the output CLK of the controller 210 is set to a second level (e.g., low).
[0063]
[0064] Next, description will be made regarding the temperature characteristics of the timer circuit 100. The measurement time .sub.MEAS of the timer circuit 100 is affected by the temperature characteristics of the current mirror circuit 110.
[0065]
[0066] A MOSFET has the following characteristics. [0067] (i) As the temperature becomes higher, the gate-source threshold voltage V.sub.GS(th) of the MOSFET becomes lower, leading to the drain current readily flowing. In
[0069] Accordingly, the operating point of the input-side transistor M11 of the current mirror circuit 110 (gate-source voltage, i.e., the gate-drain voltage, i.e., the voltage at the input node 112 of the current mirror circuit 110) may preferably be determined. Furthermore, the ratio between the channel width W and the channel length L of the input-side transistor M11, i.e., W/L, may preferably be determined such that the temperature characteristics described in (i) and the temperature characteristics described in (ii) cancel each other out.
[0070] For example, this allows the gate-source voltage Vgs of the input-side transistor at a time point when the output of the inverter 120 changes to be controlled within fluctuation of 0.1 V or less, and more preferably, 0.05 V or less, when the temperature changes within the guaranteed operating temperature range.
[0071]
[0072]
[0073]
[0074]
[0075] It should be noted that the configuration of the oscillator 200 using the timer circuit 100 is not restricted to an arrangement shown in
[0076]
[0077] An external power supply voltage V.sub.CC is supplied from an external power supply circuit to a power supply terminal VCC of the semiconductor apparatus 300. The regulator circuit 330 receives the external power supply voltage V.sub.CC as an input voltage and generates an internal power supply voltage V.sub.REG5 stabilized to a predetermined target level (e.g., 5 V). The internal power supply voltage V.sub.REG5 is supplied to load circuits such as the reference current source 350, the bandgap reference circuit 352, etc.
[0078] The regulator circuit 330 is configured as a source follower circuit including an NMOS transistor 332 and a bias circuit 334. The bias circuit 334 includes a Zener diode DLZ and a resistor R11. The bias circuit 334 generates a Zener voltage Vz of the Zener diode DLZ at the gate of the NMOS transistor 332. The internal power supply voltage V.sub.REG5 is stabilized to a target level represented by V.sub.REF(REF)=V.sub.ZV.sub.GS. Here, V.sub.GS represents the gate-source voltage of the NMOS transistor 332. For example, the Zener voltage Vz is determined such that V.sub.REF(REF)=5 V holds true.
[0079] When the external power supply voltage V.sub.CC is lower than the target level (5 V) of the internal power supply voltage V.sub.REG5, i.e., the Zener voltage Vz of the Zener diode DLZ, the bias circuit 334 is not able to operate. In order to appropriately bias the NMOS transistor 332 in this state, the UVP circuit 310, the oscillator 200, and the charge pump circuit 320 are provided.
[0080] The UVP circuit 310 compares the external power supply voltage V.sub.CC with an under voltage threshold value V.sub.UVP. When V.sub.CC<V.sub.UVP holds true, the UVP circuit 310 asserts (e.g., sets to high) the UVP signal.
[0081] When the UVP signal is asserted, the oscillator 200 transits to the operating state. In this state, the oscillator 200 generates a clock signal CLK. Furthermore, the UVP signal is supplied to an enable terminal of the charge pump circuit 320. When the UVP signal is asserted, the charge pump circuit 320 transits to the enable state. In this state, the charge pump circuit 320 boosts the internal power supply voltage V.sub.REG5 in synchronization with the clock signal CLK, so as to generate the charge pump voltage V.sub.CP. The charge pump voltage V.sub.CP is higher than the target level of the internal power supply voltage V.sub.REG5.
[0082] The startup bias circuit 340 operates with the charge pump voltage V.sub.CP as a power supply. The startup bias circuit 340 function as a source of the startup current I.sub.START to the gate of the NMOS transistor 332. With such an arrangement in which the startup current I.sub.START flows through the Zenner diode DLZ, this is capable of generating the Zenner voltage Vz at the gate of the NMOS transistor 332 even in a state in which the external power supply voltage V.sub.CC is low.
[0083] With such an arrangement in which the oscillator 200 for supplying the clock signal CLK to the charge pump circuit 320 is configured using the timer circuit 100 according to the present embodiment, this is capable of generating the clock signal CLK with a stable frequency.
MODIFICATIONS
[0084] Description has been made in the embodiment regarding an arrangement in which the current mirror circuit 110 is configured using MOSFETs. However, the current mirror circuit 110 may be configured using bipolar transistors. The circuit blocks other than the current mirror circuit 110, e.g., the inverter 120, reset transistor M3, first current source CS1, second current source CS2, or the like, may be configured using bipolar transistors.
[0085] Description has been made regarding the present invention with reference to the embodiments using specific terms. However, the above-described embodiments show only an aspect of the mechanisms and applications of the present invention. Rather, various modifications and various changes in the layout can be made without departing from the spirit and scope of the present invention defined in appended claims.