AN1905 ST Microelectronics, Inc., AN1905 Datasheet - Page 18
![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: 18 of 77
- Download datasheet (2Mb)
ST7MC THREE-PHASE BLDC MOTOR CONTROL SOFTWARE LIBRARY
3.3 STANDALONE MODE AND CLOSED LOOP OPERATION
To run a BLDC motor in standalone closed loop, the approach should be, for a given target
mechanical speed, to fine tune all the realtime parameters most adequate for this speed. For
each target speed, these values should be recorded in the form of a table, which will be used
by the ST7MC standalone firmware. You should collect data for 4 speeds: the min and max
speeds specified in the GUI advanced screen, and 2 intermediate speeds of your choice. The
ST7MC standalone firmware will then make a linear extrapolation of realtime parameters in
between the 4 specified speeds to ensure smooth operation.
Once the data is collected, edit the ‘mtc.h’ file and fill in the field dedicated to the Rising/Falling
Bemf, Ki, Kp coefficient calculation (see
Figure 6. ‘mtc.h’ field for coefficient computation
Once the motor runs, rising/falling Back-EMF and proportional/integer coefficients are com-
puted following a linear curve between F_min and F_1, F_1 and F_2, F_2 and F_max (see
Figure
(for example F_1 = 1234 means F_1 = 123.4Hz).
18/77
// See 'Mtc_Settings_Sensorless.h' for Freq_Min & Freq_Max values
//Fmin
#define Rising_Fmin
#define Falling_Fmin
#define Ki_Fmin
#define Kp_Fmin
//F_1
#define F_1
#define Rising_F_1
#define Falling_F_1
#define Ki_F_1
#define Kp_F_1
//F_2
#define F_2
#define Rising_F_2
#define Falling_F_2
#define Ki_F_2
#define Kp_F_2
//Fmax
#define Rising_Fmax
#define Falling_Fmax
#define Ki_Fmax
#define Kp_Fmax
7). Note that F_min, F_1, F_2, F_max are electrical frequencies, with 0.1 Hz resolution
30
16
20
10
30
50
40
20
10
30
10
50
40
10
13
18
1000
2000
// Frequency min coefficient settings
// 100 Hz
// Intermediate frequency 1 coefficient settings
// 200 Hz
// Intermediate frequency 2 coefficient settings
// Frequency max coefficient settings
Figure
6).
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: