Circuit device and oscillator

The circuit device addresses current consumption and data integrity issues by enabling the reset circuit to reload configuration data upon transitioning from standby, ensuring accurate operation and reduced power usage.

JP7552800B2Active Publication Date: 2024-09-18SEIKO EPSON CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023096012
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-06-12
Publication Date
2024-09-18
Estimated Expiration
2038-07-20

AI Technical Summary

Technical Problem

Circuit devices in standby mode face issues with current consumption and data integrity due to the inability to stop the power-on reset circuit, leading to potential data loss and incorrect operation upon resuming from standby.

Method used

A circuit device with a reset circuit that enables and disables based on a control signal, allowing the circuit to reload correct configuration data from a nonvolatile memory upon transitioning from standby mode, thereby reducing current consumption and ensuring accurate operation.

Benefits of technology

The solution effectively reduces current consumption in standby mode while ensuring the circuit operates with correct configuration data, preventing data loss and maintaining operational integrity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007552800000006
    Figure 0007552800000006
  • Figure 0007552800000005
    Figure 0007552800000005
  • Figure 0007552800000007
    Figure 0007552800000007
Patent Text Reader

Abstract

To provide a circuit device capable of reducing current consumption of a circuit device in a standby mode by stopping an operation of a power-on reset circuit in a standby mode, an oscillator, an electronic device, a moving object, and the like.SOLUTION: A circuit device 100 includes a first mode to output a clock signal and a second mode not to output a clock signal. The circuit device 100 includes an oscillation circuit 10, a nonvolatile memory 40 that stores characteristic adjustment data of the oscillation circuit 10, a reset circuit 70 that generates a reset signal XPORB, and a storage circuit 60 to which characteristic adjustment data is loaded from the nonvolatile memory 40 when the reset signal XPORB changes from active to inactive. The reset circuit 70 changes the reset signal XPORB from active to inactive when the mode transitions from the second mode to the first mode.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a circuit device and oscillation vessel etc. [Background technology]

[0002] A power-on reset circuit is known that releases a reset state of a circuit device when power is applied to the circuit device. Also, a method is known in which, when the reset state of the circuit device is released, setting data of the circuit device is loaded from a non-volatile memory to a register to initialize the circuit device. Also, a method is known in which, based on an enable signal input from a terminal or the like, the circuit device is set to a standby mode to reduce the current consumption of the circuit device.

[0003] For example, Patent Document 1 discloses a technique for returning an oscillator device from a standby mode. In Patent Document 1, the oscillator device includes an oscillator core, a capacitive loading unit connected to the oscillator core, and a memory device. The memory device includes a first memory unit and a second memory unit, and is connected to the capacitive loading unit. The first memory unit stores a first value supplied to the capacitive loading unit to control the capacitance value during a startup period of the oscillator device. The second memory unit stores a second value supplied to the capacitive loading unit to control the capacitance value during an operation period of the oscillator device. This allows flexible startup control and reduces the complexity required to frequently switch the oscillator to the standby mode. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Special Publication No. 2009-517905 Summary of the Invention [Problem to be solved by the invention]

[0005] In standby mode, the operation of the circuit device is stopped, so current consumption can be reduced. However, if the operation of the power-on reset circuit is stopped in standby mode, there is a problem in that the circuit device will not be reset if an abnormality such as a momentary power outage occurs. A momentary power outage is a phenomenon in which the power supply voltage supplied to the circuit device temporarily drops. If a momentary power outage occurs in standby mode, there is a risk that the setting data stored in the register will be corrupted, but since the circuit device is not reset, the setting data will not be reloaded from the non-volatile memory. Therefore, when returning from standby mode, there is a risk that the operation of the circuit device will be resumed with inappropriate setting data.

[0006] In order to reduce current consumption in the standby mode, it is desirable to stop the operation of the power-on reset circuit, but for the reasons mentioned above, it has not been possible to stop the operation of the power-on reset circuit. [Means for solving the problem]

[0007] One aspect of the present invention relates to a circuit device having a first mode in which a clock signal is output and a second mode in which a clock signal is not output, the circuit device including an oscillator circuit that generates the clock signal, a non-volatile memory in which characteristic adjustment data for the oscillator circuit is stored, a reset circuit that generates a reset signal, and a memory circuit into which the characteristic adjustment data is loaded from the non-volatile memory when the reset signal goes from active to inactive, the reset circuit changing the reset signal from active to inactive when transitioning from the second mode to the first mode. [Brief description of the drawings]

[0008] [Figure 1] FIG. 4 is a circuit diagram of a reset circuit for explaining the operation at power-on. [Diagram 2] FIG. 4 is a waveform diagram illustrating the operation of a reset circuit when power is turned on. [Diagram 3] 3 shows an example of the configuration of a circuit device according to the present embodiment. [Figure 4] 3 shows a detailed configuration example of a reset circuit in the present embodiment. [Diagram 5] 5 is a waveform diagram illustrating the operation of the reset circuit in the embodiment. [Figure 6] An example of an oscillator configuration. [Figure 7] A detailed configuration example of a temperature compensation circuit. [Figure 8] Example of electronic device configuration. [Figure 9] An example of a moving object. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] A preferred embodiment of the present invention will be described in detail below. Note that the embodiment described below does not unduly limit the content of the present invention described in the claims, and all of the configurations described in the embodiment are not necessarily essential as the solution of the present invention.

[0010] 1.Circuit device

[0011] First, the operation of a reset circuit that releases a circuit device from a reset state when the circuit device is powered on will be described. Fig. 1 is a circuit diagram of a reset circuit 80. Fig. 2 is a waveform diagram illustrating the operation of the reset circuit 80.

[0012] 1, the reset circuit 80 includes a voltage generation circuit 81 that generates a voltage VDETA, a reference voltage generation circuit 82 that generates a reference voltage VRA, and a comparator 83 that compares the voltage VDETA with the reference voltage VRA. The voltage generation circuit 81 includes a transistor TPA1 and resistors RA1 and RA2. The reference voltage generation circuit 82 includes transistors TPA2 and TPA3, a current source IBA, a bipolar transistor BPA, and a resistor RA3. The transistors TPA1 to TPA3 are P-type transistors.

