Switched oscillator circuit

12549131 ยท 2026-02-10

Assignee

Inventors

Cpc classification

International classification

Abstract

An oscillator circuit portion 200 including a resonator 216 arranged to oscillate with a resonant frequency, a capacitor 208 arranged to provide charge to the resonator, a first switch 206 arranged to connect the capacitor to an input voltage to charge the capacitor, a second switch 210 arranged to connect the resonator to the capacitor, and a timing circuit 202 configured to generate periodically a first pulse PULSE_L and a second pulse PULSE_H. The first pulse is configured to close the first switch, the second pulse is configured to close the second switch, and the first and second switches are arranged to be open when the timing circuit is not generating the first or second pulses, to maintain oscillation of the resonator.

Claims

1. An oscillator circuit portion, comprising: a resonator arranged to oscillate with a resonant frequency; a capacitor arranged to provide charge to the resonator; a first switch arranged to connect the capacitor to an input voltage to charge the capacitor; a second switch arranged to connect the resonator to the capacitor; a third switch arranged to connect the resonator to ground; and a timing circuit configured to generate periodically a first pulse and a second pulse; wherein the first pulse is configured to close the first switch; wherein the second pulse is configured to close the second switch; wherein the first and second switches are arranged to be open when the timing circuit is not generating the first or second pulses, to maintain the oscillation of the resonator; and wherein the first pulse is configured to close the third switch.

2. The oscillator circuit portion of claim 1, wherein the resonator is arranged to partially discharge during the first pulse.

3. The oscillator circuit portion of claim 1, wherein the timing circuit is arranged to repeat the first and second pulses at a rate corresponding to the oscillation of the resonator, and with a phase corresponding to the oscillation of the resonator.

4. An integrated circuit comprising the oscillator circuit portion of claim 1, wherein the input voltage of the oscillator circuit is a voltage supply of the integrated circuit.

5. An oscillator circuit portion, comprising: a resonator arranged to oscillate with a resonant frequency; a capacitor arranged to provide charge to the resonator; a first switch arranged to connect the capacitor to an input voltage to charge the capacitor; a second switch arranged to connect the resonator to the capacitor; and a timing circuit configured to generate periodically a first pulse and a second pulse; wherein the first pulse is configured to close the first switch; wherein the second pulse is configured to close the second switch; wherein the first and second switches are arranged to be open when the timing circuit is not generating the first or second pulses, to maintain the oscillation of the resonator; and wherein the capacitor is arranged to partially charge the resonator during the second pulse.

6. An oscillator circuit portion, comprising: a resonator arranged to oscillate with a resonant frequency; a capacitor arranged to provide charge to the resonator; a first switch arranged to connect the capacitor to an input voltage to charge the capacitor; a second switch arranged to connect the resonator to the capacitor; and a timing circuit configured to generate periodically a first pulse and a second pulse; wherein the first pulse is configured to close the first switch; wherein the second pulse is configured to close the second switch; wherein the first and second switches are arranged to be open when the timing circuit is not generating the first or second pulses, to maintain the oscillation of the resonator; and wherein the capacitor is arranged to partially charge during the first pulse.

7. An oscillator circuit portion, comprising: a resonator arranged to oscillate with a resonant frequency; a capacitor arranged to provide charge to the resonator; a first switch arranged to connect the capacitor to an input voltage to charge the capacitor; a second switch arranged to connect the resonator to the capacitor; and a timing circuit configured to generate periodically a first pulse and a second pulse; wherein the first pulse is configured to close the first switch; wherein the second pulse is configured to close the second switch; wherein the first and second switches are arranged to be open when the timing circuit is not generating the first or second pulses, to maintain the oscillation of the resonator; and wherein the capacitor is a variable capacitor.

8. The oscillator circuit portion of claim 1, wherein the resonator comprises a piezoelectric crystal with an input and an output, wherein the input is arranged to connect to a first load capacitor and the output is arranged to connect to a second load capacitor.

9. The oscillator circuit portion of claim 1, wherein the timing circuit comprises a feedback loop configured to synchronise the first and second pulses with the resonance of the resonator.

10. The oscillator circuit portion of claim 1, wherein the timing circuit is a phase locked loop or a delay locked loop.

11. A method of operating an oscillator circuit portion comprising: oscillating a resonator with a resonant frequency; using a capacitor to provide charge to the resonator; charging the capacitor from an input voltage; generating periodically a first pulse and a second pulse using a timing circuit; closing a first switch between the capacitor and the input voltage during the first pulse; closing a second switch between the resonator and the capacitor during the second pulse; opening the first and second switches when the timing circuit is not generating the first or second pulses, maintaining the oscillation of the resonator; and closing a third switch between the resonator and ground during the first pulse.

12. The method of claim 10, comprising generating the first and second pulses at a rate corresponding to the oscillation of the resonator, and with a phase corresponding to the oscillation of the resonator.

13. A method of operating an integrated circuit comprising an oscillator circuit, the method comprising: oscillating a resonator with a resonant frequency; using a capacitor to provide charge to the resonator; charging the capacitor from a voltage supply of the integrated circuit; generating periodically a first pulse and a second pulse using a timing circuit; closing a first switch between the capacitor and the voltage supply during the first pulse; closing a second switch between the resonator and the capacitor during the second pulse; opening the first and second switches when the timing circuit is not generating the first or second pulses, maintaining the oscillation of the resonator; and closing a third switch between the resonator and ground during the first pulse.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) One or more non-limiting examples will now be described, by way of example only, and with reference to the accompanying figures in which:

(2) FIG. 1 is a schematic diagram of a pulse injection crystal oscillator circuit portion according to the prior art;

(3) FIG. 2 is a schematic diagram of a pulse injection crystal oscillator circuit portion according to an embodiment of the invention;

(4) FIG. 3 is a timing diagram illustrating the operation of the pulse injection crystal oscillator circuit portion shown in FIG. 2;

(5) FIG. 4 is a schematic diagram of an embodiment of the pulse injection crystal oscillator circuit portion shown in FIG. 2.

(6) FIG. 5 is a schematic diagram of an embodiment of the pulse injection crystal oscillator circuit portion shown in FIG. 2 implemented on an integrated circuit chip.

DETAILED DESCRIPTION

(7) FIG. 1 shows a pulse injection crystal resonator circuit 100 according to the prior art, in which a timing circuit 102 alternately connects a crystal resonator 114 to a buffer circuit 104 (including a buffer capacitor 106) using a high switch 108 and to a ground rail 112 using a low switch 111, at a rate and phase which corresponds to the resonance of the crystal resonator 114.

(8) When the crystal resonator 114 is connected to the buffer circuit 104, it is charged partially towards the buffer voltage V.sub.BUF through the discharging of the buffer capacitor 106. When the high switch 108 is open, the buffer capacitor 106 recharges back to the buffer voltage V.sub.BUF. When the crystal resonator 114 is connected to the ground rail 112, the crystal resonator 114 is quickly discharged. The buffer circuit 104 continuously draws current from the supply, leading to an overall high current consumption.

(9) FIG. 2 shows a pulse injection crystal resonator circuit 200 embodying the invention. The crystal resonator circuit 200 comprises a piezoelectric crystal resonator 216, a capacitor 208, a timing circuit 202, a first switch 206 and a second switch 210. The crystal resonator 216 comprises a crystal 217, with a first load capacitor 218 connected at the input of the crystal 217, and a second load capacitor 219 connected at the output of the crystal 217. The first switch 206 connects the capacitor to an input voltage 204, and the second switch 210 connects the capacitor to the crystal resonator 216. The timing circuit 202 generates pulses to control the first and second switches 206, 210, which is explained in further detail below.

(10) The operation of the pulse injection crystal resonator circuit 200 will now be described with reference to the timing diagram shown in FIG. 3. In use, the timing circuit 202 alternately connects the capacitor 208 to the input voltage 204 using the first switch 206 and to the crystal resonator 216 using the second switch 210.

(11) The timing circuit 202 also alternately connects the crystal resonator 216 to the capacitor 208 using the second switch 210 and to a ground rail 214 using a third switch 212, at a rate that corresponds to a resonance of the crystal resonator 216, and with a phase corresponding to the resonance of the crystal resonator 216. The first switch 206 and third switch 212 are controlled by the timing circuit 202 to open and close at the same time as each other.

(12) Therefore, no buffer circuit is required between the main voltage supply of the integrated circuit 204 which is at a voltage V.sub.DD, due to the first switch 206 being opened and closed such that the capacitor 208 is only intermittently connected to the voltage supply 204.

(13) As shown in FIG. 3, the voltage of the crystal resonator 216, measured at node X.sub.o oscillates at the frequency of the resonance of the crystal resonator 216. The timing circuit 202 is locked to the resonance of the crystal resonator 216 (e.g. using a phase locked loop), which is explained in more detail below with reference to FIG. 4.

(14) At a first time t.sub.1, the timing circuit 202 closes the first switch 206 to connect the capacitor 208 to the input voltage 204 for the first pulse period 302, which is at the supply voltage V.sub.DD. This charges the capacitor 208 to the supply voltage V.sub.DD. This is seen in FIG. 3, where the voltage V.sub.BANK is low before the first time t.sub.1 and after the second time t.sub.2 as the capacitor has been discharged to the crystal resonator, and high after the first pulse period 302 as the capacitor has been charged.

(15) At the end of the first pulse period 302 the timing circuit 202 opens the first switch 206 to disconnect the capacitor 208 from the supply voltage V.sub.DD. Therefore current only flows between the input voltage 204 and the capacitor 208 during the first pulse period 302.

(16) At the second time t.sub.2 (i.e. at the beginning of the second pulse period 304), which is half of the resonant period of the crystal resonator 216 after t.sub.1, the timing circuit 202 closes the second switch 210 to connect the crystal resonator 216 to the capacitor 208, which is at a voltage of V.sub.BANK. This is the charge sharing phase, where during the second pulse period 304 the charge from the capacitor quickly moves to the crystal resonator 216. The voltage of the capacitor V.sub.BANK decreases during the second pulse period 304 as the charge is shared between the crystal resonator 216 and the capacitor 208.

(17) At the end of the second pulse period 304 the timing circuit 202 opens the second switch 210 to disconnect the crystal resonator 216 from the capacitor 208.

(18) Also at the first time t.sub.1 which is half of the resonant period of the crystal resonator 216 after t.sub.2, the timing circuit 202 closes the third switch 212 to connect the crystal resonator 216 to the ground rail 214 for the first pulse period 302. This quickly discharges the crystal resonator 216. Whilst in the example shown in FIG. 3 the crystal resonator 216 is completely discharged in the first pulse period 302, this is not essential.

(19) At the end of the first pulse period 302 the timing circuit 202 opens the first and third switches 206, 212 to disconnect the crystal resonator 216 from the ground rail 214, and the capacitor 208 from the input voltage 204.

(20) The duration of the second pulse period 304 and the capacitance C.sub.BANK of the capacitor 208 are chosen to ensure that the charge delivered to the crystal resonator 216 is sufficient to keep the oscillation going, whilst minimising the size of the capacitor 208. The duration of the first pulse period 302 is chosen to ensure that the capacitor 208 is only charged for as long as is necessary, to avoid excessive current usage, whilst also ensuring the there is enough time for the crystal resonator 216 to discharge.

(21) FIG. 3 also shows the first and second pulse periods 302, 304 as equal, but again this is not essential. For instance, the second pulse period 304 may be shorter than the first pulse period 302. Alternatively, the first pulse period 302 may be shorter than the time for the capacitor to fully charge. In this example, at the end of the first pulse period 302, the voltage of the capacitor V.sub.BANK is less than the supply voltage V.sub.DD.

(22) The output X.sub.i of the crystal resonator 216 is connected to the timing circuit 202, which controls the process to repeat at a rate corresponding to the resonance of the crystal resonator 216 and which is phase-locked with the resonance of the crystal resonator 216 (i.e. with the second pulse period 304 occurring at or close to the peak of the oscillation waveform, and the first pulse period 302 occurring at or close to the bottom of the oscillation waveform). This maintains the oscillation indefinitely.

(23) FIG. 4 is a schematic diagram of a phase locked loop circuit 400 which provides part of the timing circuit 202. The phase locked loop circuit 400 is a feedback circuit, and comprises a phase detector and charge pump 410, which is connected to the output X.sub.i of the crystal resonator 217.

(24) The phase detector and charge pump 410 detects the frequency and phase of the voltage at the output X.sub.i of the crystal 217, by comparing the phases of the output at X.sub.i of the crystal 217, and the output of a voltage controlled oscillator 402. The phase detector and charge pump 410 then generates an error signal corresponding to the phase difference between these input signals.

(25) The error signal is then passed to a low-pass filter 412, which removes any high-frequency elements from the error signal, and filters the error signal into a DC signal, to produce a filtered error signal with a voltage VCTRL proportional to the differences between the phases of the input signals to the phase detector and charge pump 410.

(26) The filtered error signal VCTRL is then passed to the voltage controlled oscillator 402. The voltage controlled oscillator 402 receives the filtered error signal VCTRL and adjusts its frequency towards the frequency of the output voltage X.sub.i of the crystal 217 based on the voltage of the filtered error signal VCTRL.

(27) The output of the voltage controlled oscillator 402 is then fed back into the phase detector and charge pump 410, and the feedback cycle repeats. Eventually, the phase difference between the output of the voltage controlled oscillator 402 and the output voltage X.sub.i of the crystal 217 is zero, such that they are operating at the same frequency. At this point, the phase locked loop circuit 400 is locked and the voltage of the filtered error signal VCTRL is in a steady-state.

(28) The output CLK_PIXO of the voltage controlled oscillator 402 is a signal with the same frequency and phase as the crystal 217. This is fed into a pulse generator 404, which generates a first pulse PULSE_L and a second pulse PULSE_H. This allows for the first pulse PULSE_L to be generated at the bottom of the oscillation waveform of the crystal 217 measured at the crystal input X.sub.O and the second pulse PULSE_H to be generated at the peak of the oscillation waveform of the crystal 217 measured at the crystal input X.sub.O. Therefore, the pulses repeat at a rate and phase corresponding to the resonance of the crystal 217 in order to maintain its oscillation.

(29) The pulses PULSE_L and PULSE_H are passed to a crystal driver portion 406 which represents the switches and capacitors 206, 208, 210, 212 of the pulse injection crystal resonator circuit 200 shown in FIG. 2. With reference to FIGS. 2 and 3, the first pulse PULSE_L controls the first and third switches 206, 212 during the first pulse period 302, and the second pulse PULSE_H controls the second switch 210 during the second pulse period 304. As explained with reference to FIG. 2, these components then allow for control of the oscillation of the crystal 217 at the crystal input X.sub.O.

(30) The oscillator circuit described with reference to the Figures above may be implemented to provide a stable clock signal for other components on an integrated circuit. This is shown in FIG. 5. The integrated circuit 500 comprises the crystal resonator circuit 200, which receives an input voltage V.sub.DD from the main supply voltage 204 of the integrated circuit. The output of the crystal resonator circuit 200 provides a clock signal 501 to a clock domain 502 on the integrated circuit 500.

(31) It will be appreciated by those skilled in the art that the invention has been illustrated by describing one or more specific embodiments thereof, but is not limited to these embodiments; many variations and modifications are possible, within the scope of the accompanying claims.