oscillator

By oscillating at multiple levels and detecting amplitude changes, the oscillator performs self-failure diagnosis, enhancing accuracy and reliability without external tools.

JP2024115318AInactive Publication Date: 2024-08-26SEIKO EPSON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023020954
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-14
Publication Date
2024-08-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Conventional oscillators fail to accurately diagnose failures when the vibrator is not in a specific excitation state, limiting the effectiveness of fault detection.

Method used

The oscillator is configured to oscillate at multiple excitation levels, with an amplitude detection circuit to detect the amplitude of the oscillation signal and a fault diagnosis circuit to perform diagnosis based on these detections, allowing for self-failure diagnosis without external devices.

Benefits of technology

This approach enables highly accurate failure diagnosis by detecting amplitude variations across different excitation levels, improving the reliability of the oscillator without requiring external measurement equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024115318000001
    Figure 2024115318000001
Patent Text Reader

Abstract

To provide an oscillator that can conduct accurate fault diagnosis by using an internal circuit.SOLUTION: An oscillator 4 includes: a vibrator 10; an oscillation circuit 30 that can oscillate the vibrator 10 at a plurality of excitation levels; an amplitude detection circuit 40 that detects the amplitude of an oscillation signal OSC output from the oscillation circuit 30; and a fault diagnosis circuit 50 that conducts fault diagnosis based on results of amplitude detection when the vibrator is oscillated at the plurality of excitation levels.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an oscillator and the like. [Background technology]

[0002] An oscillator that generates a clock signal by oscillating an oscillator such as a quartz crystal oscillator is, for example, a conventional technique disclosed in Patent Document 1. In Patent Document 1, the amplitude of an oscillation signal is detected, a threshold value for determining an abnormality is set, and if the amplitude does not reach or exceed the threshold value, it is determined that an abnormality has occurred. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP2019-118057A Summary of the Invention [Problem to be solved by the invention]

[0004] In Patent Document 1, the amplitude of the oscillation signal is detected, and a fault is judged based on the detected amplitude value and a threshold value. Therefore, a fault can only be detected when the vibrator is in a specific excitation state, and accurate fault diagnosis cannot be realized. [Means for solving the problem]

[0005] One aspect of the present disclosure relates to an oscillator that includes a vibrator, an oscillation circuit configured to enable the vibrator to oscillate at a plurality of excitation levels, an amplitude detection circuit that detects the amplitude of an oscillation signal output from the oscillation circuit, and a fault diagnosis circuit that performs fault diagnosis based on a result of the amplitude detection during oscillation at a plurality of excitation levels. [Brief description of the drawings]

[0006] [Figure 1] 3 shows a configuration example of an oscillator according to the present embodiment. [Diagram 2]3 shows a detailed configuration example of an oscillator according to the present embodiment. [Diagram 3] An example of an oscillator circuit configuration. [Figure 4] 1 shows an example of the configuration of an amplitude detection circuit and a fault diagnosis circuit. [Diagram 5] FIG. 4 is a signal waveform diagram illustrating the operation of the amplitude detection circuit. [Figure 6] An example of the frequency deviation characteristics of a good product when the drive level is changed. [Figure 7] An example of the CI value characteristics of a good product when the drive level is changed. [Figure 8] An example of the frequency deviation characteristics of a defective product when the drive level is changed. [Figure 9] An example of the CI value characteristics of a defective product when the drive level is changed. [Figure 10] An example of the frequency deviation characteristics of a defective product when the drive level is changed. [Figure 11] An example of the CI value characteristics of a defective product when the drive level is changed. [Figure 12] FIG. 1 shows the relationship between CI value and amplitude. [Figure 13] 1 is an explanatory diagram of a method for performing fault diagnosis based on the amplitude of an oscillation signal at each excitation level. [Figure 14] 4 is a flowchart illustrating the operation of an oscillator. [Figure 15] FIG. 13 is an explanatory diagram of a technique in which an oscillation operation detection circuit and an amplitude detection circuit are used together. [Figure 16] 13 shows another example of the configuration of the amplitude detection circuit. [Figure 17] FIG. 11 is a signal waveform diagram illustrating the operation of another example configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] The present embodiment will be described below. Note that the present embodiment described below does not unduly limit the contents of the claims. Furthermore, not all of the configurations described in the present embodiment are necessarily essential configurations.

[0008] 1. Oscillator 1 shows an example of the configuration of an oscillator 4 according to this embodiment. The oscillator 4 includes a resonator 10, an oscillation circuit 30, an amplitude detection circuit 40, and a fault diagnosis circuit 50.

[0009] The vibrator 10 is an element that generates mechanical vibration by an electrical signal. The vibrator 10 can be realized by a vibrating piece such as a quartz crystal vibrating piece. For example, the vibrator 10 can be realized by a quartz crystal vibrating piece that vibrates in a thickness shear manner such as an AT cut or SC cut cut angle, a tuning fork type quartz crystal vibrating piece, or a double tuning fork type quartz crystal vibrating piece. For example, the vibrator 10 may be a vibrator built into an oscillator of an SPXO (Simple Packaged Crystal Oscillator), a vibrator built into a temperature compensated crystal oscillator (TCXO) that does not have a thermostatic oven, or a vibrator built into an oven-controlled crystal oscillator (OCXO) that has a thermostatic oven. The vibrator 10 of this embodiment can also be realized by various vibrating pieces such as a vibrating piece other than a thickness shear vibration type, a tuning fork type, or a double tuning fork type, or a piezoelectric vibrating piece formed of a material other than quartz. For example, as the vibrator 10, a SAW (Surface Acoustic Wave) resonator or a MEMS (Micro Electro Mechanical Systems) vibrator as a silicon vibrator formed using a silicon substrate can be used.

