CN115811371B - Threshold programmable loss of signal detection circuit with temperature and process compensation - Google Patents

Threshold programmable loss of signal detection circuit with temperature and process compensation Download PDF

Info

Publication number
CN115811371B
CN115811371B CN202211574623.0A CN202211574623A CN115811371B CN 115811371 B CN115811371 B CN 115811371B CN 202211574623 A CN202211574623 A CN 202211574623A CN 115811371 B CN115811371 B CN 115811371B
Authority
CN
China
Prior art keywords
transistor
nmos transistor
resistor
threshold
circuit
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.)
Active
Application number
CN202211574623.0A
Other languages
Chinese (zh)
Other versions
CN115811371A (en
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.)
Xiamen EOchip Semiconductor Co Ltd
Original Assignee
Xiamen EOchip 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 Xiamen EOchip Semiconductor Co Ltd filed Critical Xiamen EOchip Semiconductor Co Ltd
Priority to CN202211574623.0A priority Critical patent/CN115811371B/en
Publication of CN115811371A publication Critical patent/CN115811371A/en
Application granted granted Critical
Publication of CN115811371B publication Critical patent/CN115811371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention discloses a programmable threshold signal LOSs detection circuit with temperature and process compensation, belongs to the field of optical communication, and aims to solve the problems that the threshold of a traditional LOS circuit is fixed, the requirement of a new circuit system cannot be met, the LOS circuit must be redesigned, and the design cost of the circuit is further increased. The invention comprises a pre-operational amplifier, a peak value detection circuit, a comparator and a bias current source; the bias current source is used for providing bias current related to temperature and compensating the LOS circuit temperature; the front-end operational amplifier adjusts the amplitude of an input signal of the optical receiver; the peak detection circuit is used for detecting the peak value of the signal after the adjustment of the AMP; the comparator is used for judging whether the amplitude of the input signal reaches the threshold value of the LOS circuit or not; the pre-operational amplifier and the peak detection circuit are both provided with a threshold control port TH <3:0>, and the gain of the pre-operational amplifier and the threshold resistance of the peak detection circuit are adjusted by inputting a four-bit binary coding instruction to the threshold control port so as to realize the threshold programming of the LOS circuit.

Description

Threshold programmable loss of signal detection circuit with temperature and process compensation
Technical Field
The invention relates to a signal loss detection circuit for a receiving end in an optical communication system, belonging to the field of optical communication.
Background
Optical communication technology is widely applied to the fields of the internet, data centers and the like due to high speed, low loss and large information carrying quantity. The optical receiver is the most important component of an optical communication system, and is used to receive an optical signal in an optical fiber and convert it into a digital signal again. And a Limiting Amplifier (LA) is an integral part of the optical receiver. When an input optical signal is received by a Photodiode (PD) in an optical receiver, a current is generated, which is converted into a voltage signal by a transimpedance amplifier (TIA). Since the TIA needs to be considered between noise, bandwidth and gain, the gain of a typical TIA will not be very high, and thus the output signal amplitude of a typical TIA is tens of millivolts. However, clock and Data Recovery (CDR) circuits in optical receivers require the amplitude of the input signal to be on the order of hundreds of millivolts, so a LA needs to be added between TIA and CDR.
LA in an optical receiver has a very high gain and can amplify the signal from TIA to the extent required by CDR. Meanwhile, LA has a clipping function, and when the amplitude of a signal from TIA is too large, LA can reduce the gain so that the amplitude of an output signal is kept at a stable value. However, when the amplitude of the signal from the TIA is too small, the LA has no way to increase the gain, and the too small signal still does not meet the CDR requirements after passing through the LA, so that the whole optical receiver may generate an erroneous output. Therefore, when the amplitude of the signal from the TIA is too small, an additional circuit is required to output a signal to the outside, indicating that the signal received in the optical receiver circuit at this time is too small, the output thereof is not trusted, and the subsequent circuit is controlled to stop operating. A circuit for monitoring the intensity of an optical Signal received in an optical receiver is called a LOSs of Signal (LOS) detection circuit.
A LOSs of signal detection circuit (LOS) is located in a limiting amplifier at the receiving end of the optical communication for monitoring the amplitude of the input signal of the current system. When the amplitude of the input signal is lower than the LOS threshold value, the LOS circuit judges that the signal is lost, and the system controls the subsequent circuits to stop working so as to save power consumption and reduce the error rate of the system. A conventional LOS circuit is described below in conjunction with fig. 1. The conventional LOS circuit is composed of an operational Amplifier (AMP) for amplifying an input signal, a Peak Detector for detecting a Peak value of the input signal, and a hysteresis comparator (Hysteresis Comparator) for judging whether the Peak value of the current input signal reaches a threshold value. Let it be the input signal V IN Peak value V peak The gain of AMP is A V The peak value of the output signal of AMP is A V V peak . Suppose that when the output signal of AMP is high level, Q 1 Can be fully conductedWhen the output signal is low level, Q 1 Fully closed, at this point, Q 1 And conducting for half a period. Setting current I 1 For flowing through bipolar transistor Q 1 Average value of current, I C Flows through Q when the input signal is high 1 Instantaneous current (collector current) of (a) then there is I C =2I 1 . Peak Detector is a symmetrical circuit, so there is I 1 =I 2 . According to the base-emitter voltage (V) BE ) Collector current (I) C ) The relation between the two is:
the peak detection circuit output voltage can be obtained as:
V PD -V ref =A V V peak -V T ln2-I 1 R 3
wherein I is S Is the saturation current of the bipolar transistor, R 3 Is the threshold resistance of the Peak Detector, V T ln2 is the detection error of the Peak Detector in an ideal state, and in a non-ideal state, since the bipolar transistor in the Peak Detector is difficult to be fully turned on and off, the input signal is high, and flows through the bipolar transistor Q 1 Transient current I of (2) C Has I 1 <I C <2I 1 At this time, the detection error of the Peak Detector isWhen V is PD -V ref When=0, the amplitude of the input signal of the LOS circuit at this time is the threshold value of the LOS circuit. The threshold of the LOS circuit can be expressed as:
when V is PD -V ref When > 0, the hysteresis comparator outputs a low level, representing V TH_LOS <V peak The LOS circuit considers that the current input signal amplitude meets the requirement of a circuit system; when V is PD -V ref When < 0, the hysteresis comparator outputs a high level, representing V TH_LOS >V peak The LOS circuit considers that the current signal amplitude cannot meet the requirements of the circuit system, sends out an alarm signal of signal LOSs, and controls the subsequent circuit to stop working.
Conventional LOS circuits are typically only specific to a particular circuitry, and the required threshold is typically a fixed value. However, today, in the case of integrated circuit design modularization, if the LOS circuit is still designed by using a conventional circuit design method, the threshold requirement of the LOS circuit may be changed whenever the circuit system is slightly changed, and the LOS circuit needs to be redesigned, so that the cost of the circuit design is greatly increased. It is therefore of great importance to design a threshold programmable LOS circuit. In addition, since the LOS circuit is susceptible to the influence of the process, the power supply voltage and the temperature, and the accuracy thereof is reduced, in order to accurately determine whether the amplitude of the input signal reaches the threshold value of the LOS circuit, the generation and compensation of the detection error of the LOS circuit are also very important.
Disclosure of Invention
Aiming at the problems that the threshold value of the traditional LOS circuit is fixed, the requirement of a new circuit system cannot be met, and the LOS circuit must be redesigned, so that the circuit design cost is increased, the invention provides a programmable threshold value signal LOSs detection circuit with temperature and process compensation.
The invention relates to a signal loss detection circuit with programmable threshold value and temperature and process compensation, which comprises a pre-operational amplifier AMP, a Peak detection circuit Peak Detector, a comparator COMP, a bias Current source IBias Current, a capacitor C1 and a capacitor C2;
the bias Current source IBias Current is used for providing bias Current IB which is dependent on temperature 1 、IB 2 Bias current IB 1 、IB 2 Respectively supplying a front-end operational Amplifier (AMP) and a Peak detection circuit (Peak Detector) to realize temperature compensation of an LOS circuit;
the pre-operational amplifier AMP is used for receiving an input signal of the optical receiver and adjusting the amplitude of the input signal of the optical receiver; the regulated signal output by the pre-operational amplifier AMP is coupled through the capacitors C1 and C2 and then output to the Peak detection circuit Peak Detector;
the Peak Detector is configured to detect a Peak value of the signal after AMP adjustment, and output a detected result to the comparator COMP;
The comparator COMP is configured to determine whether the amplitude of the input signal reaches a threshold of the LOS circuit, and output a determination result of whether the signal is lost;
the front operational amplifier AMP and the Peak detection circuit Peak Detector are both provided with a threshold control port TH <3:0>, the gain of the front operational amplifier AMP and the threshold resistance of the Peak detection circuit Peak Detector are adjusted by inputting a four-bit binary coding instruction to the threshold control port TH <3:0>, so that the threshold of the LOS circuit is programmable, and the output of the comparator COMP controls the bias current of the Peak detection circuit Peak Detector so as to realize fixed hysteresis.
Preferably, the pre-operational amplifier AMP comprises a Gain adjusting unit Gain-adjust, a bipolar transistor Q a1 ~Q a6 Resistance R a1 ~R a8 NMOS transistor M a1 ~M a7 An inductance L1 and an inductance L2;
the input end of the Gain-adjusting unit Gain-adjust is a threshold control port TH<3:0>The Gain adjusting unit Gain-adjust translates and outputs the input four-bit binary code instruction, the Gain adjusting unit Gain-adjust output terminal O a1 ,O a2 ,O a3 The output state of (2) is: 001. 010 or 100; output terminal O a1 ,O a2 ,O a3 Respectively connected with NMOS transistor M a5 、M a6 、M a7 A gate electrode of (a);
one end of the inductor L1 and one end of the inductor L2 are connected with a power supply VDD;
the other end of the inductor L1 and the resistor R a7 Is connected with one end of the connecting rod;
the other end of the inductor L2 and the resistor R a8 Is connected with one end of the connecting rod;
resistor R a7 The other end of the transistor (B) is connected with the same-direction output end OUTP of the operational amplifier AMP and the bipolar transistor Q a1 Collector, bipolar transistor Q a3 Collector and bipolar transistor Q of (2) a5 Is connected with the collector of the capacitor;
resistor R a8 The other end of the (A) and the inverted output end OUTN of the operational amplifier AMP, the bipolar transistor Q a2 Collector, bipolar transistor Q a4 Collector and bipolar transistor Q of (2) a6 Is connected with the collector of the capacitor;
bipolar transistor Q a1 Bipolar transistor Q a3 Bipolar transistor Q a5 The bases of the two are connected with the reverse input end INN of the operational amplifier AMP;
bipolar transistor Q a2 Bipolar transistor Q a4 Bipolar transistor Q a6 The bases of the (a) are connected with the same-direction input end INP of the operational amplifier AMP;
bipolar transistor Q a1 Emitter and resistor R of (2) a1 Is connected with one end of the connecting rod;
bipolar transistor Q a2 Emitter and resistor R of (2) a2 Is connected with one end of the connecting rod;
bipolar transistor Q a3 Emitter and resistor R of (2) a3 Is connected with one end of the connecting rod;
bipolar transistor Q a4 Emitter and resistor R of (2) a4 Is connected with one end of the connecting rod;
bipolar transistor Q a5 Emitter and resistor R of (2) a5 Is connected with one end of the connecting rod;
bipolar transistor Q a6 Emitter and resistor R of (2) a6 Is connected with one end of the connecting rod;
resistor R a1 Resistance R a2 At the same time with NMOS transistor M a5 Is connected with the drain electrode of the transistor;
resistor R a3 Resistance R a4 At the same time with NMOS transistor M a6 Is connected with the drain electrode of the transistor;
resistor R a5 Resistance R a6 At the same time with NMOS transistor M a7 Is connected with the drain electrode of the transistor;
NMOS transistor M a5 Source of (d) and NMOS transistor M a1 Is connected with the drain electrode of the transistor;
NMOS transistor M a6 Source of (d) and NMOS transistor M a2 Is connected with the drain electrode of the transistor;
NMOS transistor M a7 Source of (d) and NMOS transistor M a3 Is connected with the drain electrode of the transistor;
NMOS transistor M a1 NMOS transistor M a2 NMOS transistor M a3 NMOS transistor M a4 Gate of (d) and NMOS transistor M a4 Is connected to the source of the bias current IB 1
NMOS transistor M a1 NMOS transistor M a2 NMOS transistor M a3 NMOS transistor M a4 The source of (c) is grounded.
Preferably, the four-bit binary code instruction is input by TH <3:0> to adjust the gain of the pre-op AMP is:
gain A of AMP V The method comprises the following steps:
in the formula g m Transconductance of bipolar transistor as conducting branch;
R S is a source negative feedback resistor of a bipolar transistor in a conduction branch, and the negative feedback resistor R a1 ~R a6 Divided into three groups, resistor R a1 And R is a2 A group of resistors R a3 And R is a4 A group of resistors R a5 And R is a6 The resistance values of the two resistors in the group are equal, and the resistance values among the groups are unequal;
When O is a1 ,O a2 ,O a3 Gain A of AMP when outputting different states V The corresponding adjustment is as follows:
O a1 ,O a2 ,O a3 =001,A V =g m R a8 /(1+g m R a6 );
O a1 ,O a2 ,O a3 =010,A V =g m R a8 /(1+g m R a4 );
O a1 ,O a2 ,O a3 =100,A V =g m R a8 /(1+g m R a2 )。
preferably, the Peak Detector comprises a threshold resistance adjusting unit Res-adjust, a bipolar transistor Q p1 ~Q p4 Resistance R p1 ~R p20 NMOS transistor M p0 NMOS transistor M p1 ~M p15 Capacitance C p1 And capacitor C p2
The input end of the threshold resistance adjusting unit Res-adjust is a threshold control port TH<3:0>The threshold resistance adjusting unit Res-adjust translates and outputs the input four-bit binary coded instruction, and the threshold resistance adjusting unit Res-adjust eight output terminals O p1 ~O p8 Its output is high and active, O p1 ~O p8 At the same TH<3:0>Only one valid bit is output during input; output terminal O p1 ~O p8 Respectively connected with NMOS transistor M p1 ~M p8 A gate electrode of (a);
power supply VDD is simultaneously connected with bipolar transistor Q p1 ~Q p4 Is connected with the collector of the capacitor; bipolar transistor Q p1 ~Q p4 Respectively cross-over resistor R between base electrode of (C) and power supply VDD p17 ~R p20 The method comprises the steps of carrying out a first treatment on the surface of the Bipolar transistor Q p1 、Q p2 The bases of the (a) are respectively connected with the input ends VIN1 and VIN2 of the Peak detection circuit Peak Detector;
bipolar transistor Q p1 Emitter, bipolar transistor Q of (2) p2 Emitter of (a) and NMOS transistor M p0 Is connected with the source electrode of the transistor;
NMOS transistor M p0 NMOS transistor M p1 ~M p8 Drain electrode of (C) and capacitor (C) p1 Is simultaneously connected with the amplitude voltage output terminal V of the Peak Detector PD Are connected;
resistor R p1 ~R p8 In series in turn, resistance R p1 One end is connected with NMOS transistor M p0 Is connected with the source electrode of the resistor R p1 ~R p8 Respectively with NMOS transistor M p1 ~M p8 The sources of the electrodes are connected one by one;
NMOS transistor M p12 Drain of NMOS transistor M p9 Is simultaneously with the drain of NMOS transistor M p8 Is connected with the source electrode of the transistor;
bipolar transistor Q p3 Emitter, bipolar transistor Q of (2) p4 Emitter, resistor R of (2) p9 One end of (C) capacitor p2 At the same time as the reference voltage output terminal V of the Peak Detector ref Are connected;
resistor R p9 ~R p16 Sequentially connected in series;
resistor R p16 At the same time with NMOS transistor M p15 NMOS transistor M p10 Is connected with the drain electrode of the transistor;
NMOS transistor M p13 Drain of (d) and NMOS transistor M p9 Is connected with the source electrode of the transistor;
NMOS transistor M p14 Drain of (d) and NMOS transistor M p10 Is connected with the source electrode of the transistor;
NMOS transistor M p11 NMOS transistor M p12 NMOS transistor M p13 NMOS transistor M p14 NMOS transistor M p15 Is simultaneously with the gate of NMOS transistor M p11 Is connected to the drain of the transistor and is connected to a bias current IB 2
NMOS transistor M p11 NMOS transistor M p12 NMOS transistor M p13 NMOS transistor M p14 NMOS transistor M p15 Source of (C) and capacitor C p1 Capacitance C p2 The other end of the first electrode is grounded;
NMOS transistor M p9 NMOS transistor M p10 Gate of (c) and output end LOS of comparator COMP out Are connected.
Preferably, the NMOS transistor M in the Peak Detector circuit Peak Detector p11 ,M p12 ,M p13 ,M p14 ,M p15 Is a current mirror, M p13 ,M p14 Respectively with NMOS transistor M p9 ,M p10 Two additional current branches are formed;
the output voltage of the Peak Detector is
Wherein A is V Gain of AMP, V peak For peak value of AMP input signal, V T Is thermal voltage, I C Is a bipolar transistor Q p1 And Q p2 The sum of collector currents of I 0 、I 1 、I HYS0 、I HYS1 Is the tail current and has the relation I 0 +I HYS0 =I 1 +I HYS1 ;R uar A threshold resistance which is a Peak Detector of the Peak detection circuit;
when the amplitude of the input signal is smaller than the threshold value of the LOS circuit, the NMOS transistor M is controlled p9 ,M p10 Conducting, at this time, the bias current is I 0 +I HYS0 And I 1 +I HYS1 When the input signal amplitude is greater than the threshold of the LOS circuit, the NMOS transistor M p9 ,M p10 Is not conductive, its bias current becomes I 0 And I 1 ,I 0 =I 1
Threshold resistance R var The magnitude of (2) is controlled and regulated by four-bit binary code input from outside, and the threshold resistance R var The size is equal to the resistance R p1 ~R p8 The series resistance sum of the access working parts is specifically: the threshold resistance adjusting unit Res-adjust translates and outputs the input four-bit binary coded instruction, O p1 ~O p8 At the same TH<3:0>Only one valid bit is output during input; corresponding control NMOS transistor M p1 ~M p8 Any one of the tubes is turned on, the resistance R p1 ~R p8 The number of the access operations is changed along with the change of the number of the access operations, thereby realizing the threshold resistance R var And (5) adjusting the size.
Preferably, NMOS transistor M p0 Gate and switch K of (2) c1 -K c1 SwitchIs controlled by an external digital circuit and is used for eliminating offset voltage generated by the Peak detection circuit Peak Detector and the comparator COMP due to device mismatch.
Preferably, the comparator COMP output LOS out The output judgment result controls the magnitude of the bias current of the Peak Detector to realize hysteresis, and the hysteresis sensitivity of the comparator COMP is as follows:
and the hysteresis is fixed.
Preferably, the bias Current source IBias Current comprises a PMOS transistor M i1 ~M i9 Operational amplifier AMP i1 Bipolar transistor Q i1 ~Q i3 Capacitance C i1 Capacitance C i2 PMOS transistor M i10 PMOS transistor M i11 PMOS transistor M i12 And resistance R i1 ~R i4
PMOS transistor M i1 ~M i9 The source electrode of the capacitor is connected with the power supply VDD at the same time;
PMOS transistor M i1 ~M i3 Gate of (c) and PMOS transistor M i1 The drain of (a) is connected with the resistor R at the same time i1 Is a member of the group;
resistor R i1 And NMOS transistor M i12 Is connected with the drain electrode of the transistor;
NMOS transistor M i12 Is connected with bias voltage V iB Are connected;
PMOS transistor M i2 Drain electrode of (d) bipolar transistor Q i1 Is connected with the collector and base of the same and the operational amplifier AMP i1 Is connected with the non-inverting input end of the circuit;
bipolar transistor Q i1 Emitter pass resistance R of (2) i2 Grounding;
Operational amplifier AMP i1 Output of (2)end-to-NMOS transistor M i11 Connected to the gate of (C) and passing through a capacitor C i1 Grounding;
PMOS transistor M i3 Drain electrode of (d) bipolar transistor Q i2 Is connected with the collector and base of the same and the operational amplifier AMP i1 Is connected with the inverting input terminal of the circuit;
NMOS transistor M i11 Source and bipolar transistor Q i2 Is connected with the emitter of the resistor R i3 Grounding;
PMOS transistor M i4 ~M i6 Gate of (2), PMOS transistor M i4 Is simultaneously with the drain of NMOS transistor M i11 Is connected with the drain electrode of the transistor;
PMOS transistor M i5 For outputting bias current IB 1
PMOS transistor M i6 Drain of NMSO transistor M i10 Is simultaneously with the gate of the bipolar transistor Q i3 Is connected with the collector of the capacitor;
PMOS transistor M i7 ~M i9 Gate of (2), PMOS transistor M i8 Is simultaneously with the drain of NMOS transistor M i10 Is connected with the drain electrode of the transistor;
PMOS transistor M i6 Drain of (d) and PMOS transistor M i7 Across capacitance C between drains of (C) i2
PMOS transistor M i7 Drain of (d) and bipolar transistor Q i3 Is connected with the base electrode of (C) and passes through a resistor R i4 Grounding;
PMOS transistor M i9 For outputting bias current IB 2
NMSO transistor M i12 Source, bipolar transistor Q i3 Emitter of (a) and NMSO transistor M i10 The source of (c) is grounded.
Preferably, the bias Current source IBias Current provides a bias Current IB proportional to absolute temperature to the pre-op AMP 1 The gain of the pre-operational amplifier AMP is made independent of temperature, and a bias current IB is introduced 1 The gain of post AMP is:
wherein n is a resistor R i2 And R is i3 Resistance ratio of n=r i3 /R i2 M is the number ratio of the transistors participating in the operation, m=q i2 /Q i1 ,R S Is a source negative feedback resistor of a bipolar transistor in a conduction branch;
bias Current source IBias Current provides bias Current IB inversely related to absolute temperature to Peak Detector 2 To reduce the absolute value of the temperature coefficient of the Peak Detector output voltage.
Preferably, the comparator COMP comprises a PMOS transistor M c1 ~M c7 Current source I c1 ~I c12 Inverter A c1 Switch K with complementary switches c1 ~K c6 And a switch
PMOS transistor M c1 PMOS transistor M c2 PMOS transistor M c6 The source electrode of the power supply is connected with the power supply VDD;
PMOS transistor M c1 Gate of (2), PMOS transistor M c2 Gate of (2), PMOS transistor M c1 Drain of NMOS transistor M c3 Is simultaneously with the switch K c1 ~K c6 Is connected with one end of the connecting rod;
PMOS transistor M c2 Drain of PMOS transistor M c6 Gate of (2) NMOS transistor M c4 Is simultaneously with the switch of the drain electrode of (a)Is connected with one end of the connecting rod;
NMOS transistor M c3 Reference voltage output terminal V of grid electrode and Peak detection circuit Peak Detector ref Are connected;
NMOS transistor M c4 Amplitude voltage output terminal V of grid electrode and Peak detection circuit Peak Detector PD Are connected;
NMOS transistor M c3 NMOS transistor M c4 Source of (d) and NMOS transistor M c5 Is connected with the drain electrode of the transistor;
NMOS transistor M c5 NMOS transistor M c7 Is connected with bias voltage V cB Are connected;
switch K c1 ~K c6 Respectively through the other ends of the current sources I c1 ~I c6 Grounding;
switchRespectively through the other ends of the current sources I c7 ~I c12 Grounding;
each switch is correspondingly connected with one current source;
PMOS transistor M c6 Drain of NMOS transistor M c7 Is simultaneously with the drain of the inverter A c1 Is connected with the input end of the power supply;
NMOS transistor M c5 Source of (d) and NMOS transistor M c7 The source electrode of the transistor is grounded;
inverter A c1 Output of (2) and output of LOSs of signal detection circuit (LOS) out Are connected.
The invention has the beneficial effects that: the invention provides an improvement on the basis of the traditional LOS circuit, improves the operational amplifier with fixed gain into an operational amplifier with adjustable gain, improves the threshold resistance of the peak detection circuit into a resistance value which is variable, and combines the two to realize the programmable threshold of the LOS circuit. And the high-precision detection of the LOS circuit is realized by carrying out temperature compensation on the operational amplifier and carrying out temperature and process compensation on the peak detection circuit.
The signal loss detection circuit can adapt to different system requirements by realizing the programmable threshold value of the signal loss detection circuit, so that the detection precision of the signal loss detection circuit is improved, and the circuit can adapt to complex application environments. The LOS circuit has been validated by simulation.
Drawings
FIG. 1 is a schematic diagram of a prior art loss of signal detection circuit;
FIG. 2 is a schematic diagram of a programmable threshold loss of signal detection circuit with temperature and process compensation according to the present invention;
FIG. 3 is a schematic circuit diagram of a gain adjustable pre-sense amplifier;
FIG. 4 is a schematic circuit diagram of a peak detection circuit with adjustable threshold resistance;
FIG. 5 is a schematic circuit diagram of a temperature dependent bias current source circuit;
FIG. 6 is a schematic circuit diagram of a comparator with process compensation;
FIG. 7 is a graph of the relationship between the threshold of the loss of signal detection circuit and the input values of the threshold control ports TH <3:0 >; wherein fig. 7 (a) is two curves of alarm voltage and alarm voltage, and fig. 7 (b) is a graph comparing curves under different temperature and input voltage conditions;
fig. 8 is a relationship between the gain and temperature of the operational amplifier AMP;
FIG. 9 is a graph of peak detection circuit output voltage versus temperature;
FIG. 10 is a plot of offset voltage between the COMP inputs of the comparator;
fig. 11 is a hysteresis sensitivity curve for different thresholds in a loss of signal detection circuit.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
The invention is further described below with reference to the drawings and specific examples, which are not intended to be limiting.
The first embodiment is as follows: the present embodiment will be described below with reference to fig. 2. This embodiment describes the framework of a threshold programmable loss of signal detection circuit with temperature and process compensation.
As known from the threshold voltage of the conventional LOS circuit, the threshold value of the LOS circuit is related to the gain of the operational amplifier AMP and the magnitude of the threshold resistance of the Peak Detector, and thus the threshold value of the LOS circuit can be programmable by adjusting the gain of the operational amplifier AMP and the magnitude of the threshold resistance of the Peak Detector. By analyzing the influence of factors affecting the LOS circuit threshold, including temperature variations, power supply voltage fluctuations and process variations, on the LOS circuit threshold voltage, several factors with greater influence on the LOS threshold are found: the effect of temperature variation on the gain of the operational amplifier AMP, the effect of temperature variation on the output voltage of the Peak Detector, the effect of process deviation on the output voltage of the Peak Detector, and the effect of process deviation on the hysteresis comparator COMP. These factors are then compensated for: the gain of the operational amplifier AMP is subjected to temperature compensation, the output voltage of the peak detection circuit is subjected to temperature compensation, and the peak detection circuit and the hysteresis comparator are subjected to process compensation, so that the detection precision of the LOS circuit is improved, and the peak detection circuit adopting a symmetrical structure can reduce the temperature change to a certain extent, the power supply voltage change and the influence of the process on the LOS circuit precision. In addition, the LOS circuit requires a hysteresis voltage with stable sensitivity to prevent jitter at the output of the LOS circuit caused by unwanted noise when the input signal amplitude approaches the LOS circuit threshold. The traditional LOS circuit has the advantages that the threshold value is fixed, so that the hysteresis sensitivity stability of LOS can be realized only by using one hysteresis comparator; when the LOS circuit threshold is changed, if it is desired that the hysteresis sensitivity of the LOS circuit remains unchanged, the hysteresis voltage window size needs to change with the threshold of the LOS circuit, which presents challenges to the design of the LOS circuit. According to the invention, the comparator and the peak detection circuit are combined, and the bias current of the peak detection circuit is controlled by the output voltage of the comparator, so that the LOS circuit has a hysteresis with stable sensitivity while the threshold is programmable.
In view of this, the present embodiment designs a threshold programmable loss of signal detection circuit with temperature and process compensation, as shown in fig. 2, including a pre-op AMP, a Peak Detector, a comparator COMP, a bias Current source IBias Current, a capacitor C1, and a capacitor C2;
the bias Current source IBias Current is used for providing bias Current IB which is dependent on temperature 1 、IB 2 Bias current IB 1 、IB 2 Respectively supplying a front-end operational Amplifier (AMP) and a Peak detection circuit (Peak Detector) to realize temperature compensation of an LOS circuit;
the pre-operational amplifier AMP is used for receiving an input signal of the optical receiver and adjusting the amplitude of the input signal of the optical receiver; the regulated signal output by the pre-operational amplifier AMP is coupled through the capacitors C1 and C2 and then output to the Peak detection circuit Peak Detector;
the Peak Detector is configured to detect a Peak value of the signal after AMP adjustment, and output a detected result to the comparator COMP;
the comparator COMP is configured to determine whether the amplitude of the input signal reaches a threshold of the LOS circuit, and output a determination result of whether the signal is lost;
the front operational amplifier AMP and the Peak detection circuit Peak Detector are both provided with a threshold control port TH <3:0>, the gain of the front operational amplifier AMP and the threshold resistance of the Peak detection circuit Peak Detector are adjusted by inputting a four-bit binary coding instruction to the threshold control port TH <3:0>, so that the threshold of the LOS circuit is programmable, and the output of the comparator COMP controls the bias current of the Peak detection circuit Peak Detector so as to realize fixed hysteresis.
IBias Current is the bias Current source of the LOS circuit, which outputs two currents IB 1 And IB (group B) 2 Bias current is provided to AMP and Peak Detector. The differential input signal is input from INP, INN and fed into the gain-adjustable operational amplifier AMP. Gain of AMP through TH<3:0>And adjusting. TH (TH)<3:0>For four-bit binary coding, can be rootedThe setting is made manually as required. After the differential signal passes through AMP, it is passed through two coupling capacitors (C 1 ,C 2 ) Is fed to a Peak Detector for Peak detection. The threshold resistance of the Peak Detector may be determined by TH<3:0>Setting is performed. Output voltage V of Peak Detector PD -V ref Is sent to a comparator COMP for judgment, when V PD -V ref When the voltage is more than 0, COMP outputs a low level; when V is PD -V ref When < 0, COMP outputs high level.
The threshold programming of the LOS circuit is accomplished by both AMP and Peak Detector.
The second embodiment is as follows: next, this embodiment will be further described with reference to fig. 2 to 11, which give a detailed description of the specific structure of each part in the frame described in this embodiment, and a detailed analysis of the principle thereof.
First, a threshold programmable implementation of the LOS circuit will be described.
Threshold programmable implementation of LOS circuit: the LOS circuit controls the gain of the AMP and the threshold resistance of the Peak Detector through TH <3:0>, so that the threshold of the LOS circuit is programmable.
Fig. 3 shows a structural diagram of AMP, specifically: the pre-operational amplifier AMP includes a Gain adjusting unit Gain-adjust, a bipolar transistor Q a1 ~Q a6 Resistance R a1 ~R a8 NMOS transistor M a1 ~M a7 An inductance L1 and an inductance L2;
the input end of the Gain-adjusting unit Gain-adjust is a threshold control port TH<3:0>The Gain adjusting unit Gain-adjust translates and outputs the input four-bit binary code instruction, the Gain adjusting unit Gain-adjust output terminal O a1 ,O a2 ,O a3 The output state of (2) is: 001. 010 or 100; output terminal O a1 ,O a2 ,O a3 Respectively connected with NMOS transistor M a5 、M a6 、M a7 A gate electrode of (a);
one end of the inductor L1 and one end of the inductor L2 are connected with a power supply VDD;
the other end of the inductor L1 and the resistor R a7 Is connected with one end of the connecting rod;
the other end of the inductor L2 and the resistor R a8 Is connected with one end of the connecting rod;
resistor R a7 The other end of the transistor (B) is connected with the same-direction output end OUTP of the operational amplifier AMP and the bipolar transistor Q a1 Collector, bipolar transistor Q a3 Collector and bipolar transistor Q of (2) a5 Is connected with the collector of the capacitor;
resistor R a8 The other end of the (A) and the inverted output end OUTN of the operational amplifier AMP, the bipolar transistor Q a2 Collector, bipolar transistor Q a4 Collector and bipolar transistor Q of (2) a6 Is connected with the collector of the capacitor;
bipolar transistor Q a1 Bipolar transistor Q a3 Bipolar transistor Q a5 The bases of the two are connected with the reverse input end INN of the operational amplifier AMP;
bipolar transistor Q a2 Bipolar transistor Q a4 Bipolar transistor Q a6 The bases of the (a) are connected with the same-direction input end INP of the operational amplifier AMP;
bipolar transistor Q a1 Emitter and resistor R of (2) a1 Is connected with one end of the connecting rod;
bipolar transistor Q a2 Emitter and resistor R of (2) a2 Is connected with one end of the connecting rod;
bipolar transistor Q a3 Emitter and resistor R of (2) a3 Is connected with one end of the connecting rod;
bipolar transistor Q a4 Emitter and resistor R of (2) a4 Is connected with one end of the connecting rod;
bipolar transistor Q a5 Emitter and resistor R of (2) a5 Is connected with one end of the connecting rod;
bipolar transistor Q a6 Emitter and resistor R of (2) a6 Is connected with one end of the connecting rod;
resistor R a1 Resistance R a2 At the same time with NMOS transistor M a5 Is connected with the drain electrode of the transistor;
resistor R a3 Resistance R a4 At the same time as the other end ofAnd NMOS transistor M a6 Is connected with the drain electrode of the transistor;
resistor R a5 Resistance R a6 At the same time with NMOS transistor M a7 Is connected with the drain electrode of the transistor;
NMOS transistor M a5 Source of (d) and NMOS transistor M a1 Is connected with the drain electrode of the transistor;
NMOS transistor M a6 Source of (d) and NMOS transistor M a2 Is connected with the drain electrode of the transistor;
NMOS transistor M a7 Source of (d) and NMOS transistor M a3 Is connected with the drain electrode of the transistor;
NMOS transistor M a1 NMOS transistor M a2 NMOS transistor M a3 NMOS transistor M a4 Gate of (d) and NMOS transistor M a4 Is connected to the source of the bias current IB 1
NMOS transistor M a1 NMOS transistor M a2 NMOS transistor M a3 NMOS transistor M a4 The source of (c) is grounded.
Wherein the circuit module Gain-adjust is a decoder for encoding four bits of binary code TH<3:0>Translation, its output terminal O a1 ,O a2 ,O a3 There are three cases of output states: 001 010, 100,1 represents an output high level, and 0 represents an output low level. NMOS transistor M a5 ,M a6 ,M a7 Is used as a switch to control the gain of the AMP. M is M a5 ,M a6 ,M a7 Gate and gate-adjust output terminal O a1 ,O a2 ,O a3 Connected when M a5 ,M a6 ,M a7 When the gate of one of the NMOS is at a high level, the NMOS is in a conductive state, and the other NMOS is in a non-conductive state, the gain on the branch of the conductive NMOS is equal to the gain of the entire AMP. Resistor R a1 And R is a2 ,R a3 And R is a4 ,R a5 And R is a6 The resistor is divided into three groups, the resistance values in each group are equal, and the resistance values among the groups are unequal.
The gain process of the pre-op AMP is adjusted by TH <3:0> input of a four bit binary code instruction as follows:
gain A of AMP V The method comprises the following steps:
in the formula g m Transconductance of bipolar transistor as conducting branch;
R S is a source negative feedback resistor of a bipolar transistor in a conduction branch, and the negative feedback resistor R a1 ~R a6 Divided into three groups, resistor R a1 And R is a2 A group of resistors R a3 And R is a4 A group of resistors R a5 And R is a6 The resistance values of the two resistors in the group are equal, and the resistance values among the groups are unequal;
when O is a1 ,O a2 ,O a3 Gain A of AMP when outputting different states V The corresponding adjustment is as follows:
O a1 ,O a2 ,O a3 =001,A V =g m R a8 /(1+g m R a6 );
O a1 ,O a2 ,O a3 =010,A V =g m R a8 /(1+g m R a4 );
O a1 ,O a2 ,O a3 =100,A V =g m R a8 /(1+g m R a2 )。
due to resistance R a2 ,R a4 And R is a6 The values of (2) are different, so that the gain of AMP will be dependent on O a1 ,O a2 ,O a3 The output of (a) changes. I.e. the gain of AMP is derived from TH<3:0>And (5) controlling.
Next, fig. 4 shows a specific structure of a Peak Detector (Peak Detector) with a variable threshold resistance: the Peak Detector includes a threshold resistance adjusting unit Res-adjust, a bipolar transistor Q p1 ~Q p4 Resistance R p1 ~R p20 NMOS transistor M p0 NMOS crystalTube M p1 ~M p15 Capacitance C p1 And capacitor C p2
The input end of the threshold resistance adjusting unit Res-adjust is a threshold control port TH<3:0>The threshold resistance adjusting unit Res-adjust translates and outputs the input four-bit binary coded instruction, and the threshold resistance adjusting unit Res-adjust eight output terminals O p1 ~O p8 Its output is high and active, O p1 ~O p8 At the same TH<3:0>Only one valid bit is output during input; output terminal O p1 ~O p8 Respectively connected with NMOS transistor M p1 ~M p8 A gate electrode of (a);
power supply VDD is simultaneously connected with bipolar transistor Q p1 ~Q p4 Is connected with the collector of the capacitor; bipolar transistor Q p1 ~Q p4 Respectively cross-over resistor R between base electrode of (C) and power supply VDD p17 ~R p20 The method comprises the steps of carrying out a first treatment on the surface of the Bipolar transistor Q p1 、Q p2 The bases of the (a) are respectively connected with the input ends VIN1 and VIN2 of the Peak detection circuit Peak Detector;
bipolar transistor Q p1 Emitter, bipolar transistor Q of (2) p2 Emitter of (a) and NMOS transistor M p0 Is connected with the source electrode of the transistor;
NMOS transistor M p0 NMOS transistor M p1 ~M p8 Drain electrode of (C) and capacitor (C) p1 Is simultaneously connected with the amplitude voltage output terminal V of the Peak Detector PD Are connected;
resistor R p1 ~R p8 In series in turn, resistance R p1 One end is connected with NMOS transistor M p0 Is connected with the source electrode of the resistor R p1 ~R p8 Respectively with NMOS transistor M p1 ~M p8 The sources of the electrodes are connected one by one;
NMOS transistor M p12 Drain of NMOS transistor M p9 Is simultaneously with the drain of NMOS transistor M p8 Is connected with the source electrode of the transistor;
bipolar transistor Q p3 Emitter, bipolar transistor Q of (2) p4 Emitter, resistor R of (2) p9 One end of (C) capacitor p2 At the same time of one end of (a)Reference voltage output terminal V of Peak Detector ref Are connected;
resistor R p9 ~R p16 Sequentially connected in series;
resistor R p16 At the same time with NMOS transistor M p15 NMOS transistor M p10 Is connected with the drain electrode of the transistor;
NMOS transistor M p13 Drain of (d) and NMOS transistor M p9 Is connected with the source electrode of the transistor;
NMOS transistor M p14 Drain of (d) and NMOS transistor M p10 Is connected with the source electrode of the transistor;
NMOS transistor M p11 NMOS transistor M p12 NMOS transistor M p13 NMOS transistor M p14 NMOS transistor M p15 Is simultaneously with the gate of NMOS transistor M p11 Is connected to the drain of the transistor and is connected to a bias current IB 2
NMOS transistor M p11 NMOS transistor M p12 NMOS transistor M p13 NMOS transistor M p14 NMOS transistor M p15 Source of (C) and capacitor C p1 Capacitance C p2 The other end of the first electrode is grounded;
NMOS transistor M p9 NMOS transistor M p10 Gate of (c) and output end LOS of comparator COMP out Are connected.
Wherein the threshold resistance (R var ) Output terminal V of Peak Detector PD To bipolar transistor Q p1 And Q p2 The sum of the resistances between the emitters of (a). The sum of which is controlled by the circuit block Res-adjust. Res-adjust is a decoder whose input inputs a four-bit binary code TH<3:0>The output end is O p1 ~O p8 Its output is high and active, O p1 ~O p8 At the same TH<3:0>Only one valid bit is output when input. Res-adjust output O p1 ~O p8 And NMOS transistor M p1 ~M p8 Is connected to the gate of (c). When M p1 ~M p8 When one of the gates is at a high level, the NMOS is in a conductive state, the NMOS is equivalently a short circuit,at this time R of Peak Detector var Source-to-bipolar transistor Q for the NMOS p1 And Q p2 The sum of the resistances between the emitters of (a). TH therefore<3:0>The threshold resistance R of the Peak Detector can be controlled by Res-adjust var Is a value of (2).
Similar to the conventional LOS circuit analysis method, the output voltage analysis process of the Peak Detector in the present invention is as follows: differential signals are fed from the input terminals VIN1 and VIN2 of the Peak Detector, and the single-ended signal amplitude of the differential signals is A V V peak . Setting bipolar transistor Q p1 And Q p2 The sum of instantaneous collector currents of (a) is I C Average current is I 0 +I HYS0 . Since the Peak Detector is a symmetrical circuit in the present invention, there is I 1 +I HYS1 =I 0 +I HYS0 . As can be seen from the output voltage formula of the Peak Detector in the conventional LOS circuit, the output voltage of the Peak Detector in the present invention is
Wherein, the liquid crystal display device comprises a liquid crystal display device,is the detection error of the output voltage of the Peak Detector in the present invention; a is that V Is the gain of AMP in the present invention; r is R var Is the threshold resistance of the Peak Detector in the present invention.
From the output voltage of the Peak Detector in the present invention, the threshold voltage of the present invention is obtained
Due to the gain of AMP in the present invention (A V ) And a threshold resistance (R var ) Are all variable values and are each a set of four-bit binary codes TH<3:0>Control, so can be achieved by controlling TH<3:0>Thereby controlling the threshold voltage of the present invention. The invention is thatThreshold programmable implementation of LOS circuit figure 7 illustrates the threshold voltage vs. TH of the present invention <3:0>Wherein FIG. 7 (a) shows two curves of the alarm voltage and the alarm voltage, respectively representing the current I HYS0 Fig. 7 (b) shows a graph comparing threshold voltages of the present invention under different temperature and input voltage conditions, and it can be seen from the graph that temperature variation and power supply voltage variation have no influence on the threshold voltages of the present invention.
Next, the principle of how AMP proposed by the present invention improves circuit accuracy is analyzed:
embodiments of the present invention for improving AMP gain stability are described below with reference to fig. 3 and 5. Fig. 3 is a block diagram of AMP. Wherein NMOS transistor M a1 ,M a4 ,M a3 ,M a4 Constitute a current mirror, IB 1 For bias current, provided by the bias circuit of fig. 5; resistor R a1 ,R a2 ,R a3 ,R a4 ,R a5 ,R a6 Is a source negative feedback resistor for improving the linearity of the AMP.
The bias Current source IBias Current includes a PMOS transistor M i1 ~M i9 Operational amplifier AMP i1 Bipolar transistor Q i1 ~Q i3 Capacitance C i1 Capacitance C i2 PMOS transistor M i10 PMOS transistor M i11 PMOS transistor M i12 And resistance R i1 ~R i4
PMOS transistor M i1 ~M i9 The source electrode of the capacitor is connected with the power supply VDD at the same time;
PMOS transistor M i1 ~M i3 Gate of (c) and PMOS transistor M i1 The drain of (a) is connected with the resistor R at the same time i1 Is a member of the group;
Resistor R i1 And NMOS transistor M i12 Is connected with the drain electrode of the transistor;
NMOS transistor M i12 Is connected with bias voltage V iB Are connected;
PMOS transistor M i2 Drain electrode of (C) and bipolar crystalBody tube Q i1 Is connected with the collector and base of the same and the operational amplifier AMP i1 Is connected with the non-inverting input end of the circuit;
bipolar transistor Q i1 Emitter pass resistance R of (2) i2 Grounding;
operational amplifier AMP i1 And NMOS transistor M i11 Connected to the gate of (C) and passing through a capacitor C i1 Grounding;
PMOS transistor M i3 Drain electrode of (d) bipolar transistor Q i2 Is connected with the collector and base of the same and the operational amplifier AMP i1 Is connected with the inverting input terminal of the circuit;
NMOS transistor M i11 Source and bipolar transistor Q i2 Is connected with the emitter of the resistor R i3 Grounding;
PMOS transistor M i4 ~M i6 Gate of (2), PMOS transistor M i4 Is simultaneously with the drain of NMOS transistor M i11 Is connected with the drain electrode of the transistor;
PMOS transistor M i5 For outputting bias current IB 1
PMOS transistor M i6 Drain of NMSO transistor M i10 Is simultaneously with the gate of the bipolar transistor Q i3 Is connected with the collector of the capacitor;
PMOS transistor M i7 ~M i9 Gate of (2), PMOS transistor M i8 Is simultaneously with the drain of NMOS transistor M i10 Is connected with the drain electrode of the transistor;
PMOS transistor M i6 Drain of (d) and PMOS transistor M i7 Across capacitance C between drains of (C) i2
PMOS transistor M i7 Drain of (d) and bipolar transistor Q i3 Is connected with the base electrode of (C) and passes through a resistor R i4 Grounding;
PMOS transistor M i9 For outputting bias current IB 2
NMSO transistor M i12 Source, bipolar transistor Q i3 Emitter of (a) and NMSO transistor M i10 The source of (c) is grounded.
Because of nonlinearity in the circuit, the small signal gain of the AMP changes along with the change of the amplitude of the input signal, so that the threshold value of the LOS circuit changes, and the detection precision of the LOS circuit is reduced. Therefore, the invention improves the linearity of the AMP and reduces the dependence of the gain of the AMP on the amplitude of the input signal by adopting the source negative feedback technology. For AMP in FIG. 3, the gain is
Wherein g m Is the transconductance, R, of the bipolar transistor of the conducting branch in the AMP S Is the source degeneration resistor of the bipolar transistor in the turn-on branch. Rewriting gain formula of AMP
As can be seen from the gain formula of the rewritten AMP, g m When large, 1/g m ≈0,R S >>1/g m . At this time, g in the gain of the AMP m The contribution of (2) is far smaller than R S And with R S Increase in g m The smaller the contribution of (c). Due to g m The value of (2) varies with the amplitude of the input signal, resulting in the gain of AMP varying with the amplitude of the input signal, so when g m The smaller the gain contribution to AMP, the weaker the relationship between the gain of AMP and the input signal amplitude, i.e. the better the linearity of AMP.
Second, AMP gain is susceptible to temperature changes. The reason is that the device parameter of the bipolar transistor is sensitive to temperature change, and the relation between the transconductance of the bipolar transistor and the temperature is that
Wherein I is C Collector current of bipolar transistor, V T Is a thermal voltage. The present invention achieves AMP gain independent of temperature by providing a bias current to AMP that is positively correlated to absolute temperature. The following describes the embodiment with reference to fig. 5. The invention realizes a bias current proportional to absolute temperature by utilizing the fact that the difference value of the base-emitter voltages of the bipolar transistors under unequal current densities is proportional to absolute temperature. In fig. 5, an operational amplifier AMP i1 The voltages of the non-inverting input terminal and the inverting input terminal are the same; bipolar transistor Q i1 And Q i2 Single size is the same, the number ratio is m, Q i2 /Q i1 =m; resistor R i2 And R is i3 The ratio is n, R i3 /R i2 =n; PMOS transistor M i2 And M i3 The ratio of the dimensions of (2) is M i2 /M i3 N, so, it can be assumed that M i2 Is nI, M i3 Is I; PMOS transistor M i4 And M i5 The size ratio is 1:1; m is M i4 And M i5 Is a current mirror, so M i11 Is also IB 1 The method comprises the steps of carrying out a first treatment on the surface of the First, due to AMP i1 Is present at the non-inverting input voltageAnd an inverting input voltage +.>Identical, and
so that
And because of R i3 /R i2 =n,
And according to the collector current formula of the bipolar transistor
In bipolar transistor Q i1 And Q i2 The method comprises the following steps:
so there are:
V T ln(mn)=IB 1 R i3
establishment; so that:
can be derived from IB 1 The current of (2) is of the magnitude of
The temperature coefficient is as follows
IB 1 Is an output current positively correlated with absolute temperature, IB 1 Is fed into the AMP as a bias current so that the gain of the AMP is independent of temperature. Will IB 1 Substituted into the gain of AMP:
from the gain formula of AMP, A V Independent of temperature. Fig. 8 shows the gain of AMP as a function of temperature. Wherein A is V 1,A V 2,A V 3 is a curve of the gain of AMP after temperature compensation along with the change of temperature, A V 4,A V 5,A V 6 is a graph showing the gain of AMP without temperature compensation as a function of temperature, which shows that the gain of AMP is insensitive to temperature change after temperature compensation.
An implementation of temperature compensation of the Peak Detector is described below with reference to fig. 4 and 5. FIG. 4 is a diagram showing the structure of the Peak Detector in the present invention, in which the NMOS transistor M p11 ,M p12 ,M p13 ,M p14 ,M p15 Is a current mirror, IB 2 The temperature coefficient of the output voltage of the Peak Detector is reduced by providing the Peak Detector with a bias current that is inversely related to the absolute temperature. The output voltage of the Peak Detector in the invention is
The gain of AMP in the present invention is independent of temperature after temperature compensation. The temperature coefficient of the output voltage of the Peak Detector in the present invention is:
for ease of calculation, assume the current ratioIndependent of temperature. Assuming that the temperature coefficient of the output voltage of the Peak Detector is 0 in the present invention, then
The temperature coefficient of the bias current is negative and variable, but this increases the complexity of the circuit design. In order to obtain the minimum temperature coefficient of the Peak Detector output voltage while simplifying the circuit design, the influence of the temperature coefficient of the bias current on the threshold value of the LOS circuit is considered. When the threshold voltage of the LOS circuit is large, R var The bias current changes with temperature to cause the threshold voltage of the LOS circuit to change with temperature to a larger extent, so the temperature coefficient of the bias current has a larger influence on the threshold voltage of the LOS circuit, and when R var When larger, the bias current of the peak detection circuit should have a smaller temperature coefficient. When the threshold voltage of the LOS circuit is small, R var The bias current changes with temperature to cause the threshold voltage of the LOS circuit to change less with temperature, so the temperature coefficient of the bias current has less influence on the threshold voltage of the LOS circuit, when R var The bias current of the peak detection circuit allows for a larger temperature coefficient when smaller. Setting R in the temperature coefficient of the bias current var At maximum value R max . Then the temperature coefficient of the bias current is substituted into the temperature coefficient of the output voltage of the Peak Detector to be
When R is var At the time of maximum value, the maximum value,is 0 when R var In case of change, the wearer is strapped with->The temperature coefficient is the smallest. />
The bias circuit of FIG. 5 provides a negative absolute temperature dependent bias current IB for the Peak Detector 2 . Due to the base-collector voltage V of bipolar transistors BE Is inversely related to absolute temperature, so that when temperature increases, Q i3 Base collector voltage V of (2) BEi3 Drop, resistance R i4 Voltage drop across resistor R i4 Is decreased; PMOS transistor M i7 ,M i8 ,M i9 Make up of current mirror, IB 2 Is fed into the peak detection circuit as a bias current. IB (IB) 2 Is of the size of
IB 2 The temperature coefficient of (2) is:
E g is the band gap energy of silicon, E g ≈1.12eV;
q: electron charge quantity
T: thermodynamic temperature
m is about equal to-3/2
k: boltzmann constant
Regulation of IB 2 Is of the temperature coefficient of
The temperature coefficient of the output voltage of the Peak Detector can be lowered.
FIG. 9 shows the output voltage V of the Peak Detector PD -V ref Curve as a function of temperature. Firstly, selecting an output value at normal temperature to enable V PD -V ref And then the value of (2) is 0, the input value is kept unchanged, the simulation environment temperature is changed, and the output is observed. Where temp. comp indicates that the peak detection circuit is temperature compensated. Taking maximum and minimum threshold resistances of the Peak detectors as examples, it is known that when temperature compensation is not performed, the output voltage V is at the maximum threshold resistance of the Peak Detector PD -V ref The change along with the temperature is large; when the threshold resistance of the Peak Detector is minimum, the influence of temperature change on the output voltage is small, and even if a large temperature coefficient exists, the influence on the output voltage is small. Therefore, a better temperature compensation effect can be realized through the temperature compensation mode. Temp. Comp in FIG. 9 shows the temperature compensated Peak Detector output voltage V PD -V ref As a result, the Peak Detector can be configured to output a high voltage even when the Peak Detector has a high threshold resistance or the Peak Detector has a low threshold resistance. This demonstrates the effectiveness of this temperature compensation. After temperature compensation, the output voltage of the Peak Detector becomes insensitive to temperature variations.
The implementation of the process compensation according to the invention is described below with reference to fig. 4 and 6. Fig. 4 shows the Peak Detector of the present invention. The Peak Detector is symmetrical, bipolar transistor Q p1 ,Q p2 ,Q p3 ,Q p4 Are transistors of the same size. FIG. 6 shows COMP in the present invention, specifically: the comparator COMP includes a PMOS transistor M c1 ~M c7 Current source I c1 ~I c12 Inverter A c1 Switch K with complementary switches c1 ~K c6 And a switch
PMOS transistor M c1 PMOS transistor M c2 PMOS transistor M c6 The source electrode of the power supply is connected with the power supply VDD;
PMOS transistor M c1 Gate of (2), PMOS transistor M c2 Gate of (2), PMOS transistor M c1 Drain of NMOS transistor M c3 Is simultaneously with the switch K c1 ~K c6 Is connected with one end of the connecting rod;
PMOS transistor M c2 Drain of PMOS transistor M c6 Gate of (2) NMOS transistor M c4 Is simultaneously with the switch of the drain electrode of (a)Is connected with one end of the connecting rod;
NMOS transistor M c3 Reference voltage output terminal V of grid electrode and Peak detection circuit Peak Detector ref Are connected;
NMOS transistor M c4 Amplitude voltage output terminal V of grid electrode and Peak detection circuit Peak Detector PD Are connected;
NMOS transistor M c3 NMOS transistor M c4 Source of (d) and NMOS transistor M c5 Is connected with the drain electrode of the transistor;
NMOS transistor M c5 NMOS transistor M c7 Is connected with bias voltage V cB Are connected;
switch K c1 ~K c6 Respectively through the other ends of the current sources I c1 ~I c6 Grounding;
switchRespectively through the other ends of the current sources I c7 ~I c12 Grounding;
each switch is correspondingly connected with one current source;
PMOS transistor M c6 Drain of NMOS transistor M c7 Is simultaneously with the drain of the inverter A c1 Is connected with the input end of the power supply;
NMOS transistor M c5 Source of (d) and NMOS transistor M c7 The source electrode of the transistor is grounded;
inverter A c1 Output of (2) and output of LOSs of signal detection circuit (LOS) out Are connected.
Wherein, NMOS transistor M c3 ,M c4 ,M c5 ,M c7 PMOS transistor M c1 ,M c2 ,M c6 And inverter A c1 Composition comparator, switch K c1 -K c6And a current source I c1 -I c12 A process compensation circuit is formed. Switch K c1 -K c6 And->Is complementary. For example K c1 Opening and/or closing>Then it is closed. These switches have a set of six-bit binary coded controls. Current I c1 -I c6 The magnitude relation between the two is an exponential relation, I ci =2 i-1 I c1 ,i=1,2,...,6。
Current I c7 -I c12 The size between is I ci =I c(i-6) . Current I os4 Is the current I c7 -I c12 The sum of the currents between, current I os3 Is the current I c1 -I c6 The sum of the currents in between. Due to device mismatch, there is a random variation of symmetrical devices in the circuit, resulting in errors in the actual circuit. In the present invention, since the symmetrical devices exist in both the Peak Detector and the comparator, it is necessary to analyze and process compensate for the mismatch. NMOS transistor M p0 Gate and switch K of (2) c1 -K c1 SwitchIs controlled by an external digital circuit and is used for eliminating offset voltage generated by the Peak detection circuit Peak Detector and the comparator COMP due to device mismatch. The digital circuit is used for storing the offset cancellation information of the LOS circuit. The digital circuit is assumed to store a value of 1 after the offset cancellation circuit of the LOS circuit is completed, and to store a value of 0 when the offset cancellation circuit of the LOS circuit is not operated. Then M is given before the offset cancellation circuit of LOS is operated because the stored information is 0 p0 Is turned on by a high level, and then the offset cancellation operation is completed. If the stored information is 1, then give M p0 Is turned off by a low level.
In the present invention, the mismatch existing in the Peak Detector is finally reflected on the output voltage of the Peak Detector. Ideally, when the input signal of the Peak Detector is 0 and the transistor M p0 In the on state, the output voltage V of the Peak Detector PD -V ref Is 0. However, due to mismatch, transistor Q p1 ,Q p2 ,Q p3 ,Q p4 May be different, resulting in V PD ≠V ref . In the invention, mismatch of the Peak Detector and the comparator is equivalent to offset voltage of the COMP input end, and the process compensation in the invention is realized by eliminating the whole offset voltage. The process compensation mode in the invention is as follows: first, in fig. 4, NMOS transistor M of Peak Detector p0 Gate O of (2) p0 Giving a high level such that M p0 Conducting. Output terminal V of Peak Detector PD And V ref Connected to the input of the comparator of fig. 6. Due to bipolar transistor Q in Peak Detector p1 -Q P4 Is the same in size, so Q p1 -Q P4 The emitter voltages of (a) should be the same. Due to M p0 On, so V PD And V ref Should be the same. The input voltages of the comparators of fig. 6 should be the same, which is equivalent to shorting the comparator inputs. Second, switch K c1 -K c6Control current I os4 Maximum sum current I os3 Minimum, and with I os1 +I os3 <I os2 +I os4 . At this time, the comparator outputs a low level. Then through control switch K c1 -K c6 ,/>Control current I os4 Reducing sum current I os3 And (3) increasing. When the current I os1 +I os3 And current I os2 +I os4 When the difference crosses zero, i.e. I os1 +I os3 ≥I os2 +I os4 The current stops changing and the comparator changes from low to high. NMOS transistor M in Peak Detector of FIG. 4 p0 Becomes non-conductive. At this time current I os3 And current I os4 Current to be compensated for by the process.
FIG. 10 shows the result of the input offset voltage equivalent to the input terminal of COMP after process compensation. 100 times of simulation are carried out by adopting Monte Carlo simulation, wherein the equivalent input offset voltage after offset elimination is the simulation result of the equivalent input offset voltage of the COMP input end when process compensation is adopted, and most offset voltages are in the range of-1 to 0; the equivalent input offset voltage before offset elimination is the equivalent input offset voltage of the COMP input end when process compensation is not adopted, and the result is normally distributed. It can be seen that the input offset voltage equivalent to the input terminal of COMP is greatly reduced by the process compensation circuit.
The implementation of hysteresis in the present invention is described below in connection with fig. 4 and 6.
Because of the large programmable threshold range of the present invention, it is not desirable to rely on comparators alone to achieve a hysteresis effect, and it is difficult to achieve a fixed optical hysteresis. We pass through the output LOS of COMP in fig. 6 out The magnitude of the bias current of the Peak Detector is controlled in fig. 4 to achieve hysteresis. The invention is specific to hysteresisThe working principle is as follows: when the amplitude of the input signal is smaller than the threshold value of the LOS circuit, COMP outputs high level to control NMOS transistor M in Peak Detector p9 ,M p10 Conducting, at this time, the bias current is I 0 +I HYS0 And I 1 +I HYS1 The method comprises the steps of carrying out a first treatment on the surface of the When the amplitude of the input signal is just larger than the threshold value of the LOS circuit, the output of COMP is changed from high level to low level, and the NMOS transistor M in the Peak Detector p9 ,M p10 Is not conductive, its bias current becomes I 0 And I 1 Output terminal V of Peak Detector ref Voltage rise I HYS0 R var +ΔV BE ,V PD The voltage will rise by DeltaV BE ,R var The threshold resistance of the Peak Detector is the same as that of the threshold resistor, so that if V PD Falling such that the COMP output goes low again to high requires falling I HYS0 R var . Hysteresis is generated thereby. The hysteresis sensitivity of COMP in the present invention is:
the sensitivity is only the same as the bias current I in the Peak Detector HYS0 To the size of the hysteresis so that the hysteresis is fixed. Fig. 11 shows that the hysteresis of the loss of signal detection circuit is fixed at different thresholds.
The high-precision threshold programmable LOS provided by the invention compensates factors influencing the threshold of the LOS circuit, so that the LOS can realize high-precision detection under the condition of programmable threshold, the implementation mode of hysteresis of the LOS circuit is modified, and the hysteresis sensitivity of the LOS circuit under the condition of programmable threshold is fixed by utilizing the change of the bias current of the Peak Detector. The circuit can operate in different systems and complex environments due to its large programmable threshold range and high accuracy.
Although the invention herein has been described with reference to particular embodiments, it is to be understood that these embodiments are merely illustrative of the principles and applications of the present invention. It is therefore to be understood that numerous modifications may be made to the illustrative embodiments and that other arrangements may be devised without departing from the spirit and scope of the present invention as defined by the appended claims. It should be understood that the different dependent claims and the features described herein may be combined in ways other than as described in the original claims. It is also to be understood that features described in connection with separate embodiments may be used in other described embodiments.

Claims (7)

1. The programmable threshold value signal loss detection circuit with temperature and process compensation is characterized by comprising a front-end operational amplifier AMP, a Peak detection circuit Peak Detector, a comparator COMP, a bias Current source IBias Current, a capacitor C1 and a capacitor C2;
the bias Current source IBias Current is used for providing bias Current IB which is dependent on temperature 1 、IB 2 Bias current IB 1 、IB 2 Respectively supplying a front-end operational Amplifier (AMP) and a Peak detection circuit (Peak Detector) to realize temperature compensation of an LOS circuit;
the pre-operational amplifier AMP is used for receiving an input signal of the optical receiver and adjusting the amplitude of the input signal of the optical receiver; the regulated signal output by the pre-operational amplifier AMP is coupled through the capacitors C1 and C2 and then output to the Peak detection circuit Peak Detector;
the Peak Detector is configured to detect a Peak value of the signal after AMP adjustment, and output a detected result to the comparator COMP;
the comparator COMP is configured to determine whether the amplitude of the input signal reaches a threshold of the LOS circuit, and output a determination result of whether the signal is lost;
the pre-op AMP and Peak Detector are both provided with a threshold control port TH <3:0>, by controlling port TH <3 to the threshold value: 0> inputting a four-bit binary coding instruction to adjust the gain of the pre-operational amplifier AMP and the threshold resistance of the Peak Detector circuit so as to realize the programmable threshold of the LOS circuit, and controlling the bias current of the Peak Detector circuit by the output of the comparator COMP so as to realize fixed hysteresis;
The pre-operational amplifier AMP includes a Gain adjusting unit Gain-adjust, a bipolar transistor Q a1 ~Q a6 Resistance R a1 ~R a8 NMOS transistor M a1 ~M a7 An inductance L1 and an inductance L2;
the input end of the Gain-adjusting unit Gain-adjust is a threshold control port TH<3:0>The Gain adjusting unit Gain-adjust translates and outputs the input four-bit binary code instruction, the Gain adjusting unit Gain-adjust output terminal O a1 ,O a2 ,O a3 The output state of (2) is: 001. 010 or 100; output terminal O a1 ,O a2 ,O a3 Respectively connected with NMOS transistor M a5 、M a6 、M a7 A gate electrode of (a);
one end of the inductor L1 and one end of the inductor L2 are connected with a power supply VDD;
the other end of the inductor L1 and the resistor R a7 Is connected with one end of the connecting rod;
the other end of the inductor L2 and the resistor R a8 Is connected with one end of the connecting rod;
resistor R a7 The other end of the transistor (B) is connected with the same-direction output end OUTP of the operational amplifier AMP and the bipolar transistor Q a1 Collector, bipolar transistor Q a3 Collector and bipolar transistor Q of (2) a5 Is connected with the collector of the capacitor;
resistor R a8 The other end of the (A) and the inverted output end OUTN of the operational amplifier AMP, the bipolar transistor Q a2 Collector, bipolar transistor Q a4 Collector and bipolar transistor Q of (2) a6 Is connected with the collector of the capacitor;
bipolar transistor Q a1 Bipolar transistor Q a3 Bipolar transistor Q a5 The bases of the two are connected with the reverse input end INN of the operational amplifier AMP;
Bipolar transistor Q a2 Bipolar transistor Q a4 Bipolar transistor Q a6 The bases of the (a) are connected with the same-direction input end INP of the operational amplifier AMP;
bipolar transistor Q a1 Emitter and resistor R of (2) a1 Is connected with one end of the connecting rod;
bipolar transistor Q a2 Emitter and resistor R of (2) a2 Is connected with one end of the connecting rod;
bipolar transistor Q a3 Emitter and resistor R of (2) a3 Is connected with one end of the connecting rod;
bipolar transistor Q a4 Emitter and resistor R of (2) a4 Is connected with one end of the connecting rod;
bipolar transistor Q a5 Emitter and resistor R of (2) a5 Is connected with one end of the connecting rod;
bipolar transistor Q a6 Emitter and resistor R of (2) a6 Is connected with one end of the connecting rod;
resistor R a1 Resistance R a2 At the same time with NMOS transistor M a5 Is connected with the drain electrode of the transistor;
resistor R a3 Resistance R a4 At the same time with NMOS transistor M a6 Is connected with the drain electrode of the transistor;
resistor R a5 Resistance R a6 At the same time with NMOS transistor M a7 Is connected with the drain electrode of the transistor;
NMOS transistor M a5 Source of (d) and NMOS transistor M a1 Is connected with the drain electrode of the transistor;
NMOS transistor M a6 Source of (d) and NMOS transistor M a2 Is connected with the drain electrode of the transistor;
NMOS transistor M a7 Source of (d) and NMOS transistor M a3 Is connected with the drain electrode of the transistor;
NMOS transistor M a1 NMOS transistor M a2 NMOS transistor M a3 NMOS transistor M a4 Gate of (d) and NMOS transistor M a4 Is connected to the source of the bias current IB 1
NMOS transistor M a1 NMOS transistor M a2 NMOS transistor M a3 NMOS transistor M a4 The source electrode of the transistor is grounded;
by TH <3:0> the four-bit binary code instruction is input to adjust the gain of the pre-op AMP by:
gain A of AMP V Pressing down typeObtaining:
in the formula g m Transconductance of bipolar transistor as conducting branch;
R S is a source negative feedback resistor of a bipolar transistor in a conduction branch, and the negative feedback resistor R a1 ~R a6 Divided into three groups, resistor R a1 And R is a2 A group of resistors R a3 And R is a4 A group of resistors R a5 And R is a6 The resistance values of the two resistors in the group are equal, and the resistance values among the groups are unequal;
when O is a1 ,O a2 ,O a3 Gain A of AMP when outputting different states V The corresponding adjustment is as follows:
O a1 ,O a2 ,O a3 =001,A V =g m R a8 /(1+g m R a6 );
O a1 ,O a2 ,O a3 =010,A V =g m R a8 /(1+g m R a4 );
O a1 ,O a2 ,O a3 =100,A V =g m R a8 /(1+g m R a2 );
the Peak Detector includes a threshold resistance adjusting unit Res-adjust, a bipolar transistor Q p1 ~Q p4 Resistance R p1 ~R p20 NMOS transistor M p0 NMOS transistor M p1 ~M p15 Capacitance C p1 And capacitor C p2
The input end of the threshold resistance adjusting unit Res-adjust is a threshold control port TH<3:0>The threshold resistance adjusting unit Res-adjust translates and outputs the input four-bit binary coded instruction, and the threshold resistance adjusting unit Res-adjust eight output terminals O p1 ~O p8 Its output is high and active, O p1 ~O p8 At the same timeTH<3:0>Only one valid bit is output during input; output terminal O p1 ~O p8 Respectively connected with NMOS transistor M p1 ~M p8 A gate electrode of (a);
power supply VDD is simultaneously connected with bipolar transistor Q p1 ~Q p4 Is connected with the collector of the capacitor; bipolar transistor Q p1 ~Q p4 Respectively cross-over resistor R between base electrode of (C) and power supply VDD p17 ~R p20 The method comprises the steps of carrying out a first treatment on the surface of the Bipolar transistor Q p1 、Q p2 The bases of the (a) are respectively connected with the input ends VIN1 and VIN2 of the Peak detection circuit Peak Detector;
bipolar transistor Q p1 Emitter, bipolar transistor Q of (2) p2 Emitter of (a) and NMOS transistor M p0 Is connected with the source electrode of the transistor;
NMOS transistor M p0 NMOS transistor M p1 ~M p8 Drain electrode of (C) and capacitor (C) p1 Is simultaneously connected with the amplitude voltage output terminal V of the Peak Detector PD Are connected;
resistor R p1 ~R p8 In series in turn, resistance R p1 One end is connected with NMOS transistor M p0 Is connected with the source electrode of the resistor R p1 ~R p8 Respectively with NMOS transistor M p1 ~M pa The sources of the electrodes are connected one by one;
NMOS transistor M p12 Drain of NMOS transistor M p9 Is simultaneously with the drain of NMOS transistor M pa Is connected with the source electrode of the transistor;
bipolar transistor Q p3 Emitter, bipolar transistor Q of (2) p4 Emitter, resistor R of (2) p9 One end of (C) capacitor p2 At the same time as the reference voltage output terminal V of the Peak Detector ref Are connected;
resistor R p9 ~R p16 Sequentially connected in series;
resistor R p16 At the same time with NMOS transistor M p15 NMOS transistor M p10 Is connected with the drain electrode of the transistor;
NMOS transistor M p13 Drain of (d) and NMOS transistor M p9 Is connected with the source electrode of the transistor;
NMOS transistor M p14 Drain of (d) and NMOS transistor M p10 Is connected with the source electrode of the transistor;
NMOS transistor M p11 NMOS transistor M p12 NMOS transistor M p13 NMOS transistor M p14 NMOS transistor M p15 Is simultaneously with the gate of NMOS transistor M p11 Is connected to the drain of the transistor and is connected to a bias current IB 2
NMOS transistor M p11 NMOS transistor M p12 NMOS transistor M p13 NMOS transistor M p14 NMOS transistor M p15 Source of (C) and capacitor C p1 Capacitance C p2 The other end of the first electrode is grounded;
NMOS transistor M p9 NMOS transistor M p10 Gate of (c) and output end LOS of comparator COMP out Are connected.
2. The programmable threshold loss of signal detection circuit with temperature and process compensation of claim 1, wherein the NMOS transistor M in Peak Detector circuit Peak Detector p11 ,M p12 ,M p13 ,M p14 ,M p15 Is a current mirror, M p13 ,M p14 Respectively with NMOS transistor M p9 ,M p10 Two additional current branches are formed;
the output voltage of the Peak Detector is
Wherein V is PD The amplitude voltage V output by the Peak Detector is ref A is the reference voltage of the Peak Detector V Gain of AMP, V peak For peak value of AMP input signal, V T Is thermal voltage, I C Is a bipolar transistor Q p1 And Q p2 The sum of collector currents of I 0 、I 1 、I HYS0 、I HYS1 Is the tail current and is presentRelation I 0 +I HYS0 =I 1 +I HYS1 ;R var A threshold resistance which is a Peak Detector of the Peak detection circuit;
when the amplitude of the input signal is smaller than the threshold value of the LOS circuit, the NMOS transistor M is controlled p9 ,M p10 Conducting, at this time, the bias current is I 0 +I HYS0 And I 1 +I HYS1 When the input signal amplitude is greater than the threshold of the LOS circuit, the NMOS transistor M p9 ,M p10 Is not conductive, its bias current becomes I 0 And I 1 ,I 0 =I 1
Threshold resistance R var The magnitude of (2) is controlled and regulated by four-bit binary code input from outside, and the threshold resistance R var The size is equal to the resistance R p1 ~R p8 The series resistance sum of the access working parts is specifically: the threshold resistance adjusting unit Res-adjust translates and outputs the input four-bit binary coded instruction, O p1 ~O p8 At the same TH<3:0>Only one valid bit is output during input; corresponding control NMOS transistor M p1 ~M p8 Any one of the tubes is turned on, the resistance R p1 ~R p8 The number of the access operations is changed along with the change of the number of the access operations, thereby realizing the threshold resistance R var And (5) adjusting the size.
3. The programmable threshold loss of signal detection circuit with temperature and process compensation of claim 1, wherein NMOS transistor M p0 Gate and switch K of (2) c1 -K c6 SwitchIs controlled by an external digital circuit and is used for eliminating offset voltage generated by the Peak detection circuit Peak Detector and the comparator COMP due to device mismatch.
4. A programmable threshold LOSs of signal detection circuit with temperature and process compensation according to claim 2, wherein the comparator COMP output LOS out Judgment of outputThe off-state results control the magnitude of the bias current of the Peak Detector to realize hysteresis, and the hysteresis sensitivity of the comparator COMP is:
and the hysteresis is fixed.
5. The programmable threshold loss of signal detection circuit with temperature and process compensation of claim 1, wherein the bias Current source IBias Current comprises a PMOS transistor M i1 ~M i9 Operational amplifier AMP i1 Bipolar transistor Q i1 ~Q i3 Capacitance C i1 Capacitance C i2 PMOS transistor M i10 PMOS transistor M i11 PMOS transistor M i12 And resistance R i1 ~R i4
PMOS transistor M i1 ~M i9 The source electrode of the capacitor is connected with the power supply VDD at the same time;
PMOS transistor M i1 ~M i3 Gate of (c) and PMOS transistor M i1 The drain of (a) is connected with the resistor R at the same time i1 Is a member of the group;
resistor R i1 And NMOS transistor M i12 Is connected with the drain electrode of the transistor;
NMOS transistor M i12 Is connected with bias voltage V iB Are connected;
PMOS transistor M i2 Drain electrode of (d) bipolar transistor Q i1 Is connected with the collector and base of the same and the operational amplifier AMP i1 Is connected with the non-inverting input end of the circuit;
bipolar transistor Q i1 Emitter pass resistance R of (2) i2 Grounding;
Operational amplifier AMP i1 And NMOS transistor M i11 Connected to the gate of (C) and passing through a capacitor C i1 Grounding;
PMOS transistor M i3 Drain electrode of (d) bipolar transistor Q i2 Is identical to the collector and base of (a)Time and operational amplifier AMP i1 Is connected with the inverting input terminal of the circuit;
NMOS transistor M i11 Source and bipolar transistor Q i2 Is connected with the emitter of the resistor R i3 Grounding;
PMOS transistor M i4 ~M i6 Gate of (2), PMOS transistor M i4 Is simultaneously with the drain of NMOS transistor M i11 Is connected with the drain electrode of the transistor;
PMOS transistor M i5 For outputting bias current IB 1
PMOS transistor M i6 Drain of NMSO transistor M i10 Is simultaneously with the gate of the bipolar transistor Q i3 Is connected with the collector of the capacitor;
PMOS transistor M i7 ~M i9 Gate of (2), PMOS transistor M i8 Is simultaneously with the drain of NMOS transistor M i10 Is connected with the drain electrode of the transistor;
PMOS transistor M i6 Drain of (d) and PMOS transistor M i7 Across capacitance C between drains of (C) i2
PMOS transistor M i7 Drain of (d) and bipolar transistor Q i3 Is connected with the base electrode of (C) and passes through a resistor R i4 Grounding;
PMOS transistor M i9 For outputting bias current IB 2
NMSO transistor M i12 Source, bipolar transistor Q i3 Emitter of (a) and NMSO transistor M i10 The source of (c) is grounded.
6. The programmable threshold loss of signal detection circuit with temperature and process compensation of claim 5, wherein the bias Current source IBias Current provides a bias Current IB proportional to absolute temperature to the pre-op AMP 1 The gain of the pre-operational amplifier AMP is made independent of temperature, and a bias current IB is introduced 1 The gain of post AMP is:
wherein n is a resistor R i3 And R is i2 Resistance ratio of n=r i3 /R i2 M is the number ratio of the transistors participating in the operation, is a bipolar transistor Q i2 Number of (A)>Is a bipolar transistor Q i1 Number of R S Is a source negative feedback resistor of a bipolar transistor in a conduction branch;
bias Current source IBias Current provides bias Current IB inversely related to absolute temperature to Peak Detector 2 To reduce the absolute value of the temperature coefficient of the Peak Detector output voltage.
7. The programmable threshold loss of signal detection circuit with temperature and process compensation of claim 1, wherein the comparator COMP comprises a PMOS transistor M c1 ~M c7 Current source I c1 ~I c12 Inverter A c1 Switch K with complementary switches c1 ~K c6 And a switch
PMOS transistor M c1 PMOS transistor M c2 PMOS transistor M c6 The source electrode of the power supply is connected with the power supply VDD;
PMOS transistor M c1 Gate of (2), PMOS transistor M c2 Gate of (2), PMOS transistor M c1 Drain of NMOS transistor M c3 Is simultaneously with the switch K c1 ~K c6 Is connected with one end of the connecting rod;
PMOS transistor M c2 Drain of PMOS transistor M c6 Gate of (2) NMOS transistor M c4 Is simultaneously with the switch of the drain electrode of (a)Is connected with one end of the connecting rod;
NMOS transistor M c3 Reference voltage output terminal V of grid electrode and Peak detection circuit Peak Detector ref Are connected;
NMOS transistor M c4 Amplitude voltage output terminal V of grid electrode and Peak detection circuit Peak Detector PD Are connected;
NMOS transistor M c3 NMOS transistor M c4 Source of (d) and NMOS transistor M c5 Is connected with the drain electrode of the transistor;
NMOS transistor M c5 NMOS transistor M c7 Is connected with bias voltage V cB Are connected;
switch K c1 ~K c6 Respectively through the other ends of the current sources I c1 ~I c6 Grounding;
switchRespectively through the other ends of the current sources I c7 ~I c12 Grounding;
each switch is correspondingly connected with one current source;
PMOS transistor M c6 Drain of NMOS transistor M c7 Is simultaneously with the drain of the inverter A c1 Is connected with the input end of the power supply;
NMOS transistor M c5 Source of (d) and NMOS transistor M c7 The source electrode of the transistor is grounded;
inverter A c1 Output of (2) and output of LOSs of signal detection circuit (LOS) out Are connected.
CN202211574623.0A 2022-12-08 2022-12-08 Threshold programmable loss of signal detection circuit with temperature and process compensation Active CN115811371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211574623.0A CN115811371B (en) 2022-12-08 2022-12-08 Threshold programmable loss of signal detection circuit with temperature and process compensation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211574623.0A CN115811371B (en) 2022-12-08 2022-12-08 Threshold programmable loss of signal detection circuit with temperature and process compensation

Publications (2)

Publication Number Publication Date
CN115811371A CN115811371A (en) 2023-03-17
CN115811371B true CN115811371B (en) 2023-09-05

Family

ID=85485473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211574623.0A Active CN115811371B (en) 2022-12-08 2022-12-08 Threshold programmable loss of signal detection circuit with temperature and process compensation

Country Status (1)

Country Link
CN (1) CN115811371B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116805859B (en) * 2023-08-28 2023-11-07 江苏润石科技有限公司 Operational amplifier offset voltage regulation circuit and method
CN117579173B (en) * 2024-01-17 2024-03-26 成都电科星拓科技有限公司 Signal loss detection circuit and chip

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101715148A (en) * 2005-06-02 2010-05-26 英国电讯有限公司 Video signal loss detection
CN102638317A (en) * 2011-02-14 2012-08-15 中兴通讯股份有限公司 Signal loss detection circuit and method and amplifier
CN107229042A (en) * 2017-05-11 2017-10-03 湖北三江航天万峰科技发展有限公司 A kind of laser signal detection means and control method based on DSP embedded systems
EP3509229A1 (en) * 2018-01-04 2019-07-10 Wilson Electronics, LLC Detection of line loss in signal booster system
US10594285B1 (en) * 2019-04-30 2020-03-17 Nxp B.V. Signal detector
CN112383353A (en) * 2020-10-09 2021-02-19 淮阴师范学院 Signal loss detection circuit

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7212041B2 (en) * 2002-12-23 2007-05-01 Intel Corporation Weighted multi-input variable gain amplifier
US10090922B2 (en) * 2016-07-20 2018-10-02 Finisar Corporation Loss of signal detector

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101715148A (en) * 2005-06-02 2010-05-26 英国电讯有限公司 Video signal loss detection
CN102638317A (en) * 2011-02-14 2012-08-15 中兴通讯股份有限公司 Signal loss detection circuit and method and amplifier
CN107229042A (en) * 2017-05-11 2017-10-03 湖北三江航天万峰科技发展有限公司 A kind of laser signal detection means and control method based on DSP embedded systems
EP3509229A1 (en) * 2018-01-04 2019-07-10 Wilson Electronics, LLC Detection of line loss in signal booster system
US10594285B1 (en) * 2019-04-30 2020-03-17 Nxp B.V. Signal detector
CN112383353A (en) * 2020-10-09 2021-02-19 淮阴师范学院 Signal loss detection circuit

