Oscillator Circuit
The oscillation circuit addresses duty ratio deviations in RC type oscillation circuits by using multiple signal paths with varying threshold voltages and delays, allowing for simple adjustment and maintaining consistency, thus overcoming manufacturing-induced deviations.
Patent Information
- Application Number
- JP2023576662
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-01-31
- Filing Date
- 2022-11-29
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2042-11-29
AI Technical Summary
Existing RC type oscillation circuits face challenges in adjusting the duty ratio of oscillation signals due to manufacturing variations, which can lead to deviations from the desired 50%:50% ratio, and existing solutions either complicate the circuit configuration or increase power consumption.
The oscillation circuit includes a plurality of signal paths with different inversion threshold voltages and edge propagation delays, allowing for the selection of a path to adjust the duty ratio through a simple configuration without increasing power consumption.
The proposed solution enables precise adjustment of the duty ratio of oscillation signals, maintaining consistency despite manufacturing variations, while keeping the circuit configuration simple and power consumption low.
Smart Images

Figure 0007599588000001 
Figure 0007599588000002 
Figure 0007599588000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an oscillator circuit. [Background technology]
[0002] In recent years, there has been an increasing need for on-chip oscillator circuits that can reduce the board area compared to crystal oscillators in order to reduce costs. Generally, RC oscillator circuits are well known as on-chip oscillator circuits, because they have low phase noise and excellent frequency tunability.
[0003] For example, Non-Patent Document 1 describes a typical circuit configuration of an RC type oscillator circuit. Specifically, the circuit configuration forms a circulation loop in which a feedback path is provided by a feedback resistor and a feedback capacitor for providing a signal delay to multiple inverters. In this circuit configuration, an oscillation signal can be generated by providing a time difference due to the signal delay in the inversion timing of the output signal between the first inverter and the last inverter.
[0004] In an RC type oscillator circuit, the oscillation frequency can be designed by the product of the resistance value (R) of the feedback resistor and the capacitance value (C) of the feedback capacitor, so that it is relatively easy to adjust the frequency of the oscillation signal. For example, JP 2019-12944 A (Patent Document 1) describes a technique for adjusting the oscillation frequency by trimming a resistive element based on the results of monitoring an output signal. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2019-12944 A [Non-patent literature]
[0006] [Non-Patent Document 1] Junsoo Ko and Minjae, "A 1.8 V 18.13 MHz Inverter-Based On-Chip RC Oscillator with Flicker Noise Suppression Using Logic Transition Voltage Feedback", November 15, 2019, MDPI (Multidisciplinary Digital Publishing Institute), Electronics 2019, 8, 1353. Summary of the Invention [Problem to be solved by the invention]
[0007] Typically, an oscillation signal is designed to have a duty ratio, which is the ratio between the logical high level (hereinafter simply referred to as "H level") period and the logical low level (hereinafter simply referred to as "L level") period, of 50(%):50(%). In particular, when an oscillation signal is used as a reference clock for a system, there are many applications in which both the rising edge and the falling edge of the oscillation signal are used to trigger the operation of internal circuits, so the duty ratio needs to be close to 50(%):50(%).
[0008] On the other hand, in an RC oscillator circuit, if the characteristics of the first-stage inverter, typically the inversion threshold voltage, vary due to manufacturing variations (process variations), there is a concern that the duty ratio of the oscillation signal will deviate from 50(%):50(%).
[0009] However, while trimming the resistive element described in Patent Document 1 makes it possible to adjust the oscillation frequency with a simple configuration, it is not possible to adjust the duty ratio.
[0010] Also, Non-Patent Document 1 describes a circuit configuration that automatically feedback controls the back-gate potential of an N-type transistor that constitutes a first-stage inverter in order to control the inversion threshold voltage of the inverter to a constant value. However, there are concerns that the introduction of such feedback control will result in an increase in the scale of the circuit configuration and an increase in power consumption.
[0011] The present disclosure has been made to solve such problems, and an object of the present disclosure is to provide an RC type oscillation circuit capable of adjusting the duty ratio of an oscillation signal with a simple configuration. [Means for solving the problem]
[0012] According to an aspect of the present disclosure, an oscillator circuit is provided. The oscillator circuit includes a plurality of signal paths each configured to pass through a first logic inversion circuit, a selection unit, at least one second logic inversion circuit, a feedback resistor, and a feedback capacitance. The first logic inversion circuits are configured to each pass through a first logic inversion circuit that generates an output signal that is set to a first logic level or a second logic level according to a comparison result between a voltage of an input node and an inversion threshold voltage. The selection unit selects one of the plurality of signal paths and transmits the output signal to a first node. At least one second logic inversion circuit is connected in series between the second node and the first node. The feedback resistor is connected between a third node, which is an input side or an output side of any of the second logic inversion circuits, and the input node. The feedback capacitance is connected between a fourth node and the input node. The fourth node is an input side or an output side of any of the second logic inversion circuits, and is different from the third node. The signal paths are formed such that at least one of an inversion threshold voltage and an edge propagation delay difference of the output signal is different from one another, the edge propagation delay difference being equivalent to a difference between a first delay time occurring during a first transition from a first logic level to a second logic level and a second delay time occurring during a second transition from the second logic level to the first logic level. Effect of the Invention
[0013] According to the present disclosure, even if the characteristics of the first logic inversion circuit vary due to manufacturing variations, the duty ratio of the oscillation signal output from the second logic inversion circuit can be set to a desired value by selecting multiple signal paths, thereby providing an RC type oscillation circuit in which the duty ratio of the oscillation signal can be adjusted with a simple configuration. [Brief description of the drawings]
[0014] [Figure 1] 1 is a block diagram illustrating a basic configuration of an oscillator circuit according to an embodiment of the present invention. [Diagram 2] 1 is a circuit diagram illustrating a configuration example of an oscillator circuit according to a first embodiment. [Diagram 3] FIG. 2 is a circuit diagram illustrating the configuration of each inverter. [Figure 4] FIG. 1 is a circuit diagram of an oscillator circuit according to a comparative example. [Diagram 5] 5 is an operational waveform diagram of the oscillator circuit shown in FIG. 4. [Figure 6] 5 is a table explaining the operation of a resistance control section in the oscillation circuit according to the first embodiment. [Figure 7] 5 is an operational waveform diagram illustrating the relationship between the inversion threshold voltage of the first-stage inverter and the duty ratio of the oscillation signal. FIG. [Figure 8] 4 is a table explaining the operation of a selection unit in the oscillation circuit according to the first embodiment. [Figure 9] 4 is a flowchart of a control process for adjusting a duty ratio in the oscillation circuit according to the first embodiment. [Figure 10] 11 is a circuit diagram illustrating a configuration example of an oscillator circuit according to a second embodiment. FIG. [Figure 11] 11 is a conceptual diagram for explaining the operation of a dummy switch. FIG. [Figure 12] 11 is a circuit diagram illustrating a configuration example of an oscillation circuit according to a first modification of the second embodiment. FIG. [Figure 13] FIG. 13 is an operational waveform diagram illustrating duty adjustment in the oscillation circuit according to the first modification of the second embodiment. [Figure 14]13 is a circuit diagram illustrating a configuration example of an oscillation circuit according to a second modification of the second embodiment. FIG. [Figure 15] FIG. 11 is a circuit diagram illustrating a configuration example of an oscillator circuit according to a third embodiment. [Figure 16] 16 is a circuit diagram illustrating the configuration of each clocked inverter shown in FIG. 15. [Figure 17] FIG. 13 is a circuit diagram illustrating a configuration example of an oscillator circuit according to a modified example of the third embodiment. [Figure 18] 18 is a circuit diagram illustrating a configuration of a clocked inverter shown in FIG. 17. [Figure 19] 13 is a table for explaining an example of setting a control signal for adjusting a duty ratio in an oscillation circuit according to a modification of the third embodiment. [Figure 20] FIG. 11 is a circuit diagram illustrating a configuration example of an oscillation circuit according to a fourth embodiment. [Figure 21] 21 is an operational waveform diagram of the oscillator circuit shown in FIG. 20. [Figure 22] 13 is a circuit diagram illustrating a configuration example of an oscillator circuit according to a first modification of the fourth embodiment. FIG. [Diagram 23] 13 is a circuit diagram illustrating a configuration example of an oscillator circuit according to a second modification of the fourth embodiment. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In the following, the same or corresponding parts in the drawings are denoted by the same reference characters, and their description will not be repeated in principle.
[0016] Embodiment 1 FIG. 1 is a block diagram illustrating a basic configuration of an oscillator circuit 100 according to the present embodiment.
[0017] 1, an oscillator circuit 100 includes a first logic circuit 10, a selection section 20, a second logic circuit 30, a feedback resistor 40, a resistance control section 45, a feedback capacitance 50, and a control circuit 90. The first logic circuit 100 includes a first selector section 20, a second logic circuit 30, a feedback resistor 40, a resistance control section 45, a feedback capacitance 50, and a control circuit 90.
[0018] The first logic circuit 10 is composed of one logic inversion circuit (typically, an inverter) and generates an output voltage corresponding to the inverted logic of the voltage of the input node Na. The second logic circuit 30 is composed of at least one logic inversion circuit (typically, an inverter) connected in series between the nodes Nb and Nd. As a result, the second logic circuit 30 generates, as the oscillation signal Vosc, a pulse signal with a logic level in phase or inverse phase with the voltage of the node Nb.
[0019] In this embodiment, an example in which each logic inversion circuit is composed of an inverter will be described, so the logic inversion circuit is also simply referred to as an inverter, and in particular, the inverter constituting the first logic circuit 10 is also referred to as a first-stage inverter.
[0020] In this embodiment, a plurality of signal paths IPT including a first logic circuit 10 are provided in parallel between an input node Na and a node Nb. Hereinafter, the signal paths are also referred to as "initial stage inverter paths IPT." In Fig. 1, M (M: an integer of 2 or more) initial stage inverter paths IPT1 to IPTM are provided in parallel.
[0021] As will become clear from the following description, the initial-stage inverter paths IPT1 to IPTM may be constructed by arranging in parallel signal paths including initial-stage inverters each having a different inversion threshold voltage, or may be constructed by branching the output of a common initial-stage inverter.
[0022] As described later, the first-stage inverter paths IPT are configured such that at least one of the inversion threshold voltages of the first-stage inverters included in the paths and the edge propagation delay characteristics of the output signals of the first-stage inverters are different from each other. The edge propagation delay characteristics will be described in detail in a modification of the second embodiment.
[0023] The selection unit 20 selects one of the initial-stage inverter paths IPT1-IPTM in accordance with the control signal CNT1, and transmits an output signal of the initial-stage inverter to the node Nb. As a result, a multi-stage inverter consisting of one inverter included in the selected initial-stage inverter path and at least one inverter included in the second logic circuit 30 is connected in series.
[0024] The feedback resistor 40 and the feedback capacitor 50 are connected between the second logic circuit 30 and the input node Na so as to form signal feedback paths from the multiple inverter stages, respectively. This forms a circulation loop of a pulse signal from the multiple inverter stages accompanied by a signal delay due to the feedback resistor 40 (resistance value Roc) and the feedback capacitor 50 (capacity value Coc), thereby forming an RC type oscillation circuit.
[0025] Since the frequency (oscillation frequency) of the oscillation signal Vosc changes depending on the product (RC time constant) of the capacitance value Coc of the feedback capacitance 50 and the resistance value Roc of the feedback resistor 40, in the oscillation circuit 100, the oscillation frequency can be adjusted by variably controlling the resistance value Roc based on the control signal CNT2.
[0026] Furthermore, as will be described in detail later, the oscillation circuit 100 can adjust the duty ratio of the oscillation signal by selecting and controlling the first-stage inverter paths IPT1-IPTM based on the control signal CNT1. The control circuit 90 generates the control signals CNT1 and CNT2 according to an instruction from outside the oscillation circuit 100 or according to the actual values of the frequency and duty ratio of the oscillation signal Vosc. Note that the actual values of the frequency and duty ratio of the oscillation signal Vosc may be provided by a measurement result from outside the oscillation circuit 100. Furthermore, the function of the control circuit 90 may be provided outside the oscillation circuit 100. That is, the control signals CNT1 and CNT2 may be generated outside the oscillation circuit 100 and input to the selection unit 20 and the resistance control unit 45.
[0027] Next, a specific configuration example of the oscillator circuit according to the first embodiment will be described. FIG. 2 shows a circuit diagram illustrating a configuration example of an oscillator circuit 100a according to the first embodiment.
[0028] 2, in the oscillation circuit 100a, M in FIG. 1 is 3, and the first logic circuit 10 has inverters INV11-INV13 connected in parallel to the input node Na. Also, the second logic circuit 30 has two inverters INV2 and INV3 connected in series. Each of the inverters INV11-INV13 corresponds to an embodiment of the "first logic inversion circuit", and each of the inverters INV2 and INV3 corresponds to an embodiment of the "second logic inversion circuit". Also, the initial stage inverter paths IPT1-IPT3 correspond to an embodiment of the "plurality of signal paths".
[0029] Fig. 3 is a circuit diagram for explaining the configuration of each inverter. Fig. 3 shows the circuit configuration of an inverter INV, which collectively refers to inverters INV11 to INV13, INV2, and INV3 shown as representative examples of logic inversion circuits that configure the first logic circuit 10 and the second logic circuit 30.
[0030] 3, the inverter INV has a P-type transistor MP0 and an N-type transistor MN0 connected in series between a power supply line PL and a ground line NL. The power supply line PL supplies a power supply voltage VDD corresponding to an H level, and the ground line NL supplies a ground voltage GND corresponding to an L level. In this embodiment, each transistor may be configured by a field effect transistor, for example, a MOS (Metal Oxide Semiconductor) transistor.
[0031] The P-type transistor MP0 has a gate width Wp and a gate length Lp, and the N-type transistor MN0 has a gate width Wn and a gate length Ln. The gates of the P-type transistor MP0 and the N-type transistor MN0 have parasitic capacitances Cpp and Cpn, which include gate capacitance and wiring capacitance, respectively, so that the gate voltage changes with the charging and discharging of the parasitic capacitances Cpp and Cpn.
[0032] A common input voltage Vin is applied to the gates of P-type transistor MP0 and N-type transistor MN0. For example, in the first-stage inverter, the gates of P-type transistor MP0 and N-type transistor MN0 are commonly connected to input node Na.
[0033] An output voltage Vout is generated at output node No corresponding to the connection point between the drains of P-type transistor MP0 and N-type transistor MN0. Inverter INV inverts the logic level of input voltage Vin with respect to the inversion threshold voltage Vinv to set output voltage Vout. Specifically, when Vin < Vinv, Vout is set to the H level by turning on P-type transistor MP0, while when Vin ≥ Vinv, Vout is set to the L level by turning on N-type transistor MN0.
[0034] In this embodiment, the L level and the ground voltage GND are an example of the "first logic level" and the "first voltage", and the H level and the power supply voltage VDD are an example of the "second logic level" and the "second voltage". Therefore, ground line NL corresponds to an example of the "first wiring", and power supply line PL corresponds to an example of the "second wiring". Also, in inverter INV, P-type transistor MP0 corresponds to a "P-type field-effect transistor", and N-type transistor MN0 corresponds to an "N-type field-effect transistor".
[0035] Here, when further using the threshold voltage Vtn and mobility μn of N-type transistor MN0 and the threshold voltage Vtp and mobility μp of P-type transistor MP0, it is known that the inversion threshold voltage Vinv of inverter INV is generally represented by the following formulas (1) and (2).
[0036] Vinv = (VDD - Vtp + Vtn·K) / (1 + K) …(1) K = √(Kn / Kp) …(2) However, in formula (2), Kn = μn·(Wn / Ln) and Kp = μp·(Wp / Lp).
[0037] Therefore, it is understood that the inversion threshold voltage Vinv of the inverter INV can be made to have different values by changing the ratio of the transistor size (Wp / Lp) of the P-type transistor MP0 and the transistor size (Wn / Ln) of the N-type transistor MN0. That is, the inverters INV11 to INV13 in Fig. 2 are designed to have different values of the ratio of the above-mentioned transistor sizes (Wn / Ln) and (Wp / Lp), and as a result, the parameter value K in equation (2) is different from one another. As a result, the inverters INV11 to INV13 are configured to have different inversion threshold voltages Vinv from one another.
[0038] In this specification, each logic inversion circuit constituting the first logic circuit 10 and the second logic circuit 30 is described as an inverter. However, as long as the logic inversion operation between the input voltage Vin and the output voltage Vout can be realized like the inverter INV shown in FIG. 3, it is also possible to configure the first logic circuit 10 and the second logic circuit 30 using, for example, a NAND gate or a NOR gate whose voltage of some input terminals is fixed, other than the inverter INV shown in FIG. 3. When a NAND gate or a NOR gate is used, it is also possible to input an enable signal to the above-mentioned part of the input terminal to which the input voltage Vin is not input. Here, the enable signal is a signal that controls the activation and deactivation of a certain function, and when the enable signal is off, the function is stopped. For the oscillation circuit 100a, when the enable signal is off, the output of the inverter is fixed to the L level or the H level, so that the oscillation is stopped and the oscillation signal Vosc is also fixed to a certain logic level.
[0039] 2 again, the input voltage Vin (FIG. 2) of the inverters INV11 to INV13 is common and is the voltage VA of the input node Na. The inverters INV11 to INV13 have different inversion threshold voltages Vinv, and their output voltages Vout (FIG. 2) are represented by voltages V1 to V3.
[0040] 2 again, the selection unit 20 has switch circuits ISW1-ISW3 arranged in series with inverters INV11-INV13, respectively, between an input node Na and a node Nb corresponding to the input node of the inverter INV2. Each of the switch circuits ISW1-ISW3 can be configured by a transfer gate using at least one of a P-type transistor and an N-type transistor.
[0041] As a result, three (M=3) initial-stage inverter paths IPT1-IPT3 are connected in parallel between the input node Na and the node Nb. In Fig. 2, the initial-stage inverter paths IPT1-IPT3 are configured to include inverters INV11-INV13 having different inversion threshold voltages, respectively.
[0042] For example, the switch circuit ISW1 can be configured by connecting in parallel an N-type transistor MN4 whose gate receives the control signal VISW1, and a P-type transistor MP4 whose gate receives the control signal VISW1B (an inverted signal of VISW1). Setting VISW1=H level (VISW1B=L level) turns the switch circuit ISW1 on. Conversely, setting VISW1=L level (VISW1B=H level) turns the switch circuit ISW1 off.
[0043] Similarly, the switch circuit ISW2 is configured by a parallel connection of an N-type transistor MN5 whose gate receives the control signal VISW2 and a P-type transistor MP5 whose gate receives the control signal VISW2B (the inverted signal of VISW2). The switch circuit ISW3 is configured by a parallel connection of an N-type transistor MN6 whose gate receives the control signal VISW3 and a P-type transistor MP6 whose gate receives the control signal VISW3B (the inverted signal of VISW3).
[0044] The switch circuits ISW2 and ISW3 are also on / off controlled by control signals VISW2 (VISW2B) and VISW3 (VISW3B), respectively. The control signals VISW1 to VISW3 (VISW1B to VISW3B) shown in FIG 2 constitute the control signal CNT1 of the selection unit 20 shown in FIG 1.
[0045] The selection unit 20 is controlled by a control signal CNT1 to selectively turn on one of the switch circuits ISW1-ISW3 while turning off the remaining two. As a result, one of the multiple first-stage inverter paths IPT1-IPT3 is selected, and one of the output voltages V1-V3 of the inverters INV11-INV13, which have different inversion threshold voltages, is selectively transmitted to the node Nb with respect to the common input voltage VA. The voltage VB of the node Nb becomes the input voltage Vin (FIG. 3) of the inverter INV2.
[0046] The inverters INV2 and INV3 are connected in series between the nodes Nb and Nd via the node Nc. The inverter INV2 generates a voltage VC at the node Nc, which is an inversion of the logical level of the voltage VB at the node Nb, with the inversion threshold voltage of the inverter INV2 as a reference. The inverter INV3 generates a voltage at the node Nd, which is an inversion of the logical level of the voltage VC at the node Nc, with the inversion threshold voltage of the inverter INV3 as a reference, as an oscillation signal Vosc.
[0047] The feedback capacitance 50 includes a capacitor C1 (capacitance value Coc) connected between the node Nc and the input node Na. The feedback resistor 40 includes I resistance elements (I: natural number) connected between the node Nd and the input node Na. In the example of FIG. 2, I=3, and the feedback resistor 40 has resistance elements R1 to R3 connected in series. Hereinafter, the resistance values of the resistance elements R1 to R3 will also be represented as R1 to R3, respectively. The resistance value Roc of the feedback resistor 40 is variably controlled by a resistance control unit 45.
[0048] The resistance control unit 45 has transistor switches MN1 to MN3 connected in parallel to I (I=3) resistance elements R1 to R3, respectively. Control signals VRSW1 to VRSW3 constituting the control signal CNT2 in FIG. 1 are input to the gates of the transistor switches MN1 to MN3, respectively.
[0049] When the transistor switches MN1 to MN3 are on, they each form a bypass path for the parallel-connected resistor elements R1 to R3. Therefore, when all of the transistor switches MN1 to MN3 are turned off, the resistance value Roc of the feedback resistor 40 becomes R1+R2+R3, whereas when any of the transistor switches MN1 to MN3 is turned on, the resistance value Roc decreases from R1+R2+R3.
[0050] In this way, the control signals VRSW1 to VRSW3 are used to control the on / off of the transistor switches MN1 to MN3, thereby making it possible to variably control the resistance value Roc of the feedback resistor 40. For example, when R1=Ru, R2=2·Ru, and R3=4·Ru are set according to the factorial of 2, the resistance value Roc of the feedback resistor 40 can be variably controlled by the 3-bit control signals VRSW1 to VRSW3. 3 =Can be variably controlled in 8 steps.
[0051] Next, the operation of the oscillator circuit will be described in detail. FIG. 4 is a circuit diagram of an oscillator circuit 100# according to a comparative example.
[0052] The oscillator circuit 100# shown in Fig. 4 has a circuit configuration in which the selection unit 20 is omitted, the first logic circuit 10 is composed of a single inverter INV1, and the inversion threshold voltage Vinv of the first-stage inverter is fixed in the oscillator circuit 100#. In other words, the oscillator circuit 100a according to the first embodiment has a configuration in which the inversion threshold voltage Vinv of the first-stage inverter INV1 is switchable in M stages in the oscillator circuit 100#.
[0053] In the oscillation circuit 100#, a feedback capacitance 50 is connected between a node Nc and an input node Na, and a feedback resistor 40 is connected between a node Nd and an input node Na, similarly to the oscillation circuit 100a, for a multi-stage inverter consisting of a plurality of inverters INV1 to INV3 connected in series. That is, the feedback capacitance 50 is connected between two nodes between which an even number of inverters (logic inversion circuits) are connected in series, and the feedback resistor 40 is connected between two nodes between which an odd number of inverters (logic inversion circuits) are connected in series. In the oscillation circuit 100#, both the capacitance value Coc of the feedback capacitance 50 and the resistance value Roc of the feedback resistor 40 are fixed values.
[0054] Fig. 5 is an operation waveform diagram of the oscillation circuit 100# shown in Fig. 4. Fig. 5 shows waveforms of the voltage VA of the input node Na, that is, the input voltage VA of the first-stage inverter (INV1), and the oscillation signal Vosc generated at the node Nd, that is, the output voltage of the final-stage inverter (INV3).
[0055] As shown in FIG. 5, at time ta, the oscillation signal Vosc, which is the output voltage, is at H level, so the input voltage VA rises toward the power supply voltage VDD with a delay due to the RC time constant (Roc·Coc), which is expressed by the product of the resistance value Roc of the feedback resistor 40 and the capacitance value Coc of the feedback capacitor 50.
[0056] At time tb, when the input voltage VA reaches the inversion threshold voltage Vinv of the inverter INV1, the output of the inverter INV1 (voltage VB) changes from H level to L level, and accordingly the oscillation signal Vosc, which is the output of the inverter INV13, changes from H level (VDD) to L level (GND). At this time, the voltage VC of the node Nc to which the feedback capacitance 50 is connected changes from L level (GND) to H level (VDD), so that the input voltage VA rises from the inversion threshold voltage Vinv to VDD due to capacitive coupling. As a result, at time tb, VA=Vinv+VDD.
[0057] After time tb, the oscillation signal Vosc is at L level, so the voltage VA drops toward GND with a delay due to the RC time constant (Roc·Coc). Then, at time tc, when the input voltage VA drops to the inversion threshold voltage Vinv, the output of the inverter INV13, the oscillation signal Vosc, changes from L level (GND) to H level (VDD), in response to the output of the inverter INV1 (voltage VB) changing from L level to H level. At this time, the voltage VC changes from H level (VDD) to L level (GND), so the input voltage VA drops from the inversion threshold voltage Vinv to VDD due to capacitive coupling. As a result, at time tb, VA = Vinv - VDD.
[0058] After time tc, as at time ta, the input voltage VA rises with a delay due to the RC time constant (Roc·Coc), and at time td when the input voltage VA rises to the inversion threshold voltage Vinv, the input voltage VA and the oscillation signal Vosc experience a voltage change similar to that at time tb. The behavior of the input voltage VA and the oscillation signal Vosc between times td and te is the same as between times tb and tc, and the behavior of the input voltage VA and the oscillation signal Vosc after time te is the same as after time tc. Oscillation occurs due to such periodic voltage changes in multiple inverter stages, generating an oscillation signal Vosc that periodically transitions between H level and L level.
[0059] Assuming that the length of the H level period of the oscillation signal Vosc is T1 and the length of the L level period is T2, as shown in Non-Patent Document 1, the oscillation period Tosc, which is the period length of the oscillation signal Vosc, is expressed by the following formula (3). Note that in formula (3), RC=Roc·Coc. Also, VX and VY in formula (3) are expressed by formulas (4) and (5), respectively.
[0060] Tosc=T1+T2=RC·(ln(VX)+ln(VY)) …(3) VX = (VDD + Vinv) / Vinv … (4) VY=(Vinv-2·VDD) / (Vinv-VDD) …(5) As can be seen from equations (3) to (5), the oscillation period Tosc, which is the reciprocal of the oscillation frequency f osc, is determined depending on the power supply voltage VDD, the inversion threshold voltage Vinv of the first-stage inverter, and the time constant RC. Since the on-chip resistance and capacitance values include process variations and temperature-dependent fluctuations, there is a risk that the oscillation frequency will deviate from the desired value if the RC time constant deviates from the design value.
[0061] 2, the resistance value Roc of the feedback resistor 40 can be variably adjusted by the control signal CNT2 (VRSW1 to VRSW3) to the resistance control unit 45. This makes it possible to maintain the oscillation period Tosc at a desired value by changing RC=Roc·Coc in equation (3).
[0062] Fig. 6 is a table for explaining the operation of the resistance control section 45 in the oscillator circuit 100a according to the embodiment 1. Fig. 6 shows the operation of the resistance control section 45 when I=3, as exemplified in Fig. 2.
[0063] As shown in FIG. 6, the resistance value Roc of the feedback resistor 40 can be adjusted in eight steps from 0 to 7·Ru by combining the control signals VRSW1 to VRSW3 with "0" (L level) and "1" (H level).
[0064] For example, when Roc=4·Ru is used as a reference value and each circuit constant is initially set so that the oscillation frequency becomes a desired value, the oscillation frequency can be adjusted by operating the oscillation circuit 100a in a state of (VRSW1, VRSW2, VRSW3)=(0,0,1) and setting the control signals VRSW1 to VRSW3 according to the results of monitoring the oscillation period Tosc.
[0065] Specifically, when the monitored oscillation period Tosc is longer than the design value, i.e., when the oscillation frequency fosc is lower than the desired value, the oscillation frequency fosc can be increased by determining the control signals VRSW1 to VRSW3 so that the resistance value Roc of the feedback resistor 40 decreases from 4·Ru.
[0066] Conversely, if the monitored oscillation period Tosc is shorter than the design value, i.e., if the oscillation frequency fosc is higher than the desired value, the oscillation frequency fosc can be lowered by determining the control signals VRSW1 to VRSW3 so that the resistance value Roc of the feedback resistor 40 increases from 4·Ru.
[0067] 2, an example in which I=3 has been described, but the value of I is arbitrary. Similarly, by setting the resistance values of the I resistor elements constituting the feedback resistor 40 in accordance with a factorial of 2, the resistance value Roc can be set to 2 by the I-bit control signal. I It can be variably controlled in stages.
[0068] Next, a description will be given of the fluctuation in the duty ratio of the oscillation signal Vosc due to the influence of the inversion threshold voltage Vinv of the first-stage inverter. As will be described below, the fluctuation in the duty ratio cannot be accommodated by adjusting the resistance value Roc of the feedback resistor 40.
[0069] If the inversion threshold voltage of the first inverter is Vinv=VDD / 2, then in the above equations (4) and (5), VX=(VDD+Vinv) / Vinv=3, VY=(Vinv-2·VDD)·(Vinv-VDD)=3. Therefore, in equation (3), ln(VX)=ln(VY) holds between ln(VX), which corresponds to T1 / RC, and ln(VY), which corresponds to T2 / RC. Also, Tosc=RC·2ln(3)≒2.2RC.
[0070] Therefore, if the inversion threshold voltage Vinv=VDD / 2, then as shown in FIG. 5, T1=T2, that is, the duty ratio of the oscillation signal Vosc is 50(%):50(%).
[0071] For example, when VDD=1.8(V), Vtp=0.7(V), and Vtn=0.7(V), if K=1 in equation (1), then Vinv=VDD / 2=0.9(V). To achieve K=1, the ratio of (Wp / Lp) and (Wn / Ln) between the P-type and N-type transistors that make up the first-stage inverter should be set according to the inverse ratio of the mobilities μp and μn, as shown in equation (2). Assuming μn=2μp, K=1 can be achieved by setting (Wp / Lp)=2·(Wn / Ln).
[0072] In this embodiment, a design example of the transistor size is explained below as appropriate, with (μn / μp)=2 fixed, but the actual value of (μn / μp) may vary depending on the process parameters. Therefore, by replacing the ratio of μp and μn in the explanation of this embodiment with the value in the actual process, it is possible to configure the oscillator circuit according to this embodiment in accordance with any process parameters.
[0073] If Vinv=VDD / 2, the duty ratio of the oscillation signal Vosc can be set to an ideal state, that is, 50(%):50(%), as shown in Figure 5. If the inversion threshold voltage Vinv deviates from VDD / 2 from this state, a time difference occurs between T1 and T2, and the duty ratio deviates from 50(%):50(%).
[0074] FIG. 7 shows an operation waveform diagram of oscillator circuit 100# when Vinv=VDD / 3, as an operation waveform diagram for explaining the relationship between the inversion threshold voltage of the first-stage inverter and the duty ratio of the oscillation signal.
[0075] When Vinv=VDD / 3, in the above formulas (4) and (5), VX=(VDD+Vinv) / Vinv=4, VY=(Vinv-2·VDD)·(Vinv-VDD)=2.5. Therefore, in formula (3), ln(VX) corresponding to T1 / RC and ln(VY) corresponding to T2 / RC are ln(VX)=ln(4) and ln(VY)=ln(2.5). Also, Tosc=RC·(ln(4)+ln(2.5))≒2.302RC.
[0076] Moreover, the ratio of T1 to T2 is ln(4):ln(2.5) ≈ 1.386:0.916. At this time, as shown in Fig. 7, the duty ratio of the oscillation signal Vosc is about 60(%):40(%), which deviates from 50(%):50(%). For example, in a system that uses the oscillation signal Vosc as a clock signal, in an application in which circuits are operated using both the rising edge and the falling edge of the clock signal as triggers, the deviation in the duty ratio may cause malfunctions in the circuit operation.
[0077] In response to this, in the oscillator circuit 100a of embodiment 1, by selecting M initial-stage inverter paths IPT, one of the inverters INV11 to INV13 having different inversion threshold voltages Vinv is set as the initial-stage inverter, thereby adjusting the duty ratio through the inversion threshold voltage Vinv.
[0078] For example, when M=3, inverters INV11-INV13 can be provided that are designed with parameter value K in equation (2) set to K=1, √8, √(1 / 8), respectively. This makes it possible to adjust the inversion threshold voltage Vinv of the first-stage inverter to near VDD / 2 even if the threshold voltages Vtp, Vtn of the P-type and M-type transistors constituting the first-stage inverter vary within a range of 0.6(V) to 0.8(V) due to process variations with respect to the above-mentioned design value of 0.7(V).
[0079] First, when process variations of Vtp=0.8(V) and Vtn=0.6(V) occur, when K=1 in the above formula (1), Vinv=0.8(V)≈0.444VDD. As a result, there is a concern that a deviation in the duty ratio will occur in a manner such that T1 is longer than T2, as in FIG. 7. Specifically, when Vinv=0.444VDD is substituted into formulas (3) to (5), T1:T2=53.4(%):46.6(%) is obtained. That is, the duty ratio of the L level period increases.
[0080] On the other hand, the ratios of (Wp / Lp) and (Wn / Ln) in the P-type and N-type transistors of the first-stage inverter can be designed to be K = √(1 / 8) in equation (2). This makes it possible to make Vinv ≒ 0.9 (V) = VDD / 2 for VDD = 1.8 (V) even when Vtp = 0.8 (V) and Vtn = 0.6 (V) in equation (1).
[0081] On the other hand, if process variations of Vtp=0.6(V) and Vtn=0.8(V) occur, when K=1 in the above formula (1), Vinv=1.0(V)≒0.556VDD. This raises concerns that a deviation in the duty ratio will occur in a manner such that T2 is longer than T1, contrary to FIG. 7. Specifically, substituting Vinv=0.556VDD into formulas (3) to (5) gives T1:T2=46.6(%):53.4(%). That is, the duty ratio during the L level period decreases.
[0082] In contrast, if the ratios of (Wp / Lp) and (Wn / Ln) in the P-type and N-type transistors of the first-stage inverter are K=√8 in equation (2), then even when Vtp=0.6(V) and Vtn=0.8(V) in equation (1), Vinv≒0.9(V)=VDD / 2 for VDD=1.8(V).
[0083] As an example, the inverters INV11 to INV13 of the first logic circuit 10 can be designed in a lower order so that K=1, K=√8, and K=√(1 / 8).
[0084] For the reference inverter INV11, a first-stage inverter that satisfies K=1 in equation (2) can be configured by setting Wn / Ln=Wmin / Lmin and Wp / Lp=2×Wmin / Lmin.
[0085] For the inverter INV12, by setting Wn / Ln=Wmin / Lmin and Wp / Lp=16×Wmin / Lmin, a first-stage inverter with K=√(1 / 8) can be configured in equation (2). Furthermore, for the inverter INV13, by setting Wn / Ln=4×Wmin / Lmin and Wp / Lp=Wmin / Lmin, a first-stage inverter with K=√8 can be configured in equation (2).
[0086] As shown in Fig. 8, the selection unit 20 selects patterns PT1-PT3 in which the first-stage inverter paths IPT1-IPT3 are different in accordance with the control signals VISW1-VISW3 shown in Fig. 2. This makes it possible to selectively set inverters INV11-INV13 having different inversion threshold voltages Vinv corresponding to the parameter values K=1, √(1 / 8), √8 as first-stage inverters.
[0087] Specifically, in pattern PT1, (VISW1, VISW2, VISW3)=(1,0,0) allows inverter INV11 with K=1 to be used as the first-stage inverter. In contrast, in pattern PT2, (VISW1, VISW2, VISW3)=(0,1,0) allows inverter INV12 with K=√(1 / 8) to be used as the first-stage inverter. By applying pattern PT2, the ratio of the H-level period can be reduced compared to pattern PT1.
[0088] In pattern PT3, (VISW1, VISW2, VISW3)=(0,0,1) is used as the first-stage inverter, and inverter INV13 with K=√8 is used as the first-stage inverter. By applying pattern PT3, it is possible to increase the ratio of the H-level period compared to pattern PT1.
[0089] FIG. 9 shows a flowchart of a control process for adjusting the duty ratio in the oscillation circuit according to the first embodiment.
[0090] 9, the control circuit 90, in step (hereinafter simply referred to as "S") S110, acquires the duty ratio DT1 of the oscillation signal Vosc when the oscillation circuit 100a is operated with the pattern PT1 in Fig. 8. The duty ratio DT1 indicates the ratio of the L level period to the oscillation cycle, that is, T1 / (T1+T2).
[0091] As described above, the duty ratio DT1 may be measured by the control circuit 90 or by monitoring the oscillation signal Vosc outside the oscillation circuit 100a. In this case, the measured value of the duty ratio DT1 obtained outside the oscillation circuit 100a is input to the control circuit 90.
[0092] In S120, the control circuit 90 determines whether the duty ratio DT1 acquired in S110 is within a reference range including 50(%). The reference range can be set to, for example, 50±DTr(%). In the above example assuming a fluctuation in the range of 46.6(%) to 53.4(%), it can be set to about DTr=2(%).
[0093] When the duty ratio DT1 is within the reference range (NO in S120), the control circuit 90 advances the process to S140 and applies the pattern PT1 to operate the oscillation circuit 100a.
[0094] On the other hand, when the duty ratio DT1 is outside the reference range (YES in S120), the control circuit 90 determines in S130 whether or not the duty ratio DT1 is smaller than 50(%).
[0095] If DT1>50(%) (YES in S130), the control circuit 90 advances the process to S150. In S150, in order to reduce the duty ratio, the oscillation circuit 100a operates by applying pattern PT2 in which the parameter value K of the first-stage inverter is smaller than that of pattern PT1 (K=1).
[0096] Conversely, when DT1<50(%) (NO in S130), the control circuit 90 advances the process to S160. In S150, in order to increase the duty ratio, the oscillation circuit 100a operates by applying pattern PT3 in which the parameter value K of the first-stage inverter is made larger than that of pattern PT1 (K=1).
[0097] In this manner, in the oscillator circuit 100a according to the first embodiment, the duty ratio of the oscillation signal of the RC type oscillator circuit can be adjusted with a simple configuration by configuring the first-stage inverter by selecting multiple inverters having different inversion threshold voltages Vinv.
[0098] In the first embodiment, the inversion threshold voltage Vinv is made different through the parameter value K by designing the transistor sizes (Wp / Lp) and (Wn / Ln) of the P-type and N-type transistors that configure the inverters INV11 to INV13.
[0099] For this reason, in FIG. 2, it is preferable that the transistor sizes of the N-type transistors MN4-MN6 and the P-type transistors MP4-MP6 constituting the switch circuits ISW1-ISW3 respectively connected in series with the inverters INV11-INV13 are also designed in coordination with the inverters INV11-INV13.
[0100] Here, for each of the inverters INV11 to INV13, the reciprocal (Kp / Kn) of (Kn / Kp) shown in equation (2) is defined as the inverter size Kinv. The ratio of the inverter sizes Kinv among the inverters INV11, INV12, and INV13 is 1:8:(1 / 8).
[0101] In each of the switch circuits ISW1 to ISW3, the ratio of the transistor size (Wn / Ln) of the N-type transistors (MN4 to MN6) to the transistor size (Wp / Lp) of the P-type transistors (MP4 to MP6) is designed to be equal. For example, according to the inverse ratio of the mobilities μp and μn described in formula (2), it can be set to (Wp / Lp)=2×(Wn / Ln).
[0102] On the other hand, the ratio of transistor sizes among the switch circuits ISW1 to ISW3 is preferably 1:8:(1 / 8), which is equivalent to the inverter size Kinv of the inverters INV11 to INV13 connected in series.
[0103] For example, in the switch circuit ISW3 connected in series with the inverter INV13, the transistor size of MN6 can be set to Wmin / Lmin (=Wnmin / Lmin), while the transistor size of MP6 can be set to 2×Wmin / Lmin (=Wpmin / Lmin), i.e., Wpmin=2×Wmin.
[0104] On the other hand, in the switch circuit ISW1 connected in series with the inverter INV11, the transistor size of MN4 is set to 8×Wmin / Lmin (=8×Wnmin / Lmin) while the transistor size of MP4 is set to 16×Wmin / Lmin (=8×Wpmin / Lmin), thereby making it possible to align the transistor size ratio between the switch circuits ISW1 and ISW3 to 1:(1 / 8)=8:1, which is the inverter size ratio between the inverters INV11 and INV13.
[0105] Furthermore, in the switch circuit ISW2 connected in series with the inverter INV12, the transistor size of MN5 is set to 64×Wmin / Lmin (=64×Wnmin / Lmin) while the transistor size of MP5 is set to 128×Wmin / Lmin (=64×Wpmin / Lmin), thereby making it possible to align the transistor size ratio between the switch circuits ISW1 and ISW2 with the inverter size ratio of the inverters INV11 and INV12, which is 1:8.
[0106] Also, for the inverters INV2 and INV3 constituting the second logic circuit 30, the ratio between the transistor size (Wp / Lp) of the P-type transistor MP0 (FIG. 3) and the transistor size (Wn / Ln) of the N-type transistor MN0 (FIG. 3) is set according to the inverse ratio of the mobilities μp and μn described above. In the inverter INV2, it is preferable to design the transistor sizes of the P-type transistor MP0 and the N-type transistor MN0 so that the inverter INV2 has a larger driving force than the inverters INV11 to INV13 constituting the first logic circuit 10.
[0107] Furthermore, since the inverter INV3 needs to generate the oscillation signal Vosc using the feedback resistor 40, the feedback capacitor 50, and the supply destination of the oscillation signal Vosc as loads, it is necessary to design the transistor sizes of the P-type transistor MP0 and the N-type transistor MN0 so that the inverter INV3 has even greater driving force than the inverter INV2.
[0108] Embodiment 2 FIG. 10 is a circuit diagram illustrating a configuration example of an oscillator circuit 100b according to the second embodiment.
[0109] As shown in FIG. 10, the oscillator circuit 100b differs from the oscillator circuit 100a according to the first embodiment (FIG. 2) in that it further includes a delay adjustment circuit 25.
[0110] The delay adjustment circuit 25 includes dummy switch circuits DSW1-DSW3 connected in series with the switch circuits ISW1-ISW3 constituting the selection unit 20 in each of the first-stage inverter paths IPT1-IPT3. Each of the dummy switch circuits DSW11-DSW13 has a P-type transistor and an N-type transistor connected in parallel. The source and drain of each of the P-type transistor and the N-type transistor are connected. The dummy switch circuits DSW11-DSW13 are arranged to add an adjustment capacitance for signal delay to each of the first-stage inverter paths IPT1-IPT3.
[0111] The dummy switch circuit DSW1 has an N-type transistor MN4D and a P-type transistor MP4D connected in parallel. A control signal VISW1B common to the P-type transistor MP4 of the switch circuit ISW1 connected in series with the dummy switch circuit DSW1 is input to the gate of the N-type transistor MN4D. Similarly, a control signal VISW1 common to the N-type transistor MN4 of the switch circuit ISW1 is input to the gate of the P-type transistor MP4D. That is, in the dummy switch circuit DSW1, the control signals VISW1 and VISW1B common to the switch circuit ISW1 are input to the gate of a transistor of the opposite conductivity type to that of the switch circuit ISW1. As a result, the dummy switch circuit DSW1 performs on-off operations complementary to the switch circuit ISW1.
[0112] Similarly, the dummy switch circuit DSW2, which is connected in series with the switch circuit ISW2, has an N-type transistor MN5D and a P-type transistor MP5D connected in parallel. Control signals VISW2 and VISW2B, which are common to the switch circuit ISW2, are input to the gates of the N-type transistor MN5D and the P-type transistor MP5D, respectively, of the transistors of the opposite conductivity type to that of the switch circuit ISW2. That is, the dummy switch circuit DSW2 performs on-off operations complementary to the switch circuit ISW2.
[0113] The dummy switch circuit DSW3, which is connected in series with the switch circuit ISW3, has an N-type transistor MN6D and a P-type transistor MP6D connected in parallel. The control signals VISW3 and VISW3B, which are common to the switch circuit ISW3, are input to the gates of the N-type transistor MN6D and the P-type transistor MP6D, respectively, of the transistors of the opposite conductivity type to that of the switch circuit ISW3. That is, the dummy switch circuit DSW3 performs on-off operations complementary to the switch circuit ISW3.
[0114] Therefore, in each of the dummy switch circuits DSW1 to DSW3, when the series-connected switches (ISW1 to ISW3) are on, an L level (GND) is input to the gate of the N-type transistor MND (collectively referring to MN4D to MN6D), while an H level (VDD) is input to the gate of the P-type transistor MPD (collectively referring to MP4D to MP6D).
[0115] FIG. 11 is a conceptual diagram for explaining the operation of the dummy switch. The dummy switch circuit DSW shown in FIG. 11 collectively denotes the dummy switch circuits DSW1 to DSW3 shown in FIG. 10, and has an N-type transistor MND and a P-type transistor MPD connected in parallel.
[0116] Here, consider the operation of the dummy switch circuit DSW when an L level (GND) is input to the gate of the N-type transistor MND and an H level (VDD) is input to the gate of the P-type transistor MPD, and a pulse signal Spl is input to the left side of the figure, i.e., to the drain of the N-type transistor MND and the source of the P-type transistor MPD.
[0117] At the rising edge of the pulse signal Spl when it transitions from L level to H level, when the gate capacitance Cgdn (parasitic capacitance between the gate and drain) of the N-type transistor MND is charged, the source voltage of the N-type transistor MND rises. As a result, the rising edge of the pulse signal Spl is transmitted by the dummy switch circuit DSW.
[0118] On the other hand, at the falling edge of the pulse signal Spl when it transitions from H level to L level, when the gate capacitance Cgsp (parasitic capacitance between the gate and source) of the P-type transistor MPD is charged, the drain voltage of the P-type transistor MPD drops. As a result, the falling edge of the pulse signal Spl is transmitted by the dummy switch circuit DSW.
[0119] Therefore, when the pulse signal Spl passes through, the dummy switch circuit DSW can impart a first delay time depending on the gate capacitance Cgdn to the rising edge and a second delay time depending on the gate capacitance Cgsp to the falling edge. In this embodiment, the transition from L level to H level at the rising edge corresponds to the "first transition", and the transition from H level to L level at the falling edge corresponds to the "second transition".
[0120] In each of the dummy switch circuits DSW1 to DSW3 included in the delay adjustment circuit 25 (FIG. 10), the gate capacitances Cgsp and Cgdn are designed so that the first delay time and the second delay time are equivalent. In this case, the delay time provided by the dummy switch circuits DSW1 to DSW3 basically does not affect the duty ratio in the subsequent inverters INV2 and INV3 (second logic circuit 30). That is, the delay adjustment circuit 25 corresponds to one embodiment of the "first delay adjustment circuit."
[0121] On the other hand, the transistor sizes of the P-type transistors MPD and the N-type transistors MND in the dummy switch circuits DSW1 to DSW3 are designed so that different delay times are provided in the initial stage inverter paths IPT1 to IPT3. Specifically, the delay times provided by the dummy switch circuits DSW1 to DSW3 are set so that the sums of the delay times provided by the switch circuits ISW1 to ISW3 and the dummy switch circuits DSW1 to DSW3 are equal among the initial stage inverter paths IPT1 to IPT3.
[0122] For example, as described above, if a ratio of 1:8:(1 / 8) is set between the transistor sizes of the switch circuits ISW1-ISW3 in accordance with the inverter size ratio of the inverters INV11-INV13, the inverse ratio of 1:(1 / 8):8 can be given between the transistor sizes of the dummy switch circuits DSW1-DSW3.
[0123] In this case, the transistor sizes of the N-type transistor MN5D and the P-type transistor MP5D that configure the dummy switch circuit DSW2 connected in series with the switch circuit ISW2 can be set to Wnmin / Lmin and Wpmin / Lmin as described in the first embodiment.
[0124] Furthermore, the transistor sizes of the N-type transistor MN4D and the P-type transistor MP4D constituting the dummy switch circuit DSW1 connected in series with the switch circuit ISW1 can be set to 8×Wnmin / Lmin and 8×Wpmin / Lmin, respectively. This allows the transistor size ratio between the dummy switch circuits DSW1 and DSW2 to be the inverse ratio (1:(1 / 8)=8:1) of the transistor size ratio (1:8) between the switch circuits ISW1 and ISW2.
[0125] Similarly, the transistor sizes of the N-type transistor MN6D and the P-type transistor MP6D constituting the dummy switch circuit DSW3 connected in series with the switch circuit ISW3 can be set to 64×Wnmin / Lmin and 64×Wpmin / Lmin, respectively. This allows the transistor size ratio between the dummy switch circuits DSW1 and DSW3 to be the inverse ratio (1:8) of the transistor size ratio (1:(1 / 8)) between the switch circuits ISW1 and ISW3.
[0126] This makes it possible to suppress the difference in delay capacitance provided to the output signal paths of the inverters INV11-INV13 among the initial-stage inverter paths IPT1-IPT3 selected for adjusting the duty ratio of the oscillation signal Vosc. In other words, when there is a large difference in the transistor sizes of the switch circuits ISW1-ISW3, in the oscillation circuit 100a according to the first embodiment, the frequency of the oscillation signal Vosc may differ depending on which of the initial-stage inverter paths IPT1-IPT3 is selected.
[0127] In contrast, in the oscillator circuit 100b according to the second embodiment, the arrangement of the delay adjustment circuit 25 including the dummy switch circuits DSW1-DSW3 makes it possible to suppress fluctuations in the oscillation frequency that depend on the selection of the first-stage inverter paths IPT1-IPT3 for adjusting the duty ratio of the oscillation signal Vosc. As a result, in addition to the same effects as those of the first embodiment, the setting accuracy of the oscillation frequency can be improved.
[0128] It is also possible to adopt a configuration in which a switch and a capacitor connected in series are used for the first-stage inverter paths IPT1 to IPT3, and capacitance is added by turning the switch on and off. However, in such a configuration, the combined capacitance of the switch and the capacitor is applied to the selected first-stage inverter path, making it difficult to ensure linearity. In contrast, by using a dummy switch circuit DSW, it becomes easy to adjust the capacitance value of the delay capacitance added to the first-stage inverter paths IPT1 to IPT3.
[0129] Variation 1 of embodiment 2 In the second embodiment, an example has been described in which the first delay time (rising edge) and the second delay time (falling edge) of each dummy switch circuit DSW are made equal, but by intentionally setting a difference between the two, it is also possible to use the dummy switch circuit DSW to adjust the duty ratio.
[0130] Referring again to FIG. 11, by adjusting the gate capacitances of the P-type transistor MPD and the N-type transistor MND that configure the dummy switch circuit DSW, it is possible to intentionally provide a difference between the first and second delay times.
[0131] For example, since the gate capacitance of a transistor has the characteristic of changing in proportion to the gate surface area, by designing the transistor sizes (Wp / Lp) and (Wn / Ln) of the P-type transistor MPD and the N-type transistor MND, the gate capacitances Cgsp and Cgdn can be adjusted so that an intentional difference is generated between the first delay time of the rising edge and the second delay time of the falling edge.
[0132] FIG. 12 is a circuit diagram illustrating a configuration example of an oscillator circuit 100c according to a first modification of the second embodiment.
[0133] 12, the oscillator circuit 100c differs from the oscillator circuit 100a (FIG. 2) according to the first embodiment in that the first logic circuit 10 is composed of one inverter INV1 and in that a delay adjustment circuit 26 is further included.
[0134] An output signal of the inverter INV1 is branched into a plurality of (M=3) first-stage inverter paths IPT1 to IPT3. In the oscillation circuit 100c, the inverter INV1 serving as the first-stage inverter is common to the first-stage inverter paths IPT1 to IPT3, and the duty ratio is adjusted by the delay adjustment circuit 26. For example, the P-type transistor MP0 and N-type transistor MN0 of the inverter INV1 serving as the first-stage inverter can be designed to have minimum transistor sizes (the above-mentioned Wpmin / Lmin and Wnmin / Lmin).
[0135] The selection unit 20 includes switch circuits ISW1 to ISW3 arranged in the first stage inverter paths IPT1 to IPT3, respectively, in the same manner as in Fig. 2. The configuration of the switch circuits ISW1 to ISW3 is the same as in Fig. 2, and therefore will not be repeated.
[0136] The delay adjustment circuit 26 includes, in each of the first-stage inverter paths IPT1-IPT3, dummy switch circuits DDSW1-DDSW3 connected in series with the switch circuits ISW1-ISW3 constituting the selection unit 20. The dummy switch circuits DDSW1-DDSW3 are configured by N-type transistors MN4D-MN6D and P-type transistors MP4D-MP6D, similar to the dummy switch circuits DSW1-DSW3 (FIG. 10) of the delay adjustment circuit 25, and have the circuit configuration shown in FIG.
[0137] In at least some of the dummy switch circuits DDSW1 to DDSW3 of the delay adjustment circuit 26, the gate capacitance Cgdn (MND) and the gate capacitance Cgsp (MPD) are designed so that a difference occurs between the first delay time (rising edge) and the second delay time (falling edge). In this respect, the delay adjustment circuit 26 (dummy switch circuits DDSW1 to DDSW3) differs from the delay adjustment circuit 25 (dummy switch circuits DSW1 to DSW3).
[0138] For example, in the dummy switch circuit DDSW1 arranged in the first-stage inverter path IPT1, the transistor sizes of the N-type transistor MND and the P-type transistor MPD are set to Wnmin / Lmin and Wpmin / Lmin, respectively. As a result, in the dummy switch circuit DDSW1, the delay capacitances (gate capacitances Cgdn, Cgsp) added to the first-stage inverter path IPT1 are adjusted so that the first delay time acting on the rising edge of the pulse signal Spl and the second delay time acting on the falling edge are equivalent.
[0139] On the other hand, in the dummy switch circuit DDSW2 arranged in the first-stage inverter path IPT2, for example, the transistor sizes of the N-type transistor MND and the P-type transistor MPD are set to Wnmin / Lmin and 2×Wpmin / Lmin, respectively. As a result, in the dummy switch circuit DDSW2, the ratio of the gate capacitance Cgsp(MPD) to the gate capacitance Cgdn(MND) is increased compared to the dummy switch circuit DDSW1. As a result, in the dummy switch circuit DDSW2, the delay capacitances (gate capacitances Cgdn, Cgsp) added to the first-stage inverter path IPT2 are adjusted so that the second delay time acting on the falling edge is larger than the first delay time acting on the rising edge.
[0140] Furthermore, in the dummy switch circuit DDSW3 arranged in the first-stage inverter path IPT3, the transistor sizes of the N-type transistor MND and the P-type transistor MPD are set to Wnmin / Lmin and (1 / 2)×Wpmin / Lmin, respectively. As a result, in the dummy switch circuit DDSW2, the ratio of the gate capacitance Cgsp(MNP) to the gate capacitance Cgdn(MND) is reduced compared to the dummy switch circuit DDSW1. As a result, in the dummy switch circuit DDSW3, the delay capacitances (gate capacitances Cgdn, Cgsp) added to the first-stage inverter path IPT3 are adjusted so that the first delay time acting on the rising edge is greater than the second delay time acting on the falling edge.
[0141] In the oscillator circuit 100c, the P-type transistors MP0, MP4-MP6 and the N-type transistors MN0, MN4-MN6 constituting the inverter INV1 and the switch circuits ISW1-ISW3 can be designed with the minimum transistor sizes Wpmin / Lmin and Wnmin / Lmin. On the other hand, the P-type transistors MP4D-MP6D and the N-type transistors MN4D-MN6D constituting the dummy switch circuits DDSW1-DDSW3 constituting the delay adjustment circuit 26 are designed with arbitrary gate dimensions (transistor sizes) as described above. This allows the magnitude relationship (difference) between the first delay time and the second delay time to be arbitrarily set between the initial stage inverter paths IPT1-IPT3. That is, the delay adjustment circuit 26 corresponds to one embodiment of the "second delay adjustment circuit".
[0142] FIG. 13 shows an operational waveform diagram illustrating duty adjustment in the oscillation circuit according to the first modification of the second embodiment.
[0143] In the example of FIG. 13, the output voltage V1 of the first-stage inverter INV1 has a ratio of L level period to H level period of 60(%):40(%) due to fluctuations in the inversion threshold voltage Vinv, and the duty ratio DT1 (FIG. 9) increases from 50(%).
[0144] Specifically, at time tb, when the input voltage VA rises to the inversion threshold voltage Vinv of the inverter INV1, a falling edge that transitions from the H level (VDD) to the L level (GND) occurs in the output voltage V1 of the inverter INV1. The input voltage VB to the second logic circuit 30 drops to the inversion threshold voltage Vinv of the inverter INV2 in the second logic circuit 30 at time tx, which is delayed by the second delay time Tdp applied by any one of the first-stage inverter paths IPT1 to IPT3 from time tb.
[0145] On the other hand, at time tc when the input voltage VA that decreases after time tb drops to the inversion threshold voltage Vinv of the inverter INV1, a rising edge that transitions from the L level (GND) to the H level (VDD) occurs in the output voltage V1 of the inverter INV1. The input voltage VB to the second logic circuit 30 rises to the inversion threshold voltage Vinv of the inverter INV2 in the second logic circuit 30 at time ty, which is delayed by the first delay time Tdn applied by the first-stage inverter path IPT2 from time tc.
[0146] Therefore, in the example of FIG. 13 where the duty ratio is greater than 50% (T1>T2), by selecting the first-stage inverter path IPT2 in which the second delay time Tdp is greater than the first delay time Tdn, the duty ratio of the input voltage VB to the second logic circuit 30 can be made closer to 50%.
[0147] Conversely, in the case where the duty ratio is less than 50% (T1<T2), by selecting the first-stage inverter path IPT3 in which the first delay time Tdn is greater than the second delay time Tdp, the duty ratio of the input voltage VB to the second logic circuit 30 can be made closer to 50%. Thus, it is understood that the duty ratio of the oscillation signal Vosc can also be adjusted by selecting a plurality (M) of first-stage inverter paths having different differences (Tdn - Tdp) between the first delay time Tdn and the second delay time Tdp.
[0148] Therefore, in the oscillator circuit 100c according to the first modification of the second embodiment, the duty ratio of the oscillation signal Vosc can be adjusted by the same method as that of the first embodiment described in Fig. 8 and Fig. 9. Specifically, when the control signals VISW1 to VISW3 are set in the same manner as the pattern PT1 of Fig. 8, the duty ratio DT1 when the first-stage inverter path IPT1 having the same first delay time Tdn and second delay time Tdp is selected can be obtained (S110 of Fig. 9). Then, by using the obtained duty ratio DT1 to execute the processes of S120 to S160 of Fig. 8, the duty ratio of the oscillation signal of the RC type oscillator circuit can be adjusted by a simple configuration as in the first embodiment.
[0149] In the first modification of the second embodiment, the number of dummy switch circuits DDSW, that is, the number of first-stage inverter paths having different differences between the first and second delay times, is set to M=3; however, M may be any number.
[0150] Also in the first variant of the second embodiment, by adding capacitance using the dummy switch circuit DDSW, it becomes easier to adjust the first delay time Tdn and the second delay time Tdp in each of the first-stage inverter paths IPT1 to IPT3, compared to a configuration using switches and capacitors connected in series.
[0151] Variation 2 of embodiment 2 FIG. 14 is a circuit diagram illustrating a configuration example of an oscillator circuit 100d according to the second modification of the second embodiment.
[0152] 14, compared to the oscillator circuit 100a (FIG. 2) of embodiment 1, the oscillator circuit 100d has a configuration in which a circuit block including the selection section 20 and delay adjustment circuit 26 shown in FIG. 12 is arranged for each of the inverters INV11-INV13 included in the first logic circuit 10.
[0153] Specifically, a circuit block 201 including a selection unit 20 and a delay adjustment circuit 26 is disposed between the inverter INV11 and a node Nb corresponding to the input node of the inverter INV2 of the second logic circuit 30. The configurations and operations of the selection unit 20 and the delay adjustment circuit 26 are similar to those of the first modification of the second embodiment, and therefore detailed description will not be repeated. As a result, the first-stage inverter path IPT1 (FIG. 2) including the inverter INV11 is subdivided into first-stage inverter paths IPT11-IPT13 which pass through the dummy switch circuits DDSW1-DDSW3, respectively.
[0154] The combinations of delay times Tdn and Tdp applied to the respective first-stage inverter paths IPT11-IPT13 can be set in the same manner as those of the respective first-stage inverter paths IPT1-IPT3 in Fig. 12. That is, Fig. 14 also shows an example in which the number of dummy switch circuits DDSW arranged is three.
[0155] Similarly, a circuit block 202 is disposed between the inverter INV12 and the node Nb, and a circuit block 203 is disposed between the inverter INV13 and the node Nb. Although not shown in the figure, each of the circuit blocks 202 and 203 has a selection unit 20 and a delay adjustment circuit 26 similar to those of the circuit block 201.
[0156] Therefore, the initial stage inverter path IPT2 (FIG. 2) including the inverter INV12 is subdivided into initial stage inverter paths IPT21-IPT23 by the circuit block 202. Similarly, the initial stage inverter path IPT3 (FIG. 2) including the inverter INV13 is subdivided into initial stage inverter paths IPT31-IPT33 by the circuit block 203. A combination of delay times Tdn and Tdp set in the same manner as the initial stage inverter paths IPT1-IPT3 can be provided to each of the initial stage inverter paths IPT21-IPT23 and the initial stage inverter paths IPT31-IPT33.
[0157] In the oscillator circuit 100d, (M1×M2) first-stage inverter paths are provided between the input node Na and node Nb (the input node of the inverter INV2) according to the multiplication value of the number M1 (M1: an integer of 2 or more) of first-stage inverters arranged in parallel and the number M2 (M2: an integer of 2 or more) of branches of the output signal of each first-stage inverter. Then, one of the (M1×M2) (in FIG. 14, M1×M2=3×3=9) first-stage inverter paths is selected.
[0158] That is, the control signals VISW1 to VISW3 for selectively turning on the switch circuits ISW1 to ISW3 of the selection unit 20 are set individually among the circuit blocks 201 to 203. As a result, one initial-stage inverter path among the above-mentioned (M1×M2) initial-stage inverter paths is selected by turning on the switch circuit ISW in that path using (M1×M2) control signals in total.
[0159] As an example, in the oscillator circuit 100d, the delay adjustment circuit 26 can be configured so that the duty ratio adjustment amount based on the difference between the delay times Tdp and Tdn is reduced relative to the duty ratio adjustment amount based on the selection of the inversion threshold voltage Vinv of the inverters INV11 to INV13.
[0160] As a result, the oscillator circuit 100d according to the second modification of the second embodiment not only has the effect of the oscillator circuit 100a according to the first embodiment, but also allows for more precise adjustment of the duty ratio.
[0161] Embodiment 3 In the third embodiment, an example of a circuit configuration using a clocked inverter will be described.
[0162] FIG. 15 is a circuit diagram illustrating a configuration example of an oscillator circuit 100e according to the third embodiment. 15, the oscillator circuit 100e differs from the oscillator circuit 100b (FIG. 10) according to the second embodiment in that the first logic circuit 10 is composed of M (in the example of FIG. 15, M=3) clocked inverters CINV11-CINV13 connected in parallel. That is, in the oscillator circuit 100e, first-stage inverter paths IPT1-IPT3, each including the clocked inverters CINV11-CINV13, are formed in parallel between the input node Na and a node Nb (the input node of the second logic circuit 30).
[0163] Fig. 16 is a circuit diagram for explaining the configuration of a clocked inverter CINV1, which collectively refers to the clocked inverters CINV11 to CINV13 shown in Fig. 15.
[0164] 16, the clocked inverter CINV1 further includes a P-type switch transistor MPSW and an N-type switch transistor MNSW in addition to the circuit configuration of the inverter INV shown in FIG. 3. The switch transistor MPSW is connected in series with the P-type transistor MP0 between the output node No at which the output voltage Vout is generated and the power supply line PL. Similarly, the switch transistor MNSW is connected in series with the N-type transistor MN0 between the output node No and the ground line NL. The transistor sizes of the switch transistors MPSW and MNSW can be the same as those of the P-type transistor MP0 and the N-type transistor MN0, respectively.
[0165] A control signal VISW, which collectively refers to the control signals VISW1 to VISW3, is input to the gate of the switch transistor MPSW. On the other hand, a control signal VISWB, which collectively refers to the control signals VISW1B to VISW3B, is input to the gate of the switch transistor MNSW.
[0166] When the control signal VISW is set to H level (i.e., the control signal VISWB is set to L level), the switch transistors MNSW and MPSW are turned on, and the clocked inverter CINV operates in the same manner as the inverter INV1 shown in Fig. 3. That is, when the input voltage Vin is lower than the inversion threshold voltage Vinv, the clocked inverter CINV sets Vout to H level (VDD), whereas when Vin ≥ Vinv, it sets Vout to L level (GND).
[0167] In contrast, when the control signal VISW is set to the L level (i.e., the control signal VISWB is set to the H level), the switch transistors MNSW and MPSW are turned off, and the output node No is disconnected from both the power supply line PL and the ground line NL. Therefore, neither the power supply voltage VDD nor the ground voltage GND is output from the clocked inverter CINV.
[0168] Referring again to FIG. 15, clocked inverters CINV11-CINV13 are configured to have the same inversion threshold voltage Vin as inverters INV11-INV13, respectively, by adjusting the transistor sizes of P-type transistor MP0 and N-type transistor MN0 described in the first embodiment.
[0169] As described above, by controlling the operation and stopping of the clocked inverters CINV1 to CINV3 using the control signals VISW1 to VISW3 (VISW1B to VISW3B), the oscillation circuit 100e can realize the function of the selection unit 20 without providing switch circuits ISW1 to ISW3 as shown in FIG. 2.
[0170] Furthermore, in oscillation circuit 100e, delay adjustment circuit 25 similar to that in FIG. 10 is arranged between the output sides of clocked inverters CINV11-CINV13 and node Nb. Delay adjustment circuit 25 has dummy switch circuits DSW1-DSW3 similar to that in FIG. 10. Dummy switch circuits DSW1-DSW3 are connected between the output nodes of clocked inverters CINV11-CINV13 and node Nb corresponding to the input node of second logic circuit 30, respectively. The configuration of other parts of oscillation circuit 100e is similar to that of oscillation circuit 100b in FIG. 10, and therefore detailed description will not be repeated.
[0171] Therefore, in the oscillator circuit 100e, an initial stage inverter path IPT1 in which a clocked inverter CINV11 and a dummy switch circuit DSW1 are connected in series, an initial stage inverter path IPT2 in which a clocked inverter CINV12 and a dummy switch circuit DSW2 are connected in series, and an initial stage inverter path IPT3 in which a clocked inverter CINV13 and a dummy switch circuit DSW3 are connected in series are provided in parallel between the input node Na and the node Nb.
[0172] Then, one of the clocked inverters CINV11-CINV13 is selectively operated in response to the control signals VISW1-VISW3 (control signals VISW1B-VISW3B), whereby one of the first-stage inverter paths IPT1-IPT3 is selectively formed between the input node Na and the node Nb. Furthermore, in the first-stage inverter paths IPT1-IPT3, the inversion threshold voltages Vinv of the inverters and the adjustment capacitances added by the delay adjustment circuit 25 are similar to those of the oscillation circuit 100b according to the second embodiment.
[0173] Therefore, like the oscillator circuit 100b according to the second embodiment, the oscillator circuit 100e according to the third embodiment also makes it possible to adjust the duty ratio of the oscillation signal Vosc and to improve the accuracy of the oscillation frequency.
[0174] Furthermore, in the oscillator circuit 100e according to the third embodiment, a clocked inverter is used instead of an inverter, thereby making it possible to reduce the circuit area and current consumption.
[0175] First, in the clocked inverters CINV11 to CINV13, the number of wiring connections is reduced compared to the combination of the inverters INV11 to INV13 in Fig. 10 (second embodiment) and the switch circuits ISW1 to ISW3, which are CMOS (Complementary MOS) switches, and therefore the circuit area can be reduced in terms of layout.
[0176] Furthermore, when the input voltage VA of the input node Na is close to the inversion threshold voltage Vinv, a through current is generated in the P-type transistor MP0 and the N-type transistor MN0 in each of the inverters INV11 to INV13 in Fig. 2 etc. On the other hand, as illustrated in Fig. 5 etc., the change in the input voltage VA in the vicinity of the inversion threshold voltage Vinv is relatively gradual due to the time constant of the feedback resistor 40 (Roc) and the feedback capacitor 50 (Coc). As a result, in the circuit configurations of the first and second embodiments etc. in which M inverters are arranged in parallel, there is a concern that the above-mentioned through current will increase the current consumption of the M inverters.
[0177] In contrast, in the oscillator circuit 100e according to the third embodiment, among the M clocked inverters connected in parallel, in the clocked inverter stopped by the control signal VISW (VISWB), the switch transistors MPSW, MNSW (FIG. 16) are turned off, so that no through current occurs. As a result, by applying the clocked inverter, it is possible to reduce the current consumption compared to the first and second embodiments.
[0178] In the first and second embodiments, it is possible to suppress the shoot-through current by additionally disposing transistor switches between the input node Na and the input nodes of the inverters INV11 to INV13, the transistor switches being on / off controlled in conjunction with the selection of the first-stage inverter paths IPT1 to IPT3. However, there is a concern that the addition of such transistor switches will increase the circuit area and degrade the frequency correction accuracy due to increased unnecessary parasitic capacitance and on-resistance. In the oscillator circuit 100e according to the third embodiment, the use of a clocked inverter makes it possible to reduce current consumption without causing such problems.
[0179] In addition, in the example of FIG. 15, in the oscillator circuit 100e of embodiment 3, a configuration example in which the delay adjustment circuit 25 is arranged as in FIG. 10 has been described. However, if the fluctuation in the oscillation frequency due to the selection of the clocked inverters CINV11 to CINV13 is small, it is possible to omit the arrangement of the delay adjustment circuit 25 as in the oscillator circuit 100a of embodiment 1 (FIG. 2).
[0180] Alternatively, in the oscillator circuit 100e according to the third embodiment, it is also possible to arrange the delay adjustment circuit 26 (FIG. 12) instead of the delay adjustment circuit 25 in the configuration example of FIG. 15. In this case, it is possible to finely adjust the duty ratio, similarly to the oscillator circuit 100d according to the second modification of the second embodiment described in FIG.
[0181] A variation of the third embodiment. FIG. 17 is a circuit diagram illustrating a configuration example of an oscillator circuit 100f according to a modification of the third embodiment.
[0182] 17, the oscillator circuit 100f differs from the oscillator circuit 100a according to the first embodiment in that a clocked inverter VCINV controlled by N-bit (N: an integer equal to or greater than 2) control signals VISWN[N:1] and VISWP[N:1] is provided instead of the plurality of inverters INV11-INV13 and the selection unit 20. Compared with the oscillator circuit 100e according to the third embodiment (FIG. 15), the oscillator circuit 100f has a circuit configuration in which a clocked inverter VCINV is provided instead of the plurality of clocked inverters CINV11-CINV13, and the delay adjustment circuit 25 is omitted.
[0183] FIG. 18 shows a circuit diagram illustrating the configuration of the clocked inverter VCINV shown in FIG.
[0184] 18, the clocked inverter VCINV has N clocked inverters CINV1 to CINVN connected in parallel. Each of the clocked inverters CINV1 to CINVN has a circuit configuration similar to that of the clocked inverter CINV1 shown in FIG.
[0185] Specifically, the clocked inverters CINV1 to CINVN respectively have P-type transistors MPC1 to MPCN, N-type transistors MNC1 to MNCN, P-type switch transistors MPCSW1 to MPCSWN, and N-type switch transistors MNCSW1 to MPCSWN.
[0186] Between the clocked inverters CINV1 to CINVN, the P-type transistors MPC1 to MPCN and the N-type transistors MNC1 to MNCN have different transistor sizes. For example, the gate lengths of the P-type transistors MPC1 to MPCN and the N-type transistors MNC1 to MNCN are common (Limn). On the other hand, the gate widths of the P-type transistors MPC1 to MPCN and the N-type transistors MNC1 to MNCN are designed to have different values in stages according to a power of two.
[0187] Specifically, the gate width of the N-type transistor MNC1 is the minimum value Wmin, the gate width of the N-type transistor MNC2 is W2N=2·Wmin, and the gate width of the Nth N-type transistor MNCN is Wn2=2 (N-1) The transistor sizes of the N-type switch transistors MNCSW1 to MNCSWN are set to be equal to those of the N-type transistors MNC1 to MNCN, respectively.
[0188] Similarly, the gate width of P-type transistor MPC1 is Wmin, the gate width of P-type transistor MPC2 is Wp2=2·Wmin, and the gate width of the Nth P-type transistor MPCN is WpN=2 (N-1) The transistor sizes of the P-type switch transistors MPCSW1 to MPCSWN are set to be equal to those of the P-type transistors MPC1 to MPCN, respectively.
[0189] Control signals VISWN[1] to VISWN[N] are input to the gates of the N-type switch transistors MNCSW1 to MNCSWN. As a result, in the clocked inverter VCINV, at least one N-type transistor selected by the control signal VISWN[1] to VISWN[N] among the N-type transistors MNC1 to MNCN is connected in parallel between the ground line NL and the output node No of the clocked inverter VCINV (corresponding to node Nb in FIG. 17).
[0190] For example, when all of the control signals VISWN[1] to VISWN[N] are "1", all of the N-type transistors MNC1 to MNCN are connected between the ground line NL and the output node of the clocked inverter VCINV. This state corresponds to the inverter in FIG. 3, in which the gate width of the N-type transistor MN0 is (2 N −1)·Wmin.
[0191] Similarly, inverted control signals VISWP[1] to VISWP[N] are input to the gates of the P-type switch transistors MPCSW1 to MPCSWN. As a result, in the clocked inverter VCINV, at least one P-type transistor selected by the control signal VISWP[1] to VISWP[N] among the P-type transistors MPC1 to MPCN is connected in parallel between the power supply line PL and the output node No of the clocked inverter VCINV.
[0192] For example, when all of the control signals VISWP[1] to VISWP[N] are "1", all of the P-type transistors MPC1 to MPCN are connected between the power supply line PL and the output node of the clocked inverter VCINV. This state corresponds to the inverter in FIG. 3, in which the gate width of the N-type transistor MN0 is (2 N −1)·Wmin.
[0193] In this way, in the clocked inverter VCINV shown in FIG. 18, the overall transistor size of at least one N-type transistor connected in parallel between the ground line NL and the output node No (corresponding to the transistor size of N-type transistor MN0 in inverter INV1 in FIG. 3) can be changed in stages in response to the control signals VISWN[1] to VISWN[N].
[0194] Similarly, in response to the control signals VISWP[1] to VISWP[N], the overall transistor size of at least one P-type transistor connected in parallel between the power supply line PL and the output node No (corresponding to the transistor size of P-type transistor MP0 in inverter INV1 in Figure 3) can be changed in stages.
[0195] As a result, in the clocked inverter VCINV, Kn and Kp in the above equation (2) can be changed by variably controlling the ratio between the transistor size (Wn / Ln) of the N-type transistor MN0 and the transistor size (Wp / Lp) of the P-type transistor MP0.
[0196] This allows the clocked inverter VCINV to selectively form one of the multiple inverters (corresponding to the inverter INV in FIG. 3) with different inversion threshold voltages Vinv between the input node Na and the node Nb as a first-stage inverter in response to the control signals VISWN[1]-VISWN[N] and VISWP[1]-VISWWP[N]. This allows the selection of multiple inverter paths that pass through each of the multiple inverters to be equivalently performed.
[0197] An example of setting the control signal of the clocked inverter VCINV is shown in Fig. 19. In Fig. 19, an example is shown when N=5.
[0198] 19, by setting the control signal VISWP[1]="1" and the control signals VISWP[2] to VISWP[5]="0", the transistor size (Wp / Lp) of the P-type transistor becomes the minimum value (1). In this state, the transistor size (Wn / Ln) of the N-type transistor changes from the minimum value (1) to the maximum value (2) by the combination of the five bits of the control signals VISWN[1] to VISWn[5], "0" and "1". N It is possible to set it stepwise between (Wp / Lp) and (Wn / Ln). By increasing (Wn / Ln) stepwise while keeping (Wp / Lp) fixed, it is possible to decrease the inversion threshold voltage Vinv of the clocked inverter VCINV stepwise as the parameter value K in equation (2) increases.
[0199] Similarly, by setting the control signal VISWN[1]="1" and the control signals VISWN[2] to VISWN[5]="0", the transistor size (Wn / Ln) of the N-type transistor becomes the minimum value (1). In this state, the transistor size (Wp / Lp) of the P-type transistor changes from the minimum value (1) to the maximum value (for example, 2 NWhen (Wp / Lp) is increased stepwise while (Wn / Ln) is fixed, the inversion threshold voltage Vinv of the clocked inverter VCINV can be increased stepwise as the parameter value K in equation (2) decreases.
[0200] For example, if VISWP[2]="1", VISWP[1]=VISWWP[3] to VISW[5]="0", and VISWN[1]="1", VISWN[2] to VISWN[5]="0", then (Wp / Lp)=2 and (Wn / Ln)=1. Therefore, the clocked inverter VCINV is in a state where an inverter having an inversion threshold voltage Vinv equivalent to that of the inverter INV11 (K=1) in the first embodiment (FIG. 2) is formed between the input node Na and the node Nb. That is, a state equivalent to the selection of the first-stage inverter path IPT1 including the inverter INV11 in the first embodiment (FIG. 2) is formed.
[0201] Similarly, if VISWP[5]="1", VISWP[1] to VISWP[4]="0", VISWN[1]="1", and VISWN[2] to VISWN[5]="0", then (Wp / Lp)=16 and (Wn / Ln)=1. Therefore, the clocked inverter VCINV is in a state where an inverter having an inversion threshold voltage Vinv equivalent to that of the inverter INV12 (K=√(1 / 8)) in the first embodiment (FIG. 2) is formed between the input node Na and the node Nb. That is, a state equivalent to the selection of the first-stage inverter path IPT2 including the inverter INV12 in the first embodiment (FIG. 2) is formed.
[0202] Also, if VISWP[1]="1", VISWP[2] to VISWP[5]="0", and VISWN[3]="1", VISWN[1]=VISWN[2]=VISWN[4]=VISWN[5]="0", then (Wp / Lp)=1 and (Wn / Ln)=4. Therefore, the clocked inverter VCINV is in a state where an inverter having an inversion threshold voltage Vinv equivalent to the inverter INV13 (K=√8) in the first embodiment (FIG. 2) is formed between the input node Na and the node Nb. That is, a state equivalent to the selection of the first-stage inverter path IPT3 including the inverter INV13 in the first embodiment (FIG. 2) is formed.
[0203] In this way, in the clocked inverter VCINV, the inversion threshold voltage Vinv can be variably set by changing the ratio between the transistor size of the P-type transistor and the transistor size of the N-type transistor in the first stage inverter in accordance with the control signals VISWN[1] to VISWN[N], VISWP[1] to VISWP[N].
[0204] As a result, the clocked inverter VCINV can select a plurality of first-stage inverter paths with different inversion threshold voltages Vinv, similarly to the inverters INV11-INV13 and the selection unit 20 in the first embodiment. Specifically, it is equivalently possible to select a plurality of first-stage inverter paths in which the first-stage inverters are inverters with different inversion threshold voltages Vinv formed by combinations of the control signals VISWN[N:1] and VISWP[N:1]. In particular, since the inversion threshold voltage Vinv differs for each combination of the N-bit control signals VISWN[N:1] and VISWP[N:1], the number of selectable first-stage inverter paths increases.
[0205] Moreover, when all of the control signals VISWN[1] to VISWN[N] and VISWP[1] to VISWP[N] are set to "0", the paths between the output node of the clocked inverter VCINV and the power supply line PL (VDD) and ground line NL (GND) are cut off, and the clocked inverter VCINV is stopped. At this time, the occurrence of a through current is avoided.
[0206] Referring again to FIG. 17, in the oscillator circuit 100f, the output voltage VB of the clocked inverter CINV is input to the second logic circuit 30, and an oscillation signal Vosc is generated having a frequency that depends on the resistance value Roc of the feedback resistor 40 and the capacitance value Coc of the feedback capacitor 50, similar to the oscillator circuit 100a (FIG. 2) of embodiment 1.
[0207] Furthermore, in the oscillator circuit 100f, as in embodiment 1, the duty ratio DT1 (S110 in FIG. 9) can be obtained when the oscillator circuit 100f is operated with the control signals VISWN[N:1], VISWP[N:1] set so that the inversion threshold voltage Vinv corresponding to K=1 is set.
[0208] Then, by changing the control signals VISWN[N:1] and VISWP[N:1] so that the parameter value K is decreased when the acquired duty ratio DT1 is greater than 50(%), and the parameter value K is increased when the duty ratio DT1 is less than 50(%), the duty ratio of the oscillation signal of the RC type oscillation circuit can be adjusted, as in embodiment 1.
[0209] In this way, according to the oscillator circuit of the modified example of the third embodiment, the application of the clocked inverter VCINV, which is capable of variably controlling the transistor size, makes it possible to adjust the duty of the oscillation signal Vosc by selecting a plurality of first-stage inverter paths having different inversion threshold voltages. By using the clocked inverter VCINV, it is possible to reduce the circuit area and current consumption as in the third embodiment, and it becomes easy to finely adjust the duty ratio.
[0210] In addition, when the oscillation frequency varies due to a change in the capacitance value of a path in response to the selection of a plurality of first-stage inverter paths in the clocked inverter CINV, it is possible to configure the delay adjustment circuit 25 described in the second embodiment to be connected to the output node of the clocked inverter VCINV. In this case, however, it is necessary to provide a mechanism for gradually changing the delay capacitance added to the output node in response to the control signals VISWN[N:1] and VISWP[N:1].
[0211] Embodiment 4 In the fourth embodiment, a configuration example of the above-mentioned oscillator circuit to which an enable signal can be input will be described.
[0212] FIG. 20 is a circuit diagram illustrating a configuration example of an oscillator circuit 100g according to the fourth embodiment. As shown in Fig. 20, the oscillator circuit 100g differs from the oscillator circuit 100a (Fig. 2) according to the first embodiment in that it includes a feedback capacitor 50g instead of the feedback capacitor 50. It also differs in that the first logic circuit 10 includes equivalent inverters INV11X-INV13X configured with NAND gates instead of the inverters INV11-INV13 (Fig. 2). Other configurations of the oscillator circuit 100g are similar to those of the oscillator circuit 100a (Fig. 2).
[0213] One of the inputs of the NAND gates constituting each of the inverters INV11X to INV13X is the enable signal EN1, and the other input is the voltage VA (input node Na) similar to the input of the inverters INV11 to INV13.
[0214] During the L level period of the enable signal EN1 (also referred to as the "enable off period"), the function of the oscillation circuit 100g is stopped and the outputs of the inverters INV11X to INV13X and the oscillation signal Vosc are fixed to the H level. On the other hand, when the enable off is released and the enable signal EN1 changes from the L level to the H level, the operation of the oscillation circuit 100g is started and the oscillation signal Vosc repeats the H level and the L level at a constant frequency. Each of the inverters INV11X to INV13X may be configured with a NOR gate instead of a NAND gate. When a NOR gate is used, an inverted signal of the enable signal EN1 (H level during the enable off period) is used as one of the inputs of the NOR gate instead of the enable signal EN1.
[0215] Usually, the applications of the oscillator circuit are divided into an automatic start-up method by power-on and a fast start-up method controlled by an enable signal, and the first to third embodiments are suitable for the former power-on application. On the other hand, the fourth embodiment is suitable for the latter application, which has been in increasing demand in recent years. As will be described later, by applying the fourth embodiment, it becomes possible to suppress the instantaneous voltage rise of the input node Na when the enable off is released, and it is suitable for an application that is started up quickly by the enable signal.
[0216] The feedback capacitance 50g further includes a control switch ISWg1 that is turned on and off in response to an enable signal EN1, in addition to a capacitor C1 (capacitance value Coc) similar to the feedback capacitance 50. The control switch ISWg is connected between one electrode of the capacitor C1 connected to the input node Na and the ground (GND) corresponding to the ground line NL (FIG. 3, etc.).
[0217] The control switch ISWg can be configured by a transfer gate made of at least one of a P-type transistor and an N-type transistor that is turned on and off in response to the enable signal EN1. In the example of Fig. 20, the control switch ISWg is configured by connecting in parallel a P-type transistor MPg1 having an enable signal EN1 input to its gate and an N-type transistor MNg1 having an inverted signal EN1B of the enable signal EN1 input to its gate.
[0218] In the fourth embodiment and its modification, the polarity of the capacitor C1 is configured such that the input node Na side is a top plate with a small parasitic capacitance and the opposite side (node Nc side) is a bottom plate with a large parasitic capacitance, but a similar configuration can be applied to the first to third embodiments and their modifications. Alternatively, in each embodiment and its modification, the polarity of the capacitor C1 may be arbitrary. Furthermore, the capacitor C1 can typically have a MIM (Metal Insulator Metal) structure, but it can also have a PIP (Poly-Insulator Poly) structure, a MOM (Metal Oxide Metal) structure, or be configured using a gate oxide film capacitance of a field effect transistor.
[0219] Here, a comparative example of the voltage waveform of the input node Na in the case where the control switch ISWg1 is not arranged in the oscillator circuit 100g will be described with reference to Fig. 21. In Fig. 23, the voltage waveform (input voltage VA♯) in the comparative example is shown by a dotted line, and the voltage waveform (input voltage VA) in the oscillator circuit 100g in which the control switch ISWg1 is arranged is shown by a solid line.
[0220] When the enable-off state is released, if the initial voltage of the input node Na is VADE and the initial voltage of the node Nc is VCDE, the amount of charge stored in the capacitor C1 is the product of the voltage difference (VADE-VCDE) and the capacitance value Coc. Here, one inverter INV2 is connected between the output node of the inverters INV11X-INV13X and the node Nc, and one inverter INV is also connected between the node Nc and the input node Na. Therefore, during the enable-off period, the outputs of the inverters INV11X-INV13X are fixed to the H level, so the node Nc is fixed to the L level, and the node Nd and the input node Na are fixed to the H level.
[0221] 21, when the enable signal EN1 changes from L level to H level (VDD) at time tx, the enable off is released. As described above, before time tx, which is the enable off period, VA♯=VDD. Also, a voltage difference of (VADE-VCDE)=VDD is maintained between both ends of the capacitor C1.
[0222] At time tx, when enable off is released, the enable signal EN1 is set to H level, and accordingly the outputs of the inverters INV11X-INV13X change from H level to L level. In response to this, the voltage VC of the node Nc changes from L level to H level, and the voltage of the node Nd changes from H level to L level. However, due to the influence of the RC time constant (Roc·Coc) due to the resistance value Roc of the feedback resistor 40 and the capacitance value Coc of the feedback capacitance 50g, the input voltage VA♯ of the input node Na does not immediately change from H level to L level.
[0223] As a result, at time tx, the input voltage VA# rises by the voltage difference (VADE-VCDE)=VDD held in the capacitor C1 due to capacitive coupling via the capacitor C1. As a result, at time tx, the input voltage VA# momentarily rises to twice the VDD. After that, when the input voltage VA# drops to the inverter inversion threshold voltage Vinv according to the above-mentioned RC time constant, a change similar to that at time tc in Figure 5 occurs in the input voltage VA#, and VA#=Vinv-VDD. After that, the input voltage VA# of the comparative example changes in the same way as the input voltage VA after time tc in Figure 5.
[0224] In this way, in the oscillator circuit 100e having the function of operating in response to an enable signal, if the control switch ISWg1 is not configured, there is a concern that an overvoltage may occur momentarily at the input node Na when the enable off is released (time tx in Figure 21) if the enable off period (EN1 = L level) is longer than the delay time due to the above-mentioned RC time constant.
[0225] Non-Patent Document 1 describes a configuration in which the power supply voltage (corresponding to VDD) supplied to the inverter can be controlled by a regulator, and if such a regulator is used to control VDD low during the enable-off period, it is possible to suppress the overvoltage at the above-mentioned time tx. On the other hand, it becomes necessary to additionally arrange a regulator, a level shifter, etc. Also, it is possible to deal with the overvoltage by configuring the logic inversion circuit in the first logic circuit 10 with high-voltage elements, but there are concerns about a decrease in operating speed and an increase in circuit area.
[0226] In contrast, in the oscillator circuit 100g according to the fourth embodiment, during the enable-off period (EN1=L level), the control switch ISWg1 is turned on, and the input node Na is connected to the ground. Therefore, the input voltage VA is fixed to 0, as shown by the solid line in Fig. 21. As a result, the voltage difference between the electrodes on both sides of the capacitor C1 becomes zero, so that the initial charge of the capacitor C1 is reset and VA is maintained at 0 even at the time tx.
[0227] After time tx, the enable signal EN1 is set to H level and the control switch ISWg1 is turned off, so that the oscillator circuit 100e operates in the same manner as the oscillator circuit 100a (FIG. 2) according to the first embodiment. Therefore, the waveform of the input voltage VA after time tx is similar to the waveform of the input voltage VA after time ta in FIG.
[0228] In this way, in the oscillator circuit of embodiment 4, in a configuration in which the first logic circuit 10 operates in response to the enable signal EN1, it is possible to prevent the occurrence of an overvoltage when the enable off is released due to the influence of the charge retained in the capacitor C1 during the enable off period.
[0229] In addition, FIG. 20 illustrates an example of a configuration in which the first logic circuit 10 operates in response to the enable signal EN1. However, even if the second logic circuit 30, or both the first logic circuit 10 and the second logic circuit 30, operate in response to the enable signal EN1, it is possible to similarly suppress overvoltage by arranging a control switch ISWg1 on the input node Na side of the capacitor C1.
[0230] A variation of the fourth embodiment. FIG. 22 shows a circuit diagram illustrating a configuration example of an oscillator circuit 100h according to a first modification of the fourth embodiment.
[0231] As shown in FIG. 22, the oscillator circuit 100h differs from the oscillator circuit 100g of FIG. 20 in that, instead of the control switch ISWg1 provided on the input node Na side of the capacitor C1, the oscillator circuit 100h has control switches ISWh0 and ISWh1 provided on the node Nc side of the capacitor C1.
[0232] The control switch ISWh1 is connected between one electrode of the capacitor C1 on the node Nc side and the node Nb, and is turned on and off in response to the enable signal EN1. The control switch ISWh1 is turned on during the enable off period (EN1=L level) and turned off during the enable off release period (EN1=H level).
[0233] The control switch ISWh0 is connected between one electrode of the capacitor C1 on the node Nc side and the node Nc, and is turned on and off in response to the enable signal EN0. The enable signal EN0, like the enable signal EN1, is set to L level during the enable-off period, and is set to H level during the enable-off release period. The control switch ISWh0 is turned off during the enable-off period (EN1=L level), and is turned on during the enable-off release period (EN1=H level). However, between the enable signals EN0 and EN1, timing adjustment (addition of dead time) is performed so that a period in which both the control switches ISWh0 and ISWh1 are on does not occur.
[0234] Each of the control switches ISWh1 and ISWh0 can be configured by a transfer gate made of at least one of a P-type transistor and an N-type transistor that is turned on and off in response to the enable signal EN0 or EN1. In the example of Fig. 20, the control switch ISWh1 is configured by connecting in parallel a P-type transistor MPh1 having an enable signal EN1 input to its gate and an N-type transistor MNh1 having an inverted signal EN1B of the enable signal EN1 input to its gate. The control switch ISWh0 is configured by connecting in parallel an N-type transistor MNh0 having an enable signal EN0 input to its gate and a P-type transistor MPh0 having an inverted signal EN0B of the enable signal EN0 input to its gate.
[0235] Therefore, in the oscillator circuit 100h, during the enable-off period (EN1=L level), the capacitor C1 is connected between the input node Na and the node Nb, both of which are fixed to the H level (VDD). As a result, the voltage difference between both electrodes of the capacitor C1 becomes zero, so that the charge (initial charge) held in the capacitor C1 during the enable-off period can be reset in the same way as the oscillator circuit 100e of the fourth embodiment. This makes it possible to prevent an overvoltage exceeding VDD from occurring at the input node Na when the enable-off state is released, in the same way as in the fourth embodiment.
[0236] In the oscillation circuit 100h, when the enable signals EN0=EN1=H level, the control switch ISWh1 is turned off and the control switch ISWh0 is turned on, so that the circuit state becomes the same as that of the oscillation circuit 100a (FIG. 2) according to the first embodiment. Therefore, after the enable-off period is released, the oscillation circuit 100h operates in the same manner as the oscillation circuit 100a, and can generate the oscillation signal Vosc.
[0237] In the oscillator circuit 100h according to the first modification of the fourth embodiment, the overvoltage of the input node Na when the enable-off is released can be suppressed, similarly to the oscillator circuit 100e according to the fourth embodiment. Furthermore, in the oscillator circuit 100i, the control switch in the off state connected to the input node Na can be made non-disposed when the oscillation signal Vosc is generated (EN1=H level period). As a result, compared to the oscillator circuit 100g (FIG. 20), the oscillator circuit 100i can improve the frequency accuracy of the oscillation signal Vosc by suppressing the parasitic capacitance added to the input node Na that determines the oscillation frequency.
[0238] 22 shows an example in which the control switch ISWh1 is connected between the electrode of the capacitor C1 on the node Nc side (the electrode opposite to the input node Na) and the node Nb, but instead of the node Nb, the control switch ISWh1 may be connected to another node that holds the same level (H / L level) as the input node Na during the enable-off period. Similarly, the control switch ISWh0 may be connected, instead of the node Nc, between the electrode of the capacitor C1 on the node Nc side and another node that appears with a voltage at the opposite level (H / L level) to that of the input node Na after the enable-off is released.
[0239] Variation 2 of embodiment 4 FIG. 23 shows a circuit diagram illustrating a configuration example of an oscillator circuit 100i according to Modification 2 of the fourth embodiment.
[0240] As shown in FIG. 22, the oscillator circuit 100i differs from the oscillator circuit 100g in FIG. 20 in that, instead of the control switch ISWg1, it includes control switches ISWi0, ISWi1 and control switches ISWi2, ISWi3 provided at both ends of the capacitor C1.
[0241] The control switch ISWi0 is connected between the electrode of the capacitor C1 on the input node Na side and the input node Na, and is turned on and off in response to an enable signal EN0. The control switch ISWi1 is connected between the electrode of the capacitor C1 on the input node Na side and ground (GND), and is turned on and off in response to an enable signal EN1.
[0242] The control switch ISWi0 is turned off during the enable-off period (EN0=L level) and turned on during the enable-off release period (EN0=H level). Conversely, the control switch ISWi1 is turned on during the enable-off period (EN1=L level) and turned off during the enable-off release period (EN1=H level).
[0243] The control switch ISWi2 is connected between one electrode of the capacitor C1 on the node Nc side and the node Nc, and is turned on and off in response to an enable signal EN2. The control switch ISWi3 is connected between one electrode of the capacitor C1 on the node Nc side and ground (GND), and is turned on and off in response to an enable signal EN3.
[0244] The control switch ISWi2 is turned off during the enable-off period (EN2=L level) and turned on during the enable-off release period (EN2=H level). Conversely, the control switch ISWi3 is turned on during the enable-off period (EN3=L level) and turned off during the enable-off release period (EN3=H level).
[0245] In addition, between the enable signals EN0 to EN3, timing adjustments (addition of dead time) are appropriately performed so that none of the following periods occurs: a period when both control switches ISWi0 and ISWi1 are on, a period when both control switches ISWi2 and ISWi3 are on, a period when both control switches ISWi0 and ISWi3 are on, or a period when both control switches ISWi1 and ISWi2 are on.
[0246] Each of the control switches ISWi0 to ISWi3 can be configured by a transfer gate made of at least one of a P-type transistor and an N-type transistor that is turned on and off according to the enable signals EN0 to EN3. In the example of Fig. 23, the control switch ISWi0 is configured by connecting in parallel an N-type transistor MNi10 having an enable signal EN0 input to its gate and a P-type transistor MPi10 having an inverted signal EN0B of the enable signal EN0 input to its gate. The control switch ISWi1 is configured by connecting in parallel a P-type transistor MPi11 having an enable signal EN1 input to its gate and an N-type transistor MNi11 having an inverted signal EN1B of the enable signal EN1 input to its gate.
[0247] 23, the control switch ISWi3 is configured by connecting in parallel a P-type transistor MPhi13 having an enable signal EN3 input to its gate and an N-type transistor MNi13 having an inverted signal EN3B of the enable signal EN3 input to its gate.The control switch ISWi2 is configured by connecting in parallel an N-type transistor MNi12 having an enable signal EN2 input to its gate and a P-type transistor MPi12 having an inverted signal EN2B of the enable signal EN2 input to its gate.
[0248] Therefore, in the oscillation circuit 100i, both ends of the capacitor C1 are connected to the ground (GND) during the enable-off period (EN0 to EN3=L level), and the voltage difference between both electrodes of the capacitor C1 becomes zero. As a result, the charge (initial charge) held in the capacitor C1 during the enable-off period can be reset in the same way as the oscillation circuit 100e of the fourth embodiment. This makes it possible to prevent an overvoltage exceeding VDD from occurring at the input node Na when the enable-off state is released, in the same way as in the fourth embodiment.
[0249] In the oscillation circuit 100i, when the enable signals EN0 to EN3 are set to the H level, the control switches ISWi1 and ISWi3 are turned off and the control switches ISWh0 and ISWi2 are turned on, so that the circuit state becomes the same as that of the oscillation circuit 100a (FIG. 2) according to the first embodiment. Therefore, after the enable off period is released, the oscillation circuit 100i operates in the same manner as the oscillation circuit 100a, and can generate the oscillation signal Vosc.
[0250] In the oscillator circuit 100i according to the second modification of the fourth embodiment, the charge (initial charge) held in the capacitor C1 when the enable off state is released can be reset more reliably than in the oscillator circuits 100g and 100h described above.
[0251] In the fourth embodiment and its modified examples, the number of control switches can be adjusted arbitrarily. In the first to fourth embodiments and their modified examples, the node Nb corresponds to the "first node", the node Nd corresponds to the "second node", and the node Nc corresponds to the "fourth node". In the present embodiment, an example in which the second logic circuit 30 is composed of two inverters (INV2, INV3) has been shown, so the node Nd also corresponds to the "third node" to which the feedback resistor 40 is connected.
[0252] In the first to fourth embodiments and their modified examples, the second logic circuit 30 is configured with two inverters (logic inversion circuits), but the number of inverters is arbitrary. In this case, the feedback capacitance 50 can be connected between the input node Na and the output node of any logic inversion circuit (inverter) in which an even number of inverters (logic inversion circuits) are connected in series between the input node Na and the output node of any logic inversion circuit (inverter). Similarly, the feedback resistor 40 can be connected between the input node Na and the output node of any logic inversion circuit (inverter) in which an odd number of inverters (logic inversion circuits) are connected in series between the input node Na and the output node of any logic inversion circuit (inverter).
[0253] Moreover, the oscillation signal Vosc does not need to be the output of the final stage inverter of the second logic circuit 30, and any output signal of at least one inverter constituting the second logic circuit 30 can be used as the oscillation signal Vosc.
[0254] In addition, in the first to fourth embodiments and their modified examples, the transistors that control the connection of the resistors or inverters (the transistors that constitute the selection unit 20 and the resistance control unit 45) are exemplified as field effect transistors, but the transistors that control the switches can also be replaced with bipolar transistors. That is, the P-type switch transistor can also be configured with a pnp-type bipolar transistor, and the N-type switch transistor can also be configured with an npn-type bipolar transistor.
[0255] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The technical scope of the present disclosure is defined by the claims, not the above description, and is intended to include all modifications within the meaning and scope of the claims. [Explanation of symbols]
[0256] 10 first logic circuit, 20 selection unit, 25, 26 delay adjustment circuit, 30 second logic circuit, 40 feedback resistor, 45 resistance control unit, 50 feedback capacitance, 90 control circuit, 100a to 100i oscillation circuit, 201 to 203 circuit block, C1 capacitor, CINV, CINV1 to CINVN, CINV11 to CINV13, VCINV clocked inverter, CNT1, CNT2, VISW, VISW1 to VISW3, VISW1B, VISW1B to VISW3B, VISWN[N:1], VISWP[N:1], VRSW1 to VRSW3 control signal, EN0 to EN3 enable signal, EN0B to EN3B inverted signal (enable signal), Cgdn, Cgsp gate capacitance, Cpn, Cpp parasitic capacitance, Coc Capacitance value (feedback capacitance), DDSW, DDSW1 to DDSW3, DSW, DSW1 to DSW3, DSW11 to DSW13 dummy switch circuit, GND ground voltage, INV, INV1, INV2, INV3, INV11 to INV13, INV11X to INV13X inverter, ISWg1, ISWh0 to ISWh1, ISWi0 to ISWi2 control switch, IPT1 to IPT3, IPT11 to IPT13, IPT21 to IPT23, IPT31 to IPT33, IPTM first stage inverter path, ISW, ISW1 to ISW3, ISW11 to ISW13 switch circuit, NL ground line, Na input node, Nb to Nd nodes, No output node (inverter), PL power line, Spl pulse signal, R1 to R3 resistor element, Roc resistance value (feedback resistor), Tdn 1st delay time (rising edge), Tdp 2nd delay time (falling edge), Tosc oscillation period, VDD power supply voltage, Vinv inversion threshold voltage, Vosc oscillation signal.
Claims
1. a plurality of signal paths each configured to pass through a first logic inverter circuit that generates an output signal that is set to a first logic level or a second logic level according to a comparison result between a voltage at an input node and an inversion threshold voltage; a selection unit that selects one of the plurality of signal paths and transmits the output signal to a first node; at least one second logic inverter circuit connected in series between a second node and the first node; a feedback resistor connected between a third node, which is either an input side or an output side of the second logic inversion circuit, and the input node; a fourth node which is an input side or an output side of the second logic inversion circuit and is different from the third node, and a feedback capacitance connected between the input node and the fourth node; the plurality of signal paths are formed such that at least one of the inversion threshold voltage of the first logic inversion circuit included in each signal path and an edge propagation delay difference of the output signal in each signal path is different from one another; an oscillator circuit, wherein the edge propagation delay difference corresponds to the difference between a first delay time occurring during a first transition from the first logic level to the second logic level and a second delay time occurring during a second transition from the second logic level to the first logic level.
2. the plurality of signal paths each include a plurality of the first logic inversion circuits, each of which has an input side commonly connected to the input node and has the inversion threshold voltage different from one another; the selection unit includes, in each of the plurality of signal paths, a switch circuit connected in series with the first logic inversion circuit between the input node and the first node, 2. The oscillation circuit according to claim 1, wherein the selection section turns on the switch circuit in the selected one of the signal paths based on a control signal.
3. The oscillator circuit includes: a first delay adjustment circuit for providing an equal delay time to each of the first transition and the second transition of the output signal in the selected one of the signal paths; 3. The oscillator circuit according to claim 2, wherein the delay times provided by the first delay adjustment circuit differ among the plurality of signal paths.
4. the first delay adjustment circuit includes a first dummy switch circuit connected in series with the switch circuit between the first logic inversion circuit and the first node in each of the plurality of signal paths; the first dummy switch circuit is configured to perform an on / off operation in a complementary manner with the switch circuit connected in series, and to provide an equal delay time to each of the first transition and the second transition of the output signal; 4. The oscillation circuit according to claim 3, wherein the delay times provided by the first dummy switch circuits differ among the plurality of signal paths.
5. the plurality of signal paths are configured to branch the output signal of the common first logic inversion circuit into a plurality of paths; the selection unit includes a switch circuit connected in series with the first logic inversion circuit between the input node and the first node in each of the plurality of signal paths, and is configured to turn on the switch circuit in the one signal path selected based on a control signal; The oscillator circuit includes: a second delay adjustment circuit connected between an output side of the first logic inversion circuit and the first node; the second delay adjustment circuit applies the first delay time and the second delay time to the first transition and the second transition of the output signal, respectively, in the one selected signal path; 2. The oscillation circuit according to claim 1, wherein a difference between the first delay time and the second delay time provided by the second delay adjustment circuit differs among the plurality of signal paths.
6. the plurality of signal paths are configured by branching each of outputs of a first plurality of the first logic inversion circuits, the input sides of which are commonly connected to the input node and the inversion threshold voltages of which are different from one another, into a second plurality of outputs; the selection unit includes a switch circuit connected between an output side of one of the first plurality of first inversion logic circuits and the first node in each of the plurality of signal paths; the selection unit turns on the switch circuit in the one selected signal path based on a control signal; The oscillator circuit includes: a second delay adjustment circuit for applying the first delay time and the second delay time to the first transition and the second transition of the output signal in the selected one signal path; 2. The oscillation circuit according to claim 1, wherein a difference between the first delay time and the second delay time provided by the second delay adjustment circuit differs among the plurality of signal paths.
7. the second delay adjustment circuit includes, in each of the plurality of signal paths, a second dummy switch circuit connected in series with the switch circuit between the first logic inversion circuit and the first node, the second dummy switch circuit is configured to perform an on / off operation complementary to the switch circuit connected in series with the second dummy switch circuit, and to provide the first delay time and the second delay time to the first transition and the second transition of the output signal, respectively; 6. The oscillation circuit according to claim 5, wherein a difference between the first delay time and the second delay time provided by the second dummy switch circuit differs among the plurality of signal paths.
8. the first logic inversion circuit includes a P-type field effect transistor and an N-type field effect transistor, the gates of which are commonly connected to the input node; the N-type field effect transistor is connected between a first wiring that supplies a first voltage corresponding to the first logic level and an output node at which the output signal is generated; the P-type field effect transistor is connected between a second wiring supplying a second voltage corresponding to the second logic level and the output node; Between the first logic inversion circuits having different inversion threshold voltages, 2. The oscillator circuit according to claim 1, wherein a ratio of a transistor size of said P-type field effect transistor to a transistor size of said N-type field effect transistor is different.
9. the plurality of signal paths each include, as the first logic inversion circuit, a plurality of clocked inverters whose input sides are commonly connected to the input node and whose inversion threshold voltages are different from one another; 2. The oscillator circuit of claim 1, wherein the selection section controls operation and stopping of each of the plurality of clocked inverters based on a control signal, and selects the one signal path by operating one of the plurality of clocked inverters.
10. The oscillator circuit includes: a first delay adjustment circuit disposed between the plurality of clocked inverters and the first node; the first delay adjustment circuit is configured to impart an equal delay time to each of the first transition and the second transition of the output signal in the selected one signal path; 10. The oscillator circuit according to claim 9, wherein the delay times provided by the first delay adjustment circuit differ among the plurality of signal paths.
11. the first delay adjustment circuit includes a first dummy switch circuit connected between each of the clocked inverters and the first node in each of the plurality of signal paths; the first dummy switch circuit is configured to provide an equal delay time to each of the first transition and the second transition of the output signal in the selected one signal path while being fixed to an off state; The oscillation circuit according to claim 10 , wherein the delay times provided by the first dummy switch circuits differ among the plurality of signal paths.
12. the first logic inversion circuit is configured to selectively form one inverter among a plurality of inverters having different inversion threshold voltages between the input node and the first node in response to a first control signal and a second control signal each having a plurality of bits; each of the plurality of signal paths includes the plurality of inverters; 2. The oscillator circuit according to claim 1, wherein the selection section selects the one inverter from the plurality of inverters based on the first control signal and the second control signal, thereby selecting the one selected signal path.
13. The first logic inversion circuit is a plurality of clocked inverters connected in parallel between a first wiring that supplies a first voltage corresponding to the first logic level and a second wiring that supplies a second voltage corresponding to the second logic level; Each of the plurality of clocked inverters an N-type field effect transistor and a first switch transistor connected in series between the first wiring and an output node at which the output signal is generated; a P-type field effect transistor and a second switch transistor connected in series between the second wiring and the output node; The gates of the N-type field effect transistor and the P-type field effect transistor of each of the clocked inverters are commonly connected to the input node, In the plurality of clocked inverters, each of the first switch transistors is turned on and off in response to a different bit of the first control signal, and each of the second switch transistors is turned on and off in response to a different bit of the second control signal, in the first logic inversion circuit, a first transistor size of at least one N-type field effect transistor connected in parallel between the output node and the first wiring is changed stepwise as a whole by turning on the first switch transistor in response to the first control signal, and a second transistor size of at least one P-type field effect transistor connected in parallel between the output node and the second wiring is changed stepwise as a whole by turning on the second switch transistor in response to the second control signal, The oscillator circuit according to claim 12 , wherein a ratio of the first transistor size to the second transistor size varies among the plurality of signal paths.
14. The second delay adjustment circuit includes a second dummy switch circuit connected in series with the switch circuit between the first logic inversion circuit and the first node in each of the plurality of signal paths, the second dummy switch circuit is configured to perform an on / off operation complementary to the switch circuit connected in series with the second dummy switch circuit, and to provide the first delay time and the second delay time to the first transition and the second transition of the output signal, respectively; 7. The oscillation circuit according to claim 6, wherein a difference between the first delay time and the second delay time provided by the second dummy switch circuit differs among the plurality of signal paths.
15. at least one of the first logic inversion circuit and the second logic inversion circuit is configured such that an output signal is fixed to either the first logic level or the second logic level during an enable-off period in response to an enable signal; The oscillator circuit includes: at least one control switch that is provided in correspondence with at least one of the electrodes on both sides of the feedback capacitance and that is turned on and off in response to the enable signal; The oscillation circuit according to any one of claims 1 to 14, wherein the at least one control switch operates such that the feedback capacitance is connected between the fourth node and the input node when the enable-off period is released, while changing a connection destination of the at least one electrode from when the enable-off period is released so that a voltage difference between the electrodes on both sides becomes zero during the enable-off period.
16. 16. The oscillator circuit according to claim 15, wherein the at least one control switch operates to connect one or both electrodes of the feedback capacitance to ground during the enable-off period.
17. 16. The oscillator circuit according to claim 15, wherein the at least one control switch operates such that the feedback capacitance is connected between the first node and the input node during the enable-off period.
Citation Information
Patent Citations
Clock circuit
JP1995202687A
Astable multivibrator
JP1996116239A
Oscillation device, display data processor, matrix-type display device, oscillation signal generating method and display data processing method
JP2001223564A
Delay circuit and delay lock loop device
JP2005051673A
Clock signal generation circuit
JP2019012944A
