Electric parameter adjustment method, device, equipment, storage medium and program product

By detecting the parameter differences of integrated circuits and combining them with the odd-even attribute allocation rules, precise adjustment of electrical parameters can be achieved. This solves the parameter deviation problem caused by the adjustment codes being concentrated at both ends in the existing technology, and improves the accuracy and reliability of chip use.

CN122373799APending Publication Date: 2026-07-10SILICON CONTENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SILICON CONTENT TECH CO LTD
Filing Date
2026-03-06
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

In existing electric fuse adjustment technology, the adjustment codes are often concentrated at both ends, resulting in large parameter deviations, affecting the accuracy and reliability of chip use, and the adjustment time is long.

Method used

By detecting the parameter difference of the integrated circuit, the adjustment direction and step size are determined. Combined with the odd-even attribute allocation rule, the target adjustment code is set to 2n-1 or 2n, and the switching transistor and adjustment resistor are controlled to achieve precise adjustment of electrical parameters.

Benefits of technology

It improves the reliability and accuracy stability of chip parameter tuning, shortens tuning time, and reduces potential impact on the chip.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122373799A_ABST
    Figure CN122373799A_ABST
Patent Text Reader

Abstract

This application discloses an electrical parameter adjustment method, apparatus, device, storage medium, and program product. The method includes: detecting the difference between the actual value and the ideal value of the electrical parameter to be adjusted in an integrated circuit, and determining a target adjustment direction and a target adjustment step size n based on the difference; determining the parity attribute of a target adjustment code based on the target adjustment direction, with a one-to-one correspondence between the adjustment direction and the parity attribute of the electrical parameter; determining the target adjustment code according to the adjustment step size n and the parity attribute allocation rule, and writing the target adjustment code into an electric fuse; wherein the parity attribute allocation rule is that when the parity attribute of the target adjustment code is odd, the value of the target adjustment code is 2n-1; when the parity attribute of the target adjustment code is even, the value of the target adjustment code is 2n, and the target adjustment code is used to control the on / off state of the corresponding switching transistor and the adjustment resistor to achieve the adjustment of the electrical parameter to be adjusted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of integrated circuit design and manufacturing, and more specifically, to an electrical parameter adjustment method, apparatus, device, storage medium, and program product. Background Technology

[0002] In integrated circuit manufacturing and packaging testing scenarios, chip parameters often deviate from the design range due to factors such as process deviations and circuit misalignments. Adjustments are needed to bring them back to the target accuracy. Electric fuse adjustment technology is widely used in integrated circuit parameter calibration because it can meet the above requirements.

[0003] In the prior art, in order to adapt to parameter fluctuations in mass production, the adjustment range of the electric fuse adjustment code is usually set to be wide. The default value is no adjustment (Code=0), which is the ideal value. The Code is distributed in a unidirectional increasing or decreasing manner.

[0004] However, since chip parameter deviations often follow a normal distribution, most commonly used adjustment codes are concentrated at the two ends of the value. The adjustment process is easily affected by voltage, current, process deviations, and parasitic factors, which may lead to insufficient programming or code failure after long-term use. In this case, abnormalities in the high-order bits of the code at both ends will cause the parameters to deviate significantly from the target value, seriously affecting the chip's accuracy and reliability. At the same time, the large number of bits programmed into the code at both ends will also increase the adjustment time and potential impact on the chip. Summary of the Invention

[0005] The main objective of this application is to provide an electrical parameter adjustment method, apparatus, equipment, storage medium, and program product to solve the problem that commonly used codes in existing electric fuse adjustment are concentrated at both ends and that burning failures can easily lead to significant parameter deviations. This application can realize the adjustment code concentration in the middle area, reduce the impact of failures, improve the reliability of chip adjustment, and at the same time reduce the number of adjustment bits and time.

[0006] To achieve the above objectives, a first aspect of this application proposes an electrical parameter adjustment method, comprising: detecting the difference between the actual value and the ideal value of the electrical parameter to be adjusted in an integrated circuit, and determining a target adjustment direction and a target adjustment step size n based on the difference, wherein the target adjustment direction is one of upward adjustment and downward adjustment; determining the parity attribute of a target adjustment code based on the target adjustment direction, wherein the adjustment direction of the electrical parameter corresponds one-to-one with the parity attribute; determining the target adjustment code according to the adjustment step size n and the parity attribute allocation rule, and burning the target adjustment code into an electric fuse; wherein the parity attribute allocation rule is that when the parity attribute of the target adjustment code is odd, the value of the target adjustment code is 2n-1; when the parity attribute of the target adjustment code is even, the value of the target adjustment code is 2n, and the target adjustment code is used to control the on / off state of the corresponding switching transistor and the adjustment resistor to achieve the adjustment of the electrical parameter to be adjusted, where n is a positive integer.

