comparator
The efficacy of the comparator design effectively suppresses noise.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2026-03-04
AI Technical Summary
Comparators in semiconductor integrated circuits face increased likelihood of malfunctions due to noise when current consumption is reduced, which is a challenge in reducing power consumption and contributing to global warming.
A comparator design with a differential input section, output sections, and a latch circuit with switch elements that control current switching, and switch elements to manage impedance, and a malfunction prevention circuit to manage impedance, and a malfunction prevention circuit to manage impedance, and a malfunction prevention circuit to manage impedance, and a malfunction prevention circuit to manage impedance, and a circuit with switch elements to suppress noise.
The comparator design effectively suppresses noise.
Smart Images

Figure 2026034998000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to a comparator. [Background technology]
[0002] Global warming is believed to be caused by an intensification of the greenhouse effect in the atmosphere due to rising concentrations of greenhouse gases such as CO2. With the rapid development of a communications and information society, reducing the power consumption of electronic devices that use many semiconductor integrated circuits has become a major challenge. Comparators, which are widely used in semiconductor integrated circuits, tend to have higher impedance at each junction node when their current consumption is reduced, reducing their resistance to malfunctions due to noise. This invention aims to prevent malfunctions due to noise without increasing current consumption, thereby contributing to the mitigation of global warming.
[0003] Conventionally, a circuit as shown in Fig. 9 has been known as a comparator used in a semiconductor integrated circuit (see, for example, Patent Document 1). The comparator 100 shown in Fig. 9 is configured with a differential amplifier circuit 120, transistors M91 and M92, a latch circuit 3, and an output buffer circuit 104 as its main components, and compares an inverting input potential INM input to the inverting input terminal with a non-inverting input potential INP input to the non-inverting input terminal, and outputs the comparison result from the output terminal.
[0004] The differential amplifier circuit 120 is composed of a differential input section 121 and output sections 122 and 123. The output sections 122 and 123 output a low potential or a high potential according to the result of comparison between the inverting input potential INM and the non-inverting input potential INP.
[0005] The differential input section 121 is composed of differential transistors M1 and M2 whose sources are connected in common, load transistors M3 and M4, and a constant current source 90 connected between the common source of the differential transistors M1 and M2 and a positive power supply terminal, to which a positive power supply voltage VDD is supplied.
[0006] The gate of the differential transistor M1 is connected to the inverting input terminal, and the gate of the differential transistor M2 is connected to the non-inverting input terminal, and a constant current supplied by a constant current source 90 is shunted to the differential transistors M1 and M2. The current ratio (shunt ratio) of the currents flowing through the differential transistors M1 and M2 is a value that depends on the inverting input potential INM and the non-inverting input potential INP.
[0007] The load transistor M3 is connected in series with the differential transistor M1, and the load transistor M4 is connected in series with the differential transistor M2.
[0008] The output voltage of the output unit 122 decreases (outputs a low potential) when the current flowing through the differential transistor M2 is greater than the current flowing through the differential transistor M1. The output voltage of the output unit 122 increases (outputs a high potential) when the current flowing through the differential transistor M1 is greater than the current flowing through the differential transistor M2. The output unit 122 has transistors M5, M6, M9, and M10.
[0009] Contrary to the output unit 122, the output voltage of the output unit 123 decreases (outputs a low potential) when the current flowing through the differential transistor M1 is greater than the current flowing through the differential transistor M2. The output voltage of the output unit 123 increases (outputs a high potential) when the current flowing through the differential transistor M2 is greater than the current flowing through the differential transistor M1. The output unit 123 has transistors M7, M8, M11, and M12.
[0010] The drain of the transistor M91 is connected to the drain and gate of the transistor M10, and the source is connected to the drain of the transistor M9. The drain of the transistor M92 is connected to the drain and gate of the transistor M12, and the source is connected to the drain of the transistor M11.
[0011] In the latch circuit 3, the set input S is connected to the output of the output section 122, the reset input R is connected to the output of the output section 123, the output Q is connected to the gate of the transistor M92, and the inverted output QB is connected to the gate of the transistor M91. The output buffer circuit 104 is composed of two inverters 41 and 42.
[0012] Next, the operation of the comparator 100 having the above-described configuration will be described below with reference to the time chart shown in Fig. 10. First, the operation will be described when the inverting input potential INM is higher than the non-inverting input potential INP and the output signal VOUT is at a low potential, i.e., the output voltage is approximately equal to the negative power supply voltage VSS.
[0013] When the inverting input potential INM is higher than the non-inverting input potential INP, more current from the constant current source 90 flows to the differential transistor M2 than to the differential transistor M1, and more current flows to the load transistor M4 than to the load transistor M3. As a result, more current flows to the transistors M6 and M11, which are current mirror-connected to the load transistor M4, than to the transistors M9 and M8, which are current mirror-connected to the load transistor M3.
[0014] When transistor M91 is on, the small current flowing through transistor M9 flows to transistor M10 and is copied to the drain current of transistor M5. Because transistor M5 operates to allow a small current to flow and transistor M6 operates to allow a large current to flow, the output voltage (potential of junction node A) of output section 122, which is the connection point of transistors M5 and M6, drops.
[0015] On the other hand, when transistor M92 is on, the large current flowing through transistor M11 flows to transistor M12 and is copied to the drain current of transistor M7. Because transistor M7 operates to allow a large current to flow and transistor M8 operates to allow a small current to flow, the output voltage (potential of junction node B) of output section 123, which is the connection point of transistors M7 and M8, rises.
[0016] When the potential of the junction node B rises and exceeds the threshold voltage of the reset input R of the latch circuit 3, the output Q of the latch circuit 3 goes low and the inverted output QB goes high. Since the output Q goes low, the output signal VOUT goes low.
[0017] Since the output Q of the latch circuit 3 is in a low state, the transistor M92 is turned off, and the large current flowing through the transistors M11 and M12 is cut off. Also, since the inverting output QB is in a high state, the transistor M91 is turned on, but the transistors M9, M10, and M5 operate so that a small current flows, and the transistor M6 operates so that a large current flows, and the set input S is maintained in a low state. Therefore, even if the current flowing through the transistors M11, M12, and M7 is cut off and the reset input R cannot maintain a high state, the output Q and the inverting output QB are maintained due to the operation of the latch circuit 3, and the output signal VOUT is maintained at a low potential.
[0018] Next, the operation will be described when the inverting input potential INM is lower than the non-inverting input potential INP and the output signal VOUT is at a high potential, that is, the output voltage is approximately the positive power supply voltage VDD.
[0019] When the inverting input potential INM is lower than the non-inverting input potential INP, more current from the constant current source 90 flows to the differential transistor M1 than to the differential transistor M2, and more current flows to the load transistor M3 than to the load transistor M4. As a result, more current flows to the transistors M9 and M8, which are current mirror-connected to the load transistor M3, than to the transistors M6 and M11, which are current mirror-connected to the load transistor M4.
[0020] When transistor M92 is on, the small current flowing through transistor M11 flows through transistor M12 and is copied to the drain current of transistor M7. Because transistor M7 operates to allow a small current to flow and transistor M8 operates to allow a large current to flow, the output voltage (potential of junction node B) of output section 123, which is the connection point of transistors M7 and M8, drops.
[0021] On the other hand, when transistor M91 is on, the large current flowing through transistor M9 flows to transistor M10 and is copied to the drain current of transistor M5. Because transistor M5 operates to allow a large current to flow and transistor M6 operates to allow a small current to flow, the output voltage (potential of junction node A) of output section 122, which is the connection point of transistors M5 and M6, rises.
[0022] When the potential of the junction node A rises and exceeds the threshold voltage of the set input S of the latch circuit 3, the output Q of the latch circuit 3 goes high and the inverted output QB goes low. Because the output Q goes high, the output signal VOUT goes high.
[0023] Since the inverted output QB of the latch circuit 3 is in a low state, the transistor M91 is turned off, and the large current flowing through the transistors M9 and M10 is cut off. Also, since the output Q is in a high state, the transistor M92 is turned on, but a small current flows through the transistors M11, M12, and M7. The transistor M8 operates to allow a large current to flow, and the reset input R is maintained in a low state. Therefore, even if the current flowing through the transistors M9, M10, and M5 is cut off and the set input S cannot maintain a high state, the latch circuit 3 maintains the output of the output Q and the inverted output QB, and the output signal VOUT is maintained at a high potential.
[0024] That is, when the output signal VOUT is at a low potential, more current flows through the transistors M11 and M12 of the output unit 123 than through the transistors M9 and M10 of the output unit 122. By turning off the transistor M92, the large current flowing through the transistors M11 and M12 is cut off. Even if the latch circuit 3 cuts off the current flowing through the transistors M11 and M12, the output signal VOUT is maintained at a low potential. On the other hand, when the output signal VOUT is at a high potential, more current flows through the transistors M9 and M10 of the output unit 122 than through the transistors M11 and M12 of the output unit 123. By turning off the transistor M91, the large current flowing through the transistors M9 and M10 is cut off. Even if the latch circuit 3 cuts off the current flowing through the transistors M9 and M10, the output signal VOUT is maintained at a high potential. Therefore, current consumption can be reduced without reducing the response speed.
[0025] The conventional comparator 100 described above reduces the current consumption of the differential amplifier circuit 120, which is composed of the differential input section 121 and the output sections 122 and 123, thereby increasing the impedance of each junction node of the differential amplifier circuit 120. During a transition period in which the logic of the output signal of the differential amplifier circuit 120 is inverted, noise generated when the logic of the output buffer circuit 104 and each logic gate connected to the subsequent stage is inverted propagates to each junction node of the differential input section 121 and the output sections 122 and 123, which causes a problem of increased likelihood of malfunction.
[0026] In particular, when the latch circuit 3 is in the set state, no malfunction occurs even if noise propagates to the junction node A, but malfunction is likely to occur if noise propagates to the junction node B. When the latch circuit 3 is in the reset state, no malfunction occurs even if noise propagates to the junction node B, but malfunction is likely to occur if noise propagates to the junction node A, which has been a problem. [Prior art documents] [Patent documents]
[0027] [Patent Document 1] Japanese Patent Publication No. 2023-80747 Summary of the Invention [Problem to be solved by the invention]
[0028] The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a comparator that prevents malfunction due to noise without increasing current consumption. [Means for solving the problem]
[0029] In order to achieve the above-mentioned object, the comparator according to the present invention is characterized by the following [1] to [7]. [1] a differential input section having a first differential transistor and a second differential transistor through which currents flow, the current ratio of which corresponds to a first input potential and a second input potential, a third load transistor connected in series to the first differential transistor, and a fourth load transistor connected in series to the second differential transistor; a first output section including: a fifth transistor provided between a first power supply terminal to which a first power supply voltage is supplied and a first junction node; a first folding circuit including a plurality of transistors for folding back a current flowing through the third load transistor to the fifth transistor; and a sixth transistor provided between a second power supply terminal to which a second power supply voltage is supplied and the first junction node, for folding back a current flowing through the fourth load transistor; a second output section including: a seventh transistor provided between the first power supply terminal and a second junction node; a second folding circuit including a plurality of transistors for folding back a current flowing through the fourth load transistor to the seventh transistor; and an eighth transistor provided between the second power supply terminal and the second junction node for folding back a current flowing through the third load transistor; a latch circuit to which outputs of the first junction node and the second junction node are input; a first switch element that cuts off a current flowing through the first folding circuit; a second switch element that cuts off the current flowing through the second folding circuit; a third switch element connected between the input of the latch circuit connected to the first junction node and one of the first power supply terminal and the second power supply terminal to which a lower voltage is supplied; a fourth switch element connected between an input of the latch circuit connected to the second junction node and one of the first power supply terminal and the second power supply terminal to which a lower voltage is supplied, the first switch element is controlled based on an output of the latch circuit to cut off the current flowing through the first folding circuit when in a first state in which a current flowing through the first folding circuit is greater than a current flowing through the second folding circuit; the second switch element is controlled based on an output of the latch circuit to cut off the current flowing through the second folding circuit when in a second state in which the current flowing through the second folding circuit is greater than the current flowing through the first folding circuit; the third switch element is controlled to be turned on in response to switching from the second state to the first state based on an output of the latch circuit, and then turned off after a predetermined time has elapsed since switching from the first state to the second state; the fourth switch element is controlled to be turned on in response to switching from the first state to the second state based on the output of the latch circuit, and then turned off after a certain time has elapsed since switching from the second state to the first state. It is a comparator. [2] [1] The comparator according to [1], the first switch element is controlled based on an output of the latch circuit to interrupt the first folding circuit in response to switching from the second state to the first state, and then, after a certain time has elapsed since switching from the second state to the first state, to allow a current to flow through the first folding circuit; the second switch element is controlled based on the output of the latch circuit to interrupt the second folding circuit in response to switching from the first state to the second state, and then to allow a current to flow through the second folding circuit after a certain time has elapsed since switching from the first state to the second state. It is a comparator. [3] [1] The comparator according to [1], the third switch element is composed of a transistor provided between the first junction node and one of the first power supply terminal and the second power supply terminal, whichever is supplied with a lower voltage; the fourth switch element is composed of a transistor provided between the second junction node and one of the first power supply terminal and the second power supply terminal to which a lower voltage is supplied, It is a comparator. [4] [1] The comparator according to [1], the third switch element is composed of a first logic gate having two inputs to which an output of the first junction node and a signal obtained by delaying an output of the latch circuit are input, and an output connected to the latch circuit; the fourth switch element is composed of a second logic gate having two inputs to which an output of the second junction node and a signal obtained by delaying an output of the latch circuit are input, and an output connected to the latch circuit; It is a comparator. [5] [1] The comparator according to [1], the first folding circuit includes a ninth transistor connected to the third load transistor in a current mirror configuration, and a tenth transistor connected in series to the ninth transistor; the fifth transistor is current mirror connected to the tenth transistor; the second folding circuit includes an eleventh transistor connected to the fourth load transistor in a current mirror configuration, and a twelfth transistor connected in series to the eleventh transistor; the seventh transistor is current mirror connected to the twelfth transistor; It is a comparator. [6] The comparator according to any one of [1] to [5], At least one of the transistors is a field effect transistor. It is a comparator. [7] The comparator according to any one of [1] to [5], At least one of the transistors is a bipolar transistor. It is a comparator. [Effects of the Invention]
[0030] According to the comparator of the present invention, it is possible to provide a comparator that prevents malfunction due to noise without increasing current consumption.
[0031] The present invention has been briefly described above. The details of the present invention will become clearer by reading the following detailed description of the invention (hereinafter referred to as "embodiments") with reference to the accompanying drawings. [Brief explanation of the drawings]
[0032] [Figure 1] FIG. 1 is a circuit diagram showing a comparator according to the first embodiment. [Figure 2] FIG. 2 is a time chart illustrating the operation of the comparator shown in FIG. [Figure 3] FIG. 3 is a circuit diagram showing a comparator according to the second embodiment. [Figure 4] FIG. 4 is a time chart illustrating the operation of the comparator shown in FIG. [Figure 5] FIG. 5 is a circuit diagram showing a comparator according to the third embodiment. [Figure 6]FIG. 6 is a circuit diagram showing a comparator according to the fourth embodiment. [Figure 7] FIG. 7 is a time chart illustrating the operation of the comparator shown in FIG. [Figure 8] FIG. 8 is a circuit diagram showing a comparator according to the fifth embodiment. [Figure 9] FIG. 9 is a circuit diagram showing an example of a conventional comparator. [Figure 10] FIG. 10 is a time chart illustrating the operation of the comparator shown in FIG. DETAILED DESCRIPTION OF THE INVENTION
[0033] Specific embodiments of the present invention will be described below with reference to the accompanying drawings.
[0034] (First embodiment) First, a comparator 1 of the first embodiment will be described with reference to Fig. 1. As shown in the figure, the comparator 1 compares an inverting input potential INM (=first input potential) input to an inverting input terminal T11 with a non-inverting input potential INP (=second input potential) input to a non-inverting input terminal T12, and outputs an output signal VOUT, which is the comparison result, from an output terminal T3. The comparator 1 includes a differential amplifier circuit 2, a transistor M91 (=first switch element), a transistor M92 (=second switch element), a latch circuit 3, an output buffer circuit 4, and a malfunction prevention circuit 5.
[0035] The differential amplifier circuit 2 is composed of a differential input section 21, an output section 22 (=first output section), and an output section 23 (=second output section). The differential input section 21 divides the current supplied from a current source 90 in accordance with the ratio between an inverting input potential INM and a non-inverting input potential INP. The output section 22 outputs a low potential or a high potential in accordance with a comparison result of the divided currents. The output section 23 changes in the opposite direction to the direction in which the output potential of the output section 22 changes in accordance with a comparison result of the divided currents, and outputs a low potential or a high potential.
[0036] The differential input section 21 includes a differential transistor M1 (=first differential transistor) and a differential transistor M2 (=second differential transistor) whose sources are commonly connected, a load transistor M3 (=third load transistor) and a load transistor M4 (=fourth load transistor), and a constant current source 90 connected between the common source of the differential transistors M1 and M2 and a positive power supply terminal T21 (=first power supply terminal). A positive power supply voltage VDD (=first power supply voltage) is supplied to the positive power supply terminal T21.
[0037] The differential transistors M1 and M2 are composed of P-channel field effect transistors. The gate of the differential transistor M1 is connected to the inverting input terminal T11, and the gate of the differential transistor M2 is connected to the non-inverting input terminal T12. A constant current supplied by a constant current source 90 is shunted to the differential transistors M1 and M2. The current ratio (shunt ratio) of the currents flowing through the differential transistors M1 and M2 is a value that depends on the inverting input potential INM and the non-inverting input potential INP.
[0038] The load transistors M3 and M4 are composed of N-channel field-effect transistors. The load transistor M3 is connected in series to the differential transistor M1. More specifically, the drain and gate of the load transistor M3 are connected to the drain of the differential transistor M1, and the source is connected to a negative power supply terminal T22 (= second power supply terminal). A negative power supply voltage VSS (= second power supply voltage) is supplied to the negative power supply terminal T22. The load transistor M4 is connected in series to the differential transistor M2. More specifically, the drain and gate of the load transistor M4 are connected to the drain of the differential transistor M2, and the source is connected to the negative power supply terminal T22.
[0039] When the current flowing through the differential transistor M2 is greater than the current flowing through the differential transistor M1, the output voltage of the output unit 22 decreases (outputs a low potential). When the current flowing through the differential transistor M1 is greater than the current flowing through the differential transistor M2, the output potential of the output unit 22 increases (outputs a high potential).
[0040] The output section 22 includes a transistor M5 (=fifth transistor), a transistor M6 (=sixth transistor), a transistor M9 (=ninth transistor), and a transistor M10 (=tenth transistor). The transistors M9 and M6 are configured as N-channel field-effect transistors. The gate of the transistor M9 is connected to the gate and drain of the load transistor M3, and the source is connected to the negative power supply terminal T22. That is, the transistor M9 is current-mirror connected to the load transistor M3, and copies and reflects the current flowing through the load transistor M3. The gate of the transistor M6 is connected to the gate and drain of the load transistor M4, and the source is connected to the negative power supply terminal T22, and the drain is connected to the junction node A. That is, the transistor M6 is current-mirror connected to the load transistor M4, and copies and reflects the current flowing through the load transistor M4.
[0041] The transistors M10 and M5 are configured as P-channel field effect transistors. The sources of the transistors M10 and M5 are connected together and to the positive power supply terminal T21. The drain of the transistor M10 is connected to the drain of the transistor M9 via the transistor M91 (described later), and the transistors M10, M91, and M9 are connected in series. The gate of the transistor M5 is connected to the gate and drain of the transistor M10, and the drain is connected to the junction node A. The transistor M5 is current-mirror connected to the transistor M10, and copies and reflects the current flowing through the transistor M10.
[0042] The transistors M9 and M10 function as a first folding circuit, folding back the current flowing through the load transistor M3 to the transistor M5.
[0043] The transistor M91 blocks current flowing through the transistors M9 and M10. The transistor M91 is an N-channel field effect transistor. The drain of the transistor M91 is connected to the drain and gate of the transistor M10, and the source is connected to the drain of the transistor M9.
[0044] Contrary to the output unit 22, the output voltage of the output unit 23 decreases (outputs a low potential) when the current flowing through the differential transistor M1 is greater than the current flowing through the differential transistor M2, and the output voltage of the output unit 23 increases (outputs a high potential) when the current flowing through the differential transistor M2 is greater than the current flowing through the differential transistor M1.
[0045] The output section 23 includes a transistor M7 (=seventh transistor), a transistor M8 (=eighth transistor), a transistor M11 (=eleventh transistor), and a transistor M12 (=twelfth transistor). The transistors M11 and M8 are configured as N-channel field-effect transistors. The gate of the transistor M11 is connected to the gate and drain of the load transistor M4, and the source is connected to the negative power supply terminal T22. That is, the transistor M11 is current-mirror connected to the load transistor M4, and copies and reflects the current flowing through the load transistor M4. The gate of the transistor M8 is connected to the gate and drain of the load transistor M3, and the source is connected to the negative power supply terminal T22, and the drain is connected to the junction node B. That is, the transistor M8 is current-mirror connected to the load transistor M3, and copies and reflects the current flowing through the load transistor M3.
[0046] The transistors M12 and M7 are configured as P-channel field effect transistors. The sources of the transistors M12 and M7 are connected together and to the positive power supply terminal T21. The drain of the transistor M12 is connected to the drain of the transistor M11 via the transistor M92 (described later), and the transistors M12, M92, and M11 are connected in series. The gate of the transistor M7 is connected to the gate and drain of the transistor M12, and the drain is connected to the junction node B. The transistor M7 is current-mirror connected to the transistor M12, and copies and reflects the current flowing through the transistor M12.
[0047] The transistors M11 and M12 function as a second folding circuit, folding back the current flowing through the load transistor M4 to the transistor M7.
[0048] The transistor M92 blocks current flowing through the transistors M11 and M12. The transistor M92 is an N-channel field effect transistor. The drain of the transistor M92 is connected to the drain and gate of the transistor M12, and the source is connected to the drain of the transistor M11.
[0049] The latch circuit 3 has a set input S connected to the output (junction node A) of the output unit 22 and a reset input R connected to the output (junction node B) of the output unit 23. The latch circuit 3 outputs a signal S11 that turns transistors M92 and M93 on and off, and a signal S12 that turns transistors M91 and M94 on and off, according to the outputs of the junction nodes A and B. The latch circuit 3 outputs the signal S11 from the output Q and outputs the signal S12 from the inverted output QB.
[0050] The malfunction prevention circuit 5 includes a transistor M93 (=third switch element) that reduces the impedance of the junction node A, a transistor M94 (=fourth switch element) that reduces the impedance of the junction node B, a delay circuit 71 (=first delay circuit), and a delay circuit 72 (=second delay circuit).
[0051] The transistors M93 and M94 are configured by N-channel field effect transistors. The transistor M93 is connected between the junction node A and the negative power supply terminal T22. The transistor M94 is connected between the junction node B and the negative power supply terminal T22.
[0052] The delay circuit 71 receives the signal S11 output from the output Q of the latch circuit 3 and outputs a signal S13 that is delayed at the falling edge of the signal S11. The signal S13 is input to the gate of the transistor M93. The signal S13 delays the switching of the transistor M93 from on to off.
[0053] The delay circuit 72 receives the signal S12 output from the inverted output QB of the latch circuit 3, and receives a delayed signal S14 at the falling edge of the signal S12 at the gate of the transistor M94 to control the on / off state of the transistor M94.
[0054] That is, the malfunction prevention circuit 5 turns on the transistor M93 when the potential of the junction node A changes from low to high and the output Q of the latch circuit 3 switches from low to high. The malfunction prevention circuit 5 turns off the transistor M94 after a certain time (=delay time Td generated by the delay circuit 72) has elapsed since the inverted output QB switched from high to low. During the period until the transistor M94 is turned off, the impedance of the junction node B is reduced to suppress noise generation. Meanwhile, the malfunction prevention circuit 5 turns on the transistor M94 when the potential of the junction node B changes from low to high and the inverted output QB of the latch circuit 3 switches from low to high, and turns off the transistor M93 after a certain time (=delay time Td generated by the delay circuit 71) has elapsed since the output Q switched from high to low. During the period until the transistor M93 is turned off, the impedance of the junction node A is reduced to suppress noise generation.
[0055] In this embodiment, the output buffer circuit 4 is composed of two inverters 41 and 42. The input of the inverter 41 is connected to the output Q of the latch circuit 3, and the output is connected to the input of the inverter 42. The output of the inverter 42 is connected to the output terminal T3. Although not shown in FIG. 1, various logic gates and the like are connected to the subsequent stage of the output buffer circuit 4.
[0056] Next, the operation of the comparator 1 having the above configuration will be described below with reference to the timing chart shown in Fig. 2. First, the operation will be described when the inverting input potential INM is higher than the non-inverting input potential INP and the output signal VOUT is at a low potential, i.e., when the output signal VOUT is approximately equal to the negative power supply voltage VSS.
[0057] When the inverting input potential INM is higher than the non-inverting input potential INP, more current from the constant current source 90 flows to the differential transistor M2 than to the differential transistor M1, and more current flows to the load transistor M4 than to the load transistor M3. As a result, more current flows to the transistors M6 and M11, which are current mirror-connected to the load transistor M4, than to the transistors M9 and M8, which are current mirror-connected to the load transistor M3.
[0058] When transistor M91 is on, the small current flowing through transistor M9 flows to transistor M10 and is copied to the drain current of transistor M5. Because transistor M5 operates to allow a small current to flow and transistor M6 operates to allow a large current to flow, the output voltage of output section 22 (the potential at junction node A) drops.
[0059] On the other hand, when transistor M92 is on, the large current flowing through transistor M11 flows to transistor M12 and is copied to the drain current of transistor M7. Since transistor M7 operates to allow a large current to flow and transistor M8 operates to allow a small current to flow, the output voltage of output section 23 (the potential at junction node B) rises.
[0060] When the potential of the junction node B rises and exceeds the threshold voltage of the reset input R of the latch circuit 3, the output Q of the latch circuit 3 goes low and the inverted output QB goes high. Since the output Q goes low, the output signal VOUT goes low.
[0061] Because the output Q of the latch circuit 3 is in a low state, the transistor M92 is turned off, the large current flowing through the transistors M11, M12, and M7 is cut off, and the reset input R is in a low state. Also, because the inverting output QB is in a high state, the transistor M91 is turned on, but the transistors M9, M10, and M5 operate so that a small current flows and the transistor M6 operates so that a large current flows, and the set input S is maintained in a low state. Therefore, even if the current flowing through the transistors M11, M12, and M7 is cut off, the latch circuit 3 maintains the output Q and the inverting output QB, and the output signal VOUT is maintained at a low potential.
[0062] Next, the operation will be described when the inverting input potential INM is lower than the non-inverting input potential INP and the output signal VOUT is at a high potential, that is, the output voltage is approximately the positive power supply voltage VDD.
[0063] When the inverting input potential INM is lower than the non-inverting input potential INP, more current from the constant current source 90 flows to the differential transistor M1 than to the differential transistor M2, and more current flows to the load transistor M3 than to the load transistor M4. As a result, more current flows to the transistors M9 and M8, which are current mirror-connected to the load transistor M3, than to the transistors M6 and M11, which are current mirror-connected to the load transistor M4.
[0064] When transistor M92 is on, the small current flowing through transistor M11 flows through transistor M12 and is copied to the drain current of transistor M7. Because transistor M7 operates to allow a small current to flow and transistor M8 operates to allow a large current to flow, the output voltage of output section 23 (the potential at junction node B) drops.
[0065] On the other hand, when transistor M91 is on, the large current flowing through transistor M9 flows to transistor M10 and is copied to the drain current of transistor M5. Since transistor M5 operates to allow a large current to flow and transistor M6 operates to allow a small current to flow, the output voltage of output section 22 (the potential at junction node A) rises.
[0066] When the potential of the junction node A rises and exceeds the threshold voltage of the set input S of the latch circuit 3, the output Q of the latch circuit 3 goes high and the inverted output QB goes low. Because the output Q goes high, the output signal VOUT goes high.
[0067] Because the inverted output QB of the latch circuit 3 is in a low state, the transistor M91 is turned off, the large current flowing through the transistors M9, M10, and M5 is cut off, and the set input S is in a low state. Also, because the output Q is in a high state, the transistor M92 is turned on, but the transistors M11, M12, and M7 operate so that a small current flows and the transistor M8 operates so that a large current flows, and the reset input R is maintained in a low state. Therefore, even if the current flowing through the transistors M9, M10, and M5 is cut off, the latch circuit 3 maintains the output Q and the inverted output QB, and the output signal VOUT is maintained at a high potential.
[0068] That is, when the output signal VOUT is at a low potential, more current flows through the transistors M11 and M12 of the output unit 23 than through the transistors M9 and M10 of the output unit 22. By turning off the transistor M92, the large current flowing through the transistors M11 and M12 is cut off. Even if the latch circuit 3 cuts off the current flowing through the transistors M11 and M12, the output signal VOUT is maintained at a low potential. On the other hand, when the output signal VOUT is at a high potential, more current flows through the transistors M9 and M10 of the output unit 22 than through the transistors M11 and M12 of the output unit 23. By turning off the transistor M91, the large current flowing through the transistors M9 and M10 is cut off. Even if the latch circuit 3 cuts off the current flowing through the transistors M9 and M10, the output signal VOUT is maintained at a high potential. Therefore, current consumption can be reduced without reducing the response speed.
[0069] Next, the operation when the non-inverting input potential INP changes from a state lower than the inverting input potential INM to a state higher than the inverting input potential INM and the output signal VOUT changes from a low potential to a high potential is as follows.
[0070] When the potential of the junction node A changes from a low potential to a high potential and the output Q and the inverted output QB of the latch circuit 3 are logically inverted, the delay circuit 71 receives a signal S11 that changes from a low potential to a high potential, and outputs a signal S13 that is not delayed with respect to the rising timing of the signal S11. On the other hand, the delay circuit 72 receives a signal S12 that changes from a high potential to a low potential, and outputs a signal S14 that is delayed by a certain time Td with respect to the falling timing of the signal S12.
[0071] When the latch circuit 3 changes from the reset state (= second state) to the set state (= first state), the transistor M93 is turned on by the signal S13. While the transistor M93 is on, the junction node A and the set input S of the latch circuit 3 are connected to the negative power supply terminal T22, thereby reducing the impedance of the junction node A and suppressing noise generation. The transistor M94 is turned off by the signal S14 after a certain time Td has elapsed, and while the transistor M94 is on, the junction node B and the reset input R of the latch circuit 3 are connected to the negative power supply terminal T22, thereby reducing the impedance of the junction node B and suppressing noise generation.
[0072] That is, during the period from when the latch circuit 3 changes from the reset state to the set state until a certain time Td has elapsed after the change from the set state to the reset state, the signal S13 becomes high potential and the transistor M93 turns on. During the period when the transistor M93 is on, the impedance of the junction node A is reduced to suppress noise generation, thereby suppressing the propagation of digital noise that occurs when the latch circuit 3 changes from the set state to the reset state.
[0073] Next, the operation when the non-inverting input potential INP changes from a state higher than the inverting input potential INM to a state lower than the inverting input potential INM and the output signal VOUT changes from a high potential to a low potential is as follows.
[0074] When the potential of the junction node B changes from a low potential to a high potential and the output Q and the inverted output QB of the latch circuit 3 are logically inverted, the delay circuit 71 receives a signal S11 that changes from a high potential to a low potential, and outputs a signal S13 that is delayed by a certain time Td with respect to the falling timing of the signal S11. Meanwhile, the delay circuit 72 receives a signal S12 that changes from a low potential to a high potential, and outputs a signal S14 that is not delayed with respect to the rising timing of the signal S12.
[0075] When the latch circuit 3 changes from the set state to the reset state, the transistor M94 is turned on by the signal S14, and while the transistor M94 is on, the junction node B and the reset input R of the latch circuit 3 are connected to the negative power supply terminal T22, thereby reducing the impedance of the junction node B and suppressing noise generation. The transistor M93 is turned off by the signal S13 after a certain time Td has elapsed, and while the transistor M93 is on, the junction node A and the set input S of the latch circuit 3 are connected to the negative power supply terminal T22, thereby reducing the impedance of the junction node A and suppressing noise generation.
[0076] That is, during the period from when the latch circuit 3 changes from the set state to the reset state until a certain time Td has elapsed after the change from the reset state to the set state, the signal S14 becomes high potential and the transistor M94 turns on. During the period when the transistor M94 is on, the impedance of the junction node B is reduced to suppress noise generation, thereby suppressing the propagation of digital noise that occurs when the latch circuit 3 changes from the reset state to the set state.
[0077] That is, in the comparator 1 of the first embodiment, during the period from when the output signal VOUT changes from a low potential to a high potential until a certain time has elapsed since the high potential to low potential, the transistor M93 is turned on to reduce the impedance of the junction node A and suppress noise generation, thereby preventing malfunction due to digital noise generated when the output signal VOUT changes from a high potential to a low potential. Meanwhile, during the period from when the output signal VOUT changes from a high potential to a low potential until a certain time has elapsed since the low potential to high potential, the transistor M94 is turned on to reduce the impedance of the junction node B and suppress noise generation, thereby preventing malfunction due to digital noise generated when the output signal VOUT changes from a low potential to a high potential. Therefore, it is possible to prevent malfunction due to noise generated when the logic of the output buffer circuit 4 and each logic gate connected in the subsequent stage is inverted.
[0078] Therefore, the effect of preventing malfunctions due to noise can be obtained without increasing current consumption.
[0079] (Second embodiment) Next, a comparator 1B according to a second embodiment will be described with reference to Fig. 3. In Fig. 3, the same components as those in the circuit shown in Fig. 1 are denoted by the same reference numerals, and detailed description thereof will be omitted.
[0080] As shown in the figure, the comparator 1B includes, similarly to the first embodiment, a differential amplifier circuit 2, transistors M91 and M92, a latch circuit 3, an output buffer circuit 4, and a malfunction prevention circuit 5B. The differential amplifier circuit 2, transistors M91 and M92, latch circuit 3, and output buffer circuit 4 are the same as those in the first embodiment described above, and therefore detailed description thereof will be omitted here.
[0081] The difference between the first and second embodiments is the configuration of the malfunction prevention circuit 5B. The malfunction prevention circuit 5B includes transistors M93 and M94, delay circuits 71 and 72, and inverters 61 and 62. The transistors M93 and M94 and the delay circuits 71 and 72 are the same as those in the first embodiment, so detailed description thereof will be omitted here.
[0082] In the first embodiment, the gate of the transistor M91 is connected to the inverted output QB of the latch circuit 3, but in the second embodiment, it is connected to the output of the inverter 61. The input of the inverter 61 is connected to the output of the delay circuit 71. In the first embodiment, the gate of the transistor M92 is connected to the output Q of the latch circuit 3, but in the second embodiment, it is connected to the output of the inverter 62. The input of the inverter 62 is connected to the output of the delay circuit 72.
[0083] Next, the operation of the comparator 1B configured as described above will be described below with reference to the time chart shown in Fig. 4. The comparator 1B configured as described above is basically the same as that of the first embodiment, except for the points that will be described later.
[0084] The operation when the non-inverting input potential INP changes from a state lower than the inverting input potential INM to a state higher than the inverting input potential INM and the output signal VOUT changes from a low potential to a high potential is as follows.
[0085] When the potential of the junction node A changes from a low potential to a high potential and the output Q and inverted output QB of the latch circuit 3 are logically inverted, the delay circuit 71 receives a signal S11 that changes from a low potential to a high potential, outputs a signal S13 that is not delayed with respect to the rising timing of the signal S11, and the inverter 61 outputs an inverted signal S21 of the signal S13. Meanwhile, the delay circuit 72 receives a signal S12 that changes from a high potential to a low potential, outputs a signal S14 that is delayed by a certain time Td with respect to the falling timing of the signal S12, and the inverter 62 outputs an inverted signal S22 of the signal S14.
[0086] When the latch circuit 3 changes from the reset state to the set state, the transistor M93 is turned on by the signal S13, and the transistor M91 is turned off by the signal S21. While the transistor M93 is on, the junction node A is connected to the negative power supply terminal T22, thereby reducing the impedance of the junction node A and suppressing noise generation. The transistor M94 is turned off by the signal S14 after a certain time Td has elapsed, and the transistor M92 is turned on by the signal S22 after the certain time Td has elapsed. While the transistor M94 is on, the junction node B is connected to the negative power supply terminal T22, thereby reducing the impedance of the junction node B and suppressing noise generation.
[0087] That is, during the period from when the latch circuit 3 changes from the reset state to the set state until a certain time Td has elapsed after the change from the set state to the reset state, the signal S13 becomes high potential and the transistor M93 turns on. During the period when the transistor M93 is on, the impedance of the junction node A is reduced to suppress noise generation, thereby suppressing the propagation of digital noise that occurs when the latch circuit 3 changes from the set state to the reset state.
[0088] Furthermore, the transistor M91 does not turn on immediately but after a certain time Td has elapsed. While the transistor M91 is off, the junction node A is prevented from going high due to noise propagation. Therefore, even if digital noise generated when the set state changes to the reset state propagates to the differential amplifier circuit 2 and generates a malfunction signal, the malfunction signal is not transmitted to the latch circuit 3.
[0089] Next, the operation when the non-inverting input potential INP changes from a state higher than the inverting input potential INM to a state lower than the inverting input potential INM and the output signal VOUT changes from a high potential to a low potential is as follows.
[0090] When the potential of the junction node B changes from a low potential to a high potential and the output Q and inverted output QB of the latch circuit 3 are logically inverted, the delay circuit 71 receives a signal S11 that changes from a high potential to a low potential, and outputs a signal S13 that is delayed by a certain time Td with respect to the falling timing of the signal S11, and the inverter 61 outputs an inverted signal S21 of the signal S12. Meanwhile, the delay circuit 72 receives a signal S12 that changes from a low potential to a high potential, and outputs a signal S14 that is not delayed with respect to the rising timing of the signal S12, and the inverter 62 outputs an inverted signal S22 of the signal S14.
[0091] When the latch circuit 3 changes from the set state to the reset state, the transistor M94 is turned on by the signal S14, and the transistor M92 is turned off by the signal S22. During the period when the transistor M94 is on, the junction node B is connected to the negative power supply terminal T22, thereby reducing the impedance of the junction node B and suppressing noise generation. The transistor M93 is turned off by the signal S13 after a certain time Td has elapsed, and the transistor M91 is turned on by the signal S21 after the certain time Td has elapsed. During the period when the transistor M93 is on, the junction node A is connected to the negative power supply terminal T22, thereby reducing the impedance of the junction node A and suppressing noise generation.
[0092] That is, during the period from when the latch circuit 3 changes from the set state to the reset state until a certain time Td has elapsed after the change from the reset state to the set state, the signal S14 becomes high potential and the transistor M94 turns on. During the period when the transistor M94 is on, the impedance of the junction node B is reduced to suppress noise generation, thereby suppressing the propagation of digital noise that occurs when the latch circuit 3 changes from the reset state to the set state.
[0093] Furthermore, transistor M92 does not turn on immediately, but after a certain time Td has elapsed. While transistor M92 is off, the junction node B is prevented from going high due to noise propagation. Therefore, even if digital noise generated when the reset state changes to the set state propagates to the differential amplifier circuit 2 and generates a malfunction signal, the malfunction signal is not transmitted to the latch circuit 3.
[0094] That is, in the comparator 1B of the second embodiment, during the period from when the output signal VOUT changes from a low potential to a high potential until a certain time Td has elapsed since the change from the high potential to the low potential, the comparator 1B turns on the transistor M93 to reduce the impedance of the junction node A and suppress noise generation, and also turns off the transistor M91 to suppress the junction node A from going high due to noise propagation, thereby preventing malfunction due to digital noise generated when the output signal VOUT changes from a high potential to a low potential. On the other hand, during the period from when the output signal VOUT changes from a high potential to a low potential until a certain time Td has elapsed since the change from the low potential to the high potential, the comparator 1B turns on the transistor M94 to reduce the impedance of the junction node B and suppress noise generation, and also turns off the transistor M92 to suppress the junction node B from going high due to noise propagation, thereby preventing malfunction due to digital noise generated when the output signal VOUT changes from a low potential to a high potential. Therefore, it is possible to prevent malfunctions caused by noise that occurs when the logic of the output buffer circuit 4 or each logic gate connected to the subsequent stage is inverted.
[0095] Therefore, the effect of preventing malfunctions due to noise can be obtained without increasing current consumption.
[0096] (Third embodiment) Next, a comparator 1C according to a third embodiment will be described with reference to Fig. 5. In Fig. 5, the same components as those in the circuit shown in Fig. 1 are denoted by the same reference numerals, and detailed description thereof will be omitted.
[0097] As shown in the figure, the comparator 1C, like the first embodiment, includes a differential amplifier circuit 2C consisting of a differential input section 21C and output sections 22C and 23C, transistors M91 and M92, a latch circuit 3, an output buffer circuit 4, and a malfunction prevention circuit 5.
[0098] The first and third embodiments differ in that the conductivity types of transistors M1C to M12C, which correspond to transistors M1 to M12, are reversed. Another difference between the first and third embodiments is that the relationship between the positive power supply terminal T21 and the negative power supply terminal T22 is reversed. In the third embodiment, the positive power supply terminal T21 corresponds to the second power supply terminal, and the negative power supply terminal T22 corresponds to the first power supply terminal.
[0099] Similarly, in the second embodiment, the conductivity types of the transistors may be reversed, and the relationship between the negative power supply terminal T22 and the positive power supply terminal T21 may be reversed.
[0100] Therefore, similar to the first embodiment, the third embodiment also has the effect of preventing malfunctions due to noise without increasing current consumption.
[0101] (Fourth embodiment) Next, a comparator 1D according to a fourth embodiment will be described with reference to Fig. 6. In Fig. 6, the same components as those in the circuit shown in Fig. 3 are denoted by the same reference numerals, and detailed description thereof will be omitted.
[0102] As shown in the figure, the comparator 1D includes, similarly to the second embodiment, a differential amplifier circuit 2, transistors M91 and M92, a latch circuit 3, an output buffer circuit 4, and a malfunction prevention circuit 5D. The differential amplifier circuit 2, transistors M91 and M92, latch circuit 3, and output buffer circuit 4 are the same as those in the second embodiment described above, and therefore detailed description thereof will be omitted here.
[0103] The difference between the second and fourth embodiments is the configuration of a malfunction prevention circuit 5D. The malfunction prevention circuit 5D includes an AND gate 63 (=first logic gate, third switch element), an AND gate 64 (=second logic gate, fourth switch element), delay circuits 71 and 72, and inverters 61 and 62. The delay circuits 71 and 72 and the inverters 61 and 62 are the same as those in the second embodiment, so detailed description thereof will be omitted here.
[0104] The second and fourth embodiments differ from each other in the configuration of a third switch element connected between the set input S of the latch circuit 3 and the negative power supply terminal T22, and a fourth switch element connected between the reset input R of the latch circuit 3 and the negative power supply terminal T22. In the second embodiment, the third and fourth switch elements are configured with transistors M93 and M94, and turning on the transistors M93 and M94 supplies the negative power supply voltage VSS to the set input S and the reset input R of the latch circuit 3. In the fourth embodiment, the third and fourth switch elements are configured with AND gates 63 and 64, and outputting a low-state potential from the AND gates 63 and 64 supplies the negative power supply voltage VSS to the set input S and the reset input R of the latch circuit 3.
[0105] The AND gate 63 has two inputs, one of which is connected to the junction node A, the other of which is connected to a delay circuit 71 via an inverter 61, and an output of which is connected to the set input S of the latch circuit 3. The AND gate 64 has two inputs, one of which is connected to the junction node B, and the other of which is connected to a delay circuit 72 via an inverter 62, and an output of which is connected to the reset input R of the latch circuit 3.
[0106] Next, the operation of the comparator 1D configured as described above will be described below with reference to the time chart shown in Fig. 7. The comparator 1D configured as described above is basically the same as that of the second embodiment, except for the points that will be described later.
[0107] The AND gate 63 has two inputs connected to the junction node A and the output of the inverter 61. The AND gate 63 is controlled based on the signal S13 output from the delay circuit 71. While a signal S21 obtained by inverting the signal S13 is in a low state, the AND gate 63 outputs a low-state signal to the set input S of the latch circuit 3, connecting the set input S to the negative power supply terminal T22. The AND gate 64 has two inputs connected to the junction node B and the output of the inverter 62. The AND gate 64 is controlled based on the signal S14 output from the delay circuit 72. While a signal S22 obtained by inverting the signal S14 is in a low state, the AND gate 64 outputs a low-state signal to the reset input R of the latch circuit 3, connecting the reset input R to the negative power supply terminal T22.
[0108] That is, while signal S21, the inverted version of signal S13, is in a low state, the set input S is prevented from going high due to noise propagation. Therefore, even if digital noise generated when latch circuit 3 changes from the set state to the reset state propagates to differential amplifier circuit 2 and generates a malfunction signal, the malfunction signal is not transmitted to latch circuit 3. While signal S22, the inverted version of signal S14, is in a low state, the reset input R is prevented from going high due to noise propagation. Therefore, even if digital noise generated when latch circuit 3 changes from the reset state to the set state propagates to differential amplifier circuit 2 and generates a malfunction signal, the malfunction signal is not transmitted to latch circuit 3.
[0109] That is, in the comparator 1D of the fourth embodiment, during the period from when the output signal VOUT changes from low potential to high potential until a certain time has elapsed since the high-to-low potential change, the output of the AND gate 63 is kept low to prevent the set input S from going high due to noise propagation, thereby preventing malfunction due to digital noise occurring when the output signal VOUT changes from high potential to low potential. Meanwhile, during the period from when the output signal VOUT changes from high potential to low potential until a certain time has elapsed since the low-to-high potential change, the output of the AND gate 64 is kept low to prevent the reset input R from going high due to noise propagation, thereby preventing malfunction due to digital noise occurring when the output signal VOUT changes from low potential to high potential. This makes it possible to prevent malfunction due to noise occurring when the logic of the output buffer circuit 4 and each logic gate connected thereafter is inverted.
[0110] Therefore, the effect of preventing malfunctions due to noise can be obtained without increasing current consumption.
[0111] (Fifth embodiment) Next, a comparator 1E according to a fifth embodiment will be described with reference to Fig. 8. In Fig. 8, the same components as those in the circuit shown in Fig. 7 are denoted by the same reference numerals, and detailed description thereof will be omitted.
[0112] As shown in the figure, the comparator 1E, like the fourth embodiment, includes a differential amplifier circuit 2C consisting of a differential input section 21C and output sections 22C and 23C, transistors M91E and M92E, a latch circuit 3, an output buffer circuit 4, and a malfunction prevention circuit 5E.
[0113] The fourth embodiment differs from the fifth embodiment in that the conductivity types of transistors M1C to M12C, M91E, and M92E corresponding to transistors M1 to M12, M91, and M92 are reversed. Another difference between the fourth embodiment and the fifth embodiment is that the relationship between the positive power supply terminal T21 and the negative power supply terminal T22 is reversed. In this embodiment, the negative power supply terminal T22 corresponds to the first power supply terminal, and the positive power supply terminal T21 corresponds to the second power supply terminal.
[0114] Another difference between the fourth and fifth embodiments is the connection destination of the gates of transistors M91E and M92E. In the fourth embodiment, the gate of transistor M91 is connected to the output of inverter 61, and the gate of transistor M92 is connected to the output of inverter 62. However, in the fifth embodiment, the gate of transistor M91E is connected to the output of delay circuit 71, and the gate of transistor M92E is connected to the output of delay circuit 72.
[0115] In other words, even if the conductivity types of transistors M1 to M12, M91, and M92 are reversed and the relationship between the positive power supply terminal T21 and the negative power supply terminal T22 is reversed, the circuit operation is the same as in the fourth embodiment by changing the connection destination of each gate of transistors M91E and M92E.
[0116] Therefore, similar to the fourth embodiment, the fifth embodiment also has the effect of preventing malfunctions due to noise without increasing current consumption.
[0117] (Other embodiments) The present invention is not limited to the above-described embodiments, and can be appropriately modified, improved, etc. In addition, the material, shape, size, number, location, etc. of each component in the above-described embodiments are arbitrary and not limited as long as they can achieve the present invention.
[0118] In the first to fifth embodiments described above, the transistors are configured as field-effect transistors, but this is not limiting. At least one of the transistors may be replaced with a bipolar transistor. In this case, the description can be made by replacing "P channel" with "PNP type," "N channel" with "NPN type," "gate" with "base," "source" with "emitter," and "drain" with "collector." [Explanation of symbols]
[0119] 1,1B~1E Comparators 21,21C Differential input section 22, 22C Output section (first output section) 23, 23C Output section (second output section) 3 Latch Circuit 63 AND gate (third switch element, first logic gate) 64 AND gate (fourth switch element, second logic gate) A connection node (first connection node) B Connection node (second connection node) INM Inverting input potential (first input potential) INP Non-inverting input potential (second input potential) M1, M1C Differential transistor (first differential transistor) M2, M2C Differential transistor (second differential transistor) M3, M3C Load transistor (third load transistor) M4, M4C Load transistor (fourth load transistor) M5, M5C transistor (fifth transistor) M6, M6C transistor (sixth transistor) M7, M7C transistor (seventh transistor) M8, M8C transistor (8th transistor) M9, M9C transistors (9th transistor, 1st folding circuit) M10, M10C transistors (10th transistor, 1st folding circuit) M11, M11C transistors (11th transistor, second folding circuit) M12, M12C transistors (12th transistor, 2nd folding circuit) M91, M91E transistor (first switch element) M92, M92E Transistor (second switch element) M93 Transistor (third switching element) M94 Transistor (fourth switching element) T21 Positive power supply terminal (first power supply terminal) T22 Negative power supply terminal (second power supply terminal) VDD Positive power supply voltage (first power supply voltage) VSS Negative power supply voltage (second power supply voltage)
Claims
1. a differential input section having a first differential transistor and a second differential transistor through which currents flow, the current ratio of which corresponds to a first input potential and a second input potential, a third load transistor connected in series to the first differential transistor, and a fourth load transistor connected in series to the second differential transistor; a first output section including: a fifth transistor provided between a first power supply terminal to which a first power supply voltage is supplied and a first junction node; a first folding circuit including a plurality of transistors for folding back a current flowing through the third load transistor to the fifth transistor; and a sixth transistor provided between a second power supply terminal to which a second power supply voltage is supplied and the first junction node, for folding back a current flowing through the fourth load transistor; a second output section including: a seventh transistor provided between the first power supply terminal and a second junction node; a second folding circuit configured with a plurality of transistors for folding back a current flowing through the fourth load transistor to the seventh transistor; and an eighth transistor provided between the second power supply terminal and the second junction node for folding back a current flowing through the third load transistor; a latch circuit to which outputs of the first junction node and the second junction node are input; a first switch element that cuts off a current flowing through the first folding circuit; a second switch element that cuts off the current flowing through the second folding circuit; a third switch element connected between the input of the latch circuit connected to the first junction node and one of the first power supply terminal and the second power supply terminal to which a lower voltage is supplied; a fourth switch element connected between an input of the latch circuit connected to the second junction node and one of the first power supply terminal and the second power supply terminal to which a lower voltage is supplied, the first switch element is controlled based on an output of the latch circuit to cut off the current flowing through the first folding circuit when in a first state in which a current flowing through the first folding circuit is greater than a current flowing through the second folding circuit; the second switch element is controlled based on an output of the latch circuit to cut off the current flowing through the second folding circuit when in a second state in which the current flowing through the second folding circuit is greater than the current flowing through the first folding circuit; the third switch element is controlled to be turned on in response to a change from the second state to the first state based on an output of the latch circuit, and then turned off after a predetermined time has elapsed since the change from the first state to the second state; the fourth switch element is controlled to be turned on in response to switching from the first state to the second state based on the output of the latch circuit, and then turned off after a predetermined time has elapsed since switching from the second state to the first state. comparator.
2. 2. The comparator of claim 1, the first switch element is controlled based on an output of the latch circuit to interrupt the first folding circuit in response to switching from the second state to the first state, and then, after a predetermined time has elapsed since switching from the second state to the first state, to allow a current to flow through the first folding circuit; the second switch element is controlled based on the output of the latch circuit to interrupt the second folding circuit in response to switching from the first state to the second state, and then to allow a current to flow through the second folding circuit after a predetermined time has elapsed since switching from the first state to the second state. comparator.
3. 2. The comparator of claim 1, the third switch element is composed of a transistor provided between the first junction node and one of the first power supply terminal and the second power supply terminal, whichever is supplied with a lower voltage; the fourth switch element is composed of a transistor provided between the second junction node and one of the first power supply terminal and the second power supply terminal to which a lower voltage is supplied, comparator.
4. 2. The comparator of claim 1, the third switch element is composed of a first logic gate having two inputs to which an output of the first junction node and a signal obtained by delaying an output of the latch circuit are input, and an output connected to the latch circuit; the fourth switch element is composed of a second logic gate having two inputs to which an output of the second junction node and a signal obtained by delaying the output of the latch circuit are input, and an output connected to the latch circuit; comparator.
5. 2. The comparator of claim 1, the first folding circuit includes a ninth transistor connected to the third load transistor in a current mirror configuration, and a tenth transistor connected in series to the ninth transistor; the fifth transistor is current mirror connected to the tenth transistor; the second folding circuit includes an eleventh transistor connected to the fourth load transistor in a current mirror configuration, and a twelfth transistor connected in series to the eleventh transistor; the seventh transistor is current mirror connected to the twelfth transistor; comparator.
6. The comparator according to any one of claims 1 to 5, At least one of the transistors is a field effect transistor. comparator.
7. The comparator according to any one of claims 1 to 5, At least one of the transistors is a bipolar transistor. comparator.
Citation Information
Patent Citations
Comparator
JP2023080747A