Circuit device and oscillator

The circuit device with controlled switches and register ensures stable operation and precise testing of the oscillator by managing terminal connections, addressing power supply voltage fluctuations and enabling miniaturized design.

JP2024140094AActive Publication Date: 2024-10-10SEIKO EPSON CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023051089
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-10
Estimated Expiration
2043-03-28

AI Technical Summary

Technical Problem

The surface mount oscillator described in Patent Document 1 experiences malfunctions due to unintended fluctuations in power supply voltage causing the functional and output terminals to connect with the crystal piece's excitation electrodes, leading to improper operation.

Method used

A circuit device with switches and a register that control the connection between terminals, allowing for normal operation mode and test mode, where switches are turned off or on respectively, ensuring stable operation and enabling precise testing without dedicated terminals.

Benefits of technology

The solution stabilizes the oscillator's operation by preventing unintended mode transitions and allows accurate testing of the vibrator without additional terminals, facilitating miniaturization and reliable performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024140094000001_ABST
    Figure 2024140094000001_ABST
Patent Text Reader

Abstract

To provide a circuit device having an inspection mode for connecting two external terminals and a vibrator, and capable of reducing the risk of erroneously transitioning to the inspection mode even when a fluctuation in power supply voltage occurs.SOLUTION: A circuit device includes a first terminal and a second terminal connected to a vibrator, a third terminal, a fourth terminal, a first switch provided on a signal path between the first terminal and the third terminal, a second switch provided on a signal path between the second terminal and the fourth terminal, and a register that outputs signals that control the first switch and the second switch to be on or off, and in a first mode, the first switch and the second switch are turned off, a control signal is input to the third terminal, and a clock signal is output from the fourth terminal, and in a second mode, the first switch and the second switch are turned on.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a circuit device and an oscillator. [Background technology]

[0002] Patent Document 1 describes a surface-mounted oscillator that includes a first switching circuit that connects the output terminal to either the output circuit or one of the excitation electrodes of the crystal blank, and a second switching circuit that connects the function terminal to either the function circuit or the other excitation electrode of the crystal blank, and the first and second switching circuits are operated by a switching signal from a voltage detection circuit connected to a power supply terminal. According to the surface-mounted oscillator described in Patent Document 1, the mounting terminal can be used as the crystal inspection terminal to promote miniaturization. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2009-201097 A Summary of the Invention [Problem to be solved by the invention]

[0004] In the surface-mounted oscillator described in Patent Document 1, an unintended fluctuation in the power supply voltage may cause the first switching circuit and the second switching circuit to operate, and during normal operation of the oscillator, the function terminal and the output terminal may be connected to the two excitation electrodes of the quartz crystal piece, respectively, which may cause a malfunction. [Means for solving the problem]

[0005] One aspect of the circuit device according to the present invention is A first terminal and a second terminal connected to the transducer; A third terminal; A fourth terminal; a first switch provided on a signal path between the first terminal and the third terminal; a second switch provided on a signal path between the second terminal and the fourth terminal; a register that outputs a signal for controlling each of the first switch and the second switch to be on or off; In a first mode, the first switch and the second switch are turned off, a control signal is input to the third terminal, and a clock signal is output from the fourth terminal; In the second mode, the first switch and the second switch are turned on.

[0006] One aspect of the oscillator according to the present invention is A vibrator; A circuit device connected to the transducer; a container that houses the vibrator and the circuit device, The circuit device comprises: A first terminal and a second terminal connected to the transducer; A third terminal; A fourth terminal; a first switch provided on a signal path between the first terminal and the third terminal; a second switch provided on a signal path between the second terminal and the fourth terminal; a register that outputs a signal for controlling each of the first switch and the second switch to be on or off; The container comprises: a first external terminal connected to the third terminal; a second external terminal connected to the fourth terminal; In a first mode, the first switch and the second switch are turned off, a control signal is input to the first external terminal, and a clock signal is output from the second external terminal; In the second mode, the first switch and the second switch are turned on. [Brief description of the drawings]

[0007] [Figure 1] FIG. 2 is a perspective view of the oscillator according to the embodiment. [Diagram 2] FIG. 2 is a cross-sectional view of the oscillator according to the embodiment. [Diagram 3] FIG. 4 is another cross-sectional view of the oscillator according to the embodiment. [Figure 4] FIG. [Diagram 5] FIG. 2 is a functional block diagram of an oscillator according to the present embodiment. [Figure 6] FIG. 2 is a diagram showing the configuration of an inspection system in which an inspection device is connected to the oscillator of the present embodiment. [Figure 7] FIG. 11 is a flowchart showing an example of the procedure of a method for inspecting the CI value of a transducer using an inspection device. [Figure 8] 4A and 4B are diagrams showing an example of voltage waveforms of each terminal and each signal when the inspection device inspects the CI value. [Figure 9] FIG. 4 is a diagram showing the state of an oscillator in a test mode. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Preferred embodiments of the present invention will be described in detail below with reference to the drawings. Note that the embodiments described below do not unduly limit the contents of the present invention described in the claims. Furthermore, not all of the configurations described below are necessarily essential components of the present invention.

[0009] 1. Oscillator configuration Fig. 1 to Fig. 4 are diagrams showing an example of the structure of an oscillator 1 of this embodiment. Fig. 1 is a perspective view of the oscillator 1, Fig. 2 is an example of a cross-sectional view taken along line AA in Fig. 1. Fig. 3 is another example of the cross-sectional view taken along line AA in Fig. 1, and Fig. 4 is a bottom view of the oscillator 1.

[0010] As shown in FIG. 1 to FIG. 3, the oscillator 1 includes a circuit device 2, a vibrator 3, a package 4, a lid 5, and a plurality of external terminals 6. In this embodiment, the vibrator 3 is a quartz crystal vibrator using quartz crystal as a substrate material, such as an AT-cut quartz crystal vibrator or a tuning fork-type quartz crystal vibrator. The vibrator 3 may be a SAW resonator. SAW stands for Surface Acoustic Wave. In addition to quartz crystal, the substrate material of the vibrator 3 may be a piezoelectric material such as a piezoelectric single crystal such as lithium tantalate or lithium niobate, or a piezoelectric ceramic such as lead zirconate titanate. The excitation means of the vibrator 3 may be one based on the piezoelectric effect. In this embodiment, the circuit device 2 is realized by a one-chip integrated circuit. However, the circuit device 2 may be at least partially composed of discrete components.

[0011] The oscillator 1 shown in FIG. 2 is an oscillator with a single seal structure, and the package 4 is a container that houses the circuit device 2 and the vibrator 3 in the same space. Specifically, the package 4 is provided with a recess, and the lid 5 covers the recess to form an accommodation chamber 7. The oscillator 1 shown in FIG. 3 is an oscillator with an H-shaped structure, and the package 4 is a container that houses the circuit device 2 and the vibrator 3 in separate spaces. Specifically, the package 4 has two recesses on opposite sides, and the lid 5 covers one recess to form an accommodation chamber 7a, and the sealing member 8 covers the other recess to form an accommodation chamber 7b. The vibrator 3 is accommodated in the accommodation chamber 7a, and the circuit device 2 is accommodated in the accommodation chamber 7b.

[0012] The vibrator 3 has metallic excitation electrodes 3a, 3b on its front and back surfaces, respectively, and oscillates at a desired frequency according to the shape and mass of the vibrator 3 including the excitation electrodes 3a, 3b. Inside the package 4 or on the surface of the recess, wiring (not shown) is provided for electrically connecting two terminals of the circuit device 2, specifically, T1 terminal and T2 terminal in FIG. 5 described later, to the two excitation electrodes 3a, 3b of the vibrator 3. Inside the package 4 or on the surface of the recess, wiring (not shown) is provided for electrically connecting each terminal of the circuit device 2 to each external terminal 6 provided on the bottom surface of the package 4.

[0013] 4, the oscillator 1 of this embodiment has four external terminals 6 provided on the back surface of the package 4, which is the bottom surface: a VDD terminal which is a power supply terminal to which a power supply voltage Vdd is supplied, a VSS terminal which is a ground terminal to which a ground voltage Vss is supplied, an OUT terminal which is an output terminal, and an OE terminal which is an output enable terminal. That is, in this embodiment, the package 4 has four external terminals 6: a VDD terminal, a VSS terminal, an OUT terminal, and an OE terminal.

[0014] 5 is a functional block diagram of the oscillator 1 of the first embodiment. As shown in FIG. 5, the oscillator 1 of the present embodiment includes a circuit device 2 and a vibrator 3. The circuit device 2 has a T1 terminal, a T2 terminal, a T3 terminal, a T4 terminal, a T5 terminal, and a T6 terminal as external connection terminals. The T1 terminal is electrically connected to one end of the vibrator 3, and the T2 terminal is electrically connected to the other end of the vibrator 3. The T3 terminal, the T4 terminal, the T5 terminal, and the T6 terminal are electrically connected to the OE terminal, the OUT terminal, the VDD terminal, and the VSS terminal, which are the multiple external terminals 6 of the oscillator 1 shown in FIG. 4, respectively.

[0015] In this embodiment, the circuit device 2 includes an oscillator circuit 10, an output buffer 20, a first input / output circuit 30, a second input / output circuit 40, a control circuit 50, a first switch 60, a second switch 70, and a power-on reset circuit 80. Note that the circuit device 2 may be configured such that some of these elements are omitted or modified, or other elements are added.

[0016] The oscillator circuit 10 is connected to the T1 terminal and the T2 terminal, and generates an oscillation signal by oscillating the oscillator 3. The oscillator circuit 10 includes an amplifier circuit that amplifies a signal from the T1 terminal and outputs the signal to the T2 terminal. Specifically, the oscillator circuit 10 receives a signal output from the oscillator 3 via the T1 terminal, amplifies the signal by the amplifier circuit, and supplies the signal to the oscillator 3 via the T2 terminal. For example, as shown in FIG. 5, the oscillator circuit 10 includes a logic inversion circuit 11, resistors 12 and 13, variable capacitance circuits 14 and 15, and a capacitance element 16.

[0017] The variable capacitance circuit 14 has one end connected to the T1 terminal and the other end supplied with the ground voltage Vss. The variable capacitance circuit 15 has one end connected to the T2 terminal and the other end supplied with the ground voltage Vss. The capacitance element 16 has one end connected to the T1 terminal and the other end connected to one end of the resistor 12 and the input terminal of the logic inversion circuit 11.

[0018] The logic inversion circuit 11 has an input terminal connected to the other end of the capacitive element 16 and one end of the resistor 12, and an output terminal connected to the other end of the resistor 12 and one end of the resistor 13. The other end of the resistor 13 is connected to one end of the variable capacitance circuit 15 and a T2 terminal. In addition, an oscillation enable signal OSCEN is input to a control terminal of the logic inversion circuit 11.

[0019] In the oscillator circuit 10 configured as above, when the oscillation enable signal OSCEN is at a high level, the signal input from the oscillator 3 via the T1 terminal is input to the logic inversion circuit 11 after the DC component is cut by the capacitive element 16, and the signal is inverted and amplified by the logic inversion circuit 11, which is an amplifier circuit, and supplied to the oscillator 3 via the resistor 13 and the T2 terminal. This causes the oscillator 3 to oscillate. On the other hand, when the oscillation enable signal OSCEN is at a low level, the logic inversion circuit 11 puts the output signal into a high impedance state regardless of the logical level of the input signal, thereby stopping the oscillation operation of the oscillator 3.

[0020] The variable capacitance circuits 14 and 15 function as load capacitances for the vibrator 3. The larger the capacitance values ​​of the variable capacitance circuits 14 and 15, the lower the oscillation frequency of the vibrator 3, and the smaller the capacitance values ​​of the variable capacitance circuits 14 and 15, the higher the oscillation frequency of the vibrator 3. The variable capacitance circuits 14 and 15 are provided to adjust the oscillation frequency so that the vibrator 3 oscillates at a desired frequency, and information for setting the capacitance values ​​of the variable capacitance circuits 14 and 15 is stored in a non-volatile memory (not shown).

[0021] The output buffer 20 receives the oscillation signal from the oscillator circuit 10 and outputs a clock signal CK. Specifically, the oscillation signal output from the logic inversion circuit 11 of the oscillator circuit 10 is input to the input terminal of the output buffer 20. The output buffer 20 buffers the oscillation signal, and outputs the clock signal CK from the output terminal when the signal input to the control terminal is at a high level. The output buffer 20 outputs the ground voltage Vss from the output terminal when the signal input to the control terminal is at a low level.

[0022] The control circuit 50 controls the operation of each circuit. Specifically, the control circuit 50 sets the operation mode of the circuit device 2 to one of a plurality of modes including a normal operation mode, an external communication mode, and an inspection mode, and performs control according to the set operation mode. The normal operation mode is an operation mode in which the oscillation circuit 10 performs an oscillation operation, and whether or not a clock signal CK is output from the OUT terminal is controlled according to a control signal input from the OE terminal. The external communication mode is an operation mode in which the control circuit 50 communicates with an external device (not shown) via the OE terminal and the OUT terminal. The inspection mode is an operation mode in which the first input / output circuit 30 and the second input / output circuit 40 are both turned off, the first switch 60 and the second switch 70 are both turned on, and both ends of the vibrator 3 are connected to an external device via the OE terminal and the OUT terminal, respectively. In this embodiment, as shown in FIG. 5, the control circuit 50 includes a serial interface circuit 51 and a register 52.

[0023] When a control signal of a predetermined pattern is input from the OE terminal within a predetermined period from the start of supply of the power supply voltage Vdd to the VDD terminal, the serial interface circuit 51 sets the operation mode to the external communication mode after the predetermined period has elapsed. When a control signal of a predetermined pattern is not input from the OE terminal within a predetermined period from the start of supply of the power supply voltage Vdd, the serial interface circuit 51 sets the operation mode to the normal operation mode without setting the operation mode to the external communication mode after the predetermined period has elapsed. For example, the serial interface circuit 51 may determine the predetermined period as the period from when the oscillator 3 starts oscillating due to the supply of the power supply voltage Vdd until it detects that the oscillation has stabilized, or may count the number of pulses of the clock signal CK and determine that the predetermined period has elapsed when the count value reaches a predetermined value. For example, the serial interface circuit 51 may measure the predetermined period based on the output signal of an RC time constant circuit that starts operating due to the supply of the power supply voltage Vdd.

[0024] In the external communication mode, the serial interface circuit 51 is electrically connected to the OE terminal via the first input / output circuit 30, and is electrically connected to the OUT terminal via the second input / output circuit 40, and can perform data communication with an external device (not shown) via the OE terminal and the OUT terminal. In this embodiment, in the external communication mode, the OE terminal and the T3 terminal serve as serial data terminals, and the OUT terminal and the T4 terminal serve as serial clock terminals. The external device outputs a serial clock signal to the OUT terminal in accordance with a predetermined communication standard, and outputs a serial data signal to the OE terminal in synchronization with the serial clock signal, or obtains a signal output from the serial interface circuit 51 to the OE terminal. In the external communication mode, the serial interface circuit 51 samples serial data signals as various commands at each edge of the serial clock signal in accordance with, for example, the I2C bus standard. I2C is an abbreviation for Inter-Integrated Circuit. The serial interface circuit 51 performs processing such as setting an operation mode and reading and writing data from and to the register 52 based on the sampled command. In this embodiment, the serial interface circuit 51 communicates with an external device according to a two-wire bus communication standard such as an I2C bus, but may also communicate with an external device according to a three-wire or four-wire bus communication standard such as an SPI bus. SPI is an abbreviation for Serial Peripheral Interface.

[0025] For example, when the serial interface circuit 51 samples a register setting command, it writes specified data to the address of the register 52 specified by the register setting command. The register 52 holds multiple bits of data, and outputs five bits of the multiple bits as an oscillation enable signal OSCEN, a first switch enable signal SW1EN, a second switch enable signal SW2EN, a first input / output enable signal IO1EN, and a second input / output enable signal IO2EN. The oscillation enable signal OSCEN is a signal that controls the operation of the oscillation circuit 10. The first switch enable signal SW1EN and the second switch enable signal SW2EN are signals that control the first switch 60 and the second switch 70 to be on or off, respectively. The first input / output enable signal IO1EN and the second input / output enable signal IO2EN are signals that control the first input / output circuit 30 and the second input / output circuit 40 to be on or off, respectively.

[0026] In the external communication mode, the external device can set the oscillation enable signal OSCEN, the first switch enable signal SW1EN, and the second switch enable signal SW2EN to a low level or a high level, respectively, by sending a register setting command to the serial interface circuit 51 via the OE terminal and the OUT terminal. In addition, the external device sets the oscillation enable signal OSCEN to a low level and sets both the first switch enable signal SW1EN and the second switch enable signal SW2EN to a high level by the register setting command, and then ends the communication. As a result, the serial interface circuit 51 sets both the first input / output enable signal IO1EN and the second input / output enable signal IO2EN to a low level, and the operation mode transitions from the external communication mode to the inspection mode.

[0027] The first input / output circuit 30 is provided on a signal path between the T3 terminal and the register 52. The first input / output circuit 30 is provided on a signal path between the T3 terminal and the output buffer 20. The first input / output circuit 30 is turned on or off according to the logic level of the first input / output enable signal IO1EN. Specifically, when the first input / output enable signal IO1EN is at a high level, the first input / output circuit 30 is turned on. When the first input / output circuit 30 is turned on, the T3 terminal and the control terminal of the output buffer 20 are electrically connected and the T3 terminal and the register 52 are electrically disconnected in the normal operation mode. When the first input / output circuit 30 is turned on, the T3 terminal and the register 52 are electrically connected via the serial interface circuit 51 and the T3 terminal and the control terminal of the output buffer 20 are electrically disconnected. On the other hand, when the first input / output enable signal IO1EN is at a low level in the inspection mode, the first input / output circuit 30 is turned off when the first input / output enable signal IO1EN is at a low level. By turning off the first input / output circuit 30, the T3 terminal is electrically disconnected from the control terminal of the output buffer 20, and the T3 terminal is electrically disconnected from the register 52. In this manner, the first input / output circuit 30 is controlled by the first input / output enable signal IO1EN output from the register 52, and is turned on in the normal operation mode and the external communication mode, and is turned off in the test mode.

[0028] The second input / output circuit 40 is provided on a signal path between the output buffer 20 and the T4 terminal. The second input / output circuit 40 is also provided on a signal path between the T4 terminal and the register 52. The second input / output circuit 40 is turned on or off according to the logic level of the second input / output enable signal IO2EN. Specifically, when the second input / output enable signal IO2EN is at a high level, the second input / output circuit 40 is turned on. When the second input / output circuit 40 is turned on, the output terminal of the output buffer 20 and the T4 terminal are electrically connected and the T4 terminal and the register 52 are electrically disconnected in the normal operation mode. When the second input / output circuit 40 is turned on, the T4 terminal and the register 52 are electrically connected via the serial interface circuit 51 and the output terminal of the output buffer 20 and the T4 terminal are electrically disconnected. On the other hand, when the second input / output enable signal IO2EN is at a low level in the inspection mode, the second input / output circuit 40 is turned off when the second input / output enable signal IO2EN is at a low level. By turning off the second input / output circuit 40, the output buffer 20 is electrically disconnected from the T4 terminal, and the T4 terminal is electrically disconnected from the register 52. In this manner, the second input / output circuit 40 is controlled by the second input / output enable signal IO2EN output from the register 52, and is turned on in the normal operation mode and the external communication mode, and is turned off in the test mode.

[0029] The first switch 60 is provided on a signal path between the T1 terminal and the T3 terminal. The first switch 60 is turned on or off according to the logic level of the first switch enable signal SW1EN. Specifically, in the normal operation mode and the external communication mode, the first switch enable signal SW1EN is at a low level, and when the first switch enable signal SW1EN is at a low level, the first switch 60 is turned off. When the first switch 60 is turned off, the T1 terminal and the T3 terminal are electrically disconnected, and thus one end of the vibrator 3 is electrically disconnected from the OE terminal. On the other hand, in the inspection mode, the first switch enable signal SW1EN is at a high level, and when the first switch enable signal SW1EN is at a high level, the first switch 60 is turned on. When the first switch 60 is turned on, the T1 terminal and the T3 terminal are electrically connected, and thus one end of the vibrator 3 is electrically connected to the OE terminal.

[0030] The second switch 70 is provided on a signal path between the T2 terminal and the T4 terminal. The second switch 70 is turned on or off according to the logic level of the second switch enable signal SW2EN. Specifically, in the normal operation mode and the external communication mode, the second switch enable signal SW2EN is at a low level, and when the second switch enable signal SW2EN is at a low level, the second switch 70 is turned off. When the second switch 70 is turned off, the T2 terminal and the T4 terminal are electrically disconnected, and thus the other end of the vibrator 3 is electrically disconnected from the OUT terminal. On the other hand, in the inspection mode, the second switch enable signal SW2EN is at a high level, and when the second switch enable signal SW2EN is at a high level, the second switch 70 is turned on. When the second switch 70 is turned on, the T2 terminal and the T4 terminal are electrically connected, and thus the other end of the vibrator 3 is electrically connected to the OUT terminal.

