US20020105310A1 - Voltage adjustment system and method - Google Patents

Voltage adjustment system and method Download PDF

Info

Publication number
US20020105310A1
US20020105310A1 US09/778,293 US77829301A US2002105310A1 US 20020105310 A1 US20020105310 A1 US 20020105310A1 US 77829301 A US77829301 A US 77829301A US 2002105310 A1 US2002105310 A1 US 2002105310A1
Authority
US
United States
Prior art keywords
output
bits
adjustment
voltage
adder
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.)
Abandoned
Application number
US09/778,293
Inventor
Stephen Loyer
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Microchip Technology Inc
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to US09/778,293 priority Critical patent/US20020105310A1/en
Assigned to MICROCHIP TECHNOLOGY INCORPORATED reassignment MICROCHIP TECHNOLOGY INCORPORATED ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: LOYER, STEPHEN R.
Priority to PCT/US2002/003490 priority patent/WO2002063685A2/en
Priority to AU2002242107A priority patent/AU2002242107A1/en
Publication of US20020105310A1 publication Critical patent/US20020105310A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic 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/10Regulating voltage or current
    • G05F1/46Regulating voltage or current wherein the variable actually regulated by the final control device is dc

Definitions

  • the invention relates to electronic circuitry and, more particularly, to a system and method that result in an adjusted voltage.
  • Electronic devices utilize voltages and currents in their operation. Specific points in the circuit can utilize a defined voltage, current, or other characteristic to bias a circuit element, provide a reference for comparison, and for many other purposes. The accuracy of electronic circuit operations is often directly dependent upon the accuracy of defined voltages and other characteristics used by the circuit.
  • a reference voltage can properly bias a transistor at a particular temperature, but fail at a higher temperature.
  • the circuit that produces the reference voltage is affected by the change in temperature such that its output changes appreciably.
  • the transistor's characteristics change with temperature. In that case, the reference voltage needs to change as well to do its job.
  • a manufacturer of electronic devices may require both a temperature independent reference voltage and a reference voltage that has a specific temperature dependence.
  • CMOS devices rather large offset voltages must be accommodated. The temperature dependence of a particular reference voltage is often described by its temperature coefficient.
  • V out K 1 (K 2 ⁇ T ln(A 2 /A 1 )+V BE ) where ⁇ T increases with temperature and V BE decreases with temperature.
  • K 2 can be manipulated to balance those opposing temperature dependencies.
  • Circuits that produce reference voltages are subject to errors in manufacturing as with any other circuit. Rather than discard all the circuits that deviate from the desired characteristics, manufacturers include circuitry that can be modified to correct the deviations. Testing and correction of deviations can add a great deal to the average cost of manufacturing. For this reason, efficient correction circuitry and methods of correction are important.
  • the present invention is directed to a reference voltage adjusting circuit, a method for adjusting a circuit element, and systems employing the apparatus or method.
  • two registers are connected to an adder.
  • the adder outputs the sum of the two registers.
  • the adder output is coupled to a group of switches.
  • each of the registers includes an EPROM and an SRAM that are connected to a multiplexor.
  • the switches are connected to shorting pathways that are each positioned across a circuit element. Those circuit elements are resistors.
  • the switches include CMOS transistors.
  • the register EPROMs are adapted to be programmed with the data stored in the register SRAMs.
  • a first set of bits is temporarily stored in memory.
  • a plurality of switches are controlled at least in part by the first set of bits.
  • the first set of bits are permanently stored in memory.
  • a second set of bits is stored in memory temporarily.
  • the switches are controlled at least in part by the sum of the two sets of bits.
  • the second set of bits are permanently stored in memory.
  • a circuit element is adjusted by the switches and the output of the circuit element is compared to a specific output.
  • the circuit element output resulting from the first set of bits is compared with the lower and upper bounds of an initial range. If the output is outside the range the first set of bits is modified. The modification depending upon whether the output is above or below the range.
  • the circuit element output resulting from the sum of the first and second sets of bits is compared to a range calculated at least in part from the output resulting from the first set of bits that fell within the initial range.
  • a resistor is modified in accordance with a first adjustment.
  • a voltage is measured at a particular temperature. The measured voltage is compared to the bounds of an initial range. If the voltage is outside the initial range, the first adjustment is changed and the measurement is repeated.
  • the resistor is modified in accordance with both the first adjustment and a second adjustment. The voltage is measured at a new temperature. If the voltage measured at the new temperature does not fall within a specific range, the second adjustment is changed and the measurement is repeated.
  • the changes in the first and second adjustments are implemented in accordance with a binary search algorithm.
  • the first adjustment is stored in an EPROM when the measured voltage is within the initial range.
  • the first and second adjustments are stored in at least one EPROM when the measured at the new temperature falls within the specific range.
  • a feature of the invention is adjusting a circuit element.
  • Another feature is adjusting a reference voltage.
  • Another feature is adjusting reference voltage behavior at two temperatures.
  • An advantage of the present invention is modifying a circuit element after manufacture.
  • Another advantage is modifying a circuit element based on its characteristics at two temperatures.
  • Still another advantage is decreasing testing time for trimming a reference voltage.
  • Another advantage is trimming voltage references for CMOS devices.
  • Another advantage is identifying failed circuits.
  • FIG. 1 is a circuit diagram of a system for modifying a resistor
  • FIG. 2 is a flow diagram of a first portion of one embodiment of a method for adjusting a voltage
  • FIG. 3 is a flow diagram of a second portion of one embodiment of a method for adjusting a voltage
  • FIG. 4 is a diagram of a binary search tree employed in one embodiment of a method for adjusting a voltage
  • FIG. 5 is table of codes for the symbols used in the binary search tree of FIG. 4.
  • the electronic system 10 can be fabricated as a portion of a larger integrated circuit.
  • the integrated circuit package may be, for example, but not limited to, plastic dual in-line package (PDIP), small outline (SO), shrink small outline package (SSOP), thin shrink small outline package (TSSOP), windowed ceramic dual in-line package (CERDIP), leadless chip carrier (LCC), plastic leaded chip carrier (PLCC), plastic quad flatpack package (PQFP), thin quad flatpack package (TQFP), pin grid array (PGA), ball grid array (BGA), TO-220, T0-247 and T0-263.
  • PDIP plastic dual in-line package
  • SO small outline
  • SSLOP shrink small outline package
  • TSSOP thin shrink small outline package
  • CERDIP windowed ceramic dual in-line package
  • LCC leadless chip carrier
  • PLCC plastic leaded chip carrier
  • PQFP plastic quad flatpack package
  • TQFP thin quad flatpack package
  • PGA ball grid array
  • BGA ball grid array
  • the electronic system 10 includes two registers: a primary trim register 12 and a secondary trim register 14 .
  • the primary trim register 12 outputs four bits onto a first bus 16 a.
  • the secondary trim register 14 outputs four bits onto a second bus 16 b.
  • the adder 18 calculates a five bit sum from the four bit values received on the first and second buses 16 a, 16 b and outputs that sum onto a third bus 19 .
  • the third bus is received by a trim circuit 20 .
  • the trim circuit 20 is adaptable between many different resistances, thirty-two in the preferred embodiment.
  • the resistance of the trim circuit 20 when divided by a second, set resistance implements the K 2 factor of the bandgap voltage reference equation.
  • the electronic system 10 can be used to adjust other circuit elements such as capacitors.
  • the number of bits of the trim registers and the adder output can be increased or decreased. It is not necessary that the number of bits of the primary and secondary registers be equal.
  • the bits from the primary and secondary registers are combined in a circuit other than an adder.
  • both the primary 12 and secondary 14 trim registers include different types of memory.
  • the primary trim register 12 includes a first SRAM 22 having four bits. SRAM stands for static random access memory. SRAM can be programmed and reprogrammed as is well known in the art.
  • the primary trim register also includes a first EPROM 24 having four bits. EPROM stands for erasable programmable read-only memory.
  • the first SRAM 22 is connected to the first EPROM 24 such that the first EPROM 24 can be programmed with the data stored in the first SRAM 22 .
  • another reprogrammable memory could be used in place of SRAM and/or another memory could be used in place of the EPROM.
  • a first multiplexor 26 controls whether the first bus 16 a receives the data stored on the first SRAM 22 or the data stored on the first EPROM 24 .
  • the first multiplexor 26 is controlled by test software run externally. In the preferred embodiment, the first multiplexor 26 is controlled to pass through the data from the first SRAM 22 until the first EPROM 24 is programmed, at which point the first multiplexor 24 passes the EPROM data.
  • the secondary trim register 14 includes a second SRAM 28 , a second EPROM 30 , and a second multiplexor 32 .
  • the second SRAM 28 and the second EPROM 30 each have four bits.
  • the second SRAM 28 is connected to the second EPROM 30 such that the second EPROM 30 can be programmed with the data stored in the second SRAM 28 .
  • the second multiplexor 32 controls whether the second bus 16 b receives the data stored on the second SRAM 28 or the data stored on the second EPROM 30 .
  • the second multiplexor 32 is controlled by test software run externally. In the preferred embodiment, the second multiplexor 32 is controlled to pass through the data from the second SRAM 28 until the second EPROM 30 is programmed, at which point the second multiplexor 32 passes the EPROM data.
  • the trim circuit 20 is coupled to the third bus 19 .
  • the third bus 19 carries five bits at a time on five lines. Each of the lines terminates at a PMOS switch 34 a - e that controls a shorting pathway across a portion of the resistor.
  • the portions of the resistor shorted by the PMOS switches 34 a - e are binary weighted in the preferred embodiment.
  • the portion of the resistor bypassed by PMOS switch 34 b has a resistance twice that of the portion bypassed by PMOS switch 34 a.
  • the portion bypassed by PMOS switch 34 e has a resistance sixteen times that bypassed by PMOS switch 34 a.
  • the trim circuit When all of the switches 34 a - e are activated, the trim circuit has a minimum resistance because the portions of the resistor across which the switches are placed are shorted. When none of the switches 34 a - e are activated, the trim circuit has a maximum resistance because no portion of the resistor is shorted. In the preferred embodiment, thirty equally spaced adjustable resistances are possible between those two extremes. In alternative embodiments, fewer or more resistances are possible and equal spacing is not necessary.
  • FIG. 2 is a flow diagram of a first portion of one embodiment of a method for adjusting a voltage.
  • the method is preferably implemented in software resident on testing hardware that is external of the electronic circuit 10 , but can be coupled to it.
  • the start 100 of the method assigns an adjustment code, Adj_code, of F 102 .
  • Adjustment codes are hexadecimal numbers and represent data loaded into an SRAM, in this case the first SRAM 22 . In hexadecimal notation F represents 1111 in binary.
  • the adder 18 will output bits that activate the switches 34 a - e such that the resistance of trim circuit 20 corresponds to the sum of the trim adjustments for the two four-bit inputs.
  • the adder 18 could be a bit-wise adder and the trim adjustments would correspond in value to the hexadecimal notation of the adjustment codes.
  • the adjustment code of 8 could represent a midpoint trim circuit resistance for a bitwise adder. The values of the adjustment codes are further discussed with reference to FIG. 5.
  • the output voltage, V out is measured 104 .
  • This measurement occurs at a specified first temperature, T 1 .
  • the V out corresponds to the resistance of the trim circuit 20 .
  • the measured V out is compared 106 to the high bound of an initial range for the first temperature, T1 —Target _HI, and if it is less it is then compared 108 to the low bound of the initial range, T1 —Target _LO. If the measured V out falls within T1_Target_High and T1_Target_LO, the first EPROM 24 is programmed 110 with the values from the first SRAM 22 .
  • the voltage that fell within the range is also recorded in the test hardware. In another embodiment, that voltage is not recorded, but rather approximated as the average of T1_Target_LO and T1 —Target _HI.
  • the measured V out may not fall within the required range for the first temperature with the midpoint trim circuit 20 resistance. If V out is too high, the adjustment code is reset 114 according to the “greater than” branch of the binary tree. In general, this adjustment splits the difference of the untried possible trim resistances that will lower V out . If V out is too low, the adjustment code is reset 116 according to the “lesser than” branch of the binary tree. In general, this adjustment splits the difference of the untried possible trim resistances that will raise V out . A more detailed description of the reset procedure of the adjustment codes is discussed with respect to FIGS. 4 and 5. The binary search concludes at the midpoint resistance, adjustment code F, if no options are left, see FIG. 4.
  • the adjustment code is checked 118 to see if that point was reached. If it has, the method concludes that the trim circuit 20 is unable to achieve a resistance that will satisfy the V out requirements and the circuit fails 120 . If the adjustment code is not F, the first SRAM 22 is reprogrammed 122 with the bits corresponding to the new adjustment code and the output voltage is measured at the first temperature again 104 .
  • FIG. 3 is a flow diagram of a second portion of one embodiment of a method for adjusting a voltage.
  • This portion of one method embodiment determines the proper value to program in the second EPROM 30 , or fails if there is no such value.
  • the value sets the temperature coefficient of the reference voltage, by measuring the output voltage at a second temperature.
  • the adjustment is based on the difference between the voltage that was measured or approximated for the final primary resistor 12 setting at the first temperature and the voltage measured at a second temperature. This difference is correlated to an overall temperature coefficient by characterization.
  • the output voltage changes across temperature for different trim codes.
  • the relationship between the change in voltage at a first temperature and the change in voltage at a second temperature resulting from a change in resistance of the trim circuit 20 can be shown as:
  • T 1 and T 2 are Kelvin-scale temperatures at which the voltage measurements where taken. That equation can be manipulated to solve for V 2 ′ ⁇ V 1 ′:
  • V 2 ′ ⁇ V 1 ′ V 2 ′ ⁇ V 1 +( V 2 ⁇ V 2 ′)( T 1 /T 2 )
  • the start 200 of the second portion of the method preferably follows the programming 110 of the first EPROM 24 .
  • the first register 12 continues to operate based on the data in the first SRAM 22 and the first EPROM 24 is not programmed until after the second register 14 value has been determined.
  • the adjustment code, Adj_Code is set 202 at the midpoint, F.
  • the output voltage V out is then measured at the second temperature, T 2 , and the initial second temperature voltage is stored as V T2 .
  • the second temperature output is compared 204 to the high bound of a range calculated from the final first temperature voltage, whether stored or approximated. If it is lower than the high bound, it is compared 206 to the low bound of a range calculated from the final first temperature voltage. If it is within the range, the current value of the second EPROM 30 is sufficient (the second EPROM 30 default value corresponds to adjustment code F) and the adjustment is concluded 208 .
  • the measured V out may not fall within the required range for the second temperature with the midpoint trim circuit 20 resistance. If V out is too high, the adjustment code is reset 210 according to the “greater than” branch of the binary tree. In general, this adjustment splits the difference of the untried possible trim resistances that will lower V out . If V out is too low, the adjustment code is reset 212 according to the “lesser than” branch of the binary tree. In general, this adjustment splits the difference of the untried possible trim resistances that will raise V out . A more detailed description of the reset procedure of the adjustment codes is discussed with respect to FIGS. 4 and 5. The new adjustment code determines a new set of bits that are programmed 214 into the second SRAM 28 . The output voltage is again measured at the second temperature.
  • the change in the secondary register 14 modifies the expected output voltage at the first temperature, because the trim circuit 20 now has a different resistance.
  • the range that corresponds to the desired coefficient is modified in accordance with the equation for V 2 ′ ⁇ V 1 ′.
  • the second and subsequent voltage measurements made at T 2 are compared to a newly calculated range as shown in comparison steps 216 and 218 .
  • the adjustment code is reset along one of the paths of the binary tree 222 , 224 . If that reset results in an F code 226 , no trim circuit configuration will support the required temperature coefficient and the trim process has failed 228 . Otherwise, the testing continues with the new code programmed into the second SRAM 28 .
  • FIG. 4 is a diagram of a binary search tree employed in one embodiment of a method for adjusting a voltage.
  • the beginning point 300 and the end points 302 are all associated with adjustment code F.
  • Each change in state, movement from one circle to another, is associated with either a “greater than” or a “less than” symbol.
  • Those paths correspond to resetting the value from that contained in the first circle to that contained in the second circle in the flow diagrams of FIGS. 2 and 3.
  • FIG. 5 is table of codes for the symbols used in the binary search tree of FIG. 4. For example, code F corresponds to an adjustment of 0, while code 3 corresponds to an adjustment of ⁇ 4. Changes in the hexadecimal notation for a given adjustment can be made if changes to the adder 18 are also made such that the output of the adder activates switches to produce a resistance corresponding to the sum of the adjustments from each register.

Abstract

A resistor is modified in accordance with a first adjustment. A voltage is measured at a particular temperature. The measured voltage is compared to the bounds of an initial range. If the voltage is outside the initial range, the first adjustment is changed and the measurement at the particular temperature is repeated. The resistor is modified in accordance with both the first adjustment and a second adjustment. The voltage is measured at a new temperature. If the voltage measured at the new temperature does not fall within a specific range, the second adjustment is changed and the measurement at the new temperature is repeated.

Description

    BACKGROUND OF THE INVENTION
  • The invention relates to electronic circuitry and, more particularly, to a system and method that result in an adjusted voltage. [0001]
  • DESCRIPTION OF THE RELATED TECHNOLOGY
  • Electronic devices utilize voltages and currents in their operation. Specific points in the circuit can utilize a defined voltage, current, or other characteristic to bias a circuit element, provide a reference for comparison, and for many other purposes. The accuracy of electronic circuit operations is often directly dependent upon the accuracy of defined voltages and other characteristics used by the circuit. [0002]
  • Electronic device manufacturers also must consider the changes in device characteristics that occur with temperature. For example, a reference voltage can properly bias a transistor at a particular temperature, but fail at a higher temperature. In one instance, the circuit that produces the reference voltage is affected by the change in temperature such that its output changes appreciably. In another instance, the transistor's characteristics change with temperature. In that case, the reference voltage needs to change as well to do its job. A manufacturer of electronic devices may require both a temperature independent reference voltage and a reference voltage that has a specific temperature dependence. In addition, in the manufacture of CMOS devices, rather large offset voltages must be accommodated. The temperature dependence of a particular reference voltage is often described by its temperature coefficient. The output voltage of a bandgap voltage reference is described by V[0003] out=K1(K2φTln(A2/A1)+VBE) where φT increases with temperature and VBE decreases with temperature. The value of K2 can be manipulated to balance those opposing temperature dependencies.
  • Circuits that produce reference voltages are subject to errors in manufacturing as with any other circuit. Rather than discard all the circuits that deviate from the desired characteristics, manufacturers include circuitry that can be modified to correct the deviations. Testing and correction of deviations can add a great deal to the average cost of manufacturing. For this reason, efficient correction circuitry and methods of correction are important. [0004]
  • SUMMARY OF THE INVENTION
  • The present invention is directed to a reference voltage adjusting circuit, a method for adjusting a circuit element, and systems employing the apparatus or method. [0005]
  • In an embodiment of the system for adjusting a circuit element of the present invention, two registers are connected to an adder. The adder outputs the sum of the two registers. The adder output is coupled to a group of switches. [0006]
  • In a more specific embodiment of the present invention, each of the registers includes an EPROM and an SRAM that are connected to a multiplexor. In another more specific embodiment of the invention, the switches are connected to shorting pathways that are each positioned across a circuit element. Those circuit elements are resistors. In another more specific embodiment of the invention, the switches include CMOS transistors. In another more specific embodiment of the invention, the register EPROMs are adapted to be programmed with the data stored in the register SRAMs. [0007]
  • In a method embodiment of the present invention, a first set of bits is temporarily stored in memory. A plurality of switches are controlled at least in part by the first set of bits. The first set of bits are permanently stored in memory. A second set of bits is stored in memory temporarily. The switches are controlled at least in part by the sum of the two sets of bits. The second set of bits are permanently stored in memory. [0008]
  • In another more specific method embodiment of the invention, a circuit element is adjusted by the switches and the output of the circuit element is compared to a specific output. In another more specific embodiment of the invention, the circuit element output resulting from the first set of bits is compared with the lower and upper bounds of an initial range. If the output is outside the range the first set of bits is modified. The modification depending upon whether the output is above or below the range. In another more specific embodiment of the invention, the circuit element output resulting from the sum of the first and second sets of bits is compared to a range calculated at least in part from the output resulting from the first set of bits that fell within the initial range. [0009]
  • In another method embodiment of the present invention, a resistor is modified in accordance with a first adjustment. A voltage is measured at a particular temperature. The measured voltage is compared to the bounds of an initial range. If the voltage is outside the initial range, the first adjustment is changed and the measurement is repeated. The resistor is modified in accordance with both the first adjustment and a second adjustment. The voltage is measured at a new temperature. If the voltage measured at the new temperature does not fall within a specific range, the second adjustment is changed and the measurement is repeated. In another more specific embodiment of the invention, the changes in the first and second adjustments are implemented in accordance with a binary search algorithm. In another more specific embodiment of the invention, the first adjustment is stored in an EPROM when the measured voltage is within the initial range. In an alternative embodiment of the invention, the first and second adjustments are stored in at least one EPROM when the measured at the new temperature falls within the specific range. [0010]
  • A feature of the invention is adjusting a circuit element. [0011]
  • Another feature is adjusting a reference voltage. [0012]
  • Another feature is adjusting reference voltage behavior at two temperatures. [0013]
  • An advantage of the present invention is modifying a circuit element after manufacture. [0014]
  • Another advantage is modifying a circuit element based on its characteristics at two temperatures. [0015]
  • Still another advantage is decreasing testing time for trimming a reference voltage. [0016]
  • Another advantage is trimming voltage references for CMOS devices. [0017]
  • Another advantage is identifying failed circuits. [0018]
  • Other and further features and advantages will be apparent from the following description of presently preferred embodiments of the invention, given for the purpose of disclosure and taken in conjunction with the accompanying drawings. Not all embodiments of the invention will include all the specified advantages. For example, one embodiment may only modify a circuit element after manufacture, while another only adjusts reference voltage behavior at two temperatures. [0019]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a circuit diagram of a system for modifying a resistor; [0020]
  • FIG. 2 is a flow diagram of a first portion of one embodiment of a method for adjusting a voltage; [0021]
  • FIG. 3 is a flow diagram of a second portion of one embodiment of a method for adjusting a voltage; [0022]
  • FIG. 4 is a diagram of a binary search tree employed in one embodiment of a method for adjusting a voltage; and [0023]
  • FIG. 5 is table of codes for the symbols used in the binary search tree of FIG. 4. [0024]
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • Referring now to the drawings, the details of preferred embodiments of the invention are schematically illustrated. Like elements in the drawings will be represented by like numbers, and similar elements will be represented by like numbers with a different lower case letter suffix. [0025]
  • Referring to FIG. 1, a circuit diagram of an electronic system for modifying a resistor is illustrated. The electronic system is generally represented by the numeral [0026] 10. The electronic system 10 can be fabricated as a portion of a larger integrated circuit. The integrated circuit package may be, for example, but not limited to, plastic dual in-line package (PDIP), small outline (SO), shrink small outline package (SSOP), thin shrink small outline package (TSSOP), windowed ceramic dual in-line package (CERDIP), leadless chip carrier (LCC), plastic leaded chip carrier (PLCC), plastic quad flatpack package (PQFP), thin quad flatpack package (TQFP), pin grid array (PGA), ball grid array (BGA), TO-220, T0-247 and T0-263.
  • The [0027] electronic system 10 includes two registers: a primary trim register 12 and a secondary trim register 14. The primary trim register 12 outputs four bits onto a first bus 16 a. The secondary trim register 14 outputs four bits onto a second bus 16 b. The adder 18 calculates a five bit sum from the four bit values received on the first and second buses 16 a, 16 b and outputs that sum onto a third bus 19. The third bus is received by a trim circuit 20. The trim circuit 20 is adaptable between many different resistances, thirty-two in the preferred embodiment. The resistance of the trim circuit 20 when divided by a second, set resistance implements the K2 factor of the bandgap voltage reference equation. Thus, changes in the resistance of the trim circuit 20 affect the temperature dependence of the bandgap voltage reference. In alternative embodiments, the electronic system 10 can be used to adjust other circuit elements such as capacitors. In other alternative embodiments, the number of bits of the trim registers and the adder output can be increased or decreased. It is not necessary that the number of bits of the primary and secondary registers be equal. In an alternative embodiment, the bits from the primary and secondary registers are combined in a circuit other than an adder.
  • In the preferred embodiment, both the primary [0028] 12 and secondary 14 trim registers include different types of memory. The primary trim register 12 includes a first SRAM 22 having four bits. SRAM stands for static random access memory. SRAM can be programmed and reprogrammed as is well known in the art. The primary trim register also includes a first EPROM 24 having four bits. EPROM stands for erasable programmable read-only memory. The first SRAM 22 is connected to the first EPROM 24 such that the first EPROM 24 can be programmed with the data stored in the first SRAM 22. In alternative embodiments, another reprogrammable memory could be used in place of SRAM and/or another memory could be used in place of the EPROM. A first multiplexor 26 controls whether the first bus 16 a receives the data stored on the first SRAM 22 or the data stored on the first EPROM 24. The first multiplexor 26 is controlled by test software run externally. In the preferred embodiment, the first multiplexor 26 is controlled to pass through the data from the first SRAM 22 until the first EPROM 24 is programmed, at which point the first multiplexor 24 passes the EPROM data.
  • The [0029] secondary trim register 14 includes a second SRAM 28, a second EPROM 30, and a second multiplexor 32. The second SRAM 28 and the second EPROM 30 each have four bits. The second SRAM 28 is connected to the second EPROM 30 such that the second EPROM 30 can be programmed with the data stored in the second SRAM 28. The second multiplexor 32 controls whether the second bus 16 b receives the data stored on the second SRAM 28 or the data stored on the second EPROM 30. The second multiplexor 32 is controlled by test software run externally. In the preferred embodiment, the second multiplexor 32 is controlled to pass through the data from the second SRAM 28 until the second EPROM 30 is programmed, at which point the second multiplexor 32 passes the EPROM data.
  • The [0030] trim circuit 20 is coupled to the third bus 19. In the preferred embodiment, the third bus 19 carries five bits at a time on five lines. Each of the lines terminates at a PMOS switch 34 a-e that controls a shorting pathway across a portion of the resistor. The portions of the resistor shorted by the PMOS switches 34 a-e are binary weighted in the preferred embodiment. In other words, the portion of the resistor bypassed by PMOS switch 34 b has a resistance twice that of the portion bypassed by PMOS switch 34 a. The portion bypassed by PMOS switch 34 e has a resistance sixteen times that bypassed by PMOS switch 34 a. When all of the switches 34 a-e are activated, the trim circuit has a minimum resistance because the portions of the resistor across which the switches are placed are shorted. When none of the switches 34 a-e are activated, the trim circuit has a maximum resistance because no portion of the resistor is shorted. In the preferred embodiment, thirty equally spaced adjustable resistances are possible between those two extremes. In alternative embodiments, fewer or more resistances are possible and equal spacing is not necessary.
  • FIG. 2 is a flow diagram of a first portion of one embodiment of a method for adjusting a voltage. The method is preferably implemented in software resident on testing hardware that is external of the [0031] electronic circuit 10, but can be coupled to it. The start 100 of the method assigns an adjustment code, Adj_code, of F 102. Adjustment codes are hexadecimal numbers and represent data loaded into an SRAM, in this case the first SRAM 22. In hexadecimal notation F represents 1111 in binary. In the electronic circuit 10, the adder 18 will output bits that activate the switches 34 a-e such that the resistance of trim circuit 20 corresponds to the sum of the trim adjustments for the two four-bit inputs. In an alternative embodiment, the adder 18 could be a bit-wise adder and the trim adjustments would correspond in value to the hexadecimal notation of the adjustment codes. For example, the adjustment code of 8 could represent a midpoint trim circuit resistance for a bitwise adder. The values of the adjustment codes are further discussed with reference to FIG. 5.
  • After setting an adjustment code of [0032] F 102, the output voltage, Vout, is measured 104. This measurement occurs at a specified first temperature, T1. The Vout corresponds to the resistance of the trim circuit 20. The measured Vout is compared 106 to the high bound of an initial range for the first temperature, T1—Target_HI, and if it is less it is then compared 108 to the low bound of the initial range, T1—Target_LO. If the measured Vout falls within T1_Target_High and T1_Target_LO, the first EPROM 24 is programmed 110 with the values from the first SRAM 22. In one embodiment, when the first EPROM 24 is programmed, the voltage that fell within the range is also recorded in the test hardware. In another embodiment, that voltage is not recorded, but rather approximated as the average of T1_Target_LO and T1—Target_HI.
  • The measured V[0033] out may not fall within the required range for the first temperature with the midpoint trim circuit 20 resistance. If Vout is too high, the adjustment code is reset 114 according to the “greater than” branch of the binary tree. In general, this adjustment splits the difference of the untried possible trim resistances that will lower Vout. If Vout is too low, the adjustment code is reset 116 according to the “lesser than” branch of the binary tree. In general, this adjustment splits the difference of the untried possible trim resistances that will raise Vout. A more detailed description of the reset procedure of the adjustment codes is discussed with respect to FIGS. 4 and 5. The binary search concludes at the midpoint resistance, adjustment code F, if no options are left, see FIG. 4. After resetting the adjustment code it is checked 118 to see if that point was reached. If it has, the method concludes that the trim circuit 20 is unable to achieve a resistance that will satisfy the Vout requirements and the circuit fails 120. If the adjustment code is not F, the first SRAM 22 is reprogrammed 122 with the bits corresponding to the new adjustment code and the output voltage is measured at the first temperature again 104.
  • FIG. 3 is a flow diagram of a second portion of one embodiment of a method for adjusting a voltage. This portion of one method embodiment determines the proper value to program in the [0034] second EPROM 30, or fails if there is no such value. The value sets the temperature coefficient of the reference voltage, by measuring the output voltage at a second temperature. The adjustment is based on the difference between the voltage that was measured or approximated for the final primary resistor 12 setting at the first temperature and the voltage measured at a second temperature. This difference is correlated to an overall temperature coefficient by characterization. The output voltage changes across temperature for different trim codes. The relationship between the change in voltage at a first temperature and the change in voltage at a second temperature resulting from a change in resistance of the trim circuit 20 can be shown as:
  • (V 2 −V 2′)/(V 1 −V 1′)=T 2 /T 1
  • where T[0035] 1 and T2 are Kelvin-scale temperatures at which the voltage measurements where taken. That equation can be manipulated to solve for V2′−V1′:
  • V 2 ′−V 1 ′=V 2 ′−V 1+(V 2 −V 2′)(T 1 /T 2)
  • This equation is used to determine ranges for comparison to new adjustment codes. [0036]
  • The [0037] start 200 of the second portion of the method preferably follows the programming 110 of the first EPROM 24. In alternate embodiments, the first register 12 continues to operate based on the data in the first SRAM 22 and the first EPROM 24 is not programmed until after the second register 14 value has been determined. The adjustment code, Adj_Code, is set 202 at the midpoint, F. The output voltage Vout is then measured at the second temperature, T2, and the initial second temperature voltage is stored as VT2. The second temperature output is compared 204 to the high bound of a range calculated from the final first temperature voltage, whether stored or approximated. If it is lower than the high bound, it is compared 206 to the low bound of a range calculated from the final first temperature voltage. If it is within the range, the current value of the second EPROM 30 is sufficient (the second EPROM 30 default value corresponds to adjustment code F) and the adjustment is concluded 208.
  • The measured V[0038] out may not fall within the required range for the second temperature with the midpoint trim circuit 20 resistance. If Vout is too high, the adjustment code is reset 210 according to the “greater than” branch of the binary tree. In general, this adjustment splits the difference of the untried possible trim resistances that will lower Vout. If Vout is too low, the adjustment code is reset 212 according to the “lesser than” branch of the binary tree. In general, this adjustment splits the difference of the untried possible trim resistances that will raise Vout. A more detailed description of the reset procedure of the adjustment codes is discussed with respect to FIGS. 4 and 5. The new adjustment code determines a new set of bits that are programmed 214 into the second SRAM 28. The output voltage is again measured at the second temperature.
  • The change in the [0039] secondary register 14 modifies the expected output voltage at the first temperature, because the trim circuit 20 now has a different resistance. The range that corresponds to the desired coefficient is modified in accordance with the equation for V2′−V1′.In the preferred embodiment, the second and subsequent voltage measurements made at T2 are compared to a newly calculated range as shown in comparison steps 216 and 218. As before, if the output voltage falls within the range, the correct adjustment has been found and the second EPROM 30 is programmed 220 with the second SRAM 28 data. If it is outside the range, the adjustment code is reset along one of the paths of the binary tree 222,224. If that reset results in an F code 226, no trim circuit configuration will support the required temperature coefficient and the trim process has failed 228. Otherwise, the testing continues with the new code programmed into the second SRAM 28.
  • FIG. 4 is a diagram of a binary search tree employed in one embodiment of a method for adjusting a voltage. The [0040] beginning point 300 and the end points 302 are all associated with adjustment code F. Each change in state, movement from one circle to another, is associated with either a “greater than” or a “less than” symbol. Those paths correspond to resetting the value from that contained in the first circle to that contained in the second circle in the flow diagrams of FIGS. 2 and 3. FIG. 5 is table of codes for the symbols used in the binary search tree of FIG. 4. For example, code F corresponds to an adjustment of 0, while code 3 corresponds to an adjustment of −4. Changes in the hexadecimal notation for a given adjustment can be made if changes to the adder 18 are also made such that the output of the adder activates switches to produce a resistance corresponding to the sum of the adjustments from each register.
  • The invention, therefore, is well adapted to carry out the objects and attain the ends and advantages mentioned, as well as others inherent therein. While the invention has been depicted and described and is defined by reference to particular preferred embodiments of the invention, such references do not imply a limitation on the invention, and no such limitation is to be inferred. The invention is capable of considerable modification, alternation and equivalents in form and function, as will occur to those ordinarily skilled in the pertinent arts. The depicted and described preferred embodiments of the invention are exemplary only and are not exhaustive of the scope of the invention. Consequently, the invention is intended to be limited only by the spirit and scope of the appended claims, giving full cognizance to equivalents in all respects. [0041]

