Automatic tooling calibration method, device, electronic equipment and storage medium

By adjusting the DC blocking capacitor value using a reference signal with a frequency different from the normal operating frequency in the wireless communication circuit, chip calibration under different PVT scenarios is achieved, solving the problems of high demand and cost of external instruments, and realizing real-time detection and cost reduction.

CN117723948BActive Publication Date: 2024-11-26CLOURNEY SEMICONDUCTOR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311516894.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-14
Publication Date
2024-11-26
Estimated Expiration
2043-11-14

AI Technical Summary

Technical Problem

In existing wireless communication circuits, precise reference signals with the same operating frequency are required for chip performance testing under different PVT scenarios, resulting in a large demand for external instruments, long production cycles, and high costs.

Method used

By acquiring a reference signal with a frequency different from the chip's normal operating frequency, the input DC blocking capacitor value of the chip's internal circuitry is adjusted to ensure a consistent response to PVT fluctuations. Calibration is then performed using the chip's internal module, eliminating the need for external instruments.

Benefits of technology

This reduces the need for different types and quantities of external instruments, enables real-time performance monitoring, and reduces production cycles and testing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117723948B_ABST
    Figure CN117723948B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention relates to the field of automatic testing technology, and discloses an automatic tool calibration method, device, electronic device and storage medium. In the present invention, a signal with a frequency different from the normal working frequency of the circuit is obtained as a reference signal; the capacitance value of the input DC blocking capacitor in the internal circuit of the chip to be calibrated is adjusted according to the frequency of the reference signal so that the internal circuit of the chip to be calibrated keeps consistent with the response of the reference signal and the working signal when the PVT fluctuates, and the internal circuit of the chip to be calibrated is calibrated according to the response of the internal circuit of the chip to be calibrated to the reference signal; the signal with a frequency different from the normal working frequency of the circuit is used as a reference signal, so that the demand for the type and quantity of external instruments during tool test calibration can be reduced, and the module can be detected in real time at any time, so that the module no longer needs tool test calibration, thereby reducing the overall production cycle of the product and the cost of tool test on the product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of automatic testing technology, and in particular to an automatic tool calibration method, device, electronic equipment and storage medium. Background Art

[0002] Because the operating frequencies of different modules in the wireless communication circuit are different, and the circuit works differently under different P (process angle) V (power supply voltage) T (operating temperature), in order for the chip to meet the design index requirements under different PVT, it is necessary to perform performance testing on different chips in different states. That is, it is necessary to provide accurate reference signals with the same operating frequency in different PVT scenarios as chip input for performance testing during tooling testing, or to detect the performance indicators of chip output signals in different PVT scenarios in real time.

[0003] The inventors have discovered that there are at least the following problems in the related art: whether using external instruments to provide accurate reference signals with the same operating frequency in different PVT scenarios, or using instruments to detect the performance indicators of chip output signals in different PVT scenarios, signals with the same frequency are provided. These methods have high demands on the types and quantities of external instruments, the overall production cycle of the products is long, and the cost of tooling testing the products is high. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide an automatic tool calibration method, device, electronic device and storage medium, which reduces the demand for the type and quantity of external instruments during tool testing and calibration, and performs real-time performance testing on the module, thereby reducing the overall production cycle of the product and the cost of tool testing the product.

[0005] To solve the above technical problems, an embodiment of the present invention provides an automatic tooling calibration method, comprising: obtaining a reference signal and obtaining a response of the internal circuit of the chip to be calibrated to the reference signal; wherein the frequency of the reference signal is different from the frequency of the working signal input when the internal circuit of the chip to be calibrated works normally; adjusting the capacitance value of the input DC blocking capacitor in the internal circuit of the chip to be calibrated according to the frequency of the reference signal, so that the internal circuit of the chip to be calibrated maintains consistency in response to the reference signal and the working signal when the PVT fluctuates; and calibrating the internal circuit of the chip to be calibrated according to the response of the internal circuit of the chip to be calibrated to the reference signal.

[0006] An embodiment of the present invention further provides an automatic tooling calibration device, comprising: a signal response module, used to obtain a reference signal and obtain the response of the internal circuit of the chip to be calibrated to the reference signal; wherein the frequency of the reference signal is different from the frequency of the working signal input when the internal circuit of the chip to be calibrated works normally; a capacitance adjustment module, used to adjust the capacitance value of the input DC blocking capacitor in the internal circuit of the chip to be calibrated according to the frequency of the reference signal, so that the internal circuit of the chip to be calibrated maintains consistency in response to the reference signal and the working signal when the PVT fluctuates; an automatic calibration module, used to calibrate the internal circuit of the chip to be calibrated according to the response of the internal circuit of the chip to be calibrated to the reference signal.

[0007] An embodiment of the present invention also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned automatic tooling calibration method.

[0008] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above-mentioned automatic tooling calibration method is implemented.

[0009] In an embodiment of the present invention, a reference signal is obtained and the response of the internal circuit of the chip to be calibrated to the reference signal is obtained; wherein the frequency of the reference signal is different from the frequency of the working signal input when the internal circuit of the chip to be calibrated works normally; the capacitance value of the input DC blocking capacitor in the internal circuit of the chip to be calibrated is adjusted according to the frequency of the reference signal, so that the internal circuit of the chip to be calibrated keeps consistent in response to the reference signal and the working signal when the PVT fluctuates; the internal circuit of the chip to be calibrated is calibrated according to the response of the internal circuit of the chip to be calibrated to the reference signal. An external signal source with a frequency different from the normal working frequency of the circuit or a signal with a frequency different from the normal working frequency of the circuit emitted by a certain circuit inside the chip can be used as a reference signal of the module inside the chip, so that the demand for the type and quantity of external instruments during tooling test and calibration can be reduced, and even the performance test of the module can be performed at any time, so as to achieve real-time detection, so that the module no longer needs tooling test and calibration, thereby reducing the overall production cycle of the product and the cost of tooling test of the product.

[0010] In addition, the obtaining of the reference signal includes: obtaining the reference signal from a transmission link in the internal circuit of the chip to be calibrated. Obtaining the reference signal from a TX link or a local oscillator circuit in the transmission link in the internal circuit of the chip to be calibrated can completely eliminate the need for adding external equipment, further reducing the cost of tooling testing of the product.

[0011] In addition, the obtaining of the reference signal from the transmission link in the internal circuit of the chip to be calibrated includes: multiplexing the digital-to-analog converter in the transmission link in the internal circuit of the chip to be calibrated to the radio frequency circuit in the internal circuit of the chip to be calibrated to obtain the reference signal. Since the high-frequency signal itself has large fluctuations and poor accuracy, and the high-frequency signal is more sensitive to the layout environment, the error introduced by the loopback path at high frequency is also greater. Multiplexing the digital-to-analog converter in the transmission link in the internal circuit of the chip to be calibrated to the radio frequency circuit in the internal circuit of the chip to be calibrated to obtain the reference signal can improve accuracy.

[0012] In addition, before obtaining the reference signal, the capacitance value of the parasitic capacitance in the internal circuit of the chip to be calibrated is reduced, so that the response consistency between the reference signal and the working signal can be further improved.

[0013] In addition, calibrating the internal circuit of the chip to be calibrated according to the response of the internal circuit of the chip to be calibrated to the reference signal includes: performing power detection and data acquisition on the reference signal to obtain a set of code values ​​corresponding to the reference signal, using the code values ​​corresponding to the reference signal as the response of the internal circuit of the chip to be calibrated to the reference signal, and performing calculations according to the code values ​​corresponding to the reference signal and a two-point calculation formula to calibrate the internal circuit of the chip to be calibrated.

[0014] In addition, the reference signal is a low-frequency signal. The low-frequency signal has a relatively smaller fluctuation with PVT and is less sensitive to the loopback path, and the signal accuracy provided is greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0016] Figure 1 is a flow chart of an automatic tooling calibration method provided according to an embodiment of the present invention;

[0017] Figure 2 is a schematic diagram of the structure of a chip amplifier circuit provided according to an embodiment of the present invention;

