# US 2019/0296639 A1 · Current mirror calibration circuit and current mirror calibration method

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

- Number: US 2019/0296639 A1
- Document ID: US20190296639A1
- Status: Published application
- Kind: A1
- Application number: 16/296,454
- Filed: 2019-03-08
- Published: 2019-09-26
- Earliest claimed: 2018-03-23
- Assignees: uPI Semiconductor Corp.
- Applicants: uPI semiconductor corp.
- Inventors: Chih-Lien CHANG; Pei-Ling HONG; Min-Rui LAI
- Web page: https://patentgrep.com/patent/US20190296639A1

## CPC

- G05F 3/10: using uncontrolled devices with non-linear characteristics
- H02M 3/156: with automatic control of output voltage or current, e.g. switching regulators
- H02M 3/1584: {with a plurality of power processing stages connected in parallel}
- H03K 5/24: the characteristic being amplitude
- H02M 1/0025: {Arrangements for modifying reference values, feedback values or error values in the control loop of a converter}
- H02M 3/1566: {with means for compensating against rapid load changes, e.g. with auxiliary current source, with dual mode control or with inductance variation}
- H03K 2005/00202: {using current mirrors}
- G05F: SYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
- H02M: APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF (transformers H01F; dynamo-electric converters H02K47/00; controlling transformers, reactors or choke coils, control or regulation of electric motors, generators or dynamo-electric converters H02P)
- 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)

## Abstract

A current mirror calibration circuit, coupled to an error amplifier of a pulse-width modulation controller, includes a first voltage generation unit, a second voltage generation unit, a calibration unit and a current mirror circuit. During an initial period, the first voltage generation unit and second voltage generation unit provide a first default voltage and a second default voltage respectively. The current mirror circuit includes a first current unit and a second current unit. The first current unit receives an original current. The second current unit generates a mirror current having a proportional relationship with original current. The first current unit has a first node coupled to the first voltage generation unit and a second node coupled to a third default voltage. The second current unit has a third node coupled to the second voltage generation unit and calibration unit and a fourth node coupled to calibration unit and an output terminal of error amplifier.

## Claims

### Claim 1

A current mirror calibration circuit, coupled to an error amplifier of a pulse-width modulation (PWM) controller, comprising:
a first voltage generation unit, configured to provide a first default voltage during an initial period;
a second voltage generation unit, configured to provide a second default voltage during the initial period;
a third default voltage;
a calibration unit; and
a current mirror circuit comprising a first current unit and a second current unit, wherein the first current unit receives an original current, the second current unit generates a mirror current having a proportional relationship with the original current, the first current unit has a first node and a second node, the second current unit has a third node and a fourth node, the first node is coupled to the first voltage generation unit, the second node is coupled to a third default voltage, the third node is coupled to the second voltage generation unit and the calibration unit, the fourth node is coupled to the calibration unit and an output terminal of the error amplifier.

### Claim 2 (depends on 1)

The current mirror calibration circuit of claim 1, wherein the calibration unit compares the third default voltage with a reference voltage on the fourth node and adjusts the reference voltage to be equal to the third default voltage.

### Claim 3 (depends on 1)

The current mirror calibration circuit of claim 1, wherein the first default voltage is equal to the second default voltage.

### Claim 4 (depends on 1)

The current mirror calibration circuit of claim 1, wherein the current mirror circuit comprises a first resistor disposed between the first node and the second node.

### Claim 5 (depends on 1)

The current mirror calibration circuit of claim 1, wherein the current mirror circuit comprises an internal parameter setting unit disposed between the third node and the fourth node.

### Claim 6 (depends on 1)

The current mirror calibration circuit of claim 1, wherein the first voltage generation unit comprises a first switch unit and a first voltage follower, the first switch unit is coupled to an output current pin of the PWM controller, the first voltage follower is coupled between the first node and the first switch unit.

### Claim 7 (depends on 6)

The current mirror calibration circuit of claim 6, wherein the first switch unit comprises:
a first switch, coupled between the output current pin and an input terminal of the first voltage follower; and
a second switch, coupled between the first default voltage and the input terminal of the first voltage follower,
wherein operations of the first switch and the second switch are controlled by an enable signal to provide the first default voltage to the input terminal of the first voltage follower.

### Claim 8 (depends on 1)

The current mirror calibration circuit of claim 1, wherein the second voltage generation unit comprises:
a third switch, coupled between a DC-to-AC voltage and the third node; and
a fourth switch, coupled between the second default voltage and the third node,
wherein operations of the third switch and the fourth switch are controlled by an enable signal to provide the second default voltage to the third node.

### Claim 9 (depends on 1)

The current mirror calibration circuit of claim 1, wherein the calibration unit comprises:
a comparator, coupled to the fourth node and the third default voltage, for comparing a reference voltage on the fourth node with the third default voltage to provide a comparing result; and
a compensation unit, coupled to the third node, the fourth node and the comparator respectively, for compensating the mirror current flowing through the third node and the fourth node according to the comparing result.

### Claim 10 (depends on 9)

The current mirror calibration circuit of claim 9, wherein the compensation unit comprises:
a first current source;
a fifth switch, coupled between the first current source and the third node;
a second current source, coupled to a ground terminal; and
a sixth switch, coupled to the second current source and the fourth node,
wherein the compensation unit controls operations of the fifth switch and the sixth switch according to the comparing result to compensate the mirror current flowing through the third node and the fourth node.

### Claim 11 (depends on 10)

The current mirror calibration circuit of claim 10, wherein when the comparing result is that the reference voltage is larger than the third default voltage, the fifth switch is turned off and the sixth switch is turned on to pump current from the fourth node; when the comparing result is that the reference voltage is smaller than the third default voltage, the fifth switch is turned on and the sixth switch is turned off to sink current to the third node.

### Claim 12 (depends on 1)

The current mirror calibration circuit of claim 1, wherein the first voltage generation unit provides the first default voltage according to an enable signal; when the enable signal is disabled, the first voltage generation unit stops providing the first default voltage.

### Claim 13 (depends on 1)

The current mirror calibration circuit of claim 1, wherein the second voltage generation unit provides the second default voltage according to an enable signal; when the enable signal is disabled, the second voltage generation unit stops providing the second default voltage.

### Claim 14

A current mirror calibration method, used to calibrate a current mirror circuit, the current mirror circuit being coupled to an error amplifier of a pulse-width modulation (PWM) controller, the current mirror circuit comprising a first current unit and a second current unit, the first current unit having a first node and a second node, the second current unit having a third node and a fourth node, the fourth node being coupled to an input terminal of the error amplifier, the current mirror calibration method comprising:
during an initial period, providing a first default voltage, a second default voltage and a third default voltage to the first node, the second node and the third node respectively;
when the first current unit receives an original current, the second current unit generating a mirror current having a proportional relationship with the original current, and the mirror current flowing through the third node and the fourth node; and
comparing the third default voltage with a reference voltage on the fourth node and adjusting the reference voltage to be equal to the third default voltage.

### Claim 15 (depends on 14)

The current mirror calibration method of claim 14, wherein the first default voltage is equal to the second default voltage.

### Claim 16 (depends on 14)

The current mirror calibration method of claim 14, wherein the current mirror circuit further comprises a first resistor and an internal parameter setting unit, the first resistor is disposed between the first node and the second node and the internal parameter setting unit is disposed between the third node and the fourth node.
