CN115407180A - Signal intensity detection circuit with adjustable threshold value, threshold voltage adjusting method and hysteresis adjusting method - Google Patents

Signal intensity detection circuit with adjustable threshold value, threshold voltage adjusting method and hysteresis adjusting method Download PDF

Info

Publication number
CN115407180A
CN115407180A CN202211359330.0A CN202211359330A CN115407180A CN 115407180 A CN115407180 A CN 115407180A CN 202211359330 A CN202211359330 A CN 202211359330A CN 115407180 A CN115407180 A CN 115407180A
Authority
CN
China
Prior art keywords
threshold
circuit
dac
voltage
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211359330.0A
Other languages
Chinese (zh)
Inventor
许雪林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Amixin Optical Semiconductor Co ltd
Original Assignee
Shanghai Amixin Optical Semiconductor Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Amixin Optical Semiconductor Co ltd filed Critical Shanghai Amixin Optical Semiconductor Co ltd
Priority to CN202211359330.0A priority Critical patent/CN115407180A/en
Publication of CN115407180A publication Critical patent/CN115407180A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2832Specific tests of electronic circuits not provided for elsewhere
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/22Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral
    • H03K5/24Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being amplitude

Abstract

The application discloses a threshold-adjustable signal strength detection circuit, a threshold voltage adjusting method and a hysteresis adjusting method. The signal strength detection circuit with the adjustable threshold comprises a detected circuit, a voltage comparator and a threshold adjusting circuit. The voltage comparator is provided with an output end and two input ends, wherein one input end is electrically connected with the detected circuit. The threshold adjusting circuit is externally connected with an input reference voltage, the threshold adjusting circuit is electrically connected with the other input end of the voltage comparator in a voltage-changeable mode, and the voltage comparator is used for comparing an electric signal in the threshold adjusting circuit with an electric signal in the detected circuit and outputting a high level or a low level from the output end according to the magnitude of the electric signal in the threshold adjusting circuit and the electric signal in the detected circuit. Threshold value regulating circuit can adjust threshold voltage accurately and on a large scale in this application.

Description

Signal intensity detection circuit with adjustable threshold value, threshold voltage adjusting method and hysteresis adjusting method
Technical Field
The invention relates to the technical field of integrated circuit chips, in particular to a signal strength detection circuit with an adjustable threshold value, a threshold value voltage adjusting method and a hysteresis adjusting method.
Background
The intelligent evolution of the optical network is a necessary development trend, and the optical modules required in various optical networks are continuously developed towards the direction of complexity, diversification and intelligence. When the input optical power is small or only visible light is input, there is still signal output at the output end of the main amplifier due to the high gain of the front-end circuit of the optical receiver, but the bit error rate is extremely deteriorated. Therefore, the intelligent optical module needs to monitor the received signal strength to perform LOS detection, that is, detect a system fault causing bit error rate deterioration by detecting whether the optical power is too low, and different LOS detection thresholds need to be set according to different application systems, environments and Bit Error Rate (BER) requirements, so the intelligent optical module needs to have a variable threshold function.
The existing optical module adopts a photodiode to represent the intensity of an electric signal, the intensity of the electric signal in the photodiode is copied through a voltage comparator, and the voltage comparator compares the electric signal with a set threshold voltage and outputs the intensity reflecting the electric signal. The existing method is to set a current to flow through a resistor to form a threshold voltage and realize that the threshold voltage and the hysteresis are adjustable. However, the existing circuit has the following problems:
the current of the adjustable current source flows through an adjustable resistor to form adjustable threshold voltage, but the resistance value of the resistor is difficult to manufacture accurately, so that the threshold voltage is not adjusted accurately by adjusting the current and the resistor.
In addition, the method for adjusting the threshold voltage by adjusting the current and the resistor has a small adjustable range, and generally only a 5-bit control range can be designed, and when a large current is encountered, a current mirror in the adjustable current source cannot accurately mirror the current in a large proportion, so that the method for adjusting the threshold voltage by adjusting the current and the resistor cannot be widely popularized.
Disclosure of Invention
One advantage of the present invention is to provide a threshold-adjustable signal strength detection circuit, in which the threshold adjustment circuit adjusts the threshold voltage through a plurality of selection switches, which has the advantages of precise adjustment and wide adjustment range.
To achieve at least one of the above advantages, the present invention provides a signal strength detection circuit with an adjustable threshold, including:
a detected circuit;
the voltage comparator is provided with an output end and two input ends, wherein one input end is electrically connected with the detected circuit; and
and the threshold adjusting circuit is externally connected with an input reference voltage, is electrically connected to the other input end of the voltage comparator in a voltage-changeable mode, and is used for comparing the electric signal in the threshold adjusting circuit with the electric signal in the detected circuit and outputting a high level or a low level from the output end according to the magnitude of the electric signal in the threshold adjusting circuit and the electric signal in the detected circuit.
According to an embodiment of the present invention, the threshold adjustment circuit includes a plurality of the first resistors, a plurality of second resistors, and a plurality of selection switches, where the resistance of the second resistor is twice that of the first resistor, the plurality of first resistors are connected in series, the first resistor at the head end is electrically connected to the input end, the first resistor at the tail end is connected in series to one of the second resistors, and the other end of the second resistor is grounded, and the remaining second resistors are electrically connected to the first resistors in sequence, so that each of the first resistors is located between two of the second resistors;
the selection switch is provided with a first end, a second end and a third end, wherein the first end is electrically connected with the second resistor, the second end is grounded, and the third end is electrically connected with the reference voltage.
According to an embodiment of the present invention, the number of the first resistors is implemented as six, the number of the second resistors is implemented as eight, and the number of the selection switches is implemented as seven.
According to an embodiment of the present invention, the threshold-adjustable signal strength detection circuit further includes a first inverter electrically connected to the output terminal of the voltage comparator.
According to an embodiment of the present invention, the threshold-adjustable signal strength detection circuit further includes a digital control circuit, the digital control circuit includes a data selector, the data selector has two receiving terminals, the two receiving terminals of the data selector are electrically connected to a processor at the same time for receiving data transmitted from the processor, the data selector is electrically connected to the output terminal of the voltage comparator, and the data selector selects one of the two receiving terminals to output according to a signal of the voltage comparator.
According to an embodiment of the present invention, the digital control circuit further includes a second inverter electrically connected to the data selector.
According to an embodiment of the present invention, the circuit to be detected is connected in series to a resistor, one end of the resistor is electrically connected to the input terminal of the voltage comparator, and the other end of the resistor is grounded.
To achieve at least one of the above advantages, the present invention provides a threshold voltage adjusting method applied to the threshold-adjustable signal strength detection circuit, including the following steps:
step A1: detecting the magnitude of the reference voltage; and
step A2: and changing the coupling states of the plurality of selection switches so as to adjust the magnitude of the threshold voltage of the reference voltage input to the voltage comparator.
To achieve at least one of the above advantages, the present invention provides a hysteresis adjusting method applied to a signal strength detecting circuit with an adjustable threshold, including the following steps:
step S1: setting a binary value DAC _ VALA, and inputting the binary value DAC _ VALA to a receiving end of the data selector by the processor;
step S2: setting a binary value DAC _ VALB, and inputting the binary value DAC _ VALB to the other receiving end of the data selector by the processor, wherein the hysteresis Hys = DAC _ VALA-DAC _ VALB;
and step S3: according to the high level or the low level of the electric signal transmitted to the data selector by the voltage comparator, the data selector selects one from the data DAC _ VALA or the data DAC _ VALB to be output to the processor according to the result of the voltage comparator, and the processor modifies the coupling states of a plurality of selection switches according to the received data.
According to an embodiment of the present invention, the step S3 further includes:
the data selector receives a high level, and the data selector outputs the data DAC _ VALA and defines the data DAC _ VALA as the threshold voltage;
the data selector receives the low-level data, outputs the data DAC _ VALB, defines the data DAC _ VALB as the threshold voltage, and updates the threshold voltage according to DAC _ VALB = DAC _ VALA-Hys.
Drawings
Fig. 1 shows a circuit diagram of the adjustable threshold signal strength detection circuit according to the present invention.
Fig. 2 shows a circuit diagram of the adjustable threshold signal strength detection circuit according to the present invention.
Fig. 3 shows a schematic diagram of the input signal variation of the voltage comparator in the adjustable threshold signal strength detection circuit according to the present invention and an output transmission characteristic diagram of the voltage comparator.
Detailed Description
The following description is presented to disclose the invention so as to enable any person skilled in the art to practice the invention. The preferred embodiments in the following description are given by way of example only, and other obvious variations will occur to those skilled in the art. The basic principles of the invention, as defined in the following description, may be applied to other embodiments, variations, modifications, equivalents, and other technical solutions without departing from the spirit and scope of the invention.
It will be understood by those skilled in the art that in the present disclosure, the terms "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship indicated in the drawings for convenience in describing the invention and simplicity in description, but do not indicate or imply that the device or component being referred to must have a particular orientation, be constructed in a particular orientation, and be constructed in a particular manner of operation, and thus, the terms are not to be construed as limiting the invention.
It is understood that the terms "a" and "an" should be interpreted as meaning "at least one" or "one or more," i.e., that a quantity of one element may be one in one embodiment, while a quantity of another element may be plural in other embodiments, and the terms "a" and "an" should not be interpreted as limiting the quantity.
Referring to fig. 1-3, a threshold adjustable signal strength detection circuit according to a preferred embodiment of the invention will be described in detail below. The signal intensity detection circuit with the adjustable threshold value can accurately adjust the threshold voltage and accurately reflect the intensity of the received signal.
The adjustable threshold signal strength detection circuit comprises a threshold adjusting circuit 10, a voltage comparator 20 and a detected circuit 50.
The voltage comparator 20 has an output end for outputting an electrical signal and two input ends, one of the input ends is electrically connected to the circuit to be tested 50
The threshold adjusting circuit 10 is electrically connected to an input terminal of the voltage comparator 20 in a voltage-variable manner, so that the threshold adjusting circuit 10 can change the threshold voltage.
Specifically, the other end of the threshold adjusting circuit 10 is connected to an input reference voltage, and the threshold adjusting circuit 10 can accurately adjust the reference voltage according to conditions, so that the adjusted voltage can be input to the voltage comparator 20, and the voltage comparator 20 assigns the received voltage to the threshold voltage. The voltage comparator 20 compares the electrical signal received from the circuit under test 50 with the threshold voltage and outputs a corresponding electrical signal from the output terminal.
As shown in fig. 1, the reference voltage is VREF, and the magnitude of the reference voltage may be changed in a gradient manner.
The threshold adjusting circuit 10 includes a plurality of first resistors 11, a plurality of second resistors 12, and a plurality of selection switches 13, wherein the resistance of the second resistors 12 is twice the resistance of the first resistors 11. The first resistors 11 are connected in series, the first resistor 11 at the head end is electrically connected to the input end, the first resistor 11 at the tail end is connected in series with the second resistor 12, and the other end of the second resistor 12 is grounded. The remaining second resistors 12 are electrically connected to the first resistors 11 in sequence, so that each first resistor 11 is located between two second resistors 12. One of the selection switches 13 includes a first terminal 131, a second terminal 132 and a third terminal 133, wherein the first terminal 131 is electrically connected to one of the second resistors 12, wherein the second terminal 132 is grounded, and wherein the third terminal 133 is electrically connected to the reference voltage.
Specifically, the selection switch 13 can control the coupling or decoupling relationship between the first terminal 131 and the second terminal 132 and the third terminal 133. When the first end 131 and the second end 132 are coupled, the second resistor 12 is grounded; when the first terminal 131 and the third terminal 133 are coupled, the second resistor 12 is electrically connected to the reference voltage.
Under the control of the plurality of selection switches 13, the connection position of the second resistor 12 can be changed, so that the voltage of the reference voltage input to the input end of the voltage comparator 20 can be adjusted, and the purpose of adjusting the threshold voltage is achieved.
The relationship between the threshold voltage Vth and the coupling states of N selection switches 13:
Figure 100994DEST_PATH_IMAGE002
according to the above formula, the threshold voltage can be adjusted widely and precisely according to the number of the selection switches 13.
Preferably, the number of second resistors 12 is eight. One of the second resistors 12 is connected in series to the first resistor 11 farthest from the voltage comparator 20, and the remaining second resistors 12 are sequentially electrically connected to the head end or the tail end of the first resistor 11. Correspondingly, the number of the selection switches 13 is seven, and the first ends 131 of the seven selection switches 13 are electrically connected to one ends of the seven second resistors 12.
The relationship between the threshold voltage Vth and the coupling states of the seven selection switches 13 is:
Figure 486976DEST_PATH_IMAGE004
seven of the selection switches 13 correspond to b in the above formula 0 、b 1 ……b 7 When the first terminals 131 and the second terminals 132 of the seven selection switches are coupled, it represents that the second resistor 12 is grounded, and b in the above formula 0 、b 1 ……b 7 Is assigned a value of 0. When the first terminal 131 and the third terminal 133 of seven of the selection switches 13 are coupled, it represents that the second resistor 12 and the reference voltage are turned on, and b in the above formula 0 、b 1 ……b 7 Is assigned a value of 1.
It should be noted that, with the design of the threshold adjustment circuit 10, the magnitude of the threshold voltage Vth does not relate to the specific magnitude of the resistor, but relates to the ratio of the first resistor 11 to the second resistor 12, that is, the resistance of the second resistor 12 is several times the resistance of the first resistor 11. Adopt this kind of design can convert the resistance of making accurate resistance into the problem of making accurate resistance ratio, and the resistance of accurate ratio can accurate manufacturing. In other words, the threshold adjusting circuit 10 only needs a resistor with a precise ratio to achieve the purpose of precisely adjusting the threshold voltage Vth, thereby ensuring that the voltage comparator 20 can precisely output an electrical signal.
The threshold-adjustable signal strength detection circuit further includes a first inverter 40, and the first inverter 40 is electrically connected to the output terminal of the voltage comparator 20. The first inverter 40 can improve the anti-interference performance of the circuit and reduce the power consumption of the circuit.
Because the number of the selector switches 13 is seven, the most accurate value of the threshold voltage can be 1/256 of the reference Voltage (VREF), that is, the threshold voltage is controlled by 8 bits, and the coupling state of each control switch 13 is related to the magnitude of the threshold voltage, so that the purpose of accurately adjusting the threshold voltage is achieved. Therefore, the threshold adjusting circuit 10 has the advantages of accurately adjusting the threshold voltage and having a large adjusting range.
For different situations, the magnitude of the electrical signal on the circuit under test 50 is different, and at this time, the threshold voltage input to the voltage comparator 20 needs to be changed to compare the electrical signal with different threshold voltages. With the threshold adjusting circuit 10, the threshold voltage can be accurately adjusted, and the threshold voltage adjusting range is wide. Therefore, the adjustable threshold signal strength detection circuit can detect the electrical signal on the detected circuit 50 under different conditions by using the threshold voltages with different sizes, thereby ensuring that the voltage comparator 20 can accurately output the electrical signal.
The adjustable threshold signal strength detection circuit further comprises a digital control circuit 30. The digital control circuit 30 includes a data selector 31. The data selector 31 is electrically connected to a processor, so that the processor can transmit data to two receiving ends of the data selector 31. Specifically, as shown in fig. 1 and fig. 2, the output end of the voltage comparator 20 is electrically connected to the FB terminal, and the other end of the FB terminal is electrically connected to the data selector 31, so that the data selector 31 can receive the electrical signal transmitted from the voltage comparator 20. The processor recognizes the coupling states of the plurality of selector switches 13, and converts the coupling states of the plurality of selector switches 13 into binary numbers according to the coupling positions of the plurality of selector switches 13 (for example, when seven selector switches 13 are coupled between the first terminal 131 and the second terminal 132, the binary number represents 0000000), and correspondingly, the processor converts the recognized binary numbers into decimal numbers, so as to facilitate reading by people. The processor inputs data DAC _ VALA and data DAC _ VALB to the data selector 31, and the data selector 31 selects a signal output according to the signal output from the voltage comparator 20. The data DAC _ VALA is converted into a decimal number according to the coupling positions of seven selection switches 13; the DAC _ VALB is a value set according to a required hysteresis amount. Representing the hysteresis quantity by Hys, wherein the relationship among the hysteresis quantity, the data DAC _ VALA and the data DAC _ VALB is as follows: DAC _ VALA-DAC _ VALB = Hys, then DAC _ VALB = DAC _ VALA-Hys. For example, when the voltage comparator 20 outputs a high level, the data comparator 31 outputs the data DAC _ VALA when the threshold voltage is equal to the data DAC _ VALA. It should be noted that, when the threshold voltage is expressed by a two-level system value, the two-level system code represents exactly seven positions where the selection switch 13 is coupled; when the voltage comparator 20 outputs a low level, the data comparator 31 outputs the data DAC _ VALB, where the threshold voltage is equal to the DAC _ VALB, and the DAC _ VALB = DAC _ VALA-Hys, and when the voltage comparator 20 flips next time, the threshold voltage is updated and compared with a new threshold voltage, so that setting of hysteresis is easily achieved.
It can be understood that the hysteresis amount Hys is a fixed value, and the operator only needs to set the data DAC _ VALB to achieve setting of the hysteresis, and since the data DAC _ VALA is formed by coupling states of seven of the selection switches 13, a range of the data DAC _ VALB can be widely set, so as to achieve a purpose of adjusting the hysteresis in a wide range.
The digital control circuit 30 further comprises a second inverter 32, the second inverter 32 is communicatively connected to the data selector 31, and the second inverter 32 has a high immunity to interference and can also reduce the power consumption of the circuit.
The circuit to be detected 50 is connected in series with a resistor and then grounded, and one end of the voltage comparator 20 is connected to the other end of the resistor.
The threshold voltage adjusting method according to a preferred embodiment of the present invention will be described in detail below. The threshold voltage adjusting method is applied to the signal strength detection circuit with the adjustable threshold, and comprises the following steps:
step A1: detecting the magnitude of the reference voltage; and
step A2: the coupling states of the plurality of selection switches 13 are changed so as to adjust the magnitude of the threshold voltage of the reference voltage input to the voltage comparator.
Specifically, for example, when the reference voltage is 3.3V, the reference voltage may be divided into 1/256 of the reference voltage according to the above formula, that is, a minimum value of about 13mv, and the coupling state of the selection switches 13 is changed according to the above formula, so that the threshold voltage can be precisely adjusted.
The hysteresis adjustment method according to a preferred embodiment of the present invention will be described in detail below. The hysteresis adjusting method is applied to the signal strength detection circuit with the adjustable threshold value, and comprises the following steps:
step S1: setting a binary value DAC _ VALA, and inputting the binary value DAC _ VALA to a receiving end of the data selector 31 by the processor;
step S2: setting a binary value DAC _ VALB, and inputting the binary value DAC _ VALB to the other receiving end of the data selector 31 by the processor, wherein the hysteresis Hys = DAC _ VALA-DAC _ VALB;
and step S3: depending on the high level or the low level of the electrical signal transmitted from the voltage comparator 20 to the data selector 31, the data selector 31 selects one of the data DAC _ VALA or the data DAC _ VALB to output to the processor according to the result of the voltage comparator 20, and the processor modifies the coupling states of the plurality of selection switches 13 according to the received data.
Specifically, the step S3 further includes that, if the data selector 31 receives a high level, the data selector 31 outputs the data DAC _ VALA; if the data selector 31 receives a low level, the data selector 31 outputs the data DAC _ VALB.
Specifically, the binary value DAC _ VALA in step S1 is associated with the coupling states of the plurality of selective opening tubes 13. In an initial state, an operator inputs DAC _ VALA to the processor, the processor not only inputs DAC _ VALA to a receiving end of the data selector 31, but also regulates and controls the coupling state of the selector switch 13 according to the DAC _ VALA; during operation, the DAC _ VALA is automatically generated by the processor according to the coupling state of the selection switches 13 and the definition of the coupling position of the selection switches 13, so that the data DAC _ VALA is generated by the processor according to the intelligent reading of the state of the selection switches 13 without inputting values again.
Here, taking the number of the selection switches 13 as seven as an example for specific flow description, the processor identifies the coupling states of the seven selection switches 13, converts the coupling states into binary values, defines the binary values as the data DAC _ VALA, and inputs the binary values to a receiving end of the data selector 31. One sets the data DAC _ VALB according to the hysteresis amount Hys defined as needed, and inputs the data DAC _ VALB to the other receiving end of the data selector 31, thereby completing the setting of the hysteresis amount Hys. Therefore, when modifying the hysteresis amount Hys, only the data DAC _ VALB input to the other receiving end of the data selector 31 needs to be changed, so as to complete the modification of the hysteresis amount.
As shown in fig. 3, taking an example that a Current in the detected circuit 50 (RSSI Current copy in fig. 1) changes from low to high and then from high to low, when a Current signal gradually increases but is smaller than a threshold voltage (VH shown in fig. 3), the voltage comparator 20 outputs a high level, the high level is input to the data selector 31 from an output terminal (FB terminal in fig. 1) of the voltage comparator 20, at this time, the data selector 31 outputs data DAC _ VALA, and the coupling state of the selection switch 13 is adjusted according to the data to generate the threshold voltage. When the current signal in the detected circuit 50 increases to exceed the threshold voltage, the voltage comparator 20 outputs a low level, and the low level is input to the data selector 31 from the output terminal of the voltage comparator 20, at this time, the data selector 31 outputs the data DAC _ VALB, and adjusts the coupling states of the seven selection switches 13 according to the data, so as to change the threshold voltage; since the voltage of the data DAC _ VALB is smaller than the voltage of the data DAC _ VALA, that is, the threshold voltage (VL shown in fig. 3) is lower than the previous threshold voltage VH, when the current signal in the circuit under test 50 decreases again, the flip voltage of the voltage comparator 20 changes (the flip point changes from point a to point b in fig. 3) due to the change of the threshold voltage, thereby implementing the hysteresis function. The above is explained by taking the example that the voltage comparator 20 is flipped and the threshold voltage is decreased, and in the practical application process, the threshold voltage may be increased after the voltage comparator 20 is flipped.
Preferably, since decimal is commonly used, the processor also converts the data DAC _ VALA and the data DAC _ VALB in binary into decimal data and displays the decimal data to an application engineer for identification, so that people can know the change of the data DAC _ VALA and the data DAC _ VALB in a circuit conveniently, and when inputting decimal values, the processor also correspondingly converts the values into binary.
By adopting the hysteresis adjusting method, the threshold voltage is set, and the hysteresis Hys is also set at the same time, so that the aims of accurately adjusting and quickly setting the threshold voltage can be fulfilled.
It will be appreciated by persons skilled in the art that the embodiments of the invention described above and shown in the drawings are given by way of example only and are not limiting of the invention. The advantages of the present invention have been fully and effectively realized. The functional and structural principles of the present invention have been shown and described in the examples, and any variations or modifications of the embodiments of the present invention may be made without departing from the principles.

