| 전자부품 데이터시트 검색엔진 |
|
AN4073 데이터시트(PDF) 7 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4073 데이터시트(HTML) 7 Page - STMicroelectronics |
|
7 / 32 page ![]() DocID022945 Rev 5 7/32 AN4073 Firmware techniques for improving the conversion accuracy 31 2 Firmware techniques for improving the conversion accuracy 2.1 Averaging Averaging is a simple technique where you sample an analog input several times and take the average of the results. This technique is helpful to eliminate the effect of noise on the analog input or a wrong conversion. 2.1.1 Averaging of N ADC samples When this method is used, it is better to collect the samples in multiples of 2 (N should be a multiple of 2). This makes it more efficient to compute the average because you can do the division by right-shifting the sum of the converted values. This saves CPU time and code memory needed to execute a division algorithm (in Cortex-Mx, this takes 1 CPU cycle). Figure 1. Graphical representation of averaging technique This averaging technique is used to measure the voltage on one analog input pin. A total of N conversions is considered and the average is calculated. This is done in a loop in the firmware. MS31175V1 Digital output Average value Number of conversions |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |