The present invention relates to electronic circuits and more particularly to electronic oscillator circuits.
An oscillator is a circuit that continually and automatically switches between two states. Oscillators are a widely used type of electronic circuit. Many of the oscillators used in electronic circuits are “crystal oscillators”. In a crystal oscillator a crystal is used to control the frequency of the oscillator, that is to control the rate at which the oscillator switches between states.
Crystal oscillators are used in many electronic systems to provide a series of timing pulses that are used by various other components in the system. In crystal oscillators a quartz crystal controls the frequency of a bi-stable circuit that switches between two states.
Low frequency oscillators consume a relatively small amount of power; however, high frequency oscillators consume a relatively large amount of power. Many electronic systems include a relatively low frequency oscillator that is constantly operating and a high frequency oscillator that is turned off when the high frequency circuits in the system are not is use.
For example, in a portable electronic device such as a portable computer, there may be a relatively low speed oscillator which provides timing pulses for some of the logical circuitry such as a microprocessor and there may be a second relatively high speed oscillator that provides pulses for high speed circuitry that transmits and receives radio signals. In such an environment, the radio frequency circuitry may only be used intermittently. For example if the radio frequency circuitry is used to transmit signals from a wireless mouse or a wireless keyboard to the processing unit, the high frequency oscillator may be turned off between key strokes or between movements of the mouse.
Many high frequency circuits (and some low frequency circuits) require clock signals that have a high degree of purity and uniformity. That is, the clock pulses must be of uniform size and shape. Pulses that are shorter than the specified length can produce errors in the logical circuitry which utilizes the output of the oscillator. That is, non uniform clock pulses may cause logical anomalies. For example, circuits may change state at incorrect times or they may not change state at appropriate times. Herein, clock pulses that are shorter or smaller than normal clock pulses are termed “runt” pulses. Runt pulses from an oscillator can cause anomalies in logical circuitry which utilizes the oscillator output.
Frequently, an oscillator will produce runt pulses when the oscillator is started or when the oscillator is turned off. This becomes particularly troublesome in situations when the oscillator is repeatedly, and relatively quickly, turned on and off. The present invention is directed to eliminating runt pulses that may occur when an oscillator is turned on or off.
The present invention provides a crystal oscillator circuit which does not produce runt pulses when the oscillator is turned on or off. That is, the present invention provides a circuit for producing a series of clock pulses at an output terminal and which does not include any runt pulses when the circuit is turned on or off. The circuit includes a crystal oscillator, an integrator which integrates the energy in a plurality of pulses, a threshold circuit which is active when the output of the integrator reaches a pre-specified threshold and gating circuits which gate the output of the crystal oscillator to the output terminal only when the threshold circuit has reached the specified threshold.
The preferred embodiment of the invention is directed to circuitry for eliminating the runt pulses, which may occur when an oscillator is turned on or off. This is particularly important when the oscillator is a high frequency oscillator and the oscillator is frequently turned on and off.
Logical circuitry 13 is circuitry that requires a stream of high purity clock pulses. Runt pulses could cause errors in the operation of logical circuitry 13. For example, logical circuitry 13 may include some circuitry which responds to the leading edge of clock pulses and other circuitry which responds to the trailing edge of clock pulses. Runt pulses would cause lack of synchronization between such circuitry. Logical circuitry 13 could for example be radio frequency circuitry that transmits signals from a wireless keyboard to a personal computer system unit. Such radio frequency circuitry is frequently turned on and off in order to conserve power and runt clock pulses at the beginning or at the end of the operation could cause errors. Alternatively logical circuitry 13 could be any other circuitry that requires high purity clock pulses without runt pulses at the beginning or end of a stream of clock pulses that it receives. The exact nature of circuitry 13 is not particularly relevant to the present embodiment.
It is noted that for convenience of illustration only a few pulses are shown in
The details of the circuitry which eliminates runt pulses at start up and shut down are shown in
The runt pulse elimination circuitry has the main parts as shown in
The way in which the circuit eliminates runt pulses at start up will be explained first. The way in which the circuit eliminates any runt pulses which occur at shut down time will be described later.
The output of oscillator 11 provides inputs to two integration circuits 201A and 201B. However, prior to going to integrator 201B, the output of the oscillator is inverted. This is indicated by the circle at the input of integrator 201B. The inverter at the input to integrator 201B is shown in detail as inverter 218 in
It is noted that the oscillator 11 may begin in one of two states. In one state the oscillator output begins at a high voltage and goes to a low voltage. In the other state, the oscillator output begins at a low voltage and goes to a high voltage. The reason for this is that it is serendipitous as to which of the two states the oscillator will “start in” when the circuit is activated. That is, at one of the points A or C (in
The waveforms that occur at various points in the circuit are shown in
In
Logical circuit 203 will only pass clock pulses to the output (that is, to circuit 13) after both of the integration circuits 201A and 201B reach a certain threshold. The integration circuits 201A and 2012B will only both reach the specified threshold if the pulses produced by the oscillator meet certain width or duty requirements.
The outputs of the integrators are shown in
However, where the pulses go from a low voltage to a relatively high voltage, the output of the integrator will gradually grow as indicated by curves B and D′ in
The details of the circuit in
The signal on enable terminal 210 initiates operation of the oscillator 11. (Note the details of oscillator 11 will be explained later with respect to
Resistor 216 and capacitor 222 form the integrator 201A shown in
The waveforms at the output of the integrators is shown by curves B and D or B′ and D′ in
Alternatively, if the oscillator begins in a different state, the waveforms will be as shown by curves A′, to D′ in
Schmidt triggers 236 and 238 form the threshold circuits 202A and 202B shown in
The output of the threshold circuits 236 and 238 form inputs to an AND circuit 240. The output of AND circuit 240 will only be high if both of the threshold circuits have reached their threshold value. It should be noted that when the oscillator starts in one state, the output of threshold circuit 236 will be above the threshold value from the beginning and if the oscillator starts in the other state, the output of threshold circuit 238 will be above the threshold value. However, in either situation one of the threshold circuits will not reach the threshold until both of the integrators indicate that the pulses from the oscillator are of the appropriate duration. Thus, and circuit 240 will not produce an output until the pulses from the oscillator are of the proper duration.
Flip-flops 242 and 244 are D type flip flops that are triggered by the positive edge of a clock pulse. Note the clock input of flip flops 242 and 244 is labeled “CP”. Flip flops 242 and 243 form the gating circuit 203 shown in
The output of flip flop 244 forms one input of AND circuit 246. The second input of AND circuit 246 is the output of inverter 214. The output of AND circuit will begin at the leading edge of a pulse; as a result of the input from flip flop 244, there will only be an output when the input pulses are not runt pulses. That is, the clock out signal will be generated when both threshold circuits 236 and 238 have been satisfied and a clock pulse appears.
Oscillator 11, is a normal type of oscillator. A simple embodiment of such an oscillator is shown in
The above description illustrates how runt pulses are eliminated when the oscillator is turned on. The details of the circuitry that eliminates runt pulses when the oscillator is disabled, that is, the details of circuitry 204 shown in
The clock output signal from AND circuit 246 provides the clock input to the flip flops. The D input to flip flop 251 is the inverted enable signal 210 from inverter 220. The output of flip flop 251 provides the D input to flip flop 252. These flip flops are reset after the oscillator is turned off.
It is noted that the output of AND gate 246 provides the clock signal that is be used by circuitry 13 shown in
An alternative embodiment of the invention utilizes only one integrator and one threshold circuit. In this alternative embodiment, the bi-stable oscillator is forced to always begin operating in one particular state. That is, the bi-stable circuit is not completely symmetrical. The bi-stable circuit is biased to one particular state. Thus, one can insure that the pulse stream always begins with pulses such as those shown by waveform A in
While the specific embodiment shown herein relates to high frequency circuitry. Other embodiments of the inventions utilize the same circuitry in relatively low frequency applications. The elimination of runt pulses can be done in either high frequency or in low frequency applications.
While the invention has been shown and described with respect to various embodiments thereof, it will be understood by those skilled in the art that various changes and modifications can be make to the described embodiments, without departing from the spirit and scope of the invention. The scope of applicant's invention is limited only by the appended claims.
This application is a non-provisional application of provisional application Ser. No. 60/468,540 filed May 6, 2003. Priority of application 60/468,540 is hereby claimed.
Number | Name | Date | Kind |
---|---|---|---|
6028491 | Stanchak et al. | Feb 2000 | A |
6518809 | Kotra | Feb 2003 | B1 |
6545549 | Swoboda | Apr 2003 | B1 |
6759881 | Kizer et al. | Jul 2004 | B1 |
6771099 | Cavazos et al. | Aug 2004 | B1 |
6952123 | Kizer et al. | Oct 2005 | B1 |
Number | Date | Country | |
---|---|---|---|
60468540 | May 2003 | US |