CN112578843A - Voltage trimming method and system based on integrated circuit - Google Patents
Voltage trimming method and system based on integrated circuit Download PDFInfo
- Publication number
- CN112578843A CN112578843A CN201910933863.7A CN201910933863A CN112578843A CN 112578843 A CN112578843 A CN 112578843A CN 201910933863 A CN201910933863 A CN 201910933863A CN 112578843 A CN112578843 A CN 112578843A
- Authority
- CN
- China
- Prior art keywords
- trimming
- voltage
- precision
- value
- relative
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000009966 trimming Methods 0.000 title claims abstract description 322
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000012986 modification Methods 0.000 claims abstract description 42
- 230000004048 modification Effects 0.000 claims abstract description 42
- 238000012545 processing Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000003321 amplification Effects 0.000 description 3
- 238000012937 correction Methods 0.000 description 3
- 238000003199 nucleic acid amplification method Methods 0.000 description 3
- 101150093559 TRIM2 gene Proteins 0.000 description 1
- 101150036597 TRIM3 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05F—SYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
- G05F1/00—Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
- G05F1/10—Regulating voltage or current
- G05F1/625—Regulating voltage or current wherein it is irrelevant whether the variable actually regulated is AC or DC
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Automation & Control Theory (AREA)
- Semiconductor Integrated Circuits (AREA)
Abstract
The invention discloses a voltage trimming method based on an integrated circuit, which comprises the following steps: obtaining deviation according to the expected voltage and the voltage to be modified provided by the integrated circuit, and obtaining a relative modification parameter according to the deviation; and providing a digital trimming signal according to the threshold range of the voltage to be trimmed and the relative trimming parameter so as to adjust the voltage to be trimmed. The invention also discloses a voltage trimming system based on the integrated circuit, which simplifies the process of acquiring the digital trimming signal, increases the accuracy and reliability of voltage trimming, and has stronger universality and expandability.
Description
Technical Field
The invention relates to the technical field of integrated circuit testing, in particular to a voltage trimming method and system based on an integrated circuit.
Background
In an integrated circuit, a constant reference voltage is generated inside a chip to provide accurate and stable reference voltage values for internal digital circuits and analog circuits, namely, a voltage reference is an indispensable part of the analog circuits and the digital circuits. In the production process, the accuracy of the reference voltage of the chip is usually deviated from a preset value due to uncertain factors such as offset, temperature drift and process deviation of the reference voltage. The imbalance and temperature drift of the reference voltage often cause the function failure of the whole circuit, the accuracy of the reference voltage directly affects the accuracy of data acquisition of the integrated circuit, and affects the output voltage of an LDO (low dropout regulator) and a DC-DC (Direct Current-Direct Current) converter, and the yield and profit margin of the product are also affected.
For example, if there are 4 bits in a trimming bit of a digital trimming signal, which are trim0, trim1, trim2, and trim3, each voltage trimming bit corresponds to a reference trimming precision, and different reference trimming precision combinations can be obtained by using the 4 trimming bit values, thereby realizing the precision trimming required for different voltages to be trimmed. The method specifically comprises the following steps: and calculating a trimming amount according to the difference value between the voltage value of the voltage to be trimmed and the voltage value of the expected voltage, outputting a corresponding digital trimming signal according to the trimming amount, and then controlling a trimming circuit to perform precision trimming on the voltage to be trimmed according to the digital trimming signal. Wherein obtaining the digital trimming signal is typically implemented in a program.
The existing method for obtaining the digital trimming signal is to obtain the digital trimming signal by looking up a table, and output the corresponding digital trimming signal by looking up the table according to the threshold range of the trimming amount. However, such a processing method is relatively complicated, and the required data processing time is relatively long. On the other hand, the lookup table also needs to store various trimming precision combinations, thereby causing certain resource waste. Meanwhile, when the number of the reference trimming precisions is more and the trimming precision combinations are more, the table lookup method adopted by the prior art is more complicated and is more prone to errors.
Therefore, there is a need to provide an improved technical solution to overcome the above technical problems in the prior art.
Disclosure of Invention
In order to solve the technical problems, the invention provides a voltage trimming method and a voltage trimming system based on an integrated circuit, which simplify the process of acquiring digital trimming signals, increase the accuracy and reliability of voltage trimming, and have stronger universality and expandability.
The invention provides a voltage trimming method based on an integrated circuit, which comprises the following steps: obtaining deviation according to the expected voltage and the voltage to be modified provided by the integrated circuit, and obtaining a relative modification parameter according to the deviation; and providing a digital trimming signal according to the threshold range of the voltage to be trimmed and the relative trimming parameter so as to adjust the voltage to be trimmed.
Preferably, the voltage trimming method according to claim 1, wherein the digital trimming signal comprises a first trimming bit and a plurality of second trimming bits, the first trimming bit corresponds to a positive trimming accuracy or a negative trimming accuracy, and the trimming accuracy of each of the second trimming bits is opposite to that of the first trimming bit.
Preferably, the providing a digital trimming signal according to the threshold range where the voltage to be trimmed is located and the relative trimming parameter includes: judging the threshold range of the voltage to be modified based on the expected voltage; determining the value of a first trimming bit in the digital trimming signal according to the threshold range of the voltage to be trimmed; determining values of the plurality of second trim bits according to a binary code of the relative trim parameter.
Preferably, the deviation is a difference between a voltage value of the voltage to be modified and a voltage value of the expected voltage.
Preferably, the first trimming bit and the plurality of second trimming bits have trimming accuracies different from each other in absolute value.
Preferably, among the plurality of trimming bits of the digital trimming signal, the most significant trimming bit corresponds to the trimming precision with the largest absolute value, and the least significant trimming bit corresponds to the trimming precision with the smallest absolute value.
Preferably, determining the value of the first trim bit in the digital trim signal comprises: when the voltage to be trimmed is smaller than a first threshold value, the value of the first trimming bit is 0; when the voltage to be trimmed is larger than a second threshold value, the value of the first trimming bit is 1; when the voltage to be trimmed is greater than the first threshold and less than the second threshold, the value of the first trimming bit is 0.
Preferably, when the voltage to be modified is greater than the first threshold and smaller than the second threshold, the values of the first modification bit and the plurality of second modification bits in the digital modification signal are both 0.
Preferably, the first threshold is a difference obtained by subtracting a voltage value of the desired voltage by a product of the voltage value of the desired voltage and a half step of the minimum trimming accuracy, and the second threshold is a sum of the voltage value of the desired voltage and a product of the voltage value of the desired voltage and the half step of the minimum trimming accuracy.
Preferably, obtaining the relative trimming parameter according to the deviation comprises: obtaining the percentage of the absolute value of the deviation relative to the voltage to be modified according to the deviation; and obtaining the relative trimming parameters according to the percentages.
Preferably, when the voltage to be modified is smaller than a first threshold, obtaining the relative modification parameter according to the percentage includes: dividing the percentage by the minimum trimming precision to obtain an integer part of the quotient and a remainder; and comparing whether the remainder is greater than half step length of the minimum trimming precision, wherein when the remainder is not greater than half step length of the minimum trimming precision, the relative trimming parameter is an integer part of the quotient, and when the remainder is greater than half step length of the minimum trimming precision, the relative trimming parameter is the integer part of the quotient plus 1.
Preferably, when the voltage to be modified is greater than a second threshold, obtaining the relative modification parameter according to the percentage includes: dividing the percentage by the minimum trimming precision to obtain an integer part of the quotient and a remainder; calculating the multiple of the absolute value of the trimming precision corresponding to the first trimming position in the digital trimming signal relative to the minimum trimming precision; and comparing whether the remainder is greater than half step length of the minimum trimming precision, wherein when the remainder is not greater than half step length of the minimum trimming precision, the relative trimming parameter is the integer part of the multiple minus the quotient, and when the remainder is greater than half step length of the minimum trimming precision, the relative trimming parameter is the integer part of the multiple minus the quotient minus 1.
Preferably, the method further comprises the following steps: when the voltage to be trimmed is smaller than a first threshold value, comparing whether the relative trimming parameter is larger than a, and when the relative trimming parameter is larger than a, determining the values of the plurality of second trimming bits according to a binary code of a; and when the voltage to be modified is greater than a second threshold value, comparing whether the relative modification parameter is greater than b, and when the relative modification parameter is greater than b, determining the values of the plurality of second modification bits according to the binary code of b, wherein a is the absolute value of the quotient obtained by dividing the maximum positive-polarity combined modification precision by the minimum modification precision, b is the absolute value of the quotient obtained by dividing the maximum negative-polarity combined modification precision by the minimum modification precision, and a and b are positive numbers.
The invention provides a voltage trimming system based on an integrated circuit, which comprises: the LDO module receives a voltage to be trimmed provided by the integrated circuit at a positive input end and receives an analog trimming signal at a negative input end, and is used for outputting an expected voltage according to the voltage to be trimmed and the analog trimming signal; the trimming control module is used for providing a digital trimming signal; and the trimming module is connected with the LDO module and the trimming control module and is used for generating the analog trimming signal according to the digital trimming signal.
The invention has the beneficial effects that: when the digital trimming signal is obtained, the voltage to be trimmed is compared with the expected voltage to obtain the value of the first trimming bit according to the comparison result, the multiple of the minimum trimming precision corresponding to the relative trimming precision is obtained through calculation to obtain the relative trimming parameter, and the values of the plurality of second trimming bits are determined according to the binary code of the relative trimming parameter, so that the process of obtaining the digital trimming signal is simplified, and the data processing time is saved.
Because the value of each trimming bit is obtained by direct calculation, the data comparison output of ranges one by one is not needed, and the accuracy and the reliability of voltage trimming are improved.
On the other hand, the technical scheme disclosed by the invention does not need a lookup table, only stores a single analog value when data processing is carried out, optimizes the storage mode and saves storage resources.
The voltage trimming method based on the integrated circuit disclosed by the invention has stronger universality and expandability.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the embodiments of the present invention with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of an integrated circuit-based voltage trimming system according to an embodiment of the present invention;
FIG. 2 is a schematic circuit diagram of the LDO module of FIG. 1;
fig. 3 is a schematic flowchart illustrating a voltage trimming method based on an integrated circuit according to an embodiment of the present invention;
fig. 4 shows a flow chart of a method for obtaining the digital trimming signal in fig. 3.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. The invention may, however, be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
The present invention will be described in detail below with reference to the accompanying drawings.
Fig. 1 shows a schematic structural diagram of an integrated circuit-based voltage trimming system according to an embodiment of the present invention, and fig. 2 shows a schematic structural diagram of a circuit of the LDO module in fig. 1.
In an embodiment of the invention, as shown in fig. 1, the reference voltage trimming circuit of the integrated circuit includes an LDO module 100, a trimming module 300, and a trimming control module 200.
The non-inverting input terminal of the LDO module 100 receives a voltage to be trimmed provided by the integrated circuit, the voltage to be trimmed passes through the trimming module 300 and then feeds back an analog trimming signal to the inverting input terminal of the LDO module 100, and the output terminal Vout of the LDO module 100 outputs a desired voltage according to the voltage to be trimmed and the analog trimming signal. The desired voltage may be used as a reference voltage for providing a stable voltage reference for integrated circuits, i.e., digital and analog circuits within the chip.
The integrated circuit is preset with a reference voltage, and when the integrated circuit is tested, the voltage trimming circuit of the integrated circuit trims the voltage to be trimmed output by the LDO module 100 with the reference voltage as a reference.
Further, as shown in fig. 2, the LDO module 100 includes an operational amplifier OP1, a first voltage regulator resistor R1, and a second voltage regulator resistor R2.
The power supply end of the operational amplifier OP1 is connected with the chip internal power supply VCC, the non-inverting input end of the operational amplifier OP1 receives external voltage to be modified, the output end of the operational amplifier OP1 is grounded through a first voltage-stabilizing resistor R1, the modifying module 300 and a second voltage-stabilizing resistor R2 in sequence, and the common node of the second voltage-stabilizing resistor R2 and the modifying module 300 is connected to the inverting input end of the operational amplifier OP 1.
The trimming control module 200 is connected to the off-chip program control module and configured to generate an n-bit digital trimming signal according to the calibration signal provided by the program control module. Wherein n is more than or equal to 1 and n is a natural number. In this embodiment, n is equal to 4 as an example.
The trimming module 300 is connected to the LDO module 100 and the trimming control module 200, respectively, and configured to generate an analog trimming signal according to the digital trimming signal, so as to trim the voltage to be trimmed to a desired voltage.
Fig. 3 is a schematic flow chart of a voltage trimming method based on an integrated circuit according to an embodiment of the present invention, and fig. 4 is a flow chart of a method for obtaining a digital trimming signal in fig. 3.
As shown in fig. 3, in the present embodiment, when performing voltage trimming, the method mainly includes performing steps S1 to S3, and specifically includes:
in step S1, a deviation is obtained according to the desired voltage and the voltage to be modified provided by the integrated circuit.
In this embodiment, a difference obtained by subtracting the voltage value of the voltage to be modified from the voltage value of the expected voltage is a deviation of the voltage to be modified from the expected voltage, where the deviation represents a specific voltage value of the voltage to be modified that needs to be modified. When the deviation is a positive number, the voltage to be modified is smaller than the expected voltage, and the voltage to be modified should be modified in a positive polarity; when the deviation is negative, it indicates that the voltage to be modified is greater than the expected voltage, and the voltage to be modified should be modified with negative polarity.
In step S2, relative trimming parameters are obtained from the deviations.
In the embodiment, the percentage of the absolute value of the deviation relative to the voltage to be modified is obtained according to the deviation; the relative trimming amount is obtained from the percentage.
Further, when the voltage to be modified is smaller than a first threshold value, dividing the obtained percentage by the minimum modification precision value to obtain an integer part of a quotient and a remainder; and comparing whether the remainder is larger than the minimum trimming precision, such as half step length after amplification by 1000 times, so as to determine the relative trimming parameters. If the step length is not larger than half step length, taking the integer part of the quotient as a relative trimming parameter; and if the step length is larger than half of the step length, adding 1 to the integer part of the quotient to be used as a relative trimming parameter.
When the voltage to be modified is larger than a second threshold value, dividing the obtained percentage by the minimum modification precision value to obtain an integer part of a quotient and a remainder; and calculating the multiple of the absolute value of the trimming precision corresponding to the first trimming position relative to the minimum trimming precision, and simultaneously comparing whether the remainder is greater than the minimum trimming precision, such as half step length after amplification of 1000 times, so as to determine the relative trimming parameters. If the step length is not more than half step length, the integral part of the quotient is subtracted from the multiple to be used as a relative trimming parameter; if the step length is larger than half step length, subtracting the integer part of the quotient from the multiple and then subtracting 1 to be used as a relative trimming parameter.
In step S3, a digital trimming signal is provided according to the threshold range and the relative trimming parameter where the voltage to be trimmed is located, so as to adjust the voltage to be trimmed.
The digital trimming signal has n trimming bits, including a first trimming bit and a plurality of second trimming bits, and the absolute values of the trimming precisions corresponding to the first trimming bit and the plurality of second trimming bits are different from each other. Specifically, the first trimming bit corresponds to a positive trimming accuracy or a negative trimming accuracy, and the trimming accuracy corresponding to each second trimming bit is opposite to the first trimming bit. By giving different values to different trimming positions, trimming of corresponding precision of one voltage signal can be realized.
Preferably, when the value of one trimming bit is 0, it indicates that the target voltage is not trimmed corresponding to the trimming bit trimming precision; and when the value of one trimming bit is 1, the target voltage is trimmed according to the trimming bit trimming precision.
Preferably, among the n-bit trimming bits of the digital trimming signal, the first trimming bit is the highest-order trimming bit and corresponds to the trimming precision with the maximum absolute value; the lowest second trimming bit in the plurality of second trimming bits corresponds to the trimming precision with the smallest absolute value. Meanwhile, the absolute values of the trimming precision corresponding to two adjacent trimming positions show a multiple relation, and the preferred multiple is 2 times.
In this embodiment, a digital trimming signal with 4-bit trimming bits is taken as an example for explanation, and as shown in table 1, table 1 shows a table of correspondence between different trimming bits and a plurality of trimming precisions in the digital trimming signal of this embodiment.
Trimming and positioning | Value case | Variation in precision | Value case | Variation in precision |
Trim0 | 0 | The precision is not changed | 1 | -1.60% |
Trim1 | 0 | The precision is not changed | 1 | +0.8% |
Trim2 | 0 | The precision is not changed | 1 | +0.4% |
Trim3 | 0 | The precision is not changed | 1 | +0.2% |
In Table 1, the first trim bit trim0 is the highest trim bit and trim bit trim3 is the lowest trim bit in the second plurality of trim bits. The trimming bits trim0, trim1, trim2 and trim3 can realize the trimming of the voltage to be trimmed between-1.60% and 1.40% with the step trimming precision of 0.2%.
Further, the method for obtaining the digital trimming signal according to the deviation includes performing steps S31 to S33, as shown in fig. 4:
in step S31, based on the desired voltage, the threshold range in which the voltage to be trimmed is located is determined.
In step S32, the value of the first trimming bit in the digital trimming signal is determined according to the threshold range where the voltage to be trimmed is located.
In this embodiment, as can be seen from table 1, the first trimming bit in the digital trimming signal is the highest trimming bit, and the first trimming bit corresponds to the trimming precision of the negative polarity, and when the value is 1, it indicates that the voltage to be trimmed is trimmed by the negative polarity.
Further, the voltage value of the voltage to be modified and the expected voltage are compared. When the voltage to be modified is smaller than the first threshold, the positive modification of the voltage to be modified is required, and the value of the first modification bit is 0; when the voltage to be modified is larger than the second threshold, the voltage to be modified is subjected to negative modification, and the value of the first modification position is 1; when the voltage to be modified is greater than the first threshold and smaller than the second threshold, it indicates that the voltage to be modified does not need to be modified, and the value of the first modification bit is also 0 at this time.
Further, when the voltage to be modified is greater than the first threshold and smaller than the second threshold, the values of the first modification bit and the plurality of second modification bits in the digital modification signal are both 0.
Preferably, the first threshold is a difference obtained by subtracting a product of the voltage value of the desired voltage and a half step of the minimum trimming accuracy. The second threshold is the sum of the voltage value of the desired voltage plus the product of the voltage value and half step size of the minimum trimming precision.
In another embodiment of the invention, the value of the first trimming bit in the digital trimming signal may be determined based on a threshold range of the obtained deviation. The method specifically comprises the following steps: when the deviation is smaller than a third threshold value, the value of the first trimming bit is 0; when the deviation is greater than a fourth threshold value, the value of the first trimming bit is 1; when the deviation to be detected is greater than the third threshold value and less than the fourth threshold value, the value of the first trimming bit is also 0.
Further, when the deviation is greater than the third threshold and less than the fourth threshold, the value of each trimming bit in the digital trimming signal is 0.
Preferably, the third threshold is the inverse of the product of the voltage value of the desired voltage and half the step size of the minimum trimming accuracy. The fourth threshold is a product of a voltage value of the desired voltage and a half step of the minimum trimming accuracy.
The invention determines a plurality of thresholds by half step length of the minimum trimming precision, and can further improve the trimming precision of the voltage to be trimmed.
In step S33, values of a plurality of second trimming bits are determined based on the binary code of the relative trimming parameter.
In this embodiment, the decimal relative trimming parameter obtained in step S2 is converted into a corresponding binary code, and the binary code is sequentially assigned to a plurality of second trimming bits in the digital trimming signal in order from the higher order to the lower order.
Further, when the voltage to be modified is smaller than the first threshold, whether the obtained relative modification parameter is larger than a needs to be compared, and when the relative modification parameter is larger than a, the values of the plurality of second modification bits are determined according to the binary code of a. Wherein a is the absolute value of the quotient of the maximum positive combined trimming precision divided by the minimum trimming precision, and a is a positive number.
Further, when the voltage to be modified is greater than the second threshold, whether the obtained relative modification parameter is greater than b is also compared, and when the relative modification parameter is greater than b, the values of the plurality of second modification bits are determined according to the binary code of b. Wherein b is the absolute value of the quotient of the maximum negative combined trimming precision divided by the minimum trimming precision, and b is a positive number.
The following describes the steps S31 to S32 further by way of example:
assuming that the desired voltage value is 4.6V, the first threshold value is 4.6-4.6 × 0.2%/2 at 4.595, and the second threshold value is 4.6+4.6 × 0.2%/2 at 4.605.
If the voltage value to be modified is 4.53V, which is smaller than the first threshold, the first modification value in the digital modification signal is 0, i.e. the trim0 has a value of 0. The absolute value of the deviation is 4.6-4.53 ═ 0.07, the percentage of the deviation to the voltage to be trimmed is 0.07/4.53 × 100 ═ 1.545%, after dividing this percentage by the minimum trimming precision of 0.2%, the integer part of the quotient is 7, the remainder is 1.545, half the step length after amplification of the minimum trimming precision by 1000 times is 1, and if the remainder is greater than 1, the relative trimming parameter is 7+1 ═ 8. But the maximum trimming percentage is + 1.4%, so if the trimming parameter >7, the assigned trimming parameter is 7. The relative trimming parameter is converted into binary value of 100, i.e. the value of trim1 is 1, the value of trim2 is 0, and the value of trim3 is 0. Therefore, the digital trimming signal at this time is 0111.
If the voltage value to be modified is 4.69V, which is greater than the second threshold, the first modification value in the digital modification signal is 1, i.e. the trim0 has a value of 1. The absolute value of the deviation is 4.69-4.6 ═ 0.09, the percentage of the voltage to be trimmed is 0.09/4.69 × 100 ═ 1.919%, the percentage is divided by the minimum trimming precision 0.2%, the integer part of the quotient is 9, the remainder is 0.119, the half step size after the minimum trimming precision is amplified 1000 times is 1, and the remainder is less than 1, and the relative trimming parameter is 9+0 ═ 9. But the maximum trimming percentage is-1.6%, so if the trimming parameter >8, the assigned trimming parameter is 8. The relative trimming parameter is converted into binary to be 1000, namely the value of trim1 is 0, the value of trim2 is 0, and the value of trim3 is 0. Therefore, the digital trimming signal at this time is 1000.
If the voltage value to be modified is 4.594V, which is greater than the first threshold and less than the second threshold, the values of all the modification bits of the digital modification signal at this time are 0, and the digital modification signal is 0000.
It should be noted that the above-mentioned illustrations are only exemplary and should not be construed as limiting the technical solutions of the present application, and all other alternatives that can be directly suggested by those skilled in the art from the above-mentioned illustrations should be within the scope of the present application.
In this embodiment, when the program is written according to the above method, for example, if statements may be used for programming, so as to simplify the program statements, so that the program programming is easier and simpler, especially when there are many combinations of trimming bits in the digital trimming signal. And the program storage space can be saved, the data processing speed is accelerated, and the data processing is more accurate.
Further, referring to fig. 1, the digital trimming signal is sent to the trimming module 300, so that an analog trimming signal corresponding to the digital trimming signal can be obtained.
Further, the analog trimming signal and the signal to be trimmed are added by using the operational amplifier OP1, so as to obtain the trimmed desired voltage.
Preferably, the deviation between the corrected expected voltage and the reference voltage is smaller than the minimum correction precision, and voltage correction with different precision requirements can be realized by setting different minimum correction precisions.
In conclusion, the technical scheme disclosed by the invention simplifies the process of acquiring the digital trimming signal and saves the data processing time. Because the value of each trimming bit is obtained by direct calculation, the data comparison output of ranges one by one is not needed, and the accuracy and the reliability of voltage trimming are improved.
On the other hand, the technical scheme disclosed by the invention does not need a lookup table, only stores a single analog value when data processing is carried out, optimizes the storage mode and saves storage resources.
Meanwhile, the voltage trimming method based on the integrated circuit disclosed by the invention has stronger universality and expandability.
It should be noted that, in this document, the contained terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Finally, it should be noted that: it should be understood that the above examples are only for clearly illustrating the present invention and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications of the invention may be made without departing from the scope of the invention.
Claims (14)
1. A voltage trimming method based on an integrated circuit is characterized by comprising the following steps:
obtaining a deviation according to a desired voltage and a voltage to be modified provided by the integrated circuit,
obtaining relative trimming parameters according to the deviation; and
and providing a digital trimming signal according to the threshold range of the voltage to be trimmed and the relative trimming parameter so as to adjust the voltage to be trimmed.
2. The voltage trimming method according to claim 1, wherein the digital trimming signal comprises a first trimming bit and a plurality of second trimming bits, the first trimming bit corresponds to a positive trimming precision or a negative trimming precision, and the trimming precision of each of the second trimming bits is opposite to the first trimming bit.
3. The voltage trimming method of claim 2, wherein providing a digital trimming signal according to the threshold range of the voltage to be trimmed and the relative trimming parameter comprises:
judging the threshold range of the voltage to be modified based on the expected voltage;
determining the value of a first trimming bit in the digital trimming signal according to the threshold range of the voltage to be trimmed;
determining values of the plurality of second trim bits according to a binary code of the relative trim parameter.
4. The voltage trimming method according to claim 1, wherein the deviation is a difference between a voltage value of the voltage to be trimmed and a voltage value of the desired voltage.
5. The voltage trimming method according to claim 2, wherein the first trimming bit and the plurality of second trimming bits have trimming accuracies different from each other in absolute value.
6. The voltage trimming method according to claim 5, wherein among the plurality of trimming bits of the digital trimming signal, the highest trimming bit corresponds to the trimming precision with the largest absolute value, and the lowest trimming bit corresponds to the trimming precision with the smallest absolute value.
7. The voltage trimming method of claim 3, wherein determining the value of the first trimming bit in the digital trimming signal comprises:
when the voltage to be trimmed is smaller than a first threshold value, the value of the first trimming bit is 0;
when the voltage to be trimmed is larger than a second threshold value, the value of the first trimming bit is 1;
when the voltage to be trimmed is greater than the first threshold and less than the second threshold, the value of the first trimming bit is 0.
8. The voltage trimming method according to claim 7, wherein when the voltage to be trimmed is greater than the first threshold and smaller than the second threshold, the first trimming bit and the second trimming bits in the digital trimming signal both have a value of 0.
9. The voltage trimming method of claim 8,
the first threshold is a difference of a voltage value of the desired voltage minus a product of the voltage value of the desired voltage and a half step of a minimum trimming accuracy,
the second threshold is the sum of the voltage value of the desired voltage plus the product of the voltage value of the desired voltage and half the step size of the minimum trimming precision.
10. The voltage trimming method of claim 1, wherein obtaining relative trimming parameters according to the deviation comprises:
obtaining the percentage of the absolute value of the deviation relative to the voltage to be modified according to the deviation; and
and obtaining the relative trimming parameters according to the percentages.
11. The voltage trimming method of claim 10, wherein obtaining the relative trimming parameter according to the percentage when the voltage to be trimmed is smaller than a first threshold comprises:
dividing the percentage by the minimum trimming precision to obtain an integer part of the quotient and a remainder;
comparing whether the remainder is greater than half the step size of the minimum trimming precision,
wherein the relative trimming parameter is an integer part of the quotient when the remainder is not greater than half step length of the minimum trimming precision,
and when the remainder is more than half step length of the minimum trimming precision, the relative trimming parameter is the integer part of the quotient plus 1.
12. The voltage trimming method of claim 10, wherein obtaining the relative trimming parameter according to the percentage when the voltage to be trimmed is greater than a second threshold comprises:
dividing the percentage by the minimum trimming precision to obtain an integer part of the quotient and a remainder;
calculating the multiple of the absolute value of the trimming precision corresponding to the first trimming position in the digital trimming signal relative to the minimum trimming precision;
comparing whether the remainder is greater than half the step size of the minimum trimming precision,
wherein the relative trimming parameter is the integer part of the quotient subtracted from the multiple when the remainder is not greater than half a step length of the minimum trimming precision,
and when the remainder is larger than half step length of the minimum trimming precision, the relative trimming parameter is that the integer part of the quotient is subtracted from the multiple and then is subtracted by 1.
13. The voltage trimming method according to claim 3, further comprising:
when the voltage to be trimmed is smaller than a first threshold value, comparing whether the relative trimming parameter is larger than a, and when the relative trimming parameter is larger than a, determining the values of the plurality of second trimming bits according to a binary code of a;
when the voltage to be modified is larger than a second threshold value, comparing whether the relative modification parameter is larger than b, and when the relative modification parameter is larger than b, determining the values of the plurality of second modification bits according to the binary code of b,
wherein, a is the absolute value of the quotient obtained by dividing the maximum positive polarity combined trimming precision by the minimum trimming precision, b is the absolute value of the quotient obtained by dividing the maximum negative polarity combined trimming precision by the minimum trimming precision, and a and b are positive numbers.
14. An integrated circuit based voltage trimming system, comprising:
the LDO module receives a voltage to be trimmed provided by the integrated circuit at a positive input end and receives an analog trimming signal at a negative input end, and is used for outputting an expected voltage according to the voltage to be trimmed and the analog trimming signal;
the trimming control module is used for providing a digital trimming signal;
and the trimming module is connected with the LDO module and the trimming control module and is used for generating the analog trimming signal according to the digital trimming signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910933863.7A CN112578843A (en) | 2019-09-29 | 2019-09-29 | Voltage trimming method and system based on integrated circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910933863.7A CN112578843A (en) | 2019-09-29 | 2019-09-29 | Voltage trimming method and system based on integrated circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112578843A true CN112578843A (en) | 2021-03-30 |
Family
ID=75110637
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910933863.7A Pending CN112578843A (en) | 2019-09-29 | 2019-09-29 | Voltage trimming method and system based on integrated circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112578843A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114002588A (en) * | 2022-01-04 | 2022-02-01 | 苏州贝克微电子股份有限公司 | High-precision semiconductor chip trimming test method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101944009A (en) * | 2009-07-06 | 2011-01-12 | 北京中电华大电子设计有限责任公司 | Device for processing quotient of divider in integrated circuit |
US20140062452A1 (en) * | 2012-08-30 | 2014-03-06 | SK Hynix Inc. | Voltage trimming circuit and method of semiconductor apparatus |
US20160054746A1 (en) * | 2014-08-24 | 2016-02-25 | Freescale Semiconductor, Inc. | Voltage regulation system for integrated circuit |
CN105759891A (en) * | 2016-03-22 | 2016-07-13 | 成都信息工程大学 | Calibration method for reference sources |
CN105811982A (en) * | 2016-03-14 | 2016-07-27 | 深圳市博巨兴实业发展有限公司 | ADC chip reference voltage testing and calibration method |
CN105912059A (en) * | 2016-05-23 | 2016-08-31 | 深圳创维-Rgb电子有限公司 | Reference voltage regulating circuit and system of integrated circuit |
CN109861674A (en) * | 2019-04-09 | 2019-06-07 | 深圳市万微微电子技术有限公司 | A Realization Circuit of High Precision Absolute Voltage Comparator |
-
2019
- 2019-09-29 CN CN201910933863.7A patent/CN112578843A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101944009A (en) * | 2009-07-06 | 2011-01-12 | 北京中电华大电子设计有限责任公司 | Device for processing quotient of divider in integrated circuit |
US20140062452A1 (en) * | 2012-08-30 | 2014-03-06 | SK Hynix Inc. | Voltage trimming circuit and method of semiconductor apparatus |
US20160054746A1 (en) * | 2014-08-24 | 2016-02-25 | Freescale Semiconductor, Inc. | Voltage regulation system for integrated circuit |
CN105811982A (en) * | 2016-03-14 | 2016-07-27 | 深圳市博巨兴实业发展有限公司 | ADC chip reference voltage testing and calibration method |
CN105759891A (en) * | 2016-03-22 | 2016-07-13 | 成都信息工程大学 | Calibration method for reference sources |
CN105912059A (en) * | 2016-05-23 | 2016-08-31 | 深圳创维-Rgb电子有限公司 | Reference voltage regulating circuit and system of integrated circuit |
CN109861674A (en) * | 2019-04-09 | 2019-06-07 | 深圳市万微微电子技术有限公司 | A Realization Circuit of High Precision Absolute Voltage Comparator |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114002588A (en) * | 2022-01-04 | 2022-02-01 | 苏州贝克微电子股份有限公司 | High-precision semiconductor chip trimming test method |
CN114002588B (en) * | 2022-01-04 | 2022-04-29 | 苏州贝克微电子股份有限公司 | High-precision semiconductor chip trimming test method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6674185B2 (en) | Temperature sensor circuit having trimming function | |
CN112583405B (en) | ADC error automatic correction method, ADC error automatic correction device, ADC circuit and storage medium | |
US7489181B2 (en) | Circuit which can be programmed using a resistor and which has a reference current source | |
US4573005A (en) | Current source arrangement having a precision current-mirror circuit | |
KR20080033588A (en) | Temperature information output circuit and method of semiconductor memory device | |
US4336526A (en) | Successive approximation analog-to-digital converter using non-binary series | |
US20110037630A1 (en) | Voltage mode dac with calibration circuit using current mode dac and rom lookup | |
US7920011B1 (en) | Voltage trimming circuit | |
US9606511B2 (en) | Analog/digital conversion circuit | |
US5721548A (en) | Analog-to-digital converter for compensating for input bias current of comparator | |
US4465996A (en) | High accuracy digital-to-analog converter | |
CN114153260A (en) | High-precision oscillator | |
CN112578843A (en) | Voltage trimming method and system based on integrated circuit | |
US9871517B1 (en) | Method for determining resistance calibration direction in ZQ calibration of memory device | |
US10700692B2 (en) | Processing circuitry comprising a current-compensation unit | |
CN111308304B (en) | Circuit and method for detecting current amplification factor of bipolar transistor | |
EP3107210B1 (en) | Amplifier circuit with static consumption control and corresponding control method | |
US6707333B2 (en) | Bias circuit | |
JP6500770B2 (en) | Electronic control unit | |
JPH1065542A (en) | Analog / digital conversion circuit | |
CN114124090B (en) | Flash analog-to-digital converter and calibration method | |
US6388589B1 (en) | Programmable video interface | |
JP2002290236A (en) | Analog/digital conversion circuit | |
KR100211057B1 (en) | Temperature compensating circuit for satellite repeater | |
CN103092236B (en) | Process deviation calibration method for absolute temperature coefficient current and system thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210330 |
|
RJ01 | Rejection of invention patent application after publication |