Motorola M68HC08 User Manual

Page 135

Advertising
background image

User Guide

Tuning for Customer Motor

DRM028 — Rev 0

Designer Reference Manual

MOTOROLA

User Guide

135

/* MUST_IF_HW_CHANGE_1: */

#define DUTY_PWM_MAX 0.96

Range:

<0,1>

Proportional value of maximal PWM duty cycle is determined by
power stage boards used.

DUTY_PWM_MAX must be set for any hardware customizing. Some
hardware boards need maximal duty cycle<1, in order to charge high
side drivers for power inverters.

6.5.3.3 Voltage Setting Hardware Customizing

Maximal measurable voltage determined by hardware voltage sensing
[V]:

/* MUST_IF_HW_CHANGE_2: */

#

define VOLT_HW_MAX 407.0

Range: <0,infinity)

VOLT_HW_MAX must be changed when voltage sensing range is
different from default hardware.

Maximum limit of dc-bus voltage allowable for the hardware [V]:

/* MUST_IF_HW_CHANGE_3 */

#define VOLT_MAX_FAULT_V 380.0

Range: <0,VOLT_RANGE_MAX>

VOLT_MAX_FAULT_V determines the maximal voltage when the
drive fault state should be entered. So the constant
VOLT_MAX_FAULT_V must be set according to maximal voltage
limit of the power stage or the motor, using the lower value. Therefore,
setting this constant is also mentioned in

Maximal and Minimal

Voltage Limits Setting

under a different label (CAN_CHANGE_1).

6.5.3.4 Current Setting Hardware Customizing

Maximal measurable current determined by hardware current sensing
[A]:

/* MUST_IF_HW_CHANGE_4: */

#define CURR_HW_MAX_A 2.93

Range: <0,infinity)

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