Hysteresis comparator and chip

By adjusting the substrate voltage of the transistor in the hysteresis comparator and using the back gate effect of the MOS tube to reduce the conduction threshold, the problem of the hysteresis comparator identifying the input signal in the 1.2V logic input scenario is solved, and the system is realized under low voltage conditions. Work stably and efficiently under the hood, improving compatibility and performance.

CN118783931APending Publication Date: 2024-10-15SG MICRO HARBIN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410964074.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

It is difficult for existing hysteresis comparators to correctly identify input signals in 1.2V logic input scenarios, which limits their wide application in low-voltage application scenarios.

Method used

By adjusting the substrate voltage at the substrate end of the pull-up transistor and pull-down transistor, the back gate effect of the MOS tube is used to reduce the conduction threshold, ensuring that the hysteresis comparator operates stably and efficiently under the 1.2V logic input condition, and through the body control circuit Adjusting the substrate voltage introduces a hysteresis effect.

Benefits of technology

It achieves the normal operation of the hysteresis comparator under 1.2V logic input conditions, enhances compatibility, performance and noise tolerance, reduces circuit complexity, and meets the needs of low power consumption and high-performance signal processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118783931A_ABST
    Figure CN118783931A_ABST
Patent Text Reader

Abstract

The invention discloses a hysteresis comparator and a chip, and the hysteresis comparator comprises an inverting circuit which comprises a pull-up transistor and a pull-down transistor which are connected in series between a power voltage and the ground, the control ends of the pull-up transistor and the pull-down transistor are used for receiving an input signal, and an intermediate node of the pull-up transistor and the pull-down transistor is used for providing an output signal; the body control circuit is used for providing a first substrate voltage for the pull-down transistor and providing a second substrate voltage for the pull-down transistor, the first substrate voltage is larger than zero, and the second substrate voltage is smaller than the power supply voltage, so that the back gate effect of the MOS transistor is formed, and the conduction threshold values of the pull-up transistor and the pull-down transistor are reduced; therefore, the advantages of compatibility, performance, noise margin, design flexibility and the like can be brought. In addition, the body control circuit is further used for adjusting the first substrate voltage and the second substrate voltage according to the output signal to provide a hysteresis effect, and the required hysteresis characteristic can be achieved under the condition that the complexity of the circuit is not increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of integrated circuits, and more particularly to a hysteresis comparator and a chip. Background Art

[0002] As one of the common modules in mixed-signal integrated circuits, comparators are widely used in the field of digital-analog interface design to handle the comparison of various voltage or current signals. The quality of their design directly affects the performance of the system. Therefore, in order to enhance the anti-interference ability of the comparator, the comparator is often designed as a hysteresis comparator. The hysteresis comparator provides separate jump thresholds for the positive and reverse changes of the input signal, thereby eliminating the output error jump caused by noise interference and achieving a correct response to the noisy input signal.

[0003] Figure 1 FIG. 1 shows a circuit diagram of a conventional hysteresis comparator. Figure 1 As shown, the hysteresis comparator 100 has two thresholds, namely, a rising flip threshold and a falling flip threshold. In the process of the input signal Vin rising from a low level (such as the reference ground VSS) to a high level (such as the power supply voltage VDD), the input voltage that flips its output state is called the rising flip threshold; in the process of the input signal Vin falling from a high level (such as the power supply voltage VDD) to a low level (such as the reference ground VSS), the input voltage that flips its output state is called the falling flip threshold.

[0004] Existing hysteresis comparators are usually designed for higher logic level inputs, such as 3.3V or 5V. As electronic devices become smaller and the demand for low power consumption increases, more and more application scenarios require hysteresis comparators to handle lower logic level inputs, such as 1.2V logic inputs. However, under certain processes or low temperatures, due to the higher threshold of the MOS tube in the hysteresis comparator, its internal circuit design requires a higher voltage to drive. In the scenario of 1.2V logic input, the input logic level is generally low, so the existing hysteresis comparator cannot correctly identify the input signal.

[0005] Therefore, the existing hysteresis comparator has the problem of difficulty in correctly identifying the input signal when processing 1.2V logic input. These problems limit the wide application of hysteresis comparators in low-voltage application scenarios. There is an urgent need for a hysteresis comparator design that can work stably and efficiently under 1.2V logic input conditions to meet the needs of modern electronic devices for low-voltage, high-performance signal processing. Summary of the invention

[0006] In view of this, the purpose of the present invention is to provide a hysteresis comparator and chip, which utilizes the MOS tube back gate effect to adjust the substrate voltage at the substrate end of the pull-up transistor and the pull-down transistor of the hysteresis comparator so that the threshold voltage of the pull-up transistor and the pull-down transistor is reduced, thereby enabling the hysteresis comparator to work stably and efficiently under 1.2V logic input conditions. In addition, the MOS tube back gate effect is utilized to adjust the MOS threshold voltage so that the rising flip threshold is greater than the falling flip threshold, thereby realizing the hysteresis function to meet the needs of modern electronic equipment for low voltage and high performance signal processing.

[0007] According to one aspect of the present invention, there is provided a hysteresis comparator, comprising: an inverting circuit, comprising a pull-up transistor and a pull-down transistor connected in series between a power supply voltage and a ground, wherein the control ends of the pull-up transistor and the pull-down transistor are used to receive an input signal, and intermediate nodes of the pull-up transistor and the pull-down transistor are used to provide an output signal; and a body control circuit, connected to the substrates of the pull-down transistor and the pull-up transistor, and used to provide a first substrate voltage to the pull-down transistor and a second substrate voltage to the pull-up transistor, wherein the first substrate voltage is greater than zero and the second substrate voltage is less than the power supply voltage, so as to form a MOS tube back-gate effect in the pull-down transistor and the pull-up transistor, wherein the body control circuit is further used to adjust the first substrate voltage and the second substrate voltage according to the output signal to provide a hysteresis effect.

[0008] Optionally, when the output signal is in a first state, the first substrate voltage is a first voltage value, and the second substrate voltage is a second voltage value; when the output signal is in a second state, the first substrate voltage is a third voltage value, and the second substrate voltage is a fourth voltage value, wherein the first voltage value is smaller than the third voltage value, and the second voltage value is smaller than the fourth voltage value.

[0009] Optionally, the first state of the output signal is a logic high level, and the second state of the output signal is a logic low level.

[0010] Optionally, the low level voltage value of the input signal is 0.4V, and the high level voltage value of the input signal is 0.8V.

[0011] Optionally, the body control circuit includes: a first body control circuit connected to the substrate of the pull-down transistor, used to provide the first substrate voltage to the pull-down transistor and adjust the voltage value of the first substrate voltage according to the output signal; and a second body control circuit connected to the substrate of the pull-up transistor, used to provide the second substrate voltage to the pull-up transistor and adjust the voltage value of the second substrate voltage according to the output signal.

[0012] Optionally, the first body control circuit includes: a first current source and a first resistance module connected in series between the power supply voltage and ground, the intermediate node of the first current source and the first resistance module being connected to the substrate of the pull-down transistor to provide the first substrate voltage; and a first hysteresis transistor, the control end of the first hysteresis transistor being connected to the output signal, the first end of the first hysteresis transistor being connected to the first resistance module, the second end of the first hysteresis transistor and the substrate being connected to ground, wherein the first hysteresis transistor is used to adjust the equivalent resistance of the first resistance module according to the output signal to adjust the voltage value of the first substrate voltage.

[0013] Optionally, the second body control circuit includes: a second resistance module and a second current source connected in series between the power supply voltage and ground, the intermediate node of the second resistance module and the second current source being connected to the substrate of the pull-up transistor to provide the second substrate voltage; and a second hysteresis transistor, the control end of the second hysteresis transistor being connected to the output signal, the first end and the substrate of the second hysteresis transistor being connected to the power supply voltage, and the second end of the second hysteresis transistor being connected to the second resistance module, wherein the second hysteresis transistor is used to adjust the equivalent resistance of the second resistance module according to the output signal to adjust the voltage value of the second substrate voltage.

[0014] Optionally, the first resistance module and the second resistance module are implemented by using a resistance string.

[0015] Optionally, the pull-down transistor and the first hysteresis transistor are NMOS transistors, and the pull-up transistor and the second hysteresis transistor are PMOS transistors.

[0016] According to another aspect of the present invention, a chip is provided, comprising the above-mentioned hysteresis comparator.

[0017] To summarize, the hysteresis comparator of the embodiment of the present invention lowers its on-threshold by adjusting the substrate voltage of the pull-up transistor and the pull-down transistor through the body control circuit, so that it can work normally under the scenario of 1.2V logic input, making it compatible with more low-power and high-performance integrated circuits and meeting the needs of different application scenarios, thereby bringing many benefits such as compatibility, performance, noise tolerance and design flexibility.

[0018] In addition, the hysteresis comparator of the present invention can introduce a hysteresis effect in the circuit by adjusting the substrate voltage of the pull-up transistor and the pull-down transistor. Compared with the traditional method, it can achieve the desired hysteresis characteristics without increasing the complexity of the circuit and has the potential to improve reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings.

[0020] Figure 1 A circuit diagram of a conventional hysteresis comparator is shown.

[0021] Figure 2 A circuit diagram of a hysteresis comparator provided according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0022] The present invention will be described in more detail below with reference to the accompanying drawings. In each of the accompanying drawings, the same elements are represented by similar reference numerals. For the sake of clarity, the various parts in the accompanying drawings are not drawn to scale. In addition, some well-known parts may not be shown in the drawings.

[0023] Many specific details of the present invention are described below, such as component structures, materials, dimensions, processing techniques and technologies, in order to more clearly understand the present invention. However, as those skilled in the art will appreciate, the present invention may be implemented without following these specific details.

[0024] It should be understood that in the following description, a "circuit" may include a single or multiple combined hardware circuit, a programmable circuit, a state machine circuit and / or an element that can store instructions executed by a programmable circuit. When an element or circuit is said to be "connected to" another element or an element / circuit is said to be "connected between" two nodes, it can be directly coupled or connected to another element or there can be an intermediate element, and the connection between the elements can be physical, logical, or a combination thereof. On the contrary, when an element is said to be "directly coupled to" or "directly connected to" another element, it means that there is no intermediate element between the two.

[0025] In the present application, a MOS tube (Metal-Oxide-Semiconductor Field-Effect Transistor) includes a first end, a second end and a control end. When the MOS tube is in the on state, current flows from the first end to the second end. The first end, the second end and the control end of a PMOS tube are the source, the drain and the gate, respectively, and the first end, the second end and the control end of an NMOS tube are the drain, the source and the gate, respectively.

[0026] Figure 2 FIG. 2 shows a circuit diagram of a hysteresis comparator according to an embodiment of the present invention. Figure 2As shown, the hysteresis comparator 200 includes an inverter circuit 210 and a body control circuit 220. The inverter circuit 210 includes a pull-up transistor P1 and a pull-down transistor N1 connected in series between a power supply voltage VDD and a ground VSS. The pull-up transistor P1 is, for example, a PMOS transistor, and the pull-down transistor N1 is, for example, an NMOS transistor. Among them, the control ends of the pull-up transistor P1 and the pull-down transistor N1 are connected to the input signal Vin, the first end of the pull-up transistor P1 is connected to the power supply voltage VDD, the second end of the pull-down transistor N1 is connected to the ground VSS, the second end of the pull-up transistor P1 is connected to the first end of the pull-down transistor N1, and the intermediate node between the two is used to provide the output signal Vout. In the process of the input signal Vin rising from a low level (for example, the reference ground VSS) to a high level (for example, the power supply voltage VDD), when the input signal Vin is greater than the rising flip threshold, the output signal Vout flips from a high level to a low level; in the process of the input signal Vin falling from a high level to a low level, when the input signal Vin is less than the falling flip threshold, the output signal Vout flips from a low level to a high level.

[0027] Further, the rising flip threshold and the falling flip threshold of the hysteresis comparator 200 of the present embodiment are determined by the conduction thresholds of the pull-up transistor P1 and the pull-down transistor N1. For example, when the input signal Vin is at a low level, the pull-up transistor P1 is turned on and the pull-down transistor N1 is turned off, and at this time, the output signal Vout is pulled up to a high level by the pull-up transistor P1. When the input signal Vin rises from a low level to a high level, when the input signal Vin is greater than the conduction threshold of the pull-down transistor N1, the pull-down transistor N1 is turned on, and at this time, the output signal Vout is simultaneously pulled up by the pull-up transistor P1 and pulled down by the pull-down transistor N1. As the input signal Vin continues to rise, when the pull-down current of the pull-down transistor N1 is greater than the pull-up current of the pull-up transistor P1, the output signal Vout flips from a high level to a low level, and the voltage value of the input signal Vin at this time is called the "rising flip threshold" of the hysteresis comparator 200. Similarly, when the input signal Vin drops from a high level to a low level, when the input signal Vin is less than the turn-on threshold of the pull-up transistor P1, the pull-up transistor P1 is turned on. At this time, the output signal Vout is simultaneously affected by the pull-up action of the pull-up transistor P1 and the pull-down action of the pull-down transistor N1. As the input signal Vin continues to drop, when the pull-up current of the pull-up transistor P1 is greater than the pull-down current of the pull-down transistor N1, the output signal Vout flips from a low level to a high level. The voltage value of the input signal Vin at this time is called the "falling flip threshold" of the hysteresis comparator 200.

[0028] However, under normal circumstances, the conduction threshold of the NMOS tube is generally between 0.7V and 1.0V, while the conduction threshold of the PMOS tube is generally between -0.7V and -1.0V. It can be seen that when the hysteresis comparator 200 is applied to a 1.2V logic input scenario, the 1.2V logic input is usually used in low-power, high-performance integrated circuits (ICs) and systems, such as modern microprocessors, FPGAs (field programmable gate arrays) and ASICs (application-specific integrated circuits), which use 1.2V as the input signal of the logic level. In the 1.2V logic input, the logic high level is generally 0.8V, and the logic low level is generally 0.4V. Whether the input signal Vin is at a logic high level or a logic low level, the MOS tube in the inverter circuit 210 cannot be turned on normally, so the hysteresis comparator cannot correctly identify the input signal. Of course, in some existing practices, a MOS tube with a lower threshold voltage can be used to implement a hysteresis comparator, but this will greatly increase the cost of the circuit, which is not conducive to cost management.

[0029] In order to solve this problem, the hysteresis comparator 200 of this embodiment further includes a body control circuit 220, which is connected to the substrates of the pull-down transistor N1 and the pull-up transistor P1, and is used to provide a first substrate voltage VSUB1 to the pull-down transistor N1 and a second substrate voltage VSUB2 to the pull-up transistor P1, respectively, wherein the first substrate voltage VSUB1 is greater than zero and the second substrate voltage VSUB2 is less than the power supply voltage VDD, thereby forming a MOS tube back gate effect in the pull-down transistor N1 and the pull-up transistor P1, so that the turn-on thresholds of the pull-up transistor P1 and the pull-down transistor N1 can be reduced, so that the hysteresis comparator 200 can work normally in a 1.2V logic input scenario. In addition, the body control circuit 220 is also used to adjust the first substrate voltage VSUB1 of the pull-down transistor N1 and the second substrate voltage VSUB2 of the pull-up transistor P1 according to the output signal Vout, thereby providing a hysteresis effect in the circuit.

[0030] Furthermore, the body control circuit 220 of the present embodiment includes a first body control circuit 221 and a second body control circuit 222. The first body control circuit 221 is connected to the substrate of the pull-down transistor N1 to provide the first substrate voltage VSUB1 to the pull-down transistor N1, and adjusts the voltage value of the first substrate voltage VSUB1 according to the output signal Vout. The second body control circuit 222 is connected to the substrate of the pull-up transistor P1 to provide the second substrate voltage VSUB2 to the pull-up transistor P1, and adjusts the voltage value of the second substrate voltage VSUB2 according to the output signal Vout.

[0031] Specifically, the first body control circuit 221 includes a current source I1, a first resistor module 201 and a hysteresis transistor N2. The current source I1 and the first resistor module 201 are connected in series between the power supply voltage VDD and the ground VSS, and the node A1 between the current source I1 and the first resistor module 201 is connected to the substrate of the pull-down transistor N1 to provide the first substrate voltage VSUB1. The hysteresis transistor N2 is, for example, an NMOS transistor, whose control end is connected to the output signal Vout, the first end is connected to the first resistor module 201, and the second end and the substrate are connected to the ground VSS. The hysteresis transistor N2 is used to adjust the equivalent resistance of the first resistor module 201 according to the output signal Vout, thereby adjusting the voltage value of the first substrate voltage VSUB1. Further, the first resistor module 201 can be implemented by a resistor string composed of resistors R1 and R2, wherein the resistors R1 and R2 are connected in series between the node A1 and the ground VSS, and the middle node of the resistors R1 and R2 is connected to the first end of the hysteresis transistor N2. When the hysteresis transistor N2 is turned on, the resistor R2 is short-circuited by the hysteresis transistor N2, so the equivalent resistance of the first resistor module 201 is equal to the resistor R1; when the hysteresis transistor N2 is turned off, the equivalent resistance of the first resistor module 201 is equal to the sum of the resistors R1 and R2.

[0032] Specifically, the second body control circuit 222 includes a current source I2, a second resistor module 202, and a hysteresis transistor P2. The second resistor module 202 and the current source I2 are connected in series between the power supply voltage VDD and the ground VSS, and the node A2 between the second resistor module 202 and the current source I2 is connected to the substrate of the pull-up transistor P1 to provide the second substrate voltage VSUB2. The hysteresis transistor P2 is, for example, a PMOS transistor, whose control end is connected to the output signal Vout, the first end and the substrate are connected to the power supply voltage VDD, and the second end is connected to the second resistor module 202. The hysteresis transistor P2 is used to adjust the equivalent resistance of the second resistor module 202 according to the output signal Vout, thereby adjusting the voltage value of the second substrate voltage VSUB2. Further, the second resistor module 202 can be implemented by a resistor string composed of resistors R3 and R4, wherein the resistors R3 and R4 are connected in series between the power supply voltage VDD and the node A2, and the middle node of the resistors R3 and R4 is connected to the second end of the hysteresis transistor P2. When the hysteresis transistor P2 is turned on, the resistor R3 is short-circuited by the hysteresis transistor P2, so the equivalent resistance of the second resistor module 202 is equal to the resistor R4; when the hysteresis transistor P2 is turned off, the equivalent resistance of the second resistor module 202 is equal to the sum of the resistors R3 and R4.

[0033] The working principle of the hysteresis comparator 200 of this embodiment is as follows: when the input signal Vin is at a logic low level, the output signal Vout is at a logic high level, so the hysteresis transistor N2 is turned on, and the hysteresis transistor P2 is turned off. At this time, the current source I1 flows into the hysteresis transistor N2 through the resistor R1. Ignoring the on-resistance of the hysteresis transistor N2, the substrate voltage VSUB1 of the pull-down transistor N1 can be obtained at this time = I1*R1, where I1 is the output current of the current source I1. According to the back-gate effect of the MOS tube, it can be known that the conduction threshold Vth of the NMOS tube is not only a process constant, but also modulated by the substrate voltage VSUB, that is:

[0034]

[0035] Among them, V T0,n is the zero bias threshold voltage, that is, the threshold voltage when the substrate voltage is zero. n is the body effect parameter, also called body effect coefficient or substrate sensitivity factor, which depends on the process and transistor geometry. SUB1 is the substrate voltage. For NMOS tubes, this is the voltage of the body relative to the source. V fb,n is the body bias voltage, usually for NMOS tubes, V fb,n Close to the built-in potential of the N-type substrate. It can be seen that when the substrate voltage VSUB1 of the pull-down transistor N1 increases to I1*R1, according to the back gate effect of the MOS tube, the conduction threshold of the pull-down transistor N1 will be reduced, ensuring that when the input signal Vin is a logic high level of 0.8V, the pull-down transistor N1 can be turned on normally.

[0036] Similarly, since the hysteresis transistor P2 is turned off, the substrate voltage VSUB2 of the pull-up transistor P2 is VDD-I2*(R3+R4), where I2 is the output current of the current source I2. Since the formula between the conduction threshold Vth of the PMOS tube and the substrate voltage VSUB is:

[0037]

[0038] Among them, V T0,p is the zero bias threshold voltage, that is, the threshold voltage when the substrate voltage is zero. p is the body effect parameter, also called body effect coefficient or substrate sensitivity factor, which depends on the process and transistor geometry. SUB2 is the substrate voltage. For a PMOS tube, this is the voltage of the body relative to the source. V fb,p is the body bias voltage, usually for PMOS tubes, V fb,pClose to the built-in potential of the P-type substrate. It can be seen that when the substrate of the pull-up transistor P1 is reduced to VDD-I2*(R3+R4), the turn-on threshold of the pull-up transistor P1 will also be reduced, thereby ensuring that when the input signal Vin is a logic low level of 0.4V, the pull-up transistor P1 can be turned on normally.

[0039] When the input signal Vin is at a logic high level, the output signal Vout is at a logic low level, so the hysteresis transistor P2 is turned on, and the hysteresis transistor N2 is turned off. At this time, the hysteresis transistor P2 shorts the resistor R3. If the on-resistance of the hysteresis transistor P2 is ignored, the substrate voltage VSUB2 of the pull-up transistor P1 can be obtained as VDD-I2*R4, and the substrate voltage VSUB1 of the pull-down transistor N1 can be obtained as I1*(R1+R2). It can be seen that compared with the case when the input signal Vin is at a logic low level, when the input signal Vin is at a logic high level, the substrate voltages of the pull-up transistor P1 and the pull-down transistor N1 are both increased. According to the back gate effect, it can be obtained that the on-threshold of the pull-up transistor P1 is larger, and the on-threshold of the pull-down transistor N1 is smaller. Therefore, when the input signal Vin changes from a logic high level to a logic low level, the pull-up transistor P1 needs the input signal Vin to be reduced to a lower potential to pull up the output signal Vout, so a hysteresis effect is introduced in the circuit.

[0040] To summarize, the hysteresis comparator of the embodiment of the present invention lowers its on-threshold by adjusting the substrate voltage of the pull-up transistor and the pull-down transistor through the body control circuit, so that it can work normally under the scenario of 1.2V logic input, making it compatible with more low-power and high-performance integrated circuits and meeting the needs of different application scenarios, thereby bringing many benefits such as compatibility, performance, noise tolerance and design flexibility.

[0041] In addition, the hysteresis comparator of the present invention can introduce a hysteresis effect in the circuit by adjusting the substrate voltage of the pull-up transistor and the pull-down transistor. Compared with the traditional method, it can achieve the desired hysteresis characteristics without increasing the complexity of the circuit and has the potential to improve reliability.

[0042] In some other embodiments, the present invention further provides a chip, wherein the hysteresis comparator of the above embodiment is integrated in the chip, so that the chip can work normally under the scenario of 1.2V logic input.

[0043] It should be noted that although in this article, the device is described as a certain N-channel or P-channel device, or a certain N-type or P-type doped region, it can be understood by those skilled in the art that complementary devices can also be realized according to the present invention. It can be understood by those skilled in the art that the conductivity type refers to the mechanism by which the conduction occurs, such as conduction by holes or electrons, so the conductivity type does not involve the doping concentration but the doping type, such as P-type or N-type. It can be understood by those skilled in the art that the words "during", "when" and "when..." used in this article in connection with the operation of the circuit are not strict terms indicating the action that occurs immediately when the start-up action begins, but there may be some small but reasonable one or more delays between it and the reaction action initiated by the start-up action, such as various transmission delays, etc. The words "approximately" or "substantially" used in this article mean that the element value has a parameter that is expected to be close to the declared value or position. However, as is well known in the art, there are always slight deviations that make it difficult for the value or position to be strictly the declared value. It has been well established in the art that a deviation of at least ten percent (10%) (or at least twenty percent (20%) for semiconductor doping concentrations) is a reasonable deviation from the exact ideal goal described. When used in conjunction with a signal state, the actual voltage value or logic state (e.g., "1" or "0") of the signal depends on whether positive logic or negative logic is used.

