Abstract:
Comparator means comprising a pair of comparators connected to a logic gate and bistable circuit, said comparators are connected in anti-phase with a common input and separate outputs the separate outputs are combined by the logic gate to produce a single switching signal which is used to trigger the bistable to produce an output signal.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     This invention relates to the minimizing of timing errors in electronic circuits and particularly to improving the performance of comparator circuits used when converting an arbitrary wave shape to a binary waveform. 
     2. Description of the Prior Art 
     Comparator circuits normally exhibit significant differences in time delay when switching, dependent on whether the output is transversing high to low or low to high, associated with the turn on and turn off delays of the output device. These delays are determined by different electrical mechanisms and hence also vary differently with temperature. 
     FIG. 4 shows a conventional comparator, identifying the input signals V 1  and V 2  and the output signal V 3 , and FIG. 5 shows the signals associated with the comparator in FIG. 4. 
     A conventional comparator circuit will exhibit a time delay between when V 1  exceeds V 2  and the output voltage V 3  starting to change (rise), say t 1 , further there will be a finite time between the output voltage starting to change and when it has finished changing, say t 2 . 
     There will be another time delay between V 1  falling below V 2  &amp; V 3  starting to fall, say t 3  and a further finite time between when V 3  starts to fall and has finished changing, say t 4 . Normally t 1  does not equal t 3 , neither does t 2  equal t 4  nor does (t 1  +t 2 )-(t 3  +t 4 ); further t 1 ,t 2 ,t 3  and t 4  will all change as the temperature varies and by differing amounts as they are determined by different mechanisms. 
     One effect of these differing time delays is to make it appear that the comparator has different reference voltages for positive going inputs and negative going inputs (akin to hysteresis and further that these references vary with temperature. Using high speed devices can reduce the effect at the expense of large increases in power. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide a comparator circuit in which such differential time delay variations are minimized. 
     According to one aspect of this invention there is provided comparator means comprising at least two comparators having a common input and separate outputs and which are arranged so that an input signal causes an output signal from each output, said output signals being of the opposite sense. 
     Thus the effective propagation delay (i.e. the time taken from arrival of the input signal to departure of the output signal) is the shortest of the two possible delay mechanisms so that any thermal variation is likely to be smaller and the differential delay is effectively nulled and differential thermal variations rendered negligible. 
     The invention allows use of lower power devices, minimizing the delays and virtually eliminates the time differences. The residual temperature dependencies are closely matched. 
     In an embodiment to be described the comparator means comprises a pair of comparators connected via a logic gate to a bistable circuit, said comparators being connected in anti-phase, wherein the separate comparator outputs are combined by the logic gate to produce a single switching signal for triggering the bistable circuit. Thus, this embodiment involves the use of two nominally identical comparator circuits with the inputs of one reversed. The separate outputs are combined by a logic gate to produce pulses at twice the requested output frequency which may be used to toggle a logic flip-flop circuit to give the requested output waveform with identical delays for both high to low and low to high transitions. Since the delay mechanisms involved are identical in nature the actual delays will track or follow each other with variations in temperature. 
     The technique actually utilizes the differing switching delays of the basic comparators to generate pulses suitable for triggering the bistable. As such, comparators with larger timing differences are better suited to the technique since the pulse length must be adequate to propagate through the logic circuits. The matching inherent in integrated circuits, particularly when utilizing two comparators in a common package, gives excellent behaviour over a wide temperature range in excess of that achievable by a high speed comparator with lower absolute timing errors consuming considerably more power. 
    
    
     Brief Description of the Drawings 
     Specific embodiments of the invention will now be described with reference to the following drawings of which: 
     FIG. 1 is a schematic diagram of a first embodiment of the invention; 
     FIG. 2 is a NOR gate TRUTH TABLE; 
     FIG. 3 shows schematically a second embodiment of the invention; and 
     FIGS. 4 and 5 show a conventional comparator and associated signals. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     As shown in FIG. 1 the invention comprises a pair of comparators 1 and 2 which are arranged in anti-phase with respect to each other and connected to a NOR gate 3 and a bistable circuit 4. An input signal A is fed into the non-inverting input of one of the comparators 1 and the same signal is simultaneously fed into the inverting input of the other comparator 2. The two comparators 1 and 2 produce output signals B and C respectively. The two signals B and C are combined by NOR gate 3 to produce output signal D which is used to trigger the bistable 4 via its trigger input T. An advantage of this arrangement is that, because the two signals B and C are produced in anti-phase one of the two signals will always be a fast changing high to low level signal which can be used to achieve fast switching of the bistable 4. Signal D is generated at twice the frequency of the input signal A but in the course of triggering bistable 4 it produces a resultant signal E of the required frequency, i.e. the same frequency as signal A. To ensure that the output signal E is in phase with the original input signal A the two comparator signals B and C are connected to the set and reset inputs, S and R, respectively of the bistable 4. When the arrangement is first switched on the bistable will latch so that the voltage of the output Q will correspond to the voltage of the input signal A, thereafter switching of the bistable 4 is controlled entirely by the voltages present at the trigger input T of the bistable 4. 
     As shown in FIG. 3, a pair of comparators 5 and 6 arranged in anti-phase are connected to a bistable circuit in the form of a Set-Reset flip-flop 7 via capacitors C 1  and C 2  respectively. Bias and signal limiting components indicated at 8 and 9 and including resistors R 1  and R 2  are provided to protect the signal components. 
     When an input signal A is fed to the non-inverting input of comparator 5 and to the inverting input of comparator 6, the two comparators produce output signals B and C respectively which are supplied via capacitors C 1  and C 2  to the set and reset inputs of the flip-flop 7 which produces an output D. The flip-flop 7 sets Q to high by virtue of a (momentary) high on 5 and resets Q to low by virtue of a (momentary) high on R. In this case, each of the inputs to the flip-flop 7 toggles the bistable in one direction only by means of a transition but does not affect the output state by virtue of its level. 
     The polarity correction that may be required at switch on is implemented automatically by the first change of state of comparators 5 and 6 as only one of the coupled edges will toggle the flop-flop 7 and it must be in the required sense. 
     It will be understood that other arrangements in which the comparators are connected to a bistable circuit solely by ac coupling are also possible, e.g. a transformer may be used or a resistive coupling. 
     The invention is concerned with the circumventing errors introduced in converting an analogue signal to a two state (binary) sugnal and is not converned with the nature (amplitude or signal to noise ratio) of the incoming analogue signal or the reference voltage. It exploits an inherent shortcoming of a conventional comparator system in a configuration that exhibits a minimal such error overall.