# US 2017/0257086 A1 · Resistor controlled timer circuit with gain ranging

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

- Number: US 2017/0257086 A1
- Document ID: US20170257086A1
- Status: Published application
- Kind: A1
- Application number: 15/601,517
- Filed: 2017-05-22
- Published: 2017-09-07
- Earliest claimed: 2014-12-08
- Assignees: Analog Devices Global
- Applicants: Analog Devices Global
- Inventors: Sherwin Paul Roldan Almazan; George Redfield Spalding, JR.
- Web page: https://patentgrep.com/patent/US20170257086A1

## CPC

- H03K 5/1534: Transition or edge detectors
- H03K 3/0231: Astable circuits {(H03K3/0315 takes precedence)}
- H03K 17/6871: {the output circuit comprising more than one controlled field-effect transistor}
- H03K 5/153: Arrangements in which a pulse is delivered at the instant when a predetermined characteristic of an input signal is present or at a fixed time interval after this instant (switching at zero crossing H03K17/13)
- 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)

## Abstract

A timer circuit is provided comprising: a resistor; a programmable gain circuit coupled to amplify the reference level based upon a resistor and a selected gain; a detection circuit coupled to identify the amplified reference level based upon a resistor; a selection circuit configured to select the gain based at least in part upon the identified amplified reference level based upon a resistor; a comparator circuit configured to transition between providing a signal having a first value and providing a signal having a second value based at least in part upon comparisons of a reactive circuit element excitation level with the amplified reference level based upon a resistor and with a second reference level; and reactive circuit element excitation circuit configured to reverse excitation of the reactive circuit element in response to the comparator circuit transitioning between providing the signal having the first value and providing the signal having the second value.

## Claims

### Claim 1

A circuit comprising:
a resistor;
a first current source coupled to provide a current to the resist- o produce a resistor voltage level;
a programmable gain circuit coupled to amplify e resistor voltage level based upon a selected gain;
a voltage level detection circuit coupled to identify the amplified resistor voltage level;
a selection circuit configured to select the gain based at least in part upon the identified amplified resistor voltage level;
a second voltage level;
a capacitor;
a comparator circuit configured to transition between providing a signal having a first value and providing a signal having a second value based at least in part upon comparisons of a capacitor voltage level with the amplified resistor voltage level and with the second reference voltage; and
a capacitor excitation circuit configured to reverse excitation of the capacitor in response to the comparator circuit transitioning between providing the signal having the first value and providing the signal having the second value.

### Claim 2 (depends on 1)

The circuit of claim 1,
wherein the comparator circuitry includes a first comparator coupled to compare a capacitor voltage to the resistor voltage; and
wherein the comparator circuitry includes a second comparator coupled to compare the capacitor voltage to the second voltage level.

### Claim 3

The circuit of claim I, further including:
a latch circuit configured to change stored state in response to each of the first value and each occurrence of the second value, wherein stored latch state is indicative of capacitor excitation circuit state while capacitor voltage is between the amplified resistor voltage level and the second voltage level.

### Claim 4 (depends on 1)

The circuit of claim 1, further including:
a second current source; and
a current sink;
wherein the capacitor excitation circuit includes a first switch configured to alternately couple the capacitor to the second current source to charge the capacitor voltage and couple the capacitor to the current sink to discharge the capacitor voltage.

### Claim 5 (depends on 1)

The circuit of claim 1 further including:
a second current source; and
a current sink;
wherein the capacitor excitation circuit includes a first switch that includes an inverter circuit that includes a voltage pull-up device and a voltage pull-down device, wherein the voltage pull-up device is configured to couple the capacitor to the second current source to charge the capacitor voltage, and wherein the voltage pull-down device is configured to couple the capacitor to the current sink to discharge the capacitor voltage.

### Claim 6

The circuit of claim I further including:
a counter circuit configured as a divider circuit that provides a timeout signal; and
an interface circuit that includes a latch circuit that is configured to provide indications of occurrences of each of the first and second values;
wherein the selection circuit is further configured to change a divider ratio of the divider circuit in substantially an inverse proportion to the selected gain.

### Claim 7 (depends on 1)

The of claim 1,
wherein the detection circuit includes an analog to digital converter (ADC).

