Background and Summary of the Invention
This invention relates to circuits used to monitor the electrical signals produced by electrical power circuits and equipment, and more particularly to a novel approach to monitoring ac frequency signals over a wide frequency range.
There are presently a number of circuits used to monitor the frequency of a variable output wave and to detect frequency error. However, most of these circuits produce a signal for a frequency meter and occasionally, an error signal. None of the presently known methods produce frequency "go/no-go" signals which can be used to indicate whether the monitored frequency is within a specified band or out of the band. A "go/no-go" output signal would be highly valued by industry which can use it in many ways including the correction of the monitored frequency.
All the currently available methods have several drawbacks, including inability to respond to transient frequency changes, a relatively high component count producing low reliability, and a large board area resulting in high cost. In addition, these methods often have lapses in accuracy when monitoring high frequency waves, particularly when harmonics are present.
Thus there exists a need for a frequency monitor circuit that will produce a "go/no-go" signal output; that will be able to respond to transient frequencies while at the same being highly reliable and low in cost.
The present invention frequency monitor and error detector circuit includes a highly accurate crystal oscillator to generate a reference frequency, a binary counter, and an exclusive OR gate to determine the amount the input monitored frequency varies from the reference. An adjustable delay circuit is provided to check whether the input frequency is within a selected tolerance band. One-shots, a flip-flop and three AND gates are arranged to provide the logic means for output signals indicating whether the monitored frequency is within the tolerance band or out of the band. The circuit thus applies a continuous, simple "go/no-go" test to the monitored frequency while also being capable of responding to transient frequency change. The circuit components are small in size and few in number, making for low cost and high reliability.
Accordingly, it is a principal object of this invention to provide a frequency monitor and error detector circuit that produces a "go/no-go" frequency signal and is accurate at from low to high frequencies over a wide range.
Another object is to provide a frequency monitor and error detector circuit that is able to respond to transient frequencies.
A further object is to provide a frequency monitor circuit that is high in reliability, low in cost and small in size.
Further objects and advantages of the invention will be apparent from studying the following portion of the specification, the claims and the attached drawings.
Brief Description of the Drawings
FIG. 1 is a simplified block diagram and schematic of a frequency monitor and error detector in accordance with the present invention.
Description of the Preferred Embodiment
Referring particularly to the drawings, there is shown in FIG. 1 a block diagram and simplified schematic circuit of the frequency monitor and error detector according to the present invention.
The circuit function is to compare an input wave frequency with a selected reference and to output signals indicating whether the input wave frequency is within a tolerance band of the reference or is out of the frequency tolerance band.
The reference frequency is generated by a pre-selected, highly accurate crystal oscillator having an output, usually expressed as a multiple of the desired center frequency. This center frequency may be pre-selected to be any frequency in the range of 50 hertz (Hz) to 20 megahertz (MHz), while the tolerance band may be manually adjusted to be from +/-0.05% to +/-0.1%. Thus, for example, the reference frequency may be selected as 400 Hz. and the tolerance band may adjusted to be +/-0.1% of the reference, or +/-0.4 Hz. The input wave frequency would then be monitored for being within (or outside) the limits of 399.6 Hz to 400.4 Hz.
Operation of the frequency monitor and error detector is as follows: A crystal oscillator 8 is selected for the desired reference frequency and its output is connected to the input of a binary counter means 10 which produces an output signal at its Q terminal. The wave frequency signal to be monitored is entered at an input terminal 1 and is connected 2 to a differentiating circuit consisting of a first capacitor 4 and a resistor 6. The differentiated output signal marks the positive going, leading edge voltage signal of the input wave and is connected to the reset terminal of the binary counter 10, which then is initially reset.
The binary counter means 10 output signal is connected to an input terminal of an exclusive OR gate 12 and also to the "D" terminal input of a D flip/flop 26. The input frequency signal 1 to be monitored is also connected 3 to an input terminal of the exclusive OR gate 12, so that the gate 12 compares the output signal of the binary counter 10 with respect to the frequency being monitored. Since the binary counter 10 output signal will be synchronized with the input frequency to be monitored, the exclusive OR gate 12 output signal will be held steady.
The exclusive OR gate 12 output signal will be a positive pulse whose width is proportional to the frequency error of monitored input frequency. This positive pulse is connected to a frequency band delay, to an input of a first AND gate 14 and to the SET terminal of a first One-Shot 24. The frequency band delay consists of an adjustable resistor (potentiometer) 16 in parallel with a diode 18 and a capacitor 20 which is connected to logic ground. The adjustable resistor 16 may be set to produce a time delay which is equivalent to +/-0.05% to 0.1% of the center frequency. This defines the frequency tolerance band.
If the exclusive OR gate 12 error signal is found to be out of the tolerance band, then the capacitor 20 will charge up to the SET threshold of a second One-Shot 22 to which the capacitor is connected, causing the second One-Shot "Q" output to go high. This high "Q" output is connected 25 to the RESET of the first One-Shot 24 and will reset it, disabling a "Frequency Within Band" signal at its "Q" output.
On the other hand, if the exclusive OR gate 12 error signal is found by the frequency band delay to be within the tolerance band, then the second One-Shot 22 "Q" output will be low and the exclusive OR .gate 12 output signal will set the first One-Shot 24, producing a high "Frequency Within Band" signal at its "Q" output for indication.
The "Q" output signal of the second One-Shot 22 is connected 23 to the input of a first AND gate 14 and to the inputs of two steering 28 AND gates. When the second One-Shot 22 "Q" output signal is low, the AND gates are disabled.
If the second One-Shot 22 output signal goes high, which is the case when the monitored frequency is out of tolerance, the AND gates will be enabled and the exclusive OR gate 12 output will now propagate through the first AND gate 14 and into the CLK of a D Flip/Flop 26. The binary counter 10 output signal which is connected to the "D" terminal input of the D Flip/Flop 26, will now be compared with the positive going edge of the CLK and a high signal will be switched by the flip/flop 26 to either its Q or Q-bar output. This corresponds to a high Q output for a monitored frequency below the lower band limit, or a high Q-bar output for a frequency found to be above the upper band limit.
The Q and Q-bar terminal outputs of the flip/flop 26 are connected to the steering AND gates 28, with Q being connected to the second AND gate 28A and Q-bar being connected to the third AND gate 28B. Thus when the flip/flop 26Q goes high, the second AND gate 28A will be activated and will output a signal 30 which will be used to indicate a frequency out of (tolerance) band, low side.
Similarly, if the flip/flop 26 Q-bar goes high instead, the third AND gate 28B will be activated and will output a signal 32 used to indicate a frequency out of (tolerance) band, high side. These gate output signals together with the first One-Shot 24 "Frequency Within Band" signal constitute precise "Go/No-Go" signals for use in monitoring the frequency of any ac circuit or generator and indicating any frequency out of band error. The output signals may be used to light indicators or as inputs to circuit means for correcting the monitored frequency.
All the solid state components used are fast switching, small in size and consume little power. Similarly, all resistors and capacitors used are small in size and consume little power. As a result, the board on which the circuit is mounted requires minimal cooling. In addition, the circuit reliability is high due to the use of few components and their low operating stress in accordance with recommended high reliability practice.
From the above description, it is clear that the preferred embodiment circuit achieves the objects of the present invention. Alternative embodiments and various modifications may be apparent to those skilled in the art. These alternatives and modifications are considered to be within the spirit and scope of the present invention.