[0013] The transistors TPA2 and TPA3 and the current source IBA form a current mirror circuit. As shown in Fig. 2, when the power supply voltage VDD supplied to the reset circuit 80 increases, the mirror current flowing through the transistor TPA3 gradually increases, and the reference voltage VRA increases. The reference voltage VRA increases to a voltage determined by the base-emitter voltage of the bipolar transistor BPA and the voltage drop across the resistor RA3.

[0014] A reference voltage VRA is input to the gate of the transistor TPA1. The threshold voltage of the transistor TPA1 is Vthp. When the power supply voltage VDD reaches VRA+Vthp, the transistor TPA1 turns on and the voltage VDETA starts to rise. The voltage VDETA is the voltage obtained by dividing the power supply voltage VDD by resistors RA1 and RA2. When the voltage VDETA exceeds the reference voltage VRA, the output signal of the comparator 83 transitions from low level to high level. This output signal is the reset signal XPORA. The reset signal XPORA is a reset signal for the circuit device including the reset circuit 80. That is, when the reset signal XPORA is at a low level, the circuit device is in a reset state, and when the reset signal XPORA is at a high level, the circuit device is in a reset release state. The reset state is a non-operating state of the circuit device. The reset release state is a state in which the reset state is released, that is, an operating state of the circuit device.

[0015] As will be described later with reference to FIG. 3, the circuit device of this embodiment switches between a normal operation mode and a standby mode based on a control signal EN. The control signal EN is also called an enable signal. In the standby mode, analog circuits such as the oscillator circuit 10 are set to a disabled state, thereby reducing current consumption in the standby mode. Assume that a reset circuit 80 is applied to such a circuit device. Since the reset circuit 80 is not controlled by the control signal EN, the operation of the reset circuit 80 is enabled even in the standby mode. Therefore, current consumption flows through the reset circuit 80 even in the standby mode, and the current consumption in the standby mode increases accordingly.

[0016] On the other hand, suppose that the reset circuit 80 is configured so that it can be set to a disabled state in standby mode. However, in standby mode, the setting data stored in the memory circuit 60 may be rewritten to inaccurate data. For example, it is assumed that the setting data may be rewritten to inaccurate data due to a momentary power outage or noise. Since the oscillator circuit 10 operates based on the setting data stored in the memory circuit 60, there is a risk that the oscillator circuit 10 will operate based on inaccurate setting data when returning from standby mode.

[0017] 3 shows an example of the configuration of the circuit device 100 of this embodiment. The circuit device 100 includes a non-volatile memory 40, a storage circuit 60, an oscillator circuit 10, a reset circuit 70, and terminals T1 and T2. The circuit device 100 generates a clock signal using the oscillator circuit 10. The circuit device 100 is, for example, an integrated circuit device. When the circuit device 100 is an integrated circuit device, the terminals T1 and T2 are pads formed on a semiconductor substrate, or terminals of a package in which the semiconductor substrate is housed.

[0018] The nonvolatile memory 40 is a nonvolatile storage device that can retain and store data even when power is not supplied. The nonvolatile memory 40 includes a memory cell array, a driver circuit, a read / write circuit, and the like. The memory cell array has a plurality of memory cells, a plurality of word lines, a plurality of bit lines, a plurality of source lines, and the like arranged therein. The driver circuit selects the word lines and drives the word lines and source lines. The read / write circuit is connected to the bit lines and reads and writes data.

[0019] The nonvolatile memory 40 is, for example, an EEPROM (Electrically Erasable Programmable Read Only Memory) or a flash memory. The EEPROM can be realized by, for example, a floating gate type memory cell. The flash memory can be realized by, for example, a MONOS (Metal-Oxide-Nitride-Oxide-Silicon) memory cell. Alternatively, the nonvolatile memory 40 may be a memory using fuse cells. In this type of memory, a fuse cell, which is a memory cell, includes a resistance element and a selector element connected in series to the resistance element. The selector element is, for example, a PN junction diode. However, the selector element may be a MOS transistor. For example, one end of the resistance element is connected to a bit line, and the other end of the resistance element is connected to the anode of the diode. The cathode of the diode is connected to a word line. The resistance element functioning as a fuse element is a programmable resistor with a variable resistance value. For example, the resistance element has a polysilicon resistor with a high resistance value and a silicide formed on the upper layer of the polysilicon resistor with a low resistance value. A large current is then passed through the silicide to melt the silicide, changing the resistance value of the resistive element from a low resistance value to a high resistance value, thereby storing data in the fuse cell, which is a memory cell.

[0020] The memory circuit 60 is a volatile memory circuit, and is a circuit that can hold and store data when power is supplied. The memory circuit 60 is, for example, a register. Alternatively, the memory circuit 60 may be a volatile memory such as a static random access memory (SRAM) or a dynamic random access memory (DRAM). When the memory circuit 60 is a register, the memory circuit 60 includes a plurality of latch circuits that store data, and an address decoder that selects the latch circuit to be accessed by decoding an address. When the memory circuit 60 is a volatile memory, the memory circuit 60 includes a plurality of word lines, a plurality of bit lines, and a plurality of memory cells. The memory circuit 60 may also include a word line selection circuit that selects a word line, a read circuit that reads data from the memory cells, and a write circuit that controls writing data to the memory cells.

[0021] The oscillator circuit 10 is a circuit that generates an oscillation signal. For example, it is a circuit that generates an oscillation signal by oscillating an oscillator. The oscillator circuit 10 may be an oscillator circuit in an SPXO (Simple Packaged Crystal Oscillator), or an oscillator circuit in a TCXO (Temperature Compensated Crystal Oscillator). When the oscillator circuit 10 is an oscillator circuit in a TCXO, the oscillator circuit 10 is a VCO. In this case, the circuit device 100 includes a temperature compensation circuit, and the temperature compensation circuit compensates for the temperature characteristics of the oscillation frequency by generating a control voltage for the VCO.

