# US 10,784,873 B1 · Square wave-to-sine wave converter

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

- Number: US 10,784,873 B1
- Document ID: US10784873B1
- Status: Granted
- Kind: B1
- Application number: 16/391,865
- Filed: 2019-04-23
- Granted: 2020-09-22
- Earliest claimed: 2019-04-23
- Assignees: Texas Instruments Incorporated
- Applicants: Texas Instruments Incorporated
- Inventors: Qunying Li; Shanmuganand Chellamuthu; Kemal Safak Demirci
- Web page: https://patentgrep.com/patent/US10784873B1

## CPC

- H02P 6/17: and for generating speed information
- H03L 7/0812: {and where no voltage or current controlled oscillator is used}
- G01P 3/488: delivered by variable reluctance detectors
- H02M 7/46: using discharge tubes without control electrode or semiconductor devices without control electrode
- H03F 3/45071: {with semiconductor devices only}
- H03G 3/30: in amplifiers having semiconductor devices
- H03H 7/0161: {Bandpass filters (H03H7/12 takes precedence)}
- H03K 3/0233: Bistable circuits
- H03K 6/02: Amplifying pulses
- G01D 5/206: {constituting a short-circuiting element}
- H02P: CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H03L: AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES (generation of oscillations H03B)
- G01P: MEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT (measuring or recording blood flow A61B5/02, A61B8/06; monitoring speed or deceleration of electrically-propelled vehicles B60L3/00; vehicle lighting systems adapted to indicate speed B60Q1/54; determining position or course in navigation, measuring ground distance in geodesy or surveying G01C; combined measuring devices for measuring two or more variables of movement G01C23/00; measuring velocity of sound G01H; measuring velocity of light G01J7/00; measuring direction or velocity of solid objects by reception or emission of radiowaves or other waves and based on propagation effects, e.g. Doppler effect, propagation time, direction of propagation, G01S; measuring speed of nuclear radiation G01T; measuring acceleration of gravity G01V; {measuring or recording the speed of trains B61L23/00; speed indicators incorporated in motor vehicles B60K35/00; measuring frequency or phase G01R; traffic control G08G})
- 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)
- H03F: AMPLIFIERS
- H03G: CONTROL OF AMPLIFICATION
- H03H: IMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS (waveguides, resonators, lines or other devices of the waveguide type H01P)
- 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)
- G01D: MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR

## Abstract

A circuit includes a bandpass filter and a self-tracking circuit. The bandpass filter has a first input node configured to receive an input square wave signal and an output node configured to provide an output sine wave signal. The bandpass filter includes a first binary-weighted programmable resistor array. The self-tracking circuit includes a second input node coupled to the output node. The self-tracking circuit includes a counter, and the counter includes an output node coupled to the first binary weighted programmable resistor array.

## Claims

### Claim 1

A circuit, comprising:
a bandpass filter having a first input configured to receive an input square wave signal and an output configured to provide an output sine wave signal, the bandpass filter comprising a first binary-weighted programmable resistor array; and
a self-tracking circuit including a second input coupled to the output, the self-tracking circuit including a counter, the counter including an output coupled to the first binary weighted programmable resistor array;
wherein:
when a phase of the output sine wave signal leads a phase of the input square wave, the counter is configured to count up; and
when the phase of the input sine wave signal lags the phase of the input square wave, the counter is configured to count down.

### Claim 2 (depends on 1)

The circuit of claim 1, wherein the self-tracking circuit comprises:
a comparator having a first comparator input coupled to the output and a second comparator input coupled to reference signal, the comparator also having a comparator output; and
a phase detector having a first phase detector input coupled to the comparator output and having a second phase detector input coupled to the first input, the phase detector configured to detect whether the phase of the output sine wave signal leads or lags the phase of the input square wave signal.

### Claim 3 (depends on 2)

The circuit of claim 2, wherein:
the counter includes an up/down input, wherein a direction signal of a first logic polarity on the up/down input causes the counter to count up and wherein the direction signal of a second logic polarity on the up/down input node causes the counter to count down; and
the self-tracking circuit comprises a direction identifier circuit coupled between the phase detector and the up/down input, the self-tracking circuit is configured to generate the direction signal.

### Claim 4 (depends on 2)

The circuit of claim 2, wherein the phase detector comprises a first data flip-flop and a second data flip-flop, and wherein when one of the first or second data flip-flops is clocked, the other of the first or second flip-flops is cleared.

### Claim 5

A circuit, comprising:
a bandpass filter having a first input configured to receive an input square wave signal and an output configured to provide an output sine wave signal, the bandpass filter comprising a first binary-weighted programmable resistor array; and
a self-tracking circuit including a second input coupled to the output, the self-tracking circuit including a counter, the counter including an output coupled to the first binary weighted programmable resistor array;
wherein:
the self-tracking circuit includes a first data flip-flop having a first clock input;
the self-tracking circuit includes a second data flip-flop having a second clock input;
a first time delay element having an input coupled to the first input, and having an output coupled to the first clock input;
a second time delay element having an input coupled to the first input, and having an output coupled to the second clock input.

### Claim 6 (depends on 5)

The circuit of claim 5, wherein the first time delay element is programmable, and the second time delay element is programmable.

### Claim 7

A circuit, comprising:
a bandpass filter having a first input configured to receive an input square wave signal and an output configured to provide an output sine wave signal, the bandpass filter comprising a first programmable resistor array; and
a self-tracking circuit including a comparator to compare the output sine wave signal to a reference signal to produce a comparator output signal, and the self-tracking circuit further includes a phase detector to detect whether a phase of the comparator output signal lead or lags a phase of the input square wave signal and to produce a control signal of a first state responsive to the phase of the comparator output signal leading the phase of the input square wave signal, and to produce the control signal of a second state responsive to the phase of the comparator output signal lagging the phase of the input square wave signal;
wherein the first programmable resistor array is programmable based on the control signal.

### Claim 8 (depends on 7)

The circuit of claim 7, wherein the first programmable resistor array is binary-weighted.

### Claim 9 (depends on 7)

The circuit of claim 7, wherein the self-tracking circuit includes a counter that is configurable to count up or down based on the control signal.

### Claim 10 (depends on 9)

The circuit of claim 9, wherein the self-tracking circuit includes a latch coupled between the phase detector and the counter, the latch having a first latch input and a second latch input.

### Claim 11 (depends on 10)

The circuit of claim 10, wherein the phase detector includes:
a first flip-flop having a first flip-flop output coupled to the first latch input; and
a second flip-flop having a second flip-flop output coupled to the second latch input.

### Claim 12

A circuit, comprising:
a bandpass filter having a first input configured to receive an input square wave signal and an output configured to provide an output sine wave signal, the bandpass filter comprising a first binary-weighted programmable resistor array and a second binary-weighted programmable resistor array; and
a self-tracking circuit including a second input coupled to the output, the self-tracking circuit including a phase detector and a bi-directional counter, the phase detector configured to detect a phase lead or phase lag condition, and the bi-directional counter including an output coupled to the first binary weighted programmable resistor array and to the second binary-weighted programmable resistor array.

### Claim 13 (depends on 12)

The circuit of claim 12, wherein the phase detector is configured to cause the bi-directional counter to count in a first direction upon detection of a phase lead condition and to count in a second direction upon detection of a phase lag condition.

### Claim 14 (depends on 12)

The circuit of claim 12, wherein the first and second binary-weighted programmable resistor arrays are programmed based on a count value from the bi-directional counter.

### Claim 15 (depends on 12)

The circuit of claim 12, wherein the phase detector includes a first flip-flop, a second flip-flop, and an inverter.
