Motorola M68HC08 Reference Manual page 150

Sensorless bldc motor control using the mc68hc908mr32
Hide thumbs Also See for M68HC08:
Table of Contents

Advertisement

User Guide
6.5.6 Software Customizing to Motor — Speed Control Setting
Designer Reference Manual
150
Freescale Semiconductor, Inc.
it is recommended to change START_INCR_OOUTREG by PC
master software. (If it is a problem to start the motor, then
I_CNTR_FOK can also be changed from default 0x03, but not
recommended!)
17. If the motor starts and continues running, after you repeatedly
start/stop, the start-up parameters are set properly
18. Open const_cust_x.h and modify parameters with the final
variable values PER_CMT_START_US,
START_INCR_OOUTREG, evaluated with PC master software.
19. Change the software back to normal, set speed regulator
parameters to:
20. #define SPEED_PIREG_P_GAIN 64
#define SPEED_PIREG_I_GAIN 0
21. in const_cust_x.h file to enable speed regulation
22. Build the code (see
When the motor commutation setting is done, the speed control
parameters need to be set.
For settings which must be done, follow the labels MUST_CHANGE_nn,
MUST_CHANGE_EXPER_nn in file const_cust_x.h.
For changes which can be done (but usually are not necessary), follow
the labels CAN_CHANGE_nn, CAN_CHANGE_EXPER_nn in file
const_cust_x.h
Number of commutations per motor revolution:
/* MUST_CHANGE_9: */
#define COMMUT_REV
Range: <0,255>
User Guide
For More Information On This Product,
Go to: www.freescale.com
Software Execution
18.0
and Build)
DRM028 — Rev 0
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908mr32

Table of Contents