Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

User Guide

Tuning for Customer Motor

COMMUT_REV period must be changed for any motor accommodation. Set the number of commutations according to the number of rotor poles (there are six commutations for one electrical angle revolution). Therefore:

COMMUT_REV = 6*motor------------------------

poles-

2

(EQ 6-9.)

Maximal speed range [rpm]:

/* MUST_CHANGE_10: */

#define SPEED_RANGE_MAX_RPM 3000.0

Range: <0,infinity>

Determines scaling of speed variables. SPEED_RANGE_MAX_RPM must be changed for any motor accommodation as the software calculates the internal speed variables using this constant. For proper speed control it is important to set SPEED_RANGE_MAX_RPM higher then maximal actual motor speed (even during speed transient).

Maximal speed of the drive [rpm]:

/* MUST_CHANGE_11: */ #define SPEED_MAX_RPM 2500.0

Range: <0,SPEED_RANGE_MAX_RPM>

SPEED_MAX_RPM determines the maximal desired speed. It must be changed for any motor accommodation.

The software calculates the internal speed variables using

SPEED_RANGE_MAX_RPM constant. For proper speed control it is important that SPEED_MAX_RPM and

SPEED_RANGE_MAX_RPM constants relation must be set according to the following equation:

SPEED_MAX_RPM < SPEED_RANGE_MAX_RPM

(EQ 6-10.)

 

Minimal speed of the drive [rpm]:

/* MUST_CHANGE_12_EXPER: */ #define SPEED_MIN_RPM 500.0

Range: <0,SPEED_RANGE_MAX_RPM>

DRM028 — Rev 0

 

Designer Reference Manual

 

 

 

MOTOROLA

User Guide

151

 

For More Information On This Product,

 

 

Go to: www.freescale.com

 

Page 151
Image 151
Motorola M68HC08 manual Maximal speed range rpm, Minimal speed of the drive rpm, Range 0,SPEEDRANGEMAXRPM