[0010] The oscillation circuit 30 is a circuit that oscillates the vibrator 10. For example, the oscillation circuit 30 generates an oscillation signal by oscillating the vibrator 10. The oscillation circuit 30 can be realized by, for example, a drive circuit for oscillation electrically connected to one end and the other end of the vibrator 10, and passive elements such as a capacitor and a resistor. The drive circuit can be realized by, for example, a bipolar transistor or a CMOS inverter circuit. The drive circuit is a core circuit of the oscillation circuit 30, and the drive circuit drives the vibrator 10 with voltage or current to oscillate the vibrator 10. As the oscillation circuit 30, various types of oscillation circuits such as an inverter type, a Pierce type, a Colpitts type, or a Hartley type can be used. Note that 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 passive element or the like.

[0011] The amplitude detection circuit 40 detects the amplitude of the oscillation signal OSC. That is, the amplitude detection circuit 40 detects the amplitude of the oscillation signal OSC output from the oscillation circuit 30. The amplitude detection of the oscillation signal OSC may be realized by detecting a peak voltage or a peak-to-peak voltage of the oscillation signal OSC as long as it can detect a voltage corresponding to the amplitude of the oscillation signal OSC. Alternatively, the amplitude detection of the oscillation signal OSC may be realized by detecting a DC voltage obtained by integrating the sine wave oscillation signal OSC.

[0012] The fault diagnosis circuit 50 performs fault diagnosis of the oscillator 4. Fault diagnosis is, for example, a process of detecting whether an abnormality has occurred in the oscillator 4, and fault diagnosis can also be called abnormality detection. Fault diagnosis is fault diagnosis of the oscillator 4, for example, fault diagnosis of the resonator 10. The fault diagnosis circuit 50 performs self-fault diagnosis, for example, as fault diagnosis of the oscillator 4. For example, the fault diagnosis circuit 50 performs fault diagnosis using its own circuits and processing, without using an external measuring device.

[0013] In this embodiment, the oscillator circuit 30 is configured to be able to oscillate the vibrator 10 at a plurality of drive levels. The drive level is called a drive level, and when the equivalent resistance of the vibrator 10 is RL and the current value flowing through the vibrator is I, DL=RL×I 2 It can be expressed as follows. The current value is, for example, an effective current value. The oscillation circuit 30 is configured to be able to variably change this drive level DL. For example, the oscillation circuit 30 variably controls the current that the drive circuit passes through the oscillator 10, thereby making it possible to oscillate the oscillator 10 at a plurality of drive levels.

[0014] The amplitude detection circuit 40 detects the amplitude of the oscillation signal OSC output from the oscillation circuit 30, and the fault diagnosis circuit 50 performs fault diagnosis based on the result of the amplitude detection during oscillation at a plurality of excitation levels. For example, when the oscillation circuit 30 oscillates the resonator 10 at the first excitation level to the nth excitation level, the amplitude detection circuit 40 detects the amplitude of the oscillation signal OSC during oscillation at the first excitation level to the nth excitation level, where n is an integer equal to or greater than 2. The fault diagnosis circuit 50 performs fault diagnosis of the oscillator 4 based on the amplitude detection result by the amplitude detection circuit 40 during oscillation at the first excitation level to the nth excitation level. Here, the amplitude detection result may be the amplitude of the oscillation signal OSC itself, or may be a detection result corresponding to the amplitude.

[0015] As described above, the oscillator 4 of this embodiment can oscillate the resonator 10 at a plurality of excitation levels. Then, the amplitude of the oscillation signal OSC is detected when the resonator 10 oscillates at a plurality of excitation levels, and a fault diagnosis of the oscillator 4 is performed based on the amplitude detection result. In this way, fault diagnosis can be performed using only the internal circuit of the oscillator 4 without using an external measuring device for measuring the clock frequency, and self-fault diagnosis can be realized. Furthermore, since faults can be detected based on the amplitude detection results when the excitation level of the resonator 10 is changed in various ways, accurate fault diagnosis can be performed using only the circuit of the oscillator 4.

[0016] 2 shows a detailed configuration example of the oscillator 4 of this embodiment. The oscillator 4 includes a resonator 10 and a circuit device 20. The resonator 10 is electrically connected to the circuit device 20. For example, the resonator 10 and the circuit device 20 are electrically connected using internal wiring, bonding wires, metal bumps, or the like of a package that houses the resonator 10 and the circuit device 20. Note that the circuit device 20 and the oscillator 4 are not limited to the configuration in FIG. 2, and various modifications are possible, such as omitting some of the components, adding other components, or replacing some of the components with other components.

[0017] The circuit device 20 is an integrated circuit device called an IC (Integrated Circuit). For example, the circuit device 20 is an IC manufactured by a semiconductor process, and is a semiconductor chip in which circuit elements are formed on a semiconductor substrate. The circuit device 20 includes pads PVDD, PGND, PX1, PX2, and PCK. A pad for output enable control of a clock signal may be provided. The pads are terminals of the circuit device 20, which is a semiconductor chip. For example, in the pad region, a metal layer is exposed from a passivation film, which is an insulating layer, and the exposed metal layer constitutes a pad, which is a terminal of the circuit device 20. The pads PVDD and PGND are a power pad and a ground pad, respectively. A power supply voltage VDD from an external power supply device is supplied to the pad PVDD. The pad PGND is a pad to which GND, which is a ground voltage, is supplied. GND can also be called VSS, and the ground voltage is, for example, a ground potential. In this embodiment, the ground is appropriately described as GND. For example, VDD corresponds to a high-potential power supply, and GND corresponds to a low-potential power supply. The pads PX1 and PX2 are pads for connecting the resonator 10. The pad PCK is a pad for outputting the output clock signal CKQ. The pads PVDD, PGND, and PCK are electrically connected to the terminals TVDD, TGND, and TCK, which are external terminals for external connection of the oscillator 4, respectively. For example, these pads and terminals are electrically connected using internal wiring of the package, bonding wires, metal bumps, or the like.

