
123/317
5 - Peripherals
This will yield two results, Adc0 and Adc1. If we take the sum of these values, whatever the
value of V, it will range from 0 + 0 = 0 to 255 + 255 = 510. This new result now has a resolution
of 511 points, which is almost double the original resolution.
The figure below depicts this.
05-adc3
V0
Vd d a
255
2
×
------------------
+
ADC
adcdr
Vin
Analog
input
Vana
Extra step = analog voltage
equivalent to 1/2 lsb
(V
DDA
/ 510)
1
2
adc0
adc0+1
V0
V1
Vana
min
V1 = V0 +
∆
V
with
∆
V= V
DDA
/ 255
and
extra step =
∆
V / 2
V0
≤
Vana < (V0 +
∆
V/2)
adc0
adc0+1
V0
V1
Vana
min
(V0 +
∆
V/2)
≤
Vana < V1
Vin acquisition
without extra step:
Vin = Vana
adc0
adc0
Vin acquisition
with extra step:
Vin = Vana +
∆
V / 2
adc0
adc0 + 1
9 bits accuracy
Result:
2adc0
2adc0 + 1
Vin
Vin
Conversion
Conversion
+
=
Example of a simplest scheme using an extra step
signal to double the accuracy
2 acquisitions:
1°) acquisition of Vana
2°) acquisition of Vana + extra step
Содержание ST7 Series
Страница 1: ...ST7 8 BIT MCU FAMILY USER GUIDE JANUARY 1999 1 ...
Страница 238: ...238 317 8 C Language and the C Compiler 08 Burn bmp Then use the EPROMer programmer software as described in Chapter 7 ...
Страница 289: ...289 317 10 Second Application a Sailing Computer 10 befor Bs Rw Vw VMG AlphaR AlphaV Before the wind ...