Claims (28)

What is claimed is:
1. A system for adjusting a circuit element, comprising:
a first register;
an adder coupled at a first input to the output of the first register and having a second input and an output;
a second register coupled to the second input of the adder; and
a plurality of switches coupled to the output of the adder.
2. The system of claim 1, wherein the first register includes:
a first multiplexor having at least first and second inputs and an output;
a first reprogrammable memory coupled to the first input of the first multiplexor; and
a first programmable memory coupled to the second input of the first multiplexor, and the second register includes
a second multiplexor coupled to the second input of the adder and having at least first and second inputs;
a second reprogrammable memory coupled to the first input of the second multiplexor; and
a second programmable memory coupled to the second input of the second multiplexor.
3. The system of claim 1, further comprising:
a plurality of shorting pathways each coupled to one of the switches and each positioned across a circuit element.
4. The system of claim 3, wherein the circuit elements are resistors.
5. The system of claim 4, wherein each resistor has a resistance that is a multiple of two in value in comparison to another resistor.
6. The system of claim 2, further comprising:
a first bus coupling the first multiplexor to the adder; and
a second bus, having the same number of lines as the first bus, coupling the second multiplexor to the adder.
7. The system of claim 6, further comprising:
a third bus, having one more line than the second bus, coupling the adder to the plurality of switches, and wherein each switch is controlled by the signal on at least one line of the third bus.
8. The system of claim 1, wherein the plurality of switches include PMOS transistors.
9. The system of claim 2, wherein the first and second programmable memories include at least one EPROM.
10. The system of claim 2, wherein the first and second reprogrammable memories include at least one static random access memory.
11. The system of claim 2, wherein each of the first and second programmable memories and the first and second reprogrammable memories include one less bit than the number of switches.
12. The system of claim 2, wherein each of the first and second programmable memories is adapted to be programmed with the data contained in the first and second reprogrammable memories, respectively.
13. The system of claim 2, wherein the output of the first multiplexor is equivalent to its second input after the first programmable memory has been programmed.
14. The system of claim 1, wherein the adder is a bitwise adder.
15. A method for adjusting a circuit element, comprising the steps of:
temporarily storing a first set of bits in memory;
controlling a plurality of switches based at least in part on a value associated with the first set of bits;
storing the first set of bits in non-volatile memory,
temporarily storing a second set of bits in memory, the second set of bits associated with a value;
controlling the plurality of switches based at least in part on the sum of the values associated with the first and second sets of bits; and
storing the second set of bits in non-volatile memory.
16. The method of claim 15, further comprising the steps of:
adjusting the circuit element in accordance with the plurality of switches controlled at least in part based on the value associated with the first set of bits; and
comparing the output of the circuit element with at least one specified output.
17. The method of claim 16, wherein the step of comparing includes
checking if the output is greater than a specified high output and, if it is not, checking if the output is less than a specified low output; and wherein
the specified high output is greater than the specified low output.
18. The method of claim 17, wherein the first set of bits is modified if the output is greater than the specified high output and the first set of bits is modified differently if the output is less than the specified low output.
19. The method of claim 15, further comprising the steps of:
adjusting the circuit element in accordance with the plurality of switches controlled at least in part based on the sum of the values associated with the first and second sets of bits to produce a summed output; and
comparing the summed output of the circuit element with at least one specified output.
20. The method of claim 19, wherein the step of comparing includes
checking if the output is greater than the sum of a specified high delta and a first set output and, if it is not, checking if the output is less than the sum of a specified low delta and a first set output; and
the specified high delta is greater than the specified low delta.
21. The method of claim 20, wherein the first set output is approximated.
22. The method of claim 20, wherein the first set output is measured.
23. A method for adjusting a voltage, comprising the steps of:
(a) modifying a resistor in accordance with a first adjustment;
(b) measuring the voltage at a first temperature;
(c) checking whether the measured voltage is within a first acceptable range;
(d) if the measured voltage is outside the first acceptable range, changing the first adjustment and repeating steps (a)-(c);
(e) modifying the resistor in accordance with both the first adjustment and a second adjustment;
(f) measuring the voltage at a second temperature;
(g) checking whether the measured voltage is within a second acceptable range; and
(h) if the measured voltage is outside the second acceptable range, changing the second adjustment and repeating steps (e)-(g).
24. The method of claim 23, wherein the second acceptable range is calculated based at least in part on a value within the first acceptable range.
25. The method of claim 23, wherein steps (d) and (h) change the first and second adjustments differently depending upon whether the measured voltage was greater than or less than the range.
26. The method of claim 25, wherein steps (d) and (h) change the first and second adjustments in accordance with a binary search algorithm.
27. The method of claim 23, further comprising the step of:
(d′) if the measured voltage is within the first acceptable range, storing the first adjustment in an EPROM.
28. The method of claim 23, further comprising the step of:
(i) if the measured voltage is within the second acceptable range, storing the first adjustment and the second adjustment in at least one EPROM.
US09/778,293 2001-02-06 2001-02-06 Voltage adjustment system and method Abandoned US20020105310A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US09/778,293 US20020105310A1 (en) 2001-02-06 2001-02-06 Voltage adjustment system and method
PCT/US2002/003490 WO2002063685A2 (en) 2001-02-06 2002-02-06 Voltage adjustment system and method
AU2002242107A AU2002242107A1 (en) 2001-02-06 2002-02-06 Voltage adjustment system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US09/778,293 US20020105310A1 (en) 2001-02-06 2001-02-06 Voltage adjustment system and method

Publications (1)

Publication Number Publication Date
US20020105310A1 true US20020105310A1 (en) 2002-08-08

Family

ID=25112857

Family Applications (1)

Application Number Title Priority Date Filing Date
US09/778,293 Abandoned US20020105310A1 (en) 2001-02-06 2001-02-06 Voltage adjustment system and method

Country Status (3)

Country Link
US (1) US20020105310A1 (en)
AU (1) AU2002242107A1 (en)
WO (1) WO2002063685A2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03276921A (en) * 1990-03-27 1991-12-09 Matsushita Electric Works Ltd Reference voltage adjustment circuit
US5574678A (en) * 1995-03-01 1996-11-12 Lattice Semiconductor Corp. Continuous time programmable analog block architecture
WO1997036181A1 (en) * 1996-03-26 1997-10-02 Citizen Watch Co., Ltd. Power supply voltage detecting circuit
US6281734B1 (en) * 1999-12-31 2001-08-28 Stmicroelectronics, Inc. Reference voltage adjustment

Also Published As

Publication number Publication date
WO2002063685A3 (en) 2002-11-07
AU2002242107A1 (en) 2002-08-19
WO2002063685A2 (en) 2002-08-15

Similar Documents

Publication Publication Date Title
US6541996B1 (en) Dynamic impedance compensation circuit and method
KR101632095B1 (en) Process, voltage, and temperature sensor
US6151238A (en) Calibrating functions of an integrated circuit and storing calibration parameters thereof in a programmable fuse array
US7250821B2 (en) Semiconductor integrated circuit
US7742352B1 (en) Variable sense level for fuse-based non-volatile memory
US6433714B1 (en) Apparatus and method for precision trimming of a semiconductor device
US10845837B2 (en) Semiconductor device including non-volatile memory, a bias current generator and an on-chip termination resistor, method of fabricating the same and method of operating the same
US6674377B1 (en) Circuit, apparatus and method for improved current distribution of output drivers enabling improved calibration efficiency and accuracy
US20090079439A1 (en) Efuse system and testing method thereof
CN116959542A (en) Calibration circuit, memory and calibration method
US7796447B2 (en) Semiconductor memory device having output impedance adjustment circuit and test method of output impedance
US20230268011A1 (en) Piecewise linear and trimmable temperature sensor
US20020105310A1 (en) Voltage adjustment system and method
KR100558559B1 (en) Programmable impedance controller and method for operating the same
US7537942B2 (en) Counting circuit for controlling an off-chip driver and method of changing and output current value of the off-chip driver using the same
CN110880933A (en) On-chip correction circuit with half-step resolution and method thereof
US20030179603A1 (en) Trim circuit and method for tuning a current level of a reference cell in a flash memory
US8427198B1 (en) Reduced quantization error I/O resistor calibrator
US7345536B2 (en) Amplifier circuit and control method thereof
JP3766415B2 (en) Reference voltage correction apparatus and reference voltage correction method
US7009420B2 (en) Input circuit for receiving a signal at an input on an integrated circuit
US6703854B2 (en) Burn-in apparatus having average voltage calculating circuit
JP3090098B2 (en) Reference voltage generation circuit
US7661051B2 (en) System to reduce programmable range specifications for a given target accuracy in calibrated electronic circuits
US20220360239A1 (en) Trimming operational amplifiers

Legal Events

Date Code Title Description
AS Assignment

Owner name: MICROCHIP TECHNOLOGY INCORPORATED, ARIZONA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:LOYER, STEPHEN R.;REEL/FRAME:011568/0948

Effective date: 20010205

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION