Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

Software Design

PC MASTER SOFTWARE

A/D CONVERTERS

TIMER 1

PCM COMMAND

PC Mode

Start Ctrl

Switch_Start

Running

PROCESS

SPEED INPUT, DC-BUS VOLTAGE

AND DC-BUS CURRENT MEASUREMENT

START/STOP

SWITCH

START/STOP SWITCH READING

AND START/STOP DECISION

Sp_Input

VOLTAGE

 

CURRENT

 

Stop_F

 

 

 

 

 

 

PROCESS

PROCESS

ALIGNMENT, STARTING, RUNNING

FAULT CONTROL

CONTROL

FAULT STOP

 

Volt_Max_Fault Curr_Max_Fault FFLAG1 FFLAG2

Figure 5-1. Main Data Flow — Part1

5.3.4 Process Fault Control Fault Stop

The process provides fault control and fault stop as described in Fault

State, Stand-By,Align State, 5.5.5 Back-EMF Acquisition State, and

Running State.

The processes alignment, starting, and running control are displayed in

Figure 5-2. The processes are described in the following subsections.

5.3.5 Process Back, EMF Zero Crossing Sensing

Back-EMF zero crossing process provides:

Back-EMF zero crossing sampling in synchronization with PWM,

Designer Reference Manual

 

DRM028 — Rev 0

 

 

 

78

Software Design

MOTOROLA

 

For More Information On This Product,

 

 

Go to: www.freescale.com

 

Page 78
Image 78
Motorola M68HC08 manual Main Data Flow Part1 Process Fault Control Fault Stop, Process Back, EMF Zero Crossing Sensing