# US 12,323,150 B2 · Digitally calibrated sawtooth generator for PWM based buck converters

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

- Number: US 12,323,150 B2
- Document ID: US12323150B2
- Status: Granted
- Kind: B2
- Application number: 17/517,573
- Filed: 2021-11-02
- Published: 2022-02-24
- Granted: 2025-06-03
- Earliest claimed: 2021-11-02
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Juan Munoz Constantine; Christopher Schaef; Ajay Janardanan; Alexander Lyakhov
- Web page: https://patentgrep.com/patent/US12323150B2

## CPC

- H03K 4/50: in which a sawtooth voltage is produced across a capacitor
- H02M 3/157: with digital control
- H03K 4/08: having sawtooth shape
- H03K 7/08: Duration or width modulation {; Duty cycle modulation}
- H02M 3/158: including plural semiconductor devices as final control devices for a single load
- H03K 3/017: Adjustment of width or dutycycle of pulses (pulse width modulation H03K7/08 {; to maintain energy constant H03K3/015})
- 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)
- 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

Embodiments herein relate to a circuit which generates a sawtooth waveform based on an adaptive feedback loop that self-corrects the ramp up rate to account for variations in a device. The sawtooth waveform is obtained by repeatedly charging and discharging a capacitor according to a clock signal. The sawtooth waveform can be sampled once per clock period at a comparator which provides a corresponding binary output to a state machine. If the binary output indicates the amplitude of the sawtooth waveform is below a desired maximum voltage, the state machine outputs a code word to a digitally-controlled variable current source to increase the output current. The sawtooth waveform can be used to provide a pulse-width modulated (PWM) waveform such as for a DC-DC converter.

## Claims

### Claim 1

An apparatus, comprising:
a variable current source;
a capacitor coupled to the variable current source via a node and a first switch and to a discharge point via a second switch, wherein to provide a sawtooth waveform at the node, the capacitor is to be charged by the variable current source when the first switch is closed and the second switch is opened, and the capacitor is to discharge to the discharge point when the second switch is closed and the first switch is opened; and
a comparator comprising an inverting input terminal coupled to the node and a non-inverting input terminal coupled to a first reference voltage;
wherein the variable current source is to adjust a respective output current in response to a sample of an output signal from the comparator.

### Claim 2 (depends on 1)

The apparatus of claim 1, further comprising:
a pulse-width modulated (PWM) waveform generator coupled to the node and to a second reference voltage, wherein the PWM waveform generator is to generate a PWM waveform based on a comparison between a voltage of the sawtooth waveform and the second reference voltage.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein:
the PWM waveform generator is to change a level of the PWM waveform when the voltage of the sawtooth waveform crosses the second reference voltage.

### Claim 4 (depends on 1)

The apparatus of claim 1, further comprising:
a state machine coupled to the comparator and the variable current source, wherein the state machine is to provide a code word to the variable current source in response to the sample of the output signal, and the variable current source is to adjust the respective output current in response to the code word.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein:
the code word changes by one bit in response to the sample of the output signal.

### Claim 6 (depends on 4)

The apparatus of claim 4, wherein:
the code word changes by multiple bits in response to the sample of the output signal.

### Claim 7 (depends on 4)

The apparatus of claim 4, further comprising:
a clock waveform generator to provide a clock waveform, wherein the sample of the output signal is obtained by the state machine responsive to a transition in the clock waveform once per period of the clock waveform.

### Claim 8 (depends on 1)

The apparatus of claim 1, further comprising:
a clock waveform generator to provide a clock waveform; and
a delay circuit to provide a delayed version of the clock waveform, wherein the first switch is opened and the second switch is closed when the clock waveform is high and the delayed version of the clock waveform is low, and the first switch is closed and the second switch is opened when the clock waveform and the delayed version of the clock waveform are high.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein:
the first switch is to periodically close to connect the variable current source to the capacitor to charge the capacitor while the second switch is open; and
the second switch is to periodically close to connect the capacitor to the discharge point to discharge the capacitor while the first switch is open.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein:
the discharge point comprises a ground node.

### Claim 11

An apparatus, comprising:
a variable current source;
a first capacitor coupled to the variable current source via a first node, the first capacitor is coupled to a discharge point via a first switch, and is to be charged by the variable current source when the first switch is opened, and to be discharged to the discharge point when the first switch is closed, to provide a sawtooth waveform at the first node;
a first comparator coupled to the first node;
a second capacitor coupled to the first node;
a second comparator comprising an inverting input terminal coupled to the second capacitor, a non-inverting input terminal coupled to a selectable voltage, and an output terminal; and
a switch coupled to the inverting input terminal of the second comparator and to the output terminal of the second comparator, the switch is closed when the first capacitor is discharged to the discharge point and open when the first capacitor is charged by the variable current source;
wherein the variable current source is to adjust a respective output current in response to a sample of an output signal from the first comparator, and the second comparator is to generate a pulse-width modulated (PWM) waveform on its output terminal based on a comparison between a voltage of its inverting input terminal and the selectable voltage of its non-inverting input terminal.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein:
the first comparator comprises an inverting input terminal coupled to the first node and a non-inverting input terminal coupled to a reference voltage.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein:
the selectable voltage is a first voltage when the first capacitor is discharged to the discharge point;
the first voltage is used to auto-zero the second comparator; and
the selectable voltage is a second voltage when the first capacitor is charged by the variable current source, and the second comparator is to compare the second voltage to the voltage of the inverting input terminal to generate the PWM waveform.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein:
a waveform at the inverting input terminal of the second comparator corresponds to the sawtooth waveform upshifted by the first voltage.

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein:
the second comparator is to generate the PWM waveform based on the comparison between the voltage of its inverting input terminal and the second voltage in a time period in which the first capacitor is charged by the variable current source and the switch is open.

### Claim 16 (depends on 13)

The apparatus of claim 13, wherein:
the second comparator is to set the PWM waveform to high level in a time period in which the switch is closed.

### Claim 17

One or more non-transitory computer-readable media comprising instructions that, upon execution of the instructions by one or more processors of a circuit, are to cause the circuit to:
generate a clock waveform for a state machine, the clock waveform is to trigger a state machine to sample an output of a first comparator, wherein the sample of the output is to indicate whether a voltage across a first capacitor exceeds a first reference voltage, and the state machine is to adjust a variable current source coupled to the first capacitor in response to the sample of the output; and
generate a delayed version of the clock waveform, wherein the clock waveform and the delayed version of the clock waveform are separated by a delay period, and, to provide a sawtooth waveform at a node of the first capacitor, a first switch is to open to allow the variable current source to charge the first capacitor outside the delay period and the first switch is to close to discharge the first capacitor during the delay period.

### Claim 18 (depends on 17)

The one or more non-transitory computer-readable media of claim 17, wherein:
a second capacitor is coupled to the first capacitor to provide an upshifted version of the sawtooth waveform; and
a pulse-width modulated (PWM) waveform generator is to receive the upshifted version of the sawtooth waveform.

### Claim 19 (depends on 18)

The one or more non-transitory computer-readable media of claim 18, wherein:
the PWM waveform generator is to generate a PWM waveform based on a comparison between the upshifted version of the sawtooth waveform and a comparison voltage (Vcomp) outside the delay period.

### Claim 20 (depends on 18)

The one or more non-transitory computer-readable media of claim 18, wherein:
the PWM waveform generator comprises a second comparator; and
the second comparator is to auto-zero itself during the delay period.