[0022] The reset circuit 70 is a power-on reset circuit. That is, the reset circuit 70 resets the circuit device 100 when power is applied to the circuit device 100. Specifically, the reset circuit 70 transitions the reset signal XPORB from active to inactive when the power supply voltage VDD input to the terminal T1 exceeds a predetermined voltage. When the reset signal XPORB is active, the circuit device 100 is set to a reset state, and when the reset signal XPORB is inactive, the circuit device 100 is set to a reset release state. Note that active is also referred to as a first logic level, and inactive is also referred to as a second logic level.

[0023] A control signal EN is input to the control terminal T2. The control signal EN is a signal for switching between a normal operation mode and a standby mode of the circuit device 100 in a state where power is supplied to the circuit device 100. When the control signal EN is active, the circuit device 100 is set to the normal operation mode, and when the control signal EN is inactive, the circuit device 100 is set to the standby mode. The standby mode is a state in which the operation of the circuit device 100 is stopped in a state in which a power supply voltage VDD is supplied to the terminal T1. Specifically, in the standby mode, the oscillation circuit 10 and the reset circuit 70 are set to a disabled state. The disabled state is a state in which the current consumption of the circuit is reduced. Specifically, the disabled state is a state in which the operation of the circuit is stopped by cutting off the current supply from the power line to the circuit. Note that it is not necessary for the current supply to the circuit to be completely cut off in the disabled state, and it is sufficient that the current consumption of the circuit in the disabled state is reduced compared to the current consumption of the circuit in the normal operation mode.

[0024] The operation of the circuit device 100 will be described below. The nonvolatile memory 40 stores characteristic adjustment data of the oscillator circuit 10 as setting data. For example, when the circuit device 100 is manufactured, or when an electronic device including the circuit device 100 is manufactured, the characteristic adjustment data is written to the nonvolatile memory 40. When the power supply to the circuit device 100 is turned on, the reset circuit 70 transitions the reset signal XPORB from active to inactive. At this time, the characteristic adjustment data is read from the nonvolatile memory 40, and the characteristic adjustment data is stored in the storage circuit 60. The oscillator circuit 10 operates based on the characteristic adjustment data stored in the storage circuit 60.

[0025] The characteristic adjustment data is data for adjusting the characteristics of the oscillation circuit 10. For example, when the oscillation circuit 10 is an oscillation circuit in a TCXO, the characteristic adjustment data is a parameter of a compensation function in a temperature compensation circuit. The temperature characteristic of the oscillation frequency of the oscillation circuit 10 is adjusted by setting the parameter of the compensation function. This parameter is stored in the non-volatile memory 40 as temperature compensation data. Alternatively, the characteristic adjustment data may be data for setting the frequency of a clock signal output by the oscillation circuit 10. The oscillation circuit 10 may include a frequency divider circuit that divides the oscillation signal, or a PLL circuit that multiplies the oscillation signal. The characteristic adjustment data may be data for setting the division ratio of the frequency divider circuit, or the multiplication ratio of the PLL circuit.

[0026] As described above, the reset circuit 70 is set to a disabled state in the standby mode. At this time, the reset circuit 70 outputs an active reset signal XPORB, and the circuit device 100 is in a reset state. When the circuit device 100 transitions from the standby mode to the normal operation mode, the reset circuit 70 changes the reset signal XPORB from active to inactive. This causes the circuit device 100 to transition from the reset state to the reset release state.

[0027] According to this embodiment, when transitioning from standby mode to normal operation mode, the reset circuit 70 changes the reset signal XPORB from active to inactive. This causes the characteristic adjustment data to be reloaded from the nonvolatile memory 40 to the storage circuit 60, so that the oscillator circuit 10 can operate based on the correct characteristic adjustment data when returning from standby mode. In other words, even if the stored contents of the storage circuit 60 are corrupted due to an abnormality such as a momentary power outage in standby mode, the correct characteristic adjustment data is reloaded into the storage circuit 60 when returning from standby mode.

[0028] Furthermore, by providing such a reload function, it is possible to disable the reset circuit 70 in the standby mode, thereby reducing the current consumption of the oscillation circuit 10 and the reset circuit 70 in the standby mode, and thus reducing the current consumption in the standby mode.

[0029] In the above, a case has been described in which the normal operation mode and the standby mode are switched based on the control signal EN input from the control terminal T2, but the application of the present invention is not limited to this. In a broad sense, the normal operation mode may be a first mode in which the circuit device 100 outputs a clock signal. In a broad sense, the standby mode may be a second mode in which the circuit device 100 does not output a clock signal when power is supplied to the circuit device 100. In addition, the signal for switching between the first mode and the second mode is not limited to a signal input from outside the circuit device 100, and may be a signal generated inside the circuit device 100.

[0030] 2. Reset circuit

[0031] 4 is a detailed configuration example of the reset circuit 70. The reset circuit 70 includes a voltage generating circuit 71 that generates a first voltage VDETB, a reference voltage generating circuit 72 that generates a reference voltage VRB, a comparator 73 that compares the first voltage VDETB with the reference voltage VRB, a capacitor CB, a first signal line LB1, and a second signal line LB2.

[0032] The voltage generating circuit 71 includes transistors TPB1 and TPB4 and resistors RB1 and RB2. The transistors TPB1 and TPB4 are P-type transistors.

[0033] The source of the transistor TPB4 is connected to the node of the power supply voltage VDD, and the drain of the transistor TPB4 is connected to the source of the transistor TPB1. A signal XEN, which is the logical inversion signal of the control signal EN, is input to the gate of the transistor TPB4. The drain of the transistor TPB1 is connected to one end of a resistor RB1. A reference voltage VRB is input to the gate of the transistor TPB1. The other end of the resistor RB1 is connected to one end of a resistor RB2, and the other end of the resistor RB1 becomes the output node of the voltage generating circuit 71. The other end of the resistor RB2 is connected to the node of the ground voltage VSS.

[0034] In addition, VDD is a high-potential power supply voltage in a broad sense, and VSS is a low-potential power supply voltage in a broad sense. In other words, VDD may be any voltage higher than VSS, and VSS is not limited to the ground voltage.

