Chip trimming method and system and chip

By connecting an external resistor to the multi-function pin of the chip and using the resistance transcoding module to identify the ground resistance and dynamically adjust the chip parameters, the existing technology problems of cumbersome chip modification operations and difficulty in ensuring consistency are solved, achieving a more convenient and reliable trimming effects.

CN118764020APending Publication Date: 2024-10-11SG MICRO CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410732733.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing chip trimming technology is cumbersome to operate, and it is difficult to ensure consistency and timeliness during repeated implementations.

Method used

By connecting external resistors with different resistances to the multi-function pins of the chip, and using the resistance transcoding module to identify the current ground resistance according to the search algorithm during the startup phase of the chip, output the corresponding digital code, and dynamically adjust the working mode or performance parameters of the chip. .

Benefits of technology

It simplifies the chip modification process, improves the repeatability and stability of operations, and adapts to diverse application environments and market demands.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764020A_ABST
    Figure CN118764020A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a chip trimming method and system and a chip, the system comprises external resistors and a resistance transcoding module, the external resistors comprise grounding resistors with different resistance values, and the resistance transcoding module comprises a resistor transcoding module and a resistor transcoding module. The external resistor is configured to couple a grounding resistor with a resistance value to the resistor transcoding module through a multifunctional pin of the chip according to a selection signal, and the resistor transcoding module is an in-chip module and is configured to identify the grounding resistor currently coupled with the multifunctional pin according to a search algorithm in a chip starting stage, and to determine whether the grounding resistor is a grounding resistor currently coupled with the multifunctional pin according to the search algorithm. And outputting the digital code corresponding to the current grounding resistance, so that the chip is adjusted according to the working mode or the performance parameter corresponding to the digital code. The problems that in an existing chip trimming technology, the operation process is tedious, and consistency and timeliness are difficult to guarantee during repeated implementation are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of integrated circuit technology, and in particular, to a method and system for chip trimming, and a chip. Background Art

[0002] In the prior art, the post-processing of chips (modification of versions or functions) usually relies on writing control data to the internal storage units of the chip through external programs after manufacturing to adjust the relevant parameter settings, or change the internal distributed logic structure and component working mode of the chip, so as to re-schedule the production. Specifically, the commonly used chip trimming solutions in the prior art include: fuse trimming technology (Poly Fuse Trim and Metal Fuse Trim), Zener diode trimming technology (Zener Trim), and programmable memory trimming technology (early EPROM / EEPROM Trim).

[0003] Among them, fuse trimming technology is based on the design and use of fuse structure. The process of fuse trimming is complicated and requires high precision control of current or voltage. Improper operation may cause irreversible damage, and fuse materials such as aluminum may affect stability due to factors such as time and temperature, resulting in the difficulty of maintaining consistent trimming results. Zener diode trimming technology uses Zener diodes for permanent breakdown to change the circuit state. Although it increases the flexibility of circuit design compared to fuse trimming, it also has the problem of not being able to restore to the initial state after trimming in actual applications, lacking repeatability and dynamic adjustment capabilities. Programmable memory trimming technology provides certain convenience in changing version information records, but one-time programming EPROMs have problems such as data cannot be electrically erased and inconvenient updates, while earlier EEPROMs may have certain limitations in terms of erase times and speed, and are not suitable for frequent or rapid calibration needs.

[0004] In summary, the existing chip trimming technology has problems such as cumbersome operation process and difficulty in ensuring consistency and timeliness during repeated implementation. Summary of the invention

[0005] The embodiments described herein provide a method, system, and chip for chip trimming, in order to solve at least one of the problems existing in the prior art chip trimming technology, namely, cumbersome operation process, difficulty in ensuring consistency and timeliness during repeated implementation, and the like.

[0006] According to a first aspect of the present disclosure, a system for chip trimming is provided, the system comprising: an external resistor and a resistance transcoding module, wherein the external resistor comprises grounding resistors of different resistance values, the external resistor is configured to couple a grounding resistor of one resistance value to the resistance transcoding module through a multi-function pin of a chip according to a selection signal, the resistance transcoding module is an in-chip module, configured to identify the grounding resistor currently coupled to the multi-function pin according to a search algorithm during the chip startup phase, and output a digital code corresponding to the current grounding resistor, so that the chip can be adjusted according to the operating mode or performance parameter corresponding to the digital code.

[0007] Optionally, the resistance transcoding module includes: a digital logic unit, a digital-to-analog converter, and a comparator, wherein the digital logic unit is configured to initially generate a first digital control signal and send the first digital control signal to the digital-to-analog converter, then generate a next digital control signal according to the comparison result of the comparator, and send the next digital control signal to the digital-to-analog converter, until the current grounding resistance is identified, and then the digital code corresponding to the current grounding resistance is output according to all received comparison results; the digital-to-analog converter is configured to receive the digital control signal sent by the digital logic unit, and convert the digital control signal into a corresponding target current signal, one digital control signal corresponds to one target current signal, the target current signal is injected into the external resistor and generates a port voltage, and one target current signal corresponds to one port voltage; the comparator is coupled to the digital-to-analog converter and the multi-function pin, respectively, and the comparator is configured to receive each port voltage and a reference voltage, and compare each port voltage with the reference voltage to output each comparison result.

[0008] Optionally, the digital logic unit further includes: a register, wherein the digital logic unit sends the digital control signal to the digital-to-analog converter through the register.

[0009] Optionally, the target current signal corresponding to the first digital control signal is used to distinguish whether the current grounding resistance belongs to the resistance range determined by the first m / 2 resistors or the resistance range determined by the last m / 2 resistors, and the target current signal corresponding to each subsequent digital control signal is used to distinguish whether the current grounding resistance belongs to the resistance range determined by the first half of the resistance range determined previously or the resistance range determined by the last half of the resistance range, where m is the number of grounding resistors included in the external resistor, and m is 2 n , where n is a natural number, and the m grounding resistors are sorted in order of resistance value.

[0010] Optionally, the target current signal corresponding to the first digital control signal is I1: Wherein, Vref is the reference voltage, R m / 2 is the m / 2th grounding resistance, R m / 2+1 It is the m / 2+1th grounding resistance.

[0011] Optionally, the resistance transcoding module further includes: a clock module, wherein the clock module is coupled to the digital logic unit and is configured to provide a clock signal for the digital logic unit.

[0012] Optionally, the system further includes: a parsing module, wherein the parsing module is a chip built-in module, configured to receive the digital code output by the resistance transcoding module, and parse the digital code to obtain a working mode or performance parameter corresponding to the digital code.

[0013] According to a second aspect of the present disclosure, a method for chip trimming is provided, the method comprising: after a multi-function pin of a chip is coupled to a grounding resistor of any resistance value among the external resistors of the chip, identifying the resistance value of the current grounding resistor according to a search algorithm, and outputting a digital code corresponding to the current grounding resistor; parsing an operating mode or performance parameter of the chip corresponding to the digital code according to the digital code, so that the chip can be adjusted according to the operating mode or performance parameter.

[0014] Optionally, the resistance value of the current grounding resistor is identified according to the search algorithm, and the digital code corresponding to the current grounding resistor is output, including: initially generating a first digital control signal, and converting the first digital control signal through a digital-to-analog converter to obtain a target current signal corresponding to the first digital control signal; injecting the target current signal corresponding to the first digital control signal into the external resistor and generating a first port voltage; comparing the first port voltage with a reference voltage to obtain a first comparison result; then generating a next digital control signal according to each comparison result, and converting the next digital control signal through a digital-to-analog converter to obtain a target current signal corresponding to the next digital control signal, and then obtaining a next port voltage and a next comparison result, until the current grounding resistor is identified, and then outputting the digital code corresponding to the current grounding resistor according to all received comparison results.

[0015] Optionally, the target current signal corresponding to the first digital control signal is used to distinguish whether the current grounding resistance belongs to the resistance range determined by the first m / 2 resistors or the resistance range determined by the last m / 2 resistors, and the target current signal corresponding to each subsequent digital control signal is used to distinguish whether the current grounding resistance belongs to the resistance range determined by the first half of the resistance range determined previously or the resistance range determined by the last half of the resistance range, where m is the number of grounding resistors included in the external resistor, and m is 2 n, where n is a natural number, and the m grounding resistors are sorted in order of resistance value.

[0016] Optionally, the target current signal corresponding to the first digital control signal is I1: Wherein, Vref is the reference voltage, R m / 2 is the m / 2th grounding resistance, R m / 2+1 It is the m / 2+1th grounding resistance.

[0017] According to a third aspect of the present disclosure, a chip is provided, wherein the chip at least includes the system for chip trimming described in any one of the first aspects above.

[0018] The method and system for chip trimming in the embodiments of the present disclosure, and the chip can connect external resistors of different resistance values ​​to ground through multi-function pins. During the chip startup phase, the grounding resistor currently coupled to the multi-function pin is identified in real time according to the search algorithm through the built-in resistance transcoding module, and the digital code corresponding to the current grounding resistor is output. The chip can dynamically adjust the chip according to the working mode or performance parameter corresponding to the digital code. Compared with the existing chip trimming technology, the method for chip trimming in the embodiments of the present disclosure abandons the traditional cumbersome or irreversible trimming means, and instead adopts a resistor configuration method that is easy to operate, highly repeatable and highly reliable, which simplifies the trimming steps in the product production and maintenance process, and can better adapt to diverse application environments and evolving market needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly described below. It should be noted that the drawings described below only relate to some embodiments of the present disclosure, but are not intended to limit the present disclosure, wherein:

[0020] Figure 1 A schematic block diagram of a system for chip trimming according to an embodiment of the present disclosure is shown;

[0021] Figure 2 A schematic block diagram of another system for chip trimming according to an embodiment of the present disclosure is shown;

[0022] Figure 3 A schematic diagram showing an algorithm flow corresponding to a search algorithm according to an embodiment of the present disclosure;

[0023] Figure 4 A schematic block diagram of another system for chip trimming according to an embodiment of the present disclosure is shown;

[0024] Figure 5 A schematic block diagram of another system for chip trimming according to an embodiment of the present disclosure is shown;

[0025] Figure 6 A flow chart of a method for chip trimming according to an embodiment of the present disclosure is shown;

[0026] Elements in the drawings are schematic and not drawn to scale. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work also fall within the scope of protection of the present disclosure.

[0028] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by a person skilled in the art to which the subject matter of the present disclosure belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the specification and the relevant art, and will not be interpreted in an idealized or overly formal form unless otherwise explicitly defined herein. As used herein, a statement that two or more parts are "connected" or "coupled" together shall mean that the parts are joined together directly or through one or more intermediate components.

[0029] In all embodiments of the present disclosure, terms such as “first” and “second” are used only to distinguish one component (or a part of a component) from another component (or another part of a component).

[0030] In order to solve at least one of the problems existing in the existing chip trimming technology, such as the cumbersome operation process and the difficulty in ensuring consistency and timeliness during repeated implementation, a more convenient and flexible dynamic adjustment method for chip trimming is proposed. The method for chip trimming of the embodiment of the present disclosure is intended to simplify the adjustment process of later chip versions or functions, while improving its operational repeatability and stability, so as to overcome the shortcomings of the prior art and make the application of a single chip more extensive and diverse. The method for chip trimming disclosed in the present disclosure is described in detail below.

[0031] Figure 1 FIG. 1 is a schematic block diagram of a system 100 for chip trimming according to an embodiment of the present disclosure. Figure 1 As shown, the system 100 for chip trimming includes: an external resistor 110 and a resistor transcoding module 120. In addition, Figure 1 The chip IC and some other pins of the chip IC, such as VIN, EN, PGND, etc., are also shown. It should be noted that: Figure 1 This is a schematic diagram. In actual applications, other pins of the chip IC are not affected. Figure 1 restrictions.

[0032] Among them, the external resistor 110 is an external resistor of the chip, and the external resistor 110 includes grounding resistors with different resistance values, that is, the external resistor 110 can provide grounding resistors with different resistance values. The external resistor 110 is configured to couple a grounding resistor with a resistance value to the resistance transcoding module 120 through the multi-function pin Mulitifunction pin of the chip according to an external selection signal. The embodiment of the present disclosure is to achieve the adjustment of the working mode or performance parameters inside the chip through the selection of the external resistor, thereby realizing the modification of the version and function. In practical applications, grounding resistors with different resistance values ​​correspond to different working modes or performance parameters. Therefore, when the working mode or performance parameters of the chip need to be adjusted, different working modes or performance parameters can be adjusted by selecting different grounding resistors. When selecting, the operator can select the corresponding grounding resistors with different resistance values ​​through the operation interface or switch in the chip startup stage according to the working mode or performance parameter to be adjusted, and then generate a selection signal. After receiving the selection signal, the external resistor 110 will couple the corresponding grounding resistor to the resistance transcoding module 120 inside the chip through the multi-function pin Mulitifunction pin of the chip. The number of grounding resistors with different resistance values ​​in the external resistor 110 can be adaptively adjusted according to actual needs.

[0033] The resistance transcoding module 120 is a chip built-in module, which is configured to identify the grounding resistance currently coupled to the multi-function pin according to the search algorithm during the chip startup phase, and output the digital code D corresponding to the current grounding resistance. Different digital codes D are configured to correspond to different working modes or performance parameters (working modes or performance parameters corresponding to different grounding resistances), so that after the resistance transcoding module 120 outputs the digital code D corresponding to the grounding resistance, the chip can parse the corresponding working mode or performance parameter through the internal digital logic algorithm, so that the chip can make internal adjustments according to the parsed working mode or performance parameter, thereby achieving the effect of accurately regulating the internal state of the chip according to the signal set by the external resistance. The resistance transcoding module 120 in this embodiment can also be called a resistance to digital code module (Resistance to digital, R2D)

[0034] From the above description, it can be seen that the system 100 for chip trimming in the embodiment of the present disclosure can connect external resistors 110 of different resistance values ​​to the ground through the multi-function pin Mulitifunction pin. In the chip startup stage, the grounding resistance currently coupled to the multi-function pin Mulitifunction pin is identified in real time according to the search algorithm through the built-in resistance transcoding module 120, and the digital code D corresponding to the current grounding resistance is output. The chip can dynamically adjust the chip according to the working mode or performance parameter corresponding to the digital code D. Compared with the existing chip trimming technology, the method for chip trimming in the embodiment of the present disclosure abandons the traditional cumbersome or irreversible trimming means, and instead adopts a resistor configuration method that is easy to operate, highly repeatable and highly reliable, which simplifies the trimming steps in the product production and maintenance process, and can better adapt to diverse application environments and evolving market needs.

[0035] Further, such as Figure 2 As shown, the resistance transcoding module 120 includes: a digital logic unit 121, a digital-to-analog converter 122, and a comparator 123. Among them, the digital logic unit 121 is an algorithm unit for implementing the search algorithm. It accurately controls the digital-to-analog converter 122 to generate a target current signal I by receiving the comparison result fed back by the comparator 123, and then the target current signal I is injected into the external resistor 110 to generate a corresponding voltage value (port voltage V1), and the voltage value is compared with the reference voltage Vref preset inside the chip through the comparator 123, and the comparison result is output. The comparator 123 then feeds the comparison result back to the digital logic unit 121, thereby realizing the identification of the current grounding resistance in the external resistor, and finally outputs the corresponding decoding result (digital code). The working principles of the digital logic unit 121, the digital-to-analog converter 122, and the comparator 123 are described in detail below:

[0036] Among them, the digital logic unit 121 is configured to initially generate a first digital control signal and send the first digital control signal to the digital-to-analog converter 122, then generate the next digital control signal according to the comparison result of the comparator 123, and send the next digital control signal to the digital-to-analog converter 122, until the current grounding resistance is identified, and then output the digital code D corresponding to the current grounding resistance according to all received comparison results.

[0037] The digital-to-analog converter 122 is configured to receive all digital control signals sent by the digital logic unit 121, and convert the digital control signals into corresponding target current signals I, one digital control signal corresponds to one target current signal I, the target current signal I is injected into the external resistor 110 and generates a port voltage V1, one target current signal I corresponds to one port voltage V1; in order to ensure precise control, the comparator 123 in the embodiment of the present disclosure is a high-precision comparator. Furthermore, if the external resistor 110 includes m grounding resistors with different resistance values, m is 2 n , where n is a natural number, and the m grounding resistors are sorted in order according to the resistance value, then the target current signal I corresponding to the first digital control signal is Among them, R m / 2 is the m / 2th grounding resistance, R m / 2+1 is the m / 2+1th grounding resistor. That is, the target current signal I1 corresponding to the first digital control signal is used to distinguish whether the current grounding resistor belongs to the resistance range determined by the first m / 2 resistors or the resistance range determined by the last m / 2 resistors, and the target current signal I corresponding to each subsequent digital control signal is used to distinguish whether the current grounding resistor belongs to the resistance range determined by the first half of the resistance of the previous determined resistance range or the resistance range determined by the last half of the resistance.

[0038] The comparator 123 is coupled to the digital-to-analog converter 122 and the multi-function pin, respectively. The comparator 123 is configured to receive each port voltage V1 and a reference voltage Vref preset inside the chip, and compare each port voltage V1 with the reference voltage Vref to output each comparison result.

[0039] Further, the working principle of the resistance transcoding module 120 in the embodiment of the present disclosure is described with reference to specific examples:

[0040] Assume that the external resistor 110 includes 8 grounding resistors with different resistance values, which are R1 to R8 in order from small to large resistance values, and the current grounding resistor is R3. In the chip startup phase, the digital logic unit 121 in the resistance transcoding module 120 first generates a first digital control signal and sends the first digital control signal to the digital-to-analog converter 122. The digital-to-analog converter 122 generates a first target current signal according to the first digital control signal. I1 is injected into the external resistor 110, then the voltage on the multi-function pin, that is, the port voltage V1, is: Since R4 + R5 > 2 * R3, then V1 < Vref. Therefore, the comparison result output by comparator 123 is the low level "0", which also indicates that the resistance value of the current grounding resistor is within the range of R1 to R4. Then, digital logic unit 121 generates a second digital control signal according to the comparison result "0" and sends the second digital control signal to digital-to-analog converter 122. Digital-to-analog converter 122 generates a second target current signal according to the second digital control signal. When I2 is injected into external resistor 110, the voltage on the multifunction pin port at this time, that is, port voltage V1, is: Since R2 + R3 < 2 * R3, then V1 > Vref. Therefore, the comparison result output by comparator 123 is the high level "1", which also indicates that the resistance value of the current grounding resistor is within the range of R3 to R4. Then, digital logic unit 121 generates a third digital control signal according to the comparison result "1" and sends the third digital control signal to digital-to-analog converter 122. Digital-to-analog converter 122 generates a third target current signal according to the third digital control signal. When I3 is injected into external resistor 110, the voltage on the multifunction pin port at this time, that is, port voltage V1, is: Since R4 + R3 > 2 * R3, then V1 < Vref. Therefore, the comparison result output by comparator 123 is the low level "0", which also indicates that the resistance value of the current grounding resistor is R3. Thus, the current grounding resistor is identified, and the comparison results "010" output by comparator 123 three times are used as the digital code D corresponding to the current grounding resistor for output.

[0041] Further, as Figure 3 shown, the algorithm flow diagram corresponding to the search algorithm in the above example is given. Among them, R1 to R8 are arranged in ascending order, and R represents the current grounding resistor. First, in the algorithm, I1 is used to distinguish whether the current grounding resistor in external resistor 110 is within the range of R1 to R4 or within the range of R5 to R8. To ensure that the maximum tolerance range can be reserved for external resistor 110, the product of I1 and R4 and R5 should be evenly distributed on both sides of Vref, that is:

