參數(shù)資料
型號(hào): VL6524
廠商: 意法半導(dǎo)體
英文描述: VGA single-chip camera module
中文描述: 顯卡單芯片相機(jī)模塊
文件頁數(shù): 43/70頁
文件大?。?/td> 505K
代理商: VL6524
VL6524/VS6524
Register map
43/70
Example
Convert -0.41 to Float 900
Convert the fraction into binary by successive multiplication by 2 and removal of integer
component
0.41 * 2 = 0.82 0
0.82 * 2 = 1.64 1
0.64 * 2 = 1.28 1
0.28 * 2 = 0.56 0
0.56 * 2 = 1.12 1
0.12 * 2 = 0.24 0
0.24 * 2 = 0.48 0
0.48 * 2 = 0.96 0
0.96 * 2 = 1.92 1
0.92 * 2 = 1.84 1
0.84 * 2 = 1.68 1
0.68 * 2 = 1.36 1
0.36 * 2 = 0.72 0
This gives us -0.0110100011110.
We then normalize by moving the decimal point to give - 1.10100011110 * 2^-2.
The mantissa is rounded and the leading zero removed to give 101001000.
We add the exponent to the bias of 31 that gives us 29 or 11101.
A leading zero is added to give 6 bits 011101.
The sign bit is set at 1 as the number is negative.
This gives us 1011 1011 0100 1000 as our Float 900 representation or BB48 in hex.
To convert the encoded representation back to a decimal floating point, we can use the
following formula.
Real is = (-1)^sign * ((512+mantissae)>> 9) * 2^(exp-31)
Thus to convert BB48 back to decimal, the following procedure is followed:
Note that >>9 right shift is equal to division by 2^9.
Sign = 1
Exponent = 11101 (29 decimal)
Mantissa = 101001000 (328 decimal)
This gives us:
real = (-1)^1 * ((512+328)/2^9) * 2^(29-31)
real = -1 * (840/512) * 2^(-2)
real = -1 * 1.640625 * 0.25
real = -0.41015625
When compared to the original -0.41, we see that some rounding errors have been
introduced.
相關(guān)PDF資料
PDF描述
VL68C45R-35PC Non-VGA Video Controller
VL68C45R-35QC Non-VGA Video Controller
VL68C45S-23CC Non-VGA Video Controller
VL68C45S-23PC Non-VGA Video Controller
VL68C45S-23QC Non-VGA Video Controller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
VL6524Q0MH 制造商:STMicroelectronics 功能描述:VGA SINGLE-CHIP CAMERA MODULE - Trays
VL6524QOMH 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:VGA single-chip camera module
VL66 制造商:SPECOTECH 功能描述:Camera;IR;Weatherproof;Color;420Lines;3.7-12mmAutoIrisLens;12VDC; Black
VL6616 制造商:PRO SIGNAL 功能描述:CABLE, 4PIN MDIN PLUG, BLUE, 15M
VL6624 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:1.3 Megapixel single-chip camera module