CURRENT COMPARATOR ARRANGEMENT

Abstract: A current comparator arrangement has first and second inputs (100, 103) and an output (105) and comprises cross-coupled transistors (MP1, MP2). The arrangement also includes current stores (MP3, MP4) and is arranged so that the input currents to be compared are fed to the current stores during a first portion of a clock period during which the cross-coupled latch is reset. The input current connections are then reversed and the input currents are added to the stored currents for feeding to the latch. This cancels common mode and offset currents.

Description: DESCRIPTION CURRENT COMPARATOR ARRANGEMENT The invention relates to a current comparator arrangement. The invention has particular, but not exclusive, application in comparing currents produced by S2I current memory cells as disclosed by J B Hughes and K W Moulding in, inter alia," S2I, a switched current technique for high performance," published in Electronics Letters, Vol. 29, No. 16 pages 1400 - 1401, August 5th 1993. The S2I switched current technique performs current domain signal storage and integration functions with great accuracy. This is based on sampling the signal twice and storing it in coarse and fine memory cells. In the fine phase signals dependent charge injection from switches and other errors are made negligible. On the fine phase the output signal is defined specifically into the same DC voltage that is the settling value of the fine current store transistor. That is the gate voltage set for the bias current value since the fine store is only holding bias plus very small error values. Consequently any comparator which must work successfully with this style of circuit should refer the input signals with respect to a replica of that coarse bias storage voltage. It is an object of the invention to enable the provision of a comparator circuit which will work successfully with the S2I current memory cells. The invention provides a current comparator comprising first and second inputs for receiving first and second input currents, first and second current memory circuits for sensing the received input currents during a first phase of a clock period and reproducing said received currents during a second non-overlapping phase of said clock period, first and second cross coupled transistors, means for feeding the stored and received currents to the cross coupled transistors during said second phase, and means for feeding an output of the cross coupled transistors to a latch circuit during the first phase of a succeeding clock period. Embodiments of the invention will now be described, by way of example, with reference to the accompanying drawings, in which:- Figure 1 shows an S2I current memory cell as disclosed in the paper by Hughes and Moulding, Figure 2 shows clock waveforms used to operate the switches in the current memory cell of Figure 1. Figure 3 shows a comparator circuit according to the invention, and Figure 4 shows clock waveforms used to control the switches in the comparator circuit of Figure 3. As shown in Figure 1 the current memory cell comprises a first n channel MOS transistor T1 which has its drain electrode connected to its gate electrode via a switch S1. A second p-channel field effector transistor T2 has its drain electrode connected to its gate electrode via a switch S2. An input terminal 1 is connected via a switch S3 to the junction of the drain electrodes of transistors T1 and T2. A reference voltage is applied to a terminal 2 which is connected via a switch S4 to the gate electrode of transistor T2. The source electrodes of transistors T1 and T2 are connected to opposite supply rails 3 and 4, while an output Terminal 5 is connected via a switch S5 to the junction of the drain electrodes of transistors T1 and T2. In operation an input current is applied to terminal 1 and during the clock phase ø1 switch S3 is closed. A sub clock phase ø1a causes switches S1 and S4 to close for a first portion of the period ø1. Thus transistor T1 is connected as a diode and transistor T2 forms a current source, the current produced by transistor T2 being dependent on the value of the reference voltage applied to terminal 2. Transistor T1 at this stage is connected as a diode and hence will conduct the current applied to the input 1 plus the current produced by the current source T2. At the end of the sub clock phase ø1a switch S1 opens and the current through transistor T1 is maintained at a constant value as the current which originally passed through switch S1 charged the gate source capacitance of transistor T1 and when switch S1 opens the current through transistor T1 is maintained. On sub-phase ø1b the switch S2 closes while the switches S1 and S4 open. Transistor T2 is now connected as a diode and will conduct the current which comprises the input current minus the current stored by transistor T1. Hence the transistor T2 will conduct the error current between the input current applied to terminal 1 and that sensed by transistor T1 during the sub phase ø1A. On phase ø2 of the main clock switch S3 opens and switch S5 closes and the output 5 reproduces the input current i which was applied during phase ø1. A fuller explanation of the operation of and refinements possible to this current memory cell can be found in European Patent Application 0 608 936. Figure 3 shows an embodiment of a current comparator arrangement according to the invention. As shown in Figure 3 the comparator has a first input 100 which is fed via a switch S100 to a line 101 and via a switch S101 to a line 102. A second input 103 is fed via a switch S102 to the line 101 and via a switch 103 to the line 102. The line 101 is connected to the drain electrode of a transistor MP3 while a switch S104 is connected between the drain and gate electrodes of transistor MP3. The line 101 is further connected to the drain electrode of a transistor MP2 and to the drain electrode of a transistor MP1. The line 102 is connected to the drain electrode of a transistor MP4 and via a switch S105 to its gate electrode. The line 102 is further connected to the drain electrode of a transistor MN2 and to the drain electrode of a transistor MP1. The gate electrode of transistor MP2 is connected via a switch S106 to the drain electrode of transistor MP1, while the gate electrode of transistor MP1 is connected via a switch S107 to the drain electrode of transistor MP2. The source electrodes of transistors MP1 to MP4 are connected to a supply rail V dd while the source electrodes of transistors MN1 and MN2 are connected to a supply rail V, s . An input terminal 104 is connected to the gate electrode of a transistor MP5 and via a switch S108 to the gate electrode of transistor MP1 and a switch S109 to the gate electrode of the transistor MP2. The drain electrode of the transistor MP5 is connected to the drain and gate electrodes of a transistor MN3. The gate electrode of transistor MN3 is connected to the gate electrodes of transistors MN1 and MN2. The source electrode of transistor MN3 is connected to the supply rail V ss while the source electrode of transistor MP5 is connected to the supply rail V dd . The gate electrode of transistor MP1 is connected to the gate electrode of a transistor MP6 while the gate electrode of transistor MP2 is connected to the gate electrode of a transistor MP7. The drain electrode of transistor MP6, is connected to the drain and gate electrodes of a transistor MN4, while the drain electrode of the transistor MP7 is connected to the drain electrode of a transistor MN5. The gate electrodes of transistors MN4 and MN5 are connected together. The junction of the drain electrodes of transistors MP7 and MN5 are connected to an output terminal 105. The source electrodes of transistors MP6 and MP7 are connected to the supply rail V dd while the source electrodes of transistors MN4 and MN5 are connected to the supply rail V u . Figure 4 shows clock waveforms which are used to operate the switches in the comparator, the switches being closed when the clockwave form goes high. Waveform a operates switches S100, S103, S104 and S105, waveform b operates switches S101 and S102, waveform e operates switches S106 and S107 and waveform f operates switches S108 and S109. In Figure 4 waveforms a and b correspond to the waveforms øla and ø1b of Figure 2. Waveforms c and d are correspondingly a waveform ø2a and ø2b while waveform e is ø1b and ø2a and waveform f is ø2b and øla. The arrangement shown in Figure 3 comprises a cross coupled transistor pair MP1 and MP2 which form a latch biased by means of two current sources MN1 and MN2. The current sources produce a current of value 2J each, where J has the same value as the bias currents in the memory cells shown in Figure 1. Resetting the latch could be achieved by means of a switch shorting the cross coupled transistor pair MP1 and MP2 during the first part of ø1 denoted øla. However in this embodiment we use a bias reference transistor MP5 to set the current in transistors MP1 and MP2 to be equal to J which is the equivalent of the current density in the associated S2I memory cells. Hence the input voltage defined by the comparator while it is sampling the outputs from S2I memory cells during phase øla and ø1b is identical to the nominal settling voltage of the fine current store itself, thereby minimising errors in current transfer. The difference current between that in MN1/MN2 and MP1/MP2, including any offset from the ideal 2:1 ratio, is carried by two sample current store transistors MP3 and MP4. This value together with the input signal is sensed during the period øla. During the second part of ø1 denoted ø1b the input current store switches are opened, that is switches S104 and S105. Consequently it stores the differential input signal in one sense Idm, its common mode component lcm, and any offset currents. During ø1b the latch transistors MP1 and MP2 are cross coupled by switches S106 and S107. The input signal switches S102 and S103 are closed so that the input currents are applied in the opposite sense, that is applying a differential input current with a reversed sign - Idm together with the common mode current lcm. The current stores MP3 and MP4 are now acting as current sources and a difference current of plus 21dm is applied to the latch. The common mode and offset are thus absorbed in the current sources MP3 and MP4. The latch now moves to its decision at a rate governed by the C/g m time constants. An output may be taken at the end of phase ølb. A longer latching period ø1 b and ø2a may be used. This later phasing is required for very high speed operation or for compatibility with S2I current stores. For correct operation of the comparator the output level translator comprising transistors MN4 and MN5 to-gether with transistors MP6 and MP7 needs to be constructed so that during the reset period both transistors MP6 and MP7 are in the same state until the latch is substantially set, i.e. capacitances are balanced throughout the switching regime. This can be achieved by making the channel width to length ratio of transistor MN5 greater than that of transistor MN4. Consequently during reset the output 105 is always low. From reading the present disclosure, other modifications will be apparent to persons skilled in the art. Such modifications may involve other features which are already known in the design, manufacture and use of current comparator arrangements and which may be used instead of or in addition to features already described herein. Although claims have been formulated in this application to particular combinations of 108 PCMB95/01053 features, it should be understood that the scope of the disclosure of the present application also includes any novel feature or any novel combination of features disclosed herein either explicitly or implicitly, whether or not it relates to the same invention as presently claimed in any claim and whether or not it mitigates any or all of the same technical problems as does the present invention. The applicants hereby give notice that new claims may be formulated to such features and/or combinations of such features during the prosecution of the present application or of any further application derived therefrom.