### Claim 8 (depends on 1)

The circuit of claim 1,
wherein the programmable gain circuit includes a programmable voltage amplifier to receive as input a signal indicative of resistor voltage level and to provide as output a signal indicative of an amplified resistor voltage level.

### Claim 9 (depends on 1)

The circuit of claim 1,
wherein the programmable gain circuit is configured to amplify the resistor voltage level by a selected one of multiple candidate gain levels in response to the selection circuit; and
wherein the selection circuit selects a candidate gain level based upon the identified amplified resistor voltage level and a target for the amplified resistor voltage range.

### Claim 10

A circuit comprising:
a resistor;
a first current source coupled to provide a current to the resistor to produce a resistor voltage level;
a programmable gain circuit coupled to amplify the resistor voltage level based upon a selected gain level;
a voltage level detection circuit coupled to identify the amplified resistor voltage level;
a selection circuit configured to select a candidate gain level based upon the identified amplified resistor voltage level and a target amplified resistor voltage level.;
a second voltage level;
a capacitor;
a comparator circuit configured to transition between providing a signal having a first value and providing a signal having a second value based at least in part upon comparisons of a capacitor voltage level with the amplified resistor voltage level and with the second reference voltage; and
a capacitor excitation circuit configured to reverse excitation of the capacitor in response to the comparator circuit transitioning between providing the signal having the first value and providing the signal having the second value;
an interface circuit that includes a latch circuit that is configured to provide indications of occurrences of each of the first and second values; and
a counter circuit configured as a divider circuit responsive to occurrences of the first and second values to provide a timeout signal;
wherein the selection circuit is further configured to change a divider ratio of the divider circuit in substantially an inverse proportion to the selected gain.

### Claim 11

A circuit modulation method comprising:
providing a first current source;
conducting a current provided by the first current source through a resistor to produce a resistor voltage;
coupling a comparator circuit to compare a capacitor voltage to the resistor voltage and to compare the capacitor voltage to a second voltage;
determining the resistor voltage level;
selecting an adjustment of the resistor voltage level based at least in part upon the determined resistor voltage level;
adjusting the resistor voltage level based upon the selected adjustment; and
changing a ramp direction of the capacitor voltage based upon the comparison of the capacitor voltage with the adjusted resistor voltage and the second voltage;
wherein adjusting the resistor voltage level includes amplifying the resistor voltage.

### Claim 12 (depends on 11)

The method of claim 11 further including:
storing an indication of the ramp direction of the capacitor voltage, when the capacitor voltage is between the resistor voltage and the second reference voltage.

### Claim 13 (depends on 11)

The method of claim 11 further including:
advancing a counter to a prescribed number of occurrences of discharging the capacitor and charging the capacitor.

### Claim 14 (depends on 11)

The method of claim 11,
wherein the acts of determining and selecting are performed in a startup mode before charging and discharging of the capacitor.

### Claim 15 (depends on 11)

The method of claim 11,
wherein changing ramp direction includes changing ramp direction in response to capacitor voltage greater than the adjusted resistor voltage and changing ramp direction in response to capacitor voltage less than the second voltage.

### Claim 16 (depends on 11)

The method of claim 11 further including:
determining a timeout count based upon a ratio of a number of changes in ramp direction and the adjusted resistor voltage level.

### Claim 17 (depends on 11)

The method of claim 11 further including:
wherein adjusting the resistor voltage level includes selecting from among multiple discrete resistor voltage level gains.

### Claim 18 (depends on 11)

The method of claim 11,
wherein the selection circuit selects a candidate gain level based upon the identified amplified resistor voltage level and a target for the amplified resistor voltage range.

### Claim 19 (depends on 11)

The method of claim 11,
wherein the selection circuit selects a candidate gain level based upon the identified amplified resistor voltage level and a target for the amplified resistor voltage range; and
wherein adjusting the resistor voltag ides selecting from among multiple resistor voltage level gains.

### Claim 20 (depends on 11)

The method of claim 11,
wherein the selection circuit selects a candidate gain level based upon the identified amplified resistor voltage level and a target for the amplified resistor voltage range; further including:
determining a timeout count based upon a ratio of a number of changes in ramp direction and the adjusted resistor voltage level.
