# US 2017/0288421 A1 · Battery charger with gauge-based closed-loop control

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

- Number: US 2017/0288421 A1
- Document ID: US20170288421A1
- Status: Published application
- Kind: A1
- Application number: 15/495,298
- Filed: 2017-04-24
- Published: 2017-10-05
- Earliest claimed: 2014-07-03
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Thomas C. Greening
- Web page: https://patentgrep.com/patent/US20170288421A1

## CPC

- H02J 7/445: {in response to measured battery parameters, e.g. voltage, current or temperature profile}
- H02J 7/485: {with provisions for charging different types of batteries}
- H02J 7/933: {the cycle being controlled or terminated in response to electric parameters}
- G01R 31/3842: combining voltage and current measurements
- H02J: ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

Systems and methods for power management are disclosed. In an embodiment, a battery charging system includes closed-loop control of a battery charger using a servo target based on measurements taken by a battery gauge.

## Claims

### Claim 1

(canceled)

### Claim 2

A battery charging system, comprising:
a battery controller configured to determine a servo target based on a lower of a current error and a voltage error; and
a charging controller configured to adjust operation of a power converter based on the servo target,
wherein the current error is determined by the battery controller based on a battery current and a target current, and responsive to the battery current approaching the target current, the target current is updated by a charging profile selector with a new current value, and
wherein the voltage error is determined by the battery controller based on a battery voltage and a target voltage, and responsive to the battery voltage approaching the target voltage, the target voltage is updated by the charging profile selector with a new voltage value.

### Claim 3 (depends on 2)

The battery charging system of claim 2,
wherein the battery controller is configured to determine the servo target at a first rate,
wherein the charging controller is configured to adjust operation of the power converter at a second rate.

### Claim 4 (depends on 2)

The battery charging system of claim 2, further comprising a digital-to-analog converter (DAC) configured to receive a digital signal, representative of the servo target, from the battery controller and provide an analog signal, representative of a control target, to the charging controller.

### Claim 5 (depends on 4)

The battery charging system of claim 4, wherein responsive to the DAC being a low-resolution DAC, the digital signal is dithered around the servo target by the battery controller and the analog signal is filtered by a low-pass filter.

### Claim 6 (depends on 2)

The battery charging system of claim 2,
wherein the charging controller comprises a proportional-integral-derivative (PID) control and is further configured to provide a notification to the battery controller responsive to a wind-up in the PID control, and
wherein the battery controller is further configured to clamp the servo target responsive to the notification.

### Claim 7 (depends on 2)

The battery charging system of claim 2, further comprising a battery gauge configured to provide metrics representative of the battery current and the battery voltage to the battery controller and the charging profile selector.

### Claim 8 (depends on 2)

The battery charging system of claim 2, wherein adjusting operation of the power converter comprises adjusting one or more of: an output voltage, an output current, and a duty cycle of the power converter.

### Claim 9

A method for managing a battery charging system, comprising:
determining a servo target based on a lower of a current error and a voltage error by a battery controller; and
adjusting operation of a power converter based on the servo target by a charging controller,
wherein the current error is determined by the battery controller based on a battery current and a target current, and responsive to the battery current approaching the target current, the target current is updated by a charging profile selector with a new current value, and
wherein the voltage error is determined by the battery controller based on a battery voltage and a target voltage, and responsive to the battery voltage approaching the target voltage, the target voltage is updated by the charging profile selector with a new voltage value.

### Claim 10 (depends on 8)

The method of claim 8,
wherein determining the servo target is performed at a first rate,
wherein adjusting operation of the power converter is performed at a second rate.

### Claim 11 (depends on 8)

The method of claim 8, further comprising providing a digital signal, representative of the servo target, from the battery controller to a digital-to-analog converter (DAC) and providing an analog signal, representative of a control target, from the DAC to the charging controller.

### Claim 12 (depends on 11)

The method of claim 11, wherein responsive to the DAC being a low-resolution DAC, dithering the digital signal around the servo target by the battery controller and filtering the analog signal by a low-pass filter.

### Claim 13 (depends on 8)

The method of claim 8, further comprising:
providing a notification from the charger controller to the battery controller responsive to a wind-up in a proportional-integral-derivative (PID) control of the charging controller; and
clamping the servo target by the battery controller responsive to the notification.

### Claim 14 (depends on 8)

The method of claim 8, further comprising providing metrics representative of the battery current and the battery voltage from a battery gauge to the battery controller and the charging profile selector.

### Claim 15 (depends on 8)

The method of claim 8, wherein adjusting operation of the power converter comprises adjusting one or more of: an output voltage, an output current, and a duty cycle of the power converter.

### Claim 16

A non-transitory program storage device comprising instructions stored thereon to cause one or more processors to:
determine a servo target based on a lower of a current error and a voltage error; and
adjust operation of a power converter based on the servo target,
wherein the current error is determined based on a battery current and a target current, and responsive to the battery current approaching the target current, the target current is updated with a new current value, and
wherein the voltage error is determined based on a battery voltage and a target voltage, and responsive to the battery voltage approaching the target voltage, the target voltage is updated with a new voltage value.

### Claim 17 (depends on 16)

The non-transitory program storage device of claim 16,
wherein the servo target is determined at a first rate,
wherein operation of the power converter is adjusted at a second rate.

### Claim 18 (depends on 16)

The non-transitory program storage device of claim 16, further comprising instructions to cause the one or more processors to provide a digital signal, representative of the servo target, to a digital-to-analog converter (DAC) and to receive an analog signal, representative of a control target, from the DAC.

### Claim 19 (depends on 18)

The non-transitory program storage device of claim 18, further comprising instructions to cause the one or more processors to dither the digital signal around the servo target responsive to the DAC being a low-resolution DAC, wherein the analog signal from the DAC is filtered by a low-pass filter.

### Claim 20 (depends on 16)

The non-transitory program storage device of claim 16, further comprising instructions to cause the one or more processors to:
adjust operation of the power converter based on a proportional-integral-derivative (PID) control; and
clamp the servo target responsive to a notification of a wind-up in the PID control.

### Claim 21 (depends on 16)

The non-transitory program storage device of claim 16, wherein adjusting operating of the power converter comprises adjusting one or more of: an output voltage, an output current, and a duty cycle of the power converter.
