Comparator
The comparator design addresses noise-induced malfunctions by controlling current flow and using delay circuits to manage noise, ensuring efficient operation without increased power usage.
Patent Information
- Application Number
- JP2024137743
- 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 malfunctions due to noise when current consumption is reduced, leading to increased impedance at junction nodes, which is not effectively addressed by conventional designs.
A comparator design with a differential input section, output sections, and a latch circuit, incorporating switch elements and folding circuits to control current flow based on input potentials, and using delay circuits to manage noise-induced malfunctions without increasing current consumption.
Prevents malfunctions due to noise without increasing current consumption, maintaining response speed and reducing the likelihood of noise-induced errors in semiconductor integrated circuits.
Smart Images

Figure 2026034997000001_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. 6 has been known as a comparator used in a semiconductor integrated circuit (see, for example, Patent Document 1). The comparator 100 shown in Fig. 6 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. 7. 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 that blocks transmission of a signal from the first output unit to the latch circuit; a fourth switch element that blocks transmission of a signal from the second output unit to the latch circuit; 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 based on an output of the latch circuit to interrupt transmission of the signal in response to switching from the second state to the first state, and then to transmit the signal after a predetermined time has elapsed since switching from the first state to the second state; the fourth switch element is controlled based on the output of the latch circuit to cut off the voltage of the signal in response to switching from the first state to the second state, and then to transmit the signal 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 connected in series with the fifth transistor between the first power supply terminal and the first junction node; the fourth switch element is connected in series with the seventh transistor between the first power supply terminal and the second junction node; It is a comparator. [4] [1] The comparator according to [1], the third switch element is connected between the gate and source or between the base and emitter of the fifth transistor; the fourth switch element is connected between the gate and source or between the base and emitter of the seventh transistor; 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 circuit diagram showing a comparator according to the third embodiment. [Figure 5] FIG. 5 is a circuit diagram showing a comparator according to the fourth embodiment. [Figure 6] FIG. 6 is a circuit diagram showing an example of a conventional comparator. [Figure 7] FIG. 7 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] The output voltage of the output unit 22 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 potential of the output unit 22 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.
[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 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 a 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 a junction node A via a transistor M93 (described later). 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 via the transistor M94 (described later). 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 M91 and M93 on and off, and a signal S12 that turns transistors M92 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) provided between the transistor M5 and the junction node A, a transistor M94 (=fourth switch element) provided between the transistor M7 and the junction node B, a delay circuit 71 (=first delay circuit), a delay circuit 72 (=second delay circuit), and inverters 61 and 62.
[0051] The transistors M93 and M94 are P-channel field effect transistors. The transistor M93 is connected in series with the transistor M5 between the positive power supply terminal T21 and the junction node A. The drain of the transistor M93 is connected to the drain of the transistor M6, and the source of the transistor M93 is connected to the drain of the transistor M5. The transistor M94 is connected in series with the transistor M7 between the positive power supply terminal T21 and the junction node B. The drain of the transistor M94 is connected to the drain of the transistor M8, and the source of the transistor M7 is connected to the drain of the transistor M7.
[0052] The delay circuit 71 is provided between the output Q of the latch circuit 3 and the gates of the transistors M91 and M93. The delay circuit 71 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 and the input of the inverter 61, and the gate of the transistor M91 is connected to the output of the inverter 61. The signal S13 delays the switching of the transistors M91 and M93 from off to on.
[0053] The delay circuit 72 is provided between the inverted output QB of the latch circuit 3 and the gates of the transistors M92 and M94. The delay circuit 72 outputs a signal S14 that is delayed at the falling edge of the signal S12. The signal S14 is input to the gate of the transistor M94 and the input of the inverter 62, and the gate of the transistor M92 is connected to the output of the inverter 62. This signal S14 delays the switching of the transistors M92 and M94 from off to on.
[0054] That is, the malfunction prevention circuit 5 turns off the transistors M91 and 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 on the transistors M92 and 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. On the other hand, the malfunction prevention circuit 5 turns off the transistors M92 and 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 on the transistors M91 and 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.
[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 configured as described above 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., the output voltage 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 transistors M91 and M93 are 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 transistors M92 and M94 are 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 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 inverted output QB of the latch circuit 3 is in a high state, the transistors M92 and M94 are 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 output Q is in a low state, the transistors M91 and M93 are 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 inverted 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 transistors M92 and M94 are 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 transistors M91 and M93 are 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 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 output Q of the latch circuit 3 is in a high state, the transistors M91 and M93 are 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 inverting output QB is in a low state, the transistors M92 and M94 are turned on, but the transistors M11, M12, and M7 operate so that a small current flows and the transistor M12 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 inverting 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 transistors M92 and M94, the large current flowing through the transistors M11 and M12 is blocked. Even when the latch circuit 3 blocks 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. However, by turning off the transistors M91 and M93, the large current flowing through the transistors M9 and M10 is blocked. Even when the latch circuit 3 blocks 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 inverted output QB of the latch circuit 3 are logically inverted, the delay circuit 71 receives the 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, and the inverter 61 outputs an inverted signal S21 of the signal S12. Meanwhile, the delay circuit 72 receives the 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, and the inverter 62 outputs an inverted signal S22 of the signal S14.
[0071] When the latch circuit 3 changes from the reset state (= second state) to the set state (= first state), the transistor M93 is turned off by the signal S13, and the transistor M91 is turned off by the signal S21. The transistor M94 is turned on by the signal S14 after a certain time Td has elapsed, and the transistor M92 is turned on by the signal S22 after a certain time Td has elapsed.
[0072] That is, the transistors M92 and M94 do not turn on immediately but after a certain time Td has elapsed. While the transistor M94 is off, the junction node B is prevented from going high due to noise propagation. Therefore, even if digital noise generated at the timing of changing from the reset state 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.
[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 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 timing of the falling edge of the signal S11, and the inverter 61 outputs an inverted signal S21 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 timing of the rising edge of the signal S12, and the inverter 62 outputs an inverted signal S22 of the signal S14.
[0075] When the latch circuit 3 changes from the set state to the reset state, the transistor M94 is turned off by the signal S14, and the transistor M92 is turned off by the signal S22. The transistor M93 is turned on by the signal S13 after a certain time Td has elapsed, and the transistor M91 is turned on by the signal S21 after a certain time Td has elapsed.
[0076] That is, the transistors M91 and M93 do not turn on immediately but after a certain time Td has elapsed. While the transistor M93 is off, the junction node A is prevented from going high due to noise propagation. Therefore, even if digital noise generated at the timing of changing from the set state 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.
[0077] That is, the comparator 1 in the first embodiment turns off the transistor M93 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, thereby preventing malfunction due to digital noise occurring 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 1 turns off the transistor M94 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, thereby preventing malfunction due to digital noise occurring when the output signal VOUT changes from a low potential to a high potential. Therefore, malfunction due to noise occurring when the logic of the output buffer circuit 4 and each logic gate connected in the subsequent stage is inverted can be prevented.
[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, like the first embodiment, includes a differential amplifier circuit 2B consisting of a differential input section 21B and output sections 22B and 23B, transistors M91B and M92B, a latch circuit 3, an output buffer circuit 4, and a malfunction prevention circuit 5B.
[0081] The first and second embodiments differ in that the conductivity types of transistors M1B to M12B, M91B, M92B, M93B, and M94B, which correspond to transistors M1 to M12, M91, M92, M93, and M94, are reversed. Another difference between the first and second embodiments is that the relationship between the positive power supply terminal T21 and the negative power supply terminal T22 is reversed. In the second 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.
[0082] Also, the first embodiment differs from the second embodiment in the connection destination of each gate of transistors M91B to M94B. In the first embodiment, the gate of transistor M91 was connected to the output of inverter 61, the gate of transistor M92 was connected to the output of inverter 62, the gate of transistor M93 was connected to the output of delay circuit 71, and the gate of transistor M94 was connected to the output of delay circuit 72. In the second embodiment, the gate of transistor M91B is connected to the output of delay circuit 71, the gate of transistor M92B is connected to the output of delay circuit 72, the gate of transistor M93B is connected to the output of inverter 61, and the gate of transistor M94B is connected to the output of inverter 62.
[0083] That is, even if the conductivity types of transistors M1B to M12B, M91B, M92B, M93B, and M94B 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 first embodiment by changing the connection destination of each gate of transistors M91B to M94B.
[0084] Therefore, similar to the first embodiment, the second embodiment also has the effect of preventing malfunctions due to noise without increasing current consumption.
[0085] (Third embodiment) Next, a comparator 1C according to a third embodiment will be described with reference to Fig. 4. In Fig. 4, 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.
[0086] As shown in the figure, the comparator 1C 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 5C. 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.
[0087] The difference between the first and third embodiments is the configuration of the malfunction prevention circuit 5C. The malfunction prevention circuit 5C includes transistors M93C and M94C, 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 first embodiment, so detailed description thereof will be omitted here.
[0088] Another difference between the first and third embodiments is the connections of the transistors M93C and M94C. In the first embodiment, the transistor M93 has a drain connected to the drain of the transistor M5, a source connected to the drain of the transistor M6, and a gate connected to the output of the delay circuit 71. In the third embodiment, the transistor M93C has a drain connected to the gates of the transistors M5 and M10, a source connected to the sources of the transistors M5 and M10, and a gate connected to the output of the inverter 61. In the first embodiment, the transistor M94 has a drain connected to the drain of the transistor M8, a source connected to the drain of the transistor M7, and a gate connected to the output of the delay circuit 72. In the third embodiment, the transistor M94C has a drain connected to the gates of the transistors M7 and M12, a source connected to the sources of the transistors M7 and M12, and a gate connected to the output of the inverter 62.
[0089] Next, the operation of the comparator 1C configured as described above will be described below with reference to the time chart shown in Fig. 2. The comparator 1C configured as described above is basically the same as that of the first embodiment, except for the points that will be described later.
[0090] The transistor M93 in the first embodiment is connected between the transistors M5 and M6, and turning off the transistor M93 blocks signal transmission to the latch circuit 3. The transistor M93C in the third embodiment is connected between the gates and sources of the transistors M5 and M10. Turning on the transistor M93C blocks signal transmission to the latch circuit 3. The transistor M94 in the first embodiment is connected between the transistors M7 and M8, and turning off the transistor M94 blocks signal transmission to the latch circuit 3. The transistor M94C in the third embodiment is connected between the gates and sources of the transistors M7 and M12. Turning on the transistor M94C blocks signal transmission to the latch circuit 3.
[0091] That is, while the transistor M93C is on, the junction node A is prevented from going high due to noise propagation. Therefore, even if digital noise generated when the latch circuit 3 changes from the set state 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. While the transistor M94C is on, the junction node B is prevented from going high due to noise propagation. Therefore, even if digital noise generated when the latch circuit 3 changes from the reset state 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.
[0092] That is, the comparator 1C in the third embodiment turns on the transistor M93C to prevent the junction node A from going high due to noise propagation during the period from when the output signal VOUT changes from low to high until a certain time has elapsed since the change from high to low. This prevents malfunction due to digital noise occurring when the output signal VOUT changes from high to low. On the other hand, during the period from when the output signal VOUT changes from high to low until a certain time has elapsed since the change from low to high, the comparator 1C turns on the transistor M94C to prevent the junction node B from going high due to noise propagation. This prevents malfunction due to digital noise occurring when the output signal VOUT changes from low to high. Therefore, malfunction due to noise occurring when the logic of the output buffer circuit 4 and each logic gate connected downstream is inverted can be prevented.
[0093] Therefore, the effect of preventing malfunctions due to noise can be obtained without increasing current consumption.
[0094] (Fourth embodiment) Next, a comparator 1D according to a fourth embodiment will be described with reference to Fig. 5. In Fig. 5, 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.
[0095] As shown in the figure, the comparator 1D, like the third embodiment, includes a differential amplifier circuit 2B consisting of a differential input section 21B and output sections 22B and 23B, transistors M91B and M92B, a latch circuit 3, an output buffer circuit 4, and a malfunction prevention circuit 5D.
[0096] The third embodiment differs from the fourth embodiment in that the conductivity types of transistors M1B to M12B, M91B, M92B, M93D, and M94D, which correspond to transistors M1 to M12, M91, M92, M93C, and M94C, are reversed. Another difference between the third embodiment and the fourth embodiment is that the relationship between the positive power supply terminal T21 and the negative power supply terminal T22 is reversed. In the fourth 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.
[0097] Also, the third embodiment differs from the fourth embodiment in the connection destination of the gates of transistors M91B, M92B, M93D, and M94D. In the third embodiment, the gates of transistors M91 and M93C are connected to the output of inverter 61, and the gates of transistors M92 and M94C are connected to the output of inverter 62. In the fourth embodiment, the gates of transistors M91B and M93D are connected to the output of delay circuit 71, and the gates of transistors M92B and M94D are connected to the output of delay circuit 72.
[0098] That is, even if the conductivity types of transistors M1B to M12B, M91B, M92B, M93D, and M94D 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 third embodiment by changing the connection destination of each gate of transistors M91B, M91B, M93D, and M94D.
[0099] Therefore, similar to the third embodiment, the fourth embodiment also has the effect of preventing malfunctions due to noise without increasing current consumption.
[0100] (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.
[0101] In the first to fourth 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."
[0102] In the first to fourth embodiments described above, the gates of the transistors M91(B) and M92(B) are supplied with delayed signals (S21, S22, S13, S14) obtained by delaying the signals S11 and S12 output from the latch circuit 3. However, this is not limitative. The gates of the transistors M91 and M92 may be supplied with signals that do not delay the signals S11 and S12. [Explanation of symbols]
[0103] 1,1B~1D Comparator 21,21B Differential input section 22, 22B Output section (first output section) 23, 23B Output section (second output section) 3 Latch Circuit 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, M1B Differential transistor (first differential transistor) M2, M2B Differential transistor (second differential transistor) M3, M3B Load transistor (third load transistor) M4, M4B Load transistor (fourth load transistor) M5, M5B transistor (fifth transistor) M6, M6B transistor (sixth transistor) M7, M7B transistor (seventh transistor) M8, M8B transistor (8th transistor) M9, M9B transistors (9th transistor, 1st folding circuit) M10, M10B transistors (10th transistor, 1st folding circuit) M11, M11B transistors (11th transistor, second folding circuit) M12, M12B transistors (12th transistor, 2nd folding circuit) M91, M91B transistors (first switch elements) M92, M92B Transistor (second switch element) M93, M93B to M93D transistors (third switching elements) M94, M94B to M94D transistors (fourth switching elements) 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 that blocks transmission of a signal from the first output section to the latch circuit; a fourth switch element that blocks transmission of a signal from the second output section to the latch circuit; 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 based on an output of the latch circuit to interrupt transmission of the signal in response to switching from the second state to the first state, and then to transmit the signal after a predetermined time has elapsed since switching from the first state to the second state; the fourth switch element is controlled based on the output of the latch circuit to cut off the voltage of the signal in response to switching from the first state to the second state, and then to transmit the signal after a certain 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 connected in series with the fifth transistor between the first power supply terminal and the first junction node; the fourth switch element is connected in series with the seventh transistor between the first power supply terminal and the second junction node; comparator.
4. 2. The comparator of claim 1, the third switch element is connected between the gate and source or between the base and emitter of the fifth transistor, the fourth switch element is connected between the gate and source or between the base and emitter of the seventh transistor; 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