[0035] The reference voltage generating circuit 72 includes transistors TPB2, TPB3, TPB5, and TNB, a current source IBB, a bipolar transistor BPB, and a resistor RB3. The transistors TPB2, TPB3, and TPB5 are P-type transistors, and the transistor TNB is an N-type transistor.

[0036] The transistors TPB2 and TPB3 form a current mirror circuit. Specifically, the current source IBB passes a current through the transistor TPB2, and the current is mirrored to the transistor TPB3. The source of the transistor TPB5 is connected to the node of the power supply voltage VDD, and the drain of the transistor TPB5 is connected to the gates of the transistors TPB2 and TPB3. The drain of the transistor TNB is connected to the current source IBB, and the source of the transistor TNB is connected to the node of the ground voltage VSS. A control signal EN is input to the gate of the transistor TNB. The emitter of the bipolar transistor BPB is connected to the drain of the transistor TPB, and the node connected to the emitter becomes the output node of the reference voltage generating circuit 72. The base of the bipolar transistor BPB is connected to the collector of the bipolar transistor BPB and one end of the resistor RB3. The other end of the resistor RB3 is connected to the node of the ground voltage VSS.

[0037] One end of the capacitor CB is connected to the first signal line LB1, and the other end of the capacitor CB is connected to the node of the ground voltage VSS.

[0038] The connection in this embodiment is an electrical connection. An electrical connection is a connection that allows an electrical signal to be transmitted, and is a connection that allows information to be transmitted by an electrical signal. The electrical connection may be a connection via a signal line, an active element, or the like.

[0039] The first signal line LB1 connects the output node of the voltage generating circuit 71 and the first input node of the comparator 73. The first input node is, for example, a non-inverting input node. The second signal line LB2 connects the output node of the reference voltage generating circuit 72 and the second input node of the comparator 73. The second input node is, for example, an inverting input node.

[0040] Comparator 73 compares the first voltage VDETB input to the first input node with the reference voltage VRB input to the second input node. When VDETB < VRB, comparator 73 outputs an active reset signal XPORB, and when VDETB > VRB, comparator 73 outputs an inactive reset signal XPORB. Comparator 73 is set to an enabled state when the control signal EN is active and is set to a disabled state when the control signal EN is inactive. Comparator 73 includes a switch for blocking the current path from the node of the power supply voltage VDD to the node of the ground voltage VSS. In the disabled state, the switch is turned off, thereby blocking the current flowing from the node of the power supply voltage VDD to the node of the ground voltage VSS within comparator 73. As a result, the operation of comparator 73 is stopped in the disabled state.

[0041] Figure 5 is a waveform diagram for explaining the operation of the reset circuit 70. Assume that the control signal EN is active at power-on and has the same signal level as the power supply voltage VDD. That is, as the power supply voltage VDD rises, the signal level of the control signal EN rises.

[0042] As the power supply voltage VDD supplied to the reset circuit 70 rises, the mirror current flowing through the transistor TPB3 gradually increases, and the reference voltage VRB rises. The reference voltage VRB rises to a voltage determined by the base-emitter voltage of the bipolar transistor BPB and the voltage drop across the resistor RB3.

[0043] A reference voltage VRB is input to the gate of the transistor TPB1. The threshold voltage of the transistor TPB1 is Vthp. When the power supply voltage VDD reaches VRB+Vthp, the transistor TPB1 turns on and the first voltage VDETB starts to rise. The first voltage VDETB is a voltage obtained by dividing the power supply voltage VDD by resistors RB1 and RB2. When the first voltage VDETB exceeds the reference voltage VRB, the output signal of the comparator 73 transitions from a low level to a high level. This output signal is the reset signal XPORB. Note that in the reset signal XPORB of FIG. 5, a low level corresponds to active and a high level corresponds to inactive.

[0044] When the control signal EN changes from a high level to a low level, the transistor TPB4 is turned off, and the first voltage VDETB becomes the ground voltage VSS. Also, the transistor TPB5 is turned on, and the transistor TNB is turned off. As a result, the transistors TPB2 and TPB3 are turned off, and the reference voltage VRB becomes the ground voltage VSS. In the control signal EN in FIG. 5, a high level corresponds to an active state, and a low level corresponds to an inactive state. When the control signal EN is at a low level, the comparator 73 is in a disabled state, and the comparator 73 outputs a high-level reset signal XPORB. That is, when the control signal EN is inactive, the circuit device 100 is in a reset release state, and the oscillator circuit 10 and the reset circuit 70 in FIG. 3 are in a disabled state. This state is the state in the standby mode.

[0045] When the control signal EN changes from a low level to a high level, the transistor TPB5 turns off and the transistor TNB turns on. As a result, the current mirror circuit composed of the transistors TPB2 and TPB3 operates, causing the reference voltage VRB to rise. That is, the reference voltage VRB is a voltage determined by the base-emitter voltage of the bipolar transistor BPB and the voltage drop across the resistor RB3. Also, since the transistor TPB4 turns on, current flows through the resistors RB1 and RB2. At this time, because the capacitor CB is connected to the first signal line LB1, the rise of the first voltage VDETB is slower than the rise of the reference voltage VRB. Thus, when the control signal EN changes from a low level to a high level, VDETB < VRB, and later VDETB > VRB. Since the comparator 73 is in an enabled state when the control signal EN is at a high level, the reset signal XPORB is at a low level when the control signal EN changes from a low level to a high level, and the reset signal XPORB becomes a high level when VDETB > VRB.

[0046] In this way, when the control signal EN changes from inactive to active, the reset circuit 70 activates the reset signal XPORB and then deactivates the reset signal XPORB. That is, when the control signal EN changes from inactive to active, the circuit device 100 is reset. As a result, the characteristic adjustment data is reloaded from the non-volatile memory 40 in FIG. 3 to the storage circuit 60.

[0047] 3. Oscillator

[0048] FIG. 6 is a configuration example of an oscillator 400 including the circuit device 100. The oscillator 400 includes a resonator XTAL and the circuit device 100. For example, the oscillator 400 is configured by housing the resonator XTAL and the circuit device 100 in a package.

[0049] The oscillator XTAL is, for example, a piezoelectric oscillator. The piezoelectric oscillator is, for example, a quartz oscillator. The quartz oscillator is, for example, a quartz oscillator that vibrates in thickness shear with a cut angle of AT cut or SC cut. For example, the oscillator is an oscillator built in a temperature compensated quartz oscillator (TCXO) that does not have a thermostatic oven. Alternatively, the oscillator may be an oscillator built in an oven-controlled quartz oscillator (OCXO) that has a thermostatic oven. In addition, as the oscillator, a SAW (Surface Acoustic Wave) resonator, a MEMS (Micro Electro Mechanical Systems) oscillator as a silicon oscillator formed using a silicon substrate, or the like may be adopted.

[0050] The circuit device 100 includes a non-volatile memory 40, a reset circuit 70, an oscillator circuit 10, a register 160, a control circuit 130, a temperature compensation circuit 150, an output buffer circuit 120, and terminals TVD, TVS, TVCNT, TQ, TX1, and TX2. The circuit device 100 is, for example, an integrated circuit device. The terminals TVD, TVS, TVCNT, TQ, TX1, and TX2 are pads formed on a semiconductor substrate. Note that the same components as those described in FIG. 3 and other figures are denoted by the same reference numerals, and descriptions of those components will be omitted as appropriate.

[0051] A control voltage VCNT or a control signal EN is input to the control terminal TVCNT. The function setting of the control terminal TVCNT is written in, for example, a non-volatile memory 40. Alternatively, the function of the control terminal TVCNT is determined by selecting a mask for forming a wiring layer according to the function of the control terminal TVCNT. When the control voltage VCNT is input to the control terminal TVCNT, the control circuit 130 connects the control terminal TVCNT to the oscillation circuit 10 and inputs the control voltage VCNT to the oscillation circuit 10. When the control signal EN is input to the control terminal TVCNT, the control circuit 130 outputs the control signal EN to the temperature compensation circuit 150, the oscillation circuit 10, and the output buffer circuit 120.

[0052] The oscillator circuit 10 is connected to the resonator XTAL via terminals TX1 and TX2. The oscillator circuit 10 is a circuit for oscillating the resonator XTAL. The oscillation frequency is temperature compensated by a temperature compensation voltage VCOMP. That is, the oscillator circuit 10 is controlled by the temperature compensation voltage VCOMP so that the oscillation frequency is constant even if the temperature changes. Furthermore, when a control voltage VCNT is input to the control terminal TVCNT, the oscillator circuit 10 oscillates at an oscillation frequency set by the control voltage VCNT.

[0053] For example, the oscillator circuit 10 is a Pierce type oscillator circuit. In this case, the oscillator circuit 10 includes a bipolar transistor and a resistor connected between the base and collector of the bipolar transistor. The base of the bipolar transistor is connected to a terminal TX1, and the collector is connected to a terminal TX2. The oscillator circuit 10 includes a variable capacitor having one end connected to the terminal TX1 or the terminal TX2. A temperature compensation voltage VCOMP is input to the other end of the variable capacitor, and the capacitance value of the variable capacitor is controlled by the temperature compensation voltage VCOMP. This temperature compensates the oscillation frequency.

[0054] When a control signal EN is input to the control terminal TVCNT, the oscillator circuit 10 is set to an enabled state or a disabled state by the control signal EN. For example, in a Pierce-type oscillator circuit, a switch is provided in a line that supplies a bias current to a bipolar transistor. When the control signal EN is inactive, the switch is turned off, and the oscillation operation of the oscillator circuit 10 is stopped.

[0055] The output buffer circuit 120 is a circuit that buffers the oscillation signal SSC from the oscillation circuit 10. That is, the output buffer circuit 120 buffers the signal so that it can sufficiently drive an external load. The signal buffered by the output buffer circuit 120 is output from the output terminal TQ to the outside of the oscillator 400 as a clock signal SQ. When a control signal EN is input to the control terminal TVCNT, the output buffer circuit 120 is set to an enabled state or a disabled state by the control signal EN. For example, the output buffer circuit 120 includes a drive transistor that buffers the oscillation signal SSC to drive a load. When the control signal EN is inactive, the drive transistor is turned off, thereby stopping the operation of the output buffer circuit 120.

[0056] The temperature compensation circuit 150 generates a temperature compensation voltage VCOMP based on the temperature detection result from the temperature sensor. Specifically, the temperature compensation circuit 150 generates a voltage of an approximation function with temperature as an argument as the temperature compensation voltage VCOMP. The approximation function is a function that compensates for the temperature characteristics of the resonator XTAL and the oscillation circuit 10. By generating such a temperature compensation voltage VCOMP, the temperature compensation circuit 150 compensates so that the oscillation frequency of the oscillation circuit 10 is constant regardless of temperature. A detailed configuration of the temperature compensation circuit 150 will be described later.

[0057] The control circuit 130 is a logic circuit. The control circuit 130 controls each part of the circuit device 100. Specifically, the control circuit 130 sets the circuit device 100 to a reset state or a reset release state based on a reset signal XPORB from the reset circuit 70. When the reset state is released by the reset signal XPORB, the control circuit 130 loads characteristic adjustment data from the non-volatile memory 40 to the register 160. The control circuit 130 also sets the operation of the temperature compensation circuit 150 and the oscillation circuit 10 based on the characteristic adjustment data stored in the register 160. The register 160 corresponds to the memory circuit 60 in FIG. 3.

[0058] The approximation function generated by the temperature compensation circuit 150 is a polynomial, and parameters representing the coefficients of the polynomial are stored in the non-volatile memory 40 as characteristic adjustment data. The approximation function generated by the temperature compensation circuit 150 is set by loading the parameters into the register 160. Since the temperature characteristics of the resonator XTAL and the oscillation circuit 10 vary from one to another, the approximation function also varies from one to another. Therefore, if the parameters stored in the register 160 are not appropriate, temperature compensation will not be performed correctly. In this regard, according to this embodiment, even if the contents stored in the register 160 are corrupted when the standby mode is set by the control signal EN, the parameters are reloaded into the register 160 when returning from the standby mode. As a result, the oscillator 400 can output a clock signal that is correctly temperature compensated when returning from the standby mode.

