# US 2021/0175829 A1 · Motor control method and device, and frequency conversion controller

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

- Number: US 2021/0175829 A1
- Document ID: US20210175829A1
- Status: Published application
- Kind: A1
- Application number: 17/253,572
- Filed: 2019-09-12
- Published: 2021-06-10
- Earliest claimed: 2018-09-20
- Assignees: Hangzhou Leaderway Electronics Co., Ltd.
- Applicants: Hangzhou Leaderway Electronics Co., Ltd.
- Inventors: Dekai Jiang
- Web page: https://patentgrep.com/patent/US20210175829A1

## CPC

- H02P 21/22: Current control, e.g. using a current control loop
- H02H 9/02: responsive to excess current {(current limitation for voltage regulators G05F1/573; disconnection after limiting H02H3/025)}
- H02P 21/0003: {Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control}
- H02P 21/18: Estimation of position or speed
- H02P 21/20: Estimation of torque
- H02P 2205/01: Current loop, i.e. comparison of the motor current with a current reference
- H02P 2205/05: Torque loop, i.e. comparison of the motor torque with a torque reference
- H02P 2205/07: Speed loop, i.e. comparison of the motor speed with a speed reference
- H02P: CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02H: EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS (indicating or signalling undesired working conditions G01R, e.g. G01R31/00, G08B; locating faults along lines G01R31/08; emergency protective devices H01H)

## Abstract

Provided are a motor control method, a motor control device and a variable frequency drive. The method includes: performing an amplitude limiting on a command torque to obtain a target torque; calculating a target current based on the target torque; determining whether an amplitude of the target current is greater than a current limiting amplitude; performing an amplitude limiting on current components of the target current, when the amplitude of the target current is greater than the current limiting amplitude; and controlling a motor based on the current components of the target current after being performed the amplitude limiting. Thus, an amplitude limiting on current of a motor is achieved by performing amplitude limiting on torque and current.

## Claims

### Claim 1

A motor control method, comprising the following steps:
performing an amplitude limiting on a command torque to obtain a target torque;
calculating a target current based on the target torque;
determining whether an amplitude of the target current is greater than a current limiting amplitude;
performing an amplitude limiting on current components of the target current, when the amplitude of the target current is greater than the current limiting amplitude; and
controlling a motor based on the current components of the target current after being performed the amplitude limiting.

### Claim 2 (depends on 1)

The motor control method according to claim 1, wherein before the performing an amplitude limiting on a command torque to obtain a target torque, the method further comprises:
obtaining a target speed and a feedback speed; and
calculating the command torque based on the target speed and the feedback speed.

### Claim 3 (depends on 1)

The motor control method according to claim 1, wherein the calculating a target current based on the target torque comprises:
calculating the current components of the target current based on the target torque; and
calculating a total amount of the target current based on the current component of the target current;
wherein the determining whether an amplitude of the target current is greater than a current limiting amplitude comprises:
determining whether an amplitude of the total amount of the target current is greater than the current limiting amplitude.

### Claim 4 (depends on 3)

The motor control method according to claim 3, wherein the current components comprise a d-axis current component and a q-axis current component;
the amplitude of the total amount of the target current is equal to a square root of a square sum of the d-axis current component and the q-axis current component;
wherein the performing an amplitude limiting on a current component of the target current comprises:
determining whether the q-axis current component is greater than or equal to the current limiting amplitude;
setting the q-axis current component to be equal to the current limiting amplitude and setting the d-axis current component to be equal to 0, when the q-axis current component is greater than or equal to the current limiting amplitude; and
keeping the q-axis current component unchanged and setting the d-axis current component to be equal to a square root of a square difference between the current limiting amplitude and the q-axis current component, when the q-axis current component is less than the current limiting amplitude;
alternatively, the performing an amplitude limiting on current components of the target current comprises:
determining whether the d-axis current component is greater than or equal to the current limiting amplitude;
setting the d-axis current component to be equal to the current limiting amplitude and setting the q-axis current component to be equal to 0, when the d-axis current component is greater than or equal to the current limiting amplitude; and
keeping the d-axis current component unchanged and setting the q-axis current component to be equal to a square root of a square difference between the current limiting amplitude and the d-axis current component, when the d-axis current component is less than the current limiting amplitude.

### Claim 5 (depends on 1)

The motor control method according to claim 1, wherein the calculating a target current based on the target torque comprises:
calculating a total amount Is of the target current and a component angle θ based on the target torque;
wherein the determining whether an amplitude of the target current is greater than a current limiting amplitude I max comprises:
determining whether an amplitude of the total amount of the target current is greater than the current limiting amplitude;
wherein the performing an amplitude limiting on current components of the target current comprises:
setting a q-axis current component Iq′* of the target current after being performed the amplitude limiting according to an equation Iq′*=I max*sin θ; and
setting a d-axis current component Id′* of the target current after being performed the amplitude limiting according to an equation Id′*=I max*cos θ.

### Claim 6 (depends on 4)

The motor control method according to claim 4, wherein when entering current amplitude limiting, a feedback torque is calculated, and the feedback torque is equal to 1.5 times of a product of pole pairs of the motor, a back electromotive force constant and the q-axis current component.

### Claim 7 (depends on 6)

The motor control method according to claim 6, wherein the performing an amplitude limiting on a command torque to obtain a target torque comprises:
comparing the feedback torque with a preset torque, determining a smaller one between the feedback torque and the preset torque as a maximum amplitude of the command torque, and setting the command torque after being performed the amplitude limiting as the target torque.

### Claim 8 (depends on 2)

The motor control method according to claim 2, wherein the calculating the command torque based on the target speed and the feedback speed comprises:
calculating a difference between the target speed and the feedback speed, and calculating the command torque by a speed loop PI algorithm based on the difference and the target speed;
wherein the controlling a motor based on the current components of the target current after being performed the amplitude limiting comprises:
performing a current loop control based on the current components of the target current after being performed the amplitude limiting.

### Claim 9

A motor control device comprising:
a torque amplitude limiting module, configured to perform an amplitude limiting on a command torque to obtain a target torque;
a target current calculation module, configured to calculate a target current based on the target torque;
a determination module, configured to determine whether an amplitude of the target current is greater than a current limiting amplitude;
a current amplitude limiting module, configured to perform an amplitude limiting on current components of the target current, when the amplitude of the target current is greater than the current limiting amplitude; and
a motor control module, configured to control a motor based on the current components of the target current after being performed the amplitude limiting.

### Claim 10 (depends on 9)

The motor control device according to claim 9, further comprising:
a torque acquisition module, configured to obtain a target speed and a feedback speed; and
a command torque calculation module, configured to calculate the command torque based on the target speed and the feedback speed.

### Claim 11 (depends on 10)

The motor control device according to claim 10, wherein
the determination module is configured to determine whether an amplitude of a total amount of the target current is greater than the current limiting amplitude;
the current components of the target current comprise a d-axis current component and a q-axis current component, and the amplitude of the total amount of the target current is equal to a square root of a square sum of the d-axis current component and the q-axis current component;
the current amplitude limiting module comprises:
a q-axis current component determination unit, configured to determine whether the q-axis current component is greater than or equal to the current limiting amplitude; and
a first current component calculation unit, configured to set the q-axis current component to be equal to the current limiting amplitude, and set the d-axis current component to be equal to 0, when the q-axis current component is greater than or equal to the current limiting amplitude; and keep the q-axis current component unchanged, and set the d-axis current component to be equal to a square root of a square difference between the current limiting amplitude and the q-axis current component, when the q-axis current component is less than the current limiting amplitude;
alternatively,
the current amplitude limiting module comprises:
a d-axis current component determination unit, configured to determine whether the d-axis current component is greater than or equal to the current limiting amplitude; and
a second current component calculation unit, configured to set the d-axis current component to be equal to the current limiting amplitude, and set the q-axis current component to be equal to 0, when the d-axis current component is greater than or equal to the current limiting amplitude; and keep the d-axis current component unchanged, and set the q-axis current component to be equal to a square root of a square difference between the current limiting amplitude and the d-axis current component, when the d-axis current component is less than the current limiting amplitude.

### Claim 12 (depends on 10)

The motor control device according to claim 10, wherein
the target current calculation module is configured to calculate a total amount Is of the target current and a component angle θ based on the target torque; and
the determination module is configured to determine whether an amplitude of the total amount of the target current is greater than the current limiting amplitude;
the current amplitude limiting module comprises:
a q-axis current calculation unit, configured to determine a q-axis current component Iq′* of the target current according to an equation Iq′*=I max*sin θ, when the amplitude of the total amount of the target current is greater than the current limiting amplitude; and
a d-axis current calculation unit, configured to determine a d-axis current component Id′* of the target current according to an equation Id′*=I max*cos θ, when the amplitude of the total amount of the target current is greater than the current limiting amplitude.

### Claim 13 (depends on 10)

The motor control device according to claim 10, further comprising:
a feedback torque calculation module, configured to calculate a feedback torque upon entering current amplitude limiting, wherein the feedback torque is equal to 1.5 times of a product of pole pairs of the motor, a back electromotive force constant and the q-axis current component;
the torque amplitude limiting module is configured to compare the feedback torque with a preset torque, and determine a smaller one between the feedback torque and the preset torque as a maximum amplitude of the command torque;
the command torque calculation module is further configured to calculate a difference between the target speed and the feedback speed, and calculate the command torque by a speed loop PI algorithm based on the difference and the target speed; and
the motor control module is configured to perform a current loop control based on the current components of the target current after being performed the amplitude limiting.

### Claim 14 (depends on 9)

A variable frequency drive, configured to control a motor, wherein the variable frequency drive comprises the motor control device according to claim 9.

### Claim 15 (depends on 5)

The motor control method according to claim 5, wherein when entering current amplitude limiting, a feedback torque is calculated, and the feedback torque is equal to 1.5 times of a product of pole pairs of the motor, a back electromotive force constant and the q-axis current component.

### Claim 16 (depends on 15)

The motor control method according to claim 15, wherein the performing an amplitude limiting on a command torque to obtain a target torque comprises:
comparing the feedback torque with a preset torque, determining a smaller one between the feedback torque and the preset torque as a maximum amplitude of the command torque, and setting the command torque after being performed the amplitude limiting as the target torque.

### Claim 17 (depends on 16)

The motor control method according to claim 16, wherein the calculating the command torque based on the target speed and the feedback speed comprises:
calculating a difference between the target speed and the feedback speed, and calculating the command torque by a speed loop PI algorithm based on the difference and the target speed;
wherein the controlling a motor based on the current components of the target current after being performed the amplitude limiting comprises:
performing a current loop control based on the current components of the target current after being performed the amplitude limiting.

### Claim 18 (depends on 11)

The motor control device according to claim 11, further comprising:
a feedback torque calculation module, configured to calculate a feedback torque upon entering current amplitude limiting, wherein the feedback torque is equal to 1.5 times of a product of pole pairs of the motor, a back electromotive force constant and the q-axis current component;
the torque amplitude limiting module is configured to compare the feedback torque with a preset torque, and determine a smaller one between the feedback torque and the preset torque as a maximum amplitude of the command torque;
the command torque calculation module is further configured to calculate a difference between the target speed and the feedback speed, and calculate the command torque by a speed loop PI algorithm based on the difference and the target speed; and
the motor control module is configured to perform a current loop control based on the current components of the target current after being performed the amplitude limiting.

### Claim 19 (depends on 12)

The motor control device according to claim 12, further comprising:
a feedback torque calculation module, configured to calculate a feedback torque upon entering current amplitude limiting, wherein the feedback torque is equal to 1.5 times of a product of pole pairs of the motor, a back electromotive force constant and the q-axis current component;
the torque amplitude limiting module is configured to compare the feedback torque with a preset torque, and determine a smaller one between the feedback torque and the preset torque as a maximum amplitude of the command torque;
the command torque calculation module is further configured to calculate a difference between the target speed and the feedback speed, and calculate the command torque by a speed loop PI algorithm based on the difference and the target speed; and
the motor control module is configured to perform a current loop control based on the current components of the target current after being performed the amplitude limiting.

### Claim 20 (depends on 11)

A variable frequency drive, configured to control a motor, wherein the variable frequency drive comprises the motor control device according to claim 11.