Claims: CLAIMS 1. A current comparator comprising first and second inputs for receiving first and second input currents, first and second current memory circuits for sensing the received currents during a first phase of a clock period and reproducing said received currents during a second non overlapping phase of said clock period, first and second cross coupled transistors forming a latching circuit, means for feeding the stored and an inverted version of the received currents to the latching circuit during said second phase and means for feeding an output of the cross coupled transistors to a latch circuit during the first phase of a succeeding clock period. 2. A current comparator as claimed in claim 1 , wherein during a first phase the input currents to be compared are connected to the comparator input and sensed by the current memory cells, during a second phase the input currents to be compared are inverted and fed together with the outputs from the memory transistors to the latch transistors, during a third phase the comparison result is available, and on a fourth phase the comparator is reset to its initial state. 3. A current comparator substantially as described herein with reference to the accompanying drawings. 4. Any novel feature or novel combination of features disclosed herein whether or not it relates to the same invention as that claimed in any preceding claim.

Inventors: BRACEY MARK, REDMAN-WHITE WILLIAM, BRACEY, MARK, REDMAN-WHITE, WILLIAM
Applicants: PHILIPS ELECTRONICS NV, PHILIPS NORDEN AB, PHILIPS ELECTRONICS N.V.
Application year: 1995
Main classification: G01R19
IPC codes: G01R19, G11C27, H03K5