# US 6,731,103 B1 · Peak detector circuit

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

- Number: US 6,731,103 B1
- Document ID: US6731103B1
- Status: Granted
- Kind: B1
- Application number: 09/989,744
- Filed: 2001-11-20
- Granted: 2004-05-04
- Earliest claimed: 2001-11-20
- Assignees: National Semiconductor Corporation
- Inventors: Francisco Javier Guerrero Mercado
- Web page: https://patentgrep.com/patent/US6731103B1

## CPC

- H03K 5/086: {generated by feedback}
- G01R 19/04: Measuring peak values {or amplitude or envelope} of AC or of pulses
- 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)
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

The present invention implements a peak detector circuit without the use of a DSP (digital signal processor) or ADC. A reference signal is produced that relates to a DAC output code. The reference signal is used as a starting point, and is compared to the input signal. A feedback signal is produced that is used to adjust the reference signal thereby implementing a peak detector. The invention can implement these functions with a minimal complexity and a minimal die area.

## Claims

### Claim 1

An apparatus for a peak detector, comprising:
a controlled reference circuit that includes an input connected to an input signal (S2) and an input connected to a feedback signal (S8) that is configured to produce a reference signal (S3) in response to the input signal (S2) and the feedback signal (S8);
a comparator circuit that is arranged to produce a comparison result signal at relates to the input signal, and the reference signal (S3); and
a peak detector logic circuit that includes an input coupled to the comparison result signal, an output configured to produce the feedback signal (S8) in response to the comparison result signal, wherein the feedback signal is used to adjust the reference signal (S3).

### Claim 2 (depends on 1)

The apparatus as in claim 1, wherein the comparator circuit includes a first input arranged to receive a signal (S7) that relates to the input signal and a second input arranged to receive the reference signal, and an output arranged to produce the comparison result signal in response to a comparison between the signal (S7) and the reference signal.

### Claim 3 (depends on 2)

The apparatus as in claim 2, wherein the peak detector logic circuit further comprises a decision circuit that includes an input coupled to the comparison result signal; and an output coupled to a register circuit, wherein the register circuit includes an output that is arranged to produce the feedback signal.

### Claim 4 (depends on 3)

The apparatus as in claim 3, further comprising a first current source coupled to a first resistor array, wherein the first resistor array is configured to generate the signal (S7) in response to the input signal.

### Claim 5 (depends on 4)

The apparatus as in claim 4, wherein the first current source is created by a shunt circuit.

### Claim 6 (depends on 4)

The apparatus as in claim 4, wherein the controlled reference circuit, is configured as a DAC.

### Claim 7 (depends on 4)

The apparatus as in claim 4, wherein the controlled reference circuit, further comprises a second resistor array coupled to a second current source, wherein the second resistor array relates to a reference voltage.

### Claim 8 (depends on 7)

The apparatus as in claim 7, wherein the controlled reference circuit further comprises a multiplexer circuit.

### Claim 9 (depends on 8)

The apparatus as in claim 8, wherein the multiplexer circuit, includes a predetermined number of switches that are arranged to actuate, wherein the reference signal relates to the predetermined number of switches that are actuating.

### Claim 10 (depends on 9)

The apparatus as in claim 9, wherein the comparator circuit produces the comparison result signal having a logical level of “high” when the signal (S7) is greater than the reference signal and produces the comparison result signal having a logical level of “low” when the signal (S7) is less than the reference voltage.

### Claim 11 (depends on 10)

The apparatus as in claim 10, wherein the register circuit further comprises, a clock input arranged to receive a clock signal; and an enable input arranged to receive an enable signal, wherein the feedback signal relates to the clock signal received at the clock input and the enable signal received at the enable input.

### Claim 12 (depends on 11)

The apparatus as in claim 11, wherein the decision circuit determines when the reference signal should increase and when the reference signal should decrease; wherein a decision that relates to the determination is stored in the register circuit.

### Claim 13

A method for a peak detection function, comprising:
producing a reference signal directly from a feedback signal and an input signal;
making a comparison between an input signal and the reference signal and generating a comparison signal;
producing the feedback signal directly from the comparison signal; and
adjusting the reference signal in response to the comparison to produce the peak detection function.

### Claim 14 (depends on 13)

The method as in claim 13, wherein adjusting the reference signal in response to the comparison, further comprises adjusting the reference signal in response to a feedback signal, wherein the feedback signal relates to the comparison.

### Claim 15

An apparatus for signal processing comprising:
a means for producing a reference signal directly from a feedback signal and an input signal;
a means for making a comparison between the input signal and the reference signal and generating a comparison signal;
a means for producing the feedback signal directly utilizing the comparison signal; and
a means for adjusting the reference signal in response to the comparison to implement a peak detection function.

### Claim 16

An apparatus for a peak detector, comprising:
a controlled reference circuit that is configured to produce a reference signal (S3) in response to an input signal (S2) and a feedback signal (S8);
a comparator circuit that is arranged to produce a comparison result signal that relates to the input signal, and the reference signal (S3), wherein the comparator circuit includes a first input arranged to receive a signal (S7) that relates to the input signal and a second input arranged to receive the reference signal, and an output arranged to produce the comparison result signal in response to a comparison between the signal (S7) and the reference signal;
a first current source coupled to a first resistor array, wherein the first resistor array is configured to generate the signal (S7) in response to the input signal; and
a peak detector logic circuit that includes an input coupled to the comparison result signal, an output configured to produce the feedback signal (S8) in response to the comparison result signal, wherein the feedback signal is used to adjust the reference signal (S3); wherein the peak detector logic circuit further comprises a decision circuit that includes an input coupled to the comparison result signal; and an output coupled to a register circuit, wherein the register circuit includes an output that is arranged to produce the feedback signal.

### Claim 17 (depends on 16)

The apparatus as in claim 16, wherein the first current source is created by a shunt circuit.

### Claim 18 (depends on 16)

The apparatus as in claim 16, wherein the controlled reference circuit, is configured as a DAC.

### Claim 19 (depends on 16)

The apparatus as in claim 16, wherein the controlled reference circuit, further comprises a second resistor array coupled to a second current source, wherein the second resistor array relates to the reference voltage.

### Claim 20 (depends on 19)

The apparatus as in claim 19, wherein the controlled reference circuit further comprises a multiplexer circuit.

### Claim 21 (depends on 20)

The apparatus as in claim 20, wherein the multiplexer circuit, includes a predetermined number of switches that are arranged to actuate, wherein the reference signal relates to the to the predetermined number of switches that are actuating.

### Claim 22 (depends on 21)

The apparatus as in claim 21, wherein the comparator circuit produces the comparison result signal having a logical level of “high” when the signal (S7) is greater than the reference signal and produces the comparison result signal having a logical level of “low” when the signal S7 is less than the reference voltage.

### Claim 23 (depends on 22)

The apparatus as in claim 22, wherein the register circuit further comprises, a clock input arranged to receive a clock signal; and an enable input arranged to receive an enable signal, wherein the feedback signal relates to the clock signal received at the clock input and the enable signal received at the enable input.

### Claim 24 (depends on 23)

The apparatus as in claim 23, wherein the decision circuit determines when the reference signal should increase and when the reference signal should decrease; wherein a decision that relates to the determination is stored in the register circuit.
