Circuit and method for detecting and selecting clock sources

Miscellaneous active electrical nonlinear devices – circuits – and – Signal converting – shaping – or generating – Clock or pulse waveform generating

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C327S004000

Reexamination Certificate

active

06292045

ABSTRACT:

FIELD OF THE INVENTION
The present invention relates electrical circuits. More specifically, the present invention relates to a circuit that detects and selects clock sources.
BACKGROUND OF THE INVENTION
Today computers, microwaves, televisions, cellular phones, automobiles and other appliances and machines usually contain at least one microprocessor or microprocessor-based chip that essentially acts as their “brain” to perform arithmetic and logic and to control operations. The operation of the microprocessor is synchronized by internal or external clocking, or both, from pulses generated by various types of clock sources such as a crystal oscillator, a crystal resonator, a complementary metal-oxide semiconductor (CMOS) clock, a resistor-capacitor (RC) oscillator and an inductor-capacitor (LC) oscillator. Typically, either the crystal oscillator or crystal resonator is chosen to provide clock pulses because they are capable of generating very accurate and stable electric signal frequencies.
To guard against a control failure or a system lockup that may be invoked by electrical noise, electrostatic discharge, power glitches, software hang up or clock failure, the microprocessor-based chip contains a watchdog timer that prevents equipment faults or a computer program from looping endlessly or becoming idle because of program errors. In operation, the watchdog timer would generate and send out a signal to reset the microprocessor and to disable the microprocessor-based chip after a pre-set time-out period has elapsed during which the microprocessor-based chip has experienced such control failure or system lockup. This time-out period may range from nanoseconds, microseconds, milliseconds, seconds, minutes, hours or days, depending on a particular application.
Similar to the microprocessor of the microprocessor-based chip, the watchdog timer within such chip also requires a clock signal having clock pulses in order to function. Both the microprocessor and the watchdog timer may receive clock pulses from the same clock source or separate clock sources, depending on a particular microprocessor-based system. In a microprocessor-based system where both the microprocessor and watchdog timer share the same clock source such as a crystal controlled oscillator, if the crystal is dislodged while such system is operating within a harsh environment, the watchdog timer would not be able to reset the microprocessor and to disable the microprocessor-based chip. As a result, accidents may occur.
For example, a microprocessor-based chip having a watchdog timer may be installed within a garage door opening and closing system in order to control motor operations of such system to open and close the garage door. In this garage door opening and closing system, both the microprocessor and the watchdog timer are clocked by the same clock source. While the garage door is closing, the clock source may malfunction and thus would fail to provide any clock pulses. If so, the garage door would continue to move downward and towards the ground because the watchdog timer has become inoperative and thus could not send out a reset signal to effectively stop the downward movement of the garage door. If there is an object such as a car locating between the bottom horizontal edge of the garage door and the ground, such horizontal bottom edge would damage the car due to the weight and downward movement of the garage door. This is obviously undesirable.
Other conventional microprocessor-based systems may have more than one clock source. In these systems, both the microprocessor and the watchdog timer may be clocked separately by different clock sources. If two available clock sources are selected to separately clock the microprocessor and the watchdog timer, such selections are fixed. Thus, when the clock source providing clock pulses to the microprocessor is broken and the clock source providing clock pulses to the watchdog timer is not broken, the watchdog timer is able to generate and send out a reset signal but the microprocessor is unable to operate. In addition, when the clock source providing clock pulses to the watchdog timer is broken and the clock source providing clock pulses to the microprocessor is not broken, the microprocessor-based system has no protection against a system malfunction that would have been detected by a functioning watchdog timer. As a result, accidents or other undesirable effects may follow.
SUMMARY OF THE INVENTION
Based on the above discussion, it is therefore a general object of the present invention to provide a circuit for coupling between at least two clock sources and any device that requires clock pulses in order to operate. This circuit ensures that clock pulses from one of the clock sources are provided to such device as long as one of the clock sources is operating.
It is another object of the present invention to provide a circuit for coupling between at least two clock sources and [1] a timer of a microprocessor-based system or [2] a microprocessor of such microprocessor-based system. This circuit effectively protects the microprocessor-based system from a control failure, a system lockup, equipment faults and other malfunctions by ensuring that clock pulses are provided to the timer or the microprocessor as long as one of the clock sources is operating.
The circuit is programmable to choose one of the clock signals designated by a programmed code. Then, the circuit [1] selects the designated clock signal when it has been received and [2] automatically selects the undesignated clock signal when the designated clock signal has not been received and when the undesignated clock signal has been received. Thereafter, the circuit provides the selected clock signal to any device that requires a clock signal in order to operate.
According to one aspect of the present invention, a circuit for detecting and selecting one of clock signals of at least two clock sources is provided. The circuit is coupled to the at least two clock sources so as to receive their clock signals. The circuit is programmable to choose one of the clock signals designated by a programmed code. Then, the circuit [1] selects the designated clock signal when it has been received and [2] automatically selects the undesignated clock signal when the designated clock signal has not been received and when the undesignated clock signal has been received. Thereafter, the circuit provides the selected clock signal to any device that requires a clock signal in order to operate.
According to another aspect of the present invention, a method for detecting and selecting one of clock signals of at least two clock sources and providing the selected clock signal to a device of an integrated circuit that requires a clock source in order to operate. First, at least two clock sources that output clock signals are provided. Second, the integrated circuit is programmed to choose one of the clock signals designated by a programmed code. Third, the clock signals are detected to determine their availability. Fourth, the designated clock signal is selected when it is available. Otherwise, the undesignated clock signal is selected when it is available and when the designated clock signal is not available. And fifth, the selected clock signal is provided to the device.
These and other features and advantages of the present invention will be apparent from the figures as fully explained in the Detailed Description of the Preferred Embodiments.


REFERENCES:
patent: 4229699 (1980-10-01), Frissell
patent: 5483185 (1996-01-01), Scriber et al.
patent: 5608425 (1997-03-01), Movshovich
patent: 5623223 (1997-04-01), Pasqualini
patent: 5805909 (1998-09-01), Diewald et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Circuit and method for detecting and selecting clock sources does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Circuit and method for detecting and selecting clock sources, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Circuit and method for detecting and selecting clock sources will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2493437

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.