# US 2018/0323797 A1 · Semiconductor Device

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

- Number: US 2018/0323797 A1
- Document ID: US20180323797A1
- Status: Published application
- Kind: A1
- Application number: 16/031,872
- Filed: 2018-07-10
- Published: 2018-11-08
- Earliest claimed: 2015-01-29
- Assignees: Renesas Electronics Corporation
- Applicants: Renesas Electronics Corporation
- Inventors: Kazuaki KUROOKA; Yoshihiro FUNATO
- Web page: https://patentgrep.com/patent/US20180323797A1

## CPC

- H03M 1/485: {for position encoding, e.g. using resolvers or synchros}
- H03M 1/0872: {by disabling changes in the output during the transitions, e.g. by holding or latching}
- H03M 1/645: {for position encoding, e.g. using resolvers or synchros (H03M1/485 takes precedence)}
- 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

In a semiconductor device, a sine wave signal is input to a first input part and a cosine wave signal is input to a second input part. A multiplexer alternately selects one of the sine wave signal and the cosine wave signal. An analog to digital converter converts the output signal of the multiplexer into a digital value. A switching circuit is coupled between at least one of the first and second input parts and the multiplexer. The switching circuit is configured to be able to invert the input sine wave signal or the input cosine wave signal, in order to reduce the angle detection error due to the non-linearity error of the A/D converter.

## Claims

### Claim at position 1

1-3 (canceled)

### Claim 4

A semiconductor, device comprising:
a first input part to which a first signal indicating the sine of an angle to be detected is input;
a second input part to which a second signal indicating the cosine of hte angle input;
a multiplexer for selecting one of the first and second signals;
an analog to digital converter for converting the output signal of the multiplexer into a digital value; and
a switching circuit coupled between at least one of the first and second input parts and the multiplexer,
wherein the switching circuit is configured to be able to invert the input first or second signal,
wherein the semiconductor device further comprises
an angle operation circuit for calculating the angle based on the first and second signals converted into digital values by the analog to digital converter, and
a switch control circuit for controlling the switching of the switching circuit based on the angle calculated by the angle operation circuit,
wherein the first signal is a signal obtained by modulating an excitation signal, which is input to a resolver, by the sine of the angle,
wherein the second signal is a signal obtained by modulating the excitation signal by the -cosine of the angle,
wherein the switch control circuit is configured to invert the input first or second signal in such, a way that the first and second signals to be input to the analog to digital converter have the same phase, and
wherein the switch control circuit controls the timing of the switching of the switching circuit so that the first or second signal is inverted at the timing of the zero crossing point of the excitation signal.

### Claim 5

A semiconductor device comprising;
a first input part to which a first signal indicating the sine of an angle to be detected is input;
a second input part to which a second signal indicating the cosine of the angle is input;
a multiplexer for selecting one of the first and second signals;
an analog to digital converter for converting the output signal of the muitiplexer into a digital value; and
a switching circuit coupled between at least one of the first and second input parts and the multiplexer,
wherein the switching circuit is configured to be able to invert the input first or second signal,
wherein the semiconductor device further comprises
an angle operation circuit for calculating the angle based on the first and second signals converted into digital values by the analog to digital converter, and
a switch control circuit for controlling the switching of the switching circuit based on the angle calculated by the angle operation circuit,
wherein the first signal is a signal obtained by modulating an excitation signal, which is input, to a resolver, by the sine of the angle,
wherein the second signal is a signal obtained by modulating the excitation signal by the cosine of the angle,
wherein the switch control circuit is configured to invert the rnput first or second signal in such a way that the first and second signals to be input to the analog to digital converter have the same phase, and
wherein when it is detected that the first and second signals, which are input to the respective first and second input parts, change from the same phase to the reverse phase or from the reverse phase to the same phase, the switch control circuit switches the switching circuit at the timing when the calculated angle further changes by a predetermined angle, from the time when the same phase and the reverse phase are switched.

### Claim at position 4

6-7 (canceled)

### Claim 8

A semiconductor device comprising:
a first input part to which a first signal indicating the sine of an angle to be detected is input;
a second input part to which a second signal indicating the cosine of the angle is input;
a multiplexer for selecting one of the first and second signals;
an analog to digital converter for converting the output signal of the multiplexer into a digital value; and
a switching circuit gougled between at least one of the first and second input parts and the multiplexer,
wherein the switching circuit is configured to be able to invert the input first or second signal,
wherein the semiconductor device further comprises
an angle operation circuit for calculating the angle based on the first, and second signals converted into digital values by the analog to digital converter, and
a switch control circuit for controlling the switching of the switching circuit based on the angle calculated by the angle operation circuit,
wherein the first signal is a signal obtained by modulating an excitation signal which is input to a resolver, by the sine of the angle,
wherein the second signal is a signal obtained by modulating the excitation signal by the cosine of the angle,
wherein the switch control circuit is configured to invert the input, first or second signal in such a way that the first and second signals to be input to the analog to digital converter have the same phase,
wherein the semiconductor device comprises, as the switching circuit:
a first switching circuit coupled between the first input part and the multiplexer; and
a second switching circuit coupled between the second input part and the multiplexer, and
wherein the switch control circuit is configured to perform the steps of:
inverting the first signal by the first switching circuit when the calculated angle is 180 degrees or more and 360 degrees or less; and
inverting the second signal by the second switching circuit when the calculated angle is 90 degrees or more and 270 degrees or less.

### Claim 9

A semiconductor device comprising:
a first input part to which a first signal indicating the sine of an angle to be detected is input;
a second input part to which a second signal indicating the cosine of the angle is input;
a multiplexer for selecting one of the first and second signals;
an analog to digital converter for converting the output, signal of the multiplexer into a digital value; and
a switching circuit coupled between at least one of the first and second input pacts and the multiplexer,
wherein the switching circuit is configured to be able to invert the input first or second signal,
wherein the semiconductor device further comprises
an angle operation circuit for calculating the angle based on the first and second signals converted into digital values by the analog to digital converter, and
a switch control circuit for controlling the switching of the switching circuit based on the angle calculated by the angle operat ion circuit,
wherein the first signal is a signal obtained by modulating an excitation signal, which is input to a resolver, by the sine of the angle,
wherein the second signal is a signal obtained by modulating the excitation signa1 by the cosine of the angle,
wherein the switch control circuit is configured to invert the input first or second signal in such a way that the first and second signals to be input to the analog to digital converter have the same phase,
wherein the semiconductor device comprises, as the switching circuit:
a first switching circuit coupled between the first input part and the multiplexer; and
a second switching circuit coupled between the second input part and the multiplexer, and
wherein the switch control circuit is configured to perform the steps of:
inverting the first signal by the first switching circuit when the calculated angle is 0 degrees or more and 90 degrees or less; and
inverting the second signal by the second switching circuit when the calculated angle is 0 degrees or more and 90 degrees or less, or is 270 degrees or more and 360 degrees or less.

### Claim at position 7

10-11 (canceled)

### Claim 12

A motor control device for controlling the drive of a synchronous motor based on an output signal of a resolver coupled to the synchronous motor,
wherein the resolver outputs a first signal indicating the sine of an angle to be detected as well as a second signal indicating the cosine of the angle,
wherein the motor control device comprises:
an inverter circuit for generating a motor voltage supplied to the synchronous motor;
a resolver to digital converter for calculating the angle based on the first and second signals; and
a processor for generating a control signal to control the inverter circuit based on the calculated angle,
wherein the resolver to digital converter includes:
a first input part to which the first signal is input;
a second input part to which the second signal is input;
a multiplexer for selecting one of the first and second signals;
an analog to digital converter for converting the output signal of the multiplexer into a digital value; and
a switching circuit coupled between at least one of the first and second input parts and the multiplexer,
wherein the switching circuit is configured to be able to invert the input first or second signal.
