# US 2026/0074638 A1 · Brushless direct current motor control method based on improved pid controller

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

- Number: US 2026/0074638 A1
- Document ID: US20260074638A1
- Status: Published application
- Kind: A1
- Application number: 18/921,323
- Filed: 2024-10-21
- Published: 2026-03-12
- Earliest claimed: 2024-09-10
- Assignees: Dongguan University of Technology
- Applicants: Dongguan University of Technology
- Inventors: Ruirong LIU; Jianguo WANG
- Web page: https://patentgrep.com/patent/US20260074638A1

## CPC

- H02P 23/0004: {Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control}
- H02P 23/14: Estimation or adaptation of motor parameters, e.g. rotor time constant, flux, speed, current or voltage
- H02P: CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS

## Abstract

Provided is a brushless direct current (BLDC) motor control method based on an improved proportional integral derivative (PID) controller, relating to the field of motor control. The method of this application comprises: establishing a squared proportional integral derivative (SPID) controller integrating a squared error term; determining a sign of a gain coefficient of the squared error term in the SPID controller based on an error between an actual speed and a target speed of a BLDC motor; determining whether to enable a derivative term of the SPID controller based on whether the actual speed has reached the target speed; using the error between the actual speed and the target speed as an input amount to the SPID controller, and outputting a current control amount; and performing speed control on the BLDC motor based on the current control amount until the error meets an accuracy requirement.

## Claims

### Claim 1

A brushless direct current (BLDC) motor control method based on an improved proportional integral derivative (PID) controller, comprising:
S1: establishing a squared proportional integral derivative (SPID) controller integrating a squared error term;
S2: determining a sign of a gain coefficient of the squared error term in the SPID controller based on an error between an actual speed and a target speed of a BLDC motor;
S3: determining whether to enable a derivative term of the SPID controller based on whether the actual speed has reached the target speed;
S4: using the error between the actual speed and the target speed as an input amount to the SPID controller, and outputting a current control amount; and
S5: performing speed control on the BLDC motor based on the current control amount until the error meets an accuracy requirement.

### Claim 2 (depends on 1)

The BLDC motor control method based on an improved PID controller according to claim 1, wherein said establishing the SPID controller integrating the squared error term specifically comprises:
establishing the SPID controller based on the following expression:
u
⁡
(
t
)
=
K
S
⁢
e
2
(
t
)
+
K
P
⁢
e
⁡
(
t
)
+
K
I
⁢
∫
0
t
e
⁡
(
t
)
⁢
dt
+
K
D
⁢
de
⁢
(
t
)
dt
,
wherein e(t) represents the error between the actual speed and the target speed of the BLDC motor; e2 (t) represents the squared error term; KS represents the gain coefficient of the squared error term; t represents time; KP represents a proportional gain; KI represents an integral gain; KD represents a derivative gain; and u(t) represents the current control amount output by the SPID controller.

### Claim 3 (depends on 2)

The BLDC motor control method based on an improved PID controller according to claim 2, wherein said determining the sign of the gain coefficient of the squared error term in the SPID controller based on the error between the actual speed and the target speed of the BLDC motor specifically comprises:
calculating the error e(t) between the actual speed y(t) and the target speed r(t) of the BLDC motor based on the following formula: e(t)=r(t)−y(t); and
determining the sign of the gain coefficient KS of the squared error term based on the following formula: sgn(KS)=sgn(e(t)).

### Claim 4 (depends on 3)

The BLDC motor control method based on an improved PID controller according to claim 3, wherein said determining whether to enable the derivative term of the SPID controller based on whether the actual speed has reached the target speed specifically comprises:
after the BLDC motor starts, if the actual speed has not reached the target speed, disabling the derivative term of the SPID controller, and setting KD=0, wherein the SPID controller is expressed as follows:
u
⁡
(
t
)
=
K
S
⁢
e
2
(
t
)
+
K
P
⁢
e
⁡
(
t
)
+
K
I
⁢
∫
0
t
e
⁡
(
t
)
⁢
dt
;
and
conversely, if the actual speed has reached the target speed, enabling the derivative term, and setting KD to a predetermined value, wherein, the SPID controller is expressed as follows:
u
⁡
(
t
)
=
K
S
⁢
e
2
(
t
)
+
K
P
⁢
e
⁡
(
t
)
+
K
I
⁢
∫
0
t
e
⁡
(
t
)
⁢
dt
+
K
D
⁢
de
⁢
(
t
)
dt
.

### Claim 5 (depends on 4)

The BLDC motor control method based on an improved PID controller according to claim 4, wherein said using the error between the actual speed and the target speed as the input amount to the SPID controller, and outputting the current control amount specifically comprises:
using the error e(t) between the actual speed and the target speed as the input amount to the SPID controller, and outputting the current control amount u(t), wherein a value of the gain coefficient KS of the squared error term is
K
S
=
K
S
′
r
⁡
(
t
)
;
K
S
′
∈
[
0
,
1
]
.

### Claim 6 (depends on 5)

The BLDC motor control method based on an improved PID controller according to claim 5, wherein said performing speed control on the BLDC motor based on the current control amount until the error meets the accuracy requirement specifically comprises:
amplifying a pulse width modulation (PWM) signal corresponding to the current control amount u(t) by a three-phase inverter and then inputting the amplified PWM signal to the BLDC motor for driving; and
collecting the actual speed of the BLDC motor through a Hall sensor, and repeating steps S2 to S5 until the error e(t) meets the accuracy requirement.
