Linear charging current trimming circuit and trimming method thereof
By using the reference voltage and adjustable resistor calculation control words in the linear charging management chip, adjusting the resistance value to achieve accurate adjustment of the charging current, solving the problems of low accuracy of charging current and high repair cost in the prior art. Extends the service life of the chip probe and reduces the repair time.
Patent Information
- Application Number
- CN202410290723.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-14
- Publication Date
- 2024-11-08
AI Technical Summary
During the repair and adjustment process, the charging current accuracy of the existing linear charging management chips is low due to circuit characteristics or process deviations, which increases the problem of short service life of the chip probe, high repair and long time.
A linear charging current adjustment circuit, including reference voltage VREF and register M bit reg, is used to detect the reference voltage and adjustable resistor, calculate the adjustment control word and adjust the resistance value, so as to achieve accurate adjustment of the charging current, reducing the correctness and Chip probe dependence and frequent replacement.
It improves the service life of the chip probe, reduces the repair cost and time, and ensures the accuracy and adjustability of the multi-speed charging current.
Smart Images

Figure CN118920623A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of linear charging technology, and in particular to a linear charging current adjustment circuit and an adjustment method thereof. Background Art
[0002] As chargers are widely used in people's lives, linear charging management chips, as the core chips of chargers, are also constantly developing. The main indicators of linear charging management chips are the number of charging current gears and the accuracy of each charging current gear. Generally, there are four charging current gears and the actual deviation of each charging current value is within ±10%. In the case of supporting multi-gear adjustable charging current, the accuracy of each charging current gear needs to be guaranteed through adjustment. Because circuit characteristics or process deviations can cause large changes in charging current values, it is necessary to measure the charging current value of each chip through a chip probe during the wafer-level CP (chip probe) test phase, adjust, and measure again, and so on.
[0003] In the prior art, during actual adjustment, circuit characteristics or process deviations can cause large changes in the charging current value, resulting in low accuracy of the charging current. Measuring the charging current through a chip probe shortens the service life of the chip probe and increases the adjustment cost. Frequent replacement of the chip probe also increases the adjustment time. This results in high adjustment costs and long time consumption.
[0004] For example, the "wafer-level chip trimming method and circuit" disclosed in the Chinese patent literature has a publication number of CN117276103A and an application date of June 14, 2022. The invention discloses a wafer-level chip trimming method and circuit. The trimming method includes: at the beginning of the trimming, the current load output unit is charged by the tester power supply; at the fuse melting stage, the fuse is powered by the current load output unit, so that the fuse voltage is instantly increased, and the fuse is completely melted to perform wafer-level chip trimming. Through the switch unit, the instantaneous switching from the beginning of the trimming to the fuse melting stage can be achieved. At the moment of switching, the fuse is powered by the current load output unit, which can increase the fuse voltage, so that the fuse instantly obtains a large voltage, burns out completely, and has a good melting effect, but there are problems of high trimming cost and long time consumption. Summary of the invention
[0005] In view of the shortcomings of the prior art that the adjustment cost is high and the adjustment time is long, the present invention proposes a linear charging current adjustment circuit and an adjustment method thereof, which can increase the service life of the chip probe and reduce the adjustment cost. At the same time, there is no need to frequently replace the chip probe, thereby reducing the adjustment time.
[0006] The following is the technical solution of the present invention, a linear charging current trimming circuit, comprising: a reference voltage VREF and a register M bit reg, the outputs of the reference voltage VREF and the register M bit reg are connected to an adjustable resistor R <m-1:0>The input adjustable resistor R <m-1:0>The outputs are respectively connected to the inputs of the logic adjustment circuit L1 and the current amplifier circuit A1. The output of the logic adjustment circuit L1 is connected to the input of the register Mbitreg, and the output of the current amplifier circuit A1 is connected to the lithium battery BAT.
[0007] As a preferred embodiment, the number of bits of register M bitreg and the adjustable resistor R <m-1:0>The number of gears is the same.
[0008] Preferably, the register M bitreg is an 8-bit or 16-bit register.
[0009] Preferably, the input end of the current amplifier circuit A1 is connected to the output end of the configurable reference current module, and the output end of the current amplifier circuit A1 is connected to the positive electrode of the lithium battery BAT.
[0010] Preferably, the chip is provided with a chip probe, and the chip probe detects the reference voltage and the resistance value of the adjustable resistor.
[0011] A method for adjusting a linear charging current adjusting circuit comprises the following steps:
[0012] S1. Determine the chip charging current gear;
[0013] S2, detecting the reference voltage and adjustable resistance value through the chip probe;
[0014] S3, calculating the trimming control word based on the reference voltage and the adjustable resistance, obtaining the actual trimming control word based on the trimming control word, and burning the actual trimming control word into the register;
[0015] S4. The register adjusts the resistance value based on the actual trimming control word, and calculates and adjusts the charging current.
[0016] Preferably, in S3, the trimming control word is calculated based on the reference voltage and the adjustable resistance, and the expression is as follows:
[0017]
[0018] In the above formula, △ave is the charging current gear step, RX is the resistance gear, IX is the current gear, VP is the default reference voltage, A is the ratio of the number of PMOS tubes M2 and M1 in the current amplifier circuit A1, CODEX is the default adjustment control word gear, CODE is the adjustment control word, RX′ is the adjustable resistance value measured at the default adjustment control word gear, and VP′ is the reference voltage measured at the default adjustment control word gear.
[0019] Preferably, in S3, the method for obtaining the actual trimming control word based on the trimming control word is: rounding the trimming control word to obtain the actual trimming control word.
[0020] Preferably, in S4, the charging current is calculated using the following expression:
[0021]
[0022] In the above formula, △ave is the charging current gear step, RX is the resistance gear, VP is the default reference voltage, A is the ratio of the number of PMOS tubes M2 and M1 in the current amplifier circuit A1, CODEX is the default adjustment control word gear, CODE′ is the actual adjustment control word, RX′ is the adjustable resistance value measured at the default adjustment control word gear, and VP′ is the reference voltage measured at the default adjustment control word gear.
[0023] Beneficial effects of the present invention:
[0024] 1. A logic adjustment method is proposed, and combined with the method of expanding the charging current gear, the multi-gear charging current can be adjusted, while also ensuring the accuracy of each gear charging current;
[0025] 2. When adjusting each chip, the chip probe only needs to measure a voltage value and a resistance value, and does not need to measure the charging current value, which increases the service life of the chip probe and reduces the adjustment cost;
[0026] 3. At the same time, there is no need to frequently replace the chip probe, which reduces the adjustment time. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a schematic diagram of a linear charging current adjustment circuit of the present invention;
[0028] Figure 2 It is a structural schematic diagram of a linear charging current adjustment circuit of the present invention;
[0029] Figure 3 It is a reference current configuration module diagram of a linear charging current trimming circuit of the present invention;
[0030] Figure 4 It is a current amplifier circuit A1 diagram of a linear charging current trimming circuit of the present invention;
[0031] Figure 5 The invention discloses a flow chart of a method for adjusting a linear charging current adjusting circuit. DETAILED DESCRIPTION
[0032] In order to make the technical problems solved by the present invention, the technical solutions adopted and the technical effects achieved clearer, the technical solutions of the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0033] Embodiment 1
[0034] like Figure 1 As shown, a linear charging current trimming circuit includes: a reference voltage VREF and a register Mbit reg, the outputs of the reference voltage VREF and the register M bitreg are connected to an adjustable resistor R <m-1:0>The input adjustable resistor R <m-1:0>The outputs are respectively connected to the inputs of the logic adjustment circuit L1 and the current amplifier circuit A1. The output of the logic adjustment circuit L1 is connected to the input of the register M bit reg, and the output of the current amplifier circuit A1 is connected to the lithium battery BAT.
[0035] Wherein, M represents the number of bits of the register, and M-1 is the gear number of the adjustable resistor.
[0036] like Figure 2 As shown, when the register M bitreg is a register 16bit reg, the adjustable resistance R<15:0> is used, wherein the register is 16bit reg. It should be noted that 16bit is only for the convenience of discussion and analysis in this embodiment, and the number of bits required for actual application is within the protection scope of this patent.
[0037] The reference voltage VREF output is connected to the adjustable resistor R<15:0>, the adjustable resistor R<15:0> output is respectively connected to the logic adjustment circuit L1 and the current amplifier circuit A1, the logic adjustment circuit L1 output is connected to the register 16bitreg input, the register 16bitreg output is connected to the adjustable resistor R<15:0>, and the current amplifier circuit A1 output is connected to the lithium battery BAT.
[0038] like Figure 3 As shown, the adjustable resistor R<15:0> is adjusted to 16 levels of resistance by the register 16bit reg, and the reference voltage VREF is applied to the adjustable resistor R<15:0> to generate a configured reference current I_in.
[0039] like Figure 4 As shown, the current amplifier circuit A1 is provided with PMOS tubes M2 and M1, and the input end of the current amplifier circuit A1 is connected to the output end of the configurable reference current module, thereby receiving current from the current output end of the configurable reference current module, thereby the received reference current I_in is multiplied and mirrored by the current amplifier circuit A1 to achieve milliampere-level current output. The output end of the current amplifier circuit A1 is connected to the positive electrode of the lithium battery BAT, thereby converting the amplified reference current into the actual charging current I_out, and then charging the lithium battery BAT.
[0040] Embodiment 2
[0041] like Figure 5 As shown, a method for adjusting a linear charging current adjustment circuit comprises the following steps:
[0042] S1. Determine the chip charging current gear;
[0043] S2, detecting the reference voltage and adjustable resistance value through the chip probe;
[0044] S3, calculating the trimming control word based on the reference voltage and the adjustable resistance, obtaining the actual trimming control word based on the trimming control word, and burning the actual trimming control word into the register;
[0045] S4. The register adjusts the resistance value based on the actual trimming control word, and calculates and adjusts the charging current.
[0046] After determining the design indicators of the chip charging current (such as the gear position), the reference voltage corresponding to the default control word and the actual resistance value of the adjustable resistor R<15:0> are detected through the chip probe, and the required adjustment control word is calculated based on the measured reference voltage value and the actual resistance value. The actual adjustment control word is obtained based on the adjustment control word, and the actual adjustment control word is burned into the register. The register outputs a binary code based on the actual adjustment control word to adjust the resistance value of the adjustable resistor, thereby adjusting the charging current.
[0047] In step S3, the adjustment control word is calculated based on the reference voltage and the adjustable resistance. The adjustable resistance R<15:0> is composed of 16 resistance gears, namely R0, R1, R2 to R15. Each charging current gear corresponds to each resistance gear RX (X corresponds to the gear number); each charging current gear corresponds to a charging current IX (X corresponds to the gear number).
[0048] The calculation formula is as follows:
[0049]
[0050]
[0051] In the above formula, △ave is the charging current gear step, RX is the resistance gear, IX is the current gear, VP is the default reference voltage, A is the ratio of the number of PMOS tubes M2 and M1 in the current amplifier circuit A1, CODEX is the default adjustment control word gear, CODE is the adjustment control word, IX′ is the actual charging current after adjustment, RX′ is the adjustable resistance measured at the default adjustment control word gear, and VP′ is the reference voltage measured at the default adjustment control word gear.
[0052] After calculating the actual trimming control word CODE, the calculated trimming control word CODE is rounded off to get the actual trimming control word CODE′, and the actual trimming control word CODE′ is burned into the register 16bit reg. By adjusting the resistance value of the adjustable resistor R<15:0>, the charging current can be adjusted to the design target value and the charging current deviation is within ±10%.
[0053] Implementation plan: With the charging current gear step preset to 30mA as one gear, the charging current can be increased from 290mA to 740mA in 16 gears with a step of 30mA per gear. The default adjustment control word corresponds to the 8th gear. The ratio of the number of PMOS tubes M2 and M1 in the current amplifier circuit A1 is 200. The default reference voltage VREF is 1.2V, the default resistance value of the adjustable resistor R<15:0> is 480Ω, the measured reference voltage is 1.25V, and the measured resistance value of the adjustable resistor R<15:0> is 550Ω.
[0054] Based on the above real-time scenario, we can get:
[0055] Δave=0.03, CODEX=7, RX=480, IX=0.5, A=200, VP=1.2, RX'=550, VP'=1.25.
[0056] Substitute into formula (1) to calculate:
[0057]
[0058] By rounding off, the actual adjustment control word CODE′=9 is obtained, that is, the default gear position is adjusted upward by two gears.
[0059] The actual charging current after adjustment is calculated as:
[0060]
[0061] Therefore, after this adjustment, when the design charging current is 500mA, the deviation between the actual charging current and the design value is within ±10%.
[0062] In this example, the charging current can meet the design indicators of the four gears of 350mA, 400mA, 500mA and 650mA and make the deviation between the actual charging current and the charging current of the corresponding four gears within ±10%.
[0063] The present invention proposes a logic adjustment method, and combines it with a method for expanding the charging current gear, so as to realize the adjustable charging current of multiple gears, and also ensure the accuracy of each charging current; when adjusting each chip, the chip probe only needs to measure a voltage value and a resistance value, and does not need to measure the charging current value, which increases the service life of the chip probe and reduces the adjustment cost. At the same time, there is no need to frequently replace the chip probe, which also reduces the adjustment time.
[0064] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0065] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A linear charging current adjustment circuit, characterized in that: include: The reference voltage VREF and the register Mbit reg, the output of the reference voltage VREF and the register M bitreg are connected to the adjustable resistor R <m-1:0>The input adjustable resistor R <m-1:0> The outputs are connected to the inputs of the logic adjustment circuit L1 and the current amplifier circuit A1 respectively. The output of the logic adjustment circuit L1 is connected to the input of the register M bit reg, and the output of the current amplifier circuit A1 is connected to the lithium battery BAT.< / m-1:0> 2. A linear charging current trimming circuit according to claim 1, characterized in that: The number of bits of register Mbit reg and the adjustable resistor R <m-1:0> The number of gears is the same.< / m-1:0> 3. A linear charging current trimming circuit according to claim 1 or 2, characterized in that: The register Mbitreg is an 8-bit or 16-bit register.
4. A linear charging current trimming circuit according to claim 1, characterized in that: The input end of the current amplifier circuit A1 is connected to the output end of the configurable reference current module, and the output end of the current amplifier circuit A1 is connected to the positive electrode of the lithium battery BAT.
5. A linear charging current trimming circuit according to claim 1 or 4, characterized in that: The chip is provided with a chip probe, and the chip probe detects the reference voltage and the resistance value of the adjustable resistor.
6. A method for adjusting a linear charging current adjusting circuit, applicable to a linear charging current adjusting circuit as claimed in any one of claims 1 to 5, characterized in that: The following steps are involved: S1. Determine the chip charging current gear; S2, detecting the reference voltage and adjustable resistance value through the chip probe; S3, calculating the trimming control word based on the reference voltage and the adjustable resistance, obtaining the actual trimming control word based on the trimming control word, and burning the actual trimming control word into the register; S4. The register adjusts the resistance value based on the actual trimming control word, and calculates and adjusts the charging current.
7. A linear charging current trimming circuit according to claim 6, characterized in that: In S3, the trimming control word is calculated based on the reference voltage and the adjustable resistance, and the expression is as follows: In the above formula, △ave is the charging current gear step, RX is the resistance gear, IX is the current gear, VP is the default reference voltage, A is the ratio of the number of PMOS tubes M2 and M1 in the current amplifier circuit A1, CODEX is the default adjustment control word gear, CODE is the adjustment control word, RX′ is the adjustable resistance value measured at the default adjustment control word gear, and VP′ is the reference voltage measured at the default adjustment control word gear.
8. A linear charging current trimming circuit according to claim 6, characterized in that: In S3, the method of obtaining the actual trimming control word based on the trimming control word is: rounding the trimming control word to obtain the actual trimming control word.
9. A linear charging current trimming circuit according to claim 6 or 7, characterized in that: In S4, the charging current is calculated as follows: In the above formula, △ave is the charging current gear step, RX is the resistance gear, VP is the default reference voltage, A is the ratio of the number of PMOS tubes M2 and M1 in the current amplifier circuit A1, CODEX is the default adjustment control word gear, CODE′ is the actual adjustment control word, RX′ is the adjustable resistance value measured at the default adjustment control word gear, and VP′ is the reference voltage measured at the default adjustment control word gear.
Citation Information
Patent Citations
Wafer-level chip trimming method and circuit
CN117276103A
