# US 9,356,590 B1 · Production test trimming acceleration

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,356,590 B1
- Document ID: US9356590B1
- Status: Granted
- Kind: B1
- Application number: 14/571,596
- Filed: 2014-12-16
- Published: 2016-06-16
- Granted: 2016-05-31
- Earliest claimed: 2014-12-16
- Assignees: Freescale Semiconductor, Inc.
- Applicants: Freescale Semiconductor, Inc.
- Inventors: Edevaldo Pereira da Silva, Jr.; Joe Chayachinda; Ricardo P. Coimbra; Marcelo de Paula Campos
- Web page: https://patentgrep.com/patent/US9356590B1

## CPC

- H03K 5/22: Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral (indicating phase difference of two cyclic pulse trains G01R25/00)
- G05F 3/08: wherein the variable is DC
- G11C 5/147: {Voltage reference generators, voltage or current regulators; Internally lowered supply levels; Compensation for voltage drops (G11C5/141 takes precedence)}
- G11C 7/04: with means for avoiding disturbances due to temperature effects
- G11C 29/021: {in voltage or current generators}
- G11C 29/028: {with adaption or trimming of parameters}
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- G05F: SYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Systems and methods for production test trimming acceleration. In an illustrative, non-limiting embodiment, a method may include providing a first trim code to a reference circuit, where the reference circuit is configured to output a first signal in response to the first trim code; integrating a difference between the first signal and a target voltage value into a first integrated value; providing a second trim code to the reference circuit, where the reference circuit is configured to output a second signal in response to the second trim code; integrating a difference between the second signal and the target voltage value into a second integrated value; and adjusting at least one of the first or second trim codes in response to a comparison between the first and second integrated values.

## Claims

### Claim 1

A method, comprising:
providing a first trim code to a reference circuit, wherein the reference circuit is configured to output a first signal in response to the first trim code;
integrating a difference between the first signal and a target voltage value into a first integrated value;
providing a second trim code to the reference circuit, wherein the reference circuit is configured to output a second signal in response to the second trim code;
integrating a difference between the second signal and the target voltage value into a second integrated value; and
adjusting at least one of the first or second trim codes in response to a comparison between the first and second integrated values.

### Claim 2 (depends on 1)

The method of claim 1, wherein the reference circuit is a bandgap voltage reference circuit, and wherein the first and second signals are bandgap voltages.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first trim code is an upper level trim code, and wherein the first signal is a maximum voltage output.

### Claim 4 (depends on 3)

The method of claim 3, wherein adjusting the at least one of the first or second trim codes in response to the comparison further comprises, in response to the first integrated value being greater than the second integrated value, adjusting the upper trim code to cause the reference circuit to output a voltage smaller than the maximum voltage output.

### Claim 5 (depends on 4)

The method of claim 4, further comprising repeating at least one of the providing, integrating, or adjusting operations until the comparison determines that the difference between the first and second integrated values is below a selected threshold.

### Claim 6 (depends on 3)

The method of claim 3, wherein the second trim code is a lower level trim code, and wherein the second signal is a minimum voltage output.

### Claim 7 (depends on 6)

The method of claim 6, wherein adjusting the at least one of the first or second trim codes in response to the comparison further comprises, in response to the second integrated value being greater than the first integrated value, adjusting the lower trim code to cause the reference circuit to output a voltage greater than the minimum voltage output.

### Claim 8 (depends on 7)

The method of claim 7, further comprising repeating at least one of the providing, integrating, or adjusting operations until the comparison determines that the difference between the first and second integrated values is below a selected threshold.

### Claim 9

An integrated circuit, comprising:
a control circuit configured to provide trim codes to a bandgap voltage reference circuit;
a summer circuit configured to receive a target voltage and an output of the bandgap voltage reference circuit;
an integrator circuit configured to receive a reset signal from the control circuit and an output from the summer circuit; and
a comparator circuit configured to receive an output of the integrator circuit and to provide an output to the control circuit.

### Claim 10 (depends on 9)

The integrated circuit of claim 9, wherein the control circuit is configured to provide a first trim code to the bandgap voltage reference circuit, and wherein the bandgap voltage reference circuit is configured to output a first bandgap reference voltage in response to the first trim code.

### Claim 11 (depends on 10)

The integrated circuit of claim 10, wherein the integrator circuit is configured to integrate a difference between the first bandgap reference voltage and a target voltage value into a first integrated value, and to provide the first integrated value to the comparator circuit.

### Claim 12 (depends on 11)

The integrated circuit of claim 11, wherein the control circuit is configured to provide a second trim code to the bandgap voltage reference circuit subsequently to having provided the first trim code, and wherein the bandgap voltage reference circuit is configured to output a second bandgap reference voltage in response to the second trim code.

### Claim 13 (depends on 12)

The integrated circuit of claim 12, wherein the integrator circuit is configured to integrate a difference between the second bandgap reference voltage and the target voltage value into the second integrated value.

### Claim 14 (depends on 13)

The integrated circuit of claim 13, wherein the control circuit is configured to adjust the first trim code to cause the voltage reference circuit to output a voltage smaller than the first bandgap reference voltage in response to the first integrated value being greater than the second integrated value.

### Claim 15 (depends on 13)

The integrated circuit of claim 13, wherein the control circuit is configured to adjust the second trim code to cause the voltage reference circuit to output a voltage greater than the second bandgap reference voltage in response to the second integrated value being greater than the first integrated value.

### Claim 16

A memory having program instructions stored thereon that, upon execution by a logic circuit, cause the logic circuit to:
provide an upper trim code to a bandgap voltage reference circuit, wherein the bandgap voltage reference circuit is configured to output a first bandgap reference voltage in response to the upper trim code;
integrate a difference between the first bandgap reference voltage and a target voltage value into a first integrated value;
provide a lower trim code to the bandgap voltage reference circuit, wherein the bandgap voltage reference circuit is configured to output a second bandgap reference voltage in response to the lower trim code; and
integrate a difference between the second bandgap reference voltage and the target voltage value into a second integrated value.

### Claim 17 (depends on 15)

The memory of claim 15, wherein the program instructions, upon execution by the logic circuit, further cause the logic circuit to adjust at least one of the upper or lower trim codes in response to a comparison between the first and second integrated values.

### Claim 18 (depends on 15)

The memory of claim 15, wherein the program instructions, upon execution by the logic circuit, further cause the logic circuit to, in response to a determination that the first integrated value is greater than the second integrated value, adjust the upper trim code to cause the bandgap voltage reference circuit to output a voltage smaller than the first bandgap reference voltage.

### Claim 19 (depends on 16)

The memory of claim 16, wherein the program instructions, upon execution by the logic circuit, further cause the logic circuit to repeat at least one of the providing, integrating, or adjusting operations until the difference between the first and second integrated values is below a selected threshold.

### Claim 20 (depends on 15)

The memory of claim 15, wherein the program instructions, upon execution by the logic circuit, further cause the logic circuit to, in response to a determination that the second integrated value is greater than the first integrated value, adjust the lower trim code to cause the bandgap voltage reference circuit to output a voltage greater than the second bandgap reference voltage.

### Claim 21 (depends on 19)

The memory of claim 19, wherein the program instructions, upon execution by the logic circuit, further cause the logic circuit to repeat at least one of the providing, integrating, or adjusting operations until the difference between the first and second integrated values is below a selected threshold.