Claims (10)

1. Adjustable threshold signal strength detection circuitry, said adjustable threshold signal strength detection circuitry comprising:
a detected circuit;
the voltage comparator is provided with an output end and two input ends, wherein one input end is electrically connected with the detected circuit; and
and the threshold adjusting circuit is externally connected with an input reference voltage, is electrically connected to the other input end of the voltage comparator in a voltage-changeable mode, and is used for comparing the electric signal in the threshold adjusting circuit with the electric signal in the detected circuit and outputting a high level or a low level from the output end according to the magnitude of the electric signal in the threshold adjusting circuit and the electric signal in the detected circuit.
2. The threshold adjustable signal strength detection circuit according to claim 1, wherein the threshold adjustment circuit comprises a plurality of first resistors, a plurality of second resistors and a plurality of selection switches, wherein the resistance of the second resistors is twice that of the first resistors, the plurality of first resistors are connected in series, the first resistor at the head end is electrically connected to the input end, the first resistor at the tail end is connected in series with one of the second resistors, the other end of the second resistor is grounded, and the remaining second resistors are electrically connected to the first resistors in turn, so that each of the first resistors is located between two of the second resistors;
the selection switch is provided with a first end, a second end and a third end, wherein the first end is electrically connected with the second resistor, the second end is grounded, and the third end is electrically connected with the reference voltage.
3. The adjustable threshold signal strength detection circuit according to claim 2, wherein the number of the first resistors is implemented as six, the number of the second resistors is implemented as eight, and the number of the selection switches is implemented as seven.
4. The adjustable threshold signal strength detection circuit of claim 1 further comprising a first inverter electrically connected to the output of the voltage comparator.
5. The adjustable-threshold signal strength detection circuit according to claim 3, further comprising a digital control circuit, wherein the digital control circuit comprises a data selector, the data selector has two receiving terminals, the two receiving terminals of the data selector are electrically connected to a processor at the same time for receiving data transmitted from the processor, the data selector is electrically connected to the output terminal of the voltage comparator, and the data selector selects one of the two receiving terminals to output according to the signal of the voltage comparator.
6. The adjustable threshold signal strength detection circuit of claim 5 wherein the digital control circuit further comprises a second inverter, the second inverter being electrically connected to the data selector.
7. The adjustable-threshold signal strength detection circuit according to claim 1, wherein the circuit to be detected is connected in series with a resistor, one end of the resistor is electrically connected to the input terminal of the voltage comparator, and the other end of the resistor is grounded.
8. The threshold voltage adjusting method is applied to the signal strength detecting circuit with the adjustable threshold value of any one of claims 1 to 7, and comprises the following steps:
step A1: detecting the magnitude of the reference voltage; and
step A2: and changing the coupling states of the plurality of selection switches so as to adjust the magnitude of the threshold voltage of the reference voltage input to the voltage comparator.
9. Hysteresis adjustment method, characterized in that, applied to the signal strength detection circuit with adjustable threshold value as claimed in claim 6, it comprises the following steps:
step S1: setting a binary value DAC _ VALA, and inputting the binary value DAC _ VALA to a receiving end of the data selector by the processor;
step S2: setting a binary value DAC _ VALB, and inputting the binary value DAC _ VALB to the other receiving end of the data selector by the processor, wherein the hysteresis Hys = DAC _ VALA-DAC _ VALB;
and step S3: according to the high level or the low level of the electric signal transmitted to the data selector by the voltage comparator, the data selector selects one from the data DAC _ VALA or the data DAC _ VALB to be output to the processor according to the result of the voltage comparator, and the processor modifies the coupling states of a plurality of selection switches according to the received data.
10. The hysteresis adjustment method according to claim 9, wherein the step S3 further comprises:
the data selector receives a high level, and the data selector outputs the data DAC _ VALA and defines the data DAC _ VALA as a threshold voltage;
the data selector receives the low-level data, outputs the data DAC _ VALB, defines the data DAC _ VALB as the threshold voltage, and updates the threshold voltage according to DAC _ VALB = DAC _ VALA-Hys.
CN202211359330.0A 2022-11-02 2022-11-02 Signal intensity detection circuit with adjustable threshold value, threshold voltage adjusting method and hysteresis adjusting method Pending CN115407180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211359330.0A CN115407180A (en) 2022-11-02 2022-11-02 Signal intensity detection circuit with adjustable threshold value, threshold voltage adjusting method and hysteresis adjusting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211359330.0A CN115407180A (en) 2022-11-02 2022-11-02 Signal intensity detection circuit with adjustable threshold value, threshold voltage adjusting method and hysteresis adjusting method

Publications (1)

Publication Number Publication Date
CN115407180A true CN115407180A (en) 2022-11-29

Family

ID=84169110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211359330.0A Pending CN115407180A (en) 2022-11-02 2022-11-02 Signal intensity detection circuit with adjustable threshold value, threshold voltage adjusting method and hysteresis adjusting method

Country Status (1)

Country Link
CN (1) CN115407180A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168067A (en) * 2014-08-29 2014-11-26 四川华拓光通信股份有限公司 Method for judging optical power signal intensity in optical receiving circuit and circuit thereof
CN105241591A (en) * 2015-10-30 2016-01-13 湖北航天技术研究院总体设计所 Adjustable retardation pressure alarm device
CN105450211A (en) * 2014-06-05 2016-03-30 无锡华润矽科微电子有限公司 Signal detection circuit
CN106788354A (en) * 2016-12-23 2017-05-31 长沙景美集成电路设计有限公司 A kind of programmable hysteresis comparator of sluggish width
CN206331020U (en) * 2016-08-12 2017-07-14 上海太矽电子科技有限公司 The controllable undervoltage detection means of anti-interference delay
US20170331270A1 (en) * 2016-05-16 2017-11-16 Cypress Semiconductor Corporation Adjustable over-current detector circuit for universal serial bus (usb) devices
CN110289839A (en) * 2019-07-10 2019-09-27 长沙景美集成电路设计有限公司 A kind of hysteresis comparator of threshold value programmable
CN114019415A (en) * 2022-01-06 2022-02-08 宜矽源半导体南京有限公司 Integrated short-circuit current detector with variable threshold, self-calibration and high precision
CN114019244A (en) * 2021-11-02 2022-02-08 洛阳银杏科技有限公司 Measurement and control system and method for laser resistor trimming machine
CN114157135A (en) * 2021-12-06 2022-03-08 东北大学 PWM-PFM seamless switching controller with hysteresis function and control method thereof
CN115021752A (en) * 2022-06-23 2022-09-06 思瑞浦微电子科技(苏州)股份有限公司 Digital-to-analog conversion circuit having isolation circuit and method of controlling digital-to-analog conversion circuit

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450211A (en) * 2014-06-05 2016-03-30 无锡华润矽科微电子有限公司 Signal detection circuit
CN104168067A (en) * 2014-08-29 2014-11-26 四川华拓光通信股份有限公司 Method for judging optical power signal intensity in optical receiving circuit and circuit thereof
CN105241591A (en) * 2015-10-30 2016-01-13 湖北航天技术研究院总体设计所 Adjustable retardation pressure alarm device
US20170331270A1 (en) * 2016-05-16 2017-11-16 Cypress Semiconductor Corporation Adjustable over-current detector circuit for universal serial bus (usb) devices
CN206331020U (en) * 2016-08-12 2017-07-14 上海太矽电子科技有限公司 The controllable undervoltage detection means of anti-interference delay
CN106788354A (en) * 2016-12-23 2017-05-31 长沙景美集成电路设计有限公司 A kind of programmable hysteresis comparator of sluggish width
CN110289839A (en) * 2019-07-10 2019-09-27 长沙景美集成电路设计有限公司 A kind of hysteresis comparator of threshold value programmable
CN114019244A (en) * 2021-11-02 2022-02-08 洛阳银杏科技有限公司 Measurement and control system and method for laser resistor trimming machine
CN114157135A (en) * 2021-12-06 2022-03-08 东北大学 PWM-PFM seamless switching controller with hysteresis function and control method thereof
CN114019415A (en) * 2022-01-06 2022-02-08 宜矽源半导体南京有限公司 Integrated short-circuit current detector with variable threshold, self-calibration and high precision
CN115021752A (en) * 2022-06-23 2022-09-06 思瑞浦微电子科技(苏州)股份有限公司 Digital-to-analog conversion circuit having isolation circuit and method of controlling digital-to-analog conversion circuit

Similar Documents

Publication Publication Date Title
US7164997B2 (en) Bus line current calibration
US6448815B1 (en) Low voltage differential receiver/transmitter and calibration method thereof
US7324572B2 (en) Laser driver circuit for burst mode transmission and fabrication method thereof
US7072415B2 (en) Method and apparatus for generating multi-level reference voltage in systems using equalization or crosstalk cancellation
US4280221A (en) Digital data communication system
US5287386A (en) Differential driver/receiver circuit
US10714051B1 (en) Driving apparatus and driving signal generating method thereof
US4729086A (en) Power supply system which shares current from a single redundant supply with multiple segmented loads
US7382152B2 (en) I/O interface circuit of integrated circuit
JPH055415B2 (en)
CN112838971A (en) CAN communication under cable breaking condition
KR20060116638A (en) Impedance control circuit in semiconductor device and impedance control method
KR20010051033A (en) Current driver circuit
US20030011426A1 (en) Multi-level receiver circuit with digital output using a variable offset comparator
US6608582B2 (en) A/D conversion using a variable offset comparator
US10848151B1 (en) Driving systems
CN101521492A (en) Impedance matching circuit and related method thereof
CN110246468B (en) Amplitude of oscillation adjustment drive arrangement
CN115407180A (en) Signal intensity detection circuit with adjustable threshold value, threshold voltage adjusting method and hysteresis adjusting method
WO1999038296A1 (en) Line driver with linear transitions
US20050089106A1 (en) Data transmission system and method
US8218672B2 (en) Differential data transceiver and method with reversed-wire immunity
WO2007013339A1 (en) Light receiving apparatus, testing apparatus, light receiving method, testing method, test module and semiconductor chip
US11664788B2 (en) Chip, self-calibration circuit and method for chip parameter offset upon power-up
US7148699B1 (en) Technique for calibrating electronic devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20221129

RJ01 Rejection of invention patent application after publication