Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

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

Back Button AN2388 Datasheet HTML 33Page - STMicroelectronics AN2388 Datasheet HTML 34Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 37 / 54 page
background image
AN2388
Software design
37/54
4.4.2
Numerical considerations
The PU model has been developed in order to represent some quantities that reach nominal
value in certain condition. Take into consideration that during the transient the current might
reach higher values than the nominal current (Ib).
The numeric format consideration
Integer data is inherently represented as a signed two’s complement value, where the most
significant bit is defined as a sign bit. Generally, the range of an N-bit two’s complement
integer is -2N-1 to 2N-1-1. For a 16-bit integer, the data range is -32768 (0x8000) to 32767
(0x7FFF), including 0. Fractional data is represented as a two’s complement number where
the most significant bit is defined as a sign bit, and the radix point is implied to lie just after
the sign bit. This format is commonly referred to as 1.15 (or Q15) format, where 1 is the
number of bits used to represent the integer portion. The range of an N-bit two’s
complement fraction with this implied radix point is -1.0 to (1-21-N). For a 16-bit fraction, the
1.15 data range is -1.0 (0x8000) to 0.999969482 (0x7FFF), including 0.0 .
The resolution in this format is:
In normal saturation mode, the 32-bit accumulators use a 1.31 format, which enhances the
precision to 4.6566*10-10.
An example of different representations (positive and negative numbers) are shown below:
4.4.3
ST10-DSP features
ST10 is a combined CPU and DSP.
As a CPU, it is a powerful real time oriented 16-bit CPU.
As a DSP, it is a single MAC 16 by 16-bit multiplier with a 40-bit accumulator
5
15
10
*
01518
.
3
2
1
−
=
0
000000000000
1
1
-20 2-1
2-15
Implied radix point
0x4001 = 2-1 + 2-15 = 0.000301518 = 0.500301518
1.15 Fractional Format
.
1
0000000
000010
1
-20 2-1
2-15
Implied radix point
0xC002 = -20 + 2-1 + 2-14 = -1.0 + 0.5 + 0.000061035 = -0.499938965
1.15 Fractional Format (negative number)
2-14
.



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