# US 2023/0067971 A1 · Permanent-magnet synchronous machine control method and device, and permanent-magnet synchronous machine control system

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

- Number: US 2023/0067971 A1
- Document ID: US20230067971A1
- Status: Published application
- Kind: A1
- Application number: 17/858,864
- Filed: 2022-07-06
- Published: 2023-03-02
- Earliest claimed: 2021-08-26
- Assignees: Contemporary Amperex Technology Co., Limited
- Applicants: Contemporary Amperex Technology Co., Limited
- Inventors: Xiong ZHENG; Xianxi PAN; Yu LUO; Zhimin DAN
- Web page: https://patentgrep.com/patent/US20230067971A1

## CPC

- H02P 21/05: specially adapted for damping motor oscillations, e.g. for reducing hunting
- H02P 29/50: Reduction of harmonics
- H02P 6/10: Arrangements for controlling torque ripple, e.g. providing reduced torque ripple
- H02P 21/13: Observer control, e.g. using Luenberger observers or Kalman filters
- H02P 21/22: Current control, e.g. using a current control loop
- H02P 2207/05: Synchronous machines, e.g. with permanent magnets or DC excitation
- H02P: CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS

## Abstract

This application provides a permanent-magnet synchronous machine control method and device, and a permanent-magnet synchronous machine control system. The method includes: obtaining a d-axis current id and a q-axis current iq in a permanent-magnet synchronous machine control loop at a current moment; obtaining a fifth-order harmonic current id5th and a seventh-order harmonic current id7th in the d-axis current id in the permanent-magnet synchronous machine control loop at the current moment, and a fifth-order harmonic current iq5th and a seventh-order harmonic current iq7th in the q-axis current iq in the permanent-magnet synchronous machine loop at the current moment; determining a d-axis current idk+1 at a next moment in each switch state; determining a q-axis current iqk+1 at the next moment in each switch state based on the first current idk, the second current iqk, and the second voltage in each switch state; and determining a control policy of the permanent-magnet synchronous machine.

## Claims

### Claim 1

A permanent-magnet synchronous machine control method, comprising:
obtaining a d-axis current id and a q-axis current iq in a permanent-magnet synchronous machine control loop at a current moment;
obtaining a fifth-order harmonic current id5th and a seventh-order harmonic current id7th in the d-axis current id in the permanent-magnet synchronous machine control loop at the current moment, and a fifth-order harmonic current iq5th and a seventh-order harmonic current iq7th in the q-axis current iq in the permanent-magnet synchronous machine loop at the current moment;
calculating four harmonic voltages based on the fifth-order harmonic current id5th, the seventh-order harmonic current id7th, the fifth-order harmonic current iq5th, and the seventh-order harmonic current iq7th, wherein the four harmonic voltages comprise a d-axis-fifth-order harmonic voltage ud5th, a q-axis fifth-order harmonic voltage uq5th, a d-axis seventh-order harmonic voltage ud7th, and a q-axis seventh-order harmonic voltage uq7th;
subtracting the fifth-order harmonic current id5th and the seventh-order harmonic current id7th from the d-axis current id to obtain a first current idk on a d axis; and subtracting the fifth-order harmonic current iq5th and the seventh-order harmonic current iq7th from the q-axis current iq to obtain a second current iqk on a q axis;
subtracting the d-axis fifth-order harmonic voltage ud5th and the d-axis seventh-order harmonic voltage ud7th from a d-axis voltage corresponding to each switch state of an inverter to obtain a first voltage on the d axis in each switch state, and subtracting the q-axis fifth-order harmonic voltage uq5th and the q-axis seventh-order harmonic voltage uq7th from a q-axis voltage corresponding to each switch state of the inverter to obtain a second voltage on the q axis in each switch state;
determining a d-axis current idk+1 at a next moment in each switch state based on the first current idk, the second current iqk, and the first voltage in each switch state; and determining a q-axis current iqk+1 at the next moment in each switch state based on the first current idk, the second current iqk, and the second voltage in each switch state; and
determining a control policy of the permanent-magnet synchronous machine based on the d-axis current idk+1 at the next moment in each switch state and the q-axis current iqk+1 at the next moment in each switch state.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the obtaining a fifth-order harmonic current id5th and a seventh-order harmonic current id7th in the d-axis current id in the permanent-magnet synchronous machine control loop at the current moment, and a fifth-order harmonic current iq5th and a seventh-order harmonic current iq7th in the q-axis current iq in the permanent-magnet synchronous machine loop at the current moment comprises:
obtaining a three-phase current in the permanent-magnet synchronous machine control loop at the current moment;
transforming the three-phase current into a d-axis current and a q-axis current in a fifth-order rotating coordinate system based on a coordinate transformation algorithm and a phase angle of a fifth-order harmonic;
filtering the d-axis current and the q-axis current in the fifth-order rotating coordinate system by using a filter, so as to obtain the fifth-order harmonic current id5th and the fifth-order harmonic current iq5th;
transforming the three-phase current into a d-axis current and a q-axis current in a seventh-order rotating coordinate system based on the coordinate transformation algorithm and a phase angle of a seventh-order harmonic; and
filtering the d-axis current and the q-axis current in the seventh-order rotating coordinate system by using the filter, so as to obtain the seventh-order harmonic current id7th and the seventh-order harmonic current iq7th.

### Claim 3 (depends on 1)

The method according to claim 1, wherein a formula for calculating the d-axis fifth-order harmonic voltage ud5th is: ud5th=5weLqiq5th+Rsid5th;
a formula for calculating the q-axis fifth-order harmonic voltage is:
uq5th=−5weLdid5th+Rsiq5th;
a formula for calculating the d-axis seventh-order harmonic voltage is:
ud7th=−7weLqiq7th+Rsid7th; and
a formula for calculating the q-axis seventh-order harmonic voltage is:
uq7th=7weLdid7th+Rsiq7th,
wherein, we represents an electrical angular velocity, Rs represents a stator resistance, Ld represents a d-axis inductance parameter, and Lq represents a q-axis inductance parameter.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the determining a control policy of the permanent-magnet synchronous machine based on the d-axis current idk+1 at the next moment in each switch state and the q-axis current iqk+1 at the next moment in each switch state comprises:
obtaining a d-axis reference current idref and a q-axis reference current iqref based on an MTPA and a torque current distribution policy of flux weakening control; and
calculating a cost function corresponding to each switch state based on the d-axis current idk+1 at the next moment in each switch state, the q-axis current iqk+1 at the next moment in each switch state, the d-axis reference current idref, and the q-axis reference current iqref,
wherein, a switch state with a lowest cost function is the control policy of the permanent-magnet synchronous machine.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the inverter is a two-level inverter, and the two-level inverter comprises eight switch states.

### Claim 6

