beautypg.com

Figure 5-2, Software design, Freescale semiconductor, inc – Motorola M68HC08 User Manual

Page 80

background image

Software Design

Designer Reference Manual

DRM028 — Rev 0

80

Software Design

MOTOROLA

Figure 5-2. Main Data Flow — Part 2: Alignment, Starting,

Running Control

Sp_Input

V_TASC2

V_MUX

T_ZCros

Speed_Desired

T_CMT

T2

Per_ZCrosFlt

PC_F

Per_Speed_MAX_Range

T_Cmt

PC_F

V_TASC2

TIMER 2

PWM MODULE

TIMER1

VIRTUAL

BACK-EMF

ICR_F

FOK_F

Curr_Align

Curr

Coef_Speed_Inp

Speed_Min_U8

PIParamsScl_S8_Curr

PIParamsScl_U8_Speed

COMMUTATION HAS BEEN

PROCESS

DESIRED SPEED SETTING

PROCESS

BACK-EMF

ZERO CROSSING SENSING

CORRECTIVE CALCULATION 1

OF COMMUTATION PARAMTERS

CORRECTIVE CALCULATION 2

OF COMMUTATION PARAMETERS

(ACCELERATION)

PROCESS

COMUTATION TIMES

CALCULATION

PROCESS

SPEED CONTROL

PROCESS

PRESET COMMUTATION

AND ZERO CROSSING

PROCESS

ALIGNMENT CONTROL

PROCESS

SET COMMUTATION AND

ZERO CROSSING SELECTION

*Only when regular

feedback can not
be used

PERFORMED — FLAG

TIMER 3

INIT

TIMER2

TIMEOUT,

ACTUAL TIME

ZERO CROSSING

MULTIPLEXER

TIMER 2

ACTUAL TIME

BACK-EMF

ZERO CROSSING

INPUT

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

.

..