Oscillation circuit and semiconductor integrated circuit
The oscillation circuit switches between inverter and current mirror states to reduce startup time and current consumption, addressing the trade-off in semiconductor integrated circuits.
Patent Information
- Application Number
- JP2023054391
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- 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, where reducing current consumption results in longer startup times, which is a challenge in semiconductor integrated circuits.
An oscillation circuit configured to switch between a first state where the first and second transistors operate as an inverter circuit and a second state where the second and third transistors operate as a current mirror circuit, utilizing N-channel and P-channel MOSFETs and resistors to manage current flow.
The solution allows for a reduction in startup time while maintaining low current consumption, optimizing the balance between these two factors.
Smart Images

Figure 2024142267000001_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 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, an N-channel first transistor having a source grounded, a gate connected to the first terminal, and a drain connected to the second terminal, a P-channel second transistor having a drain connected to the drain of the first transistor, and a P-channel third transistor provided on a constant current path. The oscillator circuit is configured to be switchable between a first state in which the first transistor and the second transistor operate as an inverter circuit and a second state in which the second transistor and the third transistor operate as a current mirror circuit. 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 a circuit diagram showing a specific example of the configuration of the oscillator circuit. [Diagram 3] FIG. 3 is an equivalent circuit diagram of the crystal oscillator in the first state. [Figure 4] FIG. 4 is an equivalent circuit diagram of the crystal oscillator in the second state. [Diagram 5] FIG. 5 is an operational waveform diagram when the state is fixed to the second state and started up. [Figure 6] FIG. 6 is an operational waveform diagram of the crystal oscillator according to the embodiment. 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 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, an N-channel first transistor having a source grounded, a gate connected to the first terminal, and a drain connected to the second terminal, a P-channel second transistor having a drain connected to the drain of the first transistor, and a P-channel third transistor provided on a constant current path. The oscillator circuit is configured to be switchable between a first state in which the first transistor and the second transistor operate as an inverter circuit and a second state in which the second transistor and the third transistor operate as a current mirror circuit.
[0010] According to this embodiment, during the first period after the start-up, the first state is selected and the first and second transistors form an inverter, thereby increasing the start-up speed and shortening the start-up time. During the steady oscillation state after the start-up is completed, the second state is selected and the second transistor is biased by the third transistor, thereby limiting the current flowing through the first transistor, thereby reducing power consumption.
[0011] In one embodiment, the oscillator circuit may further include a first switch connected between a gate of the first transistor and a gate of the second transistor. By turning on the first switch during the first period, the first transistor and the second transistor can be operated as an inverter.
[0012] In one embodiment, the oscillator circuit may further include a second switch connected between the gate of the second transistor and the gate of the third transistor. By turning on the second switch during the second period, the second transistor and the third transistor can operate as a current mirror circuit.
[0013] A semiconductor integrated circuit according to an embodiment may include any of the oscillator circuits described above.
[0014] (Embodiment) Preferred embodiments will be described below 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 will be omitted as appropriate. In addition, the embodiments are illustrative and do not limit the invention, and all features and combinations thereof described in the embodiments are not necessarily essential to the invention.
[0015] 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.
[0016] 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.
[0017] 1 is a circuit diagram of a crystal oscillator 100 including an oscillation circuit 200 according to an embodiment. The crystal oscillator 100 includes a crystal unit 102 and an oscillation circuit 200.
[0018] 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.
[0019] 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.
[0020] The oscillator circuit 200 includes a first transistor M1, a second transistor M2, a third transistor M3, a first resistor R1, and a switching circuit 210.
[0021] 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.
[0022] The second transistor M2 is a P-channel MOSFET, and its drain is connected to the drain of the first transistor M1.
[0023] The third transistor M3 is a transistor of the same type as the second transistor M2, that is, a P-channel MOSFET, and has a gate and a drain connected together. A current source CS1 is connected to the drain of the third transistor M3.
[0024] The oscillator circuit 200 is configured to be switchable between (i) a state φ1 in which the first transistor M1 and the second transistor M2 operate as an inverter circuit, and (ii) a state φ2 in which the second transistor M2 and the third transistor M3 operate as a current mirror circuit.
[0025] 2 is a circuit diagram showing a specific configuration example (200a) of the oscillation circuit 200. The switching circuit 210a includes a first switch SW1 and a second switch SW2.
[0026] The first switch SW1 is connected between the gate of the first transistor M1 and the gate of the second transistor M2. When the first switch SW1 is turned on, the gates of the first transistor M1 and the second transistor M2 are connected to each other to form an inverter circuit.
[0027] The second switch SW2 is connected between the gate of the second transistor M2 and the gate of the third transistor M3. When the second switch SW2 is turned on, the gates of the second transistor M2 and the third transistor M3 are connected to each other, forming a current mirror circuit.
[0028] It should be understood that the configuration of the switching circuit 210a shown here is merely one example, and that there are various modified examples.
[0029] 3 is an equivalent circuit diagram of the crystal oscillator 100a in the first state φ1. The crystal oscillator 100a operates in the first state φ1 for a first period from the start of startup. The first transistor M1 and the second transistor M2 configure an inverter circuit INV1.
[0030] 4 is an equivalent circuit diagram of the crystal oscillator 100a in the second state φ2. The crystal oscillator 100a operates in the second state φ2 during a second period from the start of startup. The second transistor M2 and the third transistor M3 configure a current mirror circuit CM1, and a current that is m times (m is the current mirror ratio) the current generated by the current source CS1 flows through the second transistor M2 and is supplied to the first transistor M1.
[0031] The above is the configuration of crystal oscillator 100. Next, the operation will be described.
[0032] For comparison, the operation will be described when crystal oscillator 100 is started up in a state fixed to the second state φ2, with priority being given to suppressing power consumption.
[0033] 5 is an operational waveform diagram when the device is started up in the second state φ2. FIG. 5 shows the voltage VIN at the first terminal IN and the voltage CLKOUT at the second terminal OUT. At time t0 when the device starts up, 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.
[0034] 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 In the second state, the current supplied to the first transistor M1 is limited by the second transistor M2, so that the input signal VIN and the output signal CLKOUT are decreased 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.
[0035] Next, the operation of switching the state of the crystal oscillator 100 will be described.
[0036] 6 is an operational waveform diagram of the crystal oscillator 100 according to the embodiment. During the first period T1 after the start-up, the crystal oscillator 100 is set to the first state φ1. In the first state φ1, the gate voltage of the second transistor M2 is lower than the voltage level in the second state φ2, so that the second transistor M2 can be turned on more strongly, and the current supply capability of the second transistor M2 is increased. This increases the operating speed of the first transistor M1, and the input signal VIN and the output signal CLKOUT reach the midpoint voltage V in a short period of time. DD / 2, and oscillation starts at time t1' which is earlier than time t1 in FIG.
[0037] 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 square wave clock signal CLKOUT starts to be generated, a square wave clock signal is output and startup of the crystal oscillator 100 is completed. For a second period after startup of the crystal oscillator 100 is completed, the state is switched to the second state φ2. This limits the current flowing through the first transistor M1 and reduces the current consumption of the crystal oscillator 100 in a steady oscillation state. Note that, here, the state is switched at time t2 when the square wave clock signal CLKOUT starts to be generated as startup completion, but the timing of the switch is not particularly limited.
[0038] According to this oscillator circuit 200, by switching between the first state φ1 and the second state φ2, it is possible to reduce the start-up time while suppressing an increase in current consumption.
[0039] The embodiments described using specific terms merely illustrate the principles and applications of the present invention, and many modifications and changes in arrangement are permitted in the embodiments without departing from the spirit of the present invention as defined in the claims.
[0040] (Additional Note) The present specification discloses the following techniques:
[0041] (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; a third P-channel transistor provided on the constant current path; Equipped with An oscillator circuit configured to be switchable between a first state in which the first transistor and the second transistor operate as an inverter circuit and a second state in which the second transistor and the third transistor operate as a current mirror circuit.
[0042] (Item 2) 2. The oscillator circuit of claim 1, further comprising a first switch connected between a gate of the first transistor and a gate of the second transistor.
[0043] (Item 3) 3. The oscillator circuit of claim 1, further comprising a second switch connected between a gate of the second transistor and a gate of the third transistor.
[0044] (Item 4) A semiconductor integrated circuit comprising the oscillator circuit according to any one of items 1 to 3. [Explanation of symbols]
[0045] 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 INV1 Inverter circuit 202 Semiconductor Integrated Circuits 210 Switching circuit
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 transistor of a P channel having a drain connected to the drain of the first transistor; a third transistor of P channel biased by a constant current; Equipped with An oscillator circuit configured to be switchable between a first state in which the first transistor and the second transistor operate as an inverter circuit and a second state in which the second transistor and the third transistor operate as a current mirror circuit.
2. 2. The oscillator circuit of claim 1, further comprising a first switch connected between a gate of the first transistor and a gate of the second transistor.
3. 3. The oscillator circuit according to claim 1, further comprising a second switch connected between the gate of the second transistor and the gate of the third transistor.
4. A semiconductor integrated circuit comprising the oscillator circuit according to claim 1 or 2.
