| 전자부품 데이터시트 검색엔진 |
|
AN1711 데이터시트(PDF) 32 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1711 데이터시트(HTML) 32 Page - STMicroelectronics |
|
32 / 40 page ![]() 32/40 SOFTWARE TECHNIQUES FOR COMPENSATING ST7 ADC ERRORS Therefore after getting the ADC converted values (Y) we can calculate the actual or ideal an- alog input signal (x) after knowing the slope of transfer curve (a) and offset constant (b). Practical measurement To test the calibration technique, we can use the test setup shown in Figure 20. Analog Channel 1 is used for gain error calculation and Channel 2 was used for offset calculation. The test results shown in Table 2. were obtained. To avoid using floating point variables and the floating point library, all the calibration con- stants were multiplied by a constant N (= 1000000) and ‘long’ type variables are used. VREF= 4.9814 V Table 2. Calibration Results Comments 1. It can be noted that calibration helps eliminate the errors. 2. In most cases the calibrated value was close to the ideal or expected value. 3. Calibration results are much better in the higher voltage range (>3.5V). 4. For some analog input ranges (approx. 2V to 3V) the recorded values are the same as ex- pected, and the calibration introduced some errors. This is because of non linearity of the ADC. We have assumed the actual transfer curve was a straight line, whereas in practice the ADC transfer curve may exhibit non-linearity. Vin Ideal results Recorded value Calibrated value 0.509 V 104 102 103 1.005 V 206 205 206 1.502 V 308 309 309 2.005 V 412 413 412 2.503 V 514 514 513 3.001 V 616 616 617 3.504 V 719 720 718 4 V 821 824 821 4.5 V 924 927 924 4.97 1020 1023 1018 |
|
링크 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 |