[0042] Vref - I1 * R4 = I1 * R5 - Vref

[0043] 2 * Vref = I1 * R4 + I1 * R5

[0044]

[0045] Afterwards, the judgment condition for the search path is "if R*I > Vref, it is 1; if R*I < Vref, it is 0, where I is any one of the currents I1 to I7". That is, when the voltage V1 generated by injecting I1 into the external resistor 110 is lower than Vref, the search algorithm will control the digital-to-analog converter 122 to generate I3, and the I3 current is used to distinguish whether the current grounding resistor is in the range of R1 to R2 or in the range of R3 to R4. When the voltage V1 generated by injecting I1 into the external resistor 110 is higher than Vref, the search algorithm will control the digital-to-analog converter 122 to generate I2, and the I2 current is used to distinguish whether the current grounding resistor is in the range of R5 to R6 or in the range of R7 to R8. Using the same calculation method as I1, we can obtain: Afterwards, continue to search downward according to the above judgment conditions until the current grounding resistor can be determined. Among them, the currents required during the search process

[0046] Combined with Figure 3 It can be seen that in the above example, the recognition process of a certain resistor in the external resistor 110 composed of 8 grounding resistors with different resistance values only needs to generate three target current signals I. The three target current signals I corresponding to R3 in the above example are I1, I3, and I6. Similarly, if the current grounding resistor is R5, the corresponding three target current signals I are I1, I2, and I5. And so on, if the number of grounding resistors with different resistance values included in the external resistor 110 is m = 2 n , then n target current signals I need to be generated to identify a grounding resistor. It should be noted that during the circuit design stage, the design of the digital control signal corresponding to the target current signal I needs to be carried out according to the number of bits of the digital-to-analog converter 122 and the value of the target current signal I to be generated.

[0047] Furthermore, as Figure 4 shown, the digital logic unit 121 further includes: a register (not shown in the figure). Among them, the digital logic unit 121 sends the digital control signal to the digital-to-analog converter 122 through the register. The resistor transcoding module 120 further includes: a clock module 124. Among them, the clock module 124 is coupled to the digital logic unit 121 and is configured to provide a clock signal clk for the digital logic unit 121. It should be noted that in order to ensure the accuracy and real-time performance of the system, the clock module 124 needs to be implemented by a clock generation circuit with high stability.

[0048] Furthermore, as Figure 5As shown, the system 100 for chip trimming also includes: an analysis module 130, wherein the analysis module 130 is a chip built-in module, and the analysis module 130 is configured to receive the digital code D output by the resistance transcoding module 120, and analyze the digital code D to obtain a working mode or performance parameter corresponding to the digital code D.

[0049] like Figure 6 As shown, another embodiment of the present disclosure further provides a method 200 for chip adjustment, the method comprising: S201. After the multi-function pin of the chip is coupled to a grounding resistor of any resistance value among the external resistors of the chip, the resistance value of the current grounding resistor is identified according to a search algorithm, and a digital code corresponding to the current grounding resistor is output; S202. According to the digital code, an operating mode or performance parameter of the chip corresponding to the digital code is parsed; so that the chip can be adjusted according to the operating mode or performance parameter. Figure 6 The method in the embodiment is a method applied to the system 100 for chip trimming in the aforementioned embodiment, wherein step S201 is implemented by the resistance transcoding module 120 , and step S202 is implemented by the parsing module 130 .

[0050] Furthermore, in step S201, the resistance value of the current grounding resistor is identified according to the search algorithm, and the digital code D corresponding to the current grounding resistor is output, including: initially generating a first digital control signal, and converting the first digital control signal through the digital-to-analog converter 122 to obtain a target current signal I corresponding to the first digital control signal; injecting the target current signal I corresponding to the first digital control signal into the external resistor 110 and generating a first port voltage V1; comparing the first port voltage V1 with the reference voltage Vref to obtain a first comparison result; then generating the next digital control signal according to each comparison result, and converting the next digital control signal through the digital-to-analog converter 122 to obtain the target current signal I corresponding to the next digital control signal, and then obtaining the next port voltage V1 and the next comparison result, until the current grounding resistor is identified, and then outputting the digital code D corresponding to the current grounding resistor according to all received comparison results.

[0051] If the number of grounding resistors with different resistance values ​​included in the external resistor 110 is m, and m is 2 n, where n is a natural number, and the m grounding resistors are sorted in order according to the size of the resistance value, then the target current signal I corresponding to the first digital control signal is used to distinguish whether the current grounding resistance belongs to the resistance range determined by the first m / 2 resistors or the resistance range determined by the last m / 2 resistors, and the target current signal corresponding to each subsequent digital control signal is used to distinguish whether the current grounding resistance belongs to the resistance range determined by the first half of the resistance range determined by the previous one or the resistance range determined by the last half of the resistance. The target current signal I corresponding to the first digital control signal is Wherein, Vref is the reference voltage, R m / 2 is the m / 2th grounding resistance, R m / 2+1 It is the m / 2+1th grounding resistance.

[0052] From the above description, it can be seen that in the chip startup phase, the method for chip trimming in the disclosed embodiment uses a built-in resistance transcoding module to identify the grounding resistance currently coupled to the multi-function pin in real time according to the search algorithm, and outputs a digital code corresponding to the current grounding resistance. The chip can dynamically adjust the chip according to the working mode or performance parameter corresponding to the digital code. Compared with the existing chip trimming technology, the method for chip trimming in the disclosed embodiment abandons the traditional cumbersome or irreversible trimming methods, and instead adopts a resistance configuration method that is easy to operate, highly repeatable and highly reliable, which simplifies the trimming steps in the product production and maintenance process, and can better adapt to diverse application environments and evolving market demands.

[0053] It should be noted that for more specific implementations involved in each step in the embodiments of the present disclosure, reference may be made to the related descriptions in the aforementioned system for chip tuning, which will not be described in detail here.

[0054] The embodiment of the present disclosure also provides a chip, which at least includes the above-mentioned system 100 for chip adjustment, so that the version or function can be adjusted by the system 100 for chip adjustment, which is easy to operate, highly repeatable and reliable. The chip in the embodiment of the present disclosure is a chip that needs to have version or function adjustment later, such as a power switch chip (boost converter Boost DC-DC, buck converter Buck DC-DC), etc.

[0055] In summary, the chip trimming method in the embodiment of the present invention adopts a resistance configuration method that is easy to operate, highly repeatable and reliable, simplifies the trimming steps in the product production and maintenance process, and improves the convenience and flexibility of chip version optimization and function adjustment.

[0056] Unless the context clearly indicates otherwise, the singular form of the words used herein and in the appended claims includes the plural and vice versa. Thus, when referring to the singular, the plural form of the corresponding term is generally included. Similarly, the words "comprise" and "include" are to be interpreted as inclusive rather than exclusive. Likewise, the terms "include" and "or" should be interpreted as inclusive, unless such interpretation is expressly prohibited herein. Where the term "example" is used herein, particularly when it is placed after a group of terms, "example" is merely exemplary and illustrative and should not be considered exclusive or comprehensive.

[0057] Further aspects and scopes of adaptability become apparent from the description provided herein. It should be understood that various aspects of the present disclosure can be implemented individually or in combination with one or more other aspects. It should also be understood that the description and specific embodiments herein are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure.

[0058] Several embodiments of the present disclosure are described in detail above, but it is obvious that those skilled in the art can make various modifications and variations to the embodiments of the present disclosure without departing from the spirit and scope of the present disclosure. The protection scope of the present disclosure is defined by the attached claims.

Claims

1. A system for chip trimming, characterized in that: The system includes: an external resistor, a resistor transcoding module, The external resistor includes grounding resistors with different resistance values, and the external resistor is configured to couple a grounding resistor with a certain resistance value to the resistance transcoding module through a multi-function pin of the chip according to a selection signal. The resistance conversion module is an in-chip module, which is configured to identify the ground resistance currently coupled to the multi-function pin according to a search algorithm during the chip startup phase, and output a digital code corresponding to the current ground resistance, so that the chip can adjust the chip according to the working mode or performance parameters corresponding to the digital code.

2. The system for chip trimming according to claim 1, characterized in that: The resistance transcoding module includes: a digital logic unit, a digital-to-analog converter, and a comparator. The digital logic unit is configured to initially generate a first digital control signal and send the first digital control signal to the digital-to-analog converter, then generate a next digital control signal according to the comparison result of the comparator, and send the next digital control signal to the digital-to-analog converter, until the current grounding resistance is identified, and then output a digital code corresponding to the current grounding resistance according to all received comparison results; The digital-to-analog converter is configured to receive the digital control signal sent by the digital logic unit, and convert the digital control signal into a corresponding target current signal, one digital control signal corresponds to one target current signal, the target current signal is injected into the external resistor and generates a port voltage, and one target current signal corresponds to one port voltage; The comparator is coupled to the digital-to-analog converter and the multi-function pin respectively. The comparator is configured to receive each port voltage and a reference voltage, and compare each port voltage with the reference voltage to output each comparison result.

3. The system for chip trimming according to claim 2, characterized in that: The digital logic unit further comprises: a register, Wherein, the digital logic unit sends the digital control signal to the digital-to-analog converter through a register.

4. The system for chip trimming according to claim 3, characterized in that: The target current signal corresponding to the first digital control signal is used to distinguish whether the current grounding resistance belongs to the resistance range determined by the first m / 2 resistors or the resistance range determined by the last m / 2 resistors, and the target current signal corresponding to each subsequent digital control signal is used to distinguish whether the current grounding resistance belongs to the resistance range determined by the first half of the resistors of the previous determined resistance range or the resistance range determined by the last half of the resistors, where m is the number of grounding resistors included in the external resistor, and m is 2 n , where n is a natural number, and the m grounding resistors are sorted in order of resistance value.

5. The system for chip trimming according to claim 4, characterized in that: The target current signal corresponding to the first digital control signal is I1: Wherein, Vref is the reference voltage, R m / 2 is the m / 2th grounding resistance, R m / 2+1 It is the m / 2+1th grounding resistance.

6. The system for chip trimming according to claim 3, characterized in that: The resistance transcoding module further includes: a clock module, The clock module is coupled to the digital logic unit and is configured to provide a clock signal for the digital logic unit.

7. The system for chip trimming according to any one of claims 1 to 6, characterized in that: The system further comprises: a parsing module, The analysis module is a chip built-in module, which is configured to receive the digital code output by the resistance transcoding module and analyze the digital code to obtain the working mode or performance parameter corresponding to the digital code.

8. A method for chip trimming, characterized in that: The method comprises: After the multi-function pin of the chip is coupled to a grounding resistor of any resistance value among the external resistors of the chip, the resistance value of the current grounding resistor is identified according to the search algorithm, and a digital code corresponding to the current grounding resistor is output; The working mode or performance parameter of the chip corresponding to the digital code is parsed according to the digital code, so that the chip can be adjusted according to the working mode or performance parameter.

9. The method for chip trimming according to claim 8, characterized in that: The method of identifying the resistance value of the current grounding resistance according to the search algorithm and outputting the digital code corresponding to the current grounding resistance includes: Initially generate a first digital control signal, and convert the first digital control signal through a digital-to-analog converter to obtain a target current signal corresponding to the first digital control signal; inject the target current signal corresponding to the first digital control signal into the external resistor to generate a first port voltage; compare the first port voltage with a reference voltage to obtain a first comparison result; Then, the next digital control signal is generated according to each comparison result, and the next digital control signal is converted through a digital-to-analog converter to obtain a target current signal corresponding to the next digital control signal, and then the next port voltage and the next comparison result are obtained, until the current grounding resistance is identified, and the digital code corresponding to the current grounding resistance is output according to all the received comparison results.

10. A chip, characterized in that: The chip at least includes the system for chip trimming according to any one of claims 1 to 7.