# US 2017/0250634 A1 · Control timing and sequencing for a multi-phase electric motor

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

- Number: US 2017/0250634 A1
- Document ID: US20170250634A1
- Status: Published application
- Kind: A1
- Application number: 15/056,287
- Filed: 2016-02-29
- Published: 2017-08-31
- Earliest claimed: 2016-02-29
- Assignees: Allegro MicroSystems, LLC
- Applicants: Allegro Microsystems, LLC
- Inventors: Lyndon Ambruson; Robert Stoddard
- Web page: https://patentgrep.com/patent/US20170250634A1

## CPC

- H02P 6/17: and for generating speed information
- H02P 6/16: Circuit arrangements for detecting position
- H02P 6/182: using back-emf in windings
- H02P: CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS

## Abstract

Described embodiments provide an electronic circuit for controlling a motor. The electronic circuit includes a magnetic field sensing circuit responsive to magnetic field sensing elements disposed to sense rotation of the motor. The magnetic field sensing elements generate magnetic field signals, each having a state indicative of at least one of the rotational position and a rotation speed of the motor. A position and speed sensing circuit generates a signal representative of the rotational position of the motor and tracks state changes of the magnetic field signals. A gate driver circuit generates motor drive signals that drive the motor based upon the sensed rotational position. The position and speed sensing circuit generates a qualified control signal based upon a determined valid state change of the magnetic field signals. The gate driver circuit generates the motor drive signals based, at least in part, upon the qualified control signal.

## Claims

### Claim 1

An electronic circuit for controlling a motor, comprising:
a magnetic field sensing circuit responsive to a plurality of magnetic field sensing elements disposed to sense rotation of the motor and configured to generate a respective plurality of magnetic field signals, each having a respective state indicative of a rotational position of the motor;
a position and speed sensing circuit configured to generate a signal representative of at least one of the rotational position of the motor and a rotational speed of the motor, wherein the position and speed sensing circuit tracks state changes of the plurality of magnetic field signals; and
a gate driver circuit configured to generate one or more motor drive signals that drive the motor based, at least in part, upon the sensed rotational position, wherein the one or more motor drive signals control a voltage applied to the motor;
wherein the position and speed sensing circuit is configured to generate at least one qualified control signal based upon a determined valid state change of the plurality of magnetic field signals, and
wherein the gate driver circuit is configured to generate the one or more motor drive signals based, at least in part, upon the qualified control signal.

### Claim 2 (depends on 1)

The electronic circuit of claim 1, wherein a given state of the plurality of magnetic field signals corresponds to a digital output generated based upon the sensed rotation of the motor by the plurality of magnetic field sensing elements.

### Claim 3 (depends on 1)

The electronic circuit of claim 1, wherein the position and speed sensing circuit is configured to modify one or more status indicators based upon the state of the plurality of magnetic field signals.

### Claim 4 (depends on 3)

The electronic circuit of claim 3, wherein the one or more status indicators comprise:
a previous state indicator associated with at least one previous state of the plurality of magnetic field signals;
a current state indicator associated with a current state of the plurality of magnetic field signals; and
a motor direction indicator, wherein the motor direction indicator is set to one of a plurality of values based upon a detected direction of rotation of the motor and a desired direction of rotation of the motor.

### Claim 5 (depends on 4)

The electronic circuit of claim 4, wherein the position and speed sensing circuit is configured to:
determine that a valid state change of the plurality of magnetic field signals has occurred when the motor direction indicator is not set and the current state indicator is equal to an expected value determined based upon the previous state indicator; and
generate, for each valid state change, the at least one qualified control signal.

### Claim 6 (depends on 4)

The electronic circuit of claim 4, wherein the position and speed sensing circuit is configured to:
determine that an invalid state change of the plurality of magnetic field signals has occurred when the motor direction indicator is not set and the current state indicator is not equal to an expected value determined based upon the previous state indicator, wherein no qualified control signal is generated for each invalid state change.

### Claim 7 (depends on 6)

The electronic circuit of claim 6, wherein the position and speed sensing circuit is configured to:
ignore an invalid state change until the motor direction indicator is set for a predetermined number of consecutive state changes of the plurality of magnetic field signals; and
when the motor direction indicator has been set for the predetermined number of consecutive state changes:
generate the at least one qualified control signal; and
clear the motor direction indicator to a value associated with a valid state change.

### Claim 8 (depends on 7)

The electronic circuit of claim 7, wherein the predetermined number of consecutive state changes is two.

### Claim 9 (depends on 6)

The electronic circuit of claim 6, wherein the position and speed sensing circuit is configured to:
for a determined invalid state change of the plurality of magnetic field signals, set the motor direction indicator to a value associated with the invalid state change, and set the expected value based upon the current state indicator.

### Claim 10

An electronic circuit for controlling a motor, comprising:
a magnetic field sensing circuit responsive to a plurality of magnetic field sensing elements disposed to sense rotation of the motor and configured to generate a respective plurality of magnetic field signals, each having a respective state indicative of a rotational position of the motor;
a position and speed sensing circuit configured to generate a signal representative of at least one of the rotational position of the motor and a rotational speed of the motor, wherein the rotational position is associated with state changes of the plurality of magnetic field signals; and
a gate driver circuit configured to generate one or more motor drive signals that drive the motor based, at least in part, upon the sensed rotational position, wherein the one or more motor drive signals control a voltage applied to the motor;
wherein the position and speed sensing circuit is configured to generate at least one qualified control signal a predetermined number of times for an associated valid state change of the plurality of magnetic field signals.

### Claim 11 (depends on 10)

The electronic circuit of claim 10, wherein the predetermined number of times is one.

### Claim 12 (depends on 10)

The electronic circuit of claim 10, wherein a given state of the plurality of magnetic field signals corresponds to a digital output generated based upon the sensed rotational position of the motor.

### Claim 13 (depends on 10)

The electronic circuit of claim 10, wherein the position and speed sensing circuit is configured to modify one or more status indicators based upon the state of the plurality of magnetic field signals.

### Claim 14 (depends on 13)

The electronic circuit of claim 13, wherein the one or more status indicators comprise:
a previous state indicator associated with at least one previous state of the plurality of magnetic field signals;
a current state indicator associated with a current state of the plurality of magnetic field signals; and
a motor direction indicator, wherein the motor direction indicator is set to one of a plurality of values based upon a detected direction of rotation of the motor and a desired direction of rotation of the motor.

### Claim 15 (depends on 14)

The electronic circuit of claim 14, wherein the position and speed sensing circuit is configured to:
determine that a valid state change of the plurality of magnetic field signals has occurred when the motor direction indicator is not set and the current state indicator is equal to an expected value determined based upon the previous state indicator; and
generate, for each valid state change, the at least one qualified control signal.

### Claim 16 (depends on 14)

The electronic circuit of claim 14, wherein the position and speed sensing circuit is configured to:
determine that an invalid state change of the plurality of magnetic field signals has occurred when motor direction indicator is not set and the current state indicator is not equal to an expected value determined based upon the previous state indicator, wherein no qualified control signal is generated for each invalid state change.

### Claim 17 (depends on 16)

The electronic circuit of claim 16, wherein the position and speed sensing circuit is configured to:
ignore an invalid state change until the motor direction indicator is set for a predetermined number of consecutive state changes of the plurality of magnetic field signals; and
when the motor direction indicator has been set for the predetermined number of consecutive state changes:
generate the at least one qualified control signal; and
clear the motor direction indicator to a value associated with a valid state change.

### Claim 18 (depends on 17)

The electronic circuit of claim 17, wherein the predetermined number of consecutive state changes is two.

### Claim 19 (depends on 17)

The electronic circuit of claim 17, wherein the position and speed sensing circuit is configured to:
for a determined invalid state change of the plurality of magnetic field signals, set the motor direction indicator to a value associated with the invalid state change, and set the expected value based upon the current state indicator.

### Claim 20 (depends on 10)

The electronic circuit of claim 10, wherein the gate driver circuit is configured to generate the one or more motor drive signals as one of: a trapezoidal signal, a sine wave signal, and a square wave signal.

### Claim 21 (depends on 10)

The electronic circuit of claim 10, wherein the at least one qualified control signal is insensitive to glitches in state changes of the plurality of magnetic field signals.

### Claim 22 (depends on 10)

The electronic circuit of claim 10, wherein the plurality of magnetic field sensing elements comprises Hall effect magnetic field sensing elements.

### Claim 23 (depends on 10)

The electronic circuit of claim 10, wherein the motor is a multi-phase electric motor, the gate driver circuit comprises:
a plurality of half-bridge circuits, each half-bridge circuit associated with a given phase of the multi-phase electric motor, wherein each half-bridge circuit is configured to generate a corresponding one of the motor drive signals, each motor drive signal having a phase that is offset from others of the motor drive signals.

### Claim 24 (depends on 10)

The electronic circuit of claim 10, wherein the one or more motor drive signals comprise pulse width modulated signals having respective modulations corresponding to relationships of at least one of a current through the motor and a phase of a voltage applied to the motor.

### Claim 25 (depends on 10)

The electronic circuit of claim 10, wherein the gate driver circuit is further configured to:
generate the motor drive signals having respective phase advances, the phase advances to align a phase of a current through the motor and a phase of a voltage applied to the motor.

### Claim 26

A method of controlling a motor by a motor control circuit, the method comprising:
sensing, responsive to a plurality of magnetic field sensing elements, a rotational position of the motor;
generating a respective plurality of magnetic field signals, each having a respective state indicative of the sensed rotational position of the motor;
generating a signal representative of at least one of the rotational position of the motor and a rotational speed of the motor;
tracking state changes of the plurality of magnetic field signals;
generating one or more motor drive signals that drive the motor based, at least in part, upon the sensed rotational position of the motor, wherein the one or more motor drive signals control a voltage applied to the motor; and
generating at least one qualified control signal a predetermined number of times for an associated valid state change of the plurality of magnetic field signals.

### Claim 27 (depends on 26)

The method of claim 26, comprising:
generating a given state of the plurality of magnetic field signals as a digital signal based upon the sensed rotational position of the motor.

### Claim 28 (depends on 26)

The method of claim 26, further comprising:
modifying one or more status indicators based upon the state of the plurality of magnetic field signals.

### Claim 29 (depends on 28)

The method of claim 28, wherein the one or more status indicators comprise:
a previous state indicator associated with at least one previous state of the plurality of magnetic field signals;
a current state indicator associated with a current state of the plurality of magnetic field signals; and
a motor direction indicator, wherein the motor direction indicator is set to one of a plurality of values based upon a detected direction of rotation of the motor and a desired direction of rotation of the motor.

### Claim 30 (depends on 29)

The method of claim 29, further comprising:
determining that a valid state change of the plurality of magnetic field signals has occurred when the motor direction indicator is not set and the current state indicator is equal to an expected value determined based upon the previous state indicator; and
generating, for each valid state change, the at least one qualified control signal.

### Claim 31 (depends on 29)

The method of claim 29, further comprising:
determining that an invalid state change of the plurality of magnetic field signals has occurred when motor direction indicator is not set and the current state indicator is not equal to an expected value determined based upon the previous state indicator; and
ignoring an invalid state change of the plurality of magnetic field signals until the motor direction indicator is set for a predetermined number of consecutive state changes of the plurality of magnetic field signals; and
when the motor direction indicator has been set for the predetermined number of consecutive state changes:
generating the at least one qualified control signal; and
clearing the motor direction indicator to a value associated with a valid state change.

### Claim 32 (depends on 29)

The method of claim 29, wherein the predetermined number of consecutive state changes is two.

### Claim 33 (depends on 31)

The method of claim 31, further comprising, for a determined invalid state change of the plurality of magnetic field signals, setting the motor direction indicator to a value associated with the invalid state change, and set the expected value based upon the current state indicator.
