Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2388 Datasheet(PDF) 32 Page - STMicroelectronics

Part # AN2388
Description  Sensor field oriented control
PDF  54 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2388 Datasheet(HTML) 32 Page - STMicroelectronics

Back Button AN2388 Datasheet HTML 28Page - STMicroelectronics AN2388 Datasheet HTML 29Page - STMicroelectronics AN2388 Datasheet HTML 30Page - STMicroelectronics AN2388 Datasheet HTML 31Page - STMicroelectronics AN2388 Datasheet HTML 32Page - STMicroelectronics AN2388 Datasheet HTML 33Page - STMicroelectronics AN2388 Datasheet HTML 34Page - STMicroelectronics AN2388 Datasheet HTML 35Page - STMicroelectronics AN2388 Datasheet HTML 36Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 32 / 54 page
background image
Software design
AN2388
32/54
4
Software design
4.1
Introduction
This section describes the software design of the AC induction vector control drive
application. In particular, the software organization is outlined as well as the utilization of
different variables and the handling of the DSP-based micro functions used in this
application in order to speed-up the execution time. A short explanation on numerical
considerations is also provided inherent within fixed-point calculation.
4.2
Software organization
The software is organized in two different modules: the initialization module and the run
module. The first is performed only once at the beginning. The second module consists of a
“Waiting Loop” of Interrupt event. The interrupt (PWM ISR) is served every PWM Timer
underflow. The complete FOC algorithm is computed within the PWM ISR and thus runs at
the same frequency as the chopping frequency chosen to drive the power devices.
An overview of the software is given in the flow chart below:
Figure 29.
Main organization flow chart
The micro peripheral PWM Unit is used to generate the necessary pulsed signal to the
power electronics board. It is programmed to generate symmetrical PWM signals at a
frequency of 16kHz (@64MHz, 15.6ns of resolution).
The following figure illustrates the time diagram for the initialization and the operating.
Start
µC Initialization
(Peripherals)
Software
Initialization
Waiting
Loop
PWM ISR
Loop



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com