Oscillation circuit and semiconductor integrated circuit
The oscillation circuit addresses the trade-off between startup time and current consumption by using a variable current supply capability in its transistors, achieving faster startup with reduced power usage.
Patent Information
- Application Number
- JP2023052371
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
There is a trade-off relationship between current consumption and startup time in oscillation circuits, with reducing current consumption leading to longer startup times in semiconductor integrated circuits.
An oscillation circuit design that includes a first N-channel transistor and a P-channel transistor with variable current supply capability, where the current supply capacity is increased during startup to speed up the response and reduced during steady oscillation to suppress power consumption.
The design shortens startup time while maintaining low current consumption by adjusting the current supply capacity of the P-channel transistor.
Smart Images

Figure 2024140972000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an oscillator circuit. [Background technology]
[0002] In semiconductor integrated circuits, crystal oscillators are used to generate clock signals with highly accurate frequencies. A crystal oscillator includes a crystal unit that is externally attached to the semiconductor integrated circuit and an oscillation circuit that is integrated into the semiconductor integrated circuit. Summary of the Invention [Problem to be solved by the invention]
[0003] There is an increasing demand for lower power consumption in semiconductor integrated circuits, and the current consumption of oscillator circuits is no exception. However, there is a trade-off between the current consumption and start-up time of an oscillator circuit, and reducing the current consumption results in a longer start-up time.
[0004] The present disclosure has been made in view of the above problems, and an exemplary purpose of an embodiment of the present disclosure is to provide an oscillation circuit that reduces current consumption and shortens start-up time. [Means for solving the problem]
[0005] An oscillator circuit according to an embodiment of the present disclosure includes a first terminal to which a first end of a quartz crystal unit is to be connected, a second terminal to which a second end of the quartz crystal unit is to be connected, a first resistor connected between the first terminal and the second terminal, an N-channel first transistor having a source grounded, a gate connected to the first terminal, and a drain connected to the second terminal, and a P-channel second transistor having a drain connected to the drain of the first transistor and a gate to which a bias voltage is applied, wherein the current supply capability of the second transistor when the oscillator circuit is started up is greater than the current supply capability of the oscillator circuit during steady-state oscillation. Effect of the Invention
[0006] According to an aspect of the present disclosure, it is possible to reduce the startup time while suppressing current consumption. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a circuit diagram of an oscillator including an oscillation circuit according to an embodiment. [Diagram 2] FIG. 2 is an operational waveform diagram when the current supply capability of the second transistor is fixed at a low state. [Diagram 3] FIG. 3 is an operational waveform diagram of the crystal oscillator according to the embodiment. [Figure 4] FIG. 4 is a circuit diagram of the crystal oscillator in accordance with the first embodiment. [Diagram 5] FIG. 5 is a circuit diagram showing a specific example of the crystal oscillator of FIG. [Figure 6] FIG. 6 is a circuit diagram of a crystal oscillator in accordance with the second embodiment. [Figure 7] FIG. 7 is a circuit diagram showing an example of the configuration of a current source. [Figure 8] FIG. 8 is a diagram showing a current generated by a current source. [Figure 9] FIG. 9 is a circuit diagram showing an example of the configuration of the second current source of FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] (Overview of the embodiment) A summary of some exemplary embodiments of the present disclosure will be described. This summary is intended to provide a simplified overview of some concepts of one or more embodiments for a basic understanding of the embodiments as a prelude to the detailed description that follows, and is not intended to limit the scope of the invention or disclosure. This summary is not intended to be an exhaustive overview of all possible embodiments, nor is it intended to identify key elements of all embodiments or to delineate the scope of some or all aspects. For convenience, the term "one embodiment" may be used to refer to one embodiment (example or variant) or multiple embodiments (examples or variants) disclosed in this specification.
[0009] An oscillator circuit according to one embodiment includes a first terminal to which a first end of a quartz crystal unit should be connected, a second terminal to which a second end of the quartz crystal unit should be connected, a first resistor connected between the first terminal and the second terminal, an N-channel first transistor having a source grounded, a gate connected to the first terminal, and a drain connected to the second terminal, and a P-channel second transistor having a drain connected to the drain of the first transistor and a bias voltage applied to its gate, wherein the current supply capability of the second transistor when the oscillator circuit is started up is greater than the current supply capability of the oscillator circuit during steady-state oscillation.
[0010] According to this embodiment, during startup, the current supply capacity of the second transistor, which is the load of the first transistor, is increased, thereby increasing the response speed of the first transistor and enabling fast startup. After startup is complete, while steady oscillation is occurring, the current supply capacity of the second transistor is reduced, thereby reducing power consumption.
[0011] In one embodiment, the oscillator circuit may further include a P-channel third transistor having a gate and a source connected to the gate of the second transistor and forming a current mirror circuit together with the second transistor.
[0012] In one embodiment, the oscillator circuit may have a variable size of the second transistor. At startup, the size of the second transistor may be increased to increase the current supplied to the first transistor. During steady oscillation, the size of the second transistor may be decreased to decrease the current supplied to the first transistor.
[0013] In one embodiment, the size of the second transistor of the oscillator circuit may be switchable between two stages. By providing two stages, start-up control can be simplified.
[0014] In one embodiment, the size of the second transistor may be switchable in multiple steps. By switching in multiple steps, the current supplied to the first transistor can be switched in stages, thereby suppressing fluctuations in frequency and duty cycle caused by the switching.
[0015] In one embodiment, the oscillator circuit may further include a current source that supplies a current to the third transistor. The current generated by the current source may be variable. This allows the bias voltage supplied to the second transistor to be changed, and the current supply capability of the second transistor to be changed.
[0016] In one embodiment, the current generated by the current source may be continuously decreased from a first current amount to a second current amount less than the first current amount, thereby allowing the current supplied to the first transistor to be switched in stages, thereby suppressing fluctuations in frequency and duty cycle due to the switching.
[0017] In one embodiment, the current source may include a second resistor having a first terminal grounded, a fourth transistor having a first terminal connected to the second terminal of the second resistor, an operational amplifier having an output connected to a gate of the fourth transistor and a first input connected to the second terminal of the second resistor, and a voltage source supplying a reference voltage that decreases over time from the start of startup to the second input of the operational amplifier.
[0018] In one embodiment, the voltage source includes a capacitor, a charging circuit that charges the capacitor before start-up, and a discharging circuit that discharges the capacitor after start-up, and the voltage of the capacitor may be a reference voltage.
[0019] A semiconductor integrated circuit according to an embodiment may include any of the oscillator circuits described above.
[0020] (Embodiment) The present invention will be described below based on preferred embodiments with reference to the drawings. The same or equivalent components, parts, and processes shown in each drawing are given the same reference numerals, and duplicated descriptions are omitted as appropriate. In addition, the embodiments are illustrative rather than limiting the invention, and all features and combinations thereof described in the embodiments are not necessarily essential to the invention.
[0021] In this specification, "a state in which component A is connected to component B" includes not only a case in which component A and component B are directly physically connected to each other, but also a case in which component A and component B are indirectly connected to each other via other components that do not substantially affect the electrical connection state between them or that do not impair the function or effect achieved by their combination.
[0022] Similarly, "a state in which component C is provided between components A and B" includes not only the case in which components A and C, or components B and C, are directly connected to each other, but also the case in which they are indirectly connected to each other via other components that do not substantially affect the electrical connection between them or that do not impair the functions or effects achieved by their combination.
[0023] 1 is a circuit diagram of an oscillator 100 including an oscillation circuit 200 according to an embodiment. The crystal oscillator 100 includes a crystal unit 102 and the oscillation circuit 200.
[0024] The oscillator circuit 200 is integrated in a semiconductor integrated circuit 202. The function of the semiconductor integrated circuit 202 is not particularly limited, and may be an ASIC (Application Specific Integrated Circuit) such as a power supply IC or a motor driver, or may be a microcomputer.
[0025] The semiconductor integrated circuit 202 has a first terminal IN and a second terminal OUT. One end of a crystal unit 102, which is an external component, is connected to the first terminal IN, and the other end of the crystal unit 102 is connected to the second terminal OUT. External capacitors C1 and C2 are connected to the first terminal IN and the second terminal OUT, respectively.
[0026] The oscillator circuit 200 includes a first transistor M1, a second transistor M2, and a first resistor R1.
[0027] The first resistor R1 is connected between the first terminal IN and the second terminal OUT. The first transistor M1 is an N-channel Metal Oxide Semiconductor Field Effect Transistor (MOSFET). The source of the first transistor M1 is grounded, the gate is connected to the first terminal IN, and the drain is connected to the second terminal OUT.
[0028] The second transistor M2 is a P-channel MOSFET, the drain of which is connected to the drain of the first transistor M1, and the gate of which is applied with a bias voltage Vb The second transistor M2 functions as a load circuit for the first transistor M1.
[0029] The second transistor M2 has a variable current supply capacity. The current supply capacity of the second transistor M2 at the start of the oscillation circuit 200 is increased compared to the current supply capacity during steady oscillation of the oscillation circuit 200. The control circuit 210 controls the capacity of the second transistor M2. Since the crystal oscillator 100 starts operating together with the start of the semiconductor integrated circuit 202, the crystal oscillator 100 may start its startup using the start of the semiconductor integrated circuit 202, i.e., the supply of the power supply voltage Vdd, as a trigger.
[0030] The above is the configuration of the oscillator circuit 200. Next, the operation of the oscillator circuit 200 will be described.
[0031] For comparison, the operation will be described when suppressing power consumption is given priority and the capability of the second transistor M2 is fixed at a low level.
[0032] 2 is an operational waveform diagram when the current supply capability of the second transistor M2 is fixed at a low state. In FIG. 2, the voltage VIN of the first terminal IN and the voltage CLKOUT of the second terminal OUT are shown. At time t0 when the start-up starts, the first transistor M1 is off, and the output signal CLKOUT is equal to the power supply voltage V DD , the input voltage VIN is 0 V. The input signal VIN and the output signal CLKOUT are complementary signals.
[0033] At the start of startup, the input signal VIN is DD The midpoint voltage V DD / 2, and the output signal CLKOUT rises to the midpoint voltage V DD When the current supply capability of the second transistor M2 is low, the input signal VIN and the output signal CLKOUT decrease toward the midpoint voltage V DD / 2, it takes longer to start oscillation (t1). After oscillation starts, the amplitudes of the input signal VIN and the output signal CLKOUT increase over time, but if the current supply capability of the second transistor M2 is low, the rate at which the amplitudes increase is slow, and so the time until the square wave clock signal CLK is output also becomes long.
[0034] Next, an operation when the current supply capability of the second transistor M2 is changed will be described.
[0035] 3 is an operational waveform diagram of the crystal oscillator 100 according to the embodiment. At the time of startup, since the current supply capability of the second transistor M2 is high, the input signal VIN and the output signal CLKOUT reach the midpoint voltage V DD / 2, and oscillation starts at time t1' which is earlier than time t1 in FIG.
[0036] Furthermore, since the current supply capability of the second transistor M2 is high, the rate at which the amplitude increases is faster than the rate at which the amplitude increases in the power supply voltage V DDWhen the input current reaches 1 V, a square wave clock signal is output and startup of the crystal oscillator 100 is completed. When startup of the crystal oscillator 100 is completed, the current supply capability of the second transistor M2 is reduced. This reduces the current consumption of the crystal oscillator 100 in a steady oscillation state.
[0037] According to this oscillator circuit 200, by changing the current supply capability of the second transistor M2, it is possible to reduce the start-up time while suppressing an increase in current consumption.
[0038] The present disclosure covers various devices and methods that can be understood as the block diagram or circuit diagram in Fig. 1 or derived from the above description, and is not limited to a specific configuration. Below, more specific configuration examples and examples will be described in order to aid in understanding the essence and operation of the present disclosure and the present invention and to clarify them, without narrowing the scope of the present disclosure.
[0039] 4 is a circuit diagram of the crystal oscillator 100A according to the first embodiment. The oscillator circuit 200 includes a third transistor M3 and a current source CS1. The third transistor M3 is a P-channel MOSFET, and the second transistor M2 and the third transistor M3 form a current mirror circuit CM1. The third transistor M3 is connected to the current source CS1, and a constant current I REF is supplied.
[0040] The current mirror circuit CM1 is configured to have a variable current mirror ratio (1:M). Specifically, the second transistor M2 is configured to have a switchable transistor size (W / L: W: gate width, L: gate length).
[0041] The control circuit 210 controls the size of the second transistor M2 to control the current mirror ratio 1:M.
[0042] Fig. 5 is a circuit diagram showing a specific example (100Aa) of the crystal oscillator 100A of Fig. 4. The second transistor M2 includes a plurality of transistor elements M2_0 and M2_1 to M2_n connected in parallel, where n is 1 or an integer equal to or greater than 2. Switches SW1 to SWn are connected to the sources of the transistor elements M2_1 to M2_n. When the i-th (1 ≦ i ≦ n) switch SWi is on, the corresponding transistor element M2_i becomes effective as a part of the second transistor M2.
[0043] The size of the transistor element M2_0 determines the current supply capability in a steady oscillation state, and the sizes of the transistor elements M2_1 to M2_n determine the current supply capability at startup.
[0044] The control circuit 210 controls the switches SW1 to SWn. Specifically, at startup, the switches SW1 to SWn are sequentially controlled so that the effective size of the transistor M2 decreases over time. This causes the current mirror ratio of the current mirror circuit CM1 to decrease over time, and the current supply capability of the second transistor M2 to decrease over time.
[0045] When n=1, the control can be simplified by turning on the switch SW1 during startup and turning off the switch SW1 after startup is complete. However, turning off the switch SW1 may cause fluctuations in the frequency and duty cycle of the crystal oscillator 100Aa.
[0046] When n≧2, multiple switches SW1 to SWn need to be sequentially controlled during startup, which complicates the configuration of the control circuit 210. However, this has the advantage that the size of the second transistor M2 is switched in stages, which suppresses frequency fluctuations and duty cycle fluctuations of the crystal oscillator 100Aa.
[0047] 6 is a circuit diagram of a crystal oscillator 100B according to a second embodiment. In the oscillator circuit 200B, the size of the second transistor M2 is fixed, and instead, the current source CS2 is a variable current source. The control circuit 210 controls the current source CS2 so that the current Iv supplied to the third transistor M3 is large at startup and small in a steady oscillation state after startup is complete.
[0048] 7 is a circuit diagram showing an example of the configuration of the current source CS2. The current source CS2 includes a first current source CS2a that generates a constant current I0 and a second current source CS2b that generates a gradually changing current I1. The sum of the two currents I0 and I1 is supplied to the third transistor M3 as a current Iv. The gradually changing current I1 generated by the second current source CS2b has a certain current amount I MAX It decreases over time from
[0049] 8 is a diagram showing a current Iv generated by the current source CS2. The current Iv is I0+I MAX and decreases over time. A current M times the current Iv flows through the second transistor M2 and is supplied to the first transistor M1.
[0050] Fig. 9 is a circuit diagram showing a configuration example of the second current source CS2b of Fig. 7. The second current source CS2b includes a variable voltage source 220 and a voltage / current conversion circuit 230. The variable voltage source 220 generates a gradually changing voltage V1 that decreases from a certain voltage level Va toward 0V.
[0051] The voltage / current conversion circuit 230 converts the gradually changing voltage V1 into a gradually changing current I1. The gradually changing current I1 is a voltage proportional to the gradually changing voltage V1.
[0052] The voltage / current conversion circuit 230 includes a fourth transistor M4, a second resistor R2, and an operational amplifier OA1. One end of the second resistor R2 is grounded. The source of the fourth transistor M4 is connected to the second resistor R2. The inverting input terminal of the operational amplifier OA1 is connected to the second resistor R2, and a gradually changing voltage V1 is applied to the non-inverting input terminal. The input / output characteristics of the voltage / current conversion circuit 230 are expressed by the following equation. I1=V1 / R2
[0053] The variable voltage source 220 includes a capacitor C11, a charging circuit 222, and a discharging circuit 224. The charging circuit 222 applies a voltage Va to the capacitor C11 and initializes the gradually changing voltage V1. For example, the charging circuit 222 includes a switch SW11.
[0054] The discharge circuit 224 sinks a current from the capacitor C11 to reduce the gradually varying voltage V1. For example, the discharge circuit 224 includes a switch SW12 and a constant current source CS3. A resistor may be used instead of the constant current source CS3.
[0055] According to this configuration, a gradually changing current I1 that decreases over time can be generated.
[0056] The present invention has been described using specific terms based on the embodiments, but the embodiments merely illustrate the principles and applications of the present invention, and many modifications and changes in arrangement are permitted to the embodiments without departing from the spirit of the present invention as defined in the claims.
[0057] (Additional Note) The present specification discloses the following techniques:
[0058] (Item 1) 1. An oscillator circuit, comprising: a first terminal to which a first end of the crystal unit is to be connected; a second terminal to which a second end of the crystal unit is to be connected; a first resistor connected between the first terminal and the second terminal; a first N-channel transistor having a source grounded, a gate connected to the first terminal, and a drain connected to the second terminal; a second P-channel transistor having a drain connected to the drain of the first transistor and having a gate to which a bias voltage is applied; a current supply capability of the second transistor when the oscillation circuit is started up is greater than the current supply capability of the oscillation circuit during steady oscillation.
[0059] (Item 2) 2. The oscillator circuit of item 1, further comprising a P-channel third transistor having a gate and a source connected to the gate of the second transistor and forming a current mirror circuit with the second transistor.
[0060] (Item 3) 3. The oscillator circuit of claim 2, wherein the size of the second transistor is variable.
[0061] (Item 4) 4. The oscillator circuit of item 3, wherein the size of the second transistor is switchable in two stages.
[0062] (Item 5) 4. The oscillator circuit according to item 3, wherein the size of the second transistor is switchable in multiple steps.
[0063] (Item 6) a current source for supplying a current to the third transistor; 3. The oscillator circuit of item 2, wherein the current generated by the current source is variable.
[0064] (Item 7) 7. The oscillator circuit of claim 6, wherein the current generated by the current source decreases continuously from a first current amount to a second current amount that is less than the first current amount.
[0065] (Item 8) The current source is a second resistor having a first end grounded; a fourth transistor having a first terminal connected to the second terminal of the second resistor; an operational amplifier having an output connected to the gate of the fourth transistor and a first input connected to the second end of the second resistor; A voltage source that supplies a reference voltage that decreases over time from the start of startup to a second input of the operational amplifier; 8. The oscillator circuit of item 7, comprising:
[0066] (Item 9) The voltage source is A capacitor; a charging circuit for charging the capacitor before the start of startup; a discharge circuit that discharges the capacitor after the start of the startup; 9. The oscillator circuit of claim 8, wherein the voltage of the capacitor is the reference voltage.
[0067] (Item 10) 10. A semiconductor integrated circuit comprising the oscillator circuit according to any one of items 1 to 9. [Explanation of symbols]
[0068] 100 Crystal Oscillator 102 Crystal unit 200 Oscillator Circuit M1 First transistor M2 Second transistor M3 Third transistor R1 First resistor IN 1st terminal OUT 2nd terminal CM1 Current mirror circuit 202 Semiconductor Integrated Circuits 210 Control circuit 220 Variable Voltage Source 222 Charging circuit 224 Discharge circuit 230 Voltage / Current Conversion Circuit M4 4th transistor R2 2nd resistor OA1 Op Amp
Claims
1. 1. An oscillator circuit, comprising: a first terminal to which a first end of the crystal unit is to be connected; a second terminal to which a second end of the crystal unit is to be connected; a first resistor connected between the first terminal and the second terminal; a first N-channel transistor having a source grounded, a gate connected to the first terminal, and a drain connected to the second terminal; a second P-channel transistor having a drain connected to the drain of the first transistor and having a gate to which a bias voltage is applied; a current supply capability of the second transistor when the oscillation circuit is started up is greater than the current supply capability of the oscillation circuit during steady oscillation.
2. 2. The oscillator circuit of claim 1, further comprising a third P-channel transistor having a gate and a source connected to the gate of the second transistor and forming a current mirror circuit with the second transistor.
3. 3. The oscillator circuit of claim 2, wherein the size of the second transistor is variable.
4. 4. The oscillator circuit according to claim 3, wherein the size of the second transistor is switchable in two stages.
5. The oscillator circuit according to claim 3 , wherein a size of the second transistor is switchable in multiple steps.
6. a current source for supplying a current to the third transistor; 3. The oscillator circuit of claim 2, wherein the current generated by the current source is variable.
7. 7. The oscillator circuit of claim 6, wherein the current generated by the current source decreases continuously from a first current amount to a second current amount less than the first current amount.
8. The current source is a second resistor having a first end connected to ground; a fourth transistor having a first terminal connected to the second terminal of the second resistor; an operational amplifier having an output connected to the gate of the fourth transistor and a first input connected to the second end of the second resistor; A voltage source that supplies a reference voltage that decreases over time from the start of startup to a second input of the operational amplifier; 8. The oscillator circuit of claim 7, comprising:
9. The voltage source is A capacitor; a charging circuit for charging the capacitor before the start of startup; a discharge circuit that discharges the capacitor after the start of the startup; 9. The oscillator circuit of claim 8, comprising: a capacitor voltage that is the reference voltage.
10. A semiconductor integrated circuit comprising the oscillator circuit according to claim 1 .
