Amplifier chip and bias calibration method
By introducing amplifier detection circuit and bias detection circuit into the RF amplifier chip, the bias voltage is adjusted by transconductance calibration, the problem of inconsistent gain of RF chips is solved and the mass production yield is improved.
Patent Information
- Application Number
- CN202410426162.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-10
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-04-10
AI Technical Summary
During mass production of existing RF amplifier chips, the gain inconsistent due to process deviations, and the existing calibration methods can only compensate DC current in a limited manner, which cannot effectively ensure the gain consistency of different chips, affecting yield.
An amplifier detection circuit and a bias detection circuit are introduced into the amplifier chip. The bias voltage is adjusted through transconductance calibration to ensure that the gain of the amplifier circuit meets the design requirements and achieves gain consistency between different chips.
Through the transconductance calibration method, the impact of process deviation on chip consistency is reduced, the mass production yield of RF chips is improved, and the gain of different chips is close to the target value.
Smart Images

Figure CN118017941B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of radio frequency amplifiers, and in particular to an amplifier chip and a bias calibration method. Background Art
[0002] RF amplifiers are indispensable components in various RF integrated circuit chips, which can be used to provide the desired power gain and amplify RF signals. However, chip manufacturing is a physical process, and there are inevitable process deviations (including doping concentration, diffusion depth, etching degree, etc.). These process deviations will lead to differences in manufacturing conditions between different batches, between different wafers in the same batch, and even between different chips on the same wafer, that is, there are consistency issues between chips.
[0003] For RF amplifiers, process deviations will have a significant impact on key performance factors such as the gain of the RF amplifier. Therefore, during the mass production of RF chips, it is necessary to test and calibrate the amplifiers in the RF chip through CP (Chip Probing) testing so that the gains of amplifiers on different chips can be close to the target value, thereby ensuring the consistency of various RF indicators between different chips and improving the yield of RF chips.
[0004] Currently, amplifier calibration is mainly based on calibrating the DC (direct current) current of the amplifier. This calibration method can only perform limited compensation calibration for process deviations. Even if the DC currents of amplifiers of different chips are calibrated to the same value, the gains of amplifiers of different chips will still have large deviations. Summary of the invention
[0005] In view of this, an embodiment of the present application provides an amplifier chip and a bias calibration method thereof to improve the consistency level between different chips.
[0006] The present application proposes a bias calibration method for an amplifier chip, which is used to calibrate the bias of different amplifier chips respectively;
[0007] The amplifier chip comprises:
[0008] an amplifier circuit including a first transistor for amplification;
[0009] a bias circuit, based on a first control signal, providing a first bias voltage to the first transistor of the amplifier circuit, the bias circuit comprising a second transistor;
[0010] an amplifier detection circuit, comprising a third transistor, the DC equivalent circuit of the amplifier detection circuit having the same connection relationship as the DC equivalent circuit of the amplifier circuit, the third transistor receiving a second bias voltage;
[0011] A bias detection circuit, controlled by a second control signal, outputs a third bias voltage, and includes a fourth transistor, wherein a DC equivalent circuit of the bias detection circuit is the same as a DC equivalent circuit of the bias circuit;
[0012] The calibration method comprises the following steps:
[0013] The bias detection circuit sequentially outputs a series of the third bias voltages based on a series of the second control signals, wherein the second control signal is used to adjust the magnitude of the third bias voltage;
[0014] The third transistor of the amplifier detection circuit receives a series of the second bias voltages and outputs a series of DC output currents;
[0015] determining a transconductance of the amplifier detection circuit based on a series of the DC output current and the second bias voltage;
[0016] Determining a target bias voltage based on a fitting relationship curve between the transconductance and the second bias voltage, wherein the target bias voltage is the second bias voltage corresponding to the target transconductance, the target transconductance is a set theoretical value, and when the transconductance of the amplifier circuit is the target transconductance, the gain of the amplifier circuit meets the design requirements;
[0017] Determine a target control signal based on the second control signal and the target bias voltage, wherein the target control signal is the second control signal corresponding to the target bias voltage;
[0018] The target control signal is used as the first control signal input to the bias circuit, and the first control signal is used to adjust the magnitude of the first bias voltage.
[0019] In the above method, the step of determining the transconductance of the amplifier detection circuit includes:
[0020] Based on the DC output current and the second bias voltage, obtaining a bias voltage-output current relationship curve;
[0021] The bias voltage-output current relationship curve is derived to obtain the transconductance.
[0022] In the above method, the step of determining the target bias voltage includes: based on the fitting relationship curve between the transconductance and the second bias voltage, selecting the transconductance with the smallest difference from the target transconductance, and using the second bias voltage corresponding to the transconductance with the smallest difference as the target bias voltage.
[0023] In the above method, a series of digital control signals are input to the digital-to-analog conversion circuit, and the digital-to-analog conversion circuit provides a series of the second bias voltages for the amplifier detection circuit based on the series of digital control signals.
[0024] In the above method, the step of determining the target control signal includes: determining the third bias voltage having the smallest difference with the target bias voltage, and using the second control signal corresponding to the third bias voltage having the smallest difference as the target control signal.
[0025] In the above method, the bias detection circuit is connected to the amplifier detection circuit, and the third bias voltage output by the bias detection circuit is sent to the amplifier detection circuit as the second bias voltage.
[0026] In the above method, the step of determining the target control signal includes: according to the third bias voltage corresponding to each second control signal, determining the second control signal when the third bias voltage is equal to the target bias voltage as the target control signal.
[0027] In the above method, the sizes of the first transistor and the third transistor are in a first proportional relationship; the step of determining the target bias voltage includes: converting the target transconductance according to the first proportional relationship, and the target bias voltage is the second bias voltage corresponding to the converted target transconductance.
[0028] In the above method, the connection relationship between the amplifier detection circuit and the DC equivalent circuit of the amplifier circuit is the same.
[0029] Based on the same inventive concept, the present application also proposes a computer program product, wherein the computer program product stores a computer program, and when the computer program is executed by a computer, the computer executes the above method.
[0030] Based on the same inventive concept, the present application also proposes an amplifier chip, comprising:
[0031] an amplifier circuit including a first transistor for amplifying a signal;
[0032] a bias circuit, based on a first control signal, providing a first bias voltage to the first transistor of the amplifier circuit, the bias circuit comprising a second transistor;
[0033] an amplifier detection circuit, comprising a third transistor, a DC equivalent circuit of the amplifier detection circuit having the same connection relationship as a DC equivalent circuit of the amplifier circuit, and the third transistor being used to receive a second bias voltage; and
[0034] a bias detection circuit, controlled by a second control signal, outputting a third bias voltage, the bias detection circuit comprising a fourth transistor, and the DC equivalent circuit of the bias detection circuit being the same as the DC equivalent circuit of the bias circuit;
[0035] a first port connected to the bias detection circuit and configured to output the third bias voltage; and
[0036] The second port is connected to the amplifier detection circuit and is used to output a DC output current of the amplifier detection circuit.
[0037] The above chip further includes a digital-to-analog conversion circuit, which is connected to the amplifier detection circuit and outputs the second bias voltage to the amplifier detection circuit; the accuracy of the digital-to-analog conversion circuit is greater than that of the bias detection circuit.
[0038] In the above chip, the bias detection circuit is connected to the amplifier detection circuit, and the third bias voltage output by the bias detection circuit is sent to the amplifier detection circuit as the second bias voltage.
[0039] In the above chip, the connection relationship between the amplifier detection circuit and the DC equivalent circuit of the amplifier circuit is the same.
[0040] Compared with the prior art, the above embodiment adds an amplifier detection circuit and a bias detection circuit on the same chip where the amplifier circuit and the bias circuit are located. And the DC equivalent circuit of the amplifier circuit and the amplifier detection circuit is the same, that is, in the amplifier circuit and the amplifier detection circuit, when the amplifier circuit and the amplifier detection circuit receive the same bias voltage, the output DC current is the same or proportional. The bias circuit is the same as the DC circuit in the bias detection circuit, so that when the bias circuit and the bias detection circuit are under the same control signal, the output bias voltage is the same. Therefore, the amplifier detection circuit is used to simulate the working state of the amplifier circuit, and the bias detection circuit is used to simulate the working state of the bias circuit, and can be used to calibrate the gain of the amplifier chip.
[0041] When calibrating different amplifier chips, a second control signal is input to the bias detection circuit to obtain a third bias voltage corresponding to the second control signal. A second bias voltage is input to the amplifier detection circuit to obtain a DC output current corresponding to the amplifier detection circuit under the second bias voltage.
[0042] According to the second bias voltage and the DC output current, the transconductance of the amplifier detection circuit can be obtained. Based on the fitting relationship curve between the transconductance and the second bias voltage, the target bias voltage is determined. The target bias voltage is the second bias voltage corresponding to the target transconductance. The target transconductance is a set theoretical value. When the transconductance of the amplifier circuit is the target transconductance, the gain of the amplifier circuit meets the design requirements, that is, the gains of different amplifier circuits are consistent. Because the amplifier detection circuit can simulate the amplifier circuit, the target bias voltage can simulate the first bias voltage input to the amplifier circuit. When the target bias voltage is used as the first bias voltage, the transconductance of the amplifier circuit can be the target transconductance.
[0043] Based on the second control signal and the target bias voltage, the target control signal is determined, the target control signal is the second control signal corresponding to the target bias voltage, and when the second control signal is the target control signal, the difference between the third bias voltage corresponding to the second control signal and the target bias voltage is the smallest. Because the bias detection circuit can simulate the bias circuit, the target bias voltage can simulate the first bias voltage input to the amplifier circuit, and when the target bias voltage is used as the first control signal, the bias circuit can control the transconductance of the amplifier circuit to be the target transconductance.
[0044] The target control signal is used as the first control signal input to the bias circuit. Under the control of the target control signal, the first bias voltage provided by the bias circuit can make the transconductance of the amplifier circuit the same or substantially the same as the target transconductance. The transconductance is proportional to the gain of the amplifier circuit, so the gain of the amplifier circuit is calibrated. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a schematic diagram of the bias-current curve of the amplifier;
[0046] Figure 2 is a block diagram of an amplifier chip proposed according to some embodiments of the present application;
[0047] Figure 3 It is a comparison chart of the transconductance and bias-current curve of the amplifier detection circuit;
[0048] Figure 4 yes Figure 2 Specific circuit diagram of the block diagram shown;
[0049] Figure 5 is another block diagram of an amplifier chip proposed according to some embodiments of the present application;
[0050] Figure 6 It is a flow chart of a bias calibration method of an amplifier chip proposed according to some embodiments of the present application. DETAILED DESCRIPTION
[0051] The following specific embodiments illustrate the implementation of the present application, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Although the description of the present application will be introduced in conjunction with the preferred embodiment, this does not mean that the features of this invention are limited to this implementation. On the contrary, the purpose of introducing the invention in conjunction with the implementation is to cover other options or modifications that may extend based on the claims of the present application. In order to provide a deep understanding of the present application, the following description will include many specific details. The present application can also be implemented without using these details. In addition, in order to avoid confusion or blurring the focus of the present application, some specific details will be omitted in the description. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0052] It should be noted that in this specification, similar numbers and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings and is assumed to be the same definition.
[0053] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0054] The transconductance of the amplifier is m It is defined as the ratio of the change in output current to the change in input voltage. For DC, transconductance is defined as , ΔI out is the change in output current, ΔV in is the change in input voltage. For a small AC signal model with a DC bias voltage of Vb, let ΔV→0 (approaching infinitesimal), then the slope of the tangent line of the curve at point Q is the small signal transconductance, ,i out is the output current value of the small AC signal, v in is the input voltage value of the AC small signal, such as Figure 1 shown.
[0055] The applicant has found that the gain of the amplifier can be equivalent to the transconductance g m The product of the transconductance g of the amplifier in each chip is the same as the load RL. Under the existing process, the consistency of the load RL in different chips is relatively good. m If the consistency is good, the gain consistency of the amplifier will also be good. In other words, the effect of calibrating the gain consistency of the amplifier can be achieved by calibrating the consistency of the transconductance. According to the definition of the amplifier transconductance mentioned above, the amplifier transconductance can be determined by determining the DC bias voltage of the amplifier.
[0056] Based on the above ideas, the present application proposes an RF amplifier bias calibration scheme and a corresponding chip for calibrating amplifier gain consistency based on transconductance. The scheme can calibrate the transconductance of the RF amplifier transistor by calibrating the bias voltage of the RF amplifier transistor, and then compensate for the amplifier gain, so that the gain of different chips is as close to the predetermined target value as possible, reducing the impact of process deviation on chip consistency and improving mass production yield.
[0057] Figure 2 The block diagram of the amplifier chip proposed according to some embodiments of the present application is shown. Generally, the integrated chip includes at least one amplifier circuit and a corresponding bias circuit. In this embodiment, each amplifier circuit and the corresponding bias circuit are configured with a set of amplifier detection circuits and bias detection circuits, that is, the amplifier circuit corresponds to the amplifier detection circuit one-to-one, and the bias circuit corresponds to the bias detection circuit one-to-one, and a port connected to the amplifier detection circuit and / or the bias detection circuit can be set, so that the amplifier circuit and the bias circuit in the chip can be calibrated through the port outside the chip, so that the transconductance of different amplifier circuits is the same or substantially the same, thereby improving the consistency of the amplifier gain. This embodiment can be applied to all types of amplifiers, including gain amplifiers, power amplifiers, etc.
[0058] Specific as Figure 2 As shown, the amplifier chip includes an amplifier circuit 15, a bias circuit 13, an amplifier detection circuit 14, a bias detection circuit 12, a first port P1 and a second port P2.
[0059] The amplifier circuit 15 includes a first transistor for amplifying a signal, and the control end of the first transistor is used to receive a first bias voltage Vb1. The amplifier detection circuit 14 includes a third transistor, and the control end of the third transistor is used to receive a second bias voltage Vb2. The connection relationship between the DC equivalent circuit of the amplifier circuit 15 and the DC equivalent circuit of the amplifier detection circuit 14 is the same. It can be understood that when the amplifier circuit 15 and the amplifier detection circuit 14 are equivalent to a DC circuit, the connection relationship of the third transistor is the same as the connection relationship of the first transistor. The three ends of the third transistor and the first transistor are respectively connected to the same type of voltage, for example, the control ends of the third transistor and the first transistor are both connected to the bias voltage, the first ends of the third transistor and the first transistor are both connected to the power supply voltage, and the second ends of the third transistor and the first transistor are both grounded, etc. When the connection relationship of the DC equivalent circuit is the same, the size of the transistors in the circuit can be different. When the first bias voltage Vb1 and the second bias voltage Vb2 of the amplifier detection circuit 14 are the same, the DC current output by the amplifier circuit 15 is the same as or proportional to the DC current output by the amplifier detection circuit 14, and the amplifier detection circuit 14 can be used to simulate the amplifier circuit 15.
[0060] Among them, the DC equivalent circuit refers to simplifying a complex AC circuit into an equivalent DC circuit, which refers to the equivalent circuit of a circuit when only DC current / voltage is input into the circuit. It can be understood that the DC equivalent circuit is a circuit that only includes the DC part of the circuit, for example, including DC parts such as transistors, but may not include RF parts such as capacitors and inductors; or it can be understood as a circuit after the capacitor in the circuit is open-circuited and the inductor is short-circuited.
[0061] Based on the first control signal, the bias circuit 13 provides the first bias voltage Vb1 to the amplifier circuit 15. The first control signal is used to adjust the magnitude of the first bias voltage Vb1. When the first control signal is different, the magnitude of the first bias voltage Vb1 is different. The bias detection circuit 12 is controlled by the second control signal and outputs a third bias voltage Vb3. The second control signal is used to adjust the magnitude of the third bias voltage Vb3. When the second control signal is different, the magnitude of the third bias voltage Vb3 is different. The bias circuit 13 includes a second transistor, and the bias detection circuit 12 includes a fourth transistor. The DC equivalent circuits of the bias circuit 13 and the bias detection circuit 12 are the same. It can be understood that when the bias circuit 13 and the bias detection circuit 12 are equivalent to a DC circuit, the connection relationship of the fourth transistor is the same as the connection relationship of the second transistor, and the three terminals of the second transistor and the fourth transistor are respectively connected to the same type of voltage or device, for example, the control terminals of the second transistor and the fourth transistor are both connected to a current source, or / and, the first terminals of the second transistor and the fourth transistor are both connected to a power supply voltage, and the second terminals of the second transistor and the fourth transistor are both grounded, and so on. When the first control signal is the same as the second control signal, the first bias voltage Vb1 is the same as the third bias voltage Vb3, and the bias detection circuit 12 is used to simulate the bias circuit 13. The first control signal and the second control signal can be digital signals, such as control words. When the bias circuit 13 and the bias detection circuit 12 include a current source, the first control signal and the second control signal can adjust the control word of the current source, that is, the magnitude of the output current can be adjusted, thereby adjusting the magnitude of the output bias voltage.
[0062] In some embodiments, the connection relationship of the DC equivalent circuit of the amplifier detection circuit 14 is the same as that of the amplifier circuit 15, and the connection relationship of each component in the amplifier detection circuit 14 is the same as that of each component in the DC equivalent circuit of the amplifier circuit 15. That is to say, after the amplifier circuit 15 removes the RF part such as the capacitor and the inductor, the connection relationship of each component is the same as that of the amplifier detection circuit 14. Because the amplifier detection circuit 14 does not include the RF part such as the capacitor and the inductor, the amplifier detection circuit 14 has a smaller area than the amplifier circuit 15, which can save the chip area while ensuring the calibration accuracy. In some other embodiments, the amplifier detection circuit 14 and the amplifier circuit 15 have the same circuit structure.
[0063] In order to achieve a mutual matching effect and avoid errors introduced by mismatch, the transistors of the bias detection circuit 12, the bias circuit 13, the amplifier detection circuit 14 and the amplifier circuit 15 are located in the same chip and as close to each other as possible on the circuit layout.
[0064] In some embodiments, the transistor parameters of the amplifier detection circuit 14 and the amplifier circuit 15 are the same, and the transistor parameters of the bias detection circuit 12 and the bias circuit 13 are the same, so that when the first bias voltage and the second bias voltage of the amplifier detection circuit are the same, the DC current output by the amplifier circuit is the same as the DC current output by the amplifier detection circuit, and when the first control signal is the same as the second control signal, the first bias voltage is the same as the third bias voltage, so the bias voltage (current) parameters tested on the amplifier detection circuit 14 and the bias detection circuit 12 can be directly applied to the amplifier circuit 15 and the bias circuit 13. Among them, the transistor parameters include the gate length and the total gate width of the transistor. The following is an example in which the transistor parameters of the amplifier detection circuit 14 and the amplifier circuit 15 are the same, and the transistor parameters of the bias detection circuit 12 and the bias circuit 13 are the same.
[0065] like Figure 2 As shown, the first port P1 is connected to the bias detection circuit 12 for outputting the third bias voltage; the second port P2 is connected to the amplifier detection circuit 14 for outputting the DC output current output by the amplifier detection circuit 14. The setting of the first port P1 and the second port P2 can conveniently detect the signals of the amplifier detection circuit 14 and the bias detection circuit 12, without the need to detect the bias circuit 13 and the amplifier circuit 15, thereby avoiding affecting the working performance of the bias circuit 13 and the amplifier circuit 15. In some embodiments, the amplifier chip may further include other ports, such as a port for providing a first control signal to the bias circuit 13, a port for providing a working power supply to the amplifier detection circuit 14, etc. In some embodiments, the test machine 11 provides working power supply, a first control signal, a second control signal, etc. to the amplifier chip, and detects the third bias voltage Vb3 and the DC output current from the amplifier chip, so as to automate the calibration process. In other embodiments, the working power supply may also be provided by other power supply devices.
[0066] In some embodiments, Figure 2As shown, in order to obtain more accurate calibration, a digital-to-analog conversion circuit 16 can also be provided, connected to the amplifier detection circuit 14, and based on the digital control signal, output the second bias voltage Vb2 to the amplifier detection circuit 14, and the digital control signal is used to control the magnitude of the second bias voltage Vb2. The digital-to-analog conversion circuit 16 can be provided in the amplifier chip to conveniently and accurately provide the second bias voltage Vb2 to the amplifier detection circuit 14; the digital-to-analog conversion circuit can also be provided in the test machine 11, which can save the area of the amplifier chip.
[0067] The accuracy of the digital-to-analog conversion circuit 16 is higher than that of the bias detection circuit 12. The digital-to-analog conversion circuit 16 can output a second bias voltage Vb2 with higher output accuracy. A bias voltage-output current relationship curve with higher accuracy can be drawn based on the second bias voltage Vb2 with higher accuracy, so that a more accurate transconductance can be calculated based on the bias voltage-output current relationship curve with higher accuracy. The digital-to-analog conversion circuit 16 can receive X different digital control signals and output X second bias voltages Vb2 with different sizes; the bias detection circuit 12 can receive Y different second control signals and output X third bias voltages Vb3 with different sizes, where X is greater than Y. For example, the digital-to-analog conversion circuit 16 of this embodiment is an 8-bit high-precision digital-to-analog conversion circuit, the bias detection circuit 12 is a 4-bit digital-to-analog conversion circuit, the digital-to-analog conversion circuit 16 can provide 256 third bias voltages Vb3, and the bias detection circuit 12 can provide 16 second bias voltages Vb2, so the digital-to-analog conversion circuit 16 can provide a second bias voltage Vb2 with higher accuracy. The output of the digital-to-analog conversion circuit is connected to the amplifier detection circuit 14 to provide a second bias voltage Vb2 for the transistor therein. The digital-to-analog conversion circuit 16 can divide the second bias voltage Vb2 into 256 levels, thereby obtaining 256 sets of test data (including the second bias voltage Vb2 and the corresponding DC output current). If more test data is needed, the digital-to-analog conversion circuit 16 can also use a 16-bit high-precision digital-to-analog conversion circuit to obtain a higher-precision calibration. During calibration, the test machine 11 outputs a digital control signal to the digital-to-analog conversion circuit 16, and the digital control signal is used to control the digital-to-analog conversion circuit 16 to output the second bias voltage Vb2, and output the second bias voltage Vb2 to the amplifier detection circuit 14. The digital control signal is an 8-bit signal (matching the digital-to-analog conversion circuit). The test machine 11 changes the digital control signal from 000000 to 00000001, ..., 11111111. If the working voltage of the digital-to-analog conversion circuit 16 is 1.2V, the second bias voltage Vb2 changes from 0V to 4.6875mV, 9.375mV, ..., 1.2V. The second bias voltage Vb2 is sequentially input to the input end (e.g., the gate of the transistor) of the amplifier detection circuit 14, and the test machine 11 detects its DC output current Iout accordingly, thereby obtaining 256 sets of Vb2-Iout data.
[0068] Further, based on the 256 sets of data, a bias voltage-output current relationship curve can be fitted. Then, based on the bias voltage-output current relationship curve, a derivative is further taken to obtain a fitting relationship curve between transconductance and the second bias voltage, so that under a given target transconductance, the input second bias voltage Vb2 can be determined accordingly. In some embodiments, the steps of obtaining the bias voltage-output current relationship curve and the fitting relationship curve can be completed by a dedicated computing device. In a further embodiment, the computing device can be integrated in the test machine 11 to achieve test automation.
[0069] The target transconductance is a theoretical value set to make the amplifier gain meet the consistency requirement, that is, the transconductance value that each amplifier circuit is expected to achieve after calibration. As mentioned above, when the consistency of the transconductance of each amplifier circuit is good, the gain consistency of the amplifier circuit can also meet the design requirements. Therefore, the set target transconductance is used as the measurement standard during calibration.
[0070] Figure 3 A comparison diagram of the transconductance and bias-current curve of the amplifier detection circuit is shown. The upper curve is the response curve of the input voltage and the output current, wherein the horizontal axis is the input voltage and the vertical axis is the output current, and the lower curve is the corresponding curve of the input voltage and the transconductance, wherein the horizontal axis is the input voltage and the vertical axis is the transconductance. According to the figure, if the predetermined target transconductance is gmt, the target bias voltage can be correspondingly determined as Vbt in the fitting relationship curve of the transconductance and the second bias voltage below, and the bias current of the amplifier detection circuit 14 can be correspondingly determined as Ibt in the bias voltage-output current relationship curve above. Among them, the target transconductance is a set theoretical value, and when the transconductance of the amplifier circuit is the target transconductance, the gain of the amplifier circuit meets the design requirements.
[0071] On the other hand, a second control signal is output to the bias detection circuit 12. In some embodiments, the second control signal is a 4-bit signal, which is a control word used to set the bias voltage / current. The second control signal traverses from 0000 to 1111, and the bias detection circuit 12 generates 16 third bias voltages Vb3. The range of the third bias voltage Vb3 is small. When the designed circuit works normally, the third bias voltage Vb3 varies within a certain range centered on a certain voltage. The appropriate range of variation can be selected according to the needs. For example, the range of the third bias voltage Vb3 can be 300mV~500mV. The test machine 11 can be used to detect a series of third bias voltages Vb3 of the bias detection circuit 12.
[0072] As mentioned above, according to Figure 3As shown, given a predetermined target transconductance of gmt, the target bias voltage to be set can be determined to be Vbt from the fitting relationship curve between the transconductance and the second bias voltage (which can be understood as the input voltage), and a voltage equal to or closest to the target bias voltage Vbt and a corresponding second control signal can be selected from the third bias voltage Vb3. The selected second control signal (i.e., the target control signal) is used as the first control signal input to the bias circuit 13 (for example, so that the first control signal is equal to the target control signal), so that the first bias voltage Vb1 output by the bias circuit 13 is equal to or close to the target bias voltage Vbt, which is equivalent to making the transconductance of the amplifier circuit 15 equal to or close to the predetermined transconductance gmt. Among them, the first control signal and the second control signal can be control words for controlling the output of the bias detection circuit 12. In some embodiments, the process of determining the target bias voltage and determining the target control signal can be completed by a dedicated computing device. In a further embodiment, the test machine 11 can integrate the computing device to achieve test automation.
[0073] In the above embodiment, the first control signal is an 8-bit signal, and the second control signal is a 4-bit signal. Obviously, the accuracy of the first control signal is greater than that of the second control signal, and accordingly, the accuracy of the second bias voltage Vb2 (4.6875 mV increase or decrease each time) is also greater than the accuracy of the third bias voltage Vb3. Those skilled in the art can understand that the difference in accuracy depends on the number of bits of the control signal. The current technical status is that the number of bits of the second control signal is relatively low, so a digital-to-analog conversion circuit 16 with a large number of bits is set outside the chip to obtain enough data points to fit the bias voltage-output current relationship curve.
[0074] The above is based on Figure 2The embodiment of the present invention fits the bias voltage-output current relationship curve by scanning the input DC voltage of the amplifier detection circuit 14 on the one hand, and measures the third bias voltage that the bias detection circuit 12 can output by scanning the second control signal of the bias detection circuit 12 on the other hand, and then determines the first control signal with the predetermined target transconductance gmt as the link, and can more accurately set the first control signal for the bias circuit 13, so that the transconductance of the amplifier circuit 15 approaches the predetermined target transconductance gmt. The bias voltage-output current relationship curve obtained by fitting can fully reflect the corresponding relationship between all bias voltages and the output DC current, so that the corresponding relationship between the target transconductance gmt and the bias voltage can be accurately reflected, that is, the target bias voltage can be accurately obtained, which helps to further improve the accuracy of calibration. For the transconductance of different amplifier circuits 15 in the same chip or amplifier circuits 15 in different chips, it is relatively easy to calibrate the transconductance within a limited range, that is, the consistency of the transconductance of the amplifier circuit 15 can be better, so that the consistency of the gain of the amplifier circuit can also reach a better level. The above embodiments can reduce the impact of process deviation on chip consistency and improve the yield of chip mass production.
[0075] Figure 4 Shows a basis Figure 2 The specific circuit diagram of the block diagram shown in the figure. Figure 2 One-to-one correspondence, no further details are given here. The amplifier detection circuit 14 includes a transistor M1, whose source is grounded, whose drain is connected to the working power supply, and whose gate is connected to the second bias voltage Vb2 from the digital-to-analog conversion circuit 16. The amplifier circuit 15 includes a transistor M2, a first capacitor C1, a first resistor R1, a first inductor L1, and a second inductor L2. One end of the first capacitor C1 is connected to the input end, and the other end is connected to the gate of the transistor M2. The source of the transistor M2 is grounded after passing through the inductor L2, and the drain of the transistor M2 is connected to the working power supply VDD after passing through the inductor L1. The drain of the transistor M2 can be connected to the output end through the second capacitor C2. One end of the first resistor R1 is connected to the first bias voltage Vb1 from the bias circuit 13, and the other end is connected to the gate of the transistor M2. The bias detection circuit 12 includes a transistor M3, whose gate and drain are short-circuited and connected to a current source, and whose source is grounded. The bias circuit 13 includes a transistor M4 and a switch K1. The source of the transistor M4 is grounded, one end of the switch K1 is grounded, and the other end is connected to the current source. Figure 4The transistors shown can all be MOS tubes, wherein the transistors M1 and M2 have the same physical parameters and the same connection relationship, the source of M1 and M2 is used for grounding, the drain of M1 and M2 is used for connecting to the working power supply / VDD, and the physical parameters of M3 and M4 are the same and the connection relationship is the same. For example, the source of M3 and M4 is used for grounding, the gate and drain of M3 and M4 are short-circuited, and connected to a current source. And on the circuit layout, M1, M2, M3, and M4 are close to each other to achieve matching. The bias detection circuit 12 and the bias circuit 13 both include a current source, which is connected to the gate and drain of M3 and M4. The current source generates a current that can be used to generate an output bias voltage. Among them, the current source of the bias detection circuit 12 and the bias circuit 13 can receive a first control signal and a second control signal, that is, the magnitude of the current output by the current source can be adjusted, thereby adjusting the magnitude of the output third bias voltage and the first bias voltage.
[0076] In some embodiments, in order to reduce the area of the amplifier detection circuit 14 used only for testing, the total size of the amplifier detection circuit 14 and the amplifier circuit 15 (the total size is the sum of the sizes of the transistors in the circuit) can be proportional, for example, the width-to-length ratio of the transistors in the amplifier detection circuit 14 and the amplifier circuit 15 is proportional, and the width-to-length ratio of the transistors in the amplifier detection circuit 14 is smaller than the width-to-length ratio of the transistors in the amplifier circuit 15. In this way, compared with the one-to-one replica amplifier circuit 15, the amplifier detection circuit 14 with a smaller total size can achieve the purpose of detecting voltage / current and reduce the area occupied in the chip, which is conducive to reducing the manufacturing cost of the chip. Similarly, the total size of the bias detection circuit 12 and the bias circuit 13 can be the same or different, for example, the width-to-length ratio of the transistors in the bias detection circuit 12 and the bias circuit 13 is the same or different.
[0077] When the total size of the amplifier detection circuit 14 is proportional to that of the amplifier circuit 15, the corresponding output current generated by the same bias voltage input will also be proportional. Therefore, the current coefficient needs to be taken into account when calculating the transconductance and establishing the bias. Taking the MOS tube as an example, its current formula is , where I d is the output current, k n is a constant related to the process, W is the gate width, L is the gate length, V gs is the gate-source voltage, V t is the threshold voltage, λ is the channel length modulation coefficient, V dsis the drain-source voltage. If the transistor parameters of the amplifier detection circuit 14 are exactly the same as those of the transistors in the amplifier circuit 15, that is, W1=W2, L1=L2, where W1 is the gate width of the transistors of the amplifier detection circuit 14, W2 is the gate width of the transistors of the amplifier circuit 15, L1 is the gate length of the transistors of the amplifier detection circuit 14, and L2 is the gate length of the transistors of the amplifier circuit 15, then the DC current (i.e., DC output current) of the amplifier detection circuit 14 and the amplifier circuit 15 are the same. If the total size of the amplifier transistors of the amplifier detection circuit 14 is n times the transistor parameters in the amplifier circuit 15, that is, W1=nW2, L1=L2, then the current relationship of the output current will also be n times, that is, Id1=nId2, where Id1 is the DC output current of the amplifier detection circuit 14, and Id2 is the DC output current of the amplifier circuit 15. Finally, the current converted to the amplifier circuit 15 needs to be divided by n, and the target transconductance needs to be divided by n. For example, assuming that the width-to-length ratio (W / L) of the transistors in the amplifier detection circuit 14 is 1, and the width-to-length ratio of the transistors in the amplifier circuit 15 is 2, if the target transconductance of the amplifier circuit 15 is z, then the target transconductance of the amplifier detection circuit 14 needs to be converted to z / 2, and in the fitting relationship curve between the transconductance and the second bias voltage, the second bias voltage corresponding to the transconductance of z / 2 is found as the target bias voltage.
[0078] Figure 5 is another block diagram of an amplifier chip according to some embodiments of the present application. Figure 2 Similarly, there is also a set of amplifier circuit 15 and bias circuit 13 and a one-to-one corresponding amplifier detection circuit 14 and bias detection circuit 12. The connection relationship of the DC equivalent circuit of the amplifier detection circuit 14 and the amplifier circuit 15 is the same. For the description of the same parts, please refer to the relevant Figure 2 The difference is that Figure 5 The block diagram shown does not include a high-precision digital-to-analog conversion circuit. The bias detection circuit 12 is connected to the amplifier detection circuit 14 . The third bias voltage Vb3 output by the bias detection circuit 12 serves as the second bias voltage Vb2 input by the amplifier detection circuit 14 .
[0079] During calibration, the second control signal is scanned, and the bias detection circuit 12 outputs a series of third bias voltages Vb3 accordingly. The third bias voltage Vb3 is used as the DC input of the amplifier detection circuit 14, so that the output end of the amplifier detection circuit 14 can detect the current Iout. A series of third bias voltages Vb3 and the DC output current Iout of the amplifier and their corresponding relationship are detected and recorded respectively. Based on the third bias voltage Vb3 and the corresponding DC output current Iout, the transconductance that can be set by the amplifier detection circuit 14 under the control of the bias detection circuit 12 is calculated, and a comparison table (correspondence relationship) between the transconductance and the second control signal (control word) is established. When a predetermined target transconductance gmt is given, the transconductance closest to the target transconductance gmt is found from the comparison table, and the second control signal is determined according to the corresponding relationship, so that the second control signal is used as the first control signal of the bias circuit 13 and burned into the bias circuit 13, thereby realizing the calibration of the amplifier circuit 15. In some embodiments, the bias circuit 13 includes a memory that can store control signals. The second control signal can be used as the first control signal of the bias circuit 13 and burned into the memory of the bias circuit 13, thereby achieving calibration. Figure 2 Similarly, in some embodiments, the test machine 11 provides the working power supply, the first control signal, the second control signal, etc. to the amplifier chip, and detects the third bias voltage Vb3 and the DC output current from the amplifier chip, so that the calibration process can be automated. In some embodiments, the process of establishing the comparison table and determining the second control signal can be completed by a dedicated computing device. In further embodiments, the test machine 11 can integrate the computing device to achieve test automation.
[0080] Figure 6 1 is a flow chart of a bias calibration method for an amplifier chip according to some embodiments of the present application. Figure 2 The block diagram of the calibration amplifier chip shown in FIG. 1 is used as an example to illustrate the offset calibration method. Some details have been given in the relevant Figure 2 As explained in the description of Figure 2 As described above, in some embodiments, the following steps may be performed by the test machine 11. In other embodiments, each of the following steps may be performed by an independent module or device.
[0081] The following is a simple description of all the steps based on the flowchart, and the repeated content will not be repeated:
[0082] S61, the bias detection circuit 12 outputs a series of third bias voltages in sequence based on a series of second control signals, and the second control signal is used to adjust the magnitude of the third bias voltage. In some embodiments, the second control signal can be provided by the test machine 11, and the test machine 11 can record the third bias voltage Vb3 corresponding to each second control signal.
[0083] S62, the amplifier detection circuit 14 receives a series of second bias voltages Vb2 and outputs a series of DC output currents. In some embodiments, the test machine 11 can record the DC output current corresponding to each second bias voltage Vb2.
[0084] exist Figure 2 In the amplifier chip shown, the second bias voltage Vb2 is provided by the analog-to-digital conversion circuit 16. The test machine 11 can provide a digital control signal to the analog-to-digital conversion circuit 16, and the analog-to-digital conversion circuit 16 provides the second bias voltage Vb2 based on the digital control signal.
[0085] S63, based on a series of DC output currents and the second bias voltage, determine the transconductance of the amplifier detection circuit 14. In some embodiments, the test machine 11 includes a calculation module for calculating the transconductance of the amplifier detection circuit 14. Step S63 may specifically include:
[0086] S631, based on the DC output current and the second bias voltage, obtain a bias voltage-output current relationship curve, such as Figure 3 In the above picture;
[0087] S632, deriving the bias voltage-output current relationship curve to obtain the transconductance of the amplifier detection circuit 14. In addition, the first relationship between the second bias voltage and the transconductance of the amplifier detection circuit 14 can also be obtained, that is, the fitting relationship curve between the transconductance and the second bias voltage, for example Figure 3 See the figure below.
[0088] S64, based on the fitting relationship curve between transconductance and the second bias voltage, determine the target bias voltage Vbt, the target bias voltage is the second bias voltage corresponding to the target transconductance, the target transconductance is the set theoretical value, and when the transconductance of the amplifier circuit is the target transconductance, the gain of the amplifier circuit meets the design requirements. Because the second bias voltage in the bias voltage-output current relationship curve is some discrete values, the transconductance corresponding to the second bias voltage is also some discrete values, and the transconductance corresponding to the second bias voltage may not include the target transconductance. In some embodiments, step S63 may specifically include: based on the fitting relationship curve between transconductance and the second bias voltage, select the transconductance with the smallest difference from the target transconductance, and use the second bias voltage corresponding to the transconductance with the smallest difference as the target bias voltage. That is, the transconductance corresponding to the second bias voltage is selected with the smallest difference from the target transconductance, and the selected second bias voltage is used as the target bias voltage Vbt. In some embodiments, when the transconductance corresponding to the second bias voltage includes the target transconductance, the difference is 0.
[0089] In some embodiments, when the transistor sizes of the amplifier detection circuit 14 and the amplifier circuit 15 are consistent, and based on the first relationship and the target transconductance, the amplifier detection circuit transconductance with the smallest difference from the target transconductance is selected, and the second bias voltage corresponding to the transconductance of the amplifier detection circuit 14 with the smallest difference is used as the target bias voltage; when the transistor sizes of the amplifier detection circuit 14 and the amplifier circuit 15 are proportional, the target transconductance is converted according to the proportional relationship, and the second bias voltage corresponding to the transconductance of the amplifier detection circuit with the smallest difference from the converted target transconductance is used as the target bias voltage.
[0090] S65: Determine a target control signal based on the second control signal and the target bias voltage, where the target control signal is the second control signal corresponding to the target bias voltage. Figure 2 In the amplifier chip shown, the second bias voltage Vb2 is provided by the analog-to-digital conversion circuit 16. At this time, step S65 may specifically include:
[0091] S651, based on the digital control signal and the third bias voltage, obtaining a second relationship between the digital control signal and the third bias voltage;
[0092] S652, based on the second relationship and the target bias voltage, select the third bias voltage with the smallest difference from the target bias voltage, and use the second control signal corresponding to the third bias voltage with the smallest difference as the target control signal. Because the second bias voltage Vb2 is provided by the analog-to-digital conversion circuit 16, and the third bias voltage Vb3 is provided by the bias detection circuit 12, the second bias voltage Vb2 and the third bias voltage Vb3 are both discrete values, and the second bias voltage Vb2 and the third bias voltage Vb3 may not completely correspond. Therefore, in some embodiments, the second control signal corresponding to the third bias voltage with the smallest difference is used as the target control signal. When the value of the second bias voltage Vb2 completely includes the value of the third bias voltage Vb3, the difference is 0.
[0093] S66, using the target control signal as a first control signal input to the bias circuit, the first control signal being used to adjust the magnitude of the first bias voltage. Specifically, the target control signal can be used as the first control signal of the bias circuit, and the first control signal can be burned into a memory of the bias circuit 13 (e.g., a memory corresponding to the current source of the bias circuit 13), so that the bias circuit 13 outputs a corresponding first bias voltage Vb1, under which the transconductance of the amplifier circuit 15 is equal to or substantially equal to the target transconductance, and the gain of the amplifier circuit 15 is calibrated.
[0094] Above Figure 2 The amplifier chip shown illustrates the bias calibration method, and a person skilled in the art will understand that Figure 5 The amplifier chip shown can also be calibrated using the offset calibration method of steps S61-S66. Figure 5 In the step S61-S66, the third bias voltage Vb3 provided by the bias detection circuit 12 is used as the second bias voltage Vb2, and the second bias voltage Vb2 in steps S61-S66 is the third bias voltage Vb3. In step S65, the second bias voltage Vb2 corresponds to the third bias voltage Vb3 one by one, so step S65 may include: according to the third bias voltage corresponding to each second control signal, determining the second control signal when the third bias voltage is equal to the target bias voltage as the target control signal. For example, when a series of second control signals are sequentially input into the bias detection circuit, the third bias voltage corresponding to each first control signal is recorded, and the DC output current corresponding to each first control signal is recorded; according to the third bias voltage corresponding to each second control signal, the second control signal when the third bias voltage is the target bias voltage is selected as the target control signal.
[0095] It should be noted that a large number of specific details are provided in the specification provided by the application. However, it is understood that the embodiments of the application can be implemented without some or all of these specific details. In some examples, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this specification.
[0096] Similarly, in order to streamline the present application and aid in understanding one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims, the inventive aspects lie in less than all the features of the single embodiment disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present application.
[0097] It will be appreciated by those skilled in the art that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0098] In addition, it should be understood by those skilled in the art that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims, any one of the claimed embodiments can be used in any combination.
Claims
1. A bias calibration method for an amplifier chip, It is characterized in that Used to calibrate the bias of different amplifier chips respectively; The amplifier chip comprises: an amplifier circuit including a first transistor for amplification; a bias circuit, based on a first control signal, providing a first bias voltage to the first transistor of the amplifier circuit, the bias circuit comprising a second transistor; A bias detection circuit, controlled by a second control signal, outputs a third bias voltage, and includes a fourth transistor, wherein a DC equivalent circuit of the bias detection circuit has the same connection relationship as a DC equivalent circuit of the bias circuit; an amplifier detection circuit, comprising a third transistor, wherein a DC equivalent circuit of the amplifier detection circuit is the same as a DC equivalent circuit of the amplifier circuit, the third transistor receives a second bias voltage output by a digital-to-analog conversion circuit, and outputs a series of DC output currents, and the accuracy of the digital-to-analog conversion circuit is greater than that of the bias detection circuit; The calibration method comprises the following steps: A series of digital control signals are inputted into a digital-to-analog conversion circuit, and the digital-to-analog conversion circuit provides a series of the second bias voltages for the amplifier detection circuit based on the series of digital control signals; The bias detection circuit sequentially outputs a series of the third bias voltages based on a series of the second control signals, wherein the second control signal is used to adjust the magnitude of the third bias voltage; The third transistor of the amplifier detection circuit receives a series of the second bias voltages and outputs a series of the DC output currents; Calculating a transconductance of the amplifier detection circuit based on a series of the DC output current and the second bias voltage; Determining a target bias voltage based on a fitting relationship curve between the transconductance and the second bias voltage, wherein the target bias voltage is the second bias voltage corresponding to the target transconductance, the target transconductance is a set theoretical value, and when the transconductance of the amplifier circuit is the target transconductance, the gain of the amplifier circuit meets the design requirements; Based on the corresponding relationship between the second control signal and the third bias voltage, and the target bias voltage, determining a target control signal, wherein the target control signal is the second control signal corresponding to the target bias voltage; The target control signal is used as the first control signal input to the bias circuit, and the first control signal is used to adjust the magnitude of the first bias voltage.
2. The calibration method according to claim 1, It is characterized in that The step of determining the transconductance of the amplifier detection circuit comprises: Based on the DC output current and the second bias voltage, obtaining a bias voltage-output current relationship curve; The bias voltage-output current relationship curve is derived to obtain the transconductance.
3. The calibration method according to claim 1, It is characterized in that The steps to determine the target bias voltage include: Based on the fitting relationship curve between the transconductance and the second bias voltage, the transconductance with the smallest difference from the target transconductance is selected, and the second bias voltage corresponding to the transconductance with the smallest difference is used as the target bias voltage.
4. The calibration method according to claim 1, It is characterized in that The step of determining the target control signal comprises: The third bias voltage having the smallest difference with the target bias voltage is determined, and the second control signal corresponding to the third bias voltage having the smallest difference is used as the target control signal.
5. The calibration method according to claim 1, It is characterized in that The sizes of the first transistor and the third transistor are in a first proportional relationship; The step of determining the target bias voltage includes: converting the target transconductance according to the first proportional relationship, and the target bias voltage is the second bias voltage corresponding to the converted target transconductance.
6. The calibration method according to claim 1, It is characterized in that The amplifier detection circuit has the same connection relationship as the DC equivalent circuit of the amplifier circuit.
7. A computer program product, It is characterized in that The computer program product stores a computer program, and when the computer program is executed by a computer, the computer is caused to execute the method according to any one of claims 1 to 6.
