Input signal state detection and output control circuit and control method
By designing input signal status detection and output control circuits in the clock/data drive system, and using comparison circuits and logical AND gate circuits to process differential signals, the signal distortion problem caused by the traditional asymmetric input structure is solved, and high sensitivity and Wide range of input signal detection and output control.
Patent Information
- Application Number
- CN202011534075.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-24
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-12-24
AI Technical Summary
In clock/data driven systems, the traditional asymmetric input structure causes the differential signal to have an excessive common-mode voltage deviation of the output signal under high-frequency operating conditions, causing severe signal distortion.
Design an input signal status detection and output control circuit, including a comparison circuit, a logic AND gate circuit and a two-level buffer circuit. The two-way comparators compare the differential input signal resistance divided value with the reference voltage to generate a logical decision signal. As a switch control for the buffer stage output, it ensures that the high and low levels are correctly output when the input signal is in the open state, ground state or differential state.
It achieves accurate detection and output control of the input signal state, avoids signal distortion, has the advantages of simple structure, high decision sensitivity, and wide detection range, and is suitable for clock/data drive circuits.
Smart Images

Figure CN112769420B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of integrated circuits, and in particular to an input signal state detection and output control circuit and a control method thereof. Background Art
[0002] In the clock / data driven system, the output signal is required to be high or low when the input signal is in the open state or the ground state, and the traditional input receiving stage circuit adopts an asymmetric input structure. When the input signal is in the open state or the ground state, the high and low state identification is realized through the difference of the pull-up resistor; when the input signal is a differential signal, the input directly enters the clock transmission channel.
[0003] When an asymmetric input structure is adopted, when the input signal is a differential signal, an offset will be introduced into the input signal due to the influence of asymmetric resistance. The mismatch voltage is amplified step by step through the buffer, and the common-mode voltage deviation of the output differential signal is too large under high-frequency working state, resulting in serious distortion of the output signal. Summary of the invention
[0004] In order to solve the above-mentioned technical problems existing in the background technology, the present invention provides an input signal state detection and output control circuit and a control method, which are used to judge whether the input signal is an open state, a ground state or a differential signal, and output a logic judgment signal det as a switch control signal of a subsequent buffer circuit, thereby realizing the detection and output control of the open state, the ground state and the differential state input signals. The circuit has a simple structure, high judgment sensitivity, a wide detection range and will not introduce signal distortion, and can be widely used in clock / data driving circuits.
[0005] The technical solution of the present invention is: the present invention is an input signal state detection and output control circuit, which is special in that: the control circuit includes a comparison circuit, a logic AND gate circuit and a two-stage buffer circuit, and the comparison circuit is connected to the two-stage buffer circuit through the logic AND gate circuit.
[0006] Preferably, the comparison circuit includes a voltage source VDD1, a voltage source VDD2, a comparator P1, a comparator P2, a resistor R1, a resistor R2, a resistor R3 and a resistor R4, the resistor R1 is connected between the positive input terminal of the comparator P1 and the voltage source VDD1, and the resistor R2 is connected between the positive input terminal of the comparator P1 and the ground, the resistor R3 is connected between the positive input terminal of the comparator P2 and the voltage source VDD2, and the resistor R4 is connected between the positive input terminal of the comparator P2 and the ground, the negative input terminal of the comparator P1 is connected to the negative input terminal of the comparator P2, and the output terminal of the comparator P1 and the output terminal of the comparator P2 are connected to a logic AND gate circuit.
[0007] Preferably, the two-stage buffer circuit includes a voltage source VDD3, a voltage source VDD4, a voltage source VDD5, a nmos tube N1, a nmos tube N2, a nmos tube N3, a nmos tube N4, a current source I1, a current source I2, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a switch S1, a switch S2, a switch S3, a switch S4, a switch S5, a switch S6, a switch S7, a switch S8, an inverter inv1, an inverter inv2, an inverter inv3 and an inverter inv4 , the voltage source VDD3 is connected to the drain end of the nmos tube N1 through the resistor R5, the voltage source VDD3 is connected to the drain end of the nmos tube N2 through the resistor R6, the source end of the nmos tube N1 and the source end of the nmos tube N2 are grounded through the current source I1 respectively, the voltage source VDD4 is connected to the drain end of the nmos tube N3 through the resistor R7, the voltage source VDD4 is connected to the drain end of the nmos tube N4 through the resistor R8, the source end of the nmos tube N3 and the source end of the nmos tube N4 are grounded through the current source I2 respectively, the nmos tube N The drain end of nmos tube N1 is connected to the gate of nmos tube N4, the drain end of nmos tube N2 is connected to the gate of nmos tube N3, the switch S1 is connected between the voltage source VDD3 and the resistor R5, the switch S2 is connected between the voltage source VDD3 and the resistor R6, the switch S3 is connected between the voltage source VDD4 and the resistor R7, the switch S4 is connected between the voltage source VDD4 and the resistor R8, the switch S5 is connected between the drain end of nmos tube N1 and the ground, the switch S6 is connected between the drain end of nmos tube N2 and the ground, the drain end of nmos tube N3 and the voltage source VDD3 are connected to the gate of nmos tube N5, the switch S7 is connected between the drain end of nmos tube N1 and the ground, the switch S8 is connected between the drain end of nmos tube N2 and the ground, the switch S9 is connected between the drain end of nmos tube N3 and the voltage source VDD4. A switch S7 is connected between the voltage source VDD5, a switch S8 is connected between the drain end of the nmos tube N4 and the ground, the output end of the inverter inv1 is connected to the switch S1 and the switch S5, the output end of the inverter inv2 is connected to the switch S2 and the switch S6, the output end of the inverter inv3 is connected to the switch S3 and the switch S7, the output end of the inverter inv4 is connected to the switch S4 and the switch S8, and the output ends of the logic AND gate circuit are respectively connected to the input ends of the inverter inv1, the inverter inv2, the inverter inv3 and the inverter inv4.
[0008] A control method for realizing the above-mentioned input signal state detection and output control circuit is characterized in that the method comprises the following steps:
[0009] 1) The comparison circuit is used to compare the resistor voltage division value of the differential input signal with the reference voltage and send them to the logic AND gate circuit;
[0010] 2) The logic AND gate circuit is used to perform logic calculation on the comparison input result, generate the logic control signal det, and send it to the two-stage buffer circuit;
[0011] 3) The two-stage buffer circuit is used to generate corresponding output signals according to different input states.
[0012] Preferably, in step 3), when the input signal is in an open state or a ground state, the input voltage is less than Vref, and the output logic decision signal det is 0, the buffer stage output signal is set to a high or low level; when the differential clock signal is input, the minimum input voltage is 0.5V>Vref, and the logic decision signal det is 1, the buffer stage circuit works normally and drives the input differential clock signal to the output.
[0013] Preferably, the specific steps of the control method are as follows:
[0014] 1) Comparison processing: Two comparators are used to compare the resistor voltage division value of the differential input signal with the reference voltage respectively, and a low voltage drop linear regulator is used to generate a 0.35V voltage as the comparator reference voltage. The input resistor voltage division is VDD / 10;
[0015] 2) Logic judgment: The output results of the two comparators pass through the logic AND gate circuit to generate the final logic judgment signal det as the switch control of the buffer stage output signal; when the input signal is in the open state or ground state, the input voltage is less than Vref, and the output logic judgment signal det is 0; when the differential clock signal is input, the minimum input voltage is 0.5V>Vref, the logic judgment signal det is 1, and the det signal is sent to the two-stage buffer stage circuit;
[0016] 3) Output control: The logic decision signal det is used as the switch control of the output signal of the two-stage buffer stage circuit. When the input state is on or ground, the logic decision signal det=0, the switches S1, S2, S3 and S4 in the two-stage buffer stage circuit are closed, and the switches S5, S6, S7 and S8 are opened, respectively setting the output of the first-stage buffer stage to low, and the output of the second-stage buffer stage Vop=Low, Von=High. This output state will set the output state in a DC coupling manner (Q=Low, nQ=High); when the input is a differential clock signal, the logic decision signal det=1, the switches S1, S2, S3 and S4 in the two-stage buffer stage circuit are opened, and the switches S5, S6, S7 and S8 are closed. The two-stage buffer stage circuit works normally, and the input differential clock signal is directly driven to the final output stage circuit.
[0017] The present invention provides an input signal state detection and output control circuit and a control method, which are used to generate the high and low states of the output differential signal when the differential input clock signal is in the open state and the ground state. The present invention uses two comparators to compare the differential input signal resistor voltage value with the reference voltage respectively, and the output results of the two comparators pass through the AND gate to generate the final logic decision signal det as the switch control of the buffer stage output signal. A low voltage difference linear regulator (LDO) is used to generate a 0.35V voltage as the comparator reference voltage, and the input resistance voltage is VDD / 10. When the input signal is in the open state or the ground state, the input voltage is less than Vref, and the output logic decision signal det is 0, then the buffer stage output signal is set to a high and low level, and the final drive output is a high and low level; when the differential clock signal is input, the input voltage is at least 0.5V>Vref, and the logic decision signal det is 1, then the two-stage buffer stage circuit works normally and drives the input differential clock signal to output. Therefore, the present invention has the advantages of simple structure, high decision sensitivity, wide detection range and no signal distortion, and can be widely used in clock / data driving circuits. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a circuit schematic diagram of the present invention. DETAILED DESCRIPTION
[0019] The invention provides an input signal state detection and output control circuit, comprising a comparison circuit, a logic AND gate circuit and a two-stage buffer circuit, wherein the comparison circuit is connected to the two-stage buffer circuit via the logic AND gate circuit.
[0020] The present invention also provides an input signal state detection and output control method, the method comprising the following steps:
[0021] 1) The comparison circuit is used to compare the resistor voltage division value of the differential input signal with the reference voltage and send them to the logic AND gate circuit;
[0022] 2) The logic AND gate circuit is used to perform logic calculation on the comparison input result, generate the logic control signal det, and send it to the two-stage buffer circuit;
[0023] 3) The two-stage buffer circuit is used to generate corresponding output signals according to different input states. When the input signal is in the open state or the ground state, the input voltage is less than Vref, and the output logic decision signal det is 0, the buffer stage output signal is set to a high or low level; when the differential clock signal is input, the minimum input voltage is 0.5V>Vref, and the logic decision signal det is 1, the buffer stage circuit works normally and drives the input differential clock signal to the output.
[0024] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0025] See also Figure 1 The circuit of the specific embodiment of the present invention includes a comparison circuit, a logic AND gate circuit and a two-stage buffer circuit, wherein:
[0026] The comparison circuit includes a voltage source VDD1, a voltage source VDD2, a comparator P1, a comparator P2, a resistor R1, a resistor R2, a resistor R3 and a resistor R4. The resistor R1 is connected between the positive input terminal of the comparator P1 and the voltage source VDD1, and the resistor R2 is connected between the positive input terminal of the comparator P1 and the ground. The resistor R3 is connected between the positive input terminal of the comparator P2 and the voltage source VDD2, and the resistor R4 is connected between the positive input terminal of the comparator P2 and the ground. The negative input terminal of the comparator P1 is connected to the negative input terminal of the comparator P2. The output terminal of the comparator P1 and the output terminal of the comparator P2 are connected to a logic AND gate circuit.
[0027] The two-stage buffer circuit includes a voltage source VDD3, a voltage source VDD4, a voltage source VDD5, a nmos tube N1, a nmos tube N2, a nmos tube N3, a nmos tube N4, a current source I1, a current source I2, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a switch S1, a switch S2, a switch S3, a switch S4, a switch S5, a switch S6, a switch S7, a switch S8, an inverter inv1, an inverter inv2, an inverter inv3 and an inverter inv4, and a voltage The source VDD3 is connected to the drain end of the nmos tube N1 through the resistor R5, the voltage source VDD3 is connected to the drain end of the nmos tube N2 through the resistor R6, the source end of the nmos tube N1 and the source end of the nmos tube N2 are grounded through the current source I1 respectively, the voltage source VDD4 is connected to the drain end of the nmos tube N3 through the resistor R7, the voltage source VDD4 is connected to the drain end of the nmos tube N4 through the resistor R8, the source end of the nmos tube N3 and the source end of the nmos tube N4 are grounded through the current source I2 respectively, the source end of the nmos tube N1 The drain end is connected to the gate of nmos tube N4, the drain end of nmos tube N2 is connected to the gate of nmos tube N3, the voltage source VDD3 and the resistor R5 are connected to switch S1, the voltage source VDD3 and the resistor R6 are connected to switch S2, the voltage source VDD4 and the resistor R7 are connected to switch S3, the voltage source VDD4 and the resistor R8 are connected to switch S4, the drain end of nmos tube N1 is connected to the ground with switch S5, the drain end of nmos tube N2 is connected to the ground with switch S6, the drain end of nmos tube N3 is connected to the voltage source VDD3 and the resistor R5 ...7 are connected to switch S3, the voltage source VDD4 and the resistor R7 are connected to switch S3, the voltage source VDD4 and the resistor R7 are connected to switch S3, the voltage source VDD4 and the resistor R7 are connected to switch S3, the A switch S7 is connected between the source VDD5, a switch S8 is connected between the drain end of the nmos tube N4 and the ground, the output end of the inverter inv1 is connected to the switch S1 and the switch S5, the output end of the inverter inv2 is connected to the switch S2 and the switch S6, the output end of the inverter inv3 is connected to the switch S3 and the switch S7, the output end of the inverter inv4 is connected to the switch S4 and the switch S8, and the output ends of the logic AND gate circuit are respectively connected to the input ends of the inverter inv1, the inverter inv2, the inverter inv3 and the inverter inv4.
[0028] The logic AND gate circuit can adopt the existing circuit.
[0029] The control method based on the above input signal state detection and output circuit of the present invention comprises the following specific steps:
[0030] 1) Comparison processing: Two comparators are used to compare the resistor voltage division value of the differential input signal with the reference voltage respectively, and a low voltage drop linear regulator is used to generate a 0.35V voltage as the comparator reference voltage. The input resistor voltage division is VDD / 10;
[0031] 2) Logic judgment: The output results of the two comparators pass through the logic AND gate circuit to generate the final logic judgment signal det as the switch control of the buffer stage output signal; when the input signal is in the open state or ground state, the input voltage is less than Vref, and the output logic judgment signal det is 0; when the differential clock signal is input, the minimum input voltage is 0.5V>Vref, the logic judgment signal det is 1, and the det signal is sent to the two-stage buffer stage circuit;
[0032] 3) Output control: The logic decision signal det is used as the switch control of the output signal of the two-stage buffer stage circuit. When the input state is on or ground, the logic decision signal det=0, the switches S1, S2, S3 and S4 in the two-stage buffer stage circuit are closed, and the switches S5, S6, S7 and S8 are opened, respectively setting the output of the first-stage buffer stage to low, and the output of the second-stage buffer stage Vop=Low, Von=High. This output state will set the output state in a DC coupling manner (Q=Low, nQ=High); when the input is a differential clock signal, the logic decision signal det=1, the switches S1, S2, S3 and S4 in the two-stage buffer stage circuit are opened, and the switches S5, S6, S7 and S8 are closed. The two-stage buffer stage circuit works normally, and the input differential clock signal is directly driven to the final output stage circuit.
[0033] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An input signal state detection and output control circuit, Features: The control circuit includes a comparison circuit, a logic AND gate circuit and a two-stage buffer circuit. The comparison circuit is connected to the two-stage buffer circuit through the logic AND gate circuit. The comparison circuit includes a voltage source VDD1, a voltage source VDD2, a comparator P1, a comparator P2, a resistor R1, a resistor R2, a resistor R3 and a resistor R4. The resistor R1 is connected between the positive input terminal of the comparator P1 and the voltage source VDD1, and the resistor R2 is connected between the positive input terminal of the comparator P1 and the ground. The resistor R3 is connected between the positive input terminal of the comparator P2 and the voltage source VDD2, and the resistor R4 is connected between the positive input terminal of the comparator P2 and the ground. The negative input terminal of the comparator P1 is connected to the negative input terminal of the comparator P2. The output terminal of the comparator P1 and the output terminal of the comparator P2 are connected to the logic AND gate circuit. The two-stage buffer circuit includes a voltage source VDD3, a voltage source VDD4, a voltage source VDD5, an nmos tube N1, an nmos tube N2, an nmos tube N3, an nmos tube N4, a current source I1, a current source I2, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a switch S1, a switch S2, a switch S3, a switch S4, a switch S5, a switch S6, a switch S7, a switch S8, an inverter inv1, an inverter inv2, an inverter inv3 and an inverter inv4, wherein the voltage source VDD3 is connected to the drain end of the nmos tube N1 through the resistor R5, the voltage source VDD3 is connected to the drain end of the nmos tube N2 through the resistor R6, the source end of the nmos tube N1 and the nmos tube N 2 are grounded through current sources I1 respectively, the voltage source VDD4 is connected to the drain end of the nmos tube N3 through resistor R7, the voltage source VDD4 is connected to the drain end of the nmos tube N4 through resistor R8, the source end of the nmos tube N3 and the source end of the nmos tube N4 are grounded through current sources I2 respectively, the drain end of the nmos tube N1 is connected to the gate of the nmos tube N4, the drain end of the nmos tube N2 is connected to the gate of the nmos tube N3, a switch S1 is connected between the voltage source VDD3 and the resistor R5, a switch S2 is connected between the voltage source VDD3 and the resistor R6, a switch S3 is connected between the voltage source VDD4 and the resistor R7, a switch S4 is connected between the voltage source VDD4 and the resistor R8, the A switch S5 is connected between the drain end of the nmos tube N1 and the ground, a switch S6 is connected between the drain end of the nmos tube N2 and the ground, a switch S7 is connected between the drain end of the nmos tube N3 and the voltage source VDD5, a switch S8 is connected between the drain end of the nmos tube N4 and the ground, the output end of the inverter inv1 is connected to the switch S1 and the switch S5, the output end of the inverter inv2 is connected to the switch S2 and the switch S6, the output end of the inverter inv3 is connected to the switch S3 and the switch S7, the output end of the inverter inv4 is connected to the switch S4 and the switch S8, and the output end of the logic AND gate circuit is respectively connected to the input end of the inverter inv1, the inverter inv2, the inverter inv3 and the inverter inv4.
2. A control method for realizing the input signal state detection and output control circuit according to claim 1, Features: The method comprises the following steps: 1) The comparison circuit is used to compare the resistor voltage division value of the differential input signal with the reference voltage and send them to the logic AND gate circuit; 2) The logic AND gate circuit is used to perform logic calculation on the comparison input result, generate the logic control signal det, and send it to the two-stage buffer circuit; 3) The two-stage buffer circuit is used to generate corresponding output signals according to different input states. When the input signal is in the open state or the ground state, the input voltage is less than Vref, and the output logic decision signal det is 0, the buffer stage output signal is set to a high or low level; when the differential clock signal is input, the minimum input voltage is 0.5V>Vref, and the logic decision signal det is 1, the buffer stage circuit works normally and drives the input differential clock signal to the output.
3. The input signal state detection and output control method according to claim 2, Features: The specific steps of the control method are as follows: 1) Comparison processing: Two comparators are used to compare the resistor voltage division value of the differential input signal with the reference voltage respectively, and a low voltage drop linear regulator is used to generate a 0.35V voltage as the comparator reference voltage. The input resistor voltage division is VDD / 10; 2) Logic judgment: The output results of the two comparators pass through the logic AND gate circuit to generate the final logic judgment signal det as the switch control of the buffer stage output signal; when the input signal is in the open state or ground state, the input voltage is less than Vref, and the output logic judgment signal det is 0; when the differential clock signal is input, the minimum input voltage is 0.5V>Vref, the logic judgment signal det is 1, and the det signal is sent to the two-stage buffer stage circuit; 3) Output control: The logic decision signal det is used as the switch control of the output signal of the two-stage buffer stage circuit. When the input state is on or ground, the logic decision signal det=0, the switches S1, S2, S3 and S4 in the two-stage buffer stage circuit are closed, and the switches S5, S6, S7 and S8 are opened, respectively setting the output of the first-stage buffer stage to low, and the output of the second-stage buffer stage Vop=Low, Von=High. This output state will set the output state in a DC coupling manner; when the input is a differential clock signal, the logic decision signal det=1, the switches S1, S2, S3 and S4 in the two-stage buffer stage circuit are opened, and the switches S5, S6, S7 and S8 are closed. The two-stage buffer stage circuit works normally, and the input differential clock signal is directly driven to the final output stage circuit.
Citation Information
Patent Citations
Differential clock signal detection circuit
US20030164720A1
