# US 2019/0245467 A1 · Method for correcting compensation item of permanent magnet synchronous motor (pmsm)

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

- Number: US 2019/0245467 A1
- Document ID: US20190245467A1
- Status: Published application
- Kind: A1
- Application number: 16/141,956
- Filed: 2018-09-25
- Published: 2019-08-08
- Earliest claimed: 2018-02-05
- Assignees: Zhongshan Broad-Ocean Motor Co., Ltd.
- Applicants: Zhongshan Broad-Ocean Motor Co., Ltd.
- Inventors: Jizhong WANG; Justin W. Kaput
- Web page: https://patentgrep.com/patent/US20190245467A1

## CPC

- H02P 21/0025: {implementing a off line learning phase to determine and store useful data for on-line control}
- H02P 21/22: Current control, e.g. using a current control loop
- H02P 21/0003: {Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control}
- H02P 21/14: Estimation or adaptation of machine parameters, e.g. flux, current or voltage
- H02P 21/141: {Flux estimation}
- H02P 27/06: using DC to AC converters or inverters (H02P27/05 takes precedence)
- H02P: CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS

## Abstract

A method for correcting a compensation item of a PMSM motor, the method including: offline measuring an error data of a parameter of a PMSM motor in a control process; providing a series of current commands and calculating compensation values of the parameter corresponding to the series of current commands; establishing a lookup table with regard to the series of current commands and the compensation values of the parameter corresponding to the series of current commands; storing the lookup table in a memory of a motor controller; starting and allowing the motor to work at a normal state; and online correcting the error data of the parameter by using the lookup table.

## Claims

### Claim 1

A method for correcting a compensation item of a PMSM motor, the method comprising:
offline measuring an error data of a parameter of a PMSM motor in a control process;
providing a series of current commands and calculating compensation values of the parameter corresponding to the series of current commands, and establishing a lookup table with regard to the series of current commands and the compensation values of the parameter corresponding to the series of current commands;
storing the lookup table in a memory of a motor controller;
starting and allowing the motor to work at a normal state; and
online correcting the error data of the parameter by using the lookup table;
wherein:
the parameter of the PMSM motor refers to a deadzone error of a frequency inverter, and the lookup table refers to a relationship between the series of current commands and deadzone compensation values; and
establishing the lookup table with regard to the series of current commands and the compensation values of the parameter corresponding to the series of current commands comprises:
1) controlling the frequency inverter to power on one phase of coil windings of the motor, and power off the remaining phases of coil windings, stepwise increasing the current of the one phase of coil windings from 0 to a rated current; and
2) recording and measuring a command voltage and a current generated by the command voltage when stepwise increasing the current, comparing the command voltage with a product of a stator resistance and the current generated by the command voltage, to acquire a voltage error, dividing the voltage error by a DC bus voltage, to obtain a deadzone compensation value corresponding to the current generated by the command voltage, and combining currents generated by different command voltages with corresponding deadzone compensation values, to form the lookup table involving the deadzone compensation values.

### Claim 2 (depends on 1)

The method of claim 1, wherein online correcting the error data of the parameter by using the lookup table is completed through an electromagnetic calculation equation:
λ=f(U, I, R, L, Edt, Vdt, λm), where λ is a magnetic flux of the motor;
the function f(U, I, R, L, Edt, Vdt, λm) contains multiple variables, U is a voltage variable; I is a current variable; R is the stator resistance; L is a stator inductance; Edt is an online correction compensation value; Vdt is a variable for the deadzone error of the frequency inverter; λm is a magnetic flux linkage of the motor.

### Claim 3 (depends on 2)

The method of claim 2, wherein the electromagnetic calculation equation: λ=f(U, I, R, L, Edt, Vdt, λm) is established under sensorless vector control, and is represented by:
λsαn=ΣVsα*n+g(λm−λsαn−1)−RsIsαn−Edtn−1Vdtαn,
λsαn is an α-axis magnetic flux vector at the nth step; λm is a magnetic flux linkage of the motor;
Vsα*n is an α-axis voltage vector at the nth step; g=Rs/Ld, Rs is the stator resistance, and Ld is the d-axis inductance;
λsαn−1 is an α-axis magnetic flux vector at the n−1th step; Isαn is an α-axis current vector at the nth step;
Edtn−1 is an online correction compensation value at the n−1th step;
Vdtαn is a variable for the α-axis deadzone error at the nth step; and
n is a number of adjustment of Edtn−1.

### Claim 4