[0059] The reset circuit 70 generates a reset signal XPORB based on the power supply voltage VDD input from the terminal TVD. When a control signal EN is input to the control terminal TVCNT, the reset circuit 70 generates a reset signal XPORB based on the power supply voltage VDD and the control signal EN. The operation of the reset circuit 70 is as described in FIGS. 4 and 5.

[0060] Fig. 7 shows a detailed configuration example of the temperature compensation circuit 150. The temperature compensation circuit 150 includes a temperature sensor 151, a zeroth-order component generating circuit 152, a first-order component generating circuit 153, a third-order component generating circuit 154, a first-order component gain adjusting circuit 155, a third-order component gain adjusting circuit 156, and an adder circuit 157. Note that, although Fig. 7 shows a case where the temperature compensation circuit 150 generates a temperature compensation voltage VCOMP of a third-order polynomial, the temperature compensation circuit 150 may generate a temperature compensation voltage VCOMP of a higher-order polynomial.

[0061] The temperature sensor 151 outputs the temperature detection result as a temperature detection voltage VT. For example, the temperature sensor 151 is a circuit that outputs the temperature detection voltage VT based on the forward voltage of a PN junction. The forward voltage of a PN junction has temperature dependency.

[0062] The zeroth-order component generating circuit 152 outputs a zeroth-order component voltage VS0 that approximates the zeroth-order component of the temperature characteristic of the oscillation frequency of the resonator XTAL. The zeroth-order component generating circuit 152 is configured with a circuit that outputs a DC voltage, such as a resistive divider circuit.

[0063] The first-order component generating circuit 153 outputs a first-order component current IS1 that approximates the first-order component of the temperature characteristic of the oscillation frequency of the resonator XTAL. The first-order component generating circuit 153 can be configured, for example, by a non-inverting amplifier. The first-order component gain adjusting circuit 155 adjusts the gain of the first-order component current IS1 based on the gain value A1 stored in the register 160, and outputs a first-order component voltage VS1=A1×IS1.

[0064] The third-order component generating circuit 154 outputs a third-order component current IS3 that approximates the third-order component of the temperature characteristic of the oscillation frequency of the resonator XTAL. The third-order component gain adjusting circuit 156 adjusts the gain of the third-order component current IS3 based on the gain value A3 stored in the register 160, and outputs a third-order component voltage VS3=A3×IS3.

[0065] The adder circuit 157 adds the zeroth-order component voltage VS0, the first-order component voltage VS1, and the third-order component voltage VS3, and outputs a temperature compensation voltage VCOMP. The adder circuit 157 is, for example, an analog adder circuit using an amplifier circuit. If VS0=A0, the temperature compensation voltage VCOMP is a voltage that approximates the following equation (1). VCOMP = A3 × (T-T0) 3 +A1×(T-T0)+A0 (1)

[0066] In this embodiment, the gain values ​​A3, A1, and A0 are stored as temperature compensation data in the non-volatile memory 40. The temperature compensation data is characteristic adjustment data. When the reset is released by powering on, or when returning from the standby mode to the normal operation mode, the gain values ​​A3, A1, and A0 are loaded from the non-volatile memory 40 to the register 160.

[0067] The control circuit 130 outputs a control signal EN to the temperature sensor 151, the zeroth-order component generating circuit 152, the first-order component generating circuit 153, the third-order component generating circuit 154, the first-order component gain adjusting circuit 155, the third-order component gain adjusting circuit 156, and the adding circuit 157. When the control signal EN is inactive, these circuits are disabled. In the disabled state, the bias current of the amplifier circuits and the like included in each circuit is cut off, thereby stopping the operation of each circuit.

[0068] 4.Electronic equipment, mobile objects

[0069] 8 is a configuration example of an electronic device 300 including the circuit device 100. The electronic device 300 includes an oscillator 400 having the circuit device 100 and an oscillator XTAL, and a processing unit 520. It may also include a communication unit 510, an operation unit 530, a display unit 540, a storage unit 550, and an antenna ANT.

[0070] Various devices can be assumed as the electronic device 300. For example, wearable devices such as a GPS-embedded watch, a biometric measuring device, or a head-mounted display device can be assumed. The biometric measuring device is a pulse wave meter, a pedometer, or the like. Alternatively, a mobile information terminal such as a smartphone, a mobile phone, a portable game device, a notebook PC, or a tablet PC can be assumed. Alternatively, a content providing terminal that distributes content, imaging devices such as a digital camera or a video camera, or network-related devices such as a base station or a router can be assumed. Alternatively, a measuring device that measures physical quantities such as distance, time, flow velocity, or flow rate, an in-vehicle device, a robot, or the like can be assumed. The in-vehicle device is an automatic driving device, or the like.

[0071] The communication unit 510 receives data from the outside via the antenna ANT and transmits data to the outside. The communication unit 510 is, for example, a communication circuit. The processing unit 520 controls the electronic device and performs various digital processes on the data transmitted and received via the communication unit 510. The functions of the processing unit 520 can be realized by a processor such as a microcomputer. The operation unit 530 allows the user to perform input operations and can be realized by operation buttons, a touch panel display, or the like. The operation unit 530 is, for example, an operation device. The display unit 540 displays various information and can be realized by a display such as a liquid crystal or organic EL. The memory unit 550 stores data and its functions can be realized by a semiconductor memory such as a RAM or a ROM, a hard disk drive, or the like.

[0072] FIG. 9 shows an example of a moving body including the circuit device 100. The circuit device 100 can be incorporated into various moving bodies such as a car, an airplane, a motorcycle, a bicycle, a robot, or a ship. The moving body is a device or apparatus that has a driving mechanism such as an engine or a motor, a steering mechanism such as a handle or a rudder, and various electronic devices and moves on the ground, in the air, or on the sea. FIG. 9 shows a schematic diagram of an automobile 206 as a specific example of a moving body. An oscillator (not shown) including the circuit device 100 is incorporated in the automobile 206. The control device 208 performs various control processes based on a clock signal generated by the oscillator. The control device 208 controls the hardness or softness of a suspension according to the attitude of a vehicle body 207, or controls the brakes of each wheel 209. Note that the device in which the circuit device 100 or the oscillator is incorporated is not limited to the control device 208, and the circuit device 100 or the oscillator can be incorporated into various devices provided in a moving body such as the automobile 206 or a robot.

