CML drive circuit with tail current source calibration circuit and tail current source calibration method
By introducing a tail current source calibration circuit into the CML drive circuit, the tap coefficient of the tail current source is adaptively adjusted and a compensation control signal is generated, which solves the problem of the feedforward equalization error in the tail current source affecting the drive performance and ensures the overall accuracy of the CML driver. Constant tail current and good driving performance.
Patent Information
- Application Number
- CN202410933403.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-11
AI Technical Summary
In the existing technology, when a CML architecture driver uses de-emphasis technology in feed-forward equalization, the feed-forward equalization error generated in the tail current source affects the driving performance, resulting in reduced emphasis accuracy and uneven total tail current source size, which may lead to The switch tube is no longer in the full switching state, affecting the normal operation of the circuit.
A CML drive circuit with a tail current source calibration circuit is designed. The tap coefficient of each tail current source is adaptively adjusted through the current balancing module, the total current error generated by the balanced tail current is calculated, and a compensation control signal is generated to adjust the compensation. The current is used to compensate the total current error, so that the sum of the adjusted compensation current, the initial compensation current and the tail current of each tail current source is equal to the reference current, keeping the total tail current constant.
The total current error in the tail current source is eliminated, ensuring that the total tail current of the CML driver remains constant, thereby maintaining good driving performance and avoiding circuit failures caused by errors.
Smart Images

Figure CN118760306A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of integrated circuits, and in particular to a CML driving circuit with a tail current source calibration circuit and a tail current source calibration method. Background Art
[0002] With the rapid development of wired communication technology, the demand for high-speed data transmission in social life is getting higher and higher, which means that high-speed signal interconnection technology is becoming more and more important. As the frequency of transmitted signals increases, higher requirements are also placed on signal integrity.
[0003] For example, when a multi-frequency signal encoded by NRZ (Non-Return-to-Zero) is sent at the transmitting end, the high-frequency component and the low-frequency component attenuate at different speeds when the signal passes through the channel, which will cause problems such as inter-symbol crosstalk, resulting in code distortion when the multi-frequency signal reaches the receiving end. Therefore, the existing technology often uses equalization technology to compensate for the component with a faster attenuation speed or the component with a slower attenuation speed to offset the inter-symbol crosstalk, thereby maintaining the integrity of the signal. Specifically, the de-emphasis technology in the feedforward equalization (FFE) is usually used at the transmitting end to delay the coupling transmission of the tap signal at the driver to offset the influence of the previous code element and the subsequent code element on the current code element, such as Figure 1 The schematic diagram of multi-tap feedforward equalization is provided. The input signal in the receiver a1 generates multiple delayed signals through different delay units. After delay, the multiple delayed signals are weighted in the bias controller a2, and finally summed up and output through the adder a3, thereby offsetting the influence of the previous code element and the next code element on the current code element, that is, offsetting the inter-code crosstalk.
[0004] In order to make the above technology compatible with different signal transmission protocols or to achieve the transmission needs of different channels, it is usually necessary to adjust the equalization strength through an adaptive equalization mechanism. The general practice is to adaptively control the tail current source of the CML architecture driver through devices such as digital-to-analog converters (DACs), and then change the tap coefficients to adjust the strength of the feedforward equalization.
[0005] However, since the emphasis intensity is usually not a fixed value, it often needs to be programmable. The common practice is to make the tail current source of the CML architecture driver into a power array, and the DAC adjusts the size of each power supply. However, since the DAC will produce a certain error when adjusting the current of the tail current source, if there are many tail current sources, the total error generated by the DAC error transmitted to each power supply will be very large, resulting in reduced emphasis accuracy and destroying the constancy of the total tail current source. In particularly severe conditions, the switch tube will no longer be in a full switching state, resulting in the circuit not being able to work normally.
[0006] In summary, how to eliminate the feedforward equalization error generated in the tail current source when the de-emphasis technology in the feedforward equalization is used for the CML architecture driver has become a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0007] The present invention provides a CML driving circuit with a tail current source calibration circuit and a tail current source calibration method, which solve the problems existing in the related art that the feedforward equalization error generated in the tail current source affects the driving performance of the CML driver when the de-emphasis technology in the feedforward equalization is used for the CML architecture driver.
[0008] As a first aspect of the present invention, a CML driver circuit with a tail current source calibration circuit is provided, comprising: a CML driver and a tail current source calibration circuit;
[0009] The CML driver is electrically connected to a tail current source calibration circuit;
[0010] The CML driver includes a current balancing module, at least one calibration tap input differential pair, a plurality of general tap input differential pairs and a plurality of tail current sources, each general tap input differential pair is electrically connected to the current balancing module through a tail current source, and each tail current source and the calibration tap input differential pair are electrically connected to a tail current source calibration circuit;
[0011] Generally, the tap input differential pair tubes and the calibration tap input differential pair tubes are used to drive the output differential delay signal;
[0012] The current balancing module is used to adaptively adjust the tap coefficient of each corresponding tail current source to obtain a balanced tail current, where the balanced tail current refers to the sum of the tail currents output by each tail current source and adjusted by the current balancing module;
[0013] The tail current source calibration circuit is used to generate a compensation control signal according to the total current error generated by the balanced tail current, and the compensation control signal is used to adjust the current compensation current of the differential pair tube input through the calibration tap to compensate for the total current error.
[0014] Further, the tail current source calibration circuit includes: a compensation module, a sampling module and a reference module;
[0015] The compensation module and the reference module are both electrically connected to the sampling module, the sampling module is also electrically connected to each tail current source, and the compensation module is also electrically connected to the calibration tap input differential pair tube;
[0016] The reference module is used to provide a reference current;
[0017] The sampling module is used to obtain the reference current, the compensation current and the tail current output by each tail current source and adjusted by the current balancing module;
[0018] The compensation module is used to obtain a balanced tail current based on the sum of the tail currents output by each tail current source and adjusted by the current balancing module, obtain a total current error based on the difference between the sum of the balanced tail current and the current compensation current and a reference current, and generate a compensation control signal based on the total current error.
[0019] Further, the compensation module includes: a calculation unit and at least one compensation current adjustment unit electrically connected to the calculation unit;
[0020] The compensation current regulating unit is electrically connected to the calculation unit, the compensation current regulating unit and the calculation unit are both electrically connected to the sampling module, and the compensation current regulating unit is also electrically connected to the calibration tap input differential pair tube;
[0021] The calculation unit is used to obtain a balanced tail current according to the sum of the tail currents output by each tail current source and adjusted by the current balancing module, calculate the difference between the sum of the balanced tail current and the current compensation current and the reference current to obtain a total current error, and generate a compensation control signal according to the total current error;
[0022] The compensation current adjustment unit is used to adjust the current compensation current according to the compensation control signal so that the sum of the balanced tail current and the adjusted compensation current is equal to the reference current.
[0023] Further, the calculation unit includes: an operational amplifier and an inverter;
[0024] The in-phase input terminal and the inverting input terminal of the operational amplifier are both electrically connected to the sampling module, the output terminal of the operational amplifier is electrically connected to the input terminal of the inverter, and the output terminal of the inverter is electrically connected to the compensation current adjustment module and the sampling module;
[0025] The non-inverting input terminal of the operational amplifier is used to receive the tail current output by each tail current source and regulated by the current balancing module, and the inverting input terminal of the operational amplifier is used to receive the reference current. The operational amplifier is used to obtain the balanced tail current according to the sum of the tail currents output by each tail current source and regulated by the current balancing module, calculate the difference between the sum of the balanced tail current and the current compensation current and the reference current to obtain the total current error, and generate the compensation control signal according to the total current error;
[0026] Inverters are used to increase the load capability of operational amplifiers.
[0027] Further, the compensation current regulating unit includes a voltage-controlled current source;
[0028] The voltage-controlled current source is electrically connected to the calibration tap input differential pair tube, the calculation unit and the sampling module respectively.
[0029] Further, the sampling module includes a reference current initialization unit, a reference current sampling unit and a tail current sampling unit;
[0030] The reference current initialization unit is electrically connected to the reference module, the compensation current adjustment unit and each tail current source respectively, the reference current sampling unit is electrically connected to the reference module, the compensation current adjustment unit and the calculation unit respectively, and the tail current sampling unit is electrically connected to the compensation current adjustment unit, the calculation unit and each tail current source respectively;
[0031] The reference current initialization unit is used to set the reference current of the reference module according to the initial compensation current and the initial tail current output by each tail current source;
[0032] The reference current sampling unit is used to obtain and store the reference current;
[0033] The tail current sampling unit is used to obtain the tail current output by each tail current source and regulated by the current balancing module and the current compensation current.
[0034] Further, the reference current initialization unit includes: a first sampling switch, a second sampling switch, a first sampling resistor and a second sampling resistor;
[0035] One end of the first sampling switch is electrically connected to the compensation current adjustment unit and each tail current source, the other end of the first sampling switch is electrically connected to one end of the first sampling resistor and the calculation unit, one end of the second sampling switch is electrically connected to the reference module, the other end of the second sampling switch is electrically connected to one end of the second sampling resistor, and the other end of the second sampling resistor is electrically connected to the other end of the first sampling resistor and the signal ground.
[0036] Further, the reference current sampling unit includes: a second sampling switch, a third sampling switch, a fourth sampling switch and a sampling capacitor;
[0037] One end of the second sampling switch is electrically connected to the reference module, the other end of the second sampling switch is electrically connected to one end of the third sampling switch, the other end of the third sampling switch is electrically connected to the calculation unit, one end of the sampling capacitor is electrically connected to the calculation unit, the other end of the sampling capacitor is electrically connected to one end of the fourth sampling switch and the signal ground, and the other end of the fourth sampling switch is electrically connected to the calculation unit and the compensation current adjustment unit.
[0038] Further, the tail current sampling unit includes: a first sampling switch;
[0039] One end of the first sampling switch is electrically connected to the compensation current adjustment unit and each tail current source, and the other end of the first sampling switch is electrically connected to the calculation unit.
[0040] As another aspect of the present invention, a tail current source calibration method is provided, which is applied to the CML driving circuit with the tail current source calibration circuit, comprising:
[0041] Obtaining the tail current output by each tail current source and regulated by the current balancing module;
[0042] Calculate the sum of the tail currents output by each tail current source and regulated by the current balancing module to obtain a balanced tail current;
[0043] generating a compensation control signal according to a total current error generated by the balanced tail current;
[0044] The current compensation current of the differential pair tube input through the calibration tap is adjusted according to the compensation control signal to compensate for the total current error.
[0045] The present invention calculates the total current error generated by the sum of the tail currents output by each tail current source and regulated by a current balancing module through a tail current source calibration circuit, generates a compensation control signal according to the total current error, and adjusts the current compensation current of the differential pair tube input through a calibration tap according to the compensation control signal to compensate for the total current error, so that the sum of the adjusted compensation current and the tail current output by each tail current source and regulated by the current balancing module is equal to the sum of the initial compensation current and the initial tail current of each tail current source, thereby eliminating the total current error generated in the tail current source when the de-emphasis technology in feedforward balancing is used for the CML driver, so that the total tail current of the CML driver is always kept constant, thereby enabling the CML driver to maintain good driving performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present invention, but do not constitute a limitation of the present invention.
[0047] Figure 1 A schematic diagram of the multi-tap feedforward equalization provided by the present invention.
[0048] Figure 2 This is a schematic diagram of the structure of the CML architecture driver provided by the present invention.
[0049] Figure 3 This is a diagram showing the relationship between the output signal and the input signal of the input differential pair tube b2 provided by the present invention.
[0050] Figure 4 A first schematic structural diagram of a CML driving circuit with a tail current source calibration circuit provided by the present invention.
[0051] Figure 5 A second schematic structural diagram of a CML driving circuit with a tail current source calibration circuit provided by the present invention.
[0052] Figure 6 A third schematic structural diagram of the CML driving circuit with the tail current source calibration circuit provided by the present invention.
[0053] Figure 7 A schematic diagram of the simplified structure of the computing unit provided by the present invention.
[0054] Figure 8 A schematic diagram of the specific structure of a CML driving circuit with a tail current source calibration circuit provided by the present invention.
[0055] Fig. 9 A schematic diagram of the simplified structure of the sampling module provided by the present invention.
[0056] Fig.10 A working principle diagram of a CML driving circuit with a tail current source calibration circuit provided by the present invention.
[0057] Fig.11 A brief flow chart of the tail current source calibration method provided by the present invention.
[0058] Fig.12 A brief flow chart of generating a compensation control signal according to a total current error generated by a balanced tail current provided by the present invention. DETAILED DESCRIPTION
[0059] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0060] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of the present invention.
[0061] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so as to describe the embodiments of the present invention described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0062] Figure 2 A CML architecture driver is provided, which includes a load resistor RD , input differential pair tube b2 and tail current source b3. The general approach to adjusting the equalization strength through the adaptive equalization mechanism is to adaptively control the tail current source of the CML architecture driver through devices such as digital-to-analog converters (DACs), and then change the tap coefficients to adjust the strength of the feedforward equalization.
[0063] However, since the balancing mechanism of the CML architecture driver is achieved by switching the polarity of the switch pair, in order to maximize the performance of the CML architecture driver, the tail current source b3 of the CML architecture driver is often required to work in a full switching state, that is, the tail current only flows through one of the turned-on transistors in the input differential pair b2. At this time, the differential swing of the circuit output is only related to the load resistor b1 and the tail current source b3, such as Figure 3 The relationship between the output signal and input signal of the input differential pair tube b2 is shown in the figure. Therefore, when the CML architecture driver is in the full switching state, its static operating point is determined. On this basis, the input common mode level of the input differential pair tube b2, that is, the maximum input voltage range to ensure the normal operation of the input differential pair tube b2 is:
[0064]
[0065] Among them, V GS1 Represents the voltage difference between the gate and source of the input differential pair tube b2, V TH Represents the threshold voltage of the input differential b2 pair, V GS3 represents the voltage difference between the gate and source of the transistor of the tail current source b3, V TH3 represents the threshold voltage of the transistor of the tail current source b3, V in,CM Represents the input common-mode level of the input differential pair tube b2, V DD Indicates the power supply voltage, It represents the voltage difference across any load resistor b1.
[0066] Since the input common-mode level of the input differential pair tube b2 is affected by the voltage loaded on the load resistor b1 Therefore, in order to maintain the input common-mode level of the input differential pair tube b2, the total tail current source needs to remain constant. D Iss
[0067] Based on this, an embodiment of the present invention provides a CML driving circuit with a tail current source calibration circuit, such as Figure 4 As shown, it includes: a CML driver 100 and a tail current source calibration circuit 200; the CML driver 100 is electrically connected to the tail current source calibration circuit 200;
[0068] The CML driver 100 includes a current balancing module 110, at least one calibration tap input differential pair transistor 120, a plurality of general tap input differential pair transistors 130, and a plurality of tail current sources 140. Each general tap input differential pair transistor 130 is electrically connected to the current balancing module 110 through a tail current source 140, and each tail current source 140 and the calibration tap input differential pair transistor 120 are electrically connected to a tail current source calibration circuit 200.
[0069] The general tap input differential pair tube 130 and the calibration tap input differential pair tube 120 are both used to drive the output differential delay signal;
[0070] In the embodiment of the present invention, a calibration tap input differential pair tube 120 is specifically provided. The structure of the components used in the provided calibration tap input differential pair tube 120 and the general tap input differential pair tube 130 can be the same. The difference between the two mainly lies in that the general tap input differential pair tube 130 is electrically connected to the current balancing module 110 through the tail current source 140, and the current balancing module 110 performs power supply regulation on the tail current source 140, while the calibration tap input differential pair tube 120 is not connected to the current balancing module 110, nor is the calibration tap input differential pair tube 120 subjected to feedforward balancing regulation through the current balancing module 110.
[0071] In the embodiment of the present invention, the current balancing module 110 is specifically a digital-to-analog conversion module (DAC).
[0072] Specifically, the CML driver 100 should also include a pull-up matching resistor 150 , one end of which is electrically connected to the power supply voltage VDD, and the other end of which is electrically connected to the calibration tap input differential pair tube 120 .
[0073] The current balancing module 110 is used to adaptively adjust the tap coefficient of each corresponding tail current source 140 to obtain a balanced tail current, where the balanced tail current refers to the sum of the tail currents output by each tail current source 140 and adjusted by the current balancing module 110;
[0074] Specifically, the DAC adaptively adjusts the tap coefficient of each tail current source 140 to change the output current of each tail current source 140 to control the strength of the feedforward equalization.
[0075] The tail current source calibration circuit 200 is used to generate a compensation control signal according to the total current error generated by the balanced tail current, and the compensation control signal is used to adjust the current compensation current input to the differential pair tube 120 through the calibration tap to compensate for the total current error.
[0076] The tail current source calibration circuit 200 provided in the embodiment of the present invention can calculate the total current error generated by the balanced tail current, generate a compensation control signal according to the total current error, and adjust the current compensation current of the differential pair tube 120 input through the calibration tap according to the compensation control signal to compensate for the total current error, so that the sum of the adjusted compensation current and the balanced tail current is equal to the sum of the initial compensation current and the initial tail current of each tail current source, thereby eliminating the total current error generated in the tail current source when the de-emphasis technology in the feedforward equalization is used for the CML driver, so that the total tail current of the CML driver is always kept constant, thereby enabling the CML driver to maintain good driving performance.
[0077] Furthermore, if Figure 5 As shown, the tail current source calibration circuit 200 includes: a compensation module 210, a sampling module 220 and a reference module 230;
[0078] The compensation module 210 and the reference module 230 are both electrically connected to the sampling module 220 , the sampling module 220 is also electrically connected to each tail current source 140 , and the compensation module 210 is also electrically connected to the calibration tap input differential pair tube 120 ;
[0079] The reference module 230 is used to provide a reference current;
[0080] Specifically, the embodiment of the present invention is implemented by providing a reference current, and the sum of the balanced tail current and the compensation current after being balanced by the current balancing module 110 is compared with the reference current to obtain the total current error. It should be understood that the value of the reference current should be equal to the sum of the initial compensation current and the initial tail current of each tail current source 140. The reference module 230 is an external reference current 231, one end of the external reference current 231 is electrically connected to the power supply voltage VDD, and the other end of the external reference current 231 is electrically connected to the sampling module 220.
[0081] The sampling module 220 is used to obtain the reference current, the compensation current and the tail current output by each tail current source and regulated by the current balancing module;
[0082] Specifically, the sampling module 220 is electrically connected to the reference module 230 to collect the reference current; the sampling module 220 is electrically connected to the compensation module 210 to collect the compensation current of the differential pair tube 120 after the calibration tap input, and the compensation current here includes the initial compensation current and the compensation current adjusted by the compensation module 210; the sampling module 220 is electrically connected to each tail current source 140 to collect the tail current output by each tail current source 140, including the initial tail current and the tail current adjusted by the current balancing module 110.
[0083] The compensation module 210 is used to obtain a balanced tail current based on the sum of the tail currents output by each tail current source 140 and adjusted by the current balancing module 110, obtain a total current error based on the difference between the sum of the balanced tail current and the current compensation current and a reference current, and generate a compensation control signal based on the total current error.
[0084] Specifically, the compensation module 210 obtains the balanced tail current by calculating the sum of the tail currents output by each tail current source 140 and adjusted by the current balancing module 110, and calculates the difference between the sum of the balanced tail current and the current compensation current and the reference current, that is, the total current error, and then generates a compensation control signal based on the total current error, that is, provides a control excitation to control the increase and decrease of the compensation current, so that the sum of the adjusted compensation current and the balanced tail current is constantly equal to the reference current.
[0085] Furthermore, if Figure 6 As shown, the compensation module 210 includes: a calculation unit 211 and at least one compensation current adjustment unit 212 electrically connected to the calculation unit 211;
[0086] It should be understood that the number of compensation current adjustment units 212 should be determined by the number of calibration tap input differential pairs 120. Since the number of calibration tap input differential pairs 120 is 1 in the embodiment of the present invention, the number of compensation current adjustment units 212 is also set to 1 accordingly. If the number of calibration tap input differential pairs 120 is N, the number of compensation current adjustment units 212 is also set to N accordingly.
[0087] The compensation current regulating unit 212 is electrically connected to the calculation unit 211. The compensation current regulating unit 212 and the calculation unit 211 are both electrically connected to the sampling module 220. The compensation current regulating unit 212 is also electrically connected to the calibration tap input differential pair tube 120.
[0088] The calculation unit 211 is used to obtain a balanced tail current according to the sum of the tail currents output by each tail current source 140 and adjusted by the current balancing module 110, calculate the difference between the sum of the balanced tail current and the current compensation current and the reference current to obtain a total current error, and generate a compensation control signal according to the total current error;
[0089] The calculation unit 211 is as follows Figure 7 As shown, it includes: an operational amplifier 211 - 1 and an inverter 211 - 2;
[0090] The non-inverting input terminal and the inverting input terminal of the operational amplifier 211 - 1 are both electrically connected to the sampling module 220 , the output terminal of the operational amplifier 211 - 1 is electrically connected to the input terminal of the inverter 211 - 2 , and the output terminal of the inverter 211 - 2 is electrically connected to the compensation current adjustment module 212 and the sampling module 220 ;
[0091] The non-inverting input terminal of the operational amplifier 211-1 is used to receive the tail current output by each tail current source 140 and regulated by the current balancing module 110, and the inverting input terminal of the operational amplifier 211-1 is used to receive the reference current. The operational amplifier 211-1 is used to obtain the balanced tail current according to the sum of the tail current output by each tail current source 140 and regulated by the current balancing module 110, calculate the difference between the sum of the balanced tail current and the current compensation current and the reference current to obtain the total current error, and generate the compensation control signal according to the total current error;
[0092] The inverter 211 - 2 is used to increase the load capacity of the operational amplifier 211 - 1 , so as to avoid the output current of the operational amplifier 211 - 1 being insufficient, resulting in abnormal compensation control signal, and further affecting the adjustment of compensation current.
[0093] In addition to the exemplary circuit structure of the calculation unit, the embodiment of the present invention only needs to be able to implement the signal summation and difference calculation functions, and the specific circuit structure of the calculation unit 211 is not limited in the embodiment of the present invention.
[0094] The compensation current adjustment unit 212 is used to adjust the current compensation current according to the compensation control signal so that the sum of the balanced tail current and the adjusted compensation current is equal to the reference current.
[0095] The compensation current adjustment unit 212 is as follows: Figure 8 As shown, it includes a voltage-controlled current source 212-1;
[0096] The voltage-controlled current source 212 - 1 is electrically connected to the calibration tap input differential pair tube 120 , the calculation unit 211 and the sampling module 220 , respectively.
[0097] In addition to the specific form of the exemplary compensation current adjustment unit, the embodiments of the present invention only need to be able to increase or decrease the compensation current of the differential pair tube input through the calibrated tap according to the compensation control signal to keep the sum of the balanced tail current and the adjusted compensation current equal to the reference current, that is, it only needs to be a controllable current source. For example, it can also be a controllable current source, and the embodiments of the present invention are not limited here.
[0098] Furthermore, if Fig. 9 As shown, the sampling module 220 includes a reference current initialization unit 221, a reference current sampling unit 222 and a tail current sampling unit 223;
[0099] The reference current initialization unit 221 is electrically connected to the reference module 230, the compensation current adjustment unit 212 and each tail current source 140, the reference current sampling unit 222 is electrically connected to the reference module 230, the compensation current adjustment unit 212 and the calculation unit 211, and the tail current sampling unit 223 is electrically connected to the compensation current adjustment unit 212, the calculation unit 211 and each tail current source 140;
[0100] The reference current initialization unit 221 is used to set the reference current of the reference module 230 according to the initial compensation current and the initial tail current output by each tail current source 140;
[0101] like Figure 8 As shown, the reference current initialization unit 221 includes: a first sampling switch a, a second sampling switch b, a first sampling resistor R1 and a second sampling resistor R2;
[0102] One end of the first sampling switch a is electrically connected to the compensation current adjustment unit 212 and each tail current source 140, and the other end of the first sampling switch a is electrically connected to one end of the first sampling resistor R1 and the calculation unit 211, one end of the second sampling switch b is electrically connected to the reference module 230, and the other end of the second sampling switch b is electrically connected to one end of the second sampling resistor R2, and the other end of the second sampling resistor R2 is electrically connected to the other end of the first sampling resistor R1 and the signal ground GND.
[0103] The reference current sampling unit 222 is used to obtain and store the reference current;
[0104] like Figure 8 As shown, the reference current sampling unit 222 includes: a second sampling switch b, a third sampling switch c, a fourth sampling switch d and a sampling capacitor e;
[0105] One end of the second sampling switch b is electrically connected to the reference module 230, the other end of the second sampling switch b is electrically connected to one end of the third sampling switch c, the other end of the third sampling switch c is electrically connected to the calculation unit 211, one end of the sampling capacitor e is electrically connected to the calculation unit 211, the other end of the sampling capacitor e is electrically connected to one end of the fourth sampling switch d and the signal ground GND, and the other end of the fourth sampling switch d is electrically connected to the calculation unit 211 and the compensation current adjustment unit 212.
[0106] The tail current sampling unit 223 is used to obtain the tail current output by each tail current source 140 and regulated by the current balancing module 110 and the current compensation current.
[0107] like Figure 8 As shown, the tail current sampling unit 223 includes: a first sampling switch a;
[0108] One end of the first sampling switch a is electrically connected to the compensation current adjustment unit 212 and each tail current source 140 , and the other end of the first sampling switch a is electrically connected to the calculation unit 211 .
[0109] The specific embodiment provided by the present invention takes a three-tap CML driver as an example, that is, it includes a calibration tap input differential pair transistor 120 and two general tap input differential pair transistors 130 .
[0110] like Figure 8 As shown, the drain of the voltage-controlled current source 212-1 is electrically connected to the calibration tap input differential pair tube 120, the source of the voltage-controlled current source 212-1 and the source of each tail current source 140 are electrically connected to one end of the first sampling switch a, the drain of each tail current source 140 is electrically connected to a general tap input differential pair tube 130, and the gate of each tail current source 140 is electrically connected to the DAC; the other end of the first sampling switch a is electrically connected to one end of the first sampling resistor R1, one end of the third sampling switch c and the non-inverting input end of the operational amplifier 211-1, and one end of the second sampling switch b is electrically connected to the external reference current 231. The other end of the second sampling switch b is electrically connected to the other end of the third sampling switch c and one end of the second sampling resistor R2, the other end of the second sampling resistor R2 is electrically connected to the other end of the first sampling resistor R1 and the signal ground GND, one end of the sampling capacitor e is electrically connected to the inverting input end of the operational amplifier 211-1, the other end of the sampling capacitor e is electrically connected to one end of the fourth sampling switch d and the signal ground GND, the output end of the operational amplifier 211-1 is electrically connected to the input end of the inverter 211-2, and the other end of the fourth sampling switch d is electrically connected to the gate of the voltage-controlled current source 212-1 and the output end of the inverter 211-2.
[0111] The specific working principle of the embodiment of the present invention is as follows Fig.10 As shown, it includes three stages:
[0112] (1) Reference current initialization stage
[0113] First, initially, the static operating points of the calibration tap input differential pair and each general tap input differential pair are adjusted respectively, so that the calibration tap input differential pair and the general tap input differential pair are both operated in a full switching state, that is, the current only passes through one of the turned-on transistors. Then, the first sampling switch a and the second sampling switch b are closed, and the third sampling switch c and the fourth sampling switch d are opened. A reference current initialization unit 221 is formed between the first sampling switch a, the first sampling resistor R1, the signal ground GND, the second sampling resistor R2, and the second sampling switch b. At this time, the value of the reference current provided by the external reference current 231 is set to the sum of the initial compensation current of the voltage-controlled current source 212-1 and the initial tail current of each tail current source 140, so that the voltage on the first sampling resistor R1 is equal to the voltage on the second sampling resistor R2, thereby completing the setting of the reference current. It should be noted that, Fig.10 The total tail current in is the sum of the compensation current and each tail current.
[0114] (2) Reference current sampling stage
[0115] In this stage, the first sampling switch a is opened, and the second sampling switch b, the third sampling switch c and the fourth sampling switch d are closed. At this time, the second sampling switch b, the third sampling switch c, the fourth sampling switch d and the sampling capacitor e form a reference current sampling unit 222, and the reference current is stored in the sampling capacitor e. Then, the fourth sampling switch d is opened to keep the reference current constant.
[0116] (3) Tail current source calibration stage
[0117] In this stage, the third sampling switch c and the fourth sampling switch d are first opened, and the first sampling switch a is closed. At this time, the first sampling switch a forms a tail current sampling unit 223 between the voltage-controlled current source 212-1, the tail current source 140 and the operational amplifier 211-1, and the sum of the compensation current currently output by the voltage-controlled current source 212-1 and the tail current output by each tail current source 140 and adjusted by the current balancing module 110 is collected to the in-phase input terminal of the operational amplifier 211-1. The reference current is sent to the inverting input terminal of the operational amplifier 211-1 by the sampling capacitor e. The operational amplifier 211-1 calculates the sum of the compensation current currently output by the voltage-controlled current source 212-1 and the tail current output by each tail current source 140 and adjusted by the current balancing module 110 compared with the reference current. The difference of the quasi-currents is used to obtain a total current error, and a compensation control signal is generated according to the total current error. The compensation control signal provides compensation excitation for the voltage-controlled current source 212-1 to increase or decrease the compensation current of the voltage-controlled current source 212-1. If the sum of the adjusted compensation current and the tail current output by each tail current source after adjustment by the current balancing module 110 is equal to the reference current, the calibration is completed. If the sum of the adjusted compensation current and the tail current output by each tail current source after adjustment by the current balancing module 110 is not equal to the reference current, the compensation current is continuously adjusted until the sum of the adjusted compensation current and the tail current output by each tail current source 140 after adjustment by the current balancing module 110 is equal to the reference current, that is, the currents at the in-phase terminal and the inverting terminal of the operational amplifier are equal.
[0118] Another embodiment of the present invention provides a tail current source calibration method, which is applied to the CML driving circuit with the tail current source calibration circuit. Fig.11 As shown, including:
[0119] S100, obtaining the tail current output by each tail current source and regulated by the current balancing module;
[0120] In the embodiment of the present invention, a current balancing module, such as a DAC, adaptively adjusts the tap coefficient of each tail current source, thereby changing the output current of each tail current source to control the strength of feedforward balancing.
[0121] S200, calculating the sum of the tail currents output by each tail current source and regulated by the current balancing module to obtain a balanced tail current;
[0122] There is an error between the sum of the balanced micro-current and the initial tail current.
[0123] S300, generating a compensation control signal according to a total current error generated by the balanced tail current;
[0124] Specifically, Fig.12 , generating a compensation control signal based on the total current error generated by the balanced tail current includes:
[0125] S310, calculating the sum of the balanced tail current and the current compensation current;
[0126] S320, obtaining a total current error according to a difference between the sum of the balanced tail current and the current compensation current and a preset reference current;
[0127] S330 , generating a compensation control signal according to the total current error.
[0128] S400, adjusting the current compensation current of the differential pair tube input through the calibration tap according to the compensation control signal to compensate for the total current error.
[0129] The embodiment of the present invention calculates the total current error generated by the balanced tail current, generates a compensation control signal according to the total current error, and adjusts the current compensation current of the differential pair tube input through the calibrated tap according to the compensation control signal to compensate for the total current error. If the sum of the adjusted compensation current and the balanced tail current is equal to the sum of the initial compensation current and the initial tail current of each tail current source, the calibration is completed. If the sum of the adjusted compensation current and the balanced tail current is equal to the sum of the initial compensation current and the initial tail current of each tail current source but is not equal to the sum of the initial compensation current and the initial tail current of each tail current source, the calibration is continued until the sum of the adjusted compensation current and the balanced tail current is equal to the sum of the initial compensation current and the initial tail current of each tail current source.
[0130] The embodiment of the present invention eliminates the total current error generated in the tail current source when the de-emphasis technology in feed-forward equalization is used for the CML driver, so that the total tail current of the CML driver is always kept constant, thereby maintaining good driving performance of the CML driver.
[0131] The specific principle of the tail current source calibration method provided in the embodiment of the present invention can refer to the principle of the CML driving circuit with a tail current source calibration circuit in the foregoing text, and will not be elaborated here.
[0132] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. A CML driving circuit with a tail current source calibration circuit, characterized in that: include: CML driver and tail current source calibration circuit; The CML driver is electrically connected to the tail current source calibration circuit; The CML driver includes a current balancing module, at least one calibration tap input differential pair tube, a plurality of general tap input differential pair tubes and a plurality of tail current sources, each of the general tap input differential pair tubes is electrically connected to the current balancing module through one of the tail current sources, and each of the tail current sources and the calibration tap input differential pair tubes are electrically connected to the tail current source calibration circuit; The general tap input differential pair tubes and the calibration tap input differential pair tubes are both used to drive and output differential delay signals; The current balancing module is used to adaptively adjust the tap coefficient of each corresponding tail current source to obtain a balanced tail current, wherein the balanced tail current refers to the sum of the tail currents output by each tail current source and adjusted by the current balancing module; The tail current source calibration circuit is used to generate a compensation control signal according to the total current error generated by the balanced tail current, and the compensation control signal is used to adjust the current compensation current passing through the calibration tap input differential pair tube to compensate for the total current error.
2. The CML driving circuit with a tail current source calibration circuit according to claim 1, characterized in that: The tail current source calibration circuit comprises: a compensation module, a sampling module and a reference module; The compensation module and the reference module are both electrically connected to the sampling module, the sampling module is also electrically connected to each of the tail current sources, and the compensation module is also electrically connected to the calibration tap input differential pair tube; The reference module is used to provide a reference current; The sampling module is used to obtain the reference current, the compensation current and the tail current output by each tail current source and regulated by the current balancing module; The compensation module is used to obtain a balanced tail current based on the sum of the tail currents output by each tail current source and adjusted by the current balancing module, obtain the total current error based on the difference between the balanced tail current and the sum of the current compensation current and the reference current, and generate a compensation control signal based on the total current error.
3. The CML driving circuit with a tail current source calibration circuit according to claim 2, characterized in that: The compensation module comprises: a calculation unit and at least one compensation current adjustment unit electrically connected to the calculation unit; The compensation current adjustment unit is electrically connected to the calculation unit, the compensation current adjustment unit and the calculation unit are both electrically connected to the sampling module, and the compensation current adjustment unit is also electrically connected to the calibration tap input differential pair tube; The calculation unit is used to obtain a balanced tail current according to the sum of the tail currents output by each tail current source and adjusted by the current balancing module, calculate the difference between the sum of the balanced tail current and the current compensation current and the reference current to obtain the total current error, and generate a compensation control signal according to the total current error; The compensation current adjustment unit is used to adjust the current compensation current according to the compensation control signal so that the sum of the balanced tail current and the adjusted compensation current is equal to the reference current.
4. The CML driving circuit with a tail current source calibration circuit according to claim 3, characterized in that: The calculation unit includes: an operational amplifier and an inverter; The in-phase input terminal and the inverting input terminal of the operational amplifier are both electrically connected to the sampling module, the output terminal of the operational amplifier is electrically connected to the input terminal of the inverter, and the output terminal of the inverter is electrically connected to the compensation current adjustment module and the sampling module; The non-inverting input terminal of the operational amplifier is used to receive the tail current output by each tail current source and regulated by the current balancing module, and the inverting input terminal of the operational amplifier is used to receive the reference current. The operational amplifier is used to obtain a balanced tail current according to the sum of the tail currents output by each tail current source and regulated by the current balancing module, calculate the difference between the sum of the balanced tail current and the current compensation current and the reference current to obtain the total current error, and generate a compensation control signal according to the total current error; The inverter is used to increase the load capacity of the operational amplifier.
5. The CML driving circuit with a tail current source calibration circuit according to claim 3, characterized in that: The compensation current adjustment unit includes a voltage-controlled current source; The voltage-controlled current source is electrically connected to the calibration tap input differential pair tube, the calculation unit and the sampling module respectively.
6. The CML driving circuit with a tail current source calibration circuit according to claim 3, characterized in that: The sampling module includes a reference current initialization unit, a reference current sampling unit and a tail current sampling unit; The reference current initialization unit is electrically connected to the reference module, the compensation current adjustment unit and each of the tail current sources, the reference current sampling unit is electrically connected to the reference module, the compensation current adjustment unit and the calculation unit, and the tail current sampling unit is electrically connected to the compensation current adjustment unit, the calculation unit and each of the tail current sources; The reference current initialization unit is used to set the reference current of the reference module according to the initial compensation current and the initial tail current output by each tail current source; The reference current sampling unit is used to obtain and store the reference current; The tail current sampling unit is used to obtain the tail current output by each tail current source and regulated by the current balancing module and the current compensation current.
7. The CML driving circuit with a tail current source calibration circuit according to claim 6, characterized in that: The reference current initialization unit includes: a first sampling switch, a second sampling switch, a first sampling resistor and a second sampling resistor; One end of the first sampling switch is electrically connected to the compensation current adjustment unit and each of the tail current sources, the other end of the first sampling switch is electrically connected to one end of the first sampling resistor and the calculation unit, one end of the second sampling switch is electrically connected to the reference module, the other end of the second sampling switch is electrically connected to one end of the second sampling resistor, and the other end of the second sampling resistor is electrically connected to the other end of the first sampling resistor and the signal ground.
8. The CML driving circuit with a tail current source calibration circuit according to claim 6, characterized in that: The reference current sampling unit includes: a second sampling switch, a third sampling switch, a fourth sampling switch and a sampling capacitor; One end of the second sampling switch is electrically connected to the reference module, the other end of the second sampling switch is electrically connected to one end of the third sampling switch, the other end of the third sampling switch is electrically connected to the calculation unit, one end of the sampling capacitor is electrically connected to the calculation unit, the other end of the sampling capacitor is electrically connected to one end of the fourth sampling switch and a signal ground, and the other end of the fourth sampling switch is electrically connected to the calculation unit and the compensation current adjustment unit.
9. The CML driving circuit with a tail current source calibration circuit according to claim 6, characterized in that: The tail current sampling unit comprises: a first sampling switch; One end of the first sampling switch is electrically connected to the compensation current adjustment unit and each of the tail current sources, and the other end of the first sampling switch is electrically connected to the calculation unit.
10. A tail current source calibration method, applied to a CML driving circuit with a tail current source calibration circuit as claimed in any one of claims 1 to 9, comprising: Acquire the tail current output by each tail current source and regulated by the current balancing module; Calculating the sum of the tail currents output by each tail current source and regulated by the current balancing module to obtain a balanced tail current; generating a compensation control signal according to a total current error generated by the balanced tail current; The current compensation current input to the differential pair tube through the calibration tap is adjusted according to the compensation control signal to compensate for the total current error.