A permanent-magnet synchronous machine control device, characterized in that the device comprises:
a first obtaining module, configured to obtain a d-axis current id and a q-axis current iq in a permanent-magnet synchronous machine control loop at a current moment;
a second obtaining module, configured to obtain a fifth-order harmonic current id5th and a seventh-order harmonic current id7th in the d-axis current id in the permanent-magnet synchronous machine control loop at the current moment, and a fifth-order harmonic current iq5th and a seventh-order harmonic current iq7th in the q-axis current in the permanent-magnet synchronous machine loop at the current moment;
a first calculation module, configured to calculate four harmonic voltages based on the fifth-order harmonic current id5th, the seventh-order harmonic current id7th, the fifth-order harmonic current iq5th, and the seventh-order harmonic current iq7th, wherein the four harmonic voltages comprise a d-axis fifth-order harmonic voltage ud5th, a q-axis fifth-order harmonic voltage uq5th, a d-axis seventh-order harmonic voltage ud7th, and a q-axis seventh-order harmonic voltage uq7th;
a second calculation module, configured to subtract the fifth-order harmonic current id5th and the seventh-order harmonic current id7th from the d-axis current id to obtain a first current idk on a d axis; and subtract the fifth-order harmonic current iq5th and the seventh-order harmonic current iq7th from the q-axis current iq to obtain a second current iqk on a q axis;
a third calculation module, configured to subtract the d-axis fifth-order harmonic voltage ud5th and the d-axis seventh-order harmonic voltage ud7th from a d-axis voltage corresponding to each switch state of an inverter to obtain a first voltage on the d axis in each switch state; and subtract the q-axis fifth-order harmonic voltage uq5th and the q-axis seventh-order harmonic voltage uq7th from a q-axis voltage corresponding to each switch state of the inverter to obtain a second voltage on the q axis in each switch state;
a fourth calculation module, configured to determine a d-axis current idk+1 at a next moment in each switch state based on the first current idk, the second current iqk, and the first voltage in each switch state; and determine a q-axis current iqk+1 at the next moment in each switch state based on the first current idk, the second current iqk, and the second voltage in each switch state; and
a determining module, configured to determine a control policy of the permanent-magnet synchronous machine based on the d-axis current idk+1 at the next moment in each switch state and the q-axis current iqk+1 at the next moment in each switch state.

### Claim 7 (depends on 6)

The device according to claim 6, wherein the second obtaining module is specifically configured to obtain a three-phase current in the permanent-magnet synchronous machine control loop at the current moment; transform the three-phase current into a d-axis current and a q-axis current in a fifth-order rotating coordinate system based on a coordinate transformation algorithm and a phase angle of a fifth-order harmonic; filter the d-axis current and the q-axis current in the fifth-order rotating coordinate system by using a filter, so as to obtain the fifth-order harmonic current id5th and the fifth-order harmonic current iq5th; transform the three-phase current into a d-axis current and a d-axis current in a seventh-order rotating coordinate system based on the coordinate transformation algorithm and a phase angle of a seventh-order harmonic; and filter the d-axis current and the q-axis current in the seventh-order rotating coordinate system by using the filter, so as to obtain the seventh-order harmonic current id7th and the seventh-order harmonic current iq7th.

### Claim 8 (depends on 6)

The device according to claim 6, wherein a formula for calculating the d-axis fifth-order harmonic voltage ud5th is: ud5th=5weLqiq5th+Rsid5th;
a formula for calculating the q-axis fifth-order harmonic voltage uq5th is:
uq5th=−5weLdid5th+Rsiq5th;
a formula for calculating the d-axis seventh-order harmonic voltage ud7th is:
ud7th=−7weLqiq7th+Rsid7th; and
a formula for calculating the q-axis seventh-order harmonic voltage uq7th is:
uq7th=7weLdid7th+Rsiq7th,
wherein, we represents an electrical angular velocity, Rs represents a stator resistance, Ld represents a d-axis inductance parameter, and Lq represents a q-axis inductance parameter.

### Claim 9 (depends on 6)

The device according to claim 6, wherein the determining module is specifically configured to obtain a d-axis reference current idref and a q-axis reference current iqref based on an MTPA and a torque current distribution policy of flux weakening control; and calculate a cost function corresponding to each switch state based on the d-axis current idk+1 at a next moment in each switch state, the q-axis current iqk+1 at the next moment in each switch state, the d-axis reference current idref, and the q-axis reference current iqref, wherein, a switch state with a lowest cost function is the control policy of the permanent-magnet synchronous machine.

### Claim 10 (depends on 1)

A permanent-magnet synchronous machine control system, comprising: an electric machine controller, a permanent-magnet synchronous machine, and an inverter, wherein
the electric machine controller is connected to the permanent-magnet synchronous machine and the inverter separately;
the permanent-magnet synchronous machine is further connected to the inverter; and
the electric machine controller is configured to perform the method according to claim 1.