[0044] In addition, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0045] According to the embodiments of the present invention as described above, these embodiments do not describe all the details in detail, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and changes can be made based on the above description. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can make good use of the present invention and the modified use based on the present invention. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A hysteresis comparator, comprising: An inverting circuit, comprising a pull-up transistor and a pull-down transistor connected in series between a power supply voltage and a ground, wherein control terminals of the pull-up transistor and the pull-down transistor are used to receive an input signal, and an intermediate node of the pull-up transistor and the pull-down transistor is used to provide an output signal; as well as a body control circuit connected to the substrates of the pull-down transistor and the pull-up transistor, and used to provide a first substrate voltage to the pull-down transistor and a second substrate voltage to the pull-up transistor, wherein the first substrate voltage is greater than zero and the second substrate voltage is less than the power supply voltage, so as to form a MOS tube back gate effect in the pull-down transistor and the pull-up transistor, The body control circuit is further configured to adjust the first substrate voltage and the second substrate voltage according to the output signal to provide a hysteresis effect.

2. The hysteresis comparator according to claim 1, wherein: When the output signal is in a first state, the first substrate voltage is a first voltage value, and the second substrate voltage is a second voltage value; When the output signal is in the second state, the first substrate voltage is a third voltage value, the second substrate voltage is a fourth voltage value, The first voltage value is smaller than the third voltage value, and the second voltage value is smaller than the fourth voltage value.

3. The hysteresis comparator according to claim 2, wherein: The first state of the output signal is a logic high level, and the second state of the output signal is a logic low level.

4. The hysteresis comparator according to claim 1, wherein: The voltage value of the low level of the input signal is 0.4V, and the voltage value of the high level of the input signal is 0.8V.

5. The hysteresis comparator according to claim 3, wherein: The body control circuit comprises: a first body control circuit connected to the substrate of the pull-down transistor, configured to provide the first substrate voltage to the pull-down transistor and adjust a voltage value of the first substrate voltage according to the output signal; and The second body control circuit is connected to the substrate of the pull-up transistor, and is used to provide the second substrate voltage to the pull-up transistor and adjust the voltage value of the second substrate voltage according to the output signal.

6. The hysteresis comparator according to claim 5, wherein: The first body control circuit comprises: a first current source and a first resistance module connected in series between the power supply voltage and ground, wherein an intermediate node between the first current source and the first resistance module is connected to a substrate of the pull-down transistor to provide the first substrate voltage; and a first hysteresis transistor, wherein a control terminal of the first hysteresis transistor is connected to the output signal, a first terminal of the first hysteresis transistor is connected to the first resistance module, and a second terminal of the first hysteresis transistor and a substrate are connected to ground; The first hysteresis transistor is used to adjust the equivalent resistance of the first resistance module according to the output signal, so as to adjust the voltage value of the first substrate voltage.

7. The hysteresis comparator according to claim 6, wherein: The second body control circuit comprises: a second resistance module and a second current source connected in series between the power supply voltage and ground, wherein an intermediate node between the second resistance module and the second current source is connected to a substrate of the pull-up transistor to provide the second substrate voltage; and a second hysteresis transistor, wherein a control terminal of the second hysteresis transistor is connected to the output signal, a first terminal and a substrate of the second hysteresis transistor are connected to the power supply voltage, and a second terminal of the second hysteresis transistor is connected to the second resistance module; The second hysteresis transistor is used to adjust the equivalent resistance of the second resistance module according to the output signal to adjust the voltage value of the second substrate voltage.

8. The hysteresis comparator according to claim 7, wherein: The first resistance module and the second resistance module are implemented by using a resistance string.

9. The hysteresis comparator according to claim 7, wherein: The pull-down transistor and the first hysteresis transistor are NMOS transistors, and the pull-up transistor and the second hysteresis transistor are PMOS transistors.

10. A chip comprising the hysteresis comparator according to any one of claims 1 to 9.