AN1905 ST Microelectronics, Inc., AN1905 Datasheet - Page 16

no-image

AN1905

Manufacturer Part Number
AN1905
Description
St7mc Three-phase BLDC Motor Control Software Library
Manufacturer
ST Microelectronics, Inc.
Datasheet
ST7MC THREE-PHASE BLDC MOTOR CONTROL SOFTWARE LIBRARY
3 GETTING STARTED WITH THE LIBRARY USING THE ST7MC-KIT/BLDC
3.1 INTRODUCTION
There are two ways to get started with this software library.
The first way is to edit (with your motor specific features), compile and assemble the modules
described in
Section 5
and
Section 6
of this application note. Then, program ST7MC and run
your motor on hardware like the one provided in the ST7MC-KIT/BLDC Starter-kit.
The second way is to use the ST7MC-KIT/BLDC Starter-kit and follow this process:
- run and fine-tune the motor parameters with the GUI
- generate the *.H files and manually select/save the key parameters
- edit mtc.h file with key parameters
- compile, link, program ST7MC
- run the motor
If you are new to the BLDC environment or to the ST7MC product, the second method is
highly recommended and is described below.
3.2 RUNNING THE MOTOR
As a starting point, the open loop mode shall be used for the first trials. Low-duty cycle values
should be used also (alignment, ramp and real time settings) and then increased smoothly
step by step.
Once the motor settings have been finely adjusted (whatever the driving mode, sensor/sen-
sorless), the parameters have to be ‘injected’ into the stand-alone library. Simply click on
‘Generate *.h Files’ and select the source directory of the stand-alone library.
16/77

Related parts for AN1905