[0018] Figure 3 is a schematic diagram of an equivalent circuit structure with parasitic capacitance provided according to an embodiment of the present invention;

[0019] Figure 4 is a schematic diagram of a module calibration structure provided according to an embodiment of the present invention;

[0020] Figure 5 is a schematic diagram of a signal response detection structure provided according to an embodiment of the present invention;

[0021] Figure 6 is a schematic diagram of circuit gain fluctuation provided according to an embodiment of the present invention;

[0022] Figure 7 is a schematic diagram of circuit deviation fluctuation provided according to an embodiment of the present invention;

[0023] Figure 8 is a schematic diagram of a first fluctuation situation in which gain and deviation act together according to an embodiment of the present invention;

[0024] Fig. 9 is a schematic diagram of a second fluctuation situation in which gain and deviation act together according to an embodiment of the present invention;

[0025] Fig.10 is a schematic diagram of obtaining two output value samplings of a reference signal provided according to an embodiment of the present invention;

[0026] Fig.11 is a schematic diagram of a situation after the effect of deviation fluctuation is eliminated according to an embodiment of the present invention;

[0027] Fig.12 is a schematic diagram of a situation where the effects of deviation and gain fluctuation are eliminated together according to an embodiment of the present invention;

[0028] Fig.13 is a structural schematic diagram of an automatic tooling calibration device according to another embodiment of the present invention;

[0029] Fig.14 It is a schematic structural diagram of an electronic device according to another embodiment of the present invention. DETAILED DESCRIPTION

[0030] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.

[0031] An embodiment of the present invention relates to an automatic tool calibration method, which can be applied to a receiving link module, which can be an electronic device such as a computer, a chip, or a computer. In this embodiment, a reference signal is obtained and the response of the internal circuit of the chip to be calibrated to the reference signal is obtained; wherein the frequency of the reference signal is different from the frequency of the working signal input when the internal circuit of the chip to be calibrated works normally; the capacitance value of the input DC blocking capacitor in the internal circuit of the chip to be calibrated is adjusted according to the frequency of the reference signal, so that the internal circuit of the chip to be calibrated keeps consistent with the response of the reference signal and the working signal when the PVT fluctuates; the internal circuit of the chip to be calibrated is calibrated according to the response of the internal circuit of the chip to be calibrated to the reference signal. An external signal source with a frequency different from the normal working frequency of the circuit or a signal with a frequency different from the normal working frequency of the circuit emitted by a certain circuit inside the chip can be used as a reference signal of the module inside the chip, so that the demand for the type and quantity of external instruments during tool test calibration can be reduced, and even the performance test of the module can be performed at any time, so as to achieve real-time detection, so that the module no longer needs tool test calibration, thereby reducing the overall production cycle of the product and the cost of tool test of the product. The implementation details of the automatic tooling calibration method of this embodiment are specifically described below. The following content is only the implementation details provided for easy understanding and is not necessary for implementing this solution.

[0032] like Figure 1 As shown, in step 101, the tool test control terminal obtains a reference signal and obtains a response of the internal circuit of the chip to be calibrated to the reference signal; the frequency of the reference signal is different from the frequency of the working signal input when the internal circuit of the chip to be calibrated works normally;

[0033] The reference signal here can come from an external signal source with a frequency different from the normal working frequency of the circuit, or it can be a signal from a certain circuit inside the chip with a frequency different from the normal working frequency of the circuit as the reference signal inside the chip. The reason why the signal with the same working frequency as the normal working frequency is not used as the reference signal is that in common communication systems, the internal circuits of the circuit that can output analog signals without external signal source instruments are limited, and the received fluctuations are greatly affected, so they are not suitable as reference signals.

[0034] In one example, whether it is an external signal source or an internal circuit, the reference signal provided is a low-frequency signal. This is because high-frequency signals are more affected by fluctuations than low-frequency signals, and their accuracy is relatively poor. In addition, high-frequency signals are more sensitive to the layout environment, and the loopback path introduces greater errors at high frequencies.

[0035] The method of providing signals to the chip through an external signal source will not be elaborated here. Next, the method of outputting analog signals without an external signal source instrument inside the chip will be discussed. The circuits inside the chip that can output analog signals without an external signal source instrument include the TX (transmitting link) link and the local oscillator circuit. In one example, the reference signal is obtained from the transmitting link in the internal circuit of the chip to be calibrated. This is because the signal output in the transmitting link is smaller than the signal output in the local oscillator circuit with PVT fluctuations, and is also less sensitive to the loopback path. The signal accuracy provided by the transmitting link is much higher than that of the local oscillator circuit. Furthermore, the digital-to-analog converter in the transmitting link in the internal circuit of the chip to be calibrated can be directly reused to the RF circuit in the internal circuit of the chip to be calibrated to obtain the reference signal. The TX DAC (digital-to-analog converter in the transmitting link) in the TX link is located at the front of the analog TX link, which is a low-frequency signal itself, and the output signal is smaller than the output point of other circuits in the TX link with PVT fluctuations, and is also less sensitive to the loopback path. In addition, there is no need to develop a separate circuit, the layout area is almost unchanged, and the cost itself is very low.

[0036] In step 102, the tooling test control terminal adjusts the capacitance value of the input DC blocking capacitor in the internal circuit of the chip to be calibrated according to the frequency of the reference signal, so that the internal circuit of the chip to be calibrated keeps consistent in response to the reference signal and the working signal when the PVT fluctuates. In addition to using adjustable capacitors, this step can also be adjusted manually, as long as the capacitance value of the adjusted input DC blocking capacitor meets the conditions, the internal circuit of the chip to be calibrated keeps consistent in response to the reference signal and the working signal when the PVT fluctuates.

[0037] by Figure 2 Taking the amplifier shown as an example, Figure 2V out is the voltage value of the output node, V in Input node voltage value, g m is the intrinsic transconductance of the MOS tube, R b is the bias resistor, V dd is, Zload is the load impedance, and Bias is the corresponding bias circuit. Figure 3 for Figure 2 The equivalent circuit diagram after adding parasitic capacitance is shown below. Figure 3 V out is the voltage value of the output node, V in Input node voltage value, g m is the intrinsic transconductance of the MOS tube, R L is the real part of the load impedance, C3 is the imaginary part of the negative resistance and the parasitic capacitance of the output node to the ground, R b is the bias resistor, R in , C1, C2 are parasitic resistance and capacitance, C4 is the input DC isolation capacitor, s is the expression of angular frequency in LaPlaas transform. I1, I2 are the current magnitudes in the directions marked in the figure, V x It is the voltage at the gate end of the MOS tube.

[0038] according to Figure 2 The equivalent circuit of Figure 3 The equivalent circuit in the figure, combined with the physics calculation formula in this field, shows that:

[0039]

[0040] It can be concluded that:

[0041]

[0042] Right now:

[0043]

[0044] Without considering Figure 3 In the case of the capacitor in (at lower frequencies), we can obtain:

[0045]

[0046] When the parasitic resistance R in When is 0, we can get:

[0047]

[0048]

[0049]

[0050] It can be noted that in the absence of parasitic parameters, the gain is independent of frequency and only depends on the transconductance and load impedance of the device itself. Then the circuit's response to low-frequency signals and high-frequency signals is completely consistent, and the response to PVT fluctuations is also consistent.

[0051] The above is a completely irrelevant Figure 3 However, C4 is not a parasitic capacitor and its value cannot be infinitely small. Therefore, when only considering capacitor C4, the calculation formula will be transformed into:

[0052]

[0053] Where j is the imaginary factor in complex form. When the parasitic resistance R in When it is 0, we can get:

[0054]

[0055] It can be seen that when considering the limited input capacitance value, the increase of f (operating frequency) in the denominator will lead to an increase in gain. For signals with different frequencies f, if you want to maintain the gain unchanged, you can only keep the product value of fC4 unchanged. So when using low-frequency signals as reference input signals for high-frequency circuits for calibration, you can use input capacitors of different sizes to ensure the same gain in the two operating modes. For PVT fluctuations, you only need to keep fC4 consistent at different frequencies under the same PVT condition. Then when the capacitance changes proportionally with PVT, fC4 will also change by the same value, so the circuit's response to PVT fluctuations at different frequencies is also consistent.

[0056] Similarly, the following will consider C1, C2, C3, R in various situations.

[0057] When only considering capacitor C3, the formula is:

[0058]

[0059] Where j is the imaginary factor in complex form; we can get:

[0060]

[0061] For signals with different frequencies f, if we want to keep the gain unchanged, in addition to keeping the value of fC4 unchanged, we must also make the value of C3 small enough so that the formula can be converted as follows:

[0062]

[0063] In the formula exist When the resistance and capacitance change due to PVT, the entire curve relative to frequency changes with R b , R L , C3, and C4 change, but their values ​​change differently at different frequencies, and the change is more obvious at low frequencies, which results in additional PVT errors when using low-frequency reference signals to calibrate high-frequency circuits compared to calibrating the same circuit with the same frequency signal provided by external instruments. If you want to improve the flatness at low frequencies, you need to increase R b R L C4, reduce C3, so using a larger C4 at low frequency can also make the slope of the curve lower at low frequency. At low frequency, the change value of PVT change is smaller, reducing the difference value of PVT change at different frequency points.

[0064] Considering only capacitor C2, the formula is:

[0065]

[0066] Right now:

[0067]

[0068] For signals with different frequencies f, if you want to keep the gain constant, in addition to keeping the value of fC4 constant, you must also make Keep it unchanged or make the value of C2 small enough.

[0069] Alternatively, Rb can be made very large so that the denominator can remain unchanged, and the gain can be maintained unchanged for signals of different frequencies f, resulting in:

[0070]

[0071] It can be seen that when the resistance and capacitance change due to PVT, fC4 will also change in the same proportion, so as long as fC4 remains the same at different frequency points under the same PVT, it will be fine.

[0072] When only considering capacitor C1:

[0073]

[0074] Considering that the actual gm value is at the 10-3 level, and C1s is at the 10-6 level, so:

[0075]

[0076] Right now:

[0077]

[0078] This shows that for signals of different frequencies f, because C4 will take different capacitance values, the two square terms in the denominator will be smaller at low frequencies. If you want to maintain the gain unchanged, you can only reduce C1 to a sufficiently low level.

[0079] When only considering the capacitor Rin:

[0080]

[0081] Right now:

[0082]

[0083] For signals with different frequencies f, if you want to maintain the gain unchanged, you need to keep the value of fC4 unchanged.

[0084] Or in one example, Rb can be made very large so that the denominator can remain unchanged, so that the gain can be maintained unchanged for signals of different frequencies f, and we can get:

[0085]

[0086] At this time, when the resistance and capacitance change due to PVT, fC4 will also change accordingly, so it is sufficient to ensure that fC4 remains the same at different frequency points under the same PVT.

[0087] In summary: Controlling C4 to use different values ​​at different frequencies can make the gain PVT fluctuations at different frequencies consistent. Then, the high-frequency circuit module can be calibrated under PVT using the more accurate low-frequency analog signal source generated by the internal module. Figure 4 Take the situation shown as an example, Figure 4 In the case where the parasitic capacitance C1>C2, a relatively accurate low-frequency analog signal source generated by the internal module of the chip is used to calibrate the high-frequency signal input externally when the module to be calibrated is working normally under PVT.

[0088] In one example, before obtaining the reference signal, the value of the parasitic capacitance can be reduced as much as possible, and the resistance value of the bias resistor R can be appropriately increased. b , making the gain PVT fluctuations at different frequencies further consistent, thereby reducing the demand for test instruments, reducing test time and reducing product costs.

[0089] In step 103, the tooling test control terminal calibrates the internal circuit of the chip to be calibrated according to the response of the internal circuit of the chip to be calibrated to the reference signal. This is because an accurate reference signal has been provided by the external signal source or the inside of the chip, and any module can be calibrated according to the reference signal. For example, the power detection module can be calibrated using the two-point calibration method.

[0090] In an example, Figure 5 As shown, at this time Figure 5 In this example, C1 is greater than C2. The TX DAC circuit inside the chip is used as the signal source for providing a low-frequency reference signal. Two single-tone signals with different power values ​​(which can be single-tone signals belonging to 160MHz) are provided as the input power reference points of the power detection module. The front-end circuit inputs a high-frequency signal to the power detection module during normal operation. The power detection module detects the input signal and outputs a DC signal to the data acquisition module. The reference signal is subjected to power detection and data acquisition to obtain a set of code values ​​corresponding to the reference signal. Then, after the two-point operation formula is used for calculation, the power value of the input high-frequency signal can be inferred to calibrate the internal circuit of the chip to be calibrated. It can be seen that there is no need for external instruments during the entire calibration process. As described above, the circuit only needs to respond consistently under high and low frequencies of PVT, and calibrate in real time. There is no need to provide high and low temperature, high and low voltage test environments, which greatly reduces the required test scenarios and also reduces the demand for test environment instruments.

[0091] Due to various process reasons, the various parameters of the circuit input and output actually have a large fluctuation range under different PVT, which is usually mainly reflected in gain fluctuation and deviation. Figure 6 This describes a phenomenon of gain fluctuation at the input and output of a circuit. Figure 7 This example shows the deviation phenomenon of circuit input and output. However, usually, gain fluctuation and deviation phenomena will appear in the circuit at the same time. Figure 8 and Fig. 9 The example uses the phenomenon that two gain fluctuation phenomena and deviation phenomena will occur simultaneously in the circuit and produce effects. The fluctuations of different power supply voltages, temperatures, and different products are compensated in real time by the output value obtained from the reference signal.

[0092] by Fig.10 Taking the reference signal shown in the figure as an example, the code value of the reference signal sent from the TX DAC after being detected by the power detection module is expressed as follows:

[0093] Assumptions Fig.10 The smaller (closer to the origin) hollow point is Y1, which is expressed as: y1 = ax1 + b; the larger (farther from the origin) hollow point Y2 is expressed as y2 = ax2 + b. In an example, the difference between the two code values ​​should not be too large or too small.

[0094] At this time, for an arbitrary input value (x, y) within the working range, using the two-point calibration formula, we can get:

[0095]

[0096] Among them, Y is the actual output code value; the code value (x1, y1) is less than the code value (x2, y2), x, x1, x2 correspond to the power values ​​when the signal is input, and y, y1, y2 correspond to the power values ​​when the signal is output.

[0097] Obviously, it can be seen that the output after conversion through the two-point calibration formula has nothing to do with the gain and deviation of the circuit itself, but is only related to the parameters of the two input signals provided by the TX DAC as reference points. Therefore, the fluctuation of the circuit parameters under PVT cannot affect the final effective output, and accurate and consistent data can be obtained.

[0098] It can be seen that the function of the numerator in the two-point calibration formula is mainly to eliminate the deviation value under different PVT. The low-frequency and high-frequency fluctuations of the circuit are consistent with the PVT fluctuations, so that the starting point converges to the same point, for example Figure 7 The situation shown will be transformed into Fig.11 The situation shown.

[0099] Furthermore, the function of the denominator is mainly to extract the gain information. Since the two input values ​​are fixed, the difference is also fixed, and the low-frequency and high-frequency fluctuations of the circuit are consistent with each other in response to PVT, then the difference in the output of the low-frequency analog signal can reflect the gain of the high-frequency signal under the power supply voltage, temperature, and single product. Then, normalizing it eliminates the influence of gain fluctuations. For example, Fig.11 The input and output of the circuit shown are transformed into Fig.12 The circuit input and output are shown in the figure. It can be seen that in this example, the TX DAC provides two constant power value signal sources that are originally required to be provided by external instruments for the power detection circuit under different PVTs, and serves as a reference signal for two-point calibration, thereby eliminating the performance difference under different PVTs and achieving the same effect as tool calibration, but avoiding the time required for tool calibration and the increase in product cost caused by various additional external instruments.