[0031] When the supply of the power supply voltage Vdd to the VDD terminal starts, the power-on reset circuit 80 outputs a reset signal RST that is at a high level for a predetermined period. The reset signal RST resets the register 52, and the oscillation enable signal OSCEN, the first input / output enable signal IO1EN, and the second input / output enable signal IO2EN are initialized to a high level, and the first switch enable signal SW1EN and the second switch enable signal SW2EN are initialized to a low level. After that, when a predetermined period has elapsed, the operation mode of the circuit device 2 is initialized to the normal operation mode. That is, the circuit device 2 is set to the normal operation mode by the initial value of the register 52 that is set when the power is turned on.

[0032] As described above, in the external communication mode, the setting values ​​for controlling the first switch 60 and the second switch 70 are set in the register 52 by communication using the T3 terminal and the T4 terminal. In the normal operation mode, the first switch 60 and the second switch 70 are turned off, one end of the vibrator 3 is electrically disconnected from the T3 terminal, and the other end of the vibrator 3 is electrically disconnected from the T4 terminal. Then, a control signal for controlling the operation of the output buffer 20 is input to the T3 terminal, and a clock signal CK is output from the T4 terminal. Therefore, in the normal operation mode, the oscillator 1 outputs the clock signal CK from the OUT terminal in response to the control signal input from the OE terminal.

[0033] On the other hand, in the inspection mode, the first switch 60 and the second switch 70 are turned on, the T1 terminal and the T3 terminal are electrically connected, and the T2 terminal and the T4 terminal are electrically connected. As a result, one end of the vibrator 3 is electrically connected to the OE terminal, and the other end of the vibrator 3 is electrically connected to the OUT terminal, so that an inspection device, which is an external device, can inspect the CI value of the vibrator 3 using the OE terminal and the OUT terminal. Note that the DC path from the T1 terminal to the T2 terminal via the resistors 12 and 13 is cut by the capacitive element 16, so that this path does not adversely affect the inspection.

[0034] In this embodiment, the T1 terminal is an example of a first terminal, the T2 terminal is an example of a second terminal, the T3 terminal is an example of a third terminal, and the T4 terminal is an example of a fourth terminal. The OE terminal is an example of a first external terminal, and the OUT terminal is an example of a second external terminal. The normal operation mode is an example of a first mode, the inspection mode is an example of a second mode, and the external communication mode is an example of a third mode.

[0035] 2. How to check CI value As described above, in this embodiment, in the inspection mode, one end of the vibrator 3 is electrically connected to the OE terminal, and the other end of the vibrator 3 is electrically connected to the OUT terminal, so that the inspection device, which is an external device, can inspect the CI value of the vibrator 3 using the OE terminal and the OUT terminal.

[0036] Fig. 6 is a diagram showing the configuration of an inspection system in which an inspection device 100 is connected to an oscillator 1. As shown in Fig. 6, the inspection device 100 is connected to the VDD terminal, the VSS terminal, the OE terminal, and the OUT terminal of the oscillator 1. The ground of the oscillator 1 and the ground of the inspection device 100 are common.

[0037] Fig. 7 is a flow chart showing an example of a procedure of a method for inspecting the CI value of the resonator 3 by the inspection device 100 in the inspection system of Fig. 6. Fig. 8 is a diagram showing an example of voltage waveforms of each terminal and each signal when inspecting the CI value according to the flow chart of Fig. 7.

[0038] In the example of FIG. 7, first, in step S1, the inspection device 100 supplies a power supply voltage Vdd to the VDD terminal of the oscillator 1. In step S1, the VDD terminal rises from the ground voltage Vss to a desired voltage as shown in FIG. 8. This generates a reset signal RST that is at a high level for a predetermined period, and each bit of the register 52 is initialized. As a result, the first switch enable signal SW1EN and the second switch enable signal SW2EN are initialized to a low level, and the first switch 60 and the second switch 70 are turned off. In addition, the oscillation enable signal OSCEN is initialized to a high level, and the oscillation circuit 10 starts oscillating. In addition, the first input / output enable signal IO1EN and the second input / output enable signal IO2EN are initialized to a high level, and the first input / output circuit 30 and the second input / output circuit 40 are turned on.

[0039] Next, in step S2, the inspection device 100 supplies a control signal to the OE terminal of the oscillator 1, and sets the oscillator 1 to the external communication mode. That is, as shown in Fig. 8, the inspection device 100 supplies a signal of a predetermined pattern to the OE terminal of the oscillator 1 within a predetermined period after supplying the power supply voltage Vdd to the VDD terminal, and sets the oscillator 1 to the external communication mode.

[0040] Next, in step S3, the inspection device 100 supplies control signals to the OUT terminal and the OE terminal of the oscillator 1, and transmits a command for writing a set value for inspection to the register 52. That is, as shown in Fig. 8, the inspection device 100 fixes the logic level of the OE terminal to a high level, and changes the logic level of the OUT terminal from a high level to a low level, thereby establishing a start condition and starting communication. Then, the inspection device 100 inputs a serial clock signal from the OE terminal, inputs a serial data signal from the OUT terminal, and transmits a command for writing a desired value to each bit of the register 52.

