Receiver, memory, and control method of receiver

By introducing an output control circuit into the receiver, detecting the common mode level and clamping, the problem of differential signal glitches during the bias voltage establishment process is solved, and the reliability and stability of the memory is improved.

CN119132353AActive Publication Date: 2024-12-13CHANGXIN MEMORY TECH INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310665620.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-05
Publication Date
2024-12-13
Estimated Expiration
2043-06-05

Smart Images

  • Figure CN119132353A_ABST
    Figure CN119132353A_ABST
Patent Text Reader

Abstract

The invention provides a receiver, a memory and a control method of the receiver. The receiver comprises a pre-amplification circuit, a comparator and an output control circuit, the pre-amplification circuit is used for receiving an input signal and a reference signal, and converting the input signal into a first differential signal and a second differential signal based on the reference signal; the comparator is connected with the pre-amplification circuit and is used for comparing the first differential signal with the second differential signal and outputting a comparison signal; the output control circuit is connected with the pre-amplification circuit and the comparator, and is used for detecting the common-mode level of the first differential signal and the second differential signal, controlling the output of an output signal at a first logic level when the voltage value of the common-mode level is greater than or equal to a preset value, and controlling the output of the output signal at a second logic level when the voltage value of the common-mode level is less than the preset value. And controlling to output an output signal corresponding to the comparison signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of semiconductor technology, and in particular to a receiver, a memory, and a control method for the receiver. Background Art

[0002] In some memories, such as Low Power Double Data Rate SDRAM (LPDDR), multiple receivers corresponding to each channel usually share a bias voltage generation circuit. When the bias voltage generation circuit is turned on, the bias voltage (Vbias) starts to build up from 0 volts. Since the load network of Vbias is large, it takes a certain amount of time to build up. At this time, the receiver is already turned on. When the voltage value of Vbias is low, the bias current is large, and the differential signals generated in the receiver are all pulled to a high level, making the comparator output uncertain. At this time, the output of the comparator is prone to glitches, which may trigger certain commands and cause the memory to accidentally enter certain uncertain working modes. Summary of the invention

[0003] In view of this, the main purpose of the present application is to provide a receiver, a memory and a control method of the receiver.

[0004] To achieve the above purpose, the technical solution of this application is implemented as follows:

[0005] An embodiment of the present application provides a receiver, including a pre-amplifier circuit, a comparator and an output control circuit; the pre-amplifier circuit is used to receive an input signal and a reference signal, and convert the input signal into a first differential signal and a second differential signal based on the reference signal; the comparator is connected to the pre-amplifier circuit, used to compare the first differential signal with the second differential signal, and output a comparison signal; the output control circuit is connected to the pre-amplifier circuit and the comparator, used to detect the common mode level of the first differential signal and the second differential signal, and when the voltage value of the common mode level is greater than or equal to a preset value, control the output of an output signal at a first logic level, and when the voltage value of the common mode level is less than the preset value, control the output of the output signal corresponding to the comparison signal.

[0006] In some embodiments, the pre-amplification circuit is further configured to receive an enable signal, and when the enable signal is valid, convert the input signal into the first differential signal and the second differential signal.

[0007] In some embodiments, the pre-amplifier circuit includes a bias current generating circuit and a differential signal generating circuit; wherein the bias current generating circuit is used to receive the enable signal and the bias voltage signal, and when the enable signal is valid, generates and outputs a bias current according to the bias voltage signal; the differential signal generating circuit is connected to the bias current generating circuit, and is used to receive the bias current, the input signal and the reference signal, and under the control of the bias current, generates and outputs the first differential signal and the second differential signal according to the input signal and the reference signal.

[0008] In some embodiments, the output control circuit includes a common-mode detection circuit and a logic operation circuit; wherein the common-mode detection circuit is connected to the pre-amplifier circuit, and is used to receive the first differential signal and the second differential signal, and detect the common-mode level of the first differential signal and the second differential signal, and generate and output a clamp signal according to the common-mode level; when the voltage value of the common-mode level is greater than or equal to the preset value, the clamp signal at a valid level is output; when the voltage value of the common-mode level is less than the preset value, the clamp signal at an invalid level is output; the logic operation circuit is connected to the common-mode detection circuit and the comparator, and is used to perform a logic operation on the comparison signal and the clamp signal, and generate and output the output signal; wherein, when the clamp signal is at a valid level, the output signal at the first logic level is generated and output, and when the clamp signal is at an invalid level, the output signal corresponding to the comparison signal is generated and output.

[0009] In some embodiments, the common mode detection circuit includes a detection circuit, an output circuit and a feedback circuit; the detection circuit is used to receive the enable signal, the first differential signal and the second differential signal, and when the enable signal is valid, detect the common mode level of the first differential signal and the second differential signal, and output the common mode level from the output end of the detection circuit; when the enable signal is invalid, the output end of the detection circuit is set to a second logic level; the output circuit is connected to the detection circuit, and is used to receive the common mode level, and when the voltage value of the common mode level is greater than or equal to the preset value, the clamp signal at a valid level is output; when the voltage value of the common mode level is less than the preset value, the clamp signal at an invalid level is output; the feedback circuit is connected to the detection circuit and the output circuit, and is used to receive the clamp signal, and when the clamp signal is at an invalid level, the output end of the detection circuit is set to a third logic level; wherein the voltage value of the second logic level is higher than the preset value, and the voltage value of the third logic level is lower than the preset value.

[0010] In some embodiments, the detection circuit is further configured to receive the clamp signal, and stop detecting the common mode level of the first differential signal and the second differential signal when the clamp signal is at an invalid level.

[0011] In some embodiments, the detection circuit includes an input circuit, a voltage divider detection circuit, an isolation circuit and a reset circuit; the input circuit is used to receive the clamp signal, the first differential signal and the second differential signal, and when the clamp signal is at a valid level, the first differential signal and the second differential signal are output to the voltage divider detection circuit; when the clamp signal is at an invalid level, the first differential signal and the second differential signal are stopped from being output; the voltage divider detection circuit is coupled to the input circuit, and is used to receive the first differential signal and the second differential signal, perform voltage divider detection on the first differential signal and the second differential signal to obtain the common mode level, and output the common mode level from the output end of the detection circuit; the isolation circuit is connected between the input circuit and the voltage divider detection circuit, and is used to receive the enable signal, and when the enable signal is invalid, isolate the input circuit from the voltage divider detection circuit; the reset circuit is connected to the voltage divider detection circuit, and is used to receive the enable signal, and when the enable signal is invalid, sets the output end of the detection circuit to the second logic level.

[0012] In some embodiments, the input circuit includes a first PMOS tube and a second PMOS tube, the gates of the first PMOS tube and the second PMOS tube are both used to receive the clamping signal, the source of the first PMOS tube is used to receive the first differential signal, the source of the second PMOS tube is used to receive the second differential signal, and the drain of the first PMOS tube and the drain of the second PMOS tube are both connected to the isolation circuit.

[0013] In some embodiments, the isolation circuit includes a third PMOS tube and a fourth PMOS tube, the gates of the third PMOS tube and the fourth PMOS tube are used to receive the enable signal, the source of the third PMOS tube is connected to the drain of the first PMOS tube, the source of the fourth PMOS tube is connected to the drain of the second PMOS tube, and the drain of the third PMOS tube and the drain of the fourth PMOS tube are both connected to the voltage divider detection circuit.

