전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN1711 데이터시트(PDF) 18 Page - STMicroelectronics

부품명 AN1711
상세설명  SOFTWARE TECHNIQUES FOR COMPENSATING ST7 ADC ERRORS
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1711 데이터시트(HTML) 18 Page - STMicroelectronics

Back Button AN1711 Datasheet HTML 14Page - STMicroelectronics AN1711 Datasheet HTML 15Page - STMicroelectronics AN1711 Datasheet HTML 16Page - STMicroelectronics AN1711 Datasheet HTML 17Page - STMicroelectronics AN1711 Datasheet HTML 18Page - STMicroelectronics AN1711 Datasheet HTML 19Page - STMicroelectronics AN1711 Datasheet HTML 20Page - STMicroelectronics AN1711 Datasheet HTML 21Page - STMicroelectronics AN1711 Datasheet HTML 22Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 40 page
background image
18/40
SOFTWARE TECHNIQUES FOR COMPENSATING ST7 ADC ERRORS
Practical measurements
You can test how this works in practice using a hardware setup like that shown in Figure 8.
The objective is to eliminate the errors resulting from noise in the analog input pin of the mi-
crocontroller. The loop takes 16 conversions and finds if the values received are within the
range. If the values are out of range, a new conversion cycle starts, ignoring the results re-
ceived and resetting all the variables.
A switch connected to port pin can be used to trigger the software to send the conversion re-
sults to the PC using RS232 communication. The results can be displayed on the PC screen
using the HyperTerminal as shown in Figure 11.
You can use a function generator to introduce noise in the pin next to the analog signal being
converted and to generate conversion errors.
Figure 11. Illustration of noise filtering
Comments
1. The code eliminates the outlier values even if the first conversion in the loop is noisy.
2. Note that the conversion loop is restarted when a noisy value is received, so if the environ-
ment is very noisy then it is very important to define the proper range for filtering the results.
3. In noisy environments, the conversion loop could take too much time, making endless con-
versions and rejecting values. You can avoid this by putting a timeout variable in your pro-
gram.
4. This technique filters the same way as the histogram technique but it is more efficient in
terms of RAM usage and execution.
5. This technique is more accurate than averaging because it takes care of outlier results,
however it uses more RAM and takes more execution time for the same number of conver-
sions.
Noisy conversion
Maximum
converted
value
Minimum
converted
value
Average
Rejected
value of
previous
loop



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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