OSCILLATOR CIRCUIT, OSCILLATION METHOD, AND METHOD FOR ADJUSTING OSCILLATOR CIRCUIT
20230179148 · 2023-06-08
Assignee
Inventors
Cpc classification
H03L7/099
ELECTRICITY
H03L7/093
ELECTRICITY
H03L7/104
ELECTRICITY
H03L7/1075
ELECTRICITY
International classification
H03B5/30
ELECTRICITY
H03L7/093
ELECTRICITY
Abstract
An oscillator circuit includes: an oscillator, oscillating a resonator and generating a first oscillation signal; and a PLL circuit, adjusting a ratio between a first frequency of the first oscillation signal and a second frequency of a second oscillation signal output from a voltage controlled oscillator, and controlling the oscillator based on a loop filter voltage being an input voltage of the voltage controlled oscillator.
Claims
1. An oscillator circuit comprising: an oscillator, oscillating a resonator and generating a first oscillation signal; and a PLL circuit, adjusting a ratio between a first frequency of the first oscillation signal and a second frequency of a second oscillation signal output from a voltage controlled oscillator, and controlling the oscillator based on a loop filter voltage being an input voltage of the voltage controlled oscillator.
2. The oscillator circuit according to claim 1, wherein the PLL circuit further comprises: a frequency divider circuit, adjusting the ratio between the first frequency and the second frequency so that the loop filter voltage becomes a spurious oscillation equivalent voltage.
3. The oscillator circuit according to claim 1, wherein the PLL circuit further comprises: an attenuation control circuit, controlling oscillation of the oscillator in response to the loop filter voltage.
4. The oscillator circuit according to claim 3, wherein the attenuation control circuit attenuates oscillation of the oscillator in response to the loop filter voltage being greater than a first threshold that is a voltage greater than a main oscillation equivalent voltage and less than a spurious oscillation equivalent voltage, and the attenuation control circuit oscillates the oscillator in response to the loop filter voltage being less than a second threshold that is a voltage less than the main oscillation equivalent voltage.
5. The oscillator circuit according to claim 1, wherein the PLL circuit adjusts the ratio between the first frequency and the second frequency so as to be 1:1 or a ratio between a frequency during a main oscillation and a frequency during a spurious oscillation.
6. The oscillator circuit according to claim 5, wherein the ratio between the frequency during the main oscillation and the frequency during the spurious oscillation is 10:11.
7. The oscillator circuit according to claim 1, wherein the PLL circuit further comprises: a charge pump, adjusting a rise time during which the loop filter voltage rises or a fall time during which the loop filter voltage falls.
8. The oscillator circuit according to claim 1, wherein the PLL circuit further comprises: a lock detection circuit, detecting whether the PLL circuit is in a locked state; and a power down timer circuit, powering down the PLL circuit after it is detected that the PLL circuit is in the locked state.
9. The oscillator circuit according to claim 3, wherein the attenuation control circuit comprises a temperature sensor measuring a temperature of the PLL circuit; and the attenuation control circuit controls the oscillator based on a measurement result of the temperature sensor.
10. The oscillator circuit according to claim 1, wherein the PLL circuit further comprises: a phase comparator, generating a phase comparison signal corresponding to a phase difference between the first oscillation signal and the second oscillation signal; and a charge pump, receiving the phase comparison signal, and adjusting a rise time during which the loop filter voltage rises or a fall time during which the loop filter voltage falls.
11. An oscillation method comprising: by an oscillator, oscillating a resonator and generating a first oscillation signal; by a PLL circuit, adjusting a ratio between a first frequency of the first oscillation signal and a second frequency of a second oscillation signal output from a voltage controlled oscillator; and by the PLL circuit, controlling the oscillator based on a loop filter voltage being an input voltage of the voltage controlled oscillator.
12. The oscillation method according to claim 11, comprising: by a PLL circuit, adjusting the ratio so that the loop filter voltage input to the voltage controlled oscillator provided in the PLL circuit becomes a spurious oscillation equivalent voltage.
13. A method for adjusting an oscillator circuit that comprises an oscillator, a PLL circuit, and a control part, the method comprising: by the oscillator, oscillating a resonator and generating a first oscillation signal; in a first adjustment step, adjusting a ratio between a first frequency of the first oscillation signal and a second frequency of a second oscillation signal output from a voltage controlled oscillator by the control part so that a loop filter voltage input to a voltage controlled oscillator provided in the PLL circuit becomes a spurious oscillation equivalent voltage; in a second adjustment step, adjusting a first threshold by the control part based on the loop filter voltage adjusted in the first adjustment step; in a third adjustment step, adjusting the ratio between the first frequency of the first oscillation signal and the second frequency of the second oscillation signal output from the voltage controlled oscillator by the control part so that the loop filter voltage adjusted in the first adjustment step becomes a main oscillation equivalent voltage; and in a fourth adjustment step, adjusting a second threshold by the control part based on the loop filter voltage adjusted in the third adjustment step.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
DESCRIPTION OF THE EMBODIMENTS
[0026] According to the present disclosure, a highly accurate oscillator circuit can be provided.
[0027] Hereinafter, an embodiment of the disclosure will be described in detail with reference to the drawings. In principle, the same components are given the same reference numeral, and repeated description is omitted.
[0028] In this specification, a “main oscillation equivalent voltage” means a loop filter voltage when a resonator produces a main oscillation. A “spurious oscillation equivalent voltage” means a loop filter voltage when a resonator produces a spurious oscillation.
[0029] In this specification, a “main oscillation mode” means a mode in which an oscillation signal of an oscillator coincides with a main oscillation produced in a resonator. A “spurious oscillation mode” means a mode in which an oscillation signal of an oscillator coincides with a spurious oscillation produced in a resonator. A “power down mode” means a mode in which an oscillation signal of an oscillator is attenuated. However, these terms are defined for convenience only and should not be construed as limiting.
First Embodiment
[Oscillator Circuit]
[0030] An example of a configuration of an oscillator circuit 100 according to a first embodiment is described with reference to
[0031] The oscillator circuit 100 includes a resonator 10, an oscillator 20, a phase locked loop (PLL) circuit 30, a storage 40, and an interface 50. The PLL circuit 30 includes a first frequency divider 31, a phase comparator 32, a charge pump 33, an attenuation control circuit 34, a voltage controlled oscillator 35, and a second frequency divider 36. The oscillator circuit 100 is connected via an input/output terminal SDIO and an input terminal SCL to a control part 200 provided outside the oscillator circuit 100. Although
[0032] The resonator 10 is a resonator that produces a main oscillation called a C mode or a spurious oscillation called a B mode, and may be, for example, an SC-cut crystal resonator, an AT-cut crystal resonator, a microelectromechanical systems (MEMS) resonator, or a ceramic resonator. The resonator 10 is connected to the oscillator 20 via a connection terminal X1 and a connection terminal X2. For example, in the case where the resonator 10 is an SC-cut crystal resonator, a frequency of the spurious oscillation is about 10% higher than a frequency of the main oscillation.
[0033] The oscillator 20 oscillates the resonator 10 and generates an oscillation signal (first oscillation signal) S.sub.XOSC. The oscillator 20 outputs the oscillation signal S.sub.XOSC to the PLL circuit 30.
[0034] The oscillator 20 is controlled based on a control signal XO_PD input from the PLL circuit 30. For example, when the control signal XO_PD input from the PLL circuit 30 switches from “Low voltage” to “High voltage”, the oscillator 20 switches the oscillation signal S.sub.XOSC from a spurious oscillation mode to a power down mode (see
[0035] In the PLL circuit 30, by appropriately adjusting a division ratio M1 of the first frequency divider 31 and a division ratio M2 of the second frequency divider 36 based on first memory data stored in the storage 40, a multiplication ratio of a frequency (first frequency) f.sub.XOSC of the oscillation signal S.sub.XOSC is adjusted. For example, the PLL circuit 30 adjusts the multiplication ratio so that a ratio between the frequency f.sub.XOSC of the oscillation signal S.sub.XOSC generated by the oscillator 20 and a frequency (second frequency) f.sub.VCO of an oscillation signal (second oscillation signal) S.sub.VCO output from the voltage controlled oscillator 35 becomes 1:1 or 10:11. A value of the multiplication ratio is not particularly limited, and may be adjusted to any value by appropriately setting the first memory data by the control part 200. In the drawings, a case where (M1, M2) is (10div, 11div) is described as an example. However, a value of the division ratio M1 or the division ratio M2 is not particularly limited. The division ratio M1 or the division ratio M2 may be, for example, any integer. The division ratio M1 or the division ratio M2 may be, for example, a fractional division ratio realized by using a fractional frequency divider.
[0036] The first memory data is adjustment data for adjusting the multiplication ratio of the frequency f.sub.XOSC of the oscillation signal S.sub.XOSC. The first memory data may include, for example, data indicating the division ratio M1 of the first frequency divider 31 and data indicating the division ratio M2 of the second frequency divider 36.
[0037] In the PLL circuit 30, by comparing a loop filter voltage V.sub.C being an input voltage of the voltage controlled oscillator 35 with a first threshold V.sub.TH1 being a voltage greater than a main oscillation equivalent voltage V.sub.C1 and less than a spurious oscillation equivalent voltage V.sub.C2 (main oscillation equivalent voltage V.sub.C1<first threshold V.sub.TH1<spurious oscillation equivalent voltage V.sub.C2) using second memory data stored in the storage 40, the control signal XO_PD for controlling the oscillator 20 is generated. Alternatively, in the PLL circuit 30, by comparing the loop filter voltage V.sub.C being the input voltage of the voltage controlled oscillator 35 with a second threshold V.sub.TH2 being a voltage less than the main oscillation equivalent voltage V.sub.C1 (second threshold V.sub.TH2<main oscillation equivalent voltage V.sub.C1) using third memory data stored in the storage 40, the control signal XO_PD for controlling the oscillator 20 is generated. The PLL circuit 30 outputs the control signal XO_PD to the oscillator 20. The loop filter voltage V.sub.C, the first threshold V.sub.TH1, and the second threshold V.sub.TH2 may be digital values by a digital circuit, instead of voltages. The voltage controlled oscillator 35 may be a digitally controlled oscillator in which an input signal is a digital value instead of a voltage.
[0038] A value of each of the first threshold V.sub.TH1 and the second threshold V.sub.TH2 is not particularly limited. In this specification, a case where the second threshold V.sub.TH2<the first threshold V.sub.TH1 is described as an example. However, it is of course possible that the first threshold V.sub.TH1<the second threshold V.sub.TH2. In this specification, a case where an oscillation frequency of the voltage controlled oscillator 35 increases as the loop filter voltage V.sub.C increases is described as an example. However, the oscillation frequency of the voltage controlled oscillator 35 may decrease as the loop filter voltage V.sub.C increases.
[0039] The second memory data is determination data for determining whether to attenuate the oscillator 20, that is, whether to put the oscillation signal S.sub.XOSC in the oscillator 20 into the power down mode (see
[0040] The third memory data is determination data for determining whether to oscillate the oscillator 20, that is, whether to cancel the power down mode of the oscillation signal S.sub.XOSC in the oscillator 20 (see
[0041] For example, in the case where the loop filter voltage V.sub.C is greater than the first threshold V.sub.TH1, the PLL circuit 30 generates the control signal XO_PD for attenuating the oscillator 20, and attenuates the oscillator 20. For example, in the case where the loop filter voltage V.sub.C is less than the second threshold V.sub.TH2, the PLL circuit 30 generates the control signal XO_PD for oscillating the oscillator 20, and oscillates the oscillator 20.
[0042] The storage 40 may be, for example, a non-volatile memory or a one-time memory. The storage 40 stores the first memory data, the second memory data, and the third memory data. The storage 40 may store any information used in operation of the oscillator circuit 100. The storage 40 acquires the first memory data, the second memory data, and the third memory data from the control part 200 via the interface 50. It is preferable that the various data stored in the storage 40 be properly used in accordance with product testing, product shipment, or the like.
[0043] The interface 50 is provided between the storage 40 and the control part 200 that is provided outside the oscillator circuit 100, and provides a communication interface. The interface 50 may be, for example, a serial interface such as an inter-integrated circuit (I2C) interface or a serial peripheral interface (SPI).
[0044] The control part 200 sets the first memory data, the second memory data, and the third memory data. For example, the control part 200 sets the data indicating the division ratio M1 of the first frequency divider 31 and the data indicating the division ratio M2 of the second frequency divider 36. For example, the control part 200 sets the data indicating the first threshold V.sub.TH1 and the data indicating the second threshold V.sub.TH2. The control part 200 outputs the first memory data, the second memory data and the third memory data to the storage 40 via the interface 50.
[0045] The oscillator circuit 100 according to the first embodiment adjusts the multiplication ratio of the frequency f.sub.XOSC of the oscillation signal S.sub.XOSC generated by the oscillator 20, and controls the oscillator 20 based on the loop filter voltage V.sub.C being the input voltage of the voltage controlled oscillator 35. Accordingly, even if an input is a main oscillation, since it is possible to virtually produce a spurious oscillation that occurs incidentally and less frequently than the main oscillation and adjust a voltage threshold for determining the loop filter voltage V.sub.C equivalent to the spurious oscillation with high accuracy, the oscillator circuit 100 with high accuracy can be realized.
[PLL Circuit]
[0046] An example of a configuration of the PLL circuit 30 according to the first embodiment is described with reference to
[0047] The first frequency divider 31 divides the oscillation signal S.sub.XOSC at the division ratio M1 using the first memory data, and generates a frequency divided signal S.sub.XOSC/DIV. A frequency of the frequency divided signal S.sub.XOSC/DIV is obtained by multiplying the frequency f.sub.XOSC of the oscillation signal S.sub.XOSC by (1/M1). The first frequency divider 31 outputs the frequency divided signal S.sub.XOSC/DIV to the phase comparator 32. The first frequency divider 31 may be, for example, a known integer frequency divider or fractional frequency divider. The division ratio M1 may be any value.
[0048] The voltage controlled oscillator 35 generates the oscillation signal S.sub.VCO having the frequency f.sub.VCO proportional to an input voltage. The voltage controlled oscillator 35 outputs the oscillation signal S.sub.VCO to the second frequency divider 36.
[0049] The second frequency divider 36 divides the oscillation signal S.sub.VCO at the division ratio M2 using the first memory data, and generates a frequency divided signal S.sub.VCO/DIV. A frequency of the frequency divided signal S.sub.VCO/DIV is obtained by multiplying the frequency f.sub.VCO of the oscillation signal S.sub.VCO by (1/M2). The second frequency divider 36 outputs the frequency divided signal S.sub.VCO/DIV to the phase comparator 32. The second frequency divider 36 may be, for example, a known integer frequency divider or fractional frequency divider. The division ratio M2 may be any value.
[0050] The phase comparator 32 compares a phase of the frequency divided signal S.sub.XOSC/DIV input from the first frequency divider 31 with a phase of the frequency divided signal S.sub.VCO/DIV input from the second frequency divider 36, and generates a phase comparison signal SCUM (for example, a pulse-like UP signal or a pulse-like DOWN signal) corresponding to a phase difference. The phase comparator 32 outputs the phase comparison signal S.sub.COM to the charge pump 33. The phase comparator 32 may be, for example, a known frequency mixer, exclusive OR (XOR) detector, or time to digital converter (TDC).
[0051] Based on the phase comparison signal S.sub.COM input from the phase comparator 32, the charge pump 33 generates a charge pump current that charges or discharges a node 33N. The charge pump 33 may include, for example, a constant current source 331a, a switching transistor 332a, a switching transistor 332b, and a constant current source 331b.
[0052] The attenuation control circuit 34 detects the loop filter voltage V.sub.C being the input voltage of the voltage controlled oscillator 35, and, based on the loop filter voltage V.sub.C, generates the control signal XO_PD for controlling the oscillator 20 using the second memory data and the third memory data. The attenuation control circuit 34 outputs the control signal XO_PD to the oscillator 20.
[0053] The attenuation control circuit 34 may include, for example, a comparator 341, a comparator 342, and a Set-Reset (SR) latch circuit 343.
[0054] The comparator 341 compares the loop filter voltage V.sub.C with the first threshold V.sub.TH1 and outputs a comparison result to a Set terminal of the SR latch circuit 343. For example, in the case where the loop filter voltage V.sub.C is greater than the first threshold V.sub.TH1, the comparator 341 generates a high level signal; in the case where the loop filter voltage V.sub.C is less than or equal to the first threshold V.sub.TH1, the comparator 341 generates a low level signal.
[0055] The comparator 342 compares the loop filter voltage V.sub.C with the second threshold V.sub.TH2 and outputs a comparison result to a Reset terminal of the SR latch circuit 343. For example, in the case where the loop filter voltage V.sub.C is equal to or greater than the second threshold V.sub.TH2, the comparator 342 generates a high level signal; in the case where the loop filter voltage V.sub.C is less than the second threshold V.sub.TH2, the comparator 342 generates a low level signal.
[0056] Based on the comparison result input from the comparator 341 and the comparison result input from the comparator 342, the SR latch circuit 343 generates the control signal XO_PD. For example, in the case where a comparison result indicating that the loop filter voltage V.sub.C is greater than the first threshold V.sub.TH1 is acquired, the SR latch circuit 343 generates the control signal XO_PD for attenuating the oscillator 20. For example, in the case where a comparison result indicating that the loop filter voltage V.sub.C is less than the second threshold V.sub.TH2 is acquired, the SR latch circuit 343 generates the control signal XO_PD for oscillating the oscillator 20.
[0057] Here, a relationship between the loop filter voltage V.sub.C [V] and the frequency f.sub.VCO [Hz] of a voltage controlled oscillator in the case where the resonator 10 is an SC-cut crystal resonator is described with reference to
[0058]
[0059]
[0060] The following is clear from
[0061] On the other hand, the following is clear from
[0062] As described above, in the oscillator circuit 100 according to the present embodiment, the PLL circuit 30 adjusts the multiplication ratio of the frequency f.sub.XOSC of the oscillation signal S.sub.XOSC, detects the frequency, and controls attenuation of the oscillator 20. Accordingly, without waiting for the spurious oscillation that occurs incidentally and less frequently than the main oscillation as in the conventional oscillator circuit, a state as if the resonator 10 were generating the spurious oscillation can be virtually reproduced, and the oscillator 20 can be properly controlled. Accordingly, the oscillator circuit 100 with high accuracy can be realized.
[Timing Chart]
[0063] An example of an operation of the oscillator circuit 100 according to the first embodiment is described with reference to a timing chart shown in
[0064] During time t0 to time t1, the attenuation control circuit 34 detects that the loop filter voltage V.sub.C is rising and keeps the control signal XO_PD at “Low voltage”. The oscillation signal S.sub.XOSC in the oscillator 20 is in the spurious oscillation mode.
[0065] At time t1, the attenuation control circuit 34 detects that the loop filter voltage V.sub.C has become greater than the first threshold V.sub.TH1 (main oscillation equivalent voltage V.sub.C1<first threshold V.sub.TH1<spurious oscillation equivalent voltage V.sub.C2), and switches the control signal XO_PD from “Low voltage” to “High voltage”. The oscillation signal S.sub.XOSC in the oscillator 20 changes from the spurious oscillation mode to the power down mode.
[0066] During time t1 to time t2, the attenuation control circuit 34 detects that the loop filter voltage V.sub.C is falling and keeps the control signal XO_PD at “High voltage”. The oscillation signal S.sub.XOSC in the oscillator 20 is in the power down mode.
[0067] At time t2, the attenuation control circuit 34 detects that the loop filter voltage V.sub.C has become less than the second threshold V.sub.TH2 (second threshold V.sub.TH2<main oscillation equivalent voltage V.sub.C1), and switches the control signal XO_PD from “High voltage” to “Low voltage”. The power down mode of the oscillation signal S.sub.XOSC in the oscillator 20 is canceled.
[0068] During time t2 to time t3, the attenuation control circuit 34 detects that the loop filter voltage V.sub.C is rising and keeps the control signal XO_PD at “Low voltage”. The oscillation signal S.sub.XOSC in the oscillator 20 is in the spurious oscillation mode.
[0069] At time t3, it is detected that the loop filter voltage V.sub.C has become greater than the first threshold V.sub.TH1, and the control signal XO_PD is switched from “Low voltage” to “High voltage”. The oscillation signal S.sub.XOSC in the oscillator 20 changes from the spurious oscillation mode to the power down mode.
[0070] During time t3 to time t4, the attenuation control circuit 34 detects that the loop filter voltage V.sub.C is falling and keeps the control signal XO_PD at “High voltage”. The oscillation signal S.sub.XOSC in the oscillator 20 is in the power down mode.
[0071] At time t4, the attenuation control circuit 34 detects that the loop filter voltage V.sub.C has become less than the second threshold V.sub.TH2, and switches the control signal XO_PD from “High voltage” to “Low voltage”. The power down mode of the oscillation signal S.sub.XOSC in the oscillator 20 is canceled.
[0072] After time t4, the attenuation control circuit 34 detects that the loop filter voltage V.sub.C has converged to the main oscillation equivalent voltage V.sub.C1, and keeps the control signal XO_PD at “Low voltage”. The oscillation signal S.sub.XOSC in the oscillator 20 is in the main oscillation mode.
[0073] As described above, the PLL circuit 30 repeats putting the oscillation signal S.sub.XOSC in the oscillator 20 into the power down mode and canceling the power down mode of the oscillation signal S.sub.XOSC in the oscillator 20 until the loop filter voltage V.sub.C converges to the main oscillation equivalent voltage V.sub.C1. Accordingly, the oscillator circuit 100 can be realized in which oscillation in the main oscillation mode can be stably maintained even in the case of using a relatively low cost resonator in which the spurious oscillation mode is likely to occur.
[Operation of Oscillator Circuit]
[0074] An example of an oscillation method in the oscillator circuit 100 according to the first embodiment is described with reference to
[0075] In step S101, the oscillator circuit 100 oscillates the resonator 10 and generates the oscillation signal S.sub.XOSC.
[0076] In step S102, the oscillator circuit 100 adjusts a ratio between the frequency f.sub.XOSC of the oscillation signal S.sub.XOSC generated by the oscillator 20 and the frequency f.sub.VCO of the oscillation signal S.sub.VCO output from the voltage controlled oscillator 35. It can be said that the oscillator circuit 100 is waiting until a phase locking operation of the PLL circuit 30 is completed and the loop filter voltage V.sub.C converges to a constant value.
[0077] In step S103, the oscillator circuit 100 determines whether the loop filter voltage V.sub.C is greater than the first threshold V.sub.TH1. If the loop filter voltage V.sub.C is greater than the first threshold V.sub.TH1 (step S103.fwdarw.YES), the oscillator circuit 100 performs the processing of step S104. If the loop filter voltage V.sub.C is less than or equal to the first threshold V.sub.TH1 (step S103.fwdarw.NO), the oscillator circuit 100 performs the processing of step S105.
[0078] In step S104, the oscillator circuit 100 attenuates the oscillator 20. The oscillation signal S.sub.XOSC in the oscillator 20 is put into the power down mode.
[0079] In step S105, the oscillator circuit 100 determines whether the loop filter voltage V.sub.C has converged to the main oscillation equivalent voltage V.sub.C1. If the loop filter voltage V.sub.C has converged to the main oscillation equivalent voltage V.sub.C1 (step S105.fwdarw.YES), the oscillator circuit 100 ends the processing. If the loop filter voltage V.sub.C has not converged to the main oscillation equivalent voltage V.sub.C1 (step S105.fwdarw.NO), the oscillator circuit 100 performs the processing of step S103 again. Here, a condition for determining that the loop filter voltage V.sub.C is the main oscillation equivalent voltage V.sub.C1 is that the loop filter voltage V.sub.C is less than or equal to the first threshold V.sub.TH1 and equal to or greater than the second threshold V.sub.TH2.
[0080] In step S106, the oscillator circuit 100 determines whether the loop filter voltage V.sub.C is less than the second threshold V.sub.TH2. If the loop filter voltage V.sub.C is less than the second threshold V.sub.TH2 (step S106.fwdarw.YES), the oscillator circuit 100 performs the processing of step S107. If the loop filter voltage V.sub.C is equal to or greater than the second threshold V.sub.TH2 (step S106.fwdarw.NO), the oscillator circuit 100 continues the processing of step S104.
[0081] In step S107, the oscillator circuit 100 oscillates the oscillator 20. The power down mode of the oscillation signal S.sub.XOSC in the oscillator 20 is canceled. If the spurious oscillation mode has occurred, by repeating a loop of step S103.fwdarw.step S104.fwdarw.step S106.fwdarw.step S107.fwdarw.step S103.fwdarw. . . . and so on, it is possible to transition to the main oscillation mode.
[Method for Adjusting Spurious Oscillation and Main Oscillation Determination Threshold]
[0082] An example of an adjustment method in the oscillator circuit 100 according to the first embodiment is described with reference to
[0083] In step S201, the oscillator circuit 100 (for example, the oscillator 20) oscillates the resonator 10 and generates the oscillation signal S.sub.XOSC.
[0084] In step S202, the oscillator circuit 100 (for example, the control part 200) adjusts a frequency multiplication ratio of the PLL circuit 30 when the oscillator 20 performs oscillation by main oscillation so as to generate the loop filter voltage V.sub.C1 when the oscillator 20 performs oscillation by spurious oscillation and the frequency multiplication ratio of the PLL circuit 30 is 1:1 (first adjustment step). For example, the frequency multiplication ratio may be 10:11.
[0085] In step S203, the oscillator circuit 100 (for example, the control part 200) adjusts the first threshold V.sub.TH1 using the loop filter voltage V.sub.C1 obtained in step S202 so as to be able to detect that a spurious oscillation has occurred (second adjustment step). For example, in the case of a characteristic that an oscillation frequency of the voltage controlled oscillator 35 monotonously increases with respect to a loop filter voltage, the first threshold V.sub.TH1 may be adjusted to be less than or equal to the loop filter voltage V.sub.C1, and a determination signal as to whether the loop filter voltage V.sub.C1 is equal to or greater than the first threshold V.sub.TH1 may be used as a spurious oscillation detection signal.
[0086] In step S204, the oscillator circuit 100 (for example, the control part 200) adjusts the frequency multiplication ratio of the PLL circuit 30 using the loop filter voltage V.sub.C2 when the oscillator 20 performs oscillation by main oscillation so as to be able to detect convergence of the oscillation by main oscillation (third adjustment step). For example, the frequency multiplication ratio may be 1:1.
[0087] In step S205, the oscillator circuit 100 (for example, the control part 200) adjusts the second threshold V.sub.TH2 using the loop filter voltage V.sub.C2 obtained in step S204 so as to be able to detect the convergence to the main oscillation (fourth adjustment step). For example, in the case of the characteristic that the oscillation frequency of the voltage controlled oscillator 35 monotonously increases with respect to the loop filter voltage, the second threshold V.sub.TH2 may be adjusted to be less than or equal to the loop filter voltage V.sub.C2, and a determination signal as to whether the loop filter voltage V.sub.C2 has converged to the second threshold V.sub.TH2 or greater may be used as a main oscillation convergence detection signal.
[0088] As described above, by applying the oscillation method according to the first embodiment, the oscillator circuit 100 with high accuracy can be realized. In a general resonator, there exists a harmonic oscillation mode having a frequency of M*f.sub.OSC (M is an integer equal to or greater than 2) being an integral multiple of a frequency f.sub.OSC of a fundamental oscillation mode. For example, if a frequency of the spurious oscillation mode is higher than a frequency of the main oscillation mode, like (main, spurious)=(1*f.sub.OSC, 2*f.sub.OSC) or (main, spurious)=(2*f.sub.OSC, 3*f.sub.OSC), by selecting an optimum value as the first threshold V.sub.TH1, the second threshold V.sub.TH2, the division ratio M1, and the division ratio M2, spurious oscillation can be suppressed. For example, in the case of (main, spurious)=(1*f.sub.OSC, 2*f.sub.OSC), by selecting 1 for the division ratio M1 and 2 for the division ratio M2, the loop filter voltage can be set to the voltage V.sub.C1 equivalent to the spurious oscillation mode even if a resonator oscillates in the main oscillation mode. Accordingly, the first threshold V.sub.TH1 can be adjusted with high accuracy. By selecting 1 for the division ratio M1 and also for the division ratio M2, the loop filter voltage can be set to the voltage V.sub.C2 equivalent to the main oscillation mode. Accordingly, the second threshold V.sub.TH2 can be adjusted to the optimum value.
Second Embodiment
[0089] An example of a configuration of an oscillator circuit 100A according to a second embodiment is described with reference to
[0090] The oscillator circuit 100A according to the second embodiment differs from the oscillator circuit 100 according to the first embodiment in that, while the oscillator circuit 100 according to the first embodiment is unable to adjust a charge pump current, the oscillator circuit 100A according to the second embodiment is able to adjust a charge pump current. The other configurations are the same as those of the oscillator circuit 100 according to the first embodiment, and thus repeated description is omitted.
[0091] The oscillator circuit 100A includes the resonator 10, the oscillator 20, a PLL circuit 30A, a storage 40A, and the interface 50. The PLL circuit 30A includes the first frequency divider 31, the phase comparator 32, a charge pump 33A, the attenuation control circuit 34, the voltage controlled oscillator 35, and the second frequency divider 36.
[0092] By appropriately adjusting a charge pump current using fourth memory data stored in the storage 40A, the charge pump 33A adjusts a rise time during which the loop filter voltage V.sub.C rises or a fall time during which the loop filter voltage V.sub.C falls.
[0093] The fourth memory data is adjustment data for adjusting the rise time during which the loop filter voltage V.sub.C rises or the fall time during which the loop filter voltage V.sub.C falls. The fourth memory data may include, for example, digital input data for a switch that controls on/off states of the constant current source 331a, digital input data for a switch that controls on/off states of the constant current source 331b, and input data for a digital-to-analog converter that produces a bias voltage of a transistor. The fourth memory data is arbitrarily set by the control part 200 provided outside the oscillator circuit 100A.
[0094] For example, as shown in
[0095] For example, as shown in
[0096] The storage 40A stores the fourth memory data in addition to the first memory data, the second memory data and the third memory data. The storage 40A may store any information used in operation of the oscillator circuit 100A. The storage 40A acquires the first memory data, the second memory data, the third memory data, and the fourth memory data from the control part 200 via the interface 50.
[0097] In the oscillator circuit 100A according to the second embodiment, the multiplication ratio of the frequency f.sub.XOSC of the oscillation signal S.sub.XOSC generated by the oscillator 20 is adjusted, and the oscillator 20 is controlled based on the loop filter voltage V.sub.C being the input voltage of the voltage controlled oscillator 35. Accordingly, the oscillator circuit 100A with high accuracy can be realized.
[0098] In the oscillator circuit 100A according to the second embodiment, by the charge pump 33A adjusting the charge pump current using the fourth memory data, the rise time during which the loop filter voltage V.sub.C rises or the fall time during which the loop filter voltage V.sub.C falls, in other words, a slope dVc/dt [V/s] on the graphs of the loop filter voltage V.sub.C [V] shown in
Third Embodiment
[0099] An example of a configuration of an oscillator circuit 100B according to a third embodiment is described with reference to
[0100] The oscillator circuit 100B according to the third embodiment differs from the oscillator circuit 100 according to the first embodiment in that, while the oscillator circuit 100 according to the first embodiment does not include a lock detection circuit and a power down timer circuit, the oscillator circuit 100B according to the third embodiment includes a lock detection circuit 37 and a power down timer circuit 38. The other configurations are the same as those of the oscillator circuit 100 according to the first embodiment, and thus repeated description is omitted.
[0101] The oscillator circuit 100B includes the resonator 10, the oscillator 20, a PLL circuit 30B, a storage 40B, and the interface 50. The PLL circuit 30B includes the first frequency divider 31, the phase comparator 32, the charge pump 33, the attenuation control circuit 34, the voltage controlled oscillator 35, the second frequency divider 36, the lock detection circuit 37, and the power down timer circuit 38.
[0102] Based on a signal (the frequency divided signal S.sub.XOSC/DIV and the frequency divided signal S.sub.VCO/DIV described above) input to the phase comparator 32, the lock detection circuit 37 determines whether the PLL circuit 30B is in a locked state, that is, whether the PLL circuit 30B has detected the main oscillation mode of the oscillation signal S.sub.XOSC and is in a stable state, and generates a detection signal LOCK. The lock detection circuit 37 outputs the detection signal LOCK to the power down timer circuit 38. A configuration of the lock detection circuit 37 is not particularly limited and a known configuration may be adopted.
[0103] For example, in the case of determining that the PLL circuit 30B is in the locked state, the lock detection circuit 37 generates a high level signal as the detection signal LOCK and outputs the same to the power down timer circuit 38. For example, in the case of determining that the PLL circuit 30B is not in the locked state, the lock detection circuit 37 generates a low level signal as the detection signal LOCK and outputs the same to the power down timer circuit 38.
[0104] Based on the detection signal LOCK input from the lock detection circuit 37, the power down timer circuit 38 generates a control signal PD_PLL for controlling the PLL circuit 30B using fifth memory data.
[0105] The fifth memory data is determination data for determining whether to power down the PLL circuit 30B. The fifth memory data may include, for example, in the case where a power supply voltage is set to VDD, data indicating a third threshold V.sub.TH3 (0.1 V<third threshold V.sub.TH3<VDD−0.1 V) being a voltage greater than 0.1 V and less than VDD−0.1 V. The fifth memory data is arbitrarily set by the control part 200 provided outside the oscillator circuit 100B.
[0106] A configuration of the power down timer circuit 38 is not particularly limited. For example, the power down timer circuit 38 may include a constant current source 381, a switching transistor 382, and a comparator 383.
[0107] For example, in the power down timer circuit 38, when a high level signal is input from the lock detection circuit 37, the switching transistor 382 is turned on, a capacitor C3 is charged with a predetermined current from the constant current source 381, a voltage of the capacitor C3 is gradually raised, and a ramp voltage V.sub.ramp is generated at a positive terminal of the comparator 383. The comparator 383 compares the ramp voltage V.sub.ramp at the positive terminal with the third threshold V.sub.TH3 at a negative terminal, and generates the control signal PD_PLL based on a comparison result.
[0108] Specifically, in the case where the ramp voltage V.sub.ramp is greater than the third threshold V.sub.TH3, the power down timer circuit 38 generates a high level signal as the control signal PD_PLL to power down the PLL circuit 30B. Alternatively, in the case where the ramp voltage V.sub.ramp is less than or equal to the third threshold V.sub.TH3, the power down timer circuit 38 generates a low level signal as the control signal PD_PLL to prevent the PLL circuit 30B from being powered down.
[0109] For example, in the power down timer circuit 38, when a low level signal is input from the lock detection circuit 37, the switching transistor 382 is turned off and the voltage of the capacitor C3 is prevented from rising. The power down timer circuit 38 generates a low level signal as the control signal PD_PLL to prevent the PLL circuit 30B from being powered down.
[0110] The storage 40B stores the fifth memory data in addition to the first memory data, the second memory data and the third memory data. The storage 40B may store any information used in operation of the oscillator circuit 100B. The storage 40B acquires the first memory data, the second memory data, the third memory data, and the fifth memory data from the control part 200 via the interface 50.
[0111] In the oscillator circuit 100B according to the third embodiment, the multiplication ratio of the frequency f.sub.XOSC of the oscillation signal S.sub.XOSC generated by the oscillator 20 is adjusted, and the oscillator 20 is controlled based on the loop filter voltage V.sub.C being the input voltage of the voltage controlled oscillator 35. Accordingly, the oscillator circuit 100B with high accuracy can be realized.
[0112] In the oscillator circuit 100B according to the third embodiment, the PLL circuit 30B is powered down after it is detected that the PLL circuit 30B is in the locked state. That is, in the oscillator circuit 100B according to the third embodiment, after the oscillation signal S.sub.XOSC has been put into the main oscillation mode and has stabilized, the PLL circuit 30B is powered down. Accordingly, it can be suppressed that operation noise of the PLL circuit 30B interferes into the oscillator circuit 100B that is noise-sensitive via a power supply and a bulk or the like in the circuit. Deterioration of noise characteristics can be prevented, and a highly stable oscillator circuit 100B can be realized.
Fourth Embodiment
[0113] An example of a configuration of an oscillator circuit 100C according to a fourth embodiment is described with reference to
[0114] The oscillator circuit 100C according to the fourth embodiment differs from the oscillator circuit 100B according to the third embodiment in that, while the attenuation control circuit 34 in the oscillator circuit 100B according to the third embodiment does not include a temperature sensor, an attenuation control circuit 34C in the oscillator circuit 100C according to the fourth embodiment includes a temperature sensor 344. The other configurations are the same as those of the oscillator circuit 100B according to the third embodiment, and thus repeated description is omitted.
[0115] The oscillator circuit 100C includes the resonator 10, the oscillator 20, a PLL circuit 30C, the storage 40B, and the interface 50. The PLL circuit 30C includes the first frequency divider 31, the phase comparator 32, the charge pump 33, the attenuation control circuit 34C, the voltage controlled oscillator 35, the second frequency divider 36, the lock detection circuit 37, and the power down timer circuit 38.
[0116] The attenuation control circuit 34C detects the loop filter voltage V.sub.C, and, based on the loop filter voltage V.sub.C, generates the control signal XO_PD for controlling the oscillator 20 using a sensor signal input from the temperature sensor 344 in addition to the second memory data and the third memory data. The attenuation control circuit 34C outputs the control signal XO_PD to the oscillator 20.
[0117] The attenuation control circuit 34C may include, for example, the comparator 341, the comparator 342, the SR latch circuit 343, and the temperature sensor 344.
[0118] The temperature sensor 344 measures a temperature of the PLL circuit 30C and generates the sensor signal as a measurement result. The temperature sensor 344 outputs the sensor signal to the comparator 341. For example, in the case where a measured temperature is low (for example, about −40° C.), the temperature sensor 344 outputs the sensor signal indicating the low temperature to the comparator 341. For example, in the case where the measured temperature is room temperature (for example, about 25° C.), the temperature sensor 344 outputs the sensor signal indicating the room temperature to the comparator 341. For example, in the case where the measured temperature is high (for example, about 105° C.), the temperature sensor 344 outputs the sensor signal indicating the high temperature to the comparator 341.
[0119] The comparator 341 compares the loop filter voltage V.sub.C with the first threshold V.sub.TH1 using the sensor signal input from the temperature sensor 344, and outputs a comparison result to the Set terminal of the SR latch circuit 343.
[0120] As shown in
[0121] As shown in
[0122] For example, in the case where the loop filter voltage V.sub.C is greater than the first threshold V.sub.TH1(LT) at low temperature that is a voltage greater than the main oscillation equivalent voltage V.sub.C1(LT) at low temperature and less than the spurious oscillation equivalent voltage V.sub.C2(LT) at low temperature (V.sub.C1(LT)<V.sub.TH1(LT)<V.sub.C2(LT)), the comparator 341 generates a high level signal; in the case where the loop filter voltage V.sub.C is less than or equal to the first threshold V.sub.TH1(LT) at low temperature, the comparator 341 generates a low level signal.
[0123] For example, in the case where the loop filter voltage V.sub.C is greater than the first threshold V.sub.TH1(RT) at room temperature that is a voltage greater than the main oscillation equivalent voltage V.sub.C1(RT) at room temperature and less than the spurious oscillation equivalent voltage V.sub.C2(RT) at room temperature (V.sub.C1(RT)<V.sub.TH1(RT)<V.sub.C2(RT)), the comparator 341 generates a high level signal; in the case where the loop filter voltage V.sub.C is less than or equal to the first threshold V.sub.TH1(RT) at room temperature, the comparator 341 generates a low level signal.
[0124] For example, in the case where the loop filter voltage V.sub.C is greater than the first threshold V.sub.TH1(HT) at high temperature that is a voltage greater than the main oscillation equivalent voltage V.sub.C1(HT) at high temperature and less than the spurious oscillation equivalent voltage V.sub.C2(HT) at high temperature (V.sub.C1(HT)<V.sub.TH1(HT)<V.sub.C2(HT)), the comparator 341 generates a high level signal; in the case where the loop filter voltage V.sub.C is less than or equal to the first threshold V.sub.TH1(HT) at high temperature, the comparator 341 generates a low level signal.
[0125] In the oscillator circuit 100C according to the fourth embodiment, the multiplication ratio of the frequency f.sub.XOSC of the oscillation signal S.sub.XOSC generated by the oscillator 20 is adjusted, and the oscillator 20 is controlled based on the loop filter voltage V.sub.C being the input voltage of the voltage controlled oscillator 35. Accordingly, the oscillator circuit 100C with high accuracy can be realized.
[0126] In the oscillator circuit 100C according to the fourth embodiment, the first threshold V.sub.TH1 serving as the determination data for determining whether to attenuate the oscillator 20 can be adjusted to an optimum value in correspondence with a temperature change. Accordingly, the oscillator circuit 100C can be realized in which determination error due to temperature change is reduced.
Fifth Embodiment
[0127] An example of a configuration of an oscillator circuit 100D according to a fifth embodiment is described with reference to
[0128] The oscillator circuit 100D according to the fifth embodiment differs from the oscillator circuit 100C according to the fourth embodiment in that the oscillator circuit 100D according to the fifth embodiment includes a switching transistor SW1 between the attenuation control circuit 34C and a resistor R1, a switching transistor SW2 between the attenuation control circuit 34C and the oscillator 20, a switching transistor SW3 in a power down timer circuit 38D, and a switching transistor SW4 between the power down timer circuit 38D and the oscillator 20. The other configurations are the same as those of the oscillator circuit 100C according to the fourth embodiment, and thus repeated description is omitted.
[0129] The oscillator circuit 100D includes the resonator 10, the oscillator 20, a PLL circuit 30D, the storage 40B, and the interface 50. The PLL circuit 30D includes the first frequency divider 31, the phase comparator 32, the charge pump 33, the attenuation control circuit 34C, the voltage controlled oscillator 35, the second frequency divider 36, the lock detection circuit 37, and the power down timer circuit 38D.
[0130] The oscillator circuit 100D includes the switching transistor SW1 between the attenuation control circuit 34C and the resistor R1, the switching transistor SW2 between the attenuation control circuit 34C and the oscillator 20, the switching transistor SW3 in the power down timer circuit 38D, and the switching transistor SW4 between the power down timer circuit 38D and the oscillator 20.
[0131] In the oscillator circuit 100D, based on on/off of the switching transistor SW1, the switching transistor SW2, the switching transistor SW3, and the switching transistor SW4, an external filter (for example, a capacitor C1 or a capacitor C3) is properly used. For example, in the case where the PLL circuit 30D is powered down, the oscillator circuit 100D uses the external filter as a noise reduction filter of the oscillator 20. For example, in the case where the PLL circuit 30D is not powered down, the oscillator circuit 100D uses the external filter as a loop filter of the PLL circuit 30D or in the power down timer circuit 38D of the PLL circuit 30D.
[0132] The external filter has a capacitor that is too large to be built in an integrated circuit. Hence, for example, if the external filter is used for the loop filter of the PLL circuit 30D, the oscillator circuit 100D is able to secure sufficient time to put the oscillation signal S.sub.XOSC in the oscillator 20 into the power down mode. Alternatively, for example, if the external filter is used in the power down timer circuit 38D of the PLL circuit 30D, the oscillator circuit 100D is able to secure sufficient waiting time before the PLL circuit 30D is powered down.
[0133] As a noise reduction node of the oscillator 20, for example, an analog temperature compensating voltage node or an analog voltage node for correcting variation with time of an oscillation frequency may be used.
[0134] In the oscillator circuit 100D according to the fifth embodiment, the multiplication ratio of the frequency f.sub.XOSC of the oscillation signal S.sub.XOSC generated by the oscillator 20 is adjusted, and the oscillator 20 is controlled based on the loop filter voltage V.sub.C being the input voltage of the voltage controlled oscillator 35. Accordingly, the oscillator circuit 100D with high accuracy can be realized.
[0135] In the oscillator circuit 100D according to the fifth embodiment, based on on/off of each switching transistor, the external filter is properly used. Accordingly, since there is no need to separately prepare a filter for the oscillator 20 and a filter for the PLL circuit 30D, the oscillator circuit 100D can be realized in which package size is reduced. The oscillator circuit 100D like this is particularly useful for a small base station or the like.
[0136] Although the above embodiments have been described as representative examples, it will be apparent to those skilled in the art that many modifications and substitutions may be made within the spirit and scope of the disclosure. Accordingly, the present disclosure should not be construed as limited by the embodiments described above, and various modifications and changes are possible without departing from the scope of the appended claims. For example, it is possible to combine a plurality of configuration blocks described in the configuration diagrams of the embodiments into one, or to divide one configuration block. It is possible to combine a plurality of steps described in the flowcharts of the embodiments into one, or to divide one step.