[0014] In some embodiments, the voltage divider detection circuit includes a first resistor and a second resistor, the first end of the first resistor is connected to the drain of the third PMOS tube, the first end of the second resistor is connected to the drain of the fourth PMOS tube, and the connection node between the second end of the first resistor and the second end of the second resistor is the output end of the detection circuit.

[0015] In some embodiments, the reset circuit includes a fifth PMOS tube, the gate of the fifth PMOS tube is used to receive an inverted enable signal corresponding to the enable signal, the source of the fifth PMOS tube is connected to the power supply voltage, and the drain of the fifth PMOS tube is connected to the output end of the detection circuit.

[0016] In some embodiments, the output circuit includes a sixth PMOS tube and a first NMOS tube, the gates of the sixth PMOS tube and the first NMOS tube are both connected to the output end of the detection circuit, the source of the sixth PMOS tube is connected to the power supply voltage, the drain of the sixth PMOS tube is connected to the source of the first NMOS tube, the connection between the drain of the sixth PMOS tube and the source of the first NMOS tube forms the clamping signal, and the drain of the first NMOS tube is connected to the ground end.

[0017] In some embodiments, the feedback circuit includes a second NMOS tube, a gate of the second NMOS tube is used to receive the clamping signal, a source of the second NMOS tube is connected to the output end of the detection circuit, and a drain of the second NMOS tube is connected to the ground end.

[0018] In some embodiments, the effective level of the clamp signal is a low level, and the first logic level is a low level; the logic operation circuit includes an AND gate, and the two input ends of the AND gate are respectively used to receive the comparison signal and the clamp signal, and the output end of the AND gate is used to output the output signal.

[0019] In some embodiments, the bias current generating circuit includes a seventh PMOS tube and an eighth PMOS tube, the gate of the seventh PMOS tube receives the enable signal, the source of the seventh PMOS tube is connected to the power supply voltage, the gate of the eighth PMOS tube receives the bias voltage signal, the source of the eighth PMOS tube is connected to the drain of the seventh PMOS tube, and the drain of the eighth PMOS tube is connected to the differential signal generating circuit to output the bias current.

[0020] In some embodiments, the differential signal generating circuit includes a ninth PMOS tube, a tenth PMOS tube, a third resistor and a fourth resistor, the sources of the ninth PMOS tube and the tenth PMOS tube are both connected to the drain of the eighth PMOS tube, the gate of the ninth PMOS tube is used to receive the input signal, the gate of the tenth PMOS tube is used to receive the reference signal, the first end of the third resistor is connected to the drain of the ninth PMOS tube, the second end of the third resistor is connected to the ground, the first end of the fourth resistor is connected to the drain of the tenth PMOS tube, and the second end of the fourth resistor is connected to the ground; wherein, the drain of the ninth PMOS tube is used to output the first differential signal, and the drain of the tenth PMOS tube is used to output the second differential signal.

[0021] An embodiment of the present application provides a memory including the above-mentioned receiver.

[0022] The embodiment of the present application further provides a control method of a receiver, wherein the receiver includes a pre-amplifier circuit, a comparator, and an output control circuit, wherein the comparator is connected to the pre-amplifier circuit, and the output control circuit is connected to the pre-amplifier circuit and the comparator; the method includes:

[0023] The pre-amplification circuit receives an input signal and a reference signal, and converts the input signal into a first differential signal and a second differential signal based on the reference signal;

[0024] The comparator compares the first differential signal with the second differential signal and outputs a comparison signal;

[0025] The output control circuit detects the common mode level of the first differential signal and the second differential signal, and when the voltage value of the common mode level is greater than or equal to a preset value, controls the output of an output signal at a first logic level, and when the voltage value of the common mode level is less than the preset value, controls the output of the output signal corresponding to the comparison signal.

[0026] A receiver provided in an embodiment of the present application includes a pre-amplifier circuit, a comparator, and an output control circuit; the pre-amplifier circuit is used to receive an input signal and a reference signal, and convert the input signal into a first differential signal and a second differential signal based on the reference signal; the comparator is connected to the pre-amplifier circuit, and is used to compare the first differential signal and the second differential signal, and output a comparison signal; the output control circuit is connected to the pre-amplifier circuit and the comparator, and is used to detect the common mode level of the first differential signal and the second differential signal, and when the voltage value of the common mode level is greater than or equal to a preset value, control the output of an output signal at a first logic level, and when the voltage value of the common mode level is less than the preset value When the voltage value of the common mode level is less than the preset value, the comparator can work normally, and the output signal corresponding to the comparison signal is controlled to be output. In this way, the risk of the semiconductor device in which the receiver is located accidentally entering certain uncertain working modes when the voltage value of the bias voltage is low can be reduced, thereby improving the reliability of the semiconductor device. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A schematic diagram of connecting a bias voltage generating circuit and a receiver in the related art;

[0028] Figure 2 is a schematic diagram of the variation of bias voltage over time in the related art;

[0029] Figure 3 A schematic diagram of the connection between a pre-amplifier circuit and a comparator in the related art;

[0030] Figure 4 A schematic diagram of the structure of a receiver provided in an embodiment of the present application;

[0031] Figure 5 A schematic diagram of the specific structure of the common mode detection circuit provided in the embodiment of the present application;

[0032] Figure 6 A flowchart of a control method for a receiver provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] The technical solution of the present application is further elaborated in detail below in conjunction with the accompanying drawings and specific embodiments of the specification.

[0034] Figure 1 FIG. 1 is a schematic diagram of connecting a bias voltage generating circuit to a receiver in the related art, such as Figure 1As shown, in some memories, such as low power double data rate memories, multiple receivers (receiver 1, receiver 2, ..., receiver n) corresponding to each channel usually share a bias voltage generating circuit. The bias voltage generating circuit is turned off in power down mode and turned on when exiting power down mode.

[0035] It should be noted that the EN signal received by the bias voltage generating circuit and the EN signal received by the receiver share the same signal. In order to save power consumption, in shutdown mode, the bias voltage generating circuit and the receiver are both turned off. Exemplarily, when EN=0, the shutdown mode is entered; when EN=1, the shutdown mode is exited, where "0" represents a logic low level and "1" represents a logic high level.

[0036] like Figure 2 As shown in FIG. 1 , it is a schematic diagram of the change of the bias voltage Vbias with time txp in the related art. When EN jumps from "0" to "1" at time T1, the bias voltage generating circuit and the receiver both exit the shutdown mode, that is, the bias voltage generating circuit and the receiver are both turned on. At this time, Vbias starts to build up from 0 volts. Since the load network of Vbias is large, it takes a certain amount of time to build up.

