AN1905 ST Microelectronics, Inc., AN1905 Datasheet - Page 67
![no-image](/images/no-image-200.jpg)
AN1905
Manufacturer Part Number
AN1905
Description
St7mc Three-phase BLDC Motor Control Software Library
Manufacturer
ST Microelectronics, Inc.
Datasheet
1.AN1905.pdf
(77 pages)
- Current page: 67 of 77
- Download datasheet (2Mb)
7.3 SOFTWARE SETTING CONSIDERATIONS
7.3.1 PI regulator implementation and tuning
PID regulator theory and tuning methods are subjects which have been extensively discussed
in the technical literature. Here is a basic reminder of the theory and a proposal of the empir-
ical tuning method.
■
The implemented regulator is actually a Proportional Integral one (see note below regarding
the differential term). The purpose of the regulation loop (see equation 1) is to adjust the PWM
duty cycle on the motor winding depending on the frequency.
The equation 2 corresponds to a classical PI implementation, where:
– PWM
– K
– K
The tuning and respective actions of these three parameters are discussed below.
Note: No differential correction is implemented in the current regulator. Practice shows that this term leads
■
To tune the PI regulator parameters, it is advised to proceed in the following order:
– sampling time,
– proportional coefficient,
– integral coefficient.
■
The sampling time needs to be modified to adjust the regulation bandwidth. As an accumula-
tive term (the integral term) is used in the algorithm, increasing the loop time will decrease its
effects (accumulation will be slower and the integral action on the output will be delayed). In-
versely, decreasing the loop time will increase its effects (accumulation will be faster and the
ST7MC switches from synchronous to autoswitch mode in sensorless (exit of the ramp). In
sensor mode, this constant is set to 0, but can be manually adjusted. See ‘Init_PI()’ in
‘regul.c’ file for more details.
Theoretical background
Regulation tuning procedure
Adjusting the regulation sampling Time
p
i
is the integral coefficient.
is the proportional coefficient,
to increased noise in the regulation loop (high pass function). As a result, the system may become
unstable or difficult to tune. Additional software filtering can be implemented to get proper differential
frequency error, but may result in additional response delay.
start
is a constant corresponding to the duty cycle on the motor windings when the
PWM
ST7MC THREE-PHASE BLDC MOTOR CONTROL SOFTWARE LIBRARY
Dutr
=
PWM
Start
PWM
+
Dutr
K
p
×
=
Error
f freq
(
freq
)
+
K
i
×
∑
t
Error
freq
(1)
(2)
67/77
Related parts for AN1905
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AN177](/images/no-image3.png)
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
![AN1268](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
![AN1315](/images/no-image3.png)
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
![AN1998](/images/no-image3.png)
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
![AN2124](/images/no-image3.png)
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
![AN2428](/images/no-image3.png)
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
![AN2708](/images/no-image3.png)
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
![AN2783](/images/no-image3.png)
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
![STP22NE10L](/images/no-image3.png)
Part Number:
Description:
N-channel 55V - 0.07 Ohm - 22A StripFET Power MOSFET
Manufacturer:
ST Microelectronics, Inc.
Datasheet:
![STP32N06L](/images/no-image3.png)
Part Number:
Description:
Old PRODUCT: Not Suitable For Design-in
Manufacturer:
ST Microelectronics, Inc.
Datasheet:
![2N4014](/images/no-image3.png)
Part Number:
Description:
High-voltage, High Current Switch
Manufacturer:
ST Microelectronics, Inc.
Datasheet:
![L6000](/images/no-image3.png)
Part Number:
Description:
Single Chip Read & Write Channel
Manufacturer:
ST Microelectronics, Inc.
Datasheet:
![BTA10-400GP](/images/no-image3.png)
Part Number:
Description:
10A Triacs
Manufacturer:
ST Microelectronics, Inc.
Datasheet:
![BTA20-600BW](/images/no-image3.png)
Part Number:
Description:
20A Triacs
Manufacturer:
ST Microelectronics, Inc.
Datasheet:
![BTA41-700B](/images/no-image3.png)
Part Number:
Description:
-
Manufacturer:
ST Microelectronics, Inc.
Datasheet: