AN1857 Freescale Semiconductor / Motorola, AN1857 Datasheet - Page 49

no-image

AN1857

Manufacturer Part Number
AN1857
Description
A 3-Phase ac Induction Motor Control System Based on the MC68HC908MR32
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Software Files
AN1857
MOTOROLA
The software consists of the following parts:
MAIN.C — MAIN.C is the entry point following a reset and after initial
startup code. It contains the initialization software state code, the main
state machine with the software timer state code.
SPEED.C — SPEED.C contains READ_CONST code (scan inputs state;
operational mode distribution state; speed calculation, manual
operational mode state, speed calculation; PC-Master operation mode
state; fault detection state; run enable state; fault recovery state; LED
driver state; PFC enable/disable logic).
RAMP.C — RAMP.C contains code for acceleration and deceleration
rampstate, V/Hz ramp state.
PI.C — PI.C contains PI_CONST timeout code (deceleration overvoltage
protection state, tacho speed calculation state, PI speed controller state,
and calls acceleration/deceleration ramp state and V/Hz ramp state
appropriately).
FAULT.C — FAULT.C contains the fault interrupt service routine.
PWMCALC.C — PWMCALC.C contains code to service the PWM
interrupts which ultimately generate the sine outputs to the power stage.
TACHO.C — TACHO.C contains timer A channel 0 interrupt code that
calculates the time between tachometer interrupts.
MR_IDENT.C — MR_IDENT.C contains code that communicates with
the MC68HC705JJ7 microcontrollers, resident on the optoisolation and
power boards. The resulting information from this routine is used for
configuration checking and input to system run time parameters.
DigitPFC.C — DigitPFC.C contains software used to drive the power
factor correction hardware resident on the power board. The software
sets the duty cycle of timer B channel 0 that pulse-width modulates the
power board’s PFC input hardware at 125 kHz.
RAM.C — The file RAM.C contains the global RAM variable definitions
for system’s MR32 software.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
Application Note
Software
49

Related parts for AN1857