[0037] like Figure 3 As shown, it is a schematic diagram of the connection between the pre-amplifier circuit 10 and the comparator 20 in the related art, EN_n is the inverted signal of EN, when EN=1, EN_n=0, and MP7 is turned on. Since the load network of Vbias is large, it takes a certain time to establish Vbias. When the voltage value of Vbias is low, the common node m above MP9 and MP10 is pulled high (close to the voltage value of the power supply voltage VCC), the bias current of the input signal inp branch and the reference signal Vref branch are relatively large, and the generated first differential signal out1_p and the second differential signal out1_n are both pulled to a high level, so that the comparator 20 exceeds the working range and cannot be compared normally, making the output of the comparator 20 uncertain, that is, the output of the comparator 20 is prone to burrs, which may trigger certain commands, causing the low-power double data rate memory to accidentally enter certain uncertain working modes.

[0038] like Figure 4As shown, it is a schematic diagram of the composition structure of the receiver provided in an embodiment of the present application, and the receiver includes a pre-amplifier circuit 10, a comparator 20 and an output control circuit 30; the pre-amplifier circuit 10 is used to receive an input signal inp and a reference signal Vref, and convert the input signal inp into a first differential signal out1_p and a second differential signal out1_n based on the reference signal Vref; the comparator 20 is connected to the pre-amplifier circuit 10, and is used to compare the first differential signal out1_p and the second differential signal out1_n, and output a comparison signal Vout1; the output control circuit 30 is connected to the pre-amplifier circuit 10 and the comparator 20, and is used to detect the common mode level of the first differential signal out1_p and the second differential signal out1_n, and when the voltage value of the common mode level is greater than or equal to a preset value, control the output of an output signal Vout2 at a first logic level, and when the voltage value of the common mode level is less than the preset value, control the output of the output signal Vout2 corresponding to the comparison signal Vout1.

[0039] It can be understood that the present application detects the common-mode level of the first differential signal out1_p and the second differential signal out1_n by adding an output control circuit 30 in the receiver. When the voltage value of the common-mode level is greater than or equal to the preset value, the output is clamped to control the output of the output signal Vout2 at the first logic level without generating glitches; when the voltage value of the common-mode level is less than the preset value, the comparator 20 can work normally and control the output of the output signal Vout2 corresponding to the comparison signal Vout1. In this way, the risk of the semiconductor device in which the receiver is located accidentally entering certain uncertain working modes when the voltage value of the bias voltage Vbias is low (resulting in a high common-mode level of the differential signal) can be reduced, thereby improving the reliability of the semiconductor device. Here, the semiconductor device in which the receiver is located includes but is not limited to a memory. The following description takes the memory as an example for ease of understanding.

[0040] It should be noted that the common mode level refers to the common part of the two signals, that is, the part of the first differential signal out1_p and the second differential signal out1_n with the same amplitude and phase. The preset value can be set in combination with the actual working parameters of the comparator 20. Specifically, the preset value is the critical value of the comparator 20 working in the linear state and the nonlinear state, which can be obtained through relevant test experiments.

[0041] It should be noted that when the voltage value of the common-mode level is less than the preset value, the output signal Vout2 is a signal corresponding to the comparison signal Vout1, and the signal corresponding to the comparison signal Vout1 here can be the comparison signal Vout1 or a signal converted according to the comparison signal Vout1 (for example, an inverted comparison signal corresponding to the comparison signal Vout1).

[0042] In some embodiments, the pre-amplifier circuit 10 is further configured to receive an enable signal EN_n, and when the enable signal EN_n is valid, convert the input signal inp into the first differential signal out1_p and the second differential signal out1_n.

[0043] In some embodiments, the pre-amplifier circuit 10 includes a bias current generating circuit 101 and a differential signal generating circuit 102; wherein the bias current generating circuit 101 is used to receive the enable signal EN_n and the bias voltage Vbias signal, and when the enable signal EN_n is valid, generates and outputs a bias current according to the bias voltage Vbias signal; the differential signal generating circuit 102 is connected to the bias current generating circuit 101, and is used to receive the bias current, the input signal inp and the reference signal Vref, and under the control of the bias current, generates and outputs the first differential signal out1_p and the second differential signal out1_n according to the input signal inp and the reference signal Vref.

[0044] It can be understood that the bias current generating circuit 101 is used to provide a bias current to the differential signal generating circuit 102 when the enable signal EN_n is valid; when the bias current generating circuit 101 provides the bias current, the differential signal generating circuit 102 generates and outputs a first differential signal out1_p and a second differential signal out1_n according to the input signal inp and the reference signal Vref.

[0045] In some embodiments, the enable signal EN_n is active at a low level. Figure 4 As shown, the bias current generating circuit 101 includes a seventh PMOS tube MP7 and an eighth PMOS tube MP8, the gate of the seventh PMOS tube MP7 receives the enable signal EN_n, the source of the seventh PMOS tube MP7 is connected to the power supply voltage VCC, the gate of the eighth PMOS tube MP8 receives the bias voltage Vbias signal, the source of the eighth PMOS tube MP8 is connected to the drain of the seventh PMOS tube MP7, and the drain of the eighth PMOS tube MP8 is connected to the differential signal generating circuit 102 to output the bias current.

[0046] It can be understood that when the enable signal EN_n is at a low level ("0"), the inverted enable signal EN is "1", the bias voltage generating circuit and the receiver are both turned on, the seventh PMOS tube MP7 is turned on, and the bias voltage Vbias is established from 0 volts. When the bias voltage Vbias is low, the bias current flowing into the differential signal generating circuit 102 is larger.

[0047] In some embodiments, Figure 4 As shown, the differential signal generating circuit 102 includes a ninth PMOS transistor MP9, a tenth PMOS transistor MP10, a third resistor R3 and a fourth resistor R4, the sources of the ninth PMOS transistor MP9 and the tenth PMOS transistor MP10 are both connected to the drain of the eighth PMOS transistor MP8, the gate of the ninth PMOS transistor MP9 is used to receive the input signal inp, the gate of the tenth PMOS transistor MP10 is used to receive the reference signal Vref, the first end of the third resistor R3 is connected to the drain of the ninth PMOS transistor MP9, the second end of the third resistor R3 is connected to the ground terminal VSS, the first end of the fourth resistor R4 is connected to the drain of the tenth PMOS transistor MP10, and the second end of the fourth resistor R4 is connected to the ground terminal VSS; wherein the drain of the ninth PMOS transistor MP9 is used to output the first differential signal out1_p, and the drain of the tenth PMOS transistor MP10 is used to output the second differential signal out1_n.

[0048] It can be understood that when the bias voltage Vbias is low, the bias current output by the bias current generating circuit 101 is relatively large, and the bias current flowing through the ninth PMOS tube MP9 branch and the tenth PMOS tube MP10 branch are both relatively large, and the generated first differential signal out1_p and the second differential signal out1_n are both pulled to a high level, so that the comparator 20 exceeds the working range and cannot be compared normally, so that the output of the comparator 20 is uncertain, that is, the output of the comparator 20 is irrelevant to the input signal inp, and the output value is different each time, so that the memory accidentally enters some uncertain working mode. When the bias voltage Vbias is established, the bias current output by the bias current generating circuit 101 is relatively reduced, so that the first differential signal out1_p and the second differential signal out1_n generated by the differential signal generating circuit 102 are both pulled to a low level, and the comparator 20 can work normally and the signal can flow normally.

