Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AN753 Arkusz danych(PDF) 2 Page - Microchip Technology

Numer części AN753
Szczegółowy opis  Digital Coding Schemes for Mixed Signal Communication
PDF  4 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  MICROCHIP [Microchip Technology]
Strona internetowa  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

AN753 Arkusz danych(HTML) 2 Page - Microchip Technology

  AN753 Datasheet HTML 1Page - Microchip Technology AN753 Datasheet HTML 2Page - Microchip Technology AN753 Datasheet HTML 3Page - Microchip Technology AN753 Datasheet HTML 4Page - Microchip Technology  
Zoom Inzoom in Zoom Outzoom out
 2 / 4 page
background image
AN753
DS00753A-page 2
 2001 Microchip Technology Inc.
BINARY TWO’S COMPLEMENT CODE
In some applications it may be necessary for an ADC
to convert negative and positive values. The logic mod-
ification that allows this flexibility in the digital output
code is to produce the bipolar results called offset
binary two’s complement. Binary two’s complement
arithmetic is widely used in microcontrollers, calcula-
tors and computers.
Binary two’s complement is not as straight forward as
the scheme for straight binary. The codes are not con-
tinuous from one end to the other due to the discontinu-
ity that occurs at the analog bipolar zero.
The two’s complement of a negative binary number is
generated by logically complementing all the digits of
the positive binary number, hence converting it to the
negative binary number counterpart as shown in
Table 2. With this coding scheme, the MSB can be con-
sidered a sign indicator. When the MSB is a logic ‘0’, a
positive value is indicated and when the MSB is a logic
‘1’, a negative value is indicated.
This system is has an odd number of codes and only
one zero state. It is also mathematically consistent
making it synergistic with signed arithmetic functions.
The A/D converters from Microchip that produce a
binary two’s complement output code are from the
TC340X, TC53X, TC7109, TC85 and all I2C/SMBus
thermal sensors families.
These devices are operated in a full-differential input
mode. In this mode, the full-scale range of the device is
equal to:
And the input voltage presented to the converter is
equal to:
These converters will produce digital code that repre-
sents both negative and positive analog inputs.
Median Voltage (V)
Digital Code
0.875 FS (7/8 FS)
0111
0.75 FS (6/8 FS)
0110
0.625 FS (5/8 FS)
0101
0.5 FS (4/8 FS)
0100
0.375 FS (3/8 FS)
0011
0.25 FS (2/8 FS)
0010
0.125 FS (1/8 FS)
0001
0
0000
-0.125 FS (-1/8 FS)
1111
-0.25 FS (-2/8 FS)
1110
-0.375 FS (-3/8 FS)
1101
-0.5 FS (-4/8FS)
1100
-0.625 FS (-5/8 FS)
1011
-0.75 FS (-6/8 FS)
1010
-0.875 FS (-7/8 FS)
1001
-1 FS
1000
TABLE 2:
The
binary
two’s
complement
representation of zero volts is also equal to a digital
(0000). The analog positive full-scale minus one LSB
digital representation is equal to (0111) and the analog
negative full-scale representation is (1000).
FS range
IN
+MAX IN-MIN
()
()
IN
-MAX IN+MIN
()
()
+
=
AIN
IN+
()–IN-
()
()
=



Html Pages

1 2 3 4


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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