A piecewise linear voltage generating circuit that varies with input current
By designing a segmented linear voltage generation circuit in a high-speed optical communication system and using cascaded current comparators and series resistors, the problems of nonlinear reduction in transimpedance gain and loop stability in traditional technology are solved, and the linearity of the transimpedance amplifier is achieved. Response and dynamic range are expanded.
Patent Information
- Application Number
- CN202410484278.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-22
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-04-22
AI Technical Summary
Traditional peak detection technology causes non-linear reduction in transimpedance gain in high-speed optical communication systems, and the closed-loop filter capacitance is large, which can easily cause loop stability problems.
Design a segmented linear voltage generation circuit that changes with the input current. Through cascaded current comparators and resistors connected in series, linearly changing segmented voltage output is achieved, and the transresistance value is adjusted to expand the dynamic range.
It achieves the linear response of the transimpedance amplifier, expands the input current dynamic range, reduces on-chip capacitive filtering, and reduces the chip area.
Smart Images

Figure CN118170215B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of integrated circuits, and in particular to a piecewise linear voltage generating circuit that varies with input current. Background Art
[0002] In high-speed optical communication systems, automatic gain control circuits are used to expand the dynamic range of input optical power so that the receiver can work normally under both high and low input optical power. The transimpedance value of the first-stage transimpedance amplifier of the optical receiver needs to change with the change of optical power. Traditionally, peak detection technology is used to detect the output amplitude of the transimpedance amplifier, and a control voltage is generated through a closed loop to control the overdrive voltage of the transimpedance tube, thereby adjusting the transimpedance value to change the transimpedance gain. However, the accuracy of peak detection in this method is generally poor, the closed-loop filter capacitor is large, and it is easy to cause problems such as loop stability. In addition, the change of transimpedance resistance is generally achieved through MOS tubes, and the equivalent resistance of MOS tubes is not linear with the change of gate-source voltage, which causes the transimpedance gain to decrease non-linearly with the increase of input photocurrent. In order to solve the above problems, it is of great significance for optical fiber communication systems to design a piecewise linear voltage generation circuit that changes with the input photocurrent. Summary of the invention
[0003] Technical purpose: In view of the deficiencies of the above-mentioned prior art, the present invention discloses a piecewise linear voltage generating circuit that changes with the input current, which can make the output voltage change linearly with the increase of the input current.
[0004] Technical solution: To achieve the above technical objectives, the present invention adopts the following technical solution:
[0005] A piecewise linear voltage generating circuit that changes with input current comprises a current operation comparison module and a voltage generating module, wherein the current operation comparison module is used to control the voltage generating module to generate a piecewise linear voltage, the voltage generating module comprises a plurality of resistors connected in series, the current operation comparison module comprises a plurality of current comparators corresponding one to one to the resistors connected in series in the voltage generating module, and the plurality of current comparators are cascaded in sequence, the current comparator at the head end performs a comparison operation on the input change current and the reference current, and the generated operation results are respectively output to the next current comparator and the corresponding resistor in the voltage generating module, the current comparator at the middle performs a comparison operation on the operation result from the previous current comparator and the reference voltage, and the generated operation results are respectively output to the next current comparator and the corresponding resistor in the voltage generating module, and the current comparator at the end performs a comparison operation on the operation result from the previous current comparator and the reference voltage, and the generated operation results are output to the corresponding resistor in the voltage generating module.
[0006] Preferably, the current operation comparison module includes current comparator 0, current comparator 1, current comparator 2 and current comparator 3, and the four voltage comparators are cascaded in sequence. The current comparator 0 includes PMOS tubes MP0-MP6 and NMOS tubes MN0-MN5. The PMOS tubes MP0-MP1, MP2-MP4, MP5-MP6 form a current mirror, and the NMOS tubes MN0-MN2 and MN3-MN5 form a current mirror. The drain of the MP0 is connected to the reference current IREF and the gate of the MP1. The drain of the PMOS tube MP0-MP6 and the NMOS tube MN0-MN5 are connected to the ground.
[0007] Preferably, the current comparator 1 includes PMOS tubes MP7-MP11 and NMOS tubes MN6-MN8, the PMOS tubes MP7-MP8 form a current mirror, MP9-MP11 form a current mirror, and the NMOS tubes MN6-MN8 form a current mirror. The drain and gate of MP7 are connected to the reference voltage IREF and the gate of MP8, the drain of MP8 is connected to the drain and gate of MP9 and the output IBS0, the drain of MP10 is connected to the gate and drain of MN6, the drain of MP11 is connected to the output IBD1, the drain of MN7 is connected to the output IBD0 and the output IB1, and the drain of MN8 is connected to IBS1.
[0008] Preferably, the current comparator 2 includes PMOS tubes MP12-MP116 and NMOS tubes MN9-MN11, the PMOS tubes MP12-MP13 form a current mirror, MP14-MP16 form a current mirror, and the NMOS tubes MN9-MN11 form a current mirror. The drain and gate of MP12 are connected to the reference current 2*IREF and the gate of MP13, the drain of MP13 is connected to the drain and gate of MP14 and the output IBS1, the drain of MP15 is connected to the gate and drain of MN9, the drain of MP16 is connected to the output IBD2, the drain of MN10 is connected to the output IBD1 and the output IB2, and the drain of MN11 is connected to the output IBS2.
[0009] Preferably, the current comparator 3 includes PMOS tubes MP17-MP20 and NMOS tubes MN12-MN13, the PMOS tubes MP17-MP18 form a current mirror, MP19-MP20 form a current mirror, and the NMOS tubes MN12-MN13 form a current mirror. The drain and gate of MP17 are connected to the reference current 4*IREF and the gate of MP18, the drain of MP18 is connected to the drain and gate of MP19 and the output IBS2, the drain of MP20 is connected to the gate and drain of MN12, and the drain of MN13 is connected to the output IBD2 and the output IB3.
[0010] Preferably, the voltage generating module includes resistors Rc, R0, R1, R2, R3 and a capacitor Cc. The resistors R0, R1, R2, R3 are connected in series and then in parallel with the resistor Rc, and then connected to the voltage VOUT. One end of the capacitor Cc is connected to the resistor Rc, and the other end is grounded. One end of the resistors R0, R1, R2, R3 is respectively connected to the output IB0 of the current comparator 0, the output IB1 of the current comparator 1, the output IB2 of the current comparator 2, and the output IB3 of the current comparator 3.
[0011] Beneficial effects: The invention provides the following beneficial effects:
[0012] The present invention sets a current comparator and a resistor connected in series in cascade connection in sequence. The current comparator compares the input variable current and the reference voltage or the calculation result of the previous current comparator and the reference voltage, and outputs a calculation result to the corresponding resistor. The present invention can output a segmented voltage that changes linearly with the input variable current, and changes the slope of the segmented linear voltage by changing the resistance value of the series resistor. The present invention can be used to change the transimpedance value of the first-stage transimpedance amplifier of the optical receiver, so that the transimpedance amplifier obtains a larger dynamic range.
[0013] The present invention can effectively match the resistance variation characteristics of the transimpedance tube with voltage by generating a piecewise linear voltage, so that the transimpedance amplifier decreases linearly with the increase of the input photocurrent. At the same time, the voltage generating circuit of the present invention does not require a large on-chip capacitor filtering, which greatly reduces the chip area. The circuit of the present invention has been verified by the CMOS 65nm process and can effectively increase the input current dynamic range of the light receiving transimpedance amplifier. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
[0015] Figure 1 Schematic diagram of the structure of a piecewise linear voltage generating circuit in an embodiment of the present invention;
[0016] Figure 2 is a schematic diagram of the circuit structure of the current comparator 0 in the embodiment;
[0017] Figure 3 is a schematic diagram of the circuit structure of the current comparator 1 in the embodiment;
[0018] Figure 4 is a schematic diagram of the circuit structure of the current comparator 2 in the embodiment;
[0019] Figure 5 is a schematic diagram of the circuit structure of the current comparator 3 in the embodiment;
[0020] Figure 6 Schematic diagram of the output curve of the piecewise linear voltage generating circuit in the embodiment. DETAILED DESCRIPTION
[0021] The present invention will be described more clearly and completely below by way of a preferred embodiment in conjunction with the accompanying drawings, but the present invention is not limited to the scope of the embodiment.
[0022] A piecewise linear voltage generating circuit that changes with input current comprises a current operation comparison module and a voltage generating module, wherein the current operation comparison module is used to control the voltage generating module to generate a piecewise linear voltage, the voltage generating module comprises a plurality of resistors connected in series, the current operation comparison module comprises a plurality of current comparators corresponding one to one to the resistors connected in series in the voltage generating module, and the plurality of current comparators are cascaded in sequence, the current comparator at the head end performs a comparison operation on the input change current and the reference current, and the generated operation results are respectively output to the next current comparator and the corresponding resistor in the voltage generating module, the current comparator at the middle performs a comparison operation on the operation result from the previous current comparator and the reference voltage, and the generated operation results are respectively output to the next current comparator and the corresponding resistor in the voltage generating module, and the current comparator at the end performs a comparison operation on the operation result from the previous current comparator and the reference voltage, and the generated operation results are output to the corresponding resistor in the voltage generating module.
[0023] like Figure 1As shown, in a specific embodiment, the current operation comparison module includes current comparator 0, current comparator 1, current comparator 2 and current comparator 3, and the four voltage comparators are cascaded in sequence. Current comparator 0 compares the input changing current with the reference current, current comparator 1 compares the reference current and the current result of current comparator 0, current comparator 2 compares the reference current and the current result of current comparator 1, and current comparator 3 compares the reference current and the current result of current comparator 2. The operation results of the four current comparators are respectively sent to four resistors to generate piecewise linear voltages.
[0024] like Figure 2 As shown, the current comparator 0 receives the input change current Iin and the reference current IREF to implement comparison operation, and outputs IB0, IBS0 and IBD0. The current comparator 0 includes PMOS tubes MP0-MP6 and NMOS tubes MN0-MN5. The PMOS tubes MP0-MP1, MP2-MP4, MP5-MP6 form a current mirror, and the NMOS tubes MN0-MN2, MN3-MN5 form a current mirror. The drain of MP0 is connected to the reference current IREF and the gate of MP1. The drain of the PMOS tube MP0-MP6 and the NMOS tube MN0-MN5 are connected to the ground.
[0025] like Figure 3 As shown, the current comparator 1 receives the operation results IBD0 and IBS0 of the current comparator 0 and the reference current IREF to implement comparison operation and output IB1, IBS1 and IBD1. The voltage comparator 1 includes PMOS tubes MP7-MP11 and NMOS tubes MN6-MN8. The PMOS tubes MP7-MP8 form a current mirror, MP9-MP11 form a current mirror, and the NMOS tubes MN6-MN8 form a current mirror. The drain and gate of MP7 are connected to the reference voltage IREF and the gate of MP8, the drain of MP8 is connected to the drain and gate of MP9 and the output IBS0, the drain of MP10 is connected to the gate and drain of MN6, the drain of MP11 is connected to the output IBD1, the drain of MN7 is connected to the output IBD0 and the output IB1, and the drain of MN8 is connected to IBS1.
[0026] like Figure 4As shown, the current comparator 2 receives the operation results IBD1, IBS1 of the current comparator 1 and the reference current 2*IREF to perform a comparison operation, and outputs IB2, IBS2, IBD2. The current comparator 2 includes PMOS transistors MP12 - MP116 and NMOS transistors MN9 - MN11. PMOS transistors MP12 - MP13 form a current mirror, MP14 - MP16 form a current mirror, and NMOS transistors MN9 - MN11 form a current mirror. The drain and gate of MP12 are connected to the reference current 2*IREF and the gate of MP13. The drain of MP13 is connected to the drain and gate of MP14 and the output IBS1. The drain of MP15 is connected to the gate and drain of MN9. The drain of MP16 is connected to the output IBD2. The drain of MN10 is connected to the output IBD1 and the output IB2. The drain of MN11 is connected to the output IBS2.
[0027] As Figure 5 shown, the current comparator 3 receives the operation results IBD2, IBS2 of the current comparator 2 and the reference current 4*IREF to perform a comparison operation, and outputs IB3. The current comparator 3 includes PMOS transistors MP17 - MP20 and NMOS transistors MN12 - MN13. PMOS transistors MP17 - MP18 form a current mirror, MP19 - MP20 form a current mirror, and NMOS transistors MN12 - MN13 form a current mirror. The drain and gate of MP17 are connected to the reference current 4*IREF and the gate of MP18. The drain of MP18 is connected to the drain and gate of MP19 and the output IBS2. The drain of MP20 is connected to the gate and drain of MN12. The drain of MN13 is connected to the output IBD2 and the output IB3.
[0028] In a specific embodiment, the voltage generation module includes resistors Rc, R0, R1, R2, R3 and a capacitor Cc. Resistors R0, R1, R2, R3 are connected in series and then in parallel with resistor Rc, and then connected to the voltage VOUT. One end of the capacitor Cc is connected to the resistor Rc, and the other end is grounded. One ends of the resistors R0, R1, R2, R3 are respectively connected to the outputs IB0 of the current comparator 0, IB1 of the current comparator 1, IB2 of the current comparator 2, and IB3 of the current comparator 3, for generating a piecewise linear voltage.
[0029] The specific principle of using the piecewise linear voltage generation circuit of the present invention is as follows: When Iin < IREF, the drain current of MP2 in the current comparator 0 is 0. At this time, the drain currents of MP3 - MP4 and MN3 - MN4 are both 0, and the drain currents of MP5 and MP6 are Iin. Therefore, the current of the output IB0 is Iin at this time, and the output currents of IBS0 and IBD0 are both 0.
[0030] Since the outputs of IBS0 and IBD0 are both 0 in this state, the output currents of IBS1, IBD1, and IB1 are all 0. Similarly, the outputs of IBS2, IBD2, IB2, and IB3 are all 0, and the expression of the output voltage is:
[0031] VOUT=Iin*(R0+R1+R2+R3)
[0032] When 2*IREF>Iin>IREF, the drain current of MP2 is Iin-IREF, the drain currents of MP3-MP4 and MN3-MN4 are both Iin-IREF, and the output currents of IBS0 and IBD0 are both Iin-IREF. At this time, IB0=Iin-(Iin-IREF)=IREF.
[0033] Since the output current of IBS0 is Iin-IREF, which is less than IREF, the drain current of MP9 is 0, the output currents of IBS1 and IBD1 are both 0, and IB1 is IBD0= Iin-IREF.
[0034] Since the output currents of IBS1 and IBD1 are both 0, the output currents of IB2 and IB3 are also 0, and the expression of the output voltage is:
[0035] VOUT=IREF*(R0+R1+R2+R3)+(Iin-IREF)*( R1+R2+R3)
[0036] When 4*IREF>Iin>2*IREF, the drain current of MP2 is Iin-IREF, the drain currents of MP3-MP4 and MN3-MN4 are both Iin-IREF, and the output currents of IBS0 and IBD0 are both Iin-IREF. At this time, IB0=Iin-(Iin-IREF)=IREF.
[0037] Since the output current of IBS0 is Iin-IREF, which is greater than IREF, the drain current of MP9 is Iin-2*IREF, the output currents of IBS1 and IBD1 are both Iin-2*IREF, and IB1 is (Iin-IREF)-(Iin-2*IREF)=IREF.
[0038] Since the output currents of IBS1 and IBD1 are both Iin-2*IREF, which is less than 2*IREF, the drain current of MP14 is 0, the output currents of IBS2 and IBD2 are both 0, and the output current of IB2 is Iin-2*IREF.
[0039] Since the output currents of IBS2 and IBD2 are both 0, the output current of IB3 is also 0, and the expression of the output voltage is:
[0040] VOUT=IREF*(R0+R1+R2+R3)+ IREF*( R1+R2+R3)+ (Iin-2*IREF)*( R2+R3)
[0041] When 8*IREF>Iin>4*IREF, the drain current of MP2 is Iin-IREF. The drain currents of MP3-MP4 and MN3-MN4 are both Iin-IREF, and the output currents of IBS0 and IBD0 are both Iin-IREF. At this time, IB0=Iin-(Iin-IREF)=IREF.
[0042] Since the output current of IBS0 is Iin-IREF, which is greater than IREF, the drain current of MP9 is Iin-2*IREF, the output currents of IBS1 and IBD1 are both Iin-2*IREF, and IB1 is (Iin-IREF)-(Iin-2*IREF)=IREF.
[0043] Since the output currents of IBS1 and IBD1 are both Iin-2*IREF, which is greater than 2*IREF, the drain current of MP14 is Iin-4*IREF. The output currents of IBS2 and IBD2 are both Iin-4*IREF, so the output current of IB2 is 2*IREF.
[0044] Since the output currents of IBS2 and IBD2 are both Iin-4*IREF, which is less than 4*IREF, the drain current of MP19 is 0, so the output current of IB3 is Iin-4*IREF, and the expression of the output voltage is:
[0045] VOUT=IREF*(R0+2*R1+4*R2+4*R3)+ ( Iin-4*IREF)*R3
[0046] When Iin>8*IREF, the drain current of MP2 is Iin-IREF. The drain currents of MP3-MP4 and MN3-MN4 are both Iin-IREF, and the output currents of IBS0 and IBD0 are both Iin-IREF. At this time, IB0=Iin-(Iin-IREF)=IREF.
[0047] Since the output current of IBS0 is Iin-IREF, which is greater than IREF, the drain current of MP9 is Iin-2*IREF, the output currents of IBS1 and IBD1 are both Iin-2*IREF, and IB1 is (Iin-IREF)-(Iin-2*IREF)=IREF.
[0048] Since the output currents of IBS1 and IBD1 are both Iin-2*IREF, which is greater than 2*IREF, the drain current of MP14 is Iin-4*IREF, and the output currents of IBS2 and IBD2 are both Iin-4*IREF, so the output current of IB2 is 2*IREF.
[0049] Since the output currents of IBS2 and IBD2 are both Iin-4*IREF, which is greater than 4*IREF, the drain current of MP19 is Iin-8*IREF, so the output current of IB3 is 4*IREF, and the expression of the output voltage is:
[0050] VOUT=IREF*(R0+2*R1+4*R2+8*R3)
[0051] like Figure 6 The figure shows the characteristic curve of the output piecewise linear voltage. It can be seen from the figure that as the input variable current increases, the output voltage also increases, and the output voltage changes linearly with the input variable current.
[0052] In summary, for different input current intervals, the present invention can realize the output voltage piecewise linear characteristics, the slope of the piecewise linearity can be set according to R0, R1, R2, R3, etc., and the piecewise linearity interval can be set according to the size of IREF. The voltage piecewise linearity generating circuit described in the present invention has 4 segments, which can also be expanded to N segments, and the number of comparators can be designed according to the principle.
[0053] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A piecewise linear voltage generating circuit that varies with input current, characterized in that: It comprises a current operation comparison module and a voltage generation module; the current operation comparison module is used to control the voltage generation module to generate a piecewise linear voltage; the current operation comparison module comprises a plurality of current comparators corresponding to the resistors in series in the voltage generation module, and the plurality of current comparators are cascaded in sequence; the current comparator at the head end performs a comparison operation on the input variable current and the reference current, and the generated operation results are respectively output to the next current comparator and the corresponding resistor in the voltage generation module; the current comparator at the middle performs a comparison operation on the operation result from the previous current comparator and the reference voltage, and the generated operation results are respectively output to the next current comparator and the corresponding resistor in the voltage generation module; The current comparator at the end performs a comparison operation on the operation result from the previous current comparator and the reference voltage, and outputs the generated operation result to the corresponding resistor in the voltage generating module; the voltage generating module includes a plurality of resistors connected in series; The current operation comparison module includes current comparator 0, current comparator 1, current comparator 2 and current comparator 3. The four current comparators are cascaded in sequence. The current comparator 0 includes PMOS tubes MP0-MP6 and NMOS tubes MN0-MN5. The PMOS tubes MP0-MP1, MP2-MP4, MP5-MP6 form a current mirror. The NMOS tubes MN0-MN2, MN3-MN5 form a current mirror. The drain of MP0 is connected to the reference current IREF and the gate of MP1. The drain is connected to the gate and drain of MP2 and the drain of MN1, the drain of MP3 is connected to the drain and gate of MN3, the drain of MP4 is connected to the output IBD0, the gate and drain of MP5 are connected to the drain of MN2, the drain of MP6 is connected to the drain of MN4 and the output IB0, the gate and drain of MN0 are connected to the input change current Iin, the drain of MN5 is connected to the output IBS0, and the sources of the PMOS tubes MP0-MP6 and the NMOS tubes MN0-MN5 are all grounded; The current comparator 1 includes PMOS tubes MP7-MP11 and NMOS tubes MN6-MN8, the PMOS tubes MP7-MP8 form a current mirror, MP9-MP11 form a current mirror, and the NMOS tubes MN6-MN8 form a current mirror. The drain and gate of the MP7 are connected to the reference voltage IREF and the gate of MP8, the drain of the MP8 is connected to the drain and gate of the MP9 and the output IBS0, the drain of the MP10 is connected to the gate and drain of the MN6, the drain of the MP11 is connected to the output IBD1, the drain of the MN7 is connected to the output IBD0 and the output IB1, and the drain of the MN8 is connected to IBS1; The current comparator 2 includes PMOS tubes MP12-MP116 and NMOS tubes MN9-MN11, the PMOS tubes MP12-MP13 form a current mirror, MP14-MP16 form a current mirror, and the NMOS tubes MN9-MN11 form a current mirror. The drain and gate of the MP12 are connected to the reference current 2*IREF and the gate of the MP13, the drain of the MP13 is connected to the drain and gate of the MP14 and the output IBS1, the drain of the MP15 is connected to the gate and drain of the MN9, the drain of the MP16 is connected to the output IBD2, the drain of the MN10 is connected to the output IBD1 and the output IB2, and the drain of the MN11 is connected to the output IBS2; The current comparator 3 includes PMOS tubes MP17-MP20 and NMOS tubes MN12-MN13. The PMOS tubes MP17-MP18 form a current mirror, MP19-MP20 form a current mirror, and the NMOS tubes MN12-MN13 form a current mirror. The drain and gate of MP17 are connected to the reference current 4*IREF and the gate of MP18, the drain of MP18 is connected to the drain and gate of MP19 and the output IBS2, the drain of MP20 is connected to the gate and drain of MN12, and the drain of MN13 is connected to the output IBD2 and the output IB3.
2. A piecewise linear voltage generating circuit that varies with input current according to claim 1, characterized in that: The voltage generating module includes resistors Rc, R0, R1, R2, R3 and a capacitor Cc. The resistors R0, R1, R2, and R3 are connected in series and then in parallel with the resistor Rc, and then connected to the voltage VOUT. One end of the capacitor Cc is connected to the resistor Rc, and the other end is grounded. One end of the resistors R0, R1, R2, and R3 is respectively connected to the output IB0 of the current comparator 0, the output IB1 of the current comparator 1, the output IB2 of the current comparator 2, and the output IB3 of the current comparator 3.
Citation Information
Patent Citations
Semiconductor apparatus
CN102576041A
Method of forming a switched mode power supply controller device with an off mode and structure therefor
CN103227559A
Current steering type digital-to-analog converter for achieving digitization calibration, chip and communication terminal
CN108449089A
Low dropout regulator system
CN111316188A
Current comparator circuit and storage device based on resistive random access memory
CN116388739A
