Abstract:
A pair of CMOS inverters are cross coupled in a latching configuration. Both inverter supply terminals are coupled to complementary toggles that can render the inverters operative or inoperative. First, the inverters are rendered inoperative. An output switch is coupled between the output nodes so that the inverter&#39;s output nodes can be driven to the same potential, thus canceling any offset voltage. An input switch produces sampling over a time interval that extends beyond the output switch on period. After the sampling period, the toggles are operated to turn the inverters on and to produce a latch state determined by the potential change present in the sampling interval.

Description:
BACKGROUND OF THE INVENTION 
     The invention is related to complementary metal oxide semiconductor (CMOS) devices and has application to the inventions disclosed in U.S. Pat. No. 4,191,900 which issued Mar. 4, 1980, and U.S. Pat. No. 4,198,622 which issued Apr. 15, 1980, both of which are assigned to the Assignee of the present invention. These patents disclose plural input clocked comparators useful in Analog/Digital (A/D) converters. The invention has further application to memory device comparators or any system in which a sense amplifier can be used to detect a differential voltage of a single input over a predetermined time interval. 
     SUMMARY OF THE INVENTION 
     It is an object of the invention to provide a clocked sense amplifier having high speed. 
     It is a further object of the invention to provide a clocked sense amplifier having automatic offset cancellation. 
     It is a still further object of the invention to provide a clocked sense amplifier capable of rapidly responding to an input with any voltage between V CC  and ground, and assuming a state determined by input polarity during a predetermined time interval. 
     These and other objects are achieved in a circuit configured as follows. A pair of CMOS inverters are cross coupled in a latching configuration. The supply terminals of the inverters are coupled to polarity reversing toggles that are operated complementarily. In one state the toggles cause the inverters to operate normally as a latch. In the other state the inverters are disabled by using a supply polarity that turns the transistors off. A latch switch is coupled between the inverter output nodes. An input switch is coupled to one output node and a pair of output switches are coupled between the output nodes and the circuit output terminals. 
     First, the toggles are operated to disable the latch, the input and latch switches turned on, and the output switches turned off. Under this set of conditions both latch output nodes charge to the input voltage. Then the latch switch is turned off, thereby allowing one latch output to float at whatever potential it was at turnoff. At this point, the other latch output is allowed to assume whatever voltage is to be sensed during what is called the sense interval. Then the input switch is turned off, thereby allowing both nodes of the latch to float. Then the toggles are reversed so as to allow the latch to operate. It will very quickly regenerate to a state indicated by the potential difference in output nodes. Then the output switches are turned on so that the latch states are available at the output terminals. 
     If desired, the circuit can be operated from a clocked comparator amplifier, in which case, the output is indicated as a function of a pair of d-c voltages existing during the sense interval. Because the various circuit elements are operated in a sequence, switching transients do not affect the output. Since the latch nodes are substantially disconnected during the sense interval and subsequently operate the latch, the sense operation is very fast. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     FIG. 1 is a schematic diagram of the sense amplifier circuit. 
     FIG. 2 is a graph showing the operation of the various clock points in FIG. 1. 
     FIG. 3 is a schematic diagram of the sense amplifier in combination with a clocked comparator. 
     FIG. 4 is a graph showing the operation of the various clock points in FIG. 3. 
    
    
     DESCRIPTION OF THE INVENTION 
     In the following description, conventional CMOS circuits are employed. While N channel switching devices are shown for most of the swtiches, it is to be understood that CMOS transmission gates could be employed if desired. The various waveforms to be shown are merely to indicate timing. The amplitudes will be selected to provide the required switch actions. A positive voltage or high state will be assumed to turn the related N channel devices on and P channel devices off. A negative or low state will be assumed to turn N channel devices off and P channel devices on. 
     The various logic states to be shown can be derived from conventional logic circuitry, using the clock sources disclosed in U.S. Pat. Nos. 4,191,900 and 4,198,622. 
     The circuit of the invention is shown in FIG. 1. The circuit is operated from a power supply connected between V CC  terminal 8 and ground terminal 9. The transistors shown are cnventional CMOS devices with the N channel devices having grounded substrates. The P channel devices have their substrates connected to V CC . 
     Complementary transistors 10 and 11 form an inverter gate having an output node 17. Complementary transistors 12 and 13 also form an inverter gate that has output node 18. The inputs to the inverters are cross connected to create a latching configuration. 
     Switch 16, which is operated from a signal at control terminal 19, couples across nodes 17 and 18 so that when it is turned on, these nodes are forced to the same potential. 
     Toggles 14 and 15 are coupled to the two supply ends of the inverter gates, nodes 22 and 23, and are operated by complementary signals T L  and T L  which are applied to control terminals 21 and 20, respectively. When T L  is high, the N channel device of toggle 15 will be on and node 22 grounded. For this condition, T L  will be low and the P channel device of toggle 14 will be on, thus connecting node 23 to V CC . This will cause both inverter gates to function normally as a latch. However, if T L  at terminal 20 is low, the P channel device in toggle 15 will be on, thus connecting nodes 22 to V CC . At the same time the N channel device in toggle 14 will be on, thereby grounding node 23. For this condition devices 10 through 13 will all be turned off, thus allowing nodes 17 and 18 to float. It can be seen that the toggles 14 and 15 switch the circuit from a latch to an open circuit depending upon the state of T L . 
     Switch 16, when on as determined by T B  &#39; at terminal 19, can couple nodes 17 and 18 together so as to force them to the same potential. 
     Node 18 is coupled to input terminal 25 by N channel device 26, which is operated by T C  applied to terminal 27. Node 18 is also coupled to the Q output terminal 29 by N channel device 30, which is operated by T L  &#39; at terminal 31. 
     Node 17 is coupled to the Q output terminal 32 by N channel device 33, which is operated by T L  &#39; at terminal 34. 
     FIG. 2 is a graph showing the states of the various control signals as a function of time. At t 0 , T B  &#39; and T C  are high, while T L  and T L  &#39; are low. For this state, nodes 17 and 18 are floating by virtue of toggles 14 and 15. Device 16 couples nodes 17 and 18 together and device 26 couples them to input terminal 25. Both nodes 17 and 18 will charge to whatever potential is present at terminal 25. 
     Then at time t 2 , T B  &#39; goes low and device 16 opens. This allows node 17 to float, but its voltage will remain substantially where it was at time t 0  because there is very little current leakage associated with the node. 
     Then at time t 4 , T C  goes low and turns device 26 off. This now allows node 18 to float at whatever potential was present at t 4 . It is this time interval t 2  -t 4  in which the differential voltage is created and the sense operation occurs. 
     At time t 5 , T L  goes high and toggles 14 and 15 cause devices 10 through 13 to become active to create a latch. If node 18 moved slightly higher during the t 2  -t 4  interval, the latch will quickly drive node 18 to V CC . If node 18 moved slightly down during the t 2  -t 4  interval, at time t 5 , node 18 will quickly go low to ground. 
     This latching action will occur with only about a 0.05 volt shift in level during the t 2  -t 4  interval. Thus, the circuit is quite sensitive. Then the time t 6 , T L  &#39; goes high and, by way of devices 30 and 33, will couple nodes 17 and 18 to outputs Q and Q at terminals 32 and 29, respectively. 
     It can be seen that at t 2  both nodes 17 and 18 will have been charged to the input potential and the sensing operation occurred in the t 2  to t 4  interval. The difference of the charge injected into nodes 17 and 18 while switching in response to T B  &#39; to T C  will be concelled out by making devices 16 and 26 the same size. The actual sense operation is very fast because of the high gain in the latching circuit, and the fact that node 18 needs to move only 0.05 volt to cause latching. Because both nodes 17 and 18 were charged to the input level prior to t 2 , any input offset voltage is automatically canceled. 
     One useful application of the sense amplifier is in conjunction with a comparator of the type disclosed in U.S. Pat. No. 4,191,900. FIG. 3 is a schematic diagram of a dual input clocked comparator 40 driving the sense amplifier shown at 41. It is to be understood that sense amplifier 41 is the circuit of FIG. 1 and operates as heretofore described. FIG. 4 is a graph showing the waveforms used in the circuit of FIG. 3. 
     Sense amplifier 41 has its input node 25 coupled to inverting amplifier 45. Switch 46 periodically couples node 25 to node 49, thereby forcing amplifier 45 to its trip point. Dummy switch 48 is driven by a complementary switching signal so as to cancel switching transients at node 49. Capacitor 50 couples the input of amplifier 45 to node 51, which is alternately switched between inputs 56 and 57 by switches 52 and 53. This switching is operated by complementary switching signals T S  and T S  at terminals 54 and 55, respectively. 
     In the interval t 0  -t 1 , waveform T B  is high so that switch 46 is on. Amplifier 45 is at its trip point and capacitor 50 will charge to the difference in potential between nodes 25 and 51. 
     Then at t 1 , T B  goes low to turn switch 46 off. (At the same time dummy 47 will couple a transient canceling pulse to node 49.) The potential at node 25 will remain unchanged at the preset trip point. At t 3  the waveform T S  goes low, thereby coupling node 51 to input terminal 56. If terminal 56 is at the same potential as terminal 57, there will be no change in potential at node 25. However, if terminal 56 is more negative than terminal 57, node 25 will rise and if terminal 56 is more positive than terminal 57, node 25 will fall just after t 3 . 
     As pointed out above, sense amplifier 41 will be responsive in the interval t 2  -t 4  so that at t 3  it will respond to the difference in potential between terminals 56 and 57. If node 51 rises at t 3 , because terminal 56 is above terminal 57, node 18 will fall and then go to zero at t 5  while node 17 will go to V CC  at t 5 . Thus, input 56 is labeled (+) with respect to output terminal 32. Thus, the comparator will produce an output state that is related to the d-c input potentials at terminals 56 and 57. While the comparator is a-c coupled, the clocking signals of FIG. 4 make the circuit d-c responsive. Such a-c coupling permits the cascading of amplifier sections. If amplifier 45 has insufficient gain, one or more additional stages can be cascaded, each one with its own coupling capacitor, input-output switch and dummy input switch. This permits the attainment of almost any desired system sensitivity. As shown above, latch 41 will respond to a 0.05 volt difference. If amplifier 45 has a gain of 1000, the input sensitivity is 50 microvolts. A gain of 10,000 produces a 5 microvolt sensitivity. 
     One of the important advantages of the sense amplifier 41 of FIG. 3 is its ability to compensate bias level and offset errors. For example, at the end of the sense interval, at t 4  of FIG. 4, the output voltages are as follows: 
     
         V.sub.17 =V.sub.BIAS +[-G(±V.sub.OFFSET)] 
    
     where: 
     V 17  is the voltage of node 17 at t 4   
     V BIAS  is the operating point voltage of comparator 40 
     G is the gain of amplifier 45 
     V OFFSET  is the offset error voltage of node 25 which is due mainly to imperfect balance between devices 46 and 47. 
     
         V.sub.18 =V.sub.BIAS +[-G(V.sub.56 -V.sub.57 ±V.sub.OFFSET)] 
    
     where: 
     V 18  is the voltage at node 18 at t 4   
     V 56  -V 57  is the differential input voltage 
     The voltage difference seen by the sense amplifier is: 
     
         V.sub.17 -V.sub.18 =V.sub.BIAS +[-G(±V.sub.OFFSET ]-V.sub.BIAS -[-G(V.sub.56 -V.sub.57 ±V.sub.OFFSET ] 
    
     This reduces to: 
     
         V.sub.17 -V.sub.18 =G(V.sub.56 -V.sub.57) 
    
     Note that the terms V BIAS  and V OFFSET  drop out. 
     EXAMPLE 
     The circuit of FIG. 1 was constructed using conventional CMOS technology. The following chart indicates device sizes. The waveforms of FIG. 2 were applied as described above. 
     
         ______________________________________DEVICE          SIZE W/L Microns______________________________________10               9/511              20/512               9/513              20/5Toggle 14 P channel           20/5Toggle 14 N channel            5/5Toggle 15 P channel            5/5Toggle 15 N ohannel           20/516              14/526              14/530              14/533              14/5______________________________________ 
    
     The circuit required only 0.05 volt to trip. The sensing speed was improved by a factor of better than 10 relative to the conventional prior art circuits. 
     The invention has been disclosed and a working example described. An example of a useful application has further been detailed. When a person skilled in the art reads the foregoing, alternatives and equivalents, within the spirit and intent of heinvention, will occur to him. Accordingly, it is intended that the scope of theinvention be limitd only by the claims that follow.