Motorola M68HC08 Reference Manual page 142

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

Advertisement

User Guide
Designer Reference Manual
142
Freescale Semiconductor, Inc.
9. If CURR_PIREG_P_GAIN is set to 128, do further proportional
gain increase CURR_PIREG_P_GAINSCALELEFT with PC
master software, steps 0, 1, 2...8, otherwise leave
CURR_PIREG_P_GAINSCALELEFT as 0
10. Increase, step by step, the integral gain CURR_PIREG_I_GAIN
with PC master software, up to current oscillation or noise, or up
to 128
11. If CURR_PIREG_I_GAIN is set to 128, do further integral gain
increases to CURR_PIREG_I_GAINSCALELEFT with PC master
software, steps 0, 1, 2...8; otherwise, leave
CURR_PIREG_I_GAINSCALELEFT as 0
12. You can further evaluate the setting of the regulator parameters in
order to get a smoother current waveform, or until the regulation
seems to be performing well
13. Open const_cust_x.h and modify the regulator parameters with
the final variable values evaluated with PC master software
14. Change the software back to normal: in code_start.c file, label
TUNING_1 remove goto (modify as comment): /* goto Align */ (it
will allow finishing Alignment state when alignment period ends)
15. Build the code (see
16. You can also tune regulator dynamic characteristics of current
transients (steps
17. Run the code (see
Evaluation
Board)
18. Start the PC master software tuning project
19. Select Current Parameters Tuning subproject (see
Parameters Tuning with PC Master Software Project
order to be able to modify the current regulator
20. You can see the actual current (and required alignment current)
on the Current Parameters Tuning\New Scope, or measure the
powered motor coil current on real oscilloscope
21. Set PC master software control mode and start motor (see
Application Control
Operating
Mode)
User Guide
For More Information On This Product,
Go to: www.freescale.com
Software
Execution, Build)
17.
to 26.) or finish the regulators tuning
Software Execution
and
PC Master Software (Remote)
and
Execute from
Software
File) in
DRM028 — Rev 0
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908mr32

Table of Contents