[0049] It should be noted that the input signal inp is generally sent by a system on chip (System on Chip, SOC) or a memory physical layer (Physical Layer, PHY), and is sent to the receiver pre-amplifier circuit 10 through a printed circuit board. The input signal inp is a small swing signal with a low common mode point, and the common mode level of the input signal inp is variable, which is 150mv±100mv or 200mv±100mv. The first differential signal out1_p and the second differential signal out1_n converted according to the input signal inp have a certain voltage value and swing. The voltage value of the first differential signal out1_p is jointly determined by the current value flowing through the ninth PMOS tube MP9 and the resistance value of the third resistor R3, and the voltage value of the second differential signal out1_n is jointly determined by the current value flowing through the tenth PMOS tube MP10 and the resistance value of the fourth resistor R4.

[0050] It can be understood that in the receiver provided in the embodiment of the present application, the pre-amplifier circuit 10 converts the input signal inp with an uncertain external common mode point into a first differential signal out1_p and a second differential signal out1_n with a determined internal common mode point; the comparator 20 is a gain stage, which can operate under relatively fixed input conditions to achieve a larger gain. When the voltage value of the first differential signal out1_p is greater than the voltage value of the second differential signal out1_n, the comparator 20 outputs a high level; when the voltage value of the first differential signal out1_p is less than the voltage value of the second differential signal out1_n, the comparator 20 outputs a low level.

[0051] It should be noted that the input signal inp is converted into a logic level signal after passing through the receiver, and the logic level signal can be used to decode commands, control the working mode of the memory, etc.

[0052] In some embodiments, the output control circuit 30 includes a common-mode detection circuit 301 and a logic operation circuit 302; wherein the common-mode detection circuit 301 is connected to the pre-amplifier circuit 10, and is used to receive the first differential signal out1_p and the second differential signal out1_n, and detect the common-mode level of the first differential signal out1_p and the second differential signal out1_n, and generate and output a clamp signal En_int according to the common-mode level; when the voltage value of the common-mode level is greater than or equal to the preset value, the clamp signal En_int at the effective level is output; when the voltage value of the common-mode level is greater than or equal to the preset value, the clamp signal En_int at the effective level is output; When the voltage value is less than the preset value, the clamp signal at an invalid level is output; the logic operation circuit 302 is connected to the common mode detection circuit 301 and the comparator 20, and is used to perform logic operations on the comparison signal Vout1 and the clamp signal En_int, and generate and output the output signal Vout2; wherein, when the clamp signal En_int is at a valid level, the output signal Vout2 at the first logic level is generated and output, and when the clamp signal En_int is at an invalid level, the output signal Vout2 corresponding to the comparison signal Vout1 is generated and output.

[0053] Specifically, when the clamp signal En_int is at a valid level, that is, when the voltage value of the common mode level is greater than or equal to the preset value, the value of the comparison signal Vout1 output by the comparator 20 is uncertain, which is prone to burrs, causing the memory to enter an uncertain working mode. At this time, the output of the logic operation circuit 302 is clamped by the clamp signal En_int, so that the output signal Vout2 output by the logic operation circuit 302 is at a first logic level, which can avoid the generation of burrs. When the clamp signal En_int is at an invalid level, that is, when the voltage value of the common mode level is less than the preset value, the comparator 20 can work normally. At this time, the output of the logic operation circuit 302 is released by the clamp signal En_int, so that the output signal Vout2 output by the logic operation circuit 302 is a signal corresponding to the comparison signal Vout1, and the signal can flow normally.

[0054] It should be noted that the invalid level and the valid level include: the invalid level is a low level ("0"), and the valid level is a high level ("1"); or, the invalid level is a high level ("1"), and the valid level is a low level ("0"). In some embodiments, the valid level of the clamp signal En_int is a low level ("0"), and the first logic level is a low level ("0"); the logic operation circuit 302 includes an AND gate 3021, and the two input terminals of the AND gate 3021 are respectively used to receive the comparison signal Vout1 and the clamp signal En_int, and the output terminal of the AND gate 3021 is used to output the output signal Vout2.

[0055] Specifically, when the logic operation circuit 302 includes the AND gate 3021 , the truth table of each signal in the logic operation circuit 302 is as shown in Table 1, where “0” represents a logic low level and “1” represents a logic high level.

[0056] Table 1

[0057]

[0058] It can be understood that when the logic operation circuit 302 includes the AND gate 3021, when the value of the clamp signal En_int is "0", no matter the value of the comparison signal Vout1 is "0" or "1", the value of the output signal Vout2 is "0", that is, the output of the logic operation circuit 302 is clamped to the first logic level ("0"). When the value of the clamp signal En_int is "1", if the value of the comparison signal Vout1 is "0", the value of the output signal Vout2 is "0"; if the value of the comparison signal Vout1 is "1", the value of the output signal Vout2 is "1", that is, the output signal Vout2 is a signal corresponding to the comparison signal Vout1 (that is, the comparison signal Vout1 itself).

[0059] It is understandable that in Table 1, an example is given with the valid level being "0" and the invalid level being "1". The present application is not limited thereto. In other embodiments, the valid level may be "1" and the invalid level may be "0". At this time, in order to achieve the corresponding logic control function, the logic operation circuit 302 may include other logic gates or a combination of other logic gates other than the AND gate 3021, such as a combination of a NOT gate and an AND gate 3021. The clamp signal En_int is connected to one input terminal of the AND gate 3021 after passing through the NOT gate, the comparison signal Vout1 is connected to the other input terminal of the AND gate 3021, and the output terminal of the AND gate outputs the output signal Vout2.

[0060] Next, see Figure 5, is a schematic diagram of a specific structure of a common-mode detection circuit 301 provided in an embodiment of the present application, wherein the common-mode detection circuit 301 includes a detection circuit 303, an output circuit 35, and a feedback circuit 36; the detection circuit 303 is used to receive the enable signal EN_n, the first differential signal out1_p, and the second differential signal out1_n, and when the enable signal EN_n is valid, detect the common-mode level of the first differential signal out1_p and the second differential signal out1_n, and output the common-mode level from the output terminal Vout3 of the detection circuit 303; when the enable signal EN_n is invalid, set the output terminal Vout3 of the detection circuit 303 to a second logic level; the output circuit 35 is used to receive the enable signal EN_n, the first differential signal out1_p, and the second differential signal out1_n, and output the common-mode level from the output terminal Vout3 of the detection circuit 303; when the enable signal EN_n is invalid, set the output terminal Vout3 of the detection circuit 303 to a second logic level; 35 is connected to the detection circuit 303, and is used to receive the common mode level. When the voltage value of the common mode level is greater than or equal to the preset value, the clamp signal En_int at the valid level is output; when the voltage value of the common mode level is less than the preset value, the clamp signal En_int at the invalid level is output; the feedback circuit 36 ​​is connected to the detection circuit 303 and the output circuit 35, and is used to receive the clamp signal En_int, and when the clamp signal En_int is at the invalid level, the output terminal Vout3 of the detection circuit 303 is set to a third logic level; wherein the voltage value of the second logic level is higher than the preset value, and the voltage value of the third logic level is lower than the preset value.

[0061] It can be understood that when the enable signal EN_n is invalid, the output terminal Vout3 of the detection circuit 303 is set to the second logic level, and the voltage value of the second logic level is higher than the preset value, and the output circuit 35 outputs the clamping signal En_int at the valid level. The clamping signal En_int at the valid level clamps the output of the logic operation circuit 302, so that the output signal Vout2 output by the logic operation circuit 302 is at the first logic level, which can avoid the generation of glitches.

[0062] It can be understood that when the clamp signal En_int is at an invalid level, the output terminal Vout3 of the detection circuit 303 is set to a third logic level, and the voltage value of the third logic level is lower than the preset value, and the output circuit 35 continues to output the clamp signal En_int at an invalid level, forming a positive feedback, and maintaining the output terminal Vout3 of the detection circuit 303 at the third logic level.

[0063] In some embodiments, the detection circuit 303 is further configured to receive the clamp signal En_int, and stop detecting the common mode level of the first differential signal out1_p and the second differential signal out1_n when the clamp signal En_int is at an invalid level.

[0064] It is understandable that when the clamp signal En_int is at an invalid level, that is, the voltage value of the common mode level is less than the preset value, the comparator 20 can work normally. At this time, the common mode level of the first differential signal out1_p and the second differential signal out1_n can be stopped from being detected.

[0065] In some embodiments, the detection circuit 303 includes an input circuit 31, a voltage division detection circuit 32, an isolation circuit 34 and a reset circuit 33; the input circuit 31 is used to receive the clamp signal En_int, the first differential signal out1_p and the second differential signal out1_n, and when the clamp signal En_int is at a valid level, output the first differential signal out1_p and the second differential signal out1_n to the voltage division detection circuit 32; when the clamp signal En_int is at an invalid level, stop outputting the first differential signal out1_p and the second differential signal out1_n; the voltage division detection circuit 32 is coupled to the input circuit 31, and is used to receive the first differential signal out1 _p and the second differential signal out1_n, perform voltage division detection on the first differential signal out1_p and the second differential signal out1_n to obtain the common mode level, and output the common mode level from the output terminal Vout3 of the detection circuit 303; the isolation circuit 34 is connected between the input circuit 31 and the voltage division detection circuit 32, for receiving the enable signal EN_n, and when the enable signal EN_n is invalid, isolates the input circuit 31 from the voltage division detection circuit 32; the reset circuit 33 is connected to the voltage division detection circuit 32, for receiving the enable signal EN_n, and when the enable signal EN_n is invalid, sets the output terminal Vout3 of the detection circuit 303 to the second logic level.

[0066] It can be understood that in this embodiment, when the enable signal EN_n is invalid or disabled (EN_n=1), the inverted enable signal EN=0, that is, the receiver is in the shutdown mode, the reset circuit 33 is turned on, and the output terminal Vout3 of the detection circuit 303 is provided with an initial voltage value (second logic level) through the reset circuit 33; the reset circuit 33 is isolated from the input circuit 31 through the isolation circuit 34 to prevent the detection circuit 303 from leaking in the shutdown mode; according to the voltage value of the output terminal Vout3 of the detection circuit 303, the clamping signal En_int output by the output circuit 35 is controlled to be a valid level ("0"), so that the output of the output control circuit 30 is clamped to avoid glitches; when the clamping signal En_int is at a valid level, the input circuit 31 is controlled to be turned on and start receiving the first differential signal out1_p and the second differential signal out1_n.

[0067] Then, the control enable signal EN_n is valid (EN_n=0), the inverted enable signal EN=1, so that the bias voltage generating circuit and the receiver both exit the shutdown mode, the reset circuit 33 is turned off, and the first differential signal out1_p and the second differential signal out1_n are generated through the pre-amplifier circuit 10; the AC component (AC value) of the first differential signal out1_p and the second differential signal out1_n is filtered out through the voltage divider detection circuit 32, and the DC component (DC value) of the first differential signal out1_p and the second differential signal out1_n is retained; since the bias voltage Vbias is established from 0 volts, the bias voltage Vbias is small in the initial stage of establishment. The bias current is relatively large. During the establishment process, the bias voltage Vbias gradually increases and tends to be stable, so that the bias current gradually decreases. The voltage value of the common-mode level of the first differential signal out1_p and the second differential signal out1_n will decrease accordingly, until the clamp signal En_int output by the output circuit 35 jumps from the valid level to the invalid level, the control input circuit 31 is turned off, and the first differential signal out1_p and the second differential signal out1_n are stopped; when the clamp signal En_int jumps from the valid level to the invalid level, the control feedback circuit 36 ​​is turned on to form a positive feedback, so as to maintain the output terminal Vout3 of the detection circuit 303 at the third logic level.

[0068] Specifically, in some embodiments, the input circuit 31 includes a first PMOS tube MP1 and a second PMOS tube MP2, the gates of the first PMOS tube MP1 and the second PMOS tube MP2 are both used to receive the clamping signal En_int, the source of the first PMOS tube MP1 is used to receive the first differential signal out1_p, the source of the second PMOS tube MP2 is used to receive the second differential signal out1_n, and the drain of the first PMOS tube MP1 and the drain of the second PMOS tube MP2 are both connected to the isolation circuit 34.

[0069] It can be understood that the gates of the first PMOS tube MP1 and the second PMOS tube MP2 are both used to receive the clamp signal En_int, that is, the opening and closing of the input circuit 31 is determined by the voltage value of the clamp signal En_int. When the clamp signal En_int is at a valid level, the first PMOS tube MP1 and the second PMOS tube MP2 are turned on to receive the first differential signal out1_p and the second differential signal out1_n; when the clamp signal En_int is at an invalid level, the first PMOS tube MP1 and the second PMOS tube MP2 are turned off to stop receiving the first differential signal out1_p and the second differential signal out1_n.

[0070] In some embodiments, the isolation circuit 34 includes a third PMOS tube MP3 and a fourth PMOS tube MP4, the gates of the third PMOS tube MP3 and the fourth PMOS tube MP4 are both used to receive the enable signal EN_n, the source of the third PMOS tube MP3 is connected to the drain of the first PMOS tube MP1, the source of the fourth PMOS tube MP4 is connected to the drain of the second PMOS tube MP2, and the drain of the third PMOS tube MP3 and the drain of the fourth PMOS tube MP4 are both connected to the voltage divider detection circuit 32.

[0071] It can be understood that the gates of the third PMOS tube MP3 and the fourth PMOS tube MP4 are both used to receive the enable signal EN_n, that is, the opening and closing of the isolation circuit 34 is determined by the voltage value of the enable signal EN_n. When the enable signal EN_n is invalid or disabled (EN_n=1), the third PMOS tube MP3 and the fourth PMOS tube MP4 are turned off to isolate the input circuit 31 and the reset circuit 33 to prevent leakage; when the enable signal EN_n is valid (EN_n=0), the third PMOS tube MP3 and the fourth PMOS tube MP4 are turned on to transmit the first differential signal out1_p and the second differential signal out1_n to the voltage divider detection circuit 32.

[0072] In some embodiments, the voltage divider detection circuit 32 includes a first resistor R1 and a second resistor R2, the first end of the first resistor R1 is connected to the drain of the third PMOS tube MP3, the first end of the second resistor R2 is connected to the drain of the fourth PMOS tube MP4, and the connection node between the second end of the first resistor R1 and the second end of the second resistor R2 is the output end Vout3 of the detection circuit 303.