Also Published As

Publication number Publication date
CN115811371A (en) 2023-03-17

Similar Documents

Publication Publication Date Title
CN115811371B (en) Threshold programmable loss of signal detection circuit with temperature and process compensation
US10608599B2 (en) Variable gain circuit and transimpedance amplifier using the same
US7973602B2 (en) Variable gain amplifier
US20140306760A1 (en) Apparatus and method for transimpedance amplifiers with wide input current ranges
US10139436B2 (en) Method and system for a wideband CMOS RMS power detection scheme
US7948323B2 (en) Linear transimpedance amplifier with wide dynamic range for high rate applications
US10622955B2 (en) Variable gain amplifiers for communication systems
US10840866B2 (en) Amplifier circuit arrangement and method to calibrate the same
US6879217B2 (en) Triode region MOSFET current source to bias a transimpedance amplifier
US20200014567A1 (en) EHF Receiver Architecture with Dynamically Adjustable Discrimination Threshold
US7319220B2 (en) Trans-impedance amplifier with offset current
KR20030086112A (en) DC offset compensation circuit and method of closed loop operational amplifier
CN114679040A (en) Current-limiting protection circuit
CN113517874B (en) Fast response automatic gain control circuit for transimpedance amplifier
CN113452334A (en) Quick response automatic gain control method for trans-impedance amplifier
US20210036671A1 (en) Transimpedance amplifier circuit
US20220407484A1 (en) Systems and methods for linear variable gain amplifier
US20230092750A1 (en) Reception circuit for optical communication
CN116155221A (en) Continuous time linear equalization automatic control circuit and electronic equipment
US7081791B2 (en) Automatically adjusting low noise amplifier
CN110460338B (en) Sampling hold circuit
US10637422B1 (en) Gain compensation for an open loop programmable amplifier for high speed applications
JP2012151539A (en) Transmission power control circuit
US20120044103A1 (en) Parallel interpolation a/d converter and digital equalizer
US20240195375A1 (en) Method for tia transimpedance control

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
GR01 Patent grant
GR01 Patent grant