User Guide
Designer Reference Manual
DRM028 — Rev 0
132
User Guide
MOTOROLA
NOTE:
The software parameters can be temporarily modified and evaluated
using the PC master software tuning file. But, the parameter settings are
not stored in the non-volatile memory (after reset the software loads
parameters from const_cust_x.h file). When you finish the software
parameters evaluation, you must open one of the
const_cust_hv.h
,
const_cust_evmm.h
, and
const_cust_lv.h
files and manually modify
the parameters according to the final variable values evaluated
(otherwise, you will get default setting after the MCU reset!).
6.5.2 Software Parameters Setting Follow-up
The software is provided with three parameters sets (files
const_cust_hv.h, const_cust_evmm.h, and const_cust_lv.h) configured
for three hardware and motor kits (HV, LV, and EVM), as was described
before. But, the software can be configured for other 3-phase trapezoidal
BLDC motors (or possibly other hardware board parameters).
The motor control drive usually needs setting/tuning for:
•
Current/voltage parameters
•
Dynamic parameters
The parameter configurations must be set in source code before
compilation. However, some parameters can also be temporarily
changed using PC master software (experimental setting). Finally, when
an appropriate parameter value is found, it can be set in the source code.
The software parameters settings are described in the subsections
below and in the software code by comments.
You should proceed with some steps to customize the software
according to your motor (or hardware) characteristics. The source code
is commented with descriptive labels to simplify the process.
6.5.2.1 Labels in the Files const_cust_hv.h, const_cust_evm.h, const_cust_lv.h
Most of the software parameter settings are provided in one of these
files: const_cust_hv.h, const_cust_evmm.h or const_cust_lv.h. The
required steps are marked:
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..