[0007] According to an electrical parameter adjustment method provided in this application, after the target adjustment code is programmed into the fuse, the method further includes: when the integrated circuit is powered on, reading the target adjustment code stored in the fuse; converting the target adjustment code into a corresponding control signal through a decoder, the control signal being used to drive the on / off state of the corresponding switch transistor to select a matching adjustment resistor to be connected to the integrated circuit; and adjusting the electrical parameters to be adjusted of the integrated circuit through the connected adjustment resistor.

[0008] According to the electrical parameter adjustment method provided in this application, the electrical parameter to be adjusted includes at least one of voltage, current, and frequency.

[0009] According to the electrical parameter adjustment method provided in this application, the correspondence between the adjustment direction and the parity attribute is as follows: adjust upwards to the corresponding odd number and downwards to the corresponding even number; or adjust upwards to the corresponding even number and downwards to the corresponding odd number.

[0010] According to an electrical parameter adjustment method provided in this application, the number of bits in the target adjustment code is positively correlated with the adjustment range requirement of the integrated circuit.

[0011] According to the electrical parameter adjustment method provided in this application, the adjustment resistor is a multi-stage voltage divider resistor, and the switching transistor is set in a one-to-one correspondence with the adjustment resistor.

[0012] This application also provides an electrical parameter adjustment device, comprising the following modules: a parameter difference analysis module, an encoding attribute mapping module, and an adjustment code generation and programming module; the parameter difference analysis module is used to detect the difference between the actual value and the ideal value of the electrical parameter to be adjusted in the integrated circuit, and to determine the target adjustment direction and the target adjustment step size n based on the difference, wherein the target adjustment direction is one of upward adjustment and downward adjustment; the encoding attribute mapping module is used to determine the parity attribute of the target adjustment code based on the target adjustment direction, and the adjustment direction and parity attribute of the electrical parameter are related. One-to-one correspondence; the adjustment code generation and programming module is used to determine the target adjustment code according to the adjustment step size n and the parity attribute allocation rule, and to program the target adjustment code into the fuse; wherein, the parity attribute allocation rule is that when the parity attribute of the target adjustment code is odd, the value of the target adjustment code is 2n-1; when the parity attribute of the target adjustment code is even, the value of the target adjustment code is 2n. The target adjustment code is used to control the on / off state of the corresponding switching transistor and the adjustment resistor to achieve the adjustment of the electrical parameters to be adjusted, where n is a positive integer.

[0013] This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the electrical parameter adjustment method as described above.

[0014] This application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the electrical parameter adjustment method as described above.

[0015] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the electrical parameter adjustment method as described above.

[0016] The technical solutions provided by the embodiments of this application may include the following beneficial effects: In this application, since the adjustment direction corresponds one-to-one with the parity attribute, and the value of the target adjustment code can be set to 2n-1 or 2n by combining the parity attribute allocation rules, the target adjustment code corresponding to the commonly used adjustment step size can be concentrated in the middle region of the value. Since the adjustment code in the middle region has fewer bits to write, and even if there is insufficient writing or failure after long-term use, it will only cause a small deviation in the adjustment step size, rather than a large deviation of the parameter from the target value. Therefore, the reliability and accuracy stability of integrated circuit parameter adjustment are significantly improved. At the same time, the reduction in the number of bits to write the adjustment code in the middle region can also shorten the adjustment time and reduce the potential impact of the adjustment process on the chip. Attached Figure Description

[0017] The accompanying drawings, which form part of this application, are used to provide a further understanding of the application and to make other features, objects, and advantages of the application more apparent. The illustrative embodiments and descriptions of this application are used to explain the application and do not constitute an undue limitation of the application. In the drawings: Figure 1 A schematic diagram of the circuit structure for adjusting voltage using a TRIM circuit. Figure 2 A schematic diagram of the modifier code distribution for existing unidirectional partition coding techniques; Figure 3 A flowchart illustrating the electrical parameter adjustment method provided in this application; Figure 4 A schematic diagram of the modifier code distribution for the parity partition coding provided in this application; Figure 5 This is a schematic diagram of the electrical parameter adjustment device provided by the present invention; Figure 6 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0018] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present application.