[0073] According to the above embodiment, the circuit device has a first mode in which a clock signal is output and a second mode in which a clock signal is not output. The circuit device includes an oscillation circuit that generates a clock signal, a non-volatile memory in which characteristic adjustment data for the oscillation circuit is stored, a reset circuit that generates a reset signal, and a storage circuit into which the characteristic adjustment data is loaded from the non-volatile memory when the reset signal changes from active to inactive. The reset circuit changes the reset signal from active to inactive when transitioning from the second mode to the first mode.

[0074] When the mode is shifted from the second mode in which the clock signal is not output to the first mode in which the clock signal is output, the reset circuit changes the reset signal from active to inactive. By making the reset signal inactive in this manner, the characteristic adjustment data is reloaded from the non-volatile memory to the storage circuit, so that the oscillation circuit can operate based on the correct characteristic adjustment data when returning from the second mode to the first mode. Furthermore, by providing such a reload function, it is possible to disable the reset circuit in the second mode. That is, even if the characteristic adjustment data stored in the storage circuit is destroyed due to an abnormality such as a momentary power outage in the second mode, the characteristic adjustment data is reloaded to the storage circuit when returning from the second mode to the first mode. By being able to disable the reset circuit in the second mode, the current consumption of the oscillation circuit and the reset circuit in the standby mode can be reduced, and the current consumption of the circuit device in the standby mode can be reduced.

[0075] In the present embodiment, the circuit device may include a control terminal to which a control signal for switching between the first mode and the second mode is input. The reset circuit may change the reset signal from inactive to active when power is turned on, and generate the reset signal based on the control signal input from the control terminal after power is turned on.

[0076] According to this embodiment, the reset circuit that changes the reset signal from inactive to active when power is turned on can generate a reset signal based on a control signal after power is turned on. That is, when the circuit device is in the second mode by terminal control while power is being supplied to the circuit device, and then in the first mode by terminal control, the circuit device can be reset by the reset signal. This allows the characteristic adjustment data to be reloaded from the nonvolatile memory to the storage circuit.

[0077] In the present embodiment, the first mode may be a normal operation mode of the circuit device, and the second mode may be a standby mode of the circuit device.

[0078] According to this embodiment, when the circuit device returns from the standby mode to the normal operation mode, the reset circuit activates and then deactivates the reset signal, which causes the characteristic adjustment data to be reloaded from the non-volatile memory to the storage circuit, so that the oscillation circuit can operate based on the correct characteristic adjustment data when the circuit device returns from the standby mode to the normal operation mode.

[0079] In this embodiment, the reset circuit may change the reset signal from active to inactive when power is turned on. The reset circuit may be set to a disabled state in the second mode after power is turned on.

[0080] According to this embodiment, the reset circuit is set to a disabled state in the second mode after power-on, thereby reducing the current consumption of the reset circuit in the second mode. Then, when the second mode is switched to the first mode, the reset circuit activates and then deactivates the reset signal. This causes the characteristic adjustment data to be reloaded from the non-volatile memory to the storage circuit, so that the oscillation circuit can operate based on the correct characteristic adjustment data when the mode is switched back to the first mode from the second mode.

[0081] In the present embodiment, the reset circuit may include a voltage generating circuit that generates a first voltage by voltage-dividing a power supply voltage, a reference voltage generating circuit that generates a reference voltage, and a comparator. The comparator may compare the first voltage with the reference voltage and output a reset signal based on the comparison result.

[0082] Since the first voltage is a voltage division of the power supply voltage, when the power supply voltage rises after power is turned on, the first voltage also rises. By comparing this first voltage with a reference voltage, a reset signal that changes from active to inactive when the power is turned on is output.

[0083] In the present embodiment, in the second mode, the voltage generating circuit, the reference voltage generating circuit, and the comparator may be set to a disabled state.

[0084] According to the present embodiment, in the second mode, the voltage generating circuit, the reference voltage generating circuit, and the comparator are set to the disabled state, whereby the reset circuit is set to the disabled state.

[0085] In this embodiment, the reset circuit may include a first signal line, a second signal line, and a capacitor. The first signal line may connect an output node of the voltage generating circuit and a first input node of a comparator to which the first voltage is input. The second signal line may connect an output node of the reference voltage generating circuit and a second input node of the comparator to which the reference voltage is input. One end of the capacitor may be connected to the first signal line.

[0086] By connecting one end of the capacitor to the first signal line, the first voltage rises slower than the reference voltage, so that when the reset circuit returns from the disabled state to the enabled state, the first voltage rises after the reference voltage rises, so that when the reset circuit transitions from the second mode to the first mode, the reset signal can be made active and then inactive.

[0087] In this embodiment, when the mode is shifted from the second mode to the first mode, the reference voltage generating circuit may output the reference voltage, and then the voltage generating circuit may increase the voltage level of the first voltage.

[0088] According to the present embodiment, when the reset circuit returns from the disabled state to the enabled state, the reference voltage rises and then the first voltage rises, so that when the reset circuit transitions from the second mode to the first mode, the reset signal can be made active and then inactive.

[0089] In this embodiment, the characteristic adjustment data may be temperature compensation data for the oscillation frequency of the oscillation circuit.

[0090] According to this embodiment, when returning from the second mode to the first mode, the temperature compensation data is reloaded from the non-volatile memory to the storage circuit, so that when returning from the second mode to the first mode, temperature compensation of the oscillation frequency is performed based on the correct temperature compensation data, and a clock signal with an accurate oscillation frequency is output.

[0091] In the present embodiment, the circuit device may further include a temperature compensation circuit that performs temperature compensation of the oscillation frequency based on the temperature compensation data. The temperature compensation circuit may be set to a disabled state in the second mode.

[0092] According to this embodiment, the temperature compensation circuit is set to the disabled state in the second mode, so that the current consumption of the circuit device in the second mode can be reduced.