[0100] In this embodiment, a reference signal is obtained and the response of the internal circuit of the chip to be calibrated to the reference signal is obtained; wherein the frequency of the reference signal is different from the frequency of the working signal input when the internal circuit of the chip to be calibrated works normally; the capacitance value of the input DC blocking capacitor in the internal circuit of the chip to be calibrated is adjusted according to the frequency of the reference signal, so that the internal circuit of the chip to be calibrated keeps consistent in response to the reference signal and the working signal when the PVT fluctuates; the internal circuit of the chip to be calibrated is calibrated according to the response of the internal circuit of the chip to be calibrated to the reference signal. An external signal source with a frequency different from the normal working frequency of the circuit or a signal with a frequency different from the normal working frequency of the circuit emitted by a certain circuit inside the chip can be used as a reference signal of the module inside the chip, so that the demand for the type and quantity of external instruments during tooling test and calibration can be reduced, and even the performance test of the module can be performed at any time, so as to achieve real-time detection, so that the module no longer needs tooling test and calibration, thereby reducing the overall production cycle of the product and the cost of tooling test of the product.

[0101] The steps of the above method are divided only for clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this application; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this application.

[0102] Another embodiment of the present invention relates to an automatic tool calibration device, such as Fig.13 As shown, it includes: a signal response module 1301, which is used to obtain a reference signal and obtain the response of the internal circuit of the chip to be calibrated to the reference signal; wherein the frequency of the reference signal is different from the frequency of the working signal input when the internal circuit of the chip to be calibrated works normally; a capacitance adjustment module 1302, which is used to adjust the capacitance value of the input DC blocking capacitor in the internal circuit of the chip to be calibrated according to the frequency of the reference signal, so that the internal circuit of the chip to be calibrated keeps consistent with the response of the reference signal and the working signal when the PVT fluctuates; an automatic calibration module 1303, which is used to calibrate the internal circuit of the chip to be calibrated according to the response of the internal circuit of the chip to be calibrated to the reference signal.

[0103] In one example, the obtaining of the reference signal includes: obtaining the reference signal from a transmission link in an internal circuit of the chip to be calibrated.

[0104] In one example, the reference signal is a low-frequency signal.

[0105] In one example, obtaining the reference signal from the transmission link in the internal circuit of the chip to be calibrated includes: multiplexing a digital-to-analog converter in the transmission link in the internal circuit of the chip to be calibrated to a radio frequency circuit in the internal circuit of the chip to be calibrated to obtain the reference signal.

[0106] In one example, the device further includes: a parasitic capacitance reduction module, which is used to reduce the capacitance value of the parasitic capacitance in the internal circuit of the chip to be calibrated before acquiring the reference signal.

[0107] In one example, calibrating the internal circuit of the chip to be calibrated according to the response of the internal circuit of the chip to be calibrated to the reference signal includes: performing power detection and data acquisition on the reference signal to obtain a set of code values ​​corresponding to the reference signal, using the code values ​​corresponding to the reference signal as the response of the internal circuit of the chip to be calibrated to the reference signal, and performing calculations based on the code values ​​corresponding to the reference signal and a two-point calculation formula to calibrate the internal circuit of the chip to be calibrated.

[0108] In this embodiment, a reference signal is obtained and the response of the internal circuit of the chip to be calibrated to the reference signal is obtained; wherein the frequency of the reference signal is different from the frequency of the working signal input when the internal circuit of the chip to be calibrated works normally; the capacitance value of the input DC blocking capacitor in the internal circuit of the chip to be calibrated is adjusted according to the frequency of the reference signal, so that the internal circuit of the chip to be calibrated keeps consistent in response to the reference signal and the working signal when the PVT fluctuates; the internal circuit of the chip to be calibrated is calibrated according to the response of the internal circuit of the chip to be calibrated to the reference signal. An external signal source with a frequency different from the normal working frequency of the circuit or a signal with a frequency different from the normal working frequency of the circuit emitted by a certain circuit inside the chip can be used as a reference signal of the module inside the chip, so that the demand for the type and quantity of external instruments during tooling test and calibration can be reduced, and even the performance test of the module can be performed at any time, so as to achieve real-time detection, so that the module no longer needs tooling test and calibration, thereby reducing the overall production cycle of the product and the cost of tooling test of the product.

[0109] It is not difficult to find that this embodiment is a device embodiment corresponding to the above method embodiment, and this embodiment can be implemented in conjunction with the above method embodiment. The relevant technical details mentioned in the above method embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the above method embodiment.

[0110] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.

[0111] Another embodiment of the present invention relates to an electronic device, such as Fig.14 As shown, it includes at least one processor 1401; and a memory 1402 that is communicatively connected to the at least one processor; wherein the memory 1402 stores instructions that can be executed by the at least one processor 1401, and the instructions are executed by the at least one processor 1401 so that the at least one processor 1401 can execute the automatic tooling calibration method as described above.

[0112] Among them, the memory 1402 and the processor 1401 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 1401 and the memory 1402 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 1401 is transmitted on a wireless medium through an antenna, and further, the antenna also receives data and transmits the data to the processor 1401.

[0113] The processor 1401 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 1402 can be used to store data used by the processor 1401 when performing operations.

[0114] Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.

[0115] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0116] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.

Claims

1. An automatic tooling calibration method, characterized in that: include: Acquire a reference signal and obtain a response of an internal circuit of the chip to be calibrated to the reference signal; Wherein, the reference signal is a low-frequency signal, and the working signal input when the internal circuit of the chip to be calibrated works normally is a high-frequency signal; Adjusting the capacitance value of the input DC blocking capacitor in the internal circuit of the chip to be calibrated according to the frequency of the reference signal, so that the internal circuit of the chip to be calibrated maintains consistent response to the reference signal and the working signal when the PVT fluctuates; The internal circuit of the chip to be calibrated is calibrated according to the response of the internal circuit of the chip to be calibrated to the reference signal.

2. The automatic tooling calibration method according to claim 1, characterized in that: The obtaining of a reference signal comprises: The reference signal is obtained from a transmission link in an internal circuit of the chip to be calibrated.

3. The automatic tooling calibration method according to claim 2, characterized in that: The reference signal is a precise signal.

4. The automatic tooling calibration method according to claim 3, characterized in that: The obtaining the reference signal from a transmission link in an internal circuit of the chip to be calibrated includes: The digital-to-analog converter in the transmission link in the internal circuit of the chip to be calibrated is multiplexed with the radio frequency circuit in the internal circuit of the chip to be calibrated to obtain the reference signal.

5. The automatic tooling calibration method according to claim 1, characterized in that: The method further comprises: Before acquiring the reference signal, the capacitance value of the parasitic capacitance in the internal circuit of the chip to be calibrated is reduced.

6. The automatic tooling calibration method according to claim 1, characterized in that: The step of calibrating the internal circuit of the chip to be calibrated according to the response of the internal circuit of the chip to be calibrated to the reference signal comprises: Power detection and data acquisition are performed on the reference signal to obtain a set of code values ​​corresponding to the reference signal, the code values ​​corresponding to the reference signal are used as responses of the internal circuit of the chip to be calibrated to the reference signal, and calculations are performed according to the code values ​​corresponding to the reference signal and a two-point calculation formula to calibrate the internal circuit of the chip to be calibrated.

7. An automatic tooling calibration device, characterized in that: include: A signal response module, used to obtain a reference signal and obtain a response of the internal circuit of the chip to be calibrated to the reference signal; Wherein, the reference signal is a low-frequency signal, and the working signal input when the internal circuit of the chip to be calibrated works normally is a high-frequency signal; A capacitance adjustment module, used for adjusting the capacitance value of the input DC blocking capacitor in the internal circuit of the chip to be calibrated according to the frequency of the reference signal, so that the internal circuit of the chip to be calibrated keeps consistent response to the reference signal and the working signal when the PVT fluctuates; The automatic calibration module is used to calibrate the internal circuit of the chip to be calibrated according to the response of the internal circuit of the chip to be calibrated to the reference signal.

8. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the automatic tool calibration method according to any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the automatic tooling calibration method according to any one of claims 1 to 6 is implemented.