[0019] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0020] In this application, the terms "upper," "lower," "left," "right," "front," "rear," "top," "bottom," "inner," "outer," "middle," "vertical," "horizontal," "lateral," and "longitudinal" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. These terms are primarily for the purpose of better describing this application and its embodiments, and are not intended to limit the indicated device, element, or component to having a specific orientation, or to be constructed and operated in a specific orientation.

[0021] Furthermore, in addition to indicating location or positional relationship, some of the aforementioned terms may also have other meanings. For example, the term "above" may also be used in some cases to indicate a certain dependency or connection relationship. Those skilled in the art can understand the specific meaning of these terms in this application based on the specific circumstances.

[0022] Furthermore, the terms "installation," "setup," "equipped with," "connection," "linked," and "socketing" should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or an internal connection between two devices, components, or parts. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0023] This application describes some exemplary embodiments for illustrative purposes. It should be understood that this application may be implemented in other ways not specifically shown in the accompanying drawings.

[0024] like Figure 1 As shown, the commonly used electric fuse adjustment scheme in the prior art is as follows: First, the detection circuit acquires the actual voltage Vo output by the chip and compares it with the reference voltage (i.e., the ideal value) output by the reference circuit. It calculates the difference between the two and then uses this difference to calculate the corresponding adjustment step size and adjustment code. Subsequently, the TRIM circuit can write this adjustment code into the fuse for storage. When the integrated circuit is powered on, the TRIM circuit reads the adjustment code stored in the fuse and outputs a 0 or 1 control signal. This control signal is first processed by an inverter, then drives the corresponding switching transistor to turn on and off, thereby controlling the state of the voltage divider resistors with resistances of R, 2R, 4R, and 8R connected to the main circuit. By changing the voltage division ratio of the circuit, the output voltage Vo is adjusted, ultimately achieving precise adjustment of the electrical parameters.

[0025] Due to process variations, chip parameters will fluctuate within a certain range. To ensure that chips can be adjusted to meet requirements during mass production, the adjustment range is usually set relatively wide. As shown in Table 1, for unidirectional partition coding, the adjustment bits are 4 bits, ranging from Vo-8Δ to Vo+7Δ. During design, the ideal value Vo is usually assumed to be 0 (Code = 0). Δ represents the unit step size for adjustment, and is generally much smaller than the precision requirement. For example, if the adjustment is down by 1 step, the corresponding value is Code = 15.

[0026] Table 1

[0027] like Figure 2 As shown, when the measured chip parameters are outside the required accuracy range, if a 4-bit trimming bit is used, there are 16 possible trimming code combinations. If the actual value Vo is too small, Vo needs to be increased, i.e., TRIM upwards, and the code will be distributed between 1 and 7. Conversely, if the actual value Vo is too large, Vo needs to be decreased, i.e., TRIM downwards, and the code will be between 8 and 15. In practice, Vo generally follows an approximately normal distribution centered on Vo, which means that most TRIM codes are distributed at the two ends of the value, such as 0, 1 and 14, 15.

[0028] However, when adjusting the chip via pin communication after packaging, the programming process can be affected by factors such as voltage and current fluctuations, process deviations, and parasitic effects. This may result in unsuccessful adjustments or the need for a second programming iteration, or even the programming of a specific adjustment bit failing to meet requirements. In complex operating environments or during long-term use, these programming defects may further cause changes in the state of the adjustment bit. For example, an adjustment bit that should have been programmed as 1 may become 0 due to insufficient programming or an incorrect resistance value.

[0029] For example, taking the output voltage Vout as an example, if the chip requires an accuracy of ±1% or ±2%, when an abnormality occurs in the trimming state (usually 1 becomes 0), if the trimming code value is small at this time, the impact of the abnormal programming is relatively controllable. For example, if the trimming code changes from 0001 to 0000, the actual voltage only changes by one step Δ, which is still within the allowable accuracy range and will not affect actual use. However, if the trimming code is in a high bit (such as 1111 in a 4-bit code), once the highest bit fails to be programmed, causing the trimming code to become 0111, the actual voltage will jump directly from Vo-1Δ to Vo+7Δ, deviating to the worst case. Similarly, if the trimming code is 1110, and the highest bit is not programmed ideally, causing it to become 0110, the voltage will also jump from Vo-1Δ to Vo+6Δ, resulting in a large deviation. These situations will have unpredictable negative impacts on the actual use of the chip.

[0030] In response to the above problems, such as Figure 3As shown, this application provides an electrical parameter adjustment method, which can be applied to an electrical parameter adjustment device. The electrical parameter adjustment method may include steps S101-S103: S101. The electrical parameter adjustment device detects the difference between the actual value and the ideal value of the electrical parameter to be adjusted in the integrated circuit, and determines the target adjustment direction and the target adjustment step size n based on the difference.

[0031] The target adjustment direction mentioned above is either upward or downward, and n is a positive integer.

[0032] Specifically, the electrical parameter adjustment device can collect the electrical parameters of the integrated circuit to be adjusted in real time through the built-in detection module to obtain the actual value of the electrical parameters to be adjusted, and at the same time retrieve the ideal value of the electrical parameters to be adjusted that are pre-stored, and calculate the numerical difference between the actual value and the ideal value; if the actual value is less than the ideal value, the target adjustment direction is determined to be upward adjustment, and if the actual value is greater than the ideal value, the target adjustment direction is determined to be downward adjustment. Then, based on the difference and the parameter adjustment amount corresponding to the preset unit adjustment step, the target adjustment step n to be adjusted is calculated.

[0033] Optionally, the electrical parameter to be adjusted may include at least one of voltage, current, and frequency. If the electrical parameter to be adjusted is voltage, the voltage can be adjusted by changing the voltage division ratio of the circuit through the connection of the adjustment resistor; if the electrical parameter to be adjusted is current, the current can be adjusted by changing the current shunt ratio of the circuit through the connection of the adjustment resistor; if the electrical parameter to be adjusted is frequency, the frequency can be adjusted by changing the resonant impedance of the circuit through the connection of the adjustment resistor.

[0034] S102. The electrical parameter adjustment device determines the parity attribute of the target adjustment code based on the target adjustment direction.

[0035] The adjustment direction of the electrical parameters corresponds one-to-one with the parity attribute. The correspondence between the adjustment direction and the parity attribute can be: adjust upwards to the corresponding odd number and downwards to the corresponding even number; or adjust upwards to the corresponding even number and downwards to the corresponding odd number.

[0036] Specifically, the electrical parameter adjustment device has a pre-stored one-to-one correspondence table between adjustment direction and adjustment code parity attribute. After determining the target adjustment direction, the electrical parameter adjustment device can match the target adjustment code parity attribute bound to the target adjustment direction from the correspondence table. The binding rules configured in the correspondence table can be to adjust the corresponding odd number upward and adjust the corresponding even number downward, or to adjust the corresponding even number upward and adjust the corresponding odd number downward.

[0037] S103. The electrical parameter adjustment device determines the target adjustment code according to the adjustment step size n and the odd / even attribute allocation rule, and writes the target adjustment code into the electric fuse.

[0038] The parity attribute allocation rule is as follows: when the parity attribute of the target adjustment code is odd, the value of the target adjustment code is 2n-1; when the parity attribute of the target adjustment code is even, the value of the target adjustment code is 2n. The target adjustment code is used to control the on / off state of the corresponding switching transistor and the adjustment resistor to achieve the adjustment of the electrical parameters to be adjusted.

[0039] Specifically, the electrical parameter adjustment device pre-stores parity attribute allocation rules. After determining the target adjustment step size n and the parity attribute of the target adjustment code, the electrical parameter adjustment device can retrieve the corresponding allocation rules according to the matched parity attribute to perform numerical calculations. If the parity attribute of the target adjustment code is odd, the value of the target adjustment code is calculated according to the calculation formula 2n-1; if the parity attribute of the target adjustment code is even, the value of the target adjustment code is calculated according to the calculation formula 2n. The electrical parameter adjustment device can also input a preset programming current into the fuse of the integrated circuit through a dedicated programming circuit to permanently write the target adjustment code into the fuse in the form of digital code, completing the programming storage of the fuse. This target adjustment code serves as a digital control instruction for subsequent electrical parameter adjustment of the integrated circuit, used to control the on / off state of the corresponding switching transistor and the adjustment resistor, thereby achieving precise adjustment of the electrical parameters to be adjusted.

[0040] For example, as shown in Table 2, this application uses parity partitioning encoding, with the correspondence between adjustment direction and parity attribute as follows: upward adjustment corresponds to odd numbers, downward adjustment corresponds to even numbers, and the electrical parameter to be adjusted is voltage. If the ideal value of the integrated circuit voltage is 3.3V, and the actual value is detected to be 3.0V, the calculated difference is 0.3V. The voltage adjustment amount corresponding to the preset unit adjustment step size is 0.1V. Then the target adjustment direction is upward adjustment, the target adjustment step size n=3, and the corresponding adjustment value is Vo+3△. Since upward adjustment corresponds to odd numbers, the parity attribute of the target adjustment code is odd. According to the calculation formula of 2n-1, the target adjustment code is 5. The electrical parameter adjustment device can input a preset programming current into the fuse through a dedicated programming circuit to permanently write the digital code "5" into the fuse. If the ideal value of the voltage to be adjusted for another integrated circuit is 3.3V and the actual value is 3.5V, the difference is 0.2V. The voltage adjustment amount corresponding to the unit adjustment step size is 0.1V. Then the target adjustment direction is downward adjustment, the target adjustment step size is n=2, and the corresponding adjustment value is Vo-2△. Since downward adjustment corresponds to an even number, the parity attribute of the target adjustment code is even. According to the calculation formula of 2n, the target adjustment code is 4. The electrical parameter adjustment device can permanently write the digital code "4" into the fuse through a dedicated programming circuit.

[0041] Table 2

[0042] like Figure 4 As shown, if the actual value Vo is too small, Vo needs to be increased, i.e., TRIM upwards. In the prior art, the Code is distributed from 1 to 7, while in the scheme of this application, it corresponds to odd-numbered Codes such as 1, 3, and 5. Conversely, if the actual value Vo is too large, Vo needs to be decreased, i.e., TRIM downwards. In the prior art, the Code is from 8 to 15, while in the improved scheme, it corresponds to even-numbered Codes such as 2, 4, and 6. Since Vo is generally approximately normally distributed with Vo as the center, the small-step adjustment codes commonly used in this application are concentrated in the middle region.

[0043] Optionally, the number of bits in the target tuning code is positively correlated with the tuning range requirements of the integrated circuit.

[0044] Specifically, the electrical parameter adjustment device can determine the maximum adjustment range of the electrical parameter to be adjusted based on the design specifications of the integrated circuit. This maximum adjustment range is the total step size, which is the sum of the maximum upward adjustment step size and the maximum downward adjustment step size allowed for the electrical parameter to be adjusted. The electrical parameter adjustment device can calculate the minimum number of bits required for the adjustment code based on the total adjustment step size. The number of bits of the adjustment code determines the total number of codes that can be represented. The total number of codes must be greater than or equal to the total adjustment step size. The larger the adjustment range of the electrical parameter to be adjusted, the more total adjustment steps are required and the more bits of the target adjustment code are configured. The smaller the adjustment range of the electrical parameter to be adjusted, the fewer total adjustment steps are required and the fewer bits of the target adjustment code are configured. That is, the number of bits of the target adjustment code increases as the adjustment range requirement of the integrated circuit increases and decreases as the adjustment range requirement decreases.

[0045] For example, suppose the electrical parameter to be adjusted for a low-voltage integrated circuit is voltage. Its design specifications allow a maximum upward adjustment step of 4 steps and a maximum downward adjustment step of 4 steps. Therefore, the total adjustment step size for this voltage parameter is 8 steps, requiring a minimum of 8 bits for the adjustment code. Since a 3-bit binary adjustment code can represent a total of 8 codes, which precisely meets the total adjustment step size requirement, the target adjustment code is configured with 3 bits. Similarly, if the voltage to be adjusted for another high-voltage integrated circuit allows a maximum upward adjustment step of 8 steps and a maximum downward adjustment step of 8 steps, resulting in a total adjustment step size of 16 steps, a 4-bit binary adjustment code can represent a total of 16 codes, which also meets the total adjustment step size requirement. Therefore, the target adjustment code is configured with 4 bits.

[0046] Optionally, after the target adjustment code is programmed into the fuse, the method further includes: when the integrated circuit is powered on, reading the target adjustment code stored in the fuse; converting the target adjustment code into a corresponding control signal through a decoder, the control signal being used to drive the on / off state of the corresponding switch transistor to select a matching adjustment resistor to be connected to the integrated circuit; and adjusting the electrical parameters to be adjusted of the integrated circuit through the connected adjustment resistor.

[0047] Specifically, after the integrated circuit is powered on, its internal trimming code reading circuit immediately enters the working state. This reading circuit establishes an electrical connection with the fuse and reads the permanently stored target trimming code from the fuse according to a preset reading sequence. The read target trimming code is then sent to the decoder inside the integrated circuit. Upon receiving the target trimming code, the decoder performs decoding operations on the digital code, converting it into a control signal that matches the driving logic of the switching transistor. This control signal is a high-level or low-level electrical signal; different target trimming codes correspond to different combinations of control signals. This control signal is specifically used to drive the internal circuitry of the integrated circuit. The corresponding switching transistors perform on / off actions. After receiving a control signal, the switching transistors execute the corresponding on / off operation according to the signal level. The conducting switching transistors connect their corresponding adjustment resistors to the main circuit of the integrated circuit, while the disconnected switching transistors disconnect their corresponding adjustment resistors from the main circuit, thus achieving precise selection and connection of the matching adjustment resistors. The adjustment resistors connected to the main circuit form a new circuit impedance match with the reference circuit inside the integrated circuit. By changing the voltage division, current division, or resonance characteristics of the circuit, the electrical parameters to be adjusted in the integrated circuit are quantitatively adjusted, causing the electrical parameters to shift from the actual value to the ideal value, ultimately achieving the preset target accuracy.

[0048] Optionally, the adjusting resistor is a multi-stage voltage divider resistor, and the switching transistor is configured in a one-to-one correspondence with the adjusting resistor.

[0049] Specifically, the integrated circuit is internally configured with multiple voltage divider resistors of different specifications as adjustment resistors. The resistance value of each adjustment resistor is a preset fixed value. Different resistance values ​​of adjustment resistors correspond to one unit adjustment step of the electrical parameter to be adjusted. The multiple adjustment resistors are set independently and each forms a selective electrical connection with the main circuit of the integrated circuit. The integrated circuit is also internally configured with a number of switching transistors that are exactly the same as the number of adjustment resistors. The switching transistors and adjustment resistors are connected in a one-to-one electrical correspondence, that is, the output terminal of one switching transistor is connected to the input terminal of only one adjustment resistor. The switching transistor is the only on / off control element between the adjustment resistor and the main circuit. Each switching transistor can only control the connection and disconnection of its corresponding adjustment resistor. The on / off actions of different switching transistors are independent of each other and there is no linkage interference. By combining the on / off of one or more switching transistors, the individual or combined connection of multiple adjustment resistors can be realized, thereby realizing the adjustment of different step sizes of the electrical parameter to be adjusted.

[0050] In this embodiment, since the adjustment direction corresponds one-to-one with the parity attribute, and the value of the target adjustment code can be set to 2n-1 or 2n by combining the parity attribute allocation rules, the target adjustment code corresponding to the commonly used adjustment step size can be concentrated in the middle region of the value. Since the adjustment code in the middle region has fewer bits burned, and even if there is insufficient burning or failure after long-term use, it will only cause a small deviation in the adjustment step size, rather than a large deviation of the parameter from the target value. Therefore, the reliability and accuracy stability of integrated circuit parameter adjustment are significantly improved. At the same time, the reduction in the number of bits burned in the adjustment code in the middle region can also shorten the adjustment time and reduce the potential impact of the adjustment process on the chip.

[0051] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0052] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0053] The electrical parameter adjustment method provided in this application can be executed by an electrical parameter adjustment device or a control module for electrical parameter adjustment within that device. This application uses an electrical parameter adjustment device executing the method as an example to illustrate the electrical parameter adjustment device provided in this application.

[0054] It should be noted that the embodiments of this application can divide the electrical parameter adjustment device into functional modules according to the above method examples. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware or as software functional modules. Optionally, the module division in the embodiments of this application is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0055] like Figure 5As shown in the figure, this application embodiment provides an electrical parameter adjustment device 500. The electrical parameter adjustment device 500 includes: a parameter difference analysis module 501, an encoding attribute mapping module 502, and an adjustment code generation and programming module 503; the parameter difference analysis module 501 is used to detect the difference between the actual value and the ideal value of the electrical parameter to be adjusted in the integrated circuit, and determine the target adjustment direction and the target adjustment step size n based on the difference, wherein the target adjustment direction is one of upward adjustment and downward adjustment; the encoding attribute mapping module 502 is used to determine the parity attribute of the target adjustment code based on the target adjustment direction, and the adjustment direction of the electrical parameter is related to the parity attribute. The properties are in one-to-one correspondence; the adjustment code generation and programming module 503 is used to determine the target adjustment code according to the adjustment step size n and the parity attribute allocation rule, and to program the target adjustment code into the fuse; wherein, the parity attribute allocation rule is that when the parity attribute of the target adjustment code is odd, the value of the target adjustment code is 2n-1; when the parity attribute of the target adjustment code is even, the value of the target adjustment code is 2n, and the target adjustment code is used to control the on / off state of the corresponding switching transistor and the adjustment resistor to achieve the adjustment of the electrical parameters to be adjusted, where n is a positive integer.

[0056] Optionally, after writing the target adjustment code into the fuse, the method further includes: when the integrated circuit is powered on, reading the target adjustment code stored in the fuse; converting the target adjustment code into a corresponding control signal through a decoder, the control signal being used to drive the on / off state of the corresponding switch transistor to select a matching adjustment resistor to be connected to the integrated circuit; and adjusting the electrical parameters to be adjusted of the integrated circuit through the connected adjustment resistor.

[0057] Optionally, the electrical parameters to be adjusted include at least one of voltage, current, and frequency.

[0058] Optionally, the correspondence between the adjustment direction and the parity attribute is as follows: adjust upwards to correspond to odd numbers and downwards to correspond to even numbers; or adjust upwards to correspond to even numbers and downwards to correspond to odd numbers.

[0059] Optionally, the number of bits in the target tuning code is positively correlated with the tuning range requirements of the integrated circuit.

[0060] Optionally, the adjusting resistor is a multi-stage voltage divider resistor, and the switching transistor is configured in a one-to-one correspondence with the adjusting resistor.

[0061] In this embodiment, since the adjustment direction corresponds one-to-one with the parity attribute, and the value of the target adjustment code can be set to 2n-1 or 2n by combining the parity attribute allocation rules, the target adjustment code corresponding to the commonly used adjustment step size can be concentrated in the middle region of the value. Since the adjustment code in the middle region has fewer bits burned, and even if there is insufficient burning or failure after long-term use, it will only cause a small deviation in the adjustment step size, rather than a large deviation of the parameter from the target value. Therefore, the reliability and accuracy stability of integrated circuit parameter adjustment are significantly improved. At the same time, the reduction in the number of bits burned in the adjustment code in the middle region can also shorten the adjustment time and reduce the potential impact of the adjustment process on the chip.

[0062] Figure 6 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 6 As shown, the electronic device may include: a processor 610, a communications interface 620, a memory 630, and a communications bus 640, wherein the processor 610, the communications interface 620, and the memory 630 communicate with each other through the communications bus 640. The processor 610 can call logic instructions in the memory 630 to execute an electrical parameter adjustment method. This method includes: detecting the difference between the actual value and the ideal value of the electrical parameter to be adjusted in the integrated circuit, and determining a target adjustment direction and a target adjustment step size n based on the difference, wherein the target adjustment direction is either upward adjustment or downward adjustment; determining the parity attribute of a target adjustment code based on the target adjustment direction, with each adjustment direction of the electrical parameter corresponding to a parity attribute; determining the target adjustment code according to the adjustment step size n and the parity attribute allocation rule, and burning the target adjustment code into an electric fuse; wherein the parity attribute allocation rule is that when the parity attribute of the target adjustment code is odd, the value of the target adjustment code is 2n-1; when the parity attribute of the target adjustment code is even, the value of the target adjustment code is 2n, and the target adjustment code is used to control the on / off state of the corresponding switching transistor and the adjustment resistor to achieve the adjustment of the electrical parameter to be adjusted, where n is a positive integer.

[0063] Furthermore, the logical instructions in the aforementioned memory 630 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0064] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the electrical parameter adjustment method provided by the above methods. The method includes: detecting the difference between the actual value and the ideal value of the electrical parameter to be adjusted in the integrated circuit, and determining a target adjustment direction and a target adjustment step size n based on the difference, wherein the target adjustment direction is one of upward adjustment and downward adjustment; and determining the target adjustment based on the target adjustment direction. The parity attribute of the code corresponds one-to-one with the adjustment direction of the electrical parameters. Based on the adjustment step size n and the parity attribute allocation rule, the target adjustment code is determined and burned into the fuse. The parity attribute allocation rule is as follows: when the parity attribute of the target adjustment code is odd, the value of the target adjustment code is 2n-1; when the parity attribute of the target adjustment code is even, the value of the target adjustment code is 2n. The target adjustment code is used to control the on / off state of the corresponding switching transistor and the adjustment resistor to achieve the adjustment of the electrical parameters to be adjusted, where n is a positive integer.

[0065] Furthermore, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the electrical parameter adjustment method provided by the methods described above. This method includes: detecting the difference between the actual value and the ideal value of the electrical parameter to be adjusted in an integrated circuit; determining a target adjustment direction and a target adjustment step size n based on the difference; the target adjustment direction being one of upward adjustment and downward adjustment; determining the parity attribute of a target adjustment code based on the target adjustment direction; and adjusting the electrical parameter. The direction and parity attribute are in one-to-one correspondence; according to the adjustment step size n and the parity attribute allocation rule, the target adjustment code is determined and written into the fuse; wherein, the parity attribute allocation rule is that when the parity attribute of the target adjustment code is odd, the value of the target adjustment code is 2n-1; when the parity attribute of the target adjustment code is even, the value of the target adjustment code is 2n. The target adjustment code is used to control the on / off state of the corresponding switching transistor and the adjustment resistor to achieve the adjustment of the electrical parameters to be adjusted, where n is a positive integer.

[0066] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0067] Obviously, those skilled in the art should understand that the various units or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device, or fabricating them separately as individual integrated circuit modules, or fabricating multiple modules or steps into a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.

[0068] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for adjusting electrical parameters, characterized in that, include: The difference between the actual value and the ideal value of the electrical parameter to be adjusted in the integrated circuit is detected, and the target adjustment direction and the target adjustment step size n are determined based on the difference. The target adjustment direction is one of upward adjustment and downward adjustment. The parity attribute of the target adjustment code is determined based on the target adjustment direction, and the adjustment direction of the electrical parameter corresponds one-to-one with the parity attribute. Based on the adjustment step size n and the parity attribute allocation rule, the target adjustment code is determined and the target adjustment code is written into the fuse. The parity attribute allocation rule is as follows: when the parity attribute of the target adjustment code is odd, the value of the target adjustment code is 2n-1; when the parity attribute of the target adjustment code is even, the value of the target adjustment code is 2n. The target adjustment code is used to control the on / off state of the corresponding switching transistor and the adjustment resistor to achieve the adjustment of the electrical parameters to be adjusted, where n is a positive integer.

2. The electrical parameter adjustment method according to claim 1, characterized in that, After writing the target modifier code into the fuse, the method further includes: When the integrated circuit is powered on, the target modifier code stored in the fuse is read. The target trimming code is converted into a corresponding control signal by a decoder. The control signal is used to drive the corresponding switch to turn on and off, so as to select a matching trimming resistor to be connected to the integrated circuit. The electrical parameters of the integrated circuit to be adjusted are adjusted by connecting the adjustment resistor.

3. The electrical parameter adjustment method according to claim 1 or 2, characterized in that, The electrical parameters to be adjusted include at least one of voltage, current, and frequency.

4. The electrical parameter adjustment method according to claim 1, characterized in that, The correspondence between the adjustment direction and the odd / even attribute is as follows: adjust upwards to correspond to odd numbers, and adjust downwards to correspond to even numbers; or adjust upwards to correspond to even numbers, and adjust downwards to correspond to odd numbers.

5. The electrical parameter adjustment method according to claim 1, characterized in that, The number of bits in the target trimming code is positively correlated with the trimming range requirement of the integrated circuit.

6. The electrical parameter adjustment method according to claim 1, characterized in that, The adjusting resistor is a multi-stage voltage divider resistor, and the switching transistor is set in a one-to-one correspondence with the adjusting resistor.

7. An electrical parameter adjustment device, characterized in that, include: The module includes a parameter difference analysis module, an encoding attribute mapping module, and a modifier code generation and burning module. The parameter difference analysis module is used to detect the difference between the actual value and the ideal value of the electrical parameter to be adjusted in the integrated circuit, and to determine the target adjustment direction and the target adjustment step size n based on the difference. The target adjustment direction is one of upward adjustment and downward adjustment. The encoding attribute mapping module is used to determine the parity attribute of the target adjustment code based on the target adjustment direction, and the adjustment direction of the electrical parameters corresponds one-to-one with the parity attribute. The tuning code generation and programming module is used to determine the target tuning code according to the tuning step size n and the parity attribute allocation rule, and to program the target tuning code into the electric fuse. The parity attribute allocation rule is as follows: when the parity attribute of the target adjustment code is odd, the value of the target adjustment code is 2n-1; when the parity attribute of the target adjustment code is even, the value of the target adjustment code is 2n. The target adjustment code is used to control the on / off state of the corresponding switching transistor and the adjustment resistor to achieve the adjustment of the electrical parameters to be adjusted, where n is a positive integer.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the electrical parameter adjustment method as described in any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the electrical parameter adjustment method as described in any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the electrical parameter adjustment method as described in any one of claims 1 to 6.