[0018] The oscillator circuit 30 is electrically connected to the vibrator 10 via the pads PX1 and PX2. The pads PX1 and PX2 are pads for connecting the vibrator. A drive circuit 34 for oscillation of the oscillator circuit 30 is provided between the pads PX1 and PX2. The oscillator circuit 30 may also include a variable capacitance circuit (not shown). The variable capacitance circuit is, for example, a circuit that changes the capacitance at least one of one end and the other end of the vibrator 10, and the oscillation frequency of the oscillator circuit 30 can be adjusted by adjusting the capacitance of the variable capacitance circuit. That is, the variable capacitance circuit is electrically connected to at least one of the pads PX1 and PX2, so that the load capacitance of the oscillator circuit 30 can be variably adjusted. The variable capacitance circuit can be realized by a variable capacitance element such as a varactor. For example, the variable capacitance circuit is composed of at least one variable capacitance element.

[0019] The waveform shaping circuit 38 shapes the waveform of the oscillation signal OSC from the oscillation circuit 30, and outputs a clock signal CK. For example, the waveform shaping circuit 38 shapes the waveform of the sine wave oscillation signal OSC, and outputs a square wave clock signal CK.

[0020] The control circuit 60 is a logic circuit and performs various control processes. For example, the control circuit 60 controls the entire circuit device 20 and controls the operation sequence of the circuit device 20. The control circuit 60 may also control the oscillation circuit 30, the amplitude detection circuit 40, the fault diagnosis circuit 50, the temperature compensation circuit 70, the power supply circuit 90, the memory 68, or the like. The control circuit 60 can be realized by an ASIC (Application Specific Integrated Circuit) circuit that is automatically placed and wired, for example, by a gate array or the like.

[0021] The memory 68 stores various information used in the circuit device 20. The memory 68 is, for example, a non-volatile memory. The non-volatile memory is an EEPROM such as a Floating gate Avalanche injection MOS (FAMOS) memory or a Metal-Oxide-Nitride-Oxide-Silicon (MONOS) memory, but is not limited thereto and may be an OTP (One Time Programmable) memory or a fuse-type ROM. Alternatively, the memory 68 may be realized by a volatile memory such as a RAM.

[0022] The temperature compensation circuit 70 performs temperature compensation of the oscillation frequency of the oscillation circuit 30. The temperature compensation is a process for suppressing and compensating for the fluctuation of the oscillation frequency due to temperature fluctuation. Specifically, the temperature compensation circuit 70 performs temperature compensation based on a temperature detection signal from the temperature sensor 72. For example, the temperature compensation circuit 70 performs temperature compensation by generating a temperature compensation voltage based on a temperature detection voltage from the temperature sensor 72 and outputting the generated temperature compensation voltage to a variable capacitance circuit included in the oscillation circuit 30. In this case, the variable capacitance circuit of the oscillation circuit 30 is realized by a variable capacitance element such as a varactor. For example, when the temperature compensation voltage for compensating for the frequency-temperature characteristic of the vibrator 10 is approximated by a polynomial, the temperature compensation circuit 70 performs analog-type temperature compensation based on coefficient information of the polynomial. Alternatively, the temperature compensation circuit 70 may perform digital-type temperature compensation. In this case, the variable capacitance circuit can be realized by, for example, a capacitor array and a switch array connected to the capacitor array, and the temperature compensation circuit 70 can be realized by, for example, a logic circuit.

[0023] The temperature sensor 72 is a sensor that detects temperature. Specifically, the temperature sensor 72 outputs a temperature-dependent voltage that changes according to the environmental temperature as a temperature detection voltage. Specifically, the temperature sensor 72 outputs a temperature detection voltage whose voltage changes depending on temperature, for example, by using the temperature dependency of the forward voltage of a PN junction. Note that a modification using a digital temperature sensor circuit as the temperature sensor 72 is also possible. In this case, the temperature detection data may be D / A converted to generate the temperature detection voltage.

[0024] The output circuit 80 is a circuit that buffers and outputs a clock signal CK generated based on the oscillation signal OSC. For example, the output circuit 80 buffers the clock signal CK and outputs it to the pad PCK as an output clock signal CKQ. For example, the output circuit 80 outputs the output clock signal CKQ in a single-ended CMOS signal format. Note that the output circuit 80 may output a differential clock signal in a signal format such as LVDS (Low Voltage Differential Signaling), PECL (Positive Emitter Coupled Logic), HCSL (High Speed ​​Current Steering Logic), or differential CMOS (Complementary MOS).

[0025] Furthermore, a PLL circuit that multiplies the frequency of the clock signal CK may be provided between the oscillator circuit 30 or the waveform shaping circuit 38 and the output circuit 80. In this way, the output circuit 80 can output an output clock signal CKQ having a frequency that is a multiplication of the oscillation frequency.

[0026] The power supply circuit 90 is supplied with a power supply voltage VDD from a pad PVDD and a ground voltage GND from a pad PGND, and supplies various power supply voltages for the internal circuits of the circuit device 20 to the internal circuits. For example, the power supply circuit 90 supplies a regulated power supply voltage obtained by regulating the power supply voltage VDD to each circuit of the circuit device 20, such as the oscillator circuit 30, the waveform shaping circuit 38, and the amplitude detection circuit 40.

[0027] 2, the oscillation circuit 30 includes a variable current source 32 and a drive circuit 34. The variable current source 32 supplies a current with a variable current value to the drive circuit 34. The drive circuit 34 drives the vibrator 10 based on the current supplied from the variable current source 32. For example, the drive circuit 34 drives the vibrator 10 by passing the current from the variable current source 32 through the vibrator 10. The multiple excitation levels are set by the value of the current supplied from the variable current source 32. For example, the variable current source 32 supplies first to n-th currents having different current values ​​to the drive circuit 34, and the drive circuit 34 drives the vibrator 10 based on the first to n-th currents, so that the vibrator 10 oscillates at multiple excitation levels. For example, the excitation level, which is the drive level, is expressed as DL=RL×I as described above. 2 Therefore, the variable current source 32 variably changes the current I supplied to the drive circuit 34, so that the vibrator 10 oscillates at a plurality of excitation levels. In this way, by providing the variable current source 32 in the oscillation circuit 30, it is possible to realize an oscillation circuit 30 configured to be able to oscillate the vibrator 10 at a plurality of excitation levels.

