AN1913D Freescale Semiconductor / Motorola, AN1913D Datasheet - Page 49

no-image

AN1913D

Manufacturer Part Number
AN1913D
Description
3-phase BLDC Motor Control with Sensorless Back-EMF ADC Zero Crossing Detection using DSP 56F80x
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
7.3.9.2 ADC Low Limit Interrupt Subroutine
7.3.9.3 ADC High Limit Interrupt Subroutine
8.
9.
This subroutine is called when at least one ADC low limit is detected.
In this interrupt subroutine, the following low limit exceeds are processed:
This subroutine is called when at least one ADC high limit is exceeded.
In this interrupt subroutine, the following high limit exceeds are processed:
PC Master was designed to provide the debugging, diagnostic and demonstration tool for development
of algorithms and applications. It consists of components running on a PC and, partially, running on
the target development board.
The PC Master application is part of the Motorola Embedded SDK and may be selectively installed
during SDK installation.
The baud rate of the SCI communication is 9600Bd. It is set automatically by the PC Master driver.
To enable the PC Master operation on the target board application, the following lines must be added
to the appconfig.h file:
Refer to
The detailed PC Master description is provided by the PC Master User Manual.
Figure 9-1
Crossing using ADC in a speed-closed loop. A part of the DSP memory is still available for other
tasks.
PC Master
DSP Usage
The undervoltage of the DC-Bus voltage
— DriveFaultStatus |= UNDERVOLTAGE_ADC_DCB,
The over temperature (detected here because of the sensor reverse temperature characteristic)
— DriveFaultStatus |= OVERHEATING.
The overvoltage of the DC-Bus voltage
— DriveFaultStatus |= OVERVOLTAGE_ADC_DCB
The overcurrent of the DC-Bus current input
— DriveFaultStatus |= OVERCURRENT_ADC_DCB
Section
shows how much memory is needed to run the BLDC motor drive with Back-EMF Zero
7. PC Master automatically includes the SCI driver and installs all necessary services.
#define SCI_DRIVER
#define INCLUDE_PCMASTER
BLDC control with BEMF Zero Crossing using ADC
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
PC Master
49

Related parts for AN1913D