AN1913D Freescale Semiconductor / Motorola, AN1913D Datasheet - Page 48
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
1.AN1913D.pdf
(56 pages)
- Current page: 48 of 56
- Download datasheet (768Kb)
Software Design
7.3.8 State Diagram - Process Current PI Controller
7.3.9 State Diagram - Process Fault Control
7.3.9.1 PWM Fault A Interrupt Subroutine
48
Current Control
The Current PI controller algorithm, controllerPItype1, is described in the SDK documentation. The
controller execution (sampling) period is determined by the PWM module period, since the ADC
conversion is started each PWM reload (once per PWM period). The Current Control Request is set in
ADC Conversion Complete Interrupt.
The process Fault State is described in Interrupt subroutines.
This subroutine is called at PWM A (or PWM in case of DSP56F803) Fault Interrupt.
In this interrupt subroutine, the following faults from the PWM Fault pins are processed:
Request
•
•
PI (Reference Current - Actual Current)
When Overvoltage occurs (the Overvoltage fault pin set)
— DriveFaultStatus |= OVERVOLTAGE
When Overcurrent occurs (the Overcurrent fault pin set)
— DriveFaultStatus |= OVERCURRENT
Figure 7-13. State Diagram - Process Speed PI Controller
U_Desired =
Conversions
Start ADC
BLDC control with BEMF Zero Crossing using ADC
Freescale Semiconductor, Inc.
For More Information On This Product,
(PWM period)
PWM Reload
Interrupt
Go to: www.freescale.com
Stopped/Starting/Running
Commutation Status
Alignment
Commutation
Set Current Control
Request
Complete Interrupt
ADC Conversion
Current Control
(PWM period)
Disabled
Reset
Related parts for AN1913D
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 44-HSOP
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 54-SOIC
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola