| поискавой системы для электроныых деталей |
|
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 |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |