# US 8,278,899 B2 · Digital slope compensation for current mode control

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

- Number: US 8,278,899 B2
- Document ID: US8278899B2
- Status: Granted
- Kind: B2
- Application number: 12/871,561
- Filed: 2010-08-30
- Published: 2011-05-19
- Granted: 2012-10-02
- Earliest claimed: 2009-09-18
- Assignees: DET International Holding Limited
- Inventors: Frank Schafmeister; Tobias Grote
- Web page: https://patentgrep.com/patent/US8278899B2

## CPC

- H02M 3/156: with automatic control of output voltage or current, e.g. switching regulators
- 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)

## Abstract

A digital slope compensation apparatus and method for a switched-mode power supply use a sensor for sensing and generating an analog inductor current (iL) of the switched-mode power supply, a comparator (2) for generating a trigger signal according to a comparison of an analog current threshold level and the analog inductor current (iL), and a pulse width modulator (PWM) for controlling the operation of a switched-mode power supply, wherein the pulse width modulator (PWM) is arranged to be triggered by the trigger signal of the comparator. A first analog to digital converter is arranged for converting an analog output voltage (Vout) of the switched-mode power supply into a digital output voltage, means are arranged for transforming the digital output voltage into a digital current threshold level (icmp) and a digital to analog converter is arranged for generating the analog current threshold level according to the digital current threshold level (icmp).

## Claims

### Claim 1

A digital slope compensation apparatus for a switched-mode power supply, comprising:
a sensor for sensing an analog inductor current (iL) of the switched-mode power supply,
a comparator for generating a trigger signal according to a comparison of an analog current threshold level and the analog inductor current (iL), and
a pulse width modulator (PWM) for controlling the operation of the switched-mode power supply, wherein the pulse width modulator (PWM) is arranged to be triggered by the trigger signal of the comparator,
characterised in that
a first analog to digital converter is arranged for converting an analog output voltage (Vout) of the switched-mode power supply into a digital output voltage,
at least one transformation module is arranged for transforming the digital output voltage into a digital current threshold level (icmp),
a digital to analog converter is arranged for generating the analog current threshold level according to the digital current threshold level (icmp),
a voltage controller is arranged to receive the digital output voltage and to generate a digital current reference (i*),
a second analog to digital converter is arranged to convert the analog inductor current (iL) of the switched-mode power supply into a digital inductor current, and
a digital slope compensation module is arranged to receive the digital current reference (i*), the digital inductor current, and a compensation factor (ksc) to generate the digital current threshold level (icmp).

### Claim 2 (depends on 1)

Apparatus according to claim 1, characterised in that the compensation factor (ksc) is arranged to be a constant value.

### Claim 3 (depends on 1)

Apparatus according to claim 1, characterised in that an adaptive slope compensation factor module is arranged to generate the compensation factor (ksc).

### Claim 4 (depends on 3)

Apparatus according to claim 3, characterised in that:
a third analog to digital converter is arranged to convert an analog input voltage (Vin) of the switched-mode power supply into a digital input voltage, and
the adaptive slope compensation factor module is arranged to receive the digital output voltage and the digital input voltage to generate the compensation factor (ksc).

### Claim 5 (depends on 1)

Apparatus according to claim 1, characterized in that the apparatus is integrated as a part of a microcontroller.

### Claim 6

A digital slope compensation method for a switched-mode power supply, wherein:
an analog inductor current (iL) of the switched-mode power supply is sensed,
a trigger signal according to a comparison of an analog current threshold level and the analog inductor current (iL) is generated, and
a pulse width modulated signal is triggered by the trigger signal to control operation of the switched-mode power supply,
characterised in that
an analog output voltage of the switched-mode power supply is converted into a digital output voltage,
the digital output voltage is transformed into a digital current threshold level,
the analog current threshold level is generated according to the digital current threshold level (icmp),
the digital current reference (i*) is generated according to the digital output voltage,
the analog inductor current (iL) of the switched-mode power supply is converted into a digital inductor current, and
the digital current threshold level (icmp) is generated according to the digital current reference (i*), the digital inductor current, and a compensation factor (ksc).

### Claim 7 (depends on 6)

Method according to claim 6, characterised in that a compensation factor (ksc) with a constant value is used.

### Claim 8 (depends on 6)

Method according to claim 6, characterised in that an adaptive slope compensation factor module generates the compensation factor (ksc).

### Claim 9 (depends on 8)

Method according to claim 8, characterised in that:
an analog input voltage (Vin) of the switched-mode power supply is converted into a digital input voltage, and
the compensation factor (ksc) is generated according to the digital output voltage and the digital input voltage.

### Claim 10 (depends on 6)

Method according to claim 6, characterized in that a microcontroller is used to carry out the method.

### Claim 11 (depends on 1)

Apparatus according to claim 1, characterised in that the compensation factor (ksc) is arranged to be a constant value.

### Claim 12 (depends on 1)

Apparatus according to claim 1, characterised in that an adaptive slope compensation factor module is arranged to generate the compensation factor (ksc).

### Claim 13 (depends on 1)

Apparatus according to claim 1, characterized in that the apparatus is integrated as a part of a microcontroller.

### Claim 14 (depends on 2)

Apparatus according to claim 2, characterized in that the apparatus is integrated as a part of a microcontroller.

### Claim 15 (depends on 3)

Apparatus according to claim 3, characterized in that the apparatus is integrated as a part of a microcontroller.

### Claim 16 (depends on 4)

Apparatus according to claim 4, characterized in that the apparatus is integrated as a part of a microcontroller.

### Claim 17 (depends on 6)

Method according to claim 6, characterised in that a compensation factor (ksc) with a constant value is used.

### Claim 18 (depends on 6)

Method according to claim 6, characterised in that an adaptive slope compensation factor module generates the compensation factor (ksc).