[0028] The amplitude detection circuit 40 also includes a detection circuit 42. The detection circuit 42 detects the envelope of the oscillation signal OSC. For example, the detection circuit 42 performs detection to extract the envelope of the oscillation signal OSC. For example, the detection circuit 42 detects and holds the peak voltage of the sine wave oscillation signal OSC, thereby realizing the envelope detection. The fault diagnosis circuit 50 performs fault diagnosis based on the output voltage of the detection circuit 42. In this way, the detection circuit 42 detects the envelope of the oscillation signal OSC, so that the peak voltage, etc. of the oscillation signal OSC are output from the detection circuit 42 as the voltage of the amplitude of the oscillation signal OSC. The fault diagnosis circuit 50 can perform fault diagnosis using the output voltage of the detection circuit 42 as the result of detecting the amplitude of the oscillation signal OSC.

[0029] The amplitude detection circuit 40 also includes a comparison circuit 44. The comparison circuit 44 compares the output voltage of the detection circuit 42 with a comparison voltage and outputs a detection signal of the oscillation operation of the oscillation circuit 30. For example, when the output voltage of the detection circuit 42 exceeds the comparison voltage, the comparison circuit 44 sets the detection signal of the oscillation operation of the oscillation circuit 30 to an active level. In this way, for example, when the oscillator 4 is started up, the amplitude of the oscillation signal OSC gradually increases, and when it reaches an amplitude corresponding to the comparison voltage, it becomes possible to notify the control circuit 60 and the like by the detection signal that the oscillation operation has been performed normally.

[0030] 3 shows a detailed configuration example of the oscillator circuit 30. The oscillator circuit 30 includes a variable current source 32 and a drive circuit 34. The oscillator circuit 30 may also include capacitance circuits CA1 and CA2.

[0031] The variable current source 32 and the drive circuit 34 are provided in series between a power supply node, which is a high-potential power supply node, and a GND node, which is a low-potential power supply node. The capacitance circuit CA1 is provided between a node NA1 on the side of the pad PX1 to which one end of the vibrator 10 is connected, and the GND node. The capacitance circuit CA2 is provided between a node NA2 on the side of the pad PX2 to which the other end of the vibrator 10 is connected, and the GND node. The capacitance circuits CA1 and CA2 are, for example, variable capacitance circuits. The capacitance of the capacitance circuits CA1 and CA2 is adjusted to adjust the oscillation frequency, thereby achieving temperature compensation processing of the oscillation frequency, etc.

[0032] The driving circuit 34 includes a bipolar transistor BP. The collector of the bipolar transistor BP is connected to a node NA3 which is a supply node of a current I of the variable current source 32, the base is connected to a node NA1, and the emitter is connected to a GND node. A resistor RA is provided between the collector and the base.

[0033] The variable current source 32 can be realized by, for example, a current mirror circuit. The current mirror circuit supplies the drive circuit 34 with a current I obtained by current-mirroring the reference current IRF from a reference current generating circuit (not shown). Specifically, the current mirror circuit is configured with a first transistor whose drain and gate are connected and through which the reference current IRF flows from the source to the drain, and a second transistor whose gate is connected to the gate of the first transistor and through which the current I flows. The second transistor is configured to have a variable transistor size, and this allows the variable current source 32 to supply the drive circuit 34 with a current I whose current value is variable. Specifically, the second transistor can be configured with, for example, a plurality of unit transistors connected in parallel between a power supply node and a node NA3, and a switch circuit. The current value of the current I is set to be variable depending on the number of unit transistors selected by the switch circuit from among the plurality of unit transistors. The drive circuit 34 drives the vibrator 10 by the current I from the variable current source 32, and the change in the current value of the current I causes the vibrator 10 to oscillate at a plurality of excitation levels. In FIG. 3, the oscillation signal OSC on the XI side, which is the pad PX1 side, is output from the oscillation circuit 30.

[0034] 4 shows an example of the configuration of the amplitude detection circuit 40 and the fault diagnosis circuit 50. The amplitude detection circuit 40 includes a detection circuit 42 and a comparison circuit 44.

[0035] The detector circuit 42 includes a transistor TB1, a current source IS1, a voltage source VBS, a resistor RB1, and capacitors CB1 and CB2. The transistor TB1 and the current source IS1 are connected in series between a power supply node and a GND node. The current source IS1 and the capacitor CB2 are connected in parallel between a node NB1 at the drain of the transistor TB1 and the GND node. The transistor TB1 is an N-type transistor, and is configured as an open drain connection of the N-type transistor TB1.

[0036] The capacitor CB1 is provided between the input node of the oscillation signal OSC and the node NB2 at the gate of the transistor TB1. The resistor RB1 and the voltage source VBS are provided in series between the node NB2 and the GND node. The capacitor CB1 is a DC cut capacitor, and the DC component of the oscillation signal OSC is cut by this capacitor CB1, and the AC component is transmitted to the node NB2. The voltage source VBS sets a bias voltage corresponding to the amplitude center voltage of the oscillation signal OSC from which the DC component has been cut. The node NB1 is provided with a capacitor CB2 for holding a voltage, and the current flow capacity of the current source IS1 is sufficiently smaller than the current supply capacity of the transistor TB1. As a result, the peak voltage of the oscillation signal OSC is held at the node NB1 at the drain of the transistor TB1, the envelope of the oscillation signal OSC is detected, and the output voltage VDQ corresponding to the peak voltage is output from the detection circuit 42.

[0037] The comparison circuit 44 includes a transistor TB2, a current source IS2, a voltage source VCS, a resistor RB2, a capacitor CB3, and a comparator CPB. The transistor TB2 and the current source IS2 are connected in series between the power supply node and the GND node. The current source IS2 and the capacitor CB3 are connected in parallel between the node NB3 at the drain of the transistor TB2 and the GND node. The transistor TB2 is an N-type transistor, and is configured as an open drain connection of the N-type transistor TB2. The resistor RB2 and the voltage source VCS are connected in series between the node NB4 at the gate of the transistor TB2 and the GND node. In this way, the comparison circuit 44 has a replica configuration equivalent to that of the detection circuit 42, and is configured to maintain the symmetry of the circuit. The voltage source VCS outputs a comparison voltage VCP to the node NB3. A comparison voltage VCP is input to an inverting input terminal which is a first input terminal of the comparator CPB, and an output voltage VDQ of the detection circuit 42 is input to a non-inverting input terminal which is a second input terminal of the comparator CPB. When the output voltage VDQ exceeds the comparison voltage VCP, the comparator CPB sets a detection signal SDT to an active level.

[0038] The fault diagnosis circuit 50 includes an A / D conversion circuit 52 and a processing circuit 54. The A / D conversion circuit 52 A / D converts the output voltage VDQ of the detection circuit 42 and outputs A / D conversion data corresponding to the output voltage VDQ. This A / D conversion data is amplitude data that is the result of detecting the amplitude of the oscillation signal OSC. The processing circuit 54 performs judgment processing for fault diagnosis and the like based on this amplitude data. The processing circuit 54 is formed of, for example, a logic circuit.

[0039] 5 is a signal waveform diagram explaining the operation of the amplitude detection circuit 40. When the oscillator 4 is started by turning on the power, etc., the negative logic enable signal XEN becomes active low level, and the operation of the oscillation circuit 30 is enabled. As a result, the amplitude of the oscillation signal OSC grows and gradually increases as shown in FIG. 5. Then, the detection circuit 42 detects the envelope of the oscillation signal OSC, and when the output voltage VDQ of the detection circuit 42 exceeds the comparison voltage VCP, the detection signal SDT output by the comparison circuit 44 becomes active level. This makes it possible to notify the control circuit 60, etc. that the amplitude level of the oscillation signal OSC has reached the specified amplitude level and normal operation is possible.

[0040] 2.Fault diagnosis by detecting amplitudes at multiple excitation levels In this embodiment, a method is adopted in which fault diagnosis is performed based on the amplitude detection result of the oscillation signal OSC when the vibrator 10 is oscillated at a plurality of excitation levels. The fault diagnosis method of this embodiment will be described in detail below.

[0041] FIG. 6 is an example of the characteristic of the frequency deviation of a good product when the excitation level is changed. The horizontal axis is the excitation level, and is scaled logarithmically. The vertical axis is the frequency deviation. The frequency deviation represents the deviation of the frequency from the nominal frequency. As shown in FIG. 6, in the good oscillator 4, the frequency deviation only increases slightly when the excitation level is high, and the hysteresis characteristic hardly occurs. FIG. 7 is an example of the characteristic of the CI value of a good product when the excitation level is changed. The horizontal axis is the excitation level, and is scaled logarithmically. The vertical axis is the CI value. The CI value corresponds to the series resistance component when the resonator 10 during oscillation is expressed by an equivalent circuit, and is the equivalent resistance value at the series resonance frequency. As shown in FIG. 7, in the good oscillator 4, the CI value hardly changes even when the excitation level is changed.

[0042] FIG. 8 shows an example of the characteristic of the frequency deviation of a defective product when the drive level is changed. As shown in FIG. 8, the frequency deviation of the defective product also changes significantly when the drive level is changed compared to the non-defective product in FIG. 6. Also, a hysteresis characteristic appears in the frequency deviation when the drive level is changed. That is, the frequency deviation at each drive level when the drive level is increased from a low drive level to a high drive level is different from the frequency deviation at each drive level when the drive level is decreased from a high drive level to a low drive level, which is a hysteresis characteristic. FIG. 9 shows an example of the characteristic of the CI value of a defective product when the drive level is changed. As with the frequency deviation in FIG. 8, the CI value also changes significantly when the drive level is changed, and a hysteresis characteristic appears in which the CI value when the drive level is increased is different from the CI value when the drive level is decreased.

[0043] Figures 10 and 11 are also examples of the frequency deviation and CI value characteristics of defective products when the drive level is changed. In the defective products in Figures 10 and 11, the frequency deviation and CI value change significantly when the drive level is changed, and hysteresis characteristics appear.

[0044] For example, if a defect such as a foreign object adheres to the resonator 10, the foreign object creates an unnecessary resonant frequency, causing a large change in the frequency deviation and CI value when the drive level is changed. In DLD inspection, by monitoring the clock frequency and other parameters with an external measuring device such as a network analyzer, it is possible to detect defective products with abnormal frequency deviations as shown in Figures 8 and 10.

[0045] However, DLD inspection requires an external measuring device for measuring the clock frequency, etc., and there is a problem that self-diagnosis of faults cannot be realized by the internal circuit of the oscillator 4. On the other hand, the method of detecting the amplitude of the oscillation signal without changing the excitation level to determine an abnormality has a problem that it cannot detect abnormal characteristics of defective products as shown in Figures 8 to 11 because it only detects the amplitude of the oscillation signal of the resonator at a specific excitation level. For example, in Figures 8 and 10, an abnormality in frequency deviation is detected by changing the excitation level, but such an abnormality cannot be detected with only a specific excitation level.

[0046] Therefore, in this embodiment, the fault diagnosis is realized by detecting the amplitude of the oscillation signal OSC while changing the excitation level of the vibrator 10. For example, FIG. 12 is a diagram showing the relationship between the CI value and the amplitude of the oscillation signal OSC. In FIG. 12, the peak-to-peak voltage of the oscillation signal OSC is taken as the amplitude. As shown in FIG. 12, the amplitude decreases as the CI value increases. For example, in FIG. 3, a load capacitance exists at both ends of the vibrator 10, and the amplitude of the vibrator 10 decreases due to this load capacitance and the equivalent resistance of the vibrator 10. For example, the higher the CI value corresponding to the equivalent resistance, the lower the amplitude of the vibrator 10 due to the CR characteristics due to the load capacitance and the CI value. Since the amplitude decreases monotonically as the CI value increases, an abnormality in the CI value as shown in FIG. 8 and FIG. 10 can be detected as an abnormality in the amplitude. Therefore, as in this embodiment, the vibrator 10 is oscillated at a plurality of excitation levels, the amplitude of the oscillation signal OSC at the plurality of excitation levels is detected, and the result of the amplitude detection during oscillation at the plurality of excitation levels is judged, thereby making it possible to realize a fault diagnosis of the oscillator 4. This fault diagnosis can be realized by the oscillation circuit 30, amplitude detection circuit 40, and fault diagnosis circuit 50 of the oscillator 4, and since an external measuring device such as a network analyzer is not required, it is possible to realize self-fault diagnosis by the internal circuit of the oscillator 4. Furthermore, in this embodiment, the amplitude of the oscillation signal OSC is detected not at a specific excitation level but at multiple excitation levels, so that even if the characteristics of the frequency deviation and CI value in defective products differ from product to product as shown in Figures 8 to 10, it is possible to accurately detect defective products from the amplitude detection results at multiple excitation levels.

[0047] For example, in this embodiment, the fault diagnosis circuit 50 performs fault diagnosis based on the first amplitude to the nth amplitude, which are the amplitudes of the oscillation signal OSC when the vibrator 10 is driven at the first excitation level to the nth excitation level. For example, the variable current source 32 of the oscillation circuit 30 in FIG. 3 supplies the first current to the nth current, which are different from each other, to the drive circuit 34, so that the drive circuit 34 can drive the vibrator 10 at the first excitation level to the nth excitation level. Then, the detection circuit 42 of the amplitude detection circuit 40 in FIG. 4 detects the envelope of the oscillation signal OSC when the vibrator 10 oscillates at the first excitation level to the nth excitation level, so that an output voltage VDQ corresponding to the amplitude of the oscillation signal OSC is output. Then, the fault diagnosis circuit 50 performs fault diagnosis based on the output voltage VDQ corresponding to the amplitude when the vibrator 10 oscillates at the first excitation level to the nth excitation level. For example, if the amplitude at the first excitation level to the nth excitation level corresponds to the CI value in Fig. 7, the fault diagnosis circuit 50 determines that no fault has occurred and that the oscillator 4 is a non-defective product. On the other hand, if the amplitude at the first excitation level to the nth excitation level corresponds to the CI value in Fig. 9 and Fig. 11, the fault diagnosis circuit 50 determines that a fault has occurred and that the oscillator 4 is a defective product. In this way, by changing the excitation level of the vibrator 10 from the first excitation level to the nth excitation level and detecting the first amplitude to the nth amplitude, which are the amplitudes of the oscillation signal OSC at the first excitation level to the nth excitation level, it becomes possible to accurately detect a fault in the oscillator 4.

[0048] The fault diagnosis circuit 50 performs fault diagnosis by detecting whether the first amplitude to the nth amplitude of the oscillation signal OSC at the first excitation level to the nth excitation level are within a given range. Here, the given range is an allowable range that is a criterion for determining that the oscillator 4 is not faulty and is a good product. For example, the allowable given range can be defined based on the inspection results of many good products as shown in FIG. 6 and FIG. 7. If the first amplitude to the nth amplitude at the first excitation level to the nth excitation level are within the given range, it is determined that the oscillator 4 is not faulty and is a good product, and if they are outside the given range, it is determined that the oscillator 4 is faulty and is a defective product. For example, in FIG. 13, the amplitudes AP1 to APn of the oscillation signal OSC at the excitation levels DLV1 to DLVn are detected. The excitation levels DLV1 to DLVn are the first excitation level to the nth excitation level, and the amplitudes AP1 to APn are the first amplitude to the nth amplitude. In this embodiment, fault diagnosis is performed by detecting whether the amplitudes AP1 to APn are within the given tolerance ranges TLR1 to TLRn. In this manner, fault diagnosis can be realized by the simple process of detecting whether the first to nth amplitudes at the first to nth excitation levels are within the given ranges. Therefore, fault diagnosis for determining whether a product is good or bad can be realized with a small-scale circuit configuration.

[0049] For example, in this embodiment, the allowable ranges TLR1 to TLRn of the amplitudes AP1 to APn are stored as table data in a memory 68 such as a non-volatile memory in FIG. 2 in association with the excitation levels DLV1 to DLVn in FIG. 13. Then, based on this table data, the fault diagnosis circuit 50 judges whether or not each amplitude detected at each excitation level DLV1 to DLVn is within each allowable range of TLR1 to TLRn corresponding to each amplitude. In this case, each allowable range of TLR1 to TLRn may be different for each amplitude, or may be the same range. In this way, fault diagnosis processing can be realized by simple processing using table data.

[0050] The fault diagnosis circuit 50 may perform fault diagnosis based on the amplitude detection result when the excitation level at which the vibrator 10 is driven is changed from a low excitation level to a high excitation level and the amplitude detection result when the excitation level at which the vibrator 10 is driven is changed from a high excitation level to a low excitation level. For example, the amplitude of the oscillation signal OSC when the excitation level of the vibrator 10 is changed from a low excitation level DLV1 to a high excitation level DLVn is detected and stored as, for example, APX1 to APXn. Also, the amplitude of the oscillation signal OSC when the excitation level of the vibrator 10 is changed from a high excitation level DLVn to a low excitation level DLV1 is detected and stored as, for example, APYn to APY1. Then, for example, the fault diagnosis is performed by determining whether the absolute values ​​of the differences in the amplitudes at each excitation level, |APX1-APY1|, |APX2-APY2|...|APXn-APYn|, are within a given range. For example, if |APX1-APY1|··|APXn-APYn| is within a given range, which is the tolerance for a good product, it is judged to be a good product, and if it is outside the given range, it is judged to be a defective product. The given range in this case can also be set based on the inspection results of many good products as shown in Figures 6 and 7. In this way, if a hysteresis characteristic appears that is different when the drive level is increased and when it is decreased as shown in Figures 8 to 11, it can be judged that the product is defective and that a failure has occurred.

[0051] FIG. 14 is a flow chart for explaining the operation of this embodiment. First, the oscillator 4 is started by turning on the power or the like (step S1). Then, it is determined whether the amplitude of the oscillation signal OSC has reached a predetermined amplitude (step S2). Specifically, in FIG. 4, the comparison circuit 44 detects whether the output voltage VDQ of the detection circuit 42 exceeds the comparison voltage VCP, thereby determining whether the amplitude of the oscillation signal OSC has reached a predetermined amplitude. Then, when the amplitude reaches the predetermined amplitude, the detection signal SDT of the comparison circuit 44 becomes active level as shown in FIG. 5, and the control circuit 60 is notified that the oscillation operation by the oscillation circuit 30 has been started normally. After that, the operation mode of the oscillator 4 is set to the fault diagnosis mode (step S3). Then, in the fault diagnosis mode, the excitation level of the vibrator 10 is changed by the variable current source 32 of FIG. 3, and the amplitude detection result of the oscillation signal OSC at each excitation level is obtained (step S4). For example, the fault diagnosis circuit 50 A / D converts the output voltage VDQ of the detection circuit 42 to obtain the amplitude detection result. Then, fault diagnosis is performed based on the amplitude detection result (step S5). For example, the fault diagnosis circuit 50 determines whether the amplitude at each excitation level is within a permissible range by the method described in FIG. 13, thereby achieving fault diagnosis.

[0052] In this manner, in this embodiment, the fault diagnosis circuit 50 performs fault diagnosis in the fault diagnosis mode performed when the oscillator 4 is started. For example, in FIG. 14, the oscillator 4 is started in step S1, and after it is detected in step S2 that the amplitude of the oscillation signal OSC has become appropriate, the fault diagnosis mode is set. In this manner, it is possible to perform self-fault diagnosis of the oscillator 4 in the fault diagnosis mode when the oscillator 4 is started. Therefore, since fault diagnosis is performed every time the oscillator 4 is started, the reliability of the oscillator 4 can be significantly improved. Note that a modification is also possible in which the clock output of the oscillator 4 is temporarily stopped by an instruction from an external processing device, etc., and the fault diagnosis mode is set during the stop period to diagnose the oscillator 4.

[0053] In this embodiment, as shown in FIG. 15, the oscillator 4 includes an oscillation operation detection circuit 41 that detects the oscillation of the oscillation circuit 30, and the amplitude detection circuit 40 may be used as an amplitude detection circuit for detecting the oscillation operation included in the oscillation operation detection circuit 41. For example, the oscillation operation detection circuit 41 is provided to detect whether the oscillation amplitude has become a specified amplitude when the oscillator 4 is started, as in steps S1 and S2 of FIG. 14. As shown in FIG. 15, the oscillation operation detection circuit 41 is provided with an amplitude detection circuit 40 including a detection circuit 42 for the oscillation signal OSC and a comparison circuit 44 that compares the output voltage VDQ of the detection circuit 42 with a comparison voltage VCP. In this embodiment, the amplitude detection circuit 40 included in the oscillation operation detection circuit 41 is used as an amplitude detection circuit for fault diagnosis of the oscillator 4. In this way, the amplitude detection circuit 40 of the oscillation operation detection circuit 41 can be effectively used to realize fault diagnosis without providing a new amplitude detection circuit for fault diagnosis, so that the circuit provided in the oscillator 4 can be reduced in size.

[0054] The amplitude detection circuit 40 and the like are not limited to the configuration described in this embodiment, and various modifications are possible. For example, in the amplitude detection circuit 40 of FIG. 16, the reference voltage VRF is divided by resistors R1 to Rm constituting a ladder resistor circuit 45. Also, a switch circuit 46 is provided in which each switch is arranged at each resistor division node of the ladder resistor circuit 45. Then, as shown in the signal waveform diagram of FIG. 17, the comparison voltage VCP is gradually increased by turning on each switch of the switch circuit 46 in a time-division manner by a switch signal SWSEL. Then, the comparator CPC compares the output voltage VDQ of the detection circuit 42 with the comparison voltage VCP, and when the comparison voltage VCP exceeds the output voltage VDQ, the amplitude judgment signal JAP becomes a high level, which is an active level. This makes it possible to detect the amplitude of the oscillation signal OSC as digital data.

[0055] 4, for example, an envelope detection circuit using a diode and a capacitor may be used as the detection circuit 42. For example, the sine wave oscillation signal OSC may be rectified, such as half-wave rectification, to generate a DC voltage from the rectified signal, and output it as an output voltage VDQ representing the amplitude.

[0056] As described above, the oscillator of this embodiment includes a vibrator, an oscillation circuit configured to enable the vibrator to oscillate at a plurality of excitation levels, an amplitude detection circuit that detects the amplitude of an oscillation signal output from the oscillation circuit, and a fault diagnosis circuit that performs fault diagnosis based on the results of the amplitude detection during oscillation at the plurality of excitation levels.

[0057] According to this embodiment, a fault diagnosis is performed based on the amplitude detection result of the oscillation signal when the vibrator is oscillated at a plurality of excitation levels, thereby enabling a highly accurate fault diagnosis.

[0058] In this embodiment, the oscillator circuit includes a variable current source and a drive circuit that drives the vibrator based on the current supplied from the variable current source, and the multiple excitation levels may be set by the value of the current supplied from the variable current source.

[0059] In this way, by providing the variable current source in the oscillation circuit, it is possible to realize an oscillation circuit configured to be able to oscillate the vibrator at a plurality of excitation levels.

[0060] In this embodiment, the amplitude detection circuit may include a detection circuit for detecting the envelope of the oscillation signal, and the fault diagnosis circuit may perform fault diagnosis based on the output voltage of the detection circuit.

[0061] In this way, the detection circuit detects the envelope of the oscillation signal, making it possible to output an output voltage corresponding to the oscillation signal.

[0062] In this embodiment, the amplitude detection circuit may include a comparison circuit that compares the output voltage of the detection circuit with a comparison voltage and outputs a detection signal of the oscillation operation of the oscillation circuit.

[0063] In this way, for example, when the oscillator is started, if the amplitude of the oscillation signal increases and reaches an amplitude corresponding to the comparison voltage, it becomes possible to notify by a detection signal that the oscillation operation is normal.

[0064] In addition, in this embodiment, the fault diagnosis circuit may perform fault diagnosis based on the first amplitude to the nth amplitude, which are the amplitudes of the oscillation signal when the vibrator is driven at the first excitation level to the nth excitation level (n is an integer equal to or greater than 2).

[0065] In this way, the excitation level of the vibrator is changed from the first excitation level to the nth excitation level, and the first amplitude to the nth amplitude are detected, thereby making it possible to detect a failure in the oscillator with high accuracy.

[0066] In this embodiment, the fault diagnosis circuit may perform fault diagnosis by detecting whether the first amplitude to the nth amplitude are within a given range.

[0067] In this way, fault diagnosis can be realized by a simple process of detecting whether the first amplitude to the nth amplitude at the first excitation level to the nth excitation level are within a given range.

[0068] In addition, in this embodiment, the fault diagnosis circuit may perform fault diagnosis based on the amplitude detection result when the excitation level at which the vibrator is driven is changed from a low excitation level to a high excitation level, and the amplitude detection result when the excitation level at which the vibrator is driven is changed from a high excitation level to a low excitation level.

[0069] In this way, it becomes possible to determine that a fault has occurred when a hysteresis characteristic appears, which is different when the drive level is increased and when it is decreased.

[0070] In this embodiment, the fault diagnosis circuit may perform fault diagnosis in a fault diagnosis mode that is performed when the oscillator is started up.

[0071] In this way, self-diagnosis of the oscillator can be performed in the failure diagnosis mode at the start-up of the oscillator.

[0072] Furthermore, in this embodiment, an oscillation operation detection circuit that detects the oscillation operation of the oscillation circuit is included, and the amplitude detection circuit may also serve as an amplitude detection circuit for detecting oscillation operation that is included in the oscillation operation detection circuit.

[0073] In this way, even if a new amplitude detection circuit is not provided for fault diagnosis, fault diagnosis can be realized by effectively utilizing the amplitude detection circuit of the oscillation operation detection circuit.

[0074] 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 disclosure. Therefore, all such modifications are intended to be included in the scope of the present disclosure. For example, a term described at least once in the specification or drawings together with a different term having a broader meaning or the same meaning may be replaced with that different term anywhere in the specification or drawings. In addition, all combinations of the present embodiment and modifications are also included in the scope of the present disclosure. In addition, the configurations and operations of the oscillator and the circuit device are not limited to those described in the present embodiment, and various modifications are possible. [Explanation of symbols]

[0075] 4...oscillator, 10...vibrator, 20...circuit device, 30...oscillating circuit, 32...variable current source, 34...drive circuit, 38...wave shaping circuit, 40...amplitude detection circuit, 41...oscillation operation detection circuit, 42...detection circuit, 44...comparison circuit, 45...ladder resistor circuit, 46...switch circuit, 50...fault diagnosis circuit, 52...A / D conversion circuit, 54...processing circuit, 60...control circuit, 68...memory, 70...temperature compensation circuit, 72...temperature sensor, 80...output circuit, 90...power supply circuit, BP...bipolar transistor, CA1, CA2...capacitor circuit, CB1, CB2, CB3...capacitor, CK...clock signal, CKQ...output clock signal, CPB, CPC...comparator, OSC...oscillating signal, SDT...detection signal, TB1, TB2...transistor, VDQ...output voltage

Claims

1. A vibrator; An oscillation circuit configured to be able to oscillate the oscillator at a plurality of excitation levels; an amplitude detection circuit that detects the amplitude of an oscillation signal output from the oscillation circuit; a fault diagnosis circuit that performs fault diagnosis based on a result of the amplitude detection during oscillation at a plurality of drive levels; 16. An oscillator comprising:

2. 2. The oscillator according to claim 1, The oscillator circuit includes: A variable current source; a drive circuit that drives the vibrator based on a current supplied from the variable current source; Including, 11. An oscillator, comprising: a variable current source that supplies a plurality of drive levels, the drive levels being set by a value of the current supplied from the variable current source.

3. 2. The oscillator according to claim 1, The amplitude detection circuit includes: A detection circuit for detecting an envelope of the oscillation signal is included. The fault diagnosis circuit includes: an oscillator, characterized in that the fault diagnosis is performed based on an output voltage of the detection circuit;

4. 4. The oscillator according to claim 3, The amplitude detection circuit includes: an oscillator comprising: a comparator circuit which compares the output voltage of the detector circuit with a comparison voltage and outputs a detection signal of an oscillation operation of the oscillator circuit;

5. 2. The oscillator according to claim 1, The fault diagnosis circuit includes: An oscillator characterized in that the fault diagnosis is performed based on a first amplitude to an nth amplitude, which are the amplitudes of the oscillation signal when the vibrator is driven at a first excitation level to an nth excitation level (n is an integer equal to or greater than 2).

6. 6. The oscillator according to claim 5, The fault diagnosis circuit includes: The oscillator performs the fault diagnosis by detecting whether the first amplitude to the nth amplitude are within a given range.

7. 6. The oscillator according to claim 5, The fault diagnosis circuit includes: An oscillator characterized in that the fault diagnosis is performed based on an amplitude detection result when the excitation level at which the vibrator is driven is changed from a low excitation level to a high excitation level, and an amplitude detection result when the excitation level at which the vibrator is driven is changed from a high excitation level to a low excitation level.

8. 2. The oscillator according to claim 1, The fault diagnosis circuit includes: An oscillator, characterized in that the fault diagnosis is performed in a fault diagnosis mode which is performed at the start-up of the oscillator.

9. 2. The oscillator according to claim 1, an oscillation operation detection circuit for detecting an oscillation operation of the oscillation circuit; The oscillator according to claim 1, wherein the amplitude detection circuit is also used as an amplitude detection circuit for detecting oscillation operation included in the oscillation operation detection circuit.

Citation Information

Patent Citations

  • Oscillator, clock signal generating device, electronic device, and moving body

    JP2019118057A