GB2317761A - Clock generator with a low amplitude standby mode oscillation - Google Patents
Clock generator with a low amplitude standby mode oscillation Download PDFInfo
- Publication number
- GB2317761A GB2317761A GB9619720A GB9619720A GB2317761A GB 2317761 A GB2317761 A GB 2317761A GB 9619720 A GB9619720 A GB 9619720A GB 9619720 A GB9619720 A GB 9619720A GB 2317761 A GB2317761 A GB 2317761A
- Authority
- GB
- United Kingdom
- Prior art keywords
- oscillator
- level
- power supply
- clock signal
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K3/00—Circuits for generating electric pulses; Monostable, bistable or multistable circuits
- H03K3/02—Generators characterised by the type of circuit or by the means used for producing pulses
- H03K3/027—Generators characterised by the type of circuit or by the means used for producing pulses by the use of logic circuits, with internal or external positive feedback
- H03K3/03—Astable circuits
- H03K3/0307—Stabilisation of output, e.g. using crystal
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/282—Testing of electronic circuits specially adapted for particular applications not provided for elsewhere
- G01R31/2822—Testing of electronic circuits specially adapted for particular applications not provided for elsewhere of microwave or radiofrequency circuits
- G01R31/2824—Testing of electronic circuits specially adapted for particular applications not provided for elsewhere of microwave or radiofrequency circuits testing of oscillators or resonators
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Oscillators With Electromechanical Resonators (AREA)
Abstract
A crystal oscillator, which may be used as a clock generator in a microcomputer system, operates even during standby (though at reduced amplitude), so that a full output level may be restored quickly when standby ends. During standby, current sources 50,60 or impedances are placed in series with the power supplies to the inverter 20, and the oscillator output is decoupled 70 from the circuit 80 it normally drives. The oscillator may be tested by monitoring the recovery time from standby.
Description
OSCILLAWR CIRCUIT, METHOD AND SYSTEM
Field of the Invention
This invention relates to oscillator circuits and particularly but not exclusively to clock signal generating oscillators for use with microcontrollers.
Background of the Invention
Many battery operated logic circuits use quartz crystal oscillators to generate a periodic clock signal for a microprocessor. In some applications, microprocessors are put into a so called sleep or standby mode where the majority of the circuitry is disconnected from its power source. An external wake up unit is typically employed to power up the unit up from time to time, the wake up unit being arranged to look for events that require constant power up for system operation. With the above arrangement the average power consumption of the circuit is reduced, since less power is consumed during sleep mode.
A relatively long start up time is required for a quartz oscillator to reach its final required oscillating amplitude for correct system operation. This is because quartz crystals are piezoelectric devices, relying on mechanical motion to generate electrical properties. Also, when driven in an oscillator arrangement an amount of static friction (stiction) has to be overcome in order for the oscillator to start up.
A problem with this arrangement is that by switching off the clock generating oscillator circuit during sleep mode and restarting again when woken up, the microprocessor has to wait until the oscillator has reached its filll clock signal generating operation. This is typically achieved by means of an added delay.
Furthermore the oscillator circuit has to deliver a maximum current until the circuit has reached its full amplitude. As a result a fair amount of energy is lost during each start-up period.
This invention seeks to provide an oscillator circuit, method and system which mitigates the above mentioned disadvantages.
Summary of the Invention
According to a first aspect of the present invention there is provided an oscillator circuit comprising: an oscillator coupled to a power supply and arranged for oscillating in a first and a second mode; and, a switch arrangement connected between the oscillator and the power supply and arranged for selectively switching the power supply between first and second levels; wherein in the first mode power is supplied at the first level to provide an operational current to the oscillator sufficient to drive a clock signal output, and in the second mode power is supplied at the second level to provide a standby current to the oscillator sufficient to maintain oscillation and insufficient to drive the clock signal output.
The oscillator preferably comprises a logic gate inverter coupled to receive a resonant signal from a quartz crystal. Preferably the switch arrangement comprises first and second current sources coupled to positive and negative power supply terminals of the oscillator. Preferably the second power level provides substantially the minimum required current to maintain oscillation of the oscillator.
According to a second aspect of the present invention there is provided a method of testing an oscillator comprising the steps of: providing a first power supply level to the oscillator sufficient to drive a clock signal output; switching the power supply between the first level and a second level, the second level being sufficient to maintain oscillation of a normally operational oscillator and insufficient to provide the clock signal output thereof; determining whether the oscillator has achieved oscillation at the second level; and, producing a test result signal dependent upon said determination.
Preferably the step of determining is achieved by switching from the second to the first level and by measuring the time taken for the oscillator to provide the clock signal output.
According to a third aspect of the present invention there is provided a microprocessor system arranged for operating in a normal mode and in a standby mode, comprising a microprocessor arranged to receive a clock signal; an oscillator coupled to a power supply and arranged for oscillating in dependence upon the supply current; and, a switch arrangement connected between the oscillator and the power supply and arranged for selectively switching the power supply between first and second levels; wherein in the normal mode power is supplied at the first level to provide sufficient current to cause the oscillator to drive the clock signal to the microprocessor, and in the standby mode power is supplied at the second level to provide sufficient current to maintain oscillation and insufficient current to drive the clock signal to the microprocessor.
In this way the need for a microprocessor delay when waking up after sleep mode is avoided and the large start-up current is conserved.
Bnef Description of the Drawmg(s) An exemplary embodiment of the invention will now be described with reference to the drawing in which:
FIG.1 shows a preferred embodiment of an oscillator circuit in accordance with the invention.
FIG.2 shows a voltage-time graph of a prior art oscillator circuit.
FIG.3 shows a voltage-time graph of the oscillator circuit of FIG.1.
Iletraled Desc;nDton ofa Prefened Emboment
Referring to FIG.1, there is shown an oscillator circuit 10, which uses a logic gate inverter 20 coupled to a quartz crystal 15. The quartz crystal 15 has two electrodes, each coupled to ground via capacitors 17 and 18 respectively, and further coupled to first and second nodes 12 and 13 of the oscillator circuit 10.
The inverter 20 of the circuit 10 has an input coupled to the first node 12, and has a positive power supply input coupled via a first switch 35 to a supply voltage node 30. The inverter 20 also has a negative power supply input coupled via a second switch 45 to a ground terminal 40 and an output coupled to the second node 13. The output of the inverter 20 is also coupled to a clock output terminal 80 via a third switch 70.
First and second current sources 50 and 60 are coupled in parallel to the first and second switches 35 and 45 respectively, so as to provide a second current path to power the inverter 20. An external resistor 5 determines the amount of current provided through the current sources 50 and 60.
In operation, the oscillator circuit 10 has two modes. In a first mode, with the first, second and third switches 35, 45 and 70 respectively closed, normal supply current is provided to the inverter 20 and full oscillation occurs, giving rise to a clock frequency at the output of the inverter 20 of sufficient amplitude to drive a clock signal input, such as that of a microcontroller.
In a second standby mode, the first, second and third switches 35, 45 and 70 are open, and the power supply current to the inverter 20 is now provided via the first and second current sources 50 and 60 respectively.
The inverter 20 is electrically disconnected from the clock output terminal 80. The value of the resistor 5 is chosen such that just enough current flows through the current sources 50 and 60 to maintain a non-zero oscillation of the quartz crystal 15, but it is to be understood that this amount of current does not provide an adequate amplitude of oscillation to provide a reliable periodic signal to drive a clock signal input of a microprocessor. The amount of current required in the standby mode will depend on the oscillating frequency of the quartz crystal 15, and is determined by the value of the external resistor 5.
Referring now also to FIG.2 there is shown a voltage-time graph of the typical start up behaviour for a standard microcontroller oscillator circuit.
As can be seen, such a circuit can take up to 0.8 milliseconds to achieve full oscillation. During this time any device coupled to receive a clock signal from the clock signal output terminal 80 (such as a microprocessor) has to wait in a delay loop until sufficient time has passed to ensure that a reliable clock signal is being provided. Furthermore, a large current has to be provided to the oscillator circuit during start-up.
Referring now also to FIG.3, the behaviour of the preferred embodiment is shown. The quartz crystal 15 continuously oscillates, but when in the second standby mode, this oscillation is at a minimum amplitude level.
When the circuit 10 is then switched from the second standby mode to the first mode, the voltage gain increases rapidly and the quartz crystal 15 achieves full steady-state oscillation almost instantaneously.
In this way the problems associated with the frequent switching of a quartz crystal oscillator are substantially reduced by the provision of the second standby mode of the oscillator, during which less power is consumed.
When the circuit 10 is switched from the second standby mode to the first mode, the circuit 10 will deliver full oscillation amplitude very quickly.
Therefore no delays have to be incorporated into any devices receiving the clock signal output.
In addition this circuit can be used to facilitate early failure diagnosis of a crystal oscillator. In case of a marginally operational crystal the oscillator circuit 10 might stop oscillating when switched to the second mode. As soon as the oscillator circuit 10 is switched to the first mode again, such a marginally operational crystal would start oscillating from zero, following the slow ramp profile of FIG. 2. Thus a device coupled to switch the oscillator circuit 10 and coupled to receive the clock signal (such as a microcontroller) can detect this slow ramp and take appropriate action (such as sending a signal to a diagnostic bus).
It will be appreciated that alternative embodiments to the one described above are possible. For example, the first and second current sources 50 and 60 could be replaced by resistors. Indeed only one of the two sources would be necessary to achieve the second mode functionality of the circuit 10.
Furthermore, in a more basic embodiment, one or both of the current sources 50 and 60 could be replaced by alternative impedance sources.
Claims (10)
1. An oscillator circuit comprising: an oscillator coupled to a power supply and arranged for oscillating in a first and a second mode; and, a switch arrangement connected between the oscillator and the power supply and arranged for selectively switching the power supply between first and second levels; wherein in the first mode power is supplied at the first level to provide an operational current to the oscillator sufficient to drive a clock signal output, and in the second mode power is supplied at the second level to provide a standby current to the oscillator sufficient to maintain oscillation and insufficient to drive the clock signal output.
2. The oscillator circuit of claim 1 wherein the oscillator comprises a logic gate inverter coupled to receive a resonant signal from a quartz crystal.
3. The oscillator circuit of claim 1 or claim 2 wherein the switch arrangement comprises first and second current sources coupled to positive and negative power supply terminals of the oscillator.
4. The oscillator circuit of claim 1 wherein the second power level provides substantially the minimum required current to maintain oscillation of the oscillator.
5. A method of testing an oscillator comprising the steps of: providing a first power supply level to the oscillator sufficient to drive a clock signal output; switching the power supply between the first level and a second level, the second level being sufficient to maintain oscillation of a normally operational oscillator and insufficient to provide the clock signal output thereof; determining whether the oscillator has achieved oscillation at the second level; and, producing a test result signal dependent upon said determination.
6. The method of claim 5 wherein the step of determining is achieved by switching from the second to the first level and by measuring the time taken for the oscillator to provide the clock signal output.
7. A microprocessor system arranged for operating in a normal mode and in a standby mode, comprising a microprocessor arranged to receive a clock signal; an oscillator coupled to a power supply and arranged for oscillating in dependence upon the supply current; and, a switch arrangement connected between the oscillator and the power supply and arranged for selectively switching the power supply between first and second levels; wherein in the normal mode power is supplied at the first level to provide sufficient current to cause the oscillator to drive the clock signal to the microprocessor, and in the standby mode power is supplied at the second level to provide sufficient current to maintain oscillation and insufficient current to drive the clock signal to the microprocessor.
8. An oscillator circuit substantially as hereinbefore described and with reference to the drawings of FIGs. 1 and 3.
9. A method substantially as hereinbefore described and with reference to the drawings of FIGs. 1 and 3.
10. A microprocessor system substantially as hereinbefore described and with reference to the drawings of FIGs. 1 and 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB9619720A GB2317761A (en) | 1996-09-20 | 1996-09-20 | Clock generator with a low amplitude standby mode oscillation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB9619720A GB2317761A (en) | 1996-09-20 | 1996-09-20 | Clock generator with a low amplitude standby mode oscillation |
Publications (2)
Publication Number | Publication Date |
---|---|
GB9619720D0 GB9619720D0 (en) | 1996-11-06 |
GB2317761A true GB2317761A (en) | 1998-04-01 |
Family
ID=10800296
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GB9619720A Withdrawn GB2317761A (en) | 1996-09-20 | 1996-09-20 | Clock generator with a low amplitude standby mode oscillation |
Country Status (1)
Country | Link |
---|---|
GB (1) | GB2317761A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7489209B2 (en) | 2006-04-20 | 2009-02-10 | Transoma Medical, Inc. | High stability fast start up oscillator for implants |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0515182A1 (en) * | 1991-05-23 | 1992-11-25 | Samsung Semiconductor, Inc. | Low-power crystal circuit |
US5325074A (en) * | 1991-10-29 | 1994-06-28 | Rohm Co., Ltd. | Oscillator with supply voltage changeover according to activated and disabled states of a microcomputer |
-
1996
- 1996-09-20 GB GB9619720A patent/GB2317761A/en not_active Withdrawn
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0515182A1 (en) * | 1991-05-23 | 1992-11-25 | Samsung Semiconductor, Inc. | Low-power crystal circuit |
US5325074A (en) * | 1991-10-29 | 1994-06-28 | Rohm Co., Ltd. | Oscillator with supply voltage changeover according to activated and disabled states of a microcomputer |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7489209B2 (en) | 2006-04-20 | 2009-02-10 | Transoma Medical, Inc. | High stability fast start up oscillator for implants |
Also Published As
Publication number | Publication date |
---|---|
GB9619720D0 (en) | 1996-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5172012A (en) | Power-on clearing circuit in semiconductor IC | |
US4387350A (en) | Watch circuit with oscillator gain control | |
TWI493864B (en) | Osicillatting signal generatting device and related method | |
KR100547249B1 (en) | Electronic speed-control circuit | |
EP1262015A1 (en) | Power-conserving external clock for use with a clock-dependent integrated circuit | |
GB2317761A (en) | Clock generator with a low amplitude standby mode oscillation | |
KR100202174B1 (en) | Power on reset signal generating circuit | |
JPH09146653A (en) | Information processor | |
KR0162389B1 (en) | Power relay control method of microwave oven | |
US6911873B2 (en) | Detection circuit and method for an oscillator | |
US6888418B2 (en) | Control circuit and method for a crystal oscillator using a timer | |
US6496078B1 (en) | Activating on-chip oscillator using ring oscillator | |
JPH08147064A (en) | Intermittent operating circuit | |
JPH09270639A (en) | Oscillation circuit | |
JP2808743B2 (en) | Synchronous switching power supply | |
JP3760744B2 (en) | Constant voltage output device | |
JP2722348B2 (en) | Oscillation circuit | |
JPH05219757A (en) | Electric discharge lamp lighting device | |
RU2105346C1 (en) | Converter of wire radio communication to stabilizing low-power direct current power supply | |
JP2757478B2 (en) | Clock circuit | |
JPH0793668A (en) | Buzzer driving device | |
KR19990048765A (en) | Crystal and ALSI Oscillator Circuit | |
JP2003079161A (en) | Method for power supply, and uninterruptible power supply unit using the same | |
JPH0210775Y2 (en) | ||
JPH06162223A (en) | Single chip microcomputer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WAP | Application withdrawn, taken to be withdrawn or refused ** after publication under section 16(1) |