Motorola M68HC08 User Manual

Page 151

Advertising
background image

User Guide

Tuning for Customer Motor

DRM028 — Rev 0

Designer Reference Manual

MOTOROLA

User Guide

151

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:

(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:

(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>

COMMUT_REV

6*motor poles

2

-------------------------

-

=

SPEED_MAX_RPM

SPEED_RANGE_MAX_RPM

<

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

.

..

Advertising