# US 9,356,613 B1 · Pulse density modulation digital-to-analog converter with triangle wave generation

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

- Number: US 9,356,613 B1
- Document ID: US9356613B1
- Status: Granted
- Kind: B1
- Application number: 14/538,036
- Filed: 2014-11-11
- Published: 2016-05-12
- Granted: 2016-05-31
- Earliest claimed: 2014-11-11
- Assignees: Microchip Technology Incorporated
- Applicants: Microchip Technology Incorporated
- Inventors: Bryan Kris
- Web page: https://patentgrep.com/patent/US9356613B1

## CPC

- H03K 4/06: having triangular shape
- G06F 1/022: {Waveform generators, i.e. devices for generating periodical functions of time, e.g. direct digital synthesizers (G06F1/025, G06F1/03 take precedence)}
- H03K 7/08: Duration or width modulation {; Duty cycle modulation}
- H03M 1/825: {by comparing the input signal with a digital ramp signal}
- H03M 1/0631: {Smoothing}
- 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)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

A phase accumulator style circuit generates an output stream of pulses. The density of the pulse stream is proportional to the input data value relative to the maximum value supported by the bit width of an adder. The output pulse density is representative of the desired output voltage. The pulse stream may be filtered with a resistor-capacitor (RC) low pass filter to yield an analog voltage. Faster clock rates support the use of smaller output filters that reduce circuit cost. This circuit provides triangle wave generation wherein the DAC output ramps up and down at a user specified rate (slope) between user specified maximum and minimum amplitude values. The up and down triangle wave ramp rates (up and down slopes) may be different and independent or the same.

## Claims

### Claim 1

A pulse density modulated digital-to-analog converter (PDM DAC) with triangle wave generation, comprising:
a pulse density modulation (PDM) generator having an input;
a low pass filter coupled to an output of the PDM generator; and
a triangle wave generator having an output providing digital values representing a triangle waveform to the input of the PDM generator, wherein an output pulse sequence of the PDM generator is determined by the digital values generated by the triangle wave generator and the low pass filter outputs the triangle waveform.

### Claim 2 (depends on 1)

The PDM DAC according to claim 1, wherein the triangle wave generator generates monotonically increasing digital values until a maximum digital value is reached then monotonically decreasing digital values until a minimum digital value is reached.

### Claim 3 (depends on 2)

The PDM DAC according to claim 2, wherein the monotonically increasing digital values go from the minimum digital value to the maximum digital value and the monotonically decreasing digital values go from the maximum digital value to the minimum digital value.

### Claim 4 (depends on 3)

The PDM DAC according to claim 3, wherein the monotonically increasing digital values and the monotonically decreasing digital values repeat.

### Claim 5 (depends on 4)

The PDM DAC according to claim 4, wherein the maximum digital value is programmable.

### Claim 6 (depends on 4)

The PDM DAC according to claim 4, wherein the minimum digital value is programmable.

### Claim 7 (depends on 4)

The PDM DAC according to claim 4, wherein a rate of change of the monotonically increasing digital values is programmable.

### Claim 8 (depends on 4)

The PDM DAC according to claim 4, wherein a rate of change of the monotonically decreasing digital values is programmable.

### Claim 9 (depends on 1)

The PDM DAC according to claim 1, wherein a pulse density from the PDM generator is proportional to the digital values.

### Claim 10 (depends on 2)

The PDM DAC according to claim 2, wherein an output from the low pass filter provides an analog triangle wave.

### Claim 11 (depends on 10)

The PDM DAC according to claim 10, wherein a rate of change of the monotonically increasing digital values determines a positive slope of the analog triangle waveform.

### Claim 12 (depends on 10)

The PDM DAC according to claim 10, wherein the rate of change of the monotonically decreasing digital values determines a negative slope of the analog triangle waveform.

### Claim 13 (depends on 10)

The PDM DAC according to claim 10, wherein the maximum digital value determines a maximum amplitude of the analog triangle waveform.

### Claim 14 (depends on 10)

The PDM DAC according to claim 10, wherein the minimum digital value determines a minimum amplitude of the analog triangle waveform.

### Claim 15 (depends on 1)

The PDM DAC according to claim 1, wherein the PDM generator comprises:
an accumulator;
an increment register;
an adder having an output coupled to an input of the accumulator, a first input coupled to an output of the increment register, and a second input coupled to an output of the accumulator; and
a flip-flop having an input coupled to a carry output from the adder.

### Claim 16 (depends on 1)

The PDM DAC according to claim 1, wherein the low pass filter has at least one pole.

### Claim 17 (depends on 16)

The PDM DAC according to claim 16, wherein the low pass filter comprises at least one resistor and at least one capacitor.

### Claim 18 (depends on 1)

The PDM DAC according to claim 1, wherein the triangle wave generator comprises:
a slope accumulator;
a high value comparator coupled to an output of the slope accumulator;
a low value comparator coupled to the output of the slope accumulator;
an adder;
a slope register having an output coupled to an input of the adder; and
control logic, wherein the digital values are provided by the triangle wave generator.

### Claim 19 (depends on 18)

The PDM DAC according to claim 18, further comprising a first slope step multiplexer and control logic for selecting a larger than normal slope value to cause the low pass filter to quickly track a change in slope direction.

### Claim 20 (depends on 1)

The PDM DAC according to claim 1, wherein the PDM generator, low pass filter and triangle wave generator are provided in a mixed signal integrated circuit.

### Claim 21 (depends on 19)

The PDM DAC according to claim 19, wherein the mixed signal integrated circuit is a microcontroller.

### Claim 22 (depends on 19)

The PDM DAC according to claim 19, wherein the mixed signal integrated circuit is selected from the group consisting of a microprocessor, a digital signal processor, an application specific integrated circuit (ASIC), and programmable logic array (PLA).

### Claim 23 (depends on 1)

A system for converting an analog waveform into a pulse width modulation (PWM) pulse train, said system comprising:
an analog comparator having a first input coupled to an analog signal; and
a second input coupled to the PDM DAC according to claim 1, wherein an output from the analog comparator comprises a PWM pulse train representative of the analog signal.

### Claim 24

A pulse density modulated digital-to-analog converter (PDM DAC) with triangle wave generation, comprising:
a pulse density modulation (PDM) generator comprising an accumulator, an increment register, an adder having an output coupled to an input of the accumulator, a first input coupled to an output of the increment register, and a second input coupled to an output of the accumulator; and a flip-flop having an input coupled to a carry output from the adder;
a low pass filter coupled to an output of the PDM generator; and
a triangle wave generator comprising a slope accumulator, a high value comparator coupled to an output of the slope accumulator, a low value comparator coupled to the output of the slope accumulator, an adder, a slope register having an output coupled to an input of the adder and control logic, wherein digital values are provided by the triangle wave generator to the increment register of the PDM generator, wherein the output of the PDM generator is determined by the digital values generated by the triangle wave generator.