A method for correcting a compensation item of a PMSM motor, the method comprising:
storing offline measured stator resistance value Rs, inductance L, magnetic flux linkage λm and a deadzone-compensation lookup table in a memory of a motor controller, wherein, the deadzone-compensation lookup table is a comparison table formed by combining the currents generated by different command voltages and the corresponding deadzone compensation values;
allowing the motor to run, ordering, by the motor controller, a command voltage U, then detecting a measured current I generated by the voltage command U, and finding out a corresponding compensation value Vdt according to the measured current I in the deadzone-compensation lookup table, establishing an equation for calculating the magnetic flux: λ=f(U, I, R, L, Edt, Vdt, λm) using the electromagnetic theory for a motor, wherein, λ is the magnetic flux of the motor; the function f(U, I, R, L, Edt, Vdt, λm) contains multiple variables, U is a voltage variable; I is a current variable; R is a stator resistance; L is a stator inductance; Edt is an online correction compensation value; Vdt is a variable for the deadzone error of the frequency inverter; λm is the magnetic flux linkage of the motor; using the equation λ=f(U, I, R, L, Edt, Vdt, λm) to perform online correction on the compensation value Edt.

### Claim 5 (depends on 4)

The method of claim 4, wherein the lookup table with regard to the deadzone compensation values is established by the following steps: controlling the frequency inverter to power on one phase of coil windings of the motor, and power off the remaining phases of coil windings, stepwise increasing the current of the one phase of coil windings from 0 to a rated current; recording and measuring a command voltage and a current generated by the command voltage when stepwise increasing the current, comparing the command voltage with a product of a stator resistance and the current generated by the command voltage, thus obtaining a voltage error, dividing the voltage error by a DC bus voltage, to obtain a deadzone compensation value corresponding to the current generated by the command voltage, and combining currents generated by different command voltages with corresponding deadzone compensation values, to form the lookup table involving the deadzone compensation values.

### Claim 6 (depends on 4)

The method of claim 4, wherein the magnetic flux calculation equation λ=f(U, I, R, L, Edt, Vdt, λm) is obtained based on an electromagnetic theoretical model of a BLDC motor under vector control in the absence of a position sensor.

### Claim 7 (depends on 5)

The method of claim 5, wherein the magnetic flux calculation equation λ=f(U, I, R, L, Edt, Vdt, λm) is obtained based on an electromagnetic theoretical model of a BLDC motor under vector control in the absence of a position sensor.

### Claim 8 (depends on 6)

The method of claim 6, wherein the electromagnetic calculation equation: λ=f(U, I, R, L, Edt, Vdt, λm) is established under sensorless vector control, and is represented by:
λsαn=ΣVsα*n+g(λm−λsαn−1)−RsIsαn−Edtn−1Vdtαn,
λsαn is an α-axis magnetic flux vector at a nth step; λm is a magnetic flux linkage of the motor;
Vsα*n is an α-axis voltage vector at the nth step; g=Rs/Ld, Rs is the stator resistance, and Ld is a d-axis inductance;
λsαn−1 is an α-axis magnetic flux vector at a n−1th step; Isαn is an α-axis current vector at the nth step;
Edtn−1 is an online correction compensation value at the n−1th step;
Vdtαn is a variable for the α-axis deadzone error at the nth step; and
n is a number of adjustment of Edtn−1.

### Claim 9 (depends on 7)

The method of claim 7, wherein the electromagnetic calculation equation: λ=f(U, I, R, L, Edt, Vdt, λm) is established under sensorless vector control, and is represented by:
λsαn=ΣVsα*n+g(λm−λsαn−1)−RsIsαn−Edtn−1Vdtαn,
λsαn is an α-axis magnetic flux vector at a nth step; λm is a magnetic flux linkage of the motor;
Vsα*n is an α-axis voltage vector at the nth step; g=Rs/Ld, Rs is the stator resistance, and Ld is a d-axis inductance;
λsαn−1 is an α-axis magnetic flux vector at a n−1th step; Isαn is an α-axis current vector at the nth step;
Edtn−1 is an online correction compensation value at the n−1th step;
Vdtαn is a variable for the α-axis deadzone error at the nth step; and
n is a number of adjustment of Edtn−1.

### Claim 10 (depends on 8)

The method of claim 8, wherein the compensation value is corrected as follows:
inputting a constant command voltage Vsα*n, letting a dq coordinate system coincide with an αβ coordinate system, θ=0°, and giving an initial value of the compensation value Edt, thus according to the difference between a calculated magnetic flux λsαn and the magnetic flux linkage λm, continuously narrowing the difference to online correct the compensation value Edt, until the calculated flux λsαn equals to the magnetic flux linkage λm.

### Claim 11 (depends on 9)

The method of claim 9, wherein the compensation value is corrected as follows:
inputting a constant command voltage Vsα*n, letting a dq coordinate system coincide with an αβ coordinate system, θ=0°, and giving an initial value of the compensation value Edt, thus according to the difference between a calculated magnetic flux λsαn and the magnetic flux linkage λm, continuously narrowing the difference to online correct the compensation value Edt, until the calculated magnetic flux λsαn equals to the magnetic flux linkage λm.
