当前位置:网站首页>Single chip microcomputer: main index of a/d (analog-to-digital conversion)
Single chip microcomputer: main index of a/d (analog-to-digital conversion)
2022-06-13 03:53:00 【DC-STDIO】
List of articles
A/D( A / D conversion ) The main indicators of
We are choosing and using A/D When , It is important to rely on what indicators to judge . because AD There are many kinds of , It is divided into integral type 、 Successive approximation type 、 parallel / Serial comparison type 、Σ-Δ Type and other types . At the same time, there are many indicators , And some indicators are slightly different , Here I explain it in a way that is easy for students to understand , If with a certain type A/D Concept and principle are different , It will not affect the practical application .
ADC Number of digits
One n Bit ADC Express this ADC share 2 Of n To the power of a scale .8 Bit ADC, The output is from 0~255 altogether 256 A numerical quantity , That is to say 2 Of 8 To the power of a data scale .
Reference source
Reference source , Also called reference voltage , yes ADC An important indicator of , To enter ADC The signal measurement is accurate , Then the reference source must be accurate first , The deviation of the reference source will directly lead to the deviation of the conversion result . Like a meter ruler , The total length should have been 1 rice , Suppose this meter ruler is baked by fire , It turns out to be 1.2 rice , If you use this meter ruler to measure the length of the object, there will be a large deviation . If our benchmark should be 5.10 V, But what it actually offers is 4.5 V, By mistake 4.5 V Take it for granted. 5.10 V To deal with it , The deviation will also be relatively large .
The resolution of the
Resolution is when the digital quantity changes by a minimum scale , The amount of change in the analog signal , Defined as full scale and span 2n-1 The ratio of the . Assume 5.10 V Voltage system , Use 8 Bit ADC Take measurements , So it's equivalent to 0~255 altogether 256 A scale handle 5.10 V Divided equally into 255 Share , So the resolution is 5.10/255 = 0.02 V.
INL( Integral nonlinearity ) and DNL( Differential nonlinearity )
The two concepts that beginners are most likely to confuse “ The resolution of the ” and “ precision ”, Think the higher the resolution , The higher the accuracy , But in fact , There is no necessary connection between the two . Resolution is used to describe scale division , Accuracy is used to describe the degree of accuracy . The same meter ruler , The number of scales is the same , The resolution is quite , But the accuracy can vary greatly , Pictured 17-2 Shown .
The accuracy shown in the figure above is clear at a glance , Don't say more . and ADC The two indicators of great importance to accuracy are INL(Integral NonLiner) and DNL(Differencial NonLiner).
INL refer to ADC The analog value corresponding to the device in all values , The error value of the point with the largest error between and the real value , yes ADC The most important accuracy index , The unit is LSB.LSB(Least Significant Bit) LSB means least significant bit , So it actually corresponds to ADC The resolution of the . One benchmark is 5.10 V Of 8 position ADC, Its resolution is 0.02 V, Use it to measure a voltage signal , And what you get is 100, It means that the measured voltage value is 100*0.02 V=2 V, Suppose its INL yes 1LSB, It means that the true and accurate value of this voltage signal is 1.98 V~2.02 V Between , Ideally, the corresponding number should be 99~101, The measurement error is a least significant bit , namely 1LSB.
DNL It means ADC The biggest difference between two adjacent scales , The unit is also LSB. A resolution is 1 Mm ruler , Not all adjacent scales are just 1 mm , And there will always be big or small errors . Empathy , One ADC The resolution between the two scale lines is not always exactly equal to the resolution , There are also errors , The error is DNL.
One benchmark is 5.10 V Of 8 position ADC, Suppose its DNL yes 0.5LSB, So when its conversion results from 100 Add to 101 when , Ideally, the actual voltage should increase 0.02 V, but DNL by 0.5LSB In this case, the increase value of the actual voltage is 0.01~0.03 V Between . It is worth mentioning that DNL Not necessarily less than 1LSB, Many times it will be equal to or greater than 1LSB, This is equivalent to a certain degree of scale disorder , When the actual voltage remains constant ,ADC The result may jump between several values , It is largely for this reason ( But not exactly , Because there is always the influence of ubiquitous interference ).
Conversion rate
Conversion rate , Refer to ADC The maximum number of sample conversions per second , The unit is sps( or s/s、sa/s, namely samples per second), It is associated with ADC The time required to complete a conversion from analog to digital is reciprocal to each other .ADC There are many kinds , Among them, the integral type ADC The conversion time is on the order of milliseconds , It belongs to low speed ADC; Successive approximation type ADC The transition time is subtle , Medium speed ADC; parallel / Serial ADC The conversion time can reach nanosecond , It's high speed ADC.
ADC Let's get familiar with these main indicators , For others , As an entry-level player , Don't worry about understanding . In the process of later use, I encountered , Then find relevant materials for in-depth study , The current focus is on building a ADC Basic concepts of .
边栏推荐
- 学生管理系统
- Jumpserver installation
- [multithreading] what is multithreading in the end -- the elementary level of multithreading (review for self use)
- 单片机串口通信原理和控制程序
- 任总与系统工程领域科学家、专家会谈纪要
- 单片机外设介绍:温度传感器 DS18B20
- Alipay open platform
- Local simulation download file
- Ego planner code analysis ----cmakelists Txt and package xml
- Cache read / write -- write
猜你喜欢
Watering artifact based on Huawei cloud Internet of things (stm32+esp8266)
19 MySQL database optimization methods
[multithreading] what is multithreading in the end -- the elementary level of multithreading (review for self use)
SQL injection case demonstration and preventive measures
Detailed explanation of MySQL storage process
单片机:RS485 通信与 Modbus 协议
5G China unicom AP:B SMS ASCII 转码要求
【測試開發】自動化測試selenium(三)——unittest框架解析
单片机:PCF8591 应用程序
Big Five personality learning records
随机推荐
LVS 4 - tier Load Balancing Cluster (3) Cluster Function Classification - HPC
【多线程】多线程到底是个甚——多线程初阶(复习自用)
Student management system
EGO Planner代码解析----CMakeLists.txt和package.xml
Time complexity
LVS four layer load balancing cluster (4) main methods of load balancing
[200 opencv routines by youcans] 201 Color space conversion of images
Example of try catch finally execution sequence
单片机信号发生器程序
单片机:EEPROM 多字节读写操作时序
Lambda end operation reduce merge
[test development] blog system - LoadRunner performance test (publish blog function benchmark test)
User and permission configuration in SQL Server database to ensure database security
Oracle built-in functions
大疆无人机飞控系统的原理、组成及各传感器的作用
Advanced API review
OKR和KPI的区别
Lightweight digital mall system based on PHP
Among the four common technologies for UAV obstacle avoidance, why does Dajiang prefer binocular vision
USB-IF BC1.2充电协议解读