Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2388 Datasheet(PDF) 39 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) 39 Page - STMicroelectronics

Back Button AN2388 Datasheet HTML 35Page - STMicroelectronics AN2388 Datasheet HTML 36Page - STMicroelectronics AN2388 Datasheet HTML 37Page - STMicroelectronics AN2388 Datasheet HTML 38Page - STMicroelectronics AN2388 Datasheet HTML 39Page - STMicroelectronics AN2388 Datasheet HTML 40Page - STMicroelectronics AN2388 Datasheet HTML 41Page - STMicroelectronics AN2388 Datasheet HTML 42Page - STMicroelectronics AN2388 Datasheet HTML 43Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 39 / 54 page
background image
AN2388
Software design
39/54
div_q31_q15_q15( short LeftOpMsb, short LeftOpLsb, short RightOp, short *Output)
where:
LeftOpMsb
Left operand most significant bits
LeftOpLsb
Left operand least significant bits
RightOp
Right operand
Output
Output pointer
Assembly source code:
div_q31_q15_q15.asm
Code size and cycles:
Size: 98 bytes
Instruction cycles: 216
Note:
The dividend must be smaller than the divisor for a valid result.
Divisions on limits (for example, division of 1 by 1 or of -1 by -1) are not computed by this
routine.
The algorithm implemented does not allow integer division. For dividing two integers
(dividend in 32.0 format and divisor in 16.0), shift the dividend one bit to the left (into 31.1
format) before dividing.
4.5
Analog value scaling
The AC induction motor vector control application uses a fractional representation for all real
quantities, except time. The following equation shows the relationship between a real and a
fractional representation:
4.5.1
Current sensing and scaling
The FOC algorithm requires two phase currents as input. In this application a current
voltage transducer Hall effect based (LEM type) sense these two current. The current
sensor output therefore needs to be rearranged and scaled so that it can be used by the
control software as q1.15 format values
Figure 33.
Current sensing block diagram
Note that the real quantity range used in the fractional value represents the maximum
measurable current, which is not necessarily equal to the maximum phase current. This is
Range
Quantity
al
Re
Value
al
Re
Value
Fractional
=
Scaling
Factor (q1.15)
Range
adjustment
A/D
Conditioning
circuitry
iphase
Current Sensor
ST10F2756
ifractional value



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