[0041] Next, in step S4, the inspection device 100 ends the communication using the OE terminal and the OUT terminal, and sets the oscillator 1 to the inspection mode. That is, as shown in FIG. 8, the inspection device 100 fixes the logic level of the OE terminal to a high level, and changes the logic level of the OUT terminal from a low level to a high level, thereby establishing a stop condition and ending the communication. As a result, the serial interface circuit 51 writes a desired setting value into the register 52, and as shown in FIG. 8, the first switch enable signal SW1EN and the second switch enable signal SW2EN change from a low level to a high level, turning on the first switch 60 and the second switch 70. In addition, the oscillation enable signal OSCEN changes from a high level to a low level, and the oscillation circuit 10 stops oscillating. Furthermore, the first input / output enable signal IO1EN and the second input / output enable signal IO2EN change from a high level to a low level, and the oscillator 1 is set to the inspection mode.

[0042] 9 shows the state of the oscillator 1 in the inspection mode. In the inspection mode, the first switch enable signal SW1EN and the second switch enable signal SW2EN are at a high level, and the first switch 60 and the second switch 70 are on. As a result, the OE terminal and one end of the vibrator 3 are electrically connected, and the OUT terminal and the other end of the vibrator 3 are electrically connected. In addition, the oscillation enable signal OSCEN is at a low level, and the oscillation circuit 10 stops oscillating. In addition, the first input / output enable signal IO1EN and the second input / output enable signal IO2EN are at a low level, and the first input / output circuit 30 and the second input / output circuit 40 are off.

[0043] Finally, in step S5, the inspection device 100 uses the OE terminal and the OUT terminal to measure the CI value of the resonator 3. For example, the inspection device 100 has a built-in impedance analyzer, and while sweeping the frequency of a signal input to one of the OE terminal and the OUT terminal, measures the impedance of the resonator 3 using the other of the OE terminal and the OUT terminal.

[0044] 9, in the inspection mode, the first input / output circuit 30 and the second input / output circuit 40 are turned off, so that the connection between the OE terminal and the first input / output circuit 30 and the connection between the OUT terminal and the second input / output circuit 40 become high impedance, so that the signal at the OE terminal is not affected by the first input / output circuit 30, and the signal at the OUT terminal is not affected by the second input / output circuit 40. Furthermore, in the inspection mode, the oscillation circuit 10 stops oscillating, and the connection between the oscillation circuit 10 and the resonator 3 also becomes high impedance, so that the resonator 3 is not affected by the oscillation circuit 10. Therefore, the inspection device 100 can inspect the CI value of the resonator 3 with high accuracy.

[0045] 3. Effects As described above, in the oscillator 1 of this embodiment, in the circuit device 2, in the normal operation mode, the first switch 60 and the second switch 70 are turned off, and the T3 terminal and the T4 terminal are electrically disconnected from the T1 terminal and the T2 terminal, and the clock signal CK based on the oscillation operation of the vibrator 3 is output from the T4 terminal in response to the control signal input to the T3 terminal. On the other hand, in the circuit device 2, in the inspection mode, the first switch 60 and the second switch 70 are turned on, and the T3 terminal and the T4 terminal are electrically connected to both ends of the vibrator 3 via the T1 terminal and the T2 terminal, respectively. Therefore, according to the oscillator 1 of this embodiment, in the inspection mode, the inspection device 100 can inspect the vibrator 3 using the OE terminal and the OUT terminal connected to the T3 terminal and the T3 terminal, respectively.

[0046] Furthermore, in the oscillator 1 of this embodiment, the first switch 60 and the second switch 70 in the circuit device 2 are each controlled to be on or off by the signal output from the register 52. Therefore, in the circuit device 2, the first switch 60 and the second switch 70 do not turn on in the normal operation mode unless the power supply voltage Vdd fluctuates so much that the logical level of the signal output from the register 52 changes. Therefore, according to the oscillator 1 of this embodiment, it is possible to reduce the risk of erroneously transitioning to the inspection mode even if a fluctuation in the power supply voltage Vdd occurs in the normal operation mode of the circuit device 2.

[0047] Furthermore, according to the oscillator 1 of this embodiment, in the inspection mode of the circuit device 2, the T3 terminal is electrically disconnected from the first input / output circuit 30, and the T4 terminal is electrically disconnected from the second input / output circuit 40, so that the signals at the T3 terminal and the T4 terminal are not affected by the first input / output circuit 30 and the second input / output circuit 40, respectively. In addition, in the inspection mode of the circuit device 2, the oscillation circuit 10 stops oscillating, so that the resonator 3 is not affected by the oscillation circuit 10. Therefore, the inspection device 100 can inspect the resonator 3 with high accuracy.

[0048] Furthermore, according to the oscillator 1 of this embodiment, the T3 terminal and the T4 terminal, which are necessary for operation in the normal operation mode in the circuit device 2, are also used for inspecting the resonator 3 in the inspection mode and for setting the register 52 in the external communication mode, so that dedicated terminals are not required for the inspection mode and the external communication mode, which is advantageous for miniaturization. Therefore, according to the oscillator 1 of this embodiment, even when a small package in which it is difficult to provide a dedicated inspection terminal is used, it is possible to inspect the resonator 3.

[0049] Furthermore, according to the oscillator 1 of this embodiment, the circuit device 2 is initialized to the normal operation mode when the power is turned on, so that if the circuit device 2 is set to the inspection mode or the external communication mode, the circuit device 2 can be reliably returned to the normal operation mode by turning the power on again.

