# US 11,567,471 B2 · Digital resolver decoder with hardware filter and rectifier

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

- Number: US 11,567,471 B2
- Document ID: US11567471B2
- Status: Granted
- Kind: B2
- Application number: 17/360,702
- Filed: 2021-06-28
- Published: 2022-12-29
- Granted: 2023-01-31
- Earliest claimed: 2021-06-28
- Assignees: STMicroelectronics (China) Investment Co., Ltd.
- Applicants: STMicroelectronics (China) Investment Co., Ltd.
- Inventors: Jian Wang; Luting Ye; Xiaobo Sun
- Web page: https://patentgrep.com/patent/US11567471B2

## CPC

- G01D 5/2013: {by a movable ferromagnetic element, e.g. a core (G01D5/2033 takes precedence)}
- G05B 19/33: using an analogue measuring device
- G05B 2219/41065: Resolver or inductosyn correction
- 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
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

A resolver decoder circuit includes: a first filter circuit configured to calculate a first weighted sum of a first digital signal over a pre-determined period of time, where the first digital signal includes first digital samples of a first analog signal from a sine winding of a resolver; a second filter circuit configured to calculate a second weighted sum of a second digital signal over the pre-determined period of time, where the second digital signal includes second digital samples of a second analog signal from a cosine winding of the resolver, where the first and the second analog signals are configured to be induced by a sine signal applied to an input winding of the resolver; and a rectifier configured to generate a first output and a second output by adjusting a first sign of the first weighted sum and adjusting a second sign of the second weighted sum, respectively.

## Claims

### Claim 1

A resolver decoder circuit comprising:
a first filter circuit configured to calculate a first weighted sum of a first digital signal over a pre-determined period of time, wherein the first digital signal comprises first digital samples of a first analog signal from a first secondary winding of a resolver;
a second filter circuit configured to calculate a second weighted sum of a second digital signal over the pre-determined period of time, wherein the second digital signal comprises second digital samples of a second analog signal from a second secondary winding of the resolver, wherein the first analog signal and the second analog signal are configured to be induced by a sine wave signal applied to an input winding of the resolver; and
a rectifier configured to generate a first output and a second output by adjusting a first sign of the first weighted sum and adjusting a second sign of the second weighted sum, respectively.

### Claim 2 (depends on 1)

The resolver decoder circuit of claim 1, wherein the rectifier has an input terminal configured to receive a control signal that indicates whether the pre-determined period of time corresponds to a first half of a period of the sine wave signal or a second half of a period of the sine wave signal.

### Claim 3 (depends on 2)

The resolver decoder circuit of claim 2, wherein the rectifier is configured to:
reversing the first sign of the first weighted sum and the second sign of the second weighted sum when the control signal indicates that the pre-determined period of time corresponds to the second half of a period of the sine wave signal; and
keeping the first sign of the first weighted sum and the second sign of the second weighted sum unchanged when the pre-determined period of time corresponds to the first half of a period of the sine wave signal.

### Claim 4 (depends on 1)

The resolver decoder circuit of claim 1, further comprising an analog-to-digital converter (ADC) circuit, wherein the ADC circuit is configured to sample the first analog signal and the second analog signal using a same sampling clock signal.

### Claim 5 (depends on 1)

The resolver decoder circuit of claim 1, further comprising an angle calculation circuit, wherein the angle calculation circuit is configured to:
calculate a ratio between the first output of the rectifier and the second output of the rectifier; and
determine a first angle by performing an arctangent function on the ratio.

### Claim 6 (depends on 5)

The resolver decoder circuit of claim 5, wherein the first secondary winding of the resolver is a sine winding, and the second secondary winding of the resolver is a cosine winding.

### Claim 7 (depends on 5)

The resolver decoder circuit of claim 5, wherein the angle calculation circuit is further configured to:
determine, based on signs of the first output and the second output of the rectifier, a quadrant of an angle indicated by the first analog signal and the second analog signal; and
determine the angle indicated by the first analog signal and the second analog signal by adjusting the first angle based on the determined quadrant.

### Claim 8 (depends on 1)

The resolver decoder circuit of claim 1, wherein each of the first filter circuit and the second filter circuit comprises:
an input terminal;
an output terminal;
a tapped delay line (TDL) coupled to the input terminal and having taps, wherein each of the taps of the TDL has a respective weight factor; and
a plurality of adders configured to generate, at the output terminal, a weighted sum of digital values at the taps of the TDL.

### Claim 9 (depends on 8)

The resolver decoder circuit of claim 8, wherein the weight factors of the TDL are equal.

### Claim 10 (depends on 8)

The resolver decoder circuit of claim 8, wherein the weight factors of the TDL are different.

### Claim 11 (depends on 10)

The resolver decoder circuit of claim 10, wherein amplitudes of the weight factors of the TDL follow an envelope of the sine wave signal.

### Claim 12

A processor having an integrated resolver decoder circuit, the processor comprising:
an analog-to-digital converter (ADC) circuit configured to:
generate first digital samples by converting a first analog signal from a sine winding of a resolver, and
generate second digital samples by converting a second analog signal from a cosine winding of the resolver, the first analog signal and the second analog signal being generated by exciting an input winding of the resolver with a sine wave signal;
a first tapped delay line (TDL) filter coupled to the ADC circuit and configured to calculate a first weighted sum of the first digital samples over a pre-determined period of time;
a second TDL filter coupled to the ADC circuit and configured to calculate a second weighted sum of the second digital samples over the pre-determined period of time;
a rectifier configured to generate a first output and a second output by adjusting a first sign of the first weighted sum and a second sign of the second weighted sum, respectively; and
a central processing unit (CPU) coupled to the rectifier.

### Claim 13 (depends on 12)

The processor of claim 12, wherein the rectifier is configured to adjust the first sign of the first weighted sum and the second sign of the second weighted sum by:
reversing the first sign of the first weighted sum and the second sign of the second weighted sum if the sine wave signal has negative values during the pre-determined period of time; and
keeping the first sign of the first weighted sum and the second sign of the second weighted sum unchanged if the sine wave signal has positive values during the pre-determined period of time.

### Claim 14 (depends on 12)

The processor of claim 12, wherein the ADC circuit is configured to generate the first digital samples and the second digital samples synchronously.

### Claim 15 (depends on 12)

The processor of claim 12, wherein the first TDL filter has first weight factors for scaling the first digital samples at first time instants within the pre-determined period of time, wherein at least some of the first weight factors are proportional to amplitudes of the sine wave signal at the first time instants within the pre-determined period of time.

### Claim 16 (depends on 12)

The processor of claim 12, wherein the CPU is configured to:
determine a quadrant of an angle indicated by the first analog signal and the second analog signal based on the first output and the second output of the rectifier;
divide the first output of the rectifier by the second output of the rectifier to obtain a first value;
perform an arctangent function on the first value to obtain a first angle; and
adjust the first angle based on the determined quadrant to obtain an estimate of the angle indicated by the first analog signal and the second analog signal.

### Claim 17 (depends on 16)

The processor of claim 16, wherein the CPU is configured to perform the arctangent function using a look-up table.

### Claim 18

A method of operating a resolver decoder circuit, the method comprising:
converting a first analog signal from a sine winding of a resolver into first data samples;
converting a second analog signal from a cosine winding of the resolver into second data samples;
calculating a first weighted sum of the first data samples over a pre-determined period of time;
calculating a second weighted sum of the second data samples over the pre-determined period of time;
adjusting a first sign of the first weighted sum and a second sign of the second weighted sum based on a location of the pre-determined period of time within a cycle of a sine wave signal;
after the adjusting, dividing the first weighted sum by the second weighted sum to obtain a value; and
determining an arctangent of the value to obtain an angle.

### Claim 19 (depends on 18)

The method of claim 18, wherein adjusting the first sign of the first weighted sum and the second sign of the second weighted sum comprises:
reversing the first sign of the first weighted sum and the second sign of the second weighted sum when the pre-determined period of time is within a second half of the cycle of the sine wave signal; and
keeping the first sign of the first weighted sum and the second sign of the second weighted sum unchanged when the pre-determined period of time is within a first half of the cycle of the sine wave signal.

### Claim 20 (depends on 18)

The method of claim 18, wherein the first analog signal and the second analog signal are converted into digital samples synchronously using an analog-to-digital converter circuit.
