Oscillator circuit
Patent Information
- Application Number
- JP2024503026
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-10
- Filing Date
- 2023-02-10
- Publication Date
- 2024-10-30
- Estimated Expiration
- 2043-02-10
AI Technical Summary
Existing oscillation circuits face issues with high current consumption during logic transitions and inadequate startup oscillation due to resistor configurations, leading to increased area and power inefficiencies.
An oscillator circuit with a variable resistor controlled by a control signal, allowing for stable oscillation from startup to steady-state operation while minimizing power consumption and circuit area, and incorporating a clamp circuit to suppress through-current and power supply fluctuations.
The oscillator circuit achieves stable oscillation with reduced power consumption and suppressed through-current, enabling efficient operation across varying oscillation frequencies and minimizing circuit area.
Smart Images

Figure 2023162736000001
Description
TECHNICAL FIELD
[0001] The present disclosure relates to an oscillation circuit and a buffer circuit. BACKGROUND ART
[0002] An oscillation circuit using a vibrator such as a crystal reaches a steady oscillation state by repeatedly performing inverting amplification of a minute voltage generated by the vibrator at startup with an amplifier circuit formed of an inverter or the like, and feeding back the amplified voltage to the vibrator. During startup and steady oscillation, the oscillation circuit is required to have stable oscillation operation, and is also desired to be driven with low power consumption. To satisfy this requirement, a configuration has been conventionally proposed in which the drain current of a P-type MOS transistor constituting an inverter included in an amplifier circuit is controlled in accordance with the amplitude voltage of an oscillation signal (Patent Document 1). As another example, in a three-stage inverter provided in an amplifier circuit, the second-stage inverter is arranged in two parallels: a resistor is connected between ground VSS and an N-type MOS transistor in one of the inverters, and the output of the inverter is connected to the gate of a P-type MOS transistor of the third-stage inverter; a resistor is connected between a power supply voltage VDD and a P-type MOS transistor in the other inverter, and the output of the inverter is connected to the gate of an N-type MOS transistor of the third-stage inverter, thereby suppressing the through current of the third-stage inverter (Patent Document 2). PRIOR ART DOCUMENTS PATENT DOCUMENTS
[0003] [Patent Document 1] Japanese Patent No. 6111085 [Patent Document 2] Japanese Laid-Open Patent Publication No. 5-145341 SUMMARY OF THE INVENTION PROBLEM TO BE SOLVED BY THE INVENTION
[0004] However, in the configuration described in Patent Document 1, although the current consumption of the amplification circuit is reduced, the through-current generated in the inverter during logic transitions is not sufficiently reduced, resulting in the problem of wasted current consumption. Furthermore, in the configuration described in Patent Document 2, while the through-current of the third-stage inverter can be reduced in the steady-state oscillation state, during startup, the DC voltage level of the second-stage inverter (hereinafter, the DC voltage of the inverter output will be referred to as DC voltage) is near the power supply voltage VDD or ground VSS due to the resistors provided in each, so the third-stage inverter does not turn on at the small voltage during startup, resulting in the problem of not being able to generate an oscillation signal. In addition, since the second-stage inverter is configured with two in parallel, there is also the problem of increased area.
[0005] This disclosure was made to solve the above-mentioned problems, and aims to provide an oscillator circuit that can achieve stable oscillation operation from a minute voltage at startup to a steady-state oscillation while suppressing the circuit area, and that can be driven with low power consumption in the steady-state oscillation state. [Means for solving the problem]
[0006] To solve the above problems, the oscillator circuit according to the present disclosure is an oscillator circuit comprising an oscillator and an amplification circuit for amplifying the voltage of the oscillator, wherein the amplification circuit comprises a first inverter that outputs a first input signal to a first node and a second node, and a second inverter that takes the signals of the first node and the second node as input and outputs an output signal to a third node, and the amplification circuit further comprises a variable resistor connected between the first node and the second node and controlled by a control signal. [Effects of the Invention]
[0007] The oscillation circuit described herein allows for stable oscillation operation from startup to steady-state oscillation, and suppression of power consumption caused by through-current during steady-state operation, by controlling the variable resistor provided in the inverter with a control signal during startup and steady-state oscillation.
[0008] Furthermore, by setting the variable resistor using the on-resistance of the transistor, it becomes possible to suppress the increase in area.
[0009] Furthermore, by switching the resistance value of the variable resistor in multiple stages, the optimal delay time can be set for node Np or node Nn even when the oscillation frequency of the oscillator circuit is different, making it possible to apply the oscillator circuit in a general way. Note that "multiple stages" means three or more stages.
[0010] Furthermore, by incorporating a clamp circuit into the variable resistor and performing a two-stage logic transition between nodes Np and Nn before inputting it to the subsequent inverter, it is possible to suppress the inverter's through-current and also suppress power supply voltage fluctuations and EMI characteristic degradation during logic transitions. In addition, this suppresses the current supplied to the oscillator, making it possible to expand the excitation level margin.
[0011] Furthermore, when the above amplification circuit is used as a buffer circuit, it is possible to improve power consumption, power supply voltage fluctuations, and EMI characteristics. [Brief explanation of the drawing]
[0012] [Figure 1] Figure 1 is a circuit diagram showing the configuration of an oscillator circuit in the first embodiment of this disclosure. [Figure 2] Figure 2 is a circuit diagram showing the variable resistor in Figure 1. [Figure 3A] Figure 3A is a waveform diagram of the oscillator circuit at startup in the first embodiment of this disclosure. [Figure 3B] Figure 3B is a waveform diagram of the oscillator circuit in the first embodiment of this disclosure during steady-state oscillation. [Figure 4] Figure 4 is a circuit diagram showing a modified example 1 of the variable resistor in Figure 2. [Figure 5] Figure 5 is a circuit diagram showing a modified example 2 of the variable resistor in Figure 2. [Figure 6] Figure 6 is a circuit diagram showing a modified example 1 of the buffer circuit in Figure 1. [Figure 7]FIG. 7 is a circuit diagram illustrating Modification 3 of the variable resistor of FIG. 2. [Figure 8] FIG. 8 is a circuit diagram illustrating a buffer circuit in Modification 3 of the variable resistor of FIG. 7. [Figure 9] FIG. 9 is a waveform diagram illustrating the operation of Modification 1 of the buffer circuit of FIG. 6. [Figure 10] FIG. 10 is a circuit diagram illustrating Modification 4 of the variable resistor of FIG. 2. DETAILED DESCRIPTION OF EMBODIMENTS
[0013] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In the embodiments, configurations having the same function are denoted by the same reference numerals, and overlapping descriptions are omitted.
[0014] A first embodiment of the present disclosure will be described with reference to the drawings. FIG. 1 is a circuit diagram showing a configuration of an oscillation circuit 100 according to the present disclosure, where 101 is a vibrator, C101 and C102 are load capacitors connected to both ends of the vibrator 101, A1 is an amplification circuit that amplifies a voltage generated by the vibrator 101 and feeds the amplified voltage back to the vibrator 101, and SIG is a control signal that controls the amplification circuit A1. As shown in FIG. 1, the oscillation circuit 100 includes the vibrator 101 and the amplification circuit A1.
[0015] The amplification circuit A1 includes an input terminal IN, an output terminal OUT, and a control terminal PN for inputting the control signal SIG, and further includes an inverter INV101, a buffer circuit BUF101, and a feedback resistor R101 that feeds back a voltage VOUT at the output terminal OUT to the input terminal IN. Here, the voltage VOUT is fed back to set VIN_dc, which is a DC voltage of the inverter INV101 (hereinafter, the DC voltage at the input of the inverter is referred to as DC bias).
[0016] The buffer circuit BUF101 comprises an input node ND1, an output node ND2, and a node ND3 to which the control signal SIG is applied via the control terminal PN. The buffer circuit BUF101 comprises an inverter INV102 and an inverter INV103.
[0017] The inverter INV102 is an example of a first inverter that outputs a first input signal to a node Np and a node Nn. The node Np is an example of a first node, and the node Nn is an example of a second node.
[0018] The inverter INV102 further comprises a P-type MOS transistor TR101 and an N-type MOS transistor TR102 that receive the node ND1 as an input, and a variable resistor R102 connected between the node Np and the node Nn and controlled by the control signal. The variable resistor R102 is a variable resistor with a resistance value Rn provided between the P-type MOS transistor TR101 and the N-type MOS transistor TR102.
[0019] The inverter INV103 is an example of a second inverter that receives signals from the node Np and the node Nn and outputs an output signal to the node ND2. The node ND2 is an example of a third node. The inverter INV103 comprises a P-type MOS transistor TR103 connected to the node Np that is the output node of the P-type MOS transistor TR101, and an N-type MOS transistor TR104 connected to the node Nn that is the output node of the N-type MOS transistor TR102.
[0020] Figure 2 is a circuit diagram showing the variable resistor R102. R103 is a resistor with a resistance value Rc, SW1 is a switch composed of a P-type MOS transistor TR105 and an N-type MOS transistor TR106, and INV104 is an inverter that outputs an inverted logic signal of the control signal SIG. As shown in Figure 2, the variable resistor R102 comprises the resistor R103 and the switch SW1. The resistor R103 is an example of a first resistor. The switch SW1 is an example of a switch that short-circuits the first resistor (i.e., the resistor R103).
[0021] Here, the on-resistance between the drain and source of the P-type MOS transistor TR105 is RPon, and the N-type MOS transistor TR106 If RNon is the on-resistance between the drain and source, then the resistance value Ron when switch SW1 is ON is Ron = (RPon × RNon) / (RPon + R N The result is (on). The resistance value Rc of resistor R103 and the resistance value Ron of switch SW1 are designed such that resistance value Rc > resistance value Ron.
[0022] The resistance value of the variable resistor R102 is switched by the control signal between the startup and steady-state oscillation of the oscillator circuit 100. More specifically, the resistance value of the variable resistor R102 is switched by the control signal so that it is lower when the oscillator circuit 100 is started than when it is in steady-state oscillation. In other words, the resistance value of the variable resistor R102 is switched according to the control signal SIG. Rn This is switched between a high resistance value Rc (hereinafter referred to as high resistance Rc) and a low resistance value Ron (hereinafter referred to as low resistance Ron). From now on, the resistance value of switch SW1 will be determined by the on-resistance of the transistor.
[0023] Figures 3A and 3B are waveform diagrams of the oscillator circuit 100 according to Embodiment 1 of this disclosure during startup and steady-state oscillation, respectively. The operation of the oscillator circuit 100 shown in Figures 1 and 2 will be explained using the waveform diagrams in Figures 3A and 3B. Each inverter INV101 to INV104 is driven between the power supply voltage VDD and the ground VSS. The output voltage of the oscillator 101 is assumed to be an ideal sine wave with the equation VIN = αi × sin(ωt). Here, αi is the amplitude of the voltage generated by the oscillator 101, and i is a value that is counted each time the output voltage VOUT is fed back to the oscillator 101 from the amplifier circuit A1. The initial value is 1, and thereafter it increases by a natural number. ωt represents the phase.
[0024] (At startup) The operation of the oscillator circuit 100 during startup will be explained using Figure 3A.
[0025] [Time T1] At time T1, the control signal SIG is set to 'L'. This turns on the P-type MOS transistor TR105 and N-type MOS transistor TR106 of the variable resistor R102, and the resistance value Rn between node Np and node Nn is set to the low resistance Ron of switch SW1. Also, the DC bias VIN_dc of inverter INV101 connected to input terminal IN is approximately (VDD / 2) due to the feedback of the voltage VOUT at output terminal OUT via feedback resistor R101.
[0026] [Time T1~T2] The voltage VIN at the input terminal IN is given by the weak voltage α1·sin(ωt) generated by the oscillator 101 and the DC bias VIN_dc at the input terminal IN, resulting in VIN = (VDD / 2 + α1 × sin(ωt))···(1). Here, α1 is an amplitude voltage ranging from a few μV to several tens of μV, with ωt being between 0° and 180°, and sin(ωt) ≥ 0.
[0027] Next, inverter INV101 takes voltage VIN as input and outputs the inverted and amplified voltage VND1 to node ND1 as VND1=(VDD / 2-α1×K1×sin(ωt-θ1))···(2). Here, K1 is the voltage amplification factor of inverter INV101, and θ1 is the positive delay component when inverter INV101 is logically inverted.
[0028] The voltage VND1 at node ND1 is input to the P-type MOS transistor TR101 and the N-type MOS transistor TR102 of inverter INV102. Here, if the on-resistance of the P-type MOS transistor TR101 is RPinv and the on-resistance of the N-type MOS transistor TR102 is RNinv, then the DC voltage levels between node Np and node Nn are as follows. VNp_dc=VDD×[(Ron+RNinv) / (RPinv+Ron+RNinv)]···(3) VNn_dc=VDD×[(RNinv) / (RPinv+Ron+RNinv)]···(4)
[0029] Therefore, the voltages VNp and VNn at nodes Np and Nn of inverter INV102 are given by equations (2), (3), and (4), respectively. VNp=VNp_dc+α1×K1×K2×sin(ωt-(θ1+θ2))...(5) VNn=VNn_dc+α1×K1×K2×sin(ωt-(θ1+θ2))...(6) This is the result.
[0030] Here, K2 is the voltage amplification factor of inverter INV102, θ2 is the positive delay component when inverter INV102 is logic-inverted, and since the resistance value Rn of the variable resistor R102 is set to the low resistance Ron, it is assumed that there is no time difference between node Np and node Nn. Here, in equations (3) and (4), for example, if Ron=RPinv=RNinv and VDD=3v, then the voltages VNp and VNn of node Np and node Nn, respectively, are given by equations (5) and (6), VNp=2v+α1×K1×K2×sin(ωt-(θ1+θ2))...(7) VNn=1v+α1×K1×K2×sin(ωt-(θ1+θ2))...(8) Therefore, equations (7) and (8) show that the gate-source voltage Vgs of the P-type MOS transistor TR103 and N-type MOS transistor TR104 of the inverter INV103, which takes VNp or VNn as input, can be set to a Vgs centered around 1V, making it possible to drive the inverter INV103. By reducing the low resistance Ron, Vgs can be set to an even larger value. Thus, it can be seen that the transistors can be turned on even with the minute voltage generated by the oscillator during startup.
[0031] The voltages VNp and VNn at nodes Np and Nn are applied to the P-type MOS transistor TR103 and the N-type MOS transistor TR104 of the inverter INV103, respectively. Assuming that the DC voltage level difference between voltage VNp and voltage VNn is small, the output voltage VOUT at the output terminal OUT of the amplifier circuit A1 is VOUT = (VDD / 2 - α1 × K1 × K2 × K3 × sin(ωt - (θ1 + θ2 + θ3))). Here, K3 is the voltage amplification factor of the inverter INV103, and θ3 is the positive delay component when the inverter INV103 is logically inverted.
[0032] Here, the driving conditions for inverter INV103 are shown. If the thresholds of the P-type MOS transistor TR103 and the N-type MOS transistor TR104 are |Vtp1| and Vtn1, respectively, then equations (5) and (6) representing the voltages VNp and VNn at nodes Np and Nn respectively must satisfy the following. |VDD-VNp|>|Vtp1|···(9) VNn>Vtn1···(10)
[0033] Here, '||' represents the absolute value. As a guideline for satisfying the conditions of equations (9) and (10), the relationship between the on-resistances RPinv and RNinv and the low resistance Ron can be found from equations (3) and (4). Ron ≤ RPinv, and Ron ≤ RNinv...(11) It is desirable to do so, but it is sufficient if Ron is set to satisfy equations (9) and (10).
[0034] Therefore, the output terminal OUT outputs the output voltage VOUT, which is obtained by inverting and amplifying the voltage VIN at the input terminal IN using the amplification circuit A1. When the output voltage VOUT is fed back to the oscillator 101, the oscillator 101 generates a small voltage α2·sin(ωt). Here, α2 > α1 and ωt = 180° to 360°, so sin(ωt) ≤ 0.
[0035] [Time T2~T3] The small voltage α2 × sin(ωt) generated by the oscillator 101 and the DC bias VIN_dc at the input terminal IN result in the voltage VIN at the input terminal IN being VIN = (VDD / 2 + α2 × sin(ωt)). As a result, the amplifier circuit A1 repeats the same operation as in [time T1~T2] and outputs the output voltage VOUT at the output terminal OUT as VOUT = (VDD / 2 - α2 × K1 × K2 × K3 × sin(ωt - (θ1 + θ2 + θ3))). The output voltage VOUT is fed back to the oscillator 101, causing the oscillator to generate a small amplitude α3 × sin(ωt). Here, α3 > α2 and 360° ≤ ωt ≦5 Let's set it to 40°.
[0036] As time reaches T3, the operation becomes the same as during [times T1~T2], and the oscillation operation is repeated thereafter as the generated voltage of the oscillator 101 is amplified. As the generated voltage αn × sin(ωt) (where n is a natural number greater than or equal to 4) of the oscillator 101 is amplified, the output voltage VOUT at the output terminal OUT becomes an oscillation signal with amplitude voltage VDD, as shown in Figure 3A. This results in a steady-state oscillation, and thereafter the amplitude voltage αn of the generated voltage of the oscillator 101 remains constant.
[0037] As described above, oscillation operation is possible by setting the resistance value Rn of the variable resistor R102, which constitutes the inverter INV102, to a low resistance value Ron at startup using the control signal SIG. Note that the inverter INV102 only needs to include a P-type MOS transistor TR101, an N-type MOS transistor TR102, and a variable resistor R102. Even if other devices are included in the inverter INV102, the resistance value R between VDD and node Np will still work. dp , the resistance value R between VSS-node Nn dn Therefore, from equation (11), Ron ≤ Rdp, and Ron ≤ Rdn...(12) It is sufficient if the following conditions are met. The voltages VNp and VNn of nodes Np and Nn respectively that satisfy equation (12), and Ron that satisfies equations (9) and (10) showing the relationship with each transistor in inverter INV103, are sufficient.
[0038] (During steady-state oscillation) Next, Figure 3B will be used to explain the circuit operation of the oscillator circuit 100 during steady-state oscillation.
[0039] [Time T1] The control signal SIG is 'L', and the resistance value Rn of the variable resistor R102 is set to the low resistance Ron of switch SW1. Also, the DC bias VIN_dc of inverter INV101 connected to the input terminal IN is approximately (VDD / 2) because the voltage VOUT at the output terminal OUT is fed back through the feedback resistor R101.
[0040] [Time T1~T2] First, the voltage VIN at the input terminal IN is calculated as VIN = (VDD / 2 + αn × sin(ωt)) by the voltage αn × sin(ωt) generated by the oscillator 101 and the DC bias VIN_dc at the input terminal IN. The inverter INV101 takes the voltage VIN as input and outputs the voltage VND1 to node ND1 as VND1 = VDD / 2 - αn × K1·sin(ωt - θn). Here, the amplitude voltage αn × K1 of the voltage VND1 is assumed to be (αn × K1) >> (VDD - VSS). Thus, the voltage VND1 is between the power supply voltage VDD and the ground VSS. Oscillates Therefore, the voltage VND1 at node ND1 is VND1 = VSS. Note that θn is the positive delay component when the logic inversion of inverter INV101 occurs.
[0041] Next, the voltage VND1=VSS is input to the P-type MOS transistor TR101 and the N-type MOS transistor TR102 of the inverter INV102. At this time, the voltages VNp and VNn at nodes Np and Nn respectively become amplitude voltages VNp=VNn=VDD.
[0042] The voltages VNp and VNn at nodes Np and Nn, respectively, are applied to the P-type MOS transistor TR103 and the N-type MOS transistor TR104 of the inverter INV103. As a result, the output voltage VOUT = VSS is output to the output terminal OUT. The output voltage VOUT is fed back to the oscillator 101, which generates αn·sin(ωt). Here, ωt = 180° to 360°.
[0043] [Time T2~T3] The voltage VIN at input terminal IN is calculated as VIN = (VDD / 2 + αn·sin(ωt)) by the voltage αn × sin(ωt) generated by oscillator 101 and the DC bias VIN_dc at input terminal IN. VIN is input to inverter INV101, and inverter INV101 outputs the voltage VND1 = VDD / 2 - αn × K1 × sin(ωt - θn) to node ND1. Here, since the voltage VND1 oscillates between the power supply voltage VDD and ground VSS, the voltage VND1 at node ND1 is VND1 = VDD.
[0044] Inverters INV102 and INV103 perform the same operation as during [times T1 to T2], and the output voltage VOUT, obtained by inverting and amplifying the input voltage VIN at input terminal IN by the amplification circuit A1, is output to the output terminal OUT. The output voltage VOUT is fed back to the oscillator 101, which generates a small voltage αn × sin(ωt). Here, 360° ≤ ωt ≤ 540°. At [time T4], the state becomes the same as at time [T1], and the above operation is repeated. As a result, an oscillation signal with amplitude voltage VDD is steadily output from the output terminal OUT.
[0045] [Time T5] At time T5, the control signal SIG is changed from 'L' to 'H'. This turns off the P-type MOS transistor TR105 and N-type MOS transistor TR106 of the variable resistor R102, and the resistance value Rn of the variable resistor R102 switches from the low resistance value Ron to the high resistance Rc of resistor R103. From this point onward, the operation of the buffer circuit BUF101, whose circuit operation switches when the control signal SIG is controlled from 'L' to 'H', will be explained.
[0046] [Time T5~T6] The voltage VND1 at node ND1 transitions from VDD to VSS and is input to inverter INV102. As a result, the N-type MOS transistor TR102 of inverter INV102 turns off, and the P-type MOS transistor TR101 turns on.
[0047] When the P-type MOS transistor TR101 is turned on, the voltage VNp at node Np transitions from VSS to VDD, and the P-type MOS transistor TR103 of inverter INV103 turns off. Meanwhile, the voltage VNn at node Nn transitions from VSS to VDD via the variable resistor R102, which is set to a high resistance value Rc. As a result, the N-type MOS transistor TR104 of inverter INV103 turns on, and the voltage VOUT at the output terminal OUT transitions from VDD to VSS.
[0048] Here, the transition time of the voltage VNn at node Nn is delayed by the time set by the time constant τr, which makes it possible to suppress the shoot-through current from the P-type MOS transistor TR103 to the N-type MOS transistor TR104 of the inverter INV103. Here, the time constant τr = Rc·Cn (where Cn is the gate capacitance of the N-type MOS transistor TR104 of the inverter INV103), and by setting a high resistance value Rc, it is possible to set the P-type MOS transistor TR103 and the N-type MOS transistor TR104 to an off-off state during the logic transition of the inverter INV103, thereby suppressing the shoot-through current.
[0049] [Time T6~T7] Between times T6 and T7, the voltage VND1 at node ND1 transitions from VSS to VDD and is input to inverter INV102. As a result, the P-type MOS transistor TR101 of inverter INV102 turns off, and the N-type MOS transistor TR102 turns on.
[0050] When the N-type MOS transistor TR102 turns on, the voltage VNn at node Nn first transitions from VDD to VSS, and the N-type MOS transistor TR104 of inverter INV103 turns off. Meanwhile, the voltage VNp at node Np transitions from VDD to VSS via the variable resistor R102, which is set to a high resistance value Rc. As a result, the P-type MOS transistor TR103 of inverter INV103 turns on with a delay relative to the transition time of the N-type MOS transistor TR104, and the voltage VOUT at the output terminal OUT transitions from VSS to VDD.
[0051] The transition time of the voltage VNp at node Np is delayed by a time set by the time constant τf, which makes it possible to suppress the shoot-through current from the P-type MOS transistor TR103 to the N-type MOS transistor TR104 of the inverter INV103. The time constant τf = Rc·Cp (where Cp is the gate capacitance of the P-type MOS transistor TR103 of the inverter INV103), and by setting a high resistance value Rc, the P-type MOS transistor TR103 and the N-type MOS transistor TR104 can be set to an off-off state during the logic transition of the inverter INV103, thereby suppressing the unnecessary current consumption associated with shoot-through current.
[0052] Based on the above, the control signal SIG switches the resistance value Rn of the variable resistor R102, which is located between the P-type MOS transistor TR101 and the N-type MOS transistor TR102 of the inverter INV102, from a low resistance Ron during startup to a high resistance Rc during steady-state oscillation. This enables stable oscillation operation from startup to steady-state oscillation, as well as low power consumption during steady-state operation.
[0053] Furthermore, the timing for switching the resistance value Rn of the variable resistor R102 from low resistance Ron to high resistance Rc using the control signal SIG can be anytime as long as the oscillator circuit 100 has reached steady-state oscillation from startup. The switch may be made after a certain period of time has elapsed since the oscillator circuit 100 was started, or at any timing that allows the oscillator circuit 100 to be driven with low power consumption.
[0054] Also, oscillator 101The oscillator can be a piezoelectric oscillator such as a quartz crystal or ceramic. The amplifier circuit A1 only needs to have a buffer circuit BUF101, and the number of inverter stages and the configuration of the inverter INV101 are not limited to this, as long as the amplifier circuit A1 is configured to perform inverting amplification. In addition, other elements such as DC-blocking capacitors or damping resistors may be provided between the oscillator 101 and the input terminal IN, or between the oscillator 101 and the output terminal OUT. The buffer circuit BUF101 is a potential difference generation circuit that generates a potential difference between the first node and the second node, and it only needs to have a potential difference generation circuit in which the potential difference can be switched by a control signal. In other words, the buffer circuit BUF101 only needs to be configured with a potential difference generation circuit in which the difference voltage (VNp_dc - VNn_dc) of the DC bias VNp_dc and VNn_dc of the input voltages VNp and VNn of the 2-input inverter INV103 provided as the output stage can be switched in two or more stages according to the control signal. The potential difference generation circuit includes a variable resistor consisting of a resistor and a switch that short-circuits the resistor, and the switch may be switched according to the control signal. Alternatively, the potential difference generation circuit may consist of a diode or a diode-connected transistor and a switch as the variable resistor R102 of the inverter INV102. Furthermore, the potential difference generation circuit consists of a resistor circuit including both or one of a resistor and a transistor, and the inverter INV102 is equipped with a current adjustment circuit that can set multiple currents, and the current adjustment circuit may be switched according to the control signal. In other words, the potential difference generation circuit may be configured such that the inverter INV102 is equipped with a current source or current adjustment circuit that can set multiple current values, and the potential difference generated in the resistor circuit consisting of a resistor, transistor, diode, etc., between node Nn and node Np is switched by switching the amount of current during the logic transition of the inverter INV102 according to the control signal, and is not limited to this configuration as long as a similar function can be achieved in this way. In addition, the switch of the variable resistor R102 may be composed of a P-type MOS transistor or an N-type MOS transistor.
[0055] (Variable resistor R102 modification 1) Figure 4 shows a modification 1 of the variable resistor R102 of the first embodiment of this disclosure, in which switch SW1 in Figure 2 is replaced with a series connection of switch SW2a and switch SW2b. The control signal SIG consists of control signal SIGA and control signal SIGB, INV201 is an inverter that logically inverts the control signal SIGA, INV202 is an inverter that logically inverts the control signal SIGB, SW2a is a switch consisting of a P-type MOS transistor TR201 and an N-type MOS transistor TR202, SW2b is a switch consisting of a P-type MOS transistor TR203 and an N-type MOS transistor TR204, R201 and R202 are resistors, and Nr is the node between resistors R201 and R202.
[0056] The resistance Rn between node Np and node Nn is given by Rn = Rn1 + Rn2, where Rn1 is the resistance between node Np and node Nr, and Rn2 is the resistance between node Nr and node Nn. Here, resistance Rn1 is set by the control signal SIGA, switching between the resistance Rc1 of resistor R201 and the resistance Ron1 of switch SW2a. Resistance Ron1 is the combined resistance when both P-type MOS transistor TR201 and N-type MOS transistor TR202 are ON, and is assumed to be lower than resistance Rc1. Also, resistance Rn2 is set by the control signal SIGB, switching between the resistance Rc2 of resistor R202 and the resistance Ron2 of switch SW2b. Resistance Ron2 is the combined resistance when both P-type MOS transistor TR203 and N-type MOS transistor TR204 are ON, and is assumed to be lower than resistance Rc2.
[0057] Figure 4 will be used to explain the combinations of resistance values for the variable resistor R102.
[0058] [Control signal SIGA] When the control signal SIGA = L, the P-type MOS transistor TR201 and the N-type MOS transistor TR202 are turned on, and the resistance Rn1 between node Np and node Nr becomes the resistance Ron1 of switch SW2a. On the other hand, when the control signal SIGA = H, the resistance Rn1 becomes the resistance Rc1.
[0059] [Control signal SIGB] When the control signal SIGB = L, the P-type MOS transistor TR203 and the N-type MOS transistor TR204 are turned on, and the resistance Rn2 between nodes Nr and Nn becomes the resistance Ron2 of switch SW2b. On the other hand, when the control signal SIGB = H, the resistance Rn2 becomes the resistance Rc2.
[0060] As described above, by controlling the control signals SIGA and SIGB, the resistance value Rn between node Np and node Nn can be switched in multiple stages to (Rc1+Rc2), (Rc1+Ron2), (Ron1+Rc2), and (Ron1+Ron2). In other words, the resistance value of the variable resistor R102 can be switched in multiple stages. This makes it possible to set the time constants τr and τf described in Embodiment 1 in multiple stages.
[0061] By enabling multi-stage switching between time constants τr and τf, the optimal delay time can be set for node Np or node Nn even when the oscillation frequencies are different, suppressing the through-current of inverter INV103 and enabling low-power operation.
[0062] (Variable resistor R102 modification 2) Figure 5 shows a second modification of the variable resistor R102 of the first embodiment of this disclosure, in which switch SW1 in Figure 2 is replaced with switch SW3a and resistor R103 is replaced with switch SW3b. The control signal SIG consists of control signal SIGA and control signal SIGB, INV301 is an inverter that logically inverts the control signal SIGA, INV302 is an inverter that logically inverts the control signal SIGB, SW3a is a switch consisting of a P-type MOS transistor TR301 and an N-type MOS transistor TR302, and SW3b is a switch consisting of a P-type MOS transistor TR303 and an N-type MOS transistor TR304.
[0063] Figure 5 will be used to explain the combinations of resistance values for the variable resistor R102.
[0064] [Control signal SIGA] When the control signal SIGA = L, the P-type MOS transistor TR301 and the N-type MOS transistor TR302 are turned on, and the resistance of switch SW3a becomes Ron1. Here, the resistance value Ron1 is the combined on-resistance of the P-type MOS transistor TR301 and the N-type MOS transistor TR302. When the control signal SIGA = H, switch SW3a is turned off.
[0065] [Control signal SIGB] When the control signal SIGB = L, the P-type MOS transistor TR303 and the N-type MOS transistor TR304 are in the ON state, and the resistance of switch SW3b becomes Ron2. Here, the resistance value Ron2 is the combined ON resistance of the P-type MOS transistor TR303 and the N-type MOS transistor TR304. When the control signal SIGB = H, switch SW3b is in the OFF state.
[0066] Here, the resistance value Ron2 of switch SW3b is preferably increased by setting a smaller channel width / channel length (i.e., gate width / gate length) between the P-type MOS transistor TR303 and the N-type MOS transistor TR304, and is set to a higher resistance than the resistance value Ron1 of switch SW3a. In this way, the variable resistor R102 contains multiple transistors with different gate width-to-gate length ratios, which are the size ratios of the transistors.
[0067] As described above, by controlling the control signals SIGA and SIGB, it is possible to switch the resistance value Rn between node Np and node Nn to Ron1, Ron2, or the parallel resistance between Ron1 and Ron2. This makes it possible to set the time constants τr and τf described in Embodiment 1 in multiple stages.
[0068] By enabling multi-stage switching between the time constants τr and τf, the optimal delay time can be set for node Np or node Nn even when the oscillation frequency of the oscillation circuit 100 is different, suppressing the through-current of the inverter INV103 and enabling low-power operation. Furthermore, since the time constants τr and τf are set by the on-resistance of the transistor, the circuit area of the variable resistor R102 can be reduced.
[0069] Based on the above, by configuring the variable resistor R102 using a combination of multiple transistors and controlling the resistance value with a control signal, stable oscillation during startup and low power consumption during steady-state oscillation become possible. Furthermore, by realizing the resistance using the on-resistance of the transistors, the layout area can also be reduced.
[0070] Furthermore, when setting the resistance value Rn between nodes Np and Nn in the variable resistor R102, the number of transistors in parallel is not limited to this, and a switch may also be provided by connecting transistors in series.
[0071] (Modification 1 of the buffer circuit BUF101) Figure 6 shows a modified example 1 of the buffer circuit BUF101 of the first embodiment of this disclosure, in which the variable resistor R102 in Figure 1 is replaced with a variable resistor R401 controlled by the control signal SIG and the voltage VOUT at node ND2. Here, node ND2 and the output terminal OUT are at the same potential and the voltage VOUT is assumed to be VOUT, and the variable resistor R401 has a resistance value Rm.
[0072] Figure 7 shows the configuration of the variable resistor R401, which is a third modification of the variable resistor R102 in Figure 2. Switch SW1 in Figure 2 is replaced with switch SW4a, which consists of a P-type MOS transistor TR401 and an N-type MOS transistor TR402, and resistor R103 is replaced with switch SW4b, which switches between the P-type MOS transistor TR403 and the N-type MOS transistor TR404 using the control signal SIG and the voltage VOUT at the output terminal OUT. Here, the resistance values of switches SW4a and SW4b in the ON state are denoted as resistance values Ron4 and Ron4, respectively. Furthermore, the resistance values of the P-type MOS transistor TR403 and the N-type MOS transistor TR404 in the ON state of switch SW4b are denoted as RPon4 and RNo4, respectively, and the threshold values are denoted as |Vtp4| and |Vtn4|, respectively.
[0073] Furthermore, BUF401 and BUF402 are buffer circuits that logically output Hiz or voltage VOUT to node FB1 or node FB2 according to the control signal SIG and the voltage VOUT at the output terminal OUT; TR405 and TR406 are P-type MOS transistors and N-type MOS transistors, respectively, that set node FB1 to VDD and node FB2 to VSS when the control signal SIG is L; and INV401 and INV402 are inverters that invert the logic of the control signal SIG.
[0074] Figure 8 shows the circuit diagrams of buffer circuits BUF401 and BUF402.
[0075] Buffer circuits BUF401 and BUF402 receive the control signal SIG and the voltage VOUT at the output terminal OUT as inputs, and output a logical signal to node FB1 or FB2. BUF501 is a buffer circuit, TR501 and TR502 are P-type MOS transistors and N-type MOS transistors that control the power supply of buffer circuit BUF501, respectively, and INV501 is an inverter that logically inverts the control signal.
[0076] Figure 9 shows the operating waveform of the buffer circuit BUF101 during steady-state oscillation in the oscillator circuit 100. Using the operating waveform in Figure 9, the operation of the buffer circuit BUF101 and the variable resistor R401 will be explained using Figures 1, 6 through 8.
[0077] [Time T1 - Time T3] When the control signal SIG=L, the P-type MOS transistor TR401 and the N-type MOS transistor TR402 are turned ON. On the other hand, node FB1 is VDD due to the P-type MOS transistor TR405, node FB2 is VSS due to the N-type MOS transistor TR406, and the P-type MOS transistor TR403 and the N-type MOS transistor TR404 are turned OFF. Thus, the resistance value Rm of the variable resistor R401 is equal to the resistance value Ron4 of the switch SW4a. As long as the resistance value Ron4 satisfies equation (11) or equation (12), the oscillator circuit 100 oscillates stably.
[0078] [Time T3] The control signal SIG transitions from 'L' to 'H'. As a result, the P-type MOS transistor TR401 and N-type MOS transistor TR402 of the variable resistor R401 are turned off. Meanwhile, the buffer circuits BUF401 and BUF402 output the voltage VOUT=VSS from their output terminal OUT to nodes FB1 and FB2, turning the P-type MOS transistor TR403 on and the N-type MOS transistor TR404 off, and the resistance value Rm of the variable resistor R401 becomes resistance value RPon4.
[0079] [Time T3 - Time T4] The voltage VND1 at node ND1 transitions from VSS to VDD, causing the P-type MOS transistor TR101 of inverter INV102 to turn off and the N-type MOS transistor TR102 to turn on. As a result, node Nn transitions from VDD to VSS, causing the N-type MOS transistor TR104 to turn off. Meanwhile, the voltage VNp at node Np transitions from VDD to VSS with a time constant τf set by the resistance value Rm of the variable resistor R401, and also undergoes a two-step logic transition, turning on the P-type MOS transistor TR103.
[0080] The two-step logical transition of the voltage VNp at node Np is as follows:
[0081] First, in the first stage, the P-type MOS transistor TR403 of the variable resistor R401 acts as a clamp circuit because its drain is common, and the voltage VNp transitions from VDD to VSS+|Vtp4|, which is the source follower voltage of the P-type MOS transistor TR403, with a time constant τf set by the resistance value Rm. As a result, the P-type MOS transistor TR103 enters a weak ON state, and the voltage VOUT at the output terminal OUT (node ND2) transitions from 'VSS' to 'VDD'. Next, in the second stage, as the output terminal OUT transitions from 'VSS' to 'VDD', the P-type MOS transistor TR403 enters an OFF state and the N-type MOS transistor TR404 enters an ON state, and the voltage VNp transitions from VSS+|Vtp4| to VSS with a time constant τf set by the resistance value Rm, and the P-type MOS transistor TR103 of inverter INV103 enters an ON state. As a result, the voltage VOUT at the output terminal OUT (node ND2) transitions to 'VDD'. Here, the time constant τf is set by the resistance value RPon4 of the P-type MOS transistor TR403 in the first stage, and by the resistance value RNo4 of the N-type MOS transistor TR404 in the second stage.
[0082] As described above, by using the voltage clamping characteristics of the variable resistor R401 to transition the gate voltage of the P-type MOS transistor TR103 of the inverter INV103 in two stages, it is possible to suppress the current consumption due to the through-current from the P-type MOS transistor TR103 to the N-type MOS transistor, as well as suppress fluctuations in the power supply voltage VDD and deterioration of EMI characteristics that occur during the logic transition of the P-type MOS transistor TR103. Furthermore, this suppresses the current supplied to the oscillator 101, making it possible to expand the excitation level margin.
[0083] [Time T4 - Time T5] The voltage VND1 at node ND1 transitions from VDD to VSS, turning on the P-type MOS transistor TR101 and turning off the N-type MOS transistor TR102 in inverter INV102. This causes node Np to transition from VSS to VDD, turning off the P-type MOS transistor TR103. Meanwhile, the voltage VNn at node Nn transitions from VSS to VDD with a time constant τr set by the resistance value Rm of the variable resistor R401, and also turns on the N-type MOS transistor TR104 through a two-step logic transition.
[0084] The two-step logical transition of the voltage VNn at node Nn is as follows:
[0085] First, in the first stage, the N-type MOS transistor TR404 of the variable resistor R401 acts as a clamp circuit because its drain is common, and the voltage VNn transitions from VSS to VDD-|Vtn4|, which is the source follower voltage of the N-type MOS transistor TR404, with a time constant τr set by the resistance value Rm. As a result, the N-type MOS transistor TR104 enters a weak ON state, and the voltage VOUT at the output terminal OUT (node ND2) transitions from VDD to VSS. Next, in the second stage, as the output terminal OUT transitions from VDD to VSS, the N-type MOS transistor TR404 enters an OFF state and the P-type MOS transistor TR403 enters an ON state, and the voltage VNn transitions from VDD-|Vtn4| to VDD with a time constant τf set by the resistance value Rm, and the N-type MOS transistor TR104 of inverter INV103 enters an ON state. As a result, the voltage VOUT at the output terminal OUT (node ND2) transitions to VSS. Here, the time constant τr is set by the resistance value RNo4 of the N-type MOS transistor TR404 in the first stage, and by the resistance value RPoN4 of the P-type MOS transistor TR403 in the second stage.
[0086] As described above, the buffer circuit BUF101 of the oscillator circuit 100 according to this modified example is connected between node Np and node Nn and includes a resistor circuit that causes the voltage of node Np or node Nn to undergo a two-stage logic transition in response to the control signal and the output of inverter INV103, which is downstream of inverter INV102. The resistor circuit includes a clamp circuit and a switch that shorts the clamp circuit. The clamp circuit is generated by the source follower voltage of the transistor. By using the voltage clamping characteristics of the variable resistor R401 to cause a two-stage logic transition of the input voltage of inverter INV103, it is possible to suppress the current consumption due to the through-current of inverter INV103, as well as suppress fluctuations in the power supply voltage VDD and deterioration of EMI characteristics that occur during the logic transition of inverter INV103. Furthermore, this suppresses the current supplied to the oscillator 101, making it possible to expand the excitation level margin.
[0087] At time T5, the system returns to the same state as at time T3. From this point onward, the above operation from time T3 to T5 is repeated, resulting in low power consumption, suppressed EMI, and stable oscillation.
[0088] Note that the clamp circuit of the variable resistor R401 shown in Figure 7 is not limited to a common-drain configuration of the transistor; a similar function may be achieved using a parallel connection of a diode and a transistor, etc.
[0089] Furthermore, the clamp circuit of the variable resistor R401 can be controlled by connecting the gates of the P-type MOS transistor TR403 and the N-type MOS transistor TR404 in common, as shown in Figure 10, to achieve a similar effect.
[0090] Furthermore, the means for transitioning the voltages of nodes Np and Nn in two stages can also be added to the variable resistor R102, which has a resistor or switch between nodes Np and Nn as shown in Figure 1. [Industrial applicability]
[0091] The oscillator circuit disclosed herein achieves good startup characteristics, low current consumption, low EMI, and stable operation of the oscillator, making it useful for extending the battery life of mobile phones and battery-powered devices. [Explanation of Symbols]
[0092] 100 Oscillator Circuit 101 Oscillator C101, C102 load capacity A1 Amplifier Circuit SIG control signal INV101, INV102, INV103 Inverters BUF101 Buffer Circuit R101 Feedback resistor R102 Variable resistor R103 Resistor SW1 Switch TR101, TR103, TR105 P-type MOS transistors TR102, TR104, TR106 N-type MOS transistors INV104 Inverter SW2a, SW2b, SW3a, SW3b switches TR201, TR203, TR301, TR303 P-type MOS transistors TR202, TR204, TR302, TR304 N-type MOS transistors R401 Variable Resistor SW4a, SW4b switches TR401, TR403, TR405, TR501 P-type MOS transistors TR402, TR404, TR406, TR502 N-type MOS transistors BUF401, BUF402 buffer circuits BUF501 Buffer Circuit
Claims
1. A vibrator; an amplifier circuit for amplifying the voltage of the vibrator; An oscillator circuit comprising: The amplifier circuit includes: a first inverter that outputs a first input signal to a first node and a second node; a second inverter that receives signals from the first node and the second node and outputs an output signal to a third node; Equipped with The amplifier circuit further comprises: a variable resistor connected between the first node and the second node and controlled by a control signal; 1. An oscillator circuit comprising:
2. The variable resistor is A first resistor; a switch for shorting the first resistor; 2. The oscillator circuit according to claim 1, further comprising:
3. The variable resistor is The transistors include transistors with different ratios of gate width to gate length.
2. The oscillator circuit according to claim 1 .
4. The resistance value of the variable resistor can be switched in multiple steps.
4. The oscillator circuit according to claim 1, wherein the first and second input terminals are connected to each other.
5. The resistance value of the variable resistor is switched by the control signal between when the oscillation circuit is started and when the oscillation circuit is in a steady state oscillation state.
4. The oscillator circuit according to claim 1, wherein the first and second input terminals are connected to each other.
6. The resistance value of the variable resistor is controlled by the control signal. When the oscillation circuit is started up, the voltage is switched to be lower than that during steady oscillation of the oscillation circuit.
4. The oscillator circuit according to claim 1, wherein the first and second input terminals are connected to each other.
7. Transducer and an amplifier circuit for amplifying the voltage of the vibrator; An oscillator circuit comprising: The amplifier circuit includes: a first inverter that outputs a first input signal to a first node and a second node; a second inverter that receives signals from the first node and the second node and outputs an output signal to a third node; Equipped with The amplifier circuit further comprises: a potential difference generating circuit that generates a potential difference between the first node and the second node, the potential difference being switched by a control signal; 1. An oscillator circuit comprising:
8. The potential difference generating circuit is a variable resistor including a resistor and a switch for shorting the resistor; The switch is switched in response to the control signal.
8. The oscillator circuit according to claim 7.
9. The potential difference generating circuit is The transistors include a plurality of transistors having different ratios of gate width to gate length, The plurality of transistors are switched in response to the control signal.
8. The oscillator circuit according to claim 7.
10. The potential difference generating circuit includes: a resistor circuit including a resistor and / or a transistor; The first inverter includes: A current adjustment circuit capable of setting a plurality of currents is provided, The current adjustment circuit is switched in response to the control signal.
8. The oscillator circuit according to claim 7.
11. Transducer and an amplifier circuit for amplifying the voltage of the vibrator; An oscillator circuit comprising: The amplifier circuit includes: a first inverter that outputs a first input signal to a first node and a second node; a second inverter that receives signals from the first node and the second node and outputs an output signal to a third node; Equipped with The amplifier circuit further comprises: a resistor circuit connected between the first node and the second node, the resistor circuit causing a voltage of the first node or the second node to logically transition in two stages in response to a control signal and an output of an inverter subsequent to the first inverter; 1. An oscillator circuit comprising:
12. The resistor circuit includes: A clamp circuit; a switch for shorting the clamp circuit; 12. The oscillator circuit according to claim 11, comprising:
13. The clamp circuit is generated by the source follower voltage of a transistor.
13. The oscillator circuit according to claim 12.
14. a first inverter that outputs a first input signal to a first node and a second node; a second inverter that receives signals from the first node and the second node and outputs an output signal to a third node; Equipped with Furthermore, A potential difference generating circuit that generates a potential difference between the first node and the second node, the potential difference being switched by a control signal.
1. A buffer circuit comprising:
15. a first inverter that outputs a first input signal to a first node and a second node; a second inverter that receives signals from the first node and the second node and outputs an output signal to a third node; and a resistor circuit connected between the first node and the second node, the resistor circuit causing a voltage of the first node or the second node to logically transition in two stages in response to a control signal and an output of an inverter subsequent to the first inverter; 1. An oscillator circuit comprising:
