Motorola M68HC08 Reference Manual page 156

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

Advertisement

User Guide
6.5.7 PWM Frequency and Current Sampling Period Setting
6.5.7.1 PWM Frequency
Designer Reference Manual
156
Freescale Semiconductor, Inc.
22. Set minimal speed
23. Set maximal speed and observe the speed transient
24. Set minimal speed and observe the speed transient
25. Then, modify the regulator parameters with PC master software
as in steps
11.
26. Change SPEED_MIN_RPM if problems occur at low speed
27. Repeat steps
21.
28. Open const_cust_x.h and modify the regulator parameters with
the final variable values evaluated with PC master software
29. Build the code (see
Most important software settings are described in previous sections, but
for some applications, PWM frequency must be modified. It is described
in
PWM Frequency and Current Sampling Period
Once you set the speed control and the motor is running in all start,
speed up, and slow down conditions, the software parameters are set for
the motor. Remember that all parameters are set in const_cust_x.h.
Then, it is possible to program the FLASH memory of the
MC68HC908MR32 device.
PWM frequency and current sampling period settings are not usually
needed. The PWM frequency also affects the current sampling period.
Consequently, the current regulation setting should be done, while
understanding their mutual dependency. Therefore, the PWM frequency
setting is provided in the file const.h, instead of const_cust_x.h.
For the PWM frequency setting, follow the label
CAN_CHANGE_FPWM_n in const.h file.
The PWM frequency setting is provided by:
/* CAN_CHANGE_FPWM_1: */
#define SET_PER_PWM
User Guide
For More Information On This Product,
Go to: www.freescale.com
to
14.
to
25.
until regulation is improved
Software Execution
32.0
and Build)
Setting.
DRM028 — Rev 0
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908mr32

Table of Contents