Reducing Duration of Start-up Period for a Crystal Oscillator Circuit
20190229678 · 2019-07-25
Inventors
- Anna Karin Stenman (Hjarup, SE)
- Stefanos Stefanidis (Graz, AT)
- Lars Sundström (Sodra Sandby, SE)
- Tahmineh Torabian Esfahani (Linkoping, SE)
Cpc classification
H03B5/06
ELECTRICITY
H03L7/093
ELECTRICITY
H03B5/1215
ELECTRICITY
International classification
H03B5/06
ELECTRICITY
Abstract
A crystal oscillator circuit comprises a crystal; oscillator circuitry for generating a crystal oscillation signal at an oscillation frequency; and a kick-start circuit for injecting pulses into the crystal during a start-up period. The oscillator circuitry comprises a differential pair of transistors and can operate in an oscillating mode or a start-up mode. In the oscillating mode, the differential pair of transistors is cross-coupled so that a gate terminal of one transistor is coupled to a drain terminal of the other transistor, and vice versa, and the drain terminals are coupled to the crystal to generate the crystal oscillation signal. In the start-up mode, the kick-start circuit drives the gate terminals of the transistors with said pulses. This crystal oscillator circuit has a decreased start-up time compared to prior art solutions and a reduced influence of parasitic oscillations.
Claims
1. An oscillator system, comprising: a crystal; oscillator circuitry connected to the crystal and configured to: generate a crystal oscillation signal at an oscillation frequency; and operate in a selectable one of at least an oscillating mode and a start-up mode; and a kick-start circuit configured to inject a number of pulses into the crystal during a start-up period of the oscillator system; wherein the kick-start circuit comprises an oscillator, said oscillator configured to: generate said number of pulses during the start-up period of the oscillator system; and be phase locked to said oscillator circuitry during a time period where the oscillator circuitry operates in the oscillating mode.
2. The oscillator system of claim 1 wherein the oscillator of the kick-start circuitry is configured to be fee running during the start-up period of the oscillator system.
3. The oscillator system of claim 1, wherein: the oscillator circuitry comprises a first differential pair of transistors; in the oscillating mode, the first differential pair of transistors are cross-coupled so that: a gate terminal of a first transistor of the first differential pair is coupled to a drain terminal of a second transistor of the first differential pair; and a gate terminal of the second transistor of the first differential pair is coupled to a drain terminal of the first transistor of the first differential pair; each one of the drain terminals of the first and second transistors of the first differential pair further being coupled to a terminal of the crystal to generate the crystal oscillation signal at the oscillation frequency; and in the start-up mode, the kick-start circuit is configured to drive the gate terminals of the first and second transistors of the first differential pair with said number of pulses during the start-up period of the oscillator system.
4. The oscillator system of claim 3 wherein the oscillator system is configured to, in the start-up mode of the oscillator circuit: disconnect the gate terminal of the first transistor of the first differential pair from the drain terminal of the second of the first differential pair; and disconnect the gate terminal of the second transistor of the first differential pair from the drain terminal of the first transistor of the first differential pair.
5. The oscillator system of claim 3 wherein: the oscillator circuitry further comprises a second differential pair of transistors, the second differential pair of transistors being complementary to the first differential pair of transistors; the second differential pair of transistors, in the oscillating mode, are cross-coupled so that: a gate terminal of a first transistor of the second differential pair is coupled to a drain terminal of a second transistor of the second differential pair; and a gate terminal of the second transistor of the second differential pair is coupled to a drain terminal of the first transistor of the second differential pair; each one of the drain terminals of the first and second transistors of the second differential pair further being coupled to a terminal of the crystal to generate the crystal oscillation signal at the oscillation frequency.
6. The oscillator system of claim 5, wherein the kick-start circuit, in the start-up mode, is configured to drive the gate terminals of the first and second transistors of the second differential pair with the number of pulses during the start-up period of the oscillator system.
7. The oscillator system of claim 5, wherein the oscillator system is configured to, in the start-up mode of the oscillator circuit: disconnect the gate terminal of the first transistor of the second differential pair from the drain terminal of the second transistor of the second differential pair; and disconnect the gate terminal of the second transistor of the second differential pair from the drain terminal of the first transistor of the second differential pair.
8. The oscillator system of claim 3, wherein each transistor of the first differential pair of transistors comprises a field effect transistor.
9. The oscillator system of claim 1 further comprising a capacitor configured to be: connected in parallel with the crystal for adjustment of the oscillation frequency when the oscillator circuitry is operating in the oscillating mode; and disconnected from the crystal in the start-up mode.
10. The oscillator system of claim 1, wherein the oscillator system is further configured to determine the number of pulses based on a difference in frequency between a frequency of the pulses and an oscillation frequency of an oscillation generated in the crystal by injecting the pulses into the crystal.
11. The oscillator system of claim 10, wherein the oscillator system is configured to determine the number of pulses so that a phase difference between each one of the pulses and the oscillation signal generated in the crystal by injecting that one and previous pulses of the number of pulses into the crystal is between /2 and /2.
12. The oscillator system of claim 11 wherein: the oscillator is further configured to inject at least a further number of pulses into the crystal during a further start-up period of the oscillator system, wherein a phase difference between pulses of the further start-up period and the crystal oscillation signal is between /2 and /2; and the start-up period and the further start-up period are separated by a time period where the phase difference exceeds /2.
13. An electronic apparatus, comprising an oscillator system comprising: a crystal; oscillator circuitry connected to the crystal and configured to: generate a crystal oscillation signal at an oscillation frequency; and operate in a selectable one of at least an oscillating mode and a start-up mode; and a kick-start circuit configured to inject a number of pulses into the crystal during a start-up period of the oscillator system; wherein the kick-start circuit comprises an oscillator, said oscillator configured to: generate said number of pulses during the start-up period of the oscillator system; and be phase locked to said oscillator circuitry during a time period where the oscillator circuitry operates in the oscillating mode.
14. The electronic apparatus of claim 13, wherein the electronic apparatus comprises a wireless communications device comprising a receiver and/or a transmitter for radio frequency signals.
15. The electronic apparatus of claim 13, wherein the wireless communications device comprises a base station for a wireless communications system.
16. The electronic apparatus of claim 13, wherein the wireless communications device comprises a mobile phone for use in a wireless communications system.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Embodiments of the invention will now be described more fully below with reference to the drawings, in which
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
DETAILED DESCRIPTION
[0055]
[0056]
[0057] During start-up of the oscillator, any tiny fraction of noise around the resonance frequency of the crystal will, due to the positive feedback of the system, start to be amplified, thus ramping up an oscillation at the resonance frequency. However, this normal way of start-up takes a certain time before a stable oscillation is available at the oscillator circuit outputs. This relative long start-up time is unacceptable in the present application of the oscillator circuit.
[0058] Such a crystal oscillator generally has an over-provisioning of negative resistance to provide successful operation over all process, voltage, and temperature conditions (PVT) and to control the start-up time, i.e. the time from activation/power-up to stable output (with respect to amplitude and frequency).
[0059] A variant of the basic crystal oscillator architecture in
[0060] Most crystal oscillator architectures suffer from the risk of parasitic oscillation, i.e. that the conditions for oscillations are also fulfilled for other frequencies than the desired. This may also be the case for the circuits of
[0061] First,
where g.sub.m is the transconductance of each transistor, i.e. i.sub.d/v.sub.gs (small signal). This architecture is not possible to use in crystal oscillators as it will lead to a DC bistable solution. This does not happen in an LC-based VCO as the inductor (L) has a center-tap to e.g. the voltage supply (V.sub.DD), which will inhibit the bistable state.
[0062]
[0063] As seen in the equation there is not only a negative conductance but a negative susceptance as well, giving that the core provides an inductance that can oscillate with the capacitance load, resulting in a potential parasitic oscillation frequency.
[0064]
[0065] As seen in the equation there is not only a negative conductance but a negative susceptance as well, giving that the core provides an inductance that can oscillate with the capacitance load, again resulting in a potential parasitic oscillation frequency.
[0066] Thus it can be seen that crystal oscillator architectures often suffer from the risk of parasitic oscillation. Circuits in
[0067] Below a solution is proposed for ensuring a much faster start-up of the crystal oscillator circuit and at the same time reducing the risk of parasitic oscillations during the start-up phase. The proposed startup circuit is based on using a second source of signal (kick-start circuit) to alternatingly switch the transistors of the cross-coupled core so as to pump energy into the tank of the crystal oscillator. The proposed solution uses a large signal momentarily forcing a reduction of the influence of the parasitic oscillation created by the cross-coupled core itself.
[0068]
[0069] During this start-up phase, the transistors M.sub.1 and M.sub.2 may be driven with a limited amplitude of the kick-start circuit output such that they stay in saturation and switch between two current levels effectively leading to an alternating current through the crystal. Alternatively, M.sub.1 and M.sub.2 may be driven to act as switches effectively leading to that current through the crystal will be alternating between the current from L.sub.1 and L.sub.2. In the latter case, where the kick-start signals drive M.sub.1 and M.sub.2 to act as switches, the kick-start circuit outputs may be regular digital inverters.
[0070] In
[0071] In an alternative embodiment implemented as the oscillator circuitry 21 in
[0072] In
[0073]
[0074] In
[0075] Also here, the transistors may, during the start-up phase, either be driven in saturation so that they switch between two current levels, or they may be driven in the triode region and thus essentially act as switches effectively alternating the crystal terminals between ground and supply.
[0076] In
[0077] Also in this embodiment, switches S.sub.1a, S.sub.2a, S.sub.3a and S.sub.4a may be replaced by short circuits, so that the normal feedback path from the oscillator outputs to the gate terminals of transistors M.sub.1, M.sub.2, M.sub.3 and M.sub.4 is still provided also during the start-up phase.
[0078] The embodiments above are based on a kick-start circuit 12 or 42 that provides periodic square-wave signals. In the general case, however, the signals do not need to be periodic, but must at least have power around the target frequency of the crystal oscillator to be able to charge the oscillator tank with energy. There are a number of possibilities with respect to the source of the kick-start signal.
[0079]
[0080] As shown in the crystal oscillator circuit 44 in
[0081]
[0082] The kick-start circuit runs over a given amount of time, e.g. determined by a given number of periods N of the kick-start outputs. This duration of the start-up phase is controlled by the control circuit 43, and later below it will be described how the duration and thus the number of kick-start pulses may be determined.
[0083] In the crystal oscillator circuits shown in
[0084] A dedicated kick-start oscillator 48 can be calibrated versus the crystal frequency during time slots when the crystal oscillator 41 is turned on and in steady-state, e.g. right before the crystal oscillator is scheduled to be turned off, using a (simple) PLL structure. This is illustrated in
[0085] A more elaborate scheme could be to store control inputs for various operating conditions including e.g. temperature and supply voltage to be used at another time instance having an operating conditions that is similar to the one for which the control input was stored.
[0086] One embodiment of such a dedicated kick-start oscillator 48 is illustrated in
[0087] Another embodiment of such a dedicated kick-start oscillator is illustrated in
[0088] The accuracy of the kick-start frequency is going to be dependent on the accuracy of the digital or analog control of the kick-start-oscillator, as well as time dependent variation in voltage supply, temperature, leakage etc. The maximum drift of the crystal oscillator is also added to the total frequency error. The useful number of pulses can then be calculated vs the power off/on cycle.
[0089] The oscillator circuitry shown in
[0090] Further, additional capacitance C.sub.L is generally added to the outputs of the crystal oscillator (in parallel with C.sub.0) to control frequency pulling of the crystal oscillator. Thus, C.sub.L will also contribute to dynamic power consumption when the crystal oscillator is driven by the kick-start circuit.
[0091] When the cross-coupled cores are switched by the kick-start circuit, i.e. the transistors are in the triode region and thus essentially act as switches effectively alternating the crystal terminals between ground and supply, the maximum voltage that can appear over the crystal is limited by the supply voltage. Thus, for this case the disconnection of C.sub.L will not reduce start-up time as the maximum voltage is already applied over the motional branch of the crystal. The only way to decrease the start-up time further is by increasing the voltage further.
[0092] The duration of the startup mode, i.e. the time during which the kick-start circuit injects energy into the crystal, is limited by the difference between the crystal oscillator frequency f.sub.xo, and the kick-start output frequency f.sub.k. For some embodiments, the frequency of the kick-start circuit may be different, inaccurate and/or not exactly known. We may then estimate a maximum difference between the crystal oscillator frequency and the kick-start output frequency, e.g. based on PVT (process-voltage-temperature) simulations.
[0093] Due to the difference in frequency between f.sub.xo, and f.sub.k, there will be gradual difference in phase over time between the kick-start output and the crystal oscillation. Each kick-start pulse will generate an oscillation at frequency f.sub.xo in the crystal with a phase related to that pulse, and thus a sequence of pulses will generate a corresponding number of oscillations, where each oscillation has a different phase shift compared to the oscillation generated by the first kick-start pulse. The resulting oscillation in the crystal will be a superposition of these oscillations, and at any time during the sequence of kick-start pulses, the phase of this resulting oscillation compared to the oscillation generated by the first kick-start pulse will be half the phase shift of the oscillation generated by the latest kick-start pulse. In other words, the phase difference between the oscillation generated by the latest kick-start pulse and the resulting (superpositioned) oscillation in the crystal will also be the half of this phase shift, and it will increase for each kick-start pulse. Therefore, there will be a maximum number of kick-start cycles, beyond which pulses will actually start to pull energy from the crystal rather than injecting energy.
[0094] From this, it can be understood that the maximum duration of the kick-start out-put corresponds to a maximum range of phases being 180 degrees. This is exemplified in
[0095] In other words, the phase difference between any one of the kick-start pulses and the resulting crystal oscillation should not exceed 90 degrees or /2, which means that the phase shift of the oscillation generated by the latest kick-start pulse compared to the oscillation generated by the first kick-start pulse should not exceed 180 degrees or . The sign of this phase shift of course depends on whether the kick-start frequency f.sub.k is higher or lower than the crystal oscillator frequency f.sub.xo.
[0096] Assuming that the kick-start output and crystal oscillator are in phase at the beginning of the startup mode (t=0) the phase difference is simply given by 2|f.sub.k-f.sub.xo| t. At some point in time t.sub.max this phase difference will reach , and as described above, the kick-start output will then start pulling energy from the crystal rather than injecting it. In other words, maximum energy is injected for 2|f.sub.k-f.sub.xo|t.sub.max=. With N.sub.max being the number of kick-start output periods, this equation can also be written as |f.sub.k-f.sub.xo|N.sub.max/f.sub.k=, which means that N.sub.max=f.sub.k/(2|f.sub.k-f.sub.xo|).
[0097] Thus, the maximum number of kick-start pulses that can be used can be determined from the difference between the crystal oscillator frequency f.sub.xo and the kick-start frequency f.sub.k. In some embodiments, this frequency difference may be measured and used to determine the number of pulses. However, in many situations, the solution is to estimate a maximum difference between the crystal oscillator frequency and the kick-start output frequency, e.g. based on PVT (process-voltage-temperature) simulations, and then use this estimated maximum difference for determining the number of kick-start pulses.
[0098] As described above, when the kick-start output has a frequency different from the crystal oscillator frequency there will be a burst of a maximum number of consecutive kick-start output periods that will add up constructively. When the kick-start frequency is different but accurate it is proposed to use at least one such burst. After this burst, the kick-start oscillator should, as described above, be disconnected from the oscillator circuitry, because its phase difference from the oscillation in the crystal will be too large. However, if the kick-start oscillator continues running after this first burst, there will be subsequent time instances where kick-start output and crystal oscillator output are again sufficiently aligned to add up constructively, such that additional bursts can be injected. With reference to
[0099] To illustrate the function of the kick-start solution described above, a number of simulations have been performed.
[0100] Simulation results are given below for various numbers of periods N to demonstrate the limit in relation to frequency difference between f.sub.k and f.sub.xo. In the simulation results shown in
[0101]
[0102] In
[0103] In
[0104]
[0105] In other words, there is disclosed a crystal oscillator circuit 40; 44; 47 comprising a crystal X.sub.1; oscillator circuitry 11; 21; 31; 41 connected to said crystal X.sub.1 and configured to generate a crystal oscillation signal at an oscillation frequency; and a kick-start circuit 12; 42; 45; 48 configured to inject a number of pulses into said crystal during a start-up period of the crystal oscillator circuit. The oscillator circuitry 11; 21; 31; 41 comprises a first differential pair of transistors M.sub.1, M.sub.2 and is configured to operate in a selectable one of at least an oscillating mode and a start-up mode, wherein the first differential pair of transistors, in the oscillating mode, are cross-coupled so that a gate terminal of a first transistor M.sub.1 of the first differential pair is coupled to a drain terminal of a second transistor M.sub.2 of the first differential pair, and a gate terminal of the second transistor M.sub.2 of the first differential pair is coupled to a drain terminal of the first transistor M.sub.1 of the first differential pair, each one of said drain terminals of the first and second transistors of the first differential pair further being coupled to a terminal of said crystal X.sub.1 to generate said crystal oscillation signal at said oscillation frequency; and said kick-start circuit 12; 42; 45; 48, in the start-up mode, is configured to drive the gate terminals of said first and second transistors M.sub.1, M.sub.2 of the first differential pair with said number of pulses during said start-up period of the crystal oscillator circuit.
[0106] Oscillator circuitry with a differential pair of cross-coupled transistors allows the crystal oscillator circuit to operate at the desired high frequencies, and when start-up pulses are injected into the crystal by driving the gate terminals of the cross-coupled transistors in a start-up mode, the start-up time of the crystal oscillator circuit is substantially decreased, and parasitic oscillations in the crystal oscillator circuit can be avoided or at least considerably reduced. Decreased time for start-up leads to lower power consumption, which will be increasingly important as the frequency of the crystal oscillator approaches the GHz regime.
[0107] In some embodiments, the crystal oscillator circuit is further configured to disconnect, in the start-up mode, the gate terminal of the first transistor M.sub.1 of the first differential pair from the drain terminal of the second transistor M.sub.2 of the first differential pair, and the gate terminal of the second transistor M.sub.2 of the first differential pair from the drain terminal of the first transistor M.sub.1 of the first differential pair.
[0108] The oscillator circuitry may further comprise a second differential pair of transistors M.sub.3, M.sub.4, said second differential pair of transistors M.sub.3, M.sub.4 being complementary to the first differential pair of transistors M.sub.1, M.sub.2, wherein the second differential pair of transistors, in the oscillating mode, are cross-coupled so that a gate terminal of a first transistor M.sub.3 of the second differential pair is coupled to a drain terminal of a second transistor M.sub.4 of the second differential pair, and a gate terminal of the second transistor M.sub.4 of the second differential pair is coupled to a drain terminal of the first transistor M.sub.3 of the second differential pair, each one of said drain terminals of the first and second transistors of the second differential pair further being coupled to a terminal of said crystal X.sub.1 to generate said crystal oscillation signal at said oscillation frequency. The use of a complementary cross-coupled differential pair of transistors reuses the same current as the first cross-coupled pair of transistors to generate negative resistance in the circuit.
[0109] In this case, said kick-start circuit 42; 45; 48 may, in the start-up mode, be configured to drive the gate terminals of said first and second transistors M.sub.3, M.sub.4 of the second differential pair with said number of pulses during said start-up period of the crystal oscillator circuit, and the crystal oscillator circuit may further be configured to disconnect, in the start-up mode, the gate terminal of the first transistor M.sub.3 of the second differential pair from the drain terminal of the second transistor M.sub.4 of the second differential pair, and the gate terminal of the second transistor M.sub.4 of the second differential pair from the drain terminal of the first transistor M.sub.3 of the second differential pair.
[0110] In some embodiments, each transistor M.sub.2, M.sub.3, M.sub.4 of said differential pair of M.sub.1, transistors comprises a field effect transistor.
[0111] In some embodiments, said kick-start circuit 12; 42; 45; 48 comprises an oscillator dedicated to generating said number of pulses. In such case, the dedicated oscillator may be a free-running oscillator, and the free-running oscillator may be configured to be calibrated by being phase locked to said oscillator circuitry during a time period where the oscillator circuitry is operating in the oscillating mode. In this way, a kick-start circuit having a frequency close to the target frequency of the crystal oscillator can be achieved. Alternatively, the dedicated oscillator may be configured to be locked to an external reference frequency, which also ensures a good accuracy of frequency of the kick-start circuit.
[0112] When a capacitor C.sub.L is arranged in parallel to said crystal X.sub.1 for adjustment of said oscillation frequency when the oscillator circuitry is operating in the oscillating mode, the crystal oscillator circuit may further be configured to disconnect said capacitor C.sub.L from the crystal X.sub.1 in the start-up mode. When the load capacitance used for pulling control and tuning is disconnected from the crystal oscillator output terminals during the start-up, it can be avoided that this capacitance sinks a large amount of current foremost yielding significant dynamic power consumption, but also effectively lowering the voltage across the crystal and thereby slowing energy injection.
[0113] In some embodiments, the crystal oscillator circuit is further configured to determine said number of pulses in dependence of a difference in frequency between a frequency of said pulses and an oscillation frequency of an oscillation generated in said crystal X.sub.1 by injecting said pulses into said crystal X.sub.1. In this way an optimal number of pulses, and thus an optimal duration of the start-up mode, can be determined.
[0114] The crystal oscillator circuit may be configured to determine said number of pulses so that a phase difference between each one of said pulses and the oscillation signal generated in said crystal X.sub.1 by injecting that one and previous pulses of said number of pulses into said crystal X.sub.1 is between /2 and /2.
[0115] The crystal oscillator circuit may further be configured to inject at least a further number of pulses into said crystal X.sub.1 during a further start-up period of the crystal oscillator circuit, wherein a phase difference between pulses of said further start-up period and said crystal oscillation signal is between /2 and /2, said start-up periods being separated by a time period where said phase difference exceeds /2.
[0116] An electronic apparatus may comprise at least one crystal oscillator circuit 40 as described above. In this way, the apparatus benefits from the described advantages of the crystal oscillator circuit. The electronic apparatus may be a wireless communications device comprising a receiver or a transmitter for radio frequency signals. In one embodiment, the wireless communications device is a base station 62 for a wireless communications system. In another embodiment, the wireless communications device is a mobile phone 63 for use in a wireless communications system.
[0117] As mentioned, the invention further relates to a method of reducing the duration of a start-up period for a crystal oscillator circuit 40; 44; 47 comprising a crystal X.sub.1; and oscillator circuitry 11; 21; 31; 41 connected to said crystal X.sub.1 and configured to generate a crystal oscillation signal at an oscillation frequency, said oscillator circuitry comprising a first differential pair of transistors M.sub.1, M.sub.2, wherein the first differential pair of transistors, in an oscillating mode, are cross-coupled so that a gate terminal of a first transistor M.sub.1 of the first differential pair is coupled to a drain terminal of a second transistor M.sub.2 of the first differential pair, and a gate terminal of the second transistor M.sub.2 of the first differential pair is coupled to a drain terminal of the first transistor M.sub.1 of the first differential pair, each one of said drain terminals of the first and second transistors of the first differential pair further being coupled to a terminal of said crystal X.sub.1 to generate said crystal oscillation signal at said oscillation frequency; wherein the method comprises the step of injecting from a kick-start circuit 12; 42; 45; 48 a number of pulses into said crystal X.sub.1 during a start-up period of the crystal oscillator circuit, said pulses being injected by driving the gate terminals of said first and second transistors M.sub.1, M.sub.2 of the first differential pair with said number of pulses during said start-up period of the crystal oscillator circuit.
[0118] Oscillator circuitry with a differential pair of cross-coupled transistors allows the crystal oscillator circuit to operate at the desired high frequencies, and when a number of start-up pulses are injected into the crystal by driving the gate terminals of the cross-coupled transistors in a start-up mode, the start-up time of the crystal oscillator circuit is substantially decreased, and parasitic oscillations in the crystal oscillator circuit can be avoided or at least con- siderably reduced. Decreased time for start-up leads to lower power consumption, which will be increasingly important as the frequency of the crystal oscillator approaches the GHz regime.
[0119] Although various embodiments of the present invention have been described and shown, the invention is not restricted thereto, but may also be embodied in other ways within the scope of the subject-matter defined in the following claims.