[0093] In this embodiment, the oscillator circuit may be set to a disabled state in the second mode.

[0094] According to this embodiment, the oscillation circuit is set to a disabled state in the second mode, so that the current consumption of the circuit device in the second mode can be reduced.

[0095] In this embodiment, the oscillator includes any one of the circuit devices described above, and a resonator that is connected to the oscillation circuit and oscillates.

[0096] In the present embodiment, an electronic device includes any of the circuit devices described above.

[0097] In this embodiment, the moving object includes any one of the circuit devices described above.

[0098] Although the present embodiment has been described in detail as above, it will be easily understood by those skilled in the art that many modifications are possible without substantially departing from the novel matters and effects of the present invention. Therefore, all such modifications are intended to be included in the scope of the present invention. For example, a term described at least once in the specification or drawings together with a different term having a broader meaning or synonymy can be replaced with that different term anywhere in the specification or drawings. All combinations of the present embodiment and modifications are also included in the scope of the present invention. Furthermore, the configurations and operations of circuit devices, oscillators, electronic devices, mobile objects, etc. are not limited to those described in the present embodiment, and various modifications are possible. [Explanation of symbols]

[0099] 10...oscillating circuit, 40...non-volatile memory, 60...memory circuit, 70...reset circuit, 71...voltage generating circuit, 72...reference voltage generating circuit, 73...comparator, 80...reset circuit, 81...voltage generating circuit, 82...reference voltage generating circuit, 83...comparator, 100...circuit device, 120...output buffer circuit, 130...control circuit, 150...temperature compensation circuit, 151...temperature sensor, 152...0th-order component generating circuit, 153...1st-order component generating circuit, 154...3rd-order component generating circuit, 155...1st-order component gain adjustment circuit, 156... Third-order component gain adjustment circuit, 157...addition circuit, 160...register, 206...automobile, 207...vehicle body, 208...control device, 209...wheel, 300...electronic device, 400...oscillator, 510...communication unit, 520...processing unit, 530...operation unit, 540...display unit, 550...storage unit, CB...capacitor, EN...control signal, LB1...first signal line, LB2...second signal line, SQ...clock signal, T2...control terminal, TVCNT...control terminal, VDETB...first voltage, VRB...reference voltage, XPORB...reset signal, XTAL...oscillator

Claims

1. 1. A circuit device having a normal operation mode in which a clock signal is output, and a standby mode in which a clock signal is not output while a power supply voltage is being supplied, an oscillator circuit for generating the clock signal; a non-volatile memory for storing characteristic adjustment data for adjusting the temperature characteristic of the frequency of the clock signal or for setting the frequency of the clock signal; a reset circuit for generating a reset signal; a storage circuit into which the characteristic adjustment data is loaded from the non-volatile memory when the reset signal changes from active to inactive; Including, When power is turned on, the reset circuit changes the reset signal from active to inactive; The characteristic adjustment data is loaded from the non-volatile memory to the storage circuit; In the standby mode, the oscillation circuit and the reset circuit are set to a disabled state; When the standby mode is switched to the normal operation mode, the reset circuit changes the reset signal from active to inactive; The characteristic adjustment data is reloaded from the non-volatile memory to the storage circuit; The circuit device according to claim 1, wherein the oscillator circuit generates the clock signal based on the characteristic adjustment data reloaded into the memory circuit.

2. 2. The circuit device according to claim 1, a control terminal to which a control signal for switching between the normal operation mode and the standby mode is input, The reset circuit includes: A circuit device characterized in that, after power is turned on, when the control signal input from the control terminal is active indicating the normal operation mode, the circuit device generates an inactive reset signal, and when the control signal input from the control terminal is inactive indicating the standby mode, the circuit device generates an active reset signal.

3. 2. The circuit device according to claim 1, The reset circuit includes: a voltage generating circuit for generating a first voltage by voltage-dividing a power supply voltage; a reference voltage generating circuit for generating a reference voltage; a comparator that compares the first voltage with the reference voltage and outputs the reset signal based on a comparison result; A circuit device comprising:

4. 4. The circuit device according to claim 3, a control terminal to which a control signal for switching between the normal operation mode and the standby mode is input, A circuit device characterized in that, when the control signal input from the control terminal is inactive, indicating the standby mode, the voltage generation circuit, the reference voltage generation circuit, and the comparator are set to a disabled state.

5. 5. The circuit device according to claim 3, The reset circuit includes: a first signal line connecting an output node of the voltage generating circuit and a first input node of the comparator to which the first voltage is input; a second signal line connecting an output node of the reference voltage generating circuit and a second input node of the comparator to which the reference voltage is input; a capacitor having one end connected to the first signal line and the other end connected to a node of a low potential power supply voltage; A circuit device comprising:

6. A circuit arrangement according to any one of claims 3 to 5, When the standby mode is switched to the normal operation mode, the reference voltage generating circuit outputs the reference voltage, and then the voltage generating circuit increases the voltage level of the first voltage.

7. 7. A circuit arrangement according to claim 1, The circuit device according to claim 1, wherein the characteristic adjustment data is temperature compensation data for adjusting a temperature characteristic of the frequency of the clock signal.

8. 8. The circuit arrangement according to claim 7, a temperature compensation circuit that performs temperature compensation for the frequency of the clock signal based on the temperature compensation data; a control terminal to which a control signal for switching between the normal operation mode and the standby mode is input; Including, The temperature compensation circuit includes: A circuit device, characterized in that, when the control signal input from the control terminal is inactive, indicating the standby mode, the circuit device is set to a disabled state.

9. A circuit arrangement according to any one of claims 1 to 8; A vibrator that is connected to the oscillation circuit and oscillates; 16. An oscillator comprising:

Citation Information

Patent Citations

  • Power-on reset circuit

    JP2003304146A

  • Semiconductor integrated circuit

    JP2005049970A

  • Oscillator including start control device

    JP2009517905A

  • Method for controlling oscillation circuit, oscillating circuit, oscillator, electronic apparatus, and mobile body

    JP2015035707A

  • Clock circuit with programmable load capacitors

    US20060214738A1