# US 2025/0096712 A1 · Automatic tuning for bldc motor field-oriented controller

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

- Number: US 2025/0096712 A1
- Document ID: US20250096712A1
- Status: Published application
- Kind: A1
- Application number: 18/830,847
- Filed: 2024-09-11
- Published: 2025-03-20
- Earliest claimed: 2023-09-15
- Assignees: Allegro MicroSystems, LLC
- Applicants: Allegro MicroSystems, LLC
- Inventors: Simon Kalombo; Kamyar Khosravi; Masahira Kurihara
- Web page: https://patentgrep.com/patent/US20250096712A1

## CPC

- H02P 21/34: Arrangements for starting
- H02P 6/08: Arrangements for controlling the speed or torque of a single motor (H02P6/10, H02P6/28 take precedence)
- H02P 6/20: Arrangements for starting (H02P6/08 takes precedence)
- H02P 21/13: Observer control, e.g. using Luenberger observers or Kalman filters
- H02P 21/16: Estimation of constants, e.g. the rotor time constant
- H02P 21/18: Estimation of position or speed
- H02P 21/22: Current control, e.g. using a current control loop
- H02P: CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS

## Abstract

Methods and apparatus for automatic tuning of parameters for field-oriented control (FOC) of a BLDC motor with a controller with user input. Automatic tuning can include measuring electrical parameters comprising Phase resistance (Rs), Phase inductance (Ls), and Back-electromotive force (BEMF) constant (Ke). Automatic tuning can further include tuning of ac alignment and start-up processing, tuning of a current closed loop, and tuning of a speed closed loop.

## Claims

### Claim 1

A method of automatically tuning a controller for a field-oriented control (FOC) electric motor, comprising:
receiving user input for parameters for tuning the controller;
measuring phase resistance and phase inductance of the motor; and
automatically tuning the controller for at least one type of tuning based on the user input and the measured phase resistance and phase inductance of the motor.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the at least one type of tuning includes alignment tuning.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the at least one type of tuning includes startup tuning.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the at least one type of tuning includes current closed loop tuning.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the at least one type of tuning includes speed closed loop tuning.

### Claim 6 (depends on 1)

The method according to claim 1, further including estimating a BEMF constant Ke for the motor using at least one of the parameters received as user input.

### Claim 7 (depends on 6)

The method according to claim 6, further including measuring the phase resistance and phase inductance of the motor prior to tuning a current loop for the motor, and estimating the constant Ke during tuning of a speed loop of the motor.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the receiving user input for the parameters includes receiving a rated motor speed.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the receiving user input for the parameters includes receiving a rated current for the motor.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the receiving user input for the parameters includes a DC bus voltage for the motor.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the receiving user input for the parameters includes receiving a resistance of a shunt resistor.

### Claim 12 (depends on 1)

The method according to claim 1, wherein the receiving user input for the parameters includes receiving an acceleration factor for the motor.

### Claim 13 (depends on 1)

The method according to claim 1, wherein the receiving user input for the parameters includes receiving a deceleration factor for the motor.

### Claim 14 (depends on 1)

The method according to claim 1, wherein the at least one type of tuning includes alignment tuning, startup tuning, current closed loop tuning, and speed closed loop tuning.

### Claim 15 (depends on 1)

The method according to claim 1, wherein measuring the phase resistance includes injecting a DC voltage into a d-axis of the motor at a standstill and measuring d-axis current.

### Claim 16 (depends on 1)

The method according to claim 1, wherein measuring the phase inductance includes measuring motor current response to injection of a sine waveform into a d-axis.

### Claim 17 (depends on 16)

The method according to claim 16, wherein the sine waveform has a plurality of non-harmonic frequencies.

### Claim 18 (depends on 1)

The method according to claim 1, wherein the at least one type of tuning includes alignment tuning, wherein the alignment tuning is a function of rated current of the motor, and wherein the alignment tuning includes tuning of an AC alignment frequency.

### Claim 19 (depends on 1)

The method according to claim 1, wherein the at least one type of tuning includes startup tuning, and wherein the start up tuning includes tuning a startup start frequency and a startup end frequency.

### Claim 20 (depends on 1)

The method according to claim 1, wherein the at least one type of tuning includes current closed loop tuning, and further including using performance assessment criteria (PAC) for comparing an ideal current closed loop response with a current closed loop response having varying parameters.

### Claim 21 (depends on 1)

The method according to claim 1, wherein the at least one type of tuning includes speed closed loop tuning, and further including determining a gain factor for speed control.

### Claim 22 (depends on 21)

The method according to claim 21, further including using a cost function to determine the gain factor.

### Claim 23 (depends on 22)

The method according to claim 22, wherein the cost function is configured to find the gain factor for PI control.

### Claim 24 (depends on 1)

The method according to claim 1, wherein voltage injection is used to estimate the phase resistance and the phase inductance of the motor.

### Claim 25

A system to automatically tune a controller for a field-oriented control (FOC) electric motor, comprising:
memory and at least one processor configured to:
receive user input for parameters for tuning the controller;
measure phase resistance and phase inductance of the motor; and
automatically tune the controller for at least one type of tuning based on the user input and the measured phase resistance and phase inductance of the motor.

### Claim 26 (depends on 25)

The system according to claim 25, wherein the at least one type of tuning includes alignment tuning, startup tuning, current closed loop tuning, and/or speed closed loop tuning.

### Claim 27 (depends on 26)

The system according to claim 26, wherein the system is further configured to estimate a BEMF constant Ke for the motor using at least one of the parameters received as user input.

### Claim 28 (depends on 26)

The system according to claim 26, wherein the user input for the parameters includes a rated motor speed, a rated current for the motor, a DC bus voltage for the motor, a resistance of a shunt resistor, an acceleration factor for the motor, and/or a deceleration factor for the motor.

### Claim 29 (depends on 25)

The system according to claim 25, wherein the system is configured to measure the phase resistance by injecting a DC voltage into a d-axis of the motor at a standstill and measuring d-axis current.

### Claim 30 (depends on 25)

The system according to claim 25, wherein the system is configured to measure the phase inductance by measuring motor current response to injection of a sine waveform into a d-axis.

### Claim 31 (depends on 25)

The system according to claim 25, wherein the at least one type of tuning includes alignment tuning, wherein the alignment tuning is a function of rated current of the motor, and wherein the alignment tuning includes tuning of an AC alignment frequency.

### Claim 32 (depends on 25)

The system according to claim 25, wherein the at least one type of tuning includes startup tuning, and wherein the start up tuning includes tuning a startup start frequency and a startup end frequency.

### Claim 33 (depends on 25)

The system according to claim 25, wherein the at least one type of tuning includes current closed loop tuning, and wherein the system is further configured to use performance assessment criteria (PAC) for comparing an ideal current closed loop response with a current closed loop response having varying parameters.

### Claim 34 (depends on 25)

The system according to claim 25, wherein the at least one type of tuning includes speed closed loop tuning, and further including determining a gain factor for speed control.

### Claim 35 (depends on 25)

The system according to claim 25, wherein voltage injection is used to estimate the phase resistance and the phase inductance of the motor.