[0050] 4. Variations The present invention is not limited to the present embodiment, and various modifications are possible within the scope of the present invention.

[0051] For example, in the above embodiment, the first switch 60 is provided on the signal path between the T1 terminal and the T3 terminal, and the second switch 70 is provided on the signal path between the T2 terminal and the T4 terminal, but the first switch 60 may be provided on the signal path between the T1 terminal and the T4 terminal, and the second switch 70 may be provided on the signal path between the T2 terminal and the T3 terminal.

[0052] Furthermore, the oscillator 1 in the above embodiment is a simple oscillator such as SPXO, but may be an oscillator having a temperature compensation function such as TCXO, or may be an oscillator having a frequency control function such as VCXO. SPXO is an abbreviation for Simple Packaged Crystal Oscillator. TCXO is an abbreviation for Temperature Compensated Crystal Oscillator. VCXO is an abbreviation for Voltage Controlled Crystal Oscillator. Furthermore, the oscillator 1 may be an oscillator having a temperature compensation function and a frequency control function such as VC-TCXO, or may be an oscillator having a temperature control function such as OCXO. VC-TCXO is an abbreviation for Voltage Controlled Temperature Compensated Crystal Oscillator. Furthermore, OCXO is an abbreviation for Oven Controlled Crystal Oscillator.

[0053] In the above embodiment, a signal for controlling the output of the output buffer 20 is input to the T3 terminal electrically connected to the first switch 60, but other control signals may also be input. For example, a control signal for setting the oscillator 1 to a standby mode may be input to the T3 terminal, or if the oscillator 1 is an oscillator having a frequency control function such as a VCXO, a signal for controlling the frequency of the clock signal CK may be input.

[0054] The above-described embodiment and modifications are merely examples, and the present invention is not limited to these. For example, the embodiments and modifications can be appropriately combined.

[0055] The present invention includes configurations that are substantially the same as the configurations described in the embodiments, for example, configurations with the same functions, methods, and results, or configurations with the same purpose and effects. The present invention also includes configurations in which non-essential parts of the configurations described in the embodiments are replaced. The present invention also includes configurations that achieve the same effects as the configurations described in the embodiments, or configurations that can achieve the same purpose. The present invention also includes configurations in which publicly known technology is added to the configurations described in the embodiments.

[0056] The following can be derived from the above-described embodiment and modifications.

[0057] One aspect of the circuit device is A first terminal and a second terminal connected to the transducer; A third terminal; A fourth terminal; a first switch provided on a signal path between the first terminal and the third terminal; a second switch provided on a signal path between the second terminal and the fourth terminal; a register that outputs a signal for controlling each of the first switch and the second switch to be on or off; In a first mode, the first switch and the second switch are turned off, a control signal is input to the third terminal, and a clock signal is output from the fourth terminal; In the second mode, the first switch and the second switch are turned on.

[0058] In this circuit device, in the first mode, the first switch and the second switch are turned off, and the third terminal and the fourth terminal are electrically disconnected from the first terminal and the second terminal, and a clock signal based on the oscillation operation of the vibrator is output from the fourth terminal in response to a control signal input to the third terminal. Meanwhile, in the second mode, the first switch and the second switch are turned on, and the third terminal and the fourth terminal are electrically connected to the vibrator via the first terminal and the second terminal. Therefore, according to this circuit device, in the second mode, the inspection device can inspect the vibrator using the third terminal and the fourth terminal. Also, according to this circuit device, the third terminal and the fourth terminal necessary for operation in the first mode are also used for inspecting the vibrator in the second mode, so that dedicated terminals are not required for the second mode, which is advantageous for miniaturization.

[0059] In addition, in this circuit device, the first switch and the second switch are controlled to be turned on or off by the signal output from the register. Therefore, the first switch and the second switch will not be turned on in the first mode unless the power supply voltage fluctuates so much that the logic level of the signal output from the register changes. Therefore, with this circuit device, it is possible to reduce the risk of erroneously transitioning to the second mode for inspection even if a fluctuation in the power supply voltage occurs in the first mode.

[0060] One aspect of the circuit device is The input / output terminal may include an amplifier circuit that amplifies a signal from the first terminal and outputs the amplified signal to the second terminal.

[0061] One aspect of the circuit device is an oscillation circuit for oscillating the oscillator; an output buffer that receives an oscillation signal from the oscillation circuit and outputs the clock signal; The input / output circuit may further include an input / output circuit that is provided on a signal path between the output buffer and the fourth terminal, is controlled by the register, and is turned on in the first mode and turned off in the second mode.

[0062] According to this circuit device, in the second mode, the fourth terminal and the input / output circuit are electrically disconnected, so that the signal at the fourth terminal is not affected by the input / output circuit.

[0063] One aspect of the circuit device is a first input / output circuit provided on a signal path between the third terminal and the register; a second input / output circuit provided on a signal path between the fourth terminal and the register; In the third mode, a setting value for controlling the first switch and the second switch may be set in the register by communication using the third terminal and the fourth terminal.

[0064] According to this circuit device, the third and fourth terminals necessary for operation in the first mode are also used for setting the register in the third mode, so there is no need for a dedicated terminal for the third mode, which is advantageous for miniaturization.

[0065] One aspect of the circuit device is In the third mode, the third terminal may be a serial data terminal, and the fourth terminal may be a serial clock terminal.

[0066] One aspect of the circuit device is The first mode may be set by an initial value of the register that is set at power-on.

[0067] According to this circuit device, when the power is turned on, the device is initialized to the first mode in which the vibrator oscillates, so that if the device is set to a mode other than the first mode, the device can be reliably returned to the first mode by turning the power on again.

[0068] One embodiment of the oscillator is A vibrator; A circuit device connected to the transducer; a container that houses the vibrator and the circuit device, The circuit device comprises: A first terminal and a second terminal connected to the transducer; A third terminal; A fourth terminal; a first switch provided on a signal path between the first terminal and the third terminal; a second switch provided on a signal path between the second terminal and the fourth terminal; a register that outputs a signal for controlling each of the first switch and the second switch to be on or off; The container comprises: a first external terminal connected to the third terminal; a second external terminal connected to the fourth terminal; In a first mode, the first switch and the second switch are turned off, a control signal is input to the first external terminal, and a clock signal is output from the second external terminal; In the second mode, the first switch and the second switch are turned on.

[0069] In this oscillator, in the first mode of the circuit device, the first switch and the second switch are turned off, and the third terminal and the fourth terminal are electrically disconnected from the first terminal and the second terminal, and a clock signal based on the oscillation operation of the vibrator is output from the fourth terminal in response to a control signal input to the third terminal. Meanwhile, in the second mode of the circuit device, the first switch and the second switch are turned on, and the third terminal and the fourth terminal are electrically connected to the vibrator via the first terminal and the second terminal. Therefore, according to this oscillator, in the second mode of the circuit device, the inspection device can inspect the vibrator using the third terminal and the fourth terminal. Also, according to this oscillator, the third terminal and the fourth terminal necessary for the operation in the first mode are also used for inspecting the vibrator in the second mode, so that a dedicated terminal is not required for the second mode, which is advantageous for miniaturization.

[0070] In addition, in this oscillator, the first switch and the second switch in the circuit device are controlled to be turned on or off by the signal output from the register. Therefore, in the circuit device, the first switch and the second switch do not turn on in the first mode unless the power supply voltage fluctuates so much that the logic level of the signal output from the register changes. Therefore, with this oscillator, it is possible to reduce the risk of the circuit device erroneously transitioning to the second mode for inspection even if a fluctuation in the power supply voltage occurs in the first mode. [Explanation of symbols]

[0071] 1...oscillator, 2...circuit device, 3...vibrator, 3a...excitation electrode, 3b...excitation electrode, 4...package, 5...lid, 6...external terminal, 7, 7a, 7b...accommodation chamber, 8...sealing member, 10...oscillator circuit, 11...logic inversion circuit, 12, 13...resistor, 14, 15...variable capacitance circuit, 16...capacitance element, 20...output buffer, 30...first input / output circuit, 40...second input / output circuit, 50...control circuit, 51...serial interface circuit, 52...register, 60...first switch, 70...second switch, 80...power-on reset circuit, 100...inspection device

Claims

1. A first terminal and a second terminal connected to the transducer; A third terminal; A fourth terminal; a first switch provided on a signal path between the first terminal and the third terminal; a second switch provided on a signal path between the second terminal and the fourth terminal; a register that outputs a signal for controlling each of the first switch and the second switch to be on or off; In a first mode, the first switch and the second switch are turned off, a control signal is input to the third terminal, and a clock signal is output from the fourth terminal; In a second mode, the first switch and the second switch are turned on.

2. In claim 1, A circuit device including an amplifier circuit that amplifies a signal from the first terminal and outputs the signal to the second terminal.

3. In claim 1, an oscillation circuit for oscillating the oscillator; an output buffer that receives an oscillation signal from the oscillation circuit and outputs the clock signal; an input / output circuit that is provided on a signal path between the output buffer and the fourth terminal, controlled by the register, and turned on in the first mode and turned off in the second mode.

4. In claim 1, a first input / output circuit provided on a signal path between the third terminal and the register; a second input / output circuit provided on a signal path between the fourth terminal and the register; A circuit device, wherein in a third mode, a setting value for controlling the first switch and the second switch is set in the register by communication using the third terminal and the fourth terminal.

5. In claim 4, In the third mode, the third terminal serves as a serial data terminal, and the fourth terminal serves as a serial clock terminal.

6. In claim 4, The circuit device is set to the first mode by the initial value of the register set at power-on.

7. A vibrator; A circuit device connected to the transducer; a container that houses the vibrator and the circuit device, The circuit device comprises: A first terminal and a second terminal connected to the transducer; A third terminal; A fourth terminal; a first switch provided on a signal path between the first terminal and the third terminal; a second switch provided on a signal path between the second terminal and the fourth terminal; a register that outputs a signal for controlling each of the first switch and the second switch to be on or off; The container comprises: a first external terminal connected to the third terminal; a second external terminal connected to the fourth terminal, In a first mode, the first switch and the second switch are turned off, a control signal is input to the first external terminal, and a clock signal is output from the second external terminal; In a second mode, the first switch and the second switch are on.

Citation Information

Patent Citations

  • Semiconductor integrated circuit, piezoelectric oscillator, and characteristics measuring method

    JP2008187578A

  • Piezoelectric oscillator

    JP2009044606A

  • Crystal oscillator for surface mounting

    JP2009201097A

  • Oscillation circuit, oscillator, electronic equipment and mobile

    JP2020123783A

  • Circuit device, oscillator, electronic apparatus, and movable body

    JP2020150482A