当前位置:网站首页>Oversampling Series III: quantization error and oversampling rate
Oversampling Series III: quantization error and oversampling rate
2022-06-23 11:31:00 【Engineers see the sea】
The digital world is a mirror image of the analog world , and ADC Is the gate connecting the two worlds . Once all analog signals have passed ADC After discretization , Its amplitude is bound to be distorted , The important reason is ADC Limited resolution , It can only approximate the true amplitude .
We cannot reach the truth , Can only be infinitely close to the truth .
The resolution is ADC One of the important parameters of , It and precision are two different quantities , Precision describes the accuracy of discrete results , The resolution describes ADC The smallest signal that can be resolved , by 1LSB.
In other words , High resolution ADC Can distinguish smaller signals , But the accuracy of the result of the transformation is limited by the accuracy .
One 8bit ADC, Distinguishable 256 Kind level , When the input range is 2.56V when ,1LSB That is to say 10mV. Limited by resolution ,ADC There is an error between the output value and the actual value .
The following figure is a schematic diagram of quantization error , For variations less than 1LSB The signal of ,ADC Is indistinguishable , The error of input and output at this time is the quantization error .
A simplified mathematical model for quantifying noise is as follows ,
e(t)=st, -q/2s < t < +q/2s
According to the input signal 、ADC Relationship between resolution and quantization error , We can derive an important SNR Calculation formula . The detailed derivation process will be replied in the background of the official account : Oversampling
Here is the classic ADC SNR Calculation formula .
SNR = 6.02N + 1.76dB
DC to fs/2 Bandwidth range
If you use digital filtering to filter out bandwidth BW Other noise components , Then a correction factor is included in the equation
Or writing
BW Is the signal bandwidth ,FS Is the sampling rate ,OSR=Fs/(2*BW) Is the oversampling rate .
When the oversampling rate is increased 4 times , Can improve ADC 1bit The effective resolution of is calculated according to the above formula , The oversampling rate can refer to the previous article :
Oversampling series a : Sampling theorem and oversampling rate
Why? “ Every time the oversampling rate increases 4 times , Can improve ADC 1bit The effective resolution of ”?
Take a chestnut :
When the oversampling rate OSR by 1 when ,
When the oversampling rate OSR by 4 when ,
Contrast formula 1 And the formula 2, Only the red boxes are different , I.e. caused by oversampling SNR Gain and increase resolution N Can be transformed into equivalent .
Extra digits N+:
N+=10log(OSR)/6.02,
When OSR=1,4,16,,,, when ,N+=1,2,3,,,,,
This is what is usually said , Every time the oversampling rate increases 4 times , Can improve 1bit The reason for the resolution .
Is it possible to improve the resolution by increasing the sampling rate ?
It's not true , From formula 2 It can be seen that ,10log(4) Turn into 10log(1) 了 , This process also requires a reduction in sampling , Or pull down , In addition to reducing the amount of data , It can improve the resolution .
How to draw , It's a learning , If you simply average , Often only improve the signal-to-noise ratio , The purpose of increasing the number of significant digits is not achieved , A lot of people will dig pits here .
How to correctly use down pumping to increase the number of significant digits ? The most classical explanation of quantization error and oversampling rate is spectral density , Limited space , The following articles will be continuously updated .
边栏推荐
- Share a mobile game script source code
- [golden section] and [Fibonacci series]
- 过采样系列二:傅里叶变换与信噪比
- 你真的理解LDO的输出电容吗!?
- The simplest DIY actuator cluster control program based on 51 single chip microcomputer, pca9685, IIC and PTZ
- 过采样系列三:量化误差与过采样率
- Introduction to Huawei cloud maintenance and sharing exchange platform
- 如何在 FlowUs、Notion 等笔记软件中使用间隔重复记忆系统?
- 5 个关于 NFT 的技术漏洞
- The simplest DIY actuator controller based on 51 single chip microcomputer
猜你喜欢

Deep dive kotlin synergy (XIV): problems of shared state

Design and implementation of esp32-cam wireless monitoring intelligent gateway

汉源高科USB2.0光端机USB2.0光纤延长器USB2.0光纤传输器USB2.0接口转光纤

使用Mycat进行MySQL单库分表

Design and implementation of stm32f103zet6 single chip microcomputer dual serial port mutual sending program

ESP32-C3入门教程 问题篇⑦—— fatal error: esp_bt.h: No such file or directory 找不到esp_bt.h

Force buckle 1319 Number of connected network operations

坚持五件事,带你走出迷茫困境!

"Core" has spirit "lizard", ten thousand people are online! Dragon Dragon community walks into Intel meetup wonderful review

Deveco device tool helps openharmony device development
随机推荐
Deep analysis and Simulation of list
64路PCM电话光端机64路电话+2路百兆以太网电话光端机64路电话PCM语音光端机
坦然面对未来,努力提升自我
Which securities company has the lowest Commission for opening a mobile account? Is it safe to open an account online now?
At 14:00 today, 12 Chinese scholars started ICLR 2022
坚持五件事,带你走出迷茫困境!
The simplest DIY serial port Bluetooth hardware implementation scheme
Torch weight to mindspore
1154. 一年中的第几天
【MATLAB 图形用户界面控件使用】
塔米狗 | 投资人类型分析以及企业投资类型分析
使用单调栈解题
十大劵商如何开户?在线开户安全么?
手机证券开户交易?现在网上开户安全么?
How to implement a distributed lock with redis
Deep dive kotlin synergy (XIV): problems of shared state
Google Earth Engine(GEE)——GEDI L2A Vector Canopy Top Height (Ver
RF analyzer demo setup
语音数据标注工具与平台
64路电话+2路千兆以太网64路PCM电话光端机语音电话转光纤