EasyManua.ls Logo

Microchip Technology dsPIC30F - Transfer Function; A;D Accuracy;Error; Connection Considerations

Microchip Technology dsPIC30F
738 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
dsPIC30F Family Reference Manual
DS70065C-page 18-28 © 2004 Microchip Technology Inc.
18.17 Transfer Function
The ideal transfer function of the A/D converter is shown in Figure 18-13. The difference of the
input voltages (V
INH – VINL), is compared to the reference (VREFH – VREFL).
The first code transition occurs when the input voltage is (V
REFH – VREFL/8192) or 0.5 LSb.
The 00 0000 0001 code is centered at (V
REFH – VREFL/4096) or 1.0 LSb.
The 10 0000 0000 code is centered at (2048*(V
REFH – VREFL)/4096).
An input voltage less than (1*(V
REFH – VREFL)/8192) converts as 00 0000 0000.
An input greater than (8192*(V
REFH – VREFL)/8192) converts as 11 1111 1111.
Figure 18-13: A/D Transfer Function
18.18 A/D Accuracy/Error
Refer to Section 18.25 “Related Application Notes” for a list of documents that discuss A/D
accuracy.
18.19 Connection Considerations
Since the analog inputs employ ESD protection, they have diodes to VDD and VSS. This requires
that the analog input must be between V
DD and VSS. If the input voltage exceeds this range by
greater than 0.3V (either direction), one of the diodes becomes forward biased and it may
damage the device if the input current specification is exceeded.
An external RC filter is sometimes added for anti-aliasing of the input signal. The R component
should be selected to ensure that the sampling time requirements are satisfied. Any external
components connected (via high-impedance) to an analog input pin (capacitor, zener diode, etc.)
should have very little leakage current at the pin.
1000 0000 0001 (= 2049)
1000 0000 0010 (= 2050)
1000 0000 0011 (= 2051)
0111 1111 1101 (= 2045)
0111 1111 1110 (= 2046)
0111 1111 1111 (= 2047)
1111 1111 1110 (= 4094)
1111 1111 1111 (= 4095)
0000 0000 0000 (= 0)
0000 0000 0001 (= 1)
Output
Code
1000 0000 0000 (= 2048)
(V
INH
– V
INL
)
V
REFL
V
REFH
– V
REFL
4096
2048*(V
REFH
– V
REFL
)
4096
V
REFH
V
REFL
+
V
REFL
+

Table of Contents

Other manuals for Microchip Technology dsPIC30F