[0073] It can be understood that the first resistor R1 and the second resistor R2 respectively form a low-pass filter with the parasitic capacitance on the output terminal Vout3 of the detection circuit 303, thereby filtering out the AC component (AC value) of the first differential signal out1_p and the second differential signal out1_n, and retaining the DC component (DC value) of the first differential signal out1_p and the second differential signal out1_n, so as to obtain the common mode level of the first differential signal out1_p and the second differential signal out1_n at the output terminal Vout3 of the detection circuit 303.

[0074] In some embodiments, the reset circuit 33 includes a fifth PMOS transistor MP5, a gate of the fifth PMOS transistor MP5 is used to receive an inverted enable signal EN corresponding to the enable signal EN_n, a source of the fifth PMOS transistor MP5 is connected to a power supply voltage VCC, and a drain of the fifth PMOS transistor MP5 is connected to an output terminal Vout3 of the detection circuit 303.

[0075] It can be understood that the opening and closing of the reset circuit 33 is determined by the voltage value of the inverted enable signal EN. When the inverted enable signal EN=0, the fifth PMOS tube MP5 is turned on to provide an initial voltage value (second logic level) to the output terminal Vout3 of the detection circuit 303; when the inverted enable signal EN=1, the bias voltage generating circuit and the receiver both exit the shutdown mode. At this time, the fifth PMOS tube MP5 is turned off, and the voltage value of the output terminal Vout3 of the detection circuit 303 is provided by the common mode level of the first differential signal out1_p and the second differential signal out1_n.

[0076] It should be noted that, in the present embodiment, the isolation circuit 34 is arranged between the input circuit 31 and the voltage divider detection circuit 32, but the present application is not limited thereto. In other embodiments, the isolation circuit 34 may also be arranged between the voltage divider detection circuit 32 and the reset circuit 33 (i.e., the positions of the third PMOS tube MP3 and the first resistor R1 are interchanged, and the positions of the fourth PMOS tube MP4 and the second resistor R2 are interchanged), as long as the input circuit 31 and the reset circuit 33 can be isolated to avoid leakage.

[0077] In some embodiments, the output circuit 35 includes a sixth PMOS transistor MP6 and a first NMOS transistor MN1, the gates of the sixth PMOS transistor MP6 and the first NMOS transistor MN1 are both connected to the output terminal Vout3 of the detection circuit 303, the source of the sixth PMOS transistor MP6 is connected to the power supply voltage VCC, the drain of the sixth PMOS transistor MP6 is connected to the source of the first NMOS transistor MN1, the connection between the drain of the sixth PMOS transistor MP6 and the source of the first NMOS transistor MN1 forms the clamping signal En_int, and the drain of the first NMOS transistor MN1 is connected to the ground terminal VSS.

[0078] It can be understood that the sixth PMOS transistor MP6 and the first NMOS transistor MN1 form an inverter, and the opening and closing of the sixth PMOS transistor MP6 and the first NMOS transistor MN1 are determined by the voltage value of the output terminal Vout3 of the detection circuit 303. When the output terminal Vout3 of the detection circuit 303 is the initial voltage value (the second logic level), that is, the voltage value of the output terminal Vout3 of the detection circuit 303 is greater than the preset value, the sixth PMOS transistor MP6 is turned off and the first NMOS transistor MN1 is turned on, so that the output clamping signal En_int is a valid level ("0"); when the voltage value of the output terminal Vout3 of the detection circuit 303 is reduced to less than the preset value, the sixth PMOS transistor MP6 is turned on and the first NMOS transistor MN1 is turned off, so that the output clamping signal En_int is an invalid level ("1"). Among them, the flip threshold of the inverter corresponds to the preset value, that is, the size of the threshold for flipping from "the sixth PMOS tube MP6 is turned off, the first NMOS tube MN1 is turned on" to "the sixth PMOS tube MP6 is turned on, the first NMOS tube MN1 is turned off" is set according to the size of the preset value. Specifically, the size of this threshold can be determined by designing structural features such as the width-to-length ratio of the sixth PMOS tube MP6 and the first NMOS tube MN1, which will not be described in detail here.

[0079] In some embodiments, the feedback circuit 36 ​​includes a second NMOS transistor MN2, a gate of the second NMOS transistor MN2 is used to receive the clamping signal En_int, a source of the second NMOS transistor MN2 is connected to the output terminal Vout3 of the detection circuit 303, and a drain of the second NMOS transistor MN2 is connected to the ground terminal VSS.

[0080] It can be understood that the opening and closing of the feedback circuit 36 ​​is determined by the voltage value of the clamp signal En_int. When the clamp signal En_int is at a valid level ("0"), the second NMOS tube MN2 is turned off; when the clamp signal En_int is at an invalid level ("1"), the second NMOS tube MN2 is turned on, and the voltage value of the output terminal Vout3 of the detection circuit 303 is maintained within a range less than a preset value (the voltage value is substantially the same as the ground terminal VSS), and positive feedback is formed through the output circuit 35 to ensure that the clamp signal En_int is always at an invalid level (the third logic level).

[0081] Next, combine Figure 4 and Figure 5To illustrate the specific working process of the receiver provided in the embodiment of the present application, when the enable signal EN_n is invalid or disabled (EN_n=1), the inverted enable signal EN=0, the receiver is in shutdown mode, the seventh PMOS tube MP7 is turned off, the first differential signal out1_p and the second differential signal out1_n are both low levels, and the comparator 20 has no output; the fifth PMOS tube MP5 is turned on to provide an initial voltage value (second logic level) to the output terminal Vout3 of the detection circuit 303.

[0082] Since the output terminal Vout3 of the detection circuit 303 has an initial voltage value, the sixth PMOS transistor MP6 is controlled to be turned off and the first NMOS transistor MN1 is turned on, so that the output clamping signal En_int is a valid level ("0"). According to Table 1, when the value of the clamping signal En_int is "0", no matter the value of the output of the comparison signal Vout1 is "0" or "1", the value of the output of the output signal Vout2 is "0", that is, the output of the logic operation circuit 302 is clamped to the first logic level ("0").

[0083] Since the clamp signal En_int is at a valid level (“0”), the first PMOS transistor MP1 and the second PMOS transistor MP2 are turned on. If the reset circuit 33 is not isolated from the input circuit 31, there will be a current path from the fifth PMOS transistor MP5 to the first resistor R1 to the first PMOS transistor MP1 to the third resistor R3 to the ground terminal VSS, and a current path from the fifth PMOS transistor MP5 to the second resistor R2 to the second PMOS transistor MP2 to the fourth resistor R4 to the ground terminal VSS, which will cause leakage. The present application sets an isolation circuit 34. When the enable signal EN_n is invalid (EN_n=1), the third PMOS tube MP3 and the fourth PMOS tube MP4 are turned off, so that the input circuit 31 and the reset circuit 33 can be isolated, and the current path from the fifth PMOS tube MP5 to the first resistor R1 to the first PMOS tube MP1 to the third resistor R3 to the ground terminal VSS, and the current path from the fifth PMOS tube MP5 to the second resistor R2 to the second PMOS tube MP2 to the fourth resistor R4 to the ground terminal VSS is cut off, thereby preventing leakage.

[0084] Then, the control enable signal EN_n is valid (EN_n=0), the inverted enable signal EN=1, the receiver exits the shutdown mode, the fifth PMOS tube MP5 is turned off, the third PMOS tube MP3, the fourth PMOS tube MP4 and the seventh PMOS tube MP7 are turned on, and the bias voltage Vbias is established from 0 volts. When the bias voltage Vbias is low, the bias current flowing into the differential signal generating circuit 102 is large. When the bias current is large, the bias current flowing through the ninth PMOS tube MP9 branch and the tenth PMOS tube MP10 branch are both large. The generated first differential signal out1_p and the second differential signal out1_n are both pulled to a high level, so that the comparator 20 exceeds the working range and cannot be compared normally, making the output of the comparator 20 uncertain. However, since the output of the logic operation circuit 302 is clamped, the output of the comparator 20 will not affect the output of the logic operation circuit 302, and will not generate burrs, thereby preventing the memory from accidentally entering certain uncertain working modes.

[0085] When the bias current is relatively large, the common-mode level of the first differential signal out1_p and the second differential signal out1_n is greater than or equal to the preset value. At this time, the clamp signal En_int is kept at a valid level (“0”), the first PMOS tube MP1 and the second PMOS tube MP2 are turned on, and detection is continued. The output of the logic operation circuit 302 is clamped until the common-mode level is less than the preset value. The clamp signal En_int jumps from the valid level (“0”) to the invalid level (“1”), the first PMOS tube MP1 and the second PMOS tube MP2 are turned off, and detection is turned off. The second NMOS tube MN2 is turned on, and the common-mode level is maintained less than the preset value, ensuring that the clamp signal En_int is an invalid level (“1”), and does not affect the output of the comparator 20.

[0086] The present application embodiment provides a memory, including the above-mentioned receiver, and the structural diagram of the receiver is shown in FIG. Figure 4 and Figure 5 In some embodiments, the memory includes a dynamic random access memory.

[0087] like Figure 6 As shown, it is a flow chart of a control method of a receiver provided in an embodiment of the present application, the receiver comprises: a pre-amplifier circuit, a comparator and an output control circuit, the comparator is connected to the pre-amplifier circuit, the output control circuit is connected to the pre-amplifier circuit and the comparator; the method comprises:

[0088] S1, the pre-amplification circuit receives an input signal and a reference signal, and converts the input signal into a first differential signal and a second differential signal based on the reference signal;

[0089] S2, the comparator compares the first differential signal with the second differential signal and outputs a comparison signal;

[0090] S3. The output control circuit detects the common mode levels of the first differential signal and the second differential signal, and when the voltage value of the common mode level is greater than or equal to a preset value, controls the output of an output signal at a first logic level, and when the voltage value of the common mode level is less than the preset value, controls the output of the output signal corresponding to the comparison signal.

[0091] It can be understood that, in this embodiment, by detecting the common-mode level of the first differential signal and the second differential signal, when the voltage value of the common-mode level is greater than or equal to the preset value, the output is clamped, and the output signal at the first logic level is controlled to be output without generating glitches; when the voltage value of the common-mode level is less than the preset value, the comparator can work normally, and the output signal corresponding to the comparison signal is controlled to be output, so that the risk of the semiconductor device where the receiver is located accidentally entering certain uncertain working modes when the voltage value of the bias voltage is low can be reduced, thereby improving the reliability of the semiconductor device. Here, the semiconductor device where the receiver is located includes but is not limited to a memory.

[0092] In summary, a receiver provided by an embodiment of the present application includes a pre-amplifier circuit, a comparator, and an output control circuit; the pre-amplifier circuit is used to receive an input signal and a reference signal, and convert the input signal into a first differential signal and a second differential signal based on the reference signal; the comparator is connected to the pre-amplifier circuit, and is used to compare the first differential signal and the second differential signal, and output a comparison signal; the output control circuit is connected to the pre-amplifier circuit and the comparator, and is used to detect the common-mode level of the first differential signal and the second differential signal, and when the voltage value of the common-mode level is greater than or equal to a preset value, control the output of an output signal at a first logic level, and when the voltage value of the common-mode level is less than the preset value, control the output of an output signal corresponding to the comparison signal; the present application adds an input control circuit in the receiver. The output control circuit detects the common-mode level of the first differential signal and the second differential signal. When the voltage value of the common-mode level is greater than or equal to the preset value, the output is clamped to control the output of the output signal at the first logic level without generating glitches. When the voltage value of the common-mode level is less than the preset value, the comparator can work normally and control the output of the output signal corresponding to the comparison signal. In this way, the risk of the semiconductor device where the receiver is located accidentally entering certain uncertain working modes when the voltage value of the bias voltage is low can be reduced, thereby improving the reliability of the semiconductor device and solving the technical problem that when the voltage value of the bias voltage is low, the output of the comparator in the receiver is prone to generate glitches, causing the semiconductor device (such as a memory) where the receiver is located to accidentally enter certain uncertain working modes.

[0093] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. A receiver, characterized in that: include: A pre-amplification circuit, configured to receive an input signal and a reference signal, and convert the input signal into a first differential signal and a second differential signal based on the reference signal; a comparator, connected to the pre-amplifier circuit, configured to compare the first differential signal with the second differential signal and output a comparison signal; An output control circuit is connected to the pre-amplifier circuit and the comparator, and is used to detect the common mode level of the first differential signal and the second differential signal, and when the voltage value of the common mode level is greater than or equal to a preset value, control the output of an output signal at a first logic level, and when the voltage value of the common mode level is less than the preset value, control the output of the output signal corresponding to the comparison signal.

2. The receiver according to claim 1, characterized in that The pre-amplification circuit is further configured to receive an enable signal, and when the enable signal is valid, convert the input signal into the first differential signal and the second differential signal.

3. The receiver according to claim 2, characterized in that The pre-amplification circuit includes a bias current generating circuit and a differential signal generating circuit; wherein, The bias current generating circuit is used to receive the enable signal and the bias voltage signal, and when the enable signal is valid, generate and output the bias current according to the bias voltage signal; The differential signal generating circuit is connected to the bias current generating circuit, and is used to receive the bias current, the input signal and the reference signal, and under the control of the bias current, generates and outputs the first differential signal and the second differential signal according to the input signal and the reference signal.

4. The receiver according to claim 3, characterized in that The output control circuit includes a common mode detection circuit and a logic operation circuit; wherein, The common mode detection circuit is connected to the pre-amplification circuit, and is used to receive the first differential signal and the second differential signal, detect the common mode level of the first differential signal and the second differential signal, and generate and output a clamp signal according to the common mode level; when the voltage value of the common mode level is greater than or equal to the preset value, output the clamp signal at a valid level; when the voltage value of the common mode level is less than the preset value, output the clamp signal at an invalid level; The logic operation circuit is connected to the common mode detection circuit and the comparator, and is used to perform logic operations on the comparison signal and the clamp signal to generate and output the output signal; wherein, when the clamp signal is at a valid level, the output signal at the first logic level is generated and output, and when the clamp signal is at an invalid level, the output signal corresponding to the comparison signal is generated and output.

5. The receiver according to claim 4, characterized in that The common mode detection circuit comprises: a detection circuit, configured to receive the enable signal, the first differential signal, and the second differential signal, detect the common mode level of the first differential signal and the second differential signal when the enable signal is valid, and output the common mode level from the output end of the detection circuit; and set the output end of the detection circuit to a second logic level when the enable signal is invalid; an output circuit, connected to the detection circuit, and configured to receive the common mode level, and output the clamp signal at a valid level when the voltage value of the common mode level is greater than or equal to the preset value; and output the clamp signal at an invalid level when the voltage value of the common mode level is less than the preset value; a feedback circuit connected to the detection circuit and the output circuit, configured to receive the clamp signal and set the output end of the detection circuit to a third logic level when the clamp signal is at an invalid level; The voltage value of the second logic level is higher than the preset value, and the voltage value of the third logic level is lower than the preset value.

6. The receiver according to claim 5, characterized in that The detection circuit is further configured to receive the clamp signal, and stop detecting the common mode level of the first differential signal and the second differential signal when the clamp signal is at an invalid level.

7. The receiver according to claim 6, characterized in that The detection circuit comprises: an input circuit, a voltage division detection circuit, an isolation circuit and a reset circuit; The input circuit is used to receive the clamp signal, the first differential signal and the second differential signal, and output the first differential signal and the second differential signal to the voltage division detection circuit when the clamp signal is at a valid level; and stop outputting the first differential signal and the second differential signal when the clamp signal is at an invalid level; The voltage division detection circuit is coupled to the input circuit, and is used to receive the first differential signal and the second differential signal, perform voltage division detection on the first differential signal and the second differential signal to obtain the common mode level, and output the common mode level from the output end of the detection circuit; The isolation circuit is connected between the input circuit and the voltage-dividing detection circuit, and is used to receive the enable signal and isolate the input circuit from the voltage-dividing detection circuit when the enable signal is invalid; The reset circuit is connected to the voltage-dividing detection circuit, and is used to receive the enable signal, and when the enable signal is invalid, set the output end of the detection circuit to the second logic level.

8. The receiver according to claim 7, characterized in that The input circuit includes a first PMOS tube and a second PMOS tube, the gates of the first PMOS tube and the second PMOS tube are both used to receive the clamping signal, the source of the first PMOS tube is used to receive the first differential signal, the source of the second PMOS tube is used to receive the second differential signal, and the drain of the first PMOS tube and the drain of the second PMOS tube are both connected to the isolation circuit.

9. The receiver according to claim 8, characterized in that The isolation circuit includes a third PMOS tube and a fourth PMOS tube, the gates of the third PMOS tube and the fourth PMOS tube are both used to receive the enable signal, the source of the third PMOS tube is connected to the drain of the first PMOS tube, the source of the fourth PMOS tube is connected to the drain of the second PMOS tube, and the drain of the third PMOS tube and the drain of the fourth PMOS tube are both connected to the voltage divider detection circuit.

10. The receiver according to claim 9, characterized in that The voltage divider detection circuit includes a first resistor and a second resistor, the first end of the first resistor is connected to the drain of the third PMOS tube, the first end of the second resistor is connected to the drain of the fourth PMOS tube, and the connection node between the second end of the first resistor and the second end of the second resistor is the output end of the detection circuit.

11. The receiver according to claim 10, characterized in that The reset circuit includes a fifth PMOS tube, a gate of the fifth PMOS tube is used to receive an inverted enable signal corresponding to the enable signal, a source of the fifth PMOS tube is connected to a power supply voltage, and a drain of the fifth PMOS tube is connected to an output end of the detection circuit.

12. The receiver according to claim 11, characterized in that The output circuit includes a sixth PMOS tube and a first NMOS tube, the gates of the sixth PMOS tube and the first NMOS tube are both connected to the output end of the detection circuit, the source of the sixth PMOS tube is connected to the power supply voltage, the drain of the sixth PMOS tube is connected to the source of the first NMOS tube, the connection between the drain of the sixth PMOS tube and the source of the first NMOS tube forms the clamping signal, and the drain of the first NMOS tube is connected to the ground end.

13. The receiver according to claim 12, characterized in that The feedback circuit includes a second NMOS tube, a gate of the second NMOS tube is used to receive the clamping signal, a source of the second NMOS tube is connected to the output end of the detection circuit, and a drain of the second NMOS tube is connected to the ground end.

14. The receiver according to claim 4, characterized in that The effective level of the clamp signal is a low level, and the first logic level is a low level; the logic operation circuit includes an AND gate, the two input ends of the AND gate are respectively used to receive the comparison signal and the clamp signal, and the output end of the AND gate is used to output the output signal.

15. The receiver according to claim 3, characterized in that The bias current generating circuit includes a seventh PMOS tube and an eighth PMOS tube, the gate of the seventh PMOS tube receives the enable signal, the source of the seventh PMOS tube is connected to the power supply voltage, the gate of the eighth PMOS tube receives the bias voltage signal, the source of the eighth PMOS tube is connected to the drain of the seventh PMOS tube, and the drain of the eighth PMOS tube is connected to the differential signal generating circuit to output the bias current.

16. The receiver according to claim 15, characterized in that The differential signal generating circuit includes a ninth PMOS tube, a tenth PMOS tube, a third resistor and a fourth resistor, the source electrodes of the ninth PMOS tube and the tenth PMOS tube are both connected to the drain electrode of the eighth PMOS tube, the gate electrode of the ninth PMOS tube is used to receive the input signal, the gate electrode of the tenth PMOS tube is used to receive the reference signal, the first end of the third resistor is connected to the drain electrode of the ninth PMOS tube, the second end of the third resistor is connected to the ground terminal, the first end of the fourth resistor is connected to the drain electrode of the tenth PMOS tube, and the second end of the fourth resistor is connected to the ground terminal; The drain of the ninth PMOS tube is used to output the first differential signal, and the drain of the tenth PMOS tube is used to output the second differential signal.

17. A memory, characterized in that: include: A receiver as claimed in any one of claims 1 to 16.

18. A method for controlling a receiver, characterized in that: The receiver comprises: a pre-amplifier circuit, a comparator and an output control circuit, the comparator is connected to the pre-amplifier circuit, and the output control circuit is connected to the pre-amplifier circuit and the comparator; the method comprises: The pre-amplification circuit receives an input signal and a reference signal, and converts the input signal into a first differential signal and a second differential signal based on the reference signal; The comparator compares the first differential signal with the second differential signal and outputs a comparison signal; The output control circuit detects the common mode level of the first differential signal and the second differential signal, and when the voltage value of the common mode level is greater than or equal to a preset value, controls the output of an output signal at a first logic level, and when the voltage value of the common mode level is less than the preset value, controls the output of the output signal corresponding to the comparison signal.

Citation Information

Patent Citations

  • Amplifier circuit and method

    CN102684619A

  • LVDS (low-voltage differential signaling) receiver

    CN103296984A

  • Temperature sensor, server, and temperature sensor anomaly detection method and system

    CN111964809A

  • Comparator based on pre-amplification stage structure and analog-to-digital converter

    CN114337618A

  • Latched active fail-safe circuit for protecting a differential receiver

    US6650149B1