Dithering and Quantization of Audio and Image

Total Page:16

File Type:pdf, Size:1020Kb

Dithering and Quantization of Audio and Image Dithering and Quantization of audio and image Maciej Lipiński - Ext 06135 1. Introduction This project is going to focus on issue of dithering. The main aim of assignment was to develop a program to quantize images and audio signals, which should add noise and to measure mean square errors, comparing the quality of the quantized images with and without noise. The program realizes fallowing: - quantize an image or audio signal using n levels (defined by the user); - measure the MSE (Mean Square Error) between the original and the quantized signals; - add uniform noise in [-d/2,d/2], where d is the quantization step size, using n levels; - quantify the signal (image or audio) after adding the noise, using n levels (user defined); - measure the MSE by comparing the noise-quantized signal with the original; - compare results. The program shows graphic result, presenting original image/audio, quantized image/audio and quantized with dither image/audio. It calculates and displays the values of MSE – mean square error. 2. DITHERING Dither is a form of noise, “erroneous” signal or data which is intentionally added to sample data for the purpose of minimizing quantization error. It is utilized in many different fields where digital processing is used, such as digital audio and images. The quantization and re-quantization of digital data yields error. If that error is repeating and correlated to the signal, the error that results is repeating. In some fields, especially where the receptor is sensitive to such artifacts, cyclical errors yield undesirable artifacts. In these fields dither is helpful to result in less determinable distortions. The field of audio is a primary example of this — the human ear hears individual frequencies. The ear is therefore very sensitive to distortion. When we dither, we add very low level random noise to signal in order to mask the imperfections of digital audio. Covering at all frequencies is far less sensitive and increases the perceived dynamic range. Basically the audio dithering is commonly used when we want to convert for instance from 24-bit to 16- bit. We are cutting off the last 8 bits of information from each sample of audio, which correlates to very low level sounds in the mix. Without dithering we would lose that information, and also have errors, which sound as added harshness and noise (because the signal is random, the average signal is 0. Information that is contained in the lowest 8 bits of 24-bit audio actually modulates the random signal, so that the average is equal to the audio from the lowest 8 bits). On the other hand, dithering images is a technique used in graphics to create the illusion of color depth. In a dithered image, colors not available in the palette are approximated by a combination of colored pixels from within the available palette. The human eye perceives the diffusion as a mixture of the colors within it . A simple example is an image with only black and white in the color palette. By combining black and white pixels in complex patterns can create the illusion of gray values. Such a example is shown and described in the further part. 3. Work Environment In order to allow processing either images or audio signals the program has two interfaces. The main window lets choose which part user wants to consider : The interface, which is connected with performing of images looks following : This part of program allows to execute quantization of image with specific quantization level “N”, which is set by user in the left field on the top. The correct values are from the range <1,8>. In the case of the number out of range, program will show error communication. By the button in the middle of the top the user can choose image, which is going to be processed. Loaded file appears below the button with uppercase heading. It is described by two dimension parameters in pixels “width” and “height”. After selecting image and setting the quantization level it is time to processed, by the “Processing...”. As a result of that, in the window will emarge two images, at first quantized , and as the second one the quantized with added noise – dithered. Below each of appropriate image it will be calculated the MSE. The second opportunity is to work on audio signals, so in this connection user may choose antoher interface shown below : Like previosly the user has possibility to choose the audio file to work with. After selecting, on the interface screen will come out the original signal and the button to listen to file, which can be heard from the loudspeakers. What is more that on the field “Audio file properties” the user will get the basics parameters of the signal such as : - Number of samples - Sampling frequency - Bits on sample Comparing to image processing, the user may set the quatization level either. Additionaly it is option to change form of noise – dither which is going to be added to original signal. The user can choose between : - White Noise - Pink Noise “Processing” causes that below the adequate headlines will show another buttons, which previosly are hidden, for listen and view the obtain modified signals. As well the user will get calculated values of MSE for both examples. Pushing the “show” as a result the user will see the new window with two plots , the first quantized and second quantized with added dithering: 4. Algorithm Quantization is the process of approximating a continuous range of values by a small set of discrete symbols or integer values, described in the program by “N” quantization level, where 2 N is the set of possible values (in the case of images). Distance between possible values is associated with variable “step”: Step = 256/ N, where N is number from <1,8> . Either original audio/image or quantized and quantized with dither audios/images are kept as a matrices. The sizes of matrices are the same. In this way quantization of the original image/audio is the effect of reduction values of the matrix of original to the range of values set indirectly by “N”and “step” : q_img=floor(image./step).*step+step/2 The noise is added to original image/audio by selecting random number from the size of matrix(image/audio) as following : n = (rand(size(image))-0.5).*step; img_d = image + n; The Mean Square Error, which is squared difference between original and processed samples is simply counted as : error=(q_img-image).^2 In the case of audio processing the amplitude of the signal is in the range <-1,1>, so “step” is described on the other way : step=2/(Nlevel) , where “Nlevel” is the value set by the user in the field of interface. The user has possiblity to choose the type of noise is going to be added. The uniform noise is covered on original signal in the range [-step/2, step/2]. The part of code is the same like in previouse example. 5. Results ( Image processing) The main aim was to focus on one part - audio or image, compare the results and draw a conclusions. The experiments were made mostly for the images. The simulations were done with different kinds of images (jpg, tiff, bmp), different sizes, with different backgrounds, and for the different quantization levels. The results of calculated MSE’s are collected in a table below : Image “N” Mean Square Error Size quantization level Quantized Image Quantized with dither 3 905,76 1150,36 xray.bmp 5 310,606 421,679 256×256 7 155,37 218,816 3 510,255 1077,06 lena.tif 5 264,921 475,021 512×512 7 104,113 218,08 3 607,601 1159,44 boats.tif 5 249,593 454,681 640×640 7 105,674 212,127 3 488,858 897,732 frame.tif 5 225,056 410,695 352×240 7 101,704 206,585 3 871,221 1197,46 connie_nielsen.jpg 5 312,273 450,398 348×200 7 156,769 230,061 3 852,843 1124,47 Berries.jpg 5 298,797 426,742 348×277 7 151,521 221,2 3 605,871 1036,26 Abstract.jpg 5 214,249 391,663 640×480 7 109,797 206,954 3 666,446 1018,58 mountain.jpg 5 225,595 381,829 800×600 7 119,371 206,734 3 643,161 961,988 porshe.jpg 5 247,759 393,375 1024×768 7 121,905 201,744 3 652,406 1078,78 tree.jpg 5 244,501 420,464 1024×786 7 120,453 214,589 The table does not present subjective inforamtions. From the obiective point of view it can be noticed that - for the images with little contrast the smaller size, the bigger MSE of quantized image - for all kind of images the results for quantization with dither are relatively close - MSE is much higher in the images with added dither Now it is worth to verify and look deeper on some of results. The presented images are quantized with 5 level. From the top is going to be shown original image, below from the left side quantized image and quantized with added dither image. The first two are grayscale images. On the second page are presented the results. As we can see quantizaton is the process which “cut off” available values from the original palette to limited palette . For grayscale images the effect of quantization is very visible. boats.tif xray.bmp xray.bmp In the both examples we can definatly affirm that the quantization with added dither is quite better than just the quantization.
Recommended publications
  • '" )Timizing Images ) ~I
    k ' Anyone wlio linn IIVIII IIMd tliu Wub hns li kely 11H I11tl liy ulow lontlin g Wob sites. It's ', been fn1 11 the ft 1111 cl nlli{lll n1 mlllllll wh111 o th o fil o si of t/11 1 f /11tpli1 LII lt ill llliltl lltt 111t n huw fnst Sllll/ 111 111 11 I 1111 VIIIW 11 111 111 , Mllki l1(1 111't1 11 11 7 W11 1! 1/lllpliiL" 111 llll lllillnti lltlllllltll>ll. 1 l iitllllllllnl 111111 '" )timizing Images y, / l1111 11 11 11111' Lil'J C:ii') I1111 Vi llll ihllillnn l 111 1111 / 11 / ~il/ 11/ y 11111111 In l1 nlp Yll ll IIIIIMIIII IIII I/ 1 11111 I Optimizing JPEGs I 1 I Selective JPEG Optimization with Alpha Channels I l 11 tp111 11 1111 II 1111 111 I 1111 !11 11 1 IIIII nlllll I Optimizing GIFs I Choosing the Right Color Reduction Palette I lljllillll/11 111111 Ill II lillllljliiiX 111 111/r ll I lilnl illllli l 'lilltlllllllip (;~,:; 111 111 I Reducing Colors I Locking Colors I Selective G/F Optimization I illtnrlln lll ll" lllt l" "'ll" i ~IIIH i y C}l •; I Previewing Images in a Web Browser I llnt11tl. II 111 111/ M ullt.li 11 n tlttlmt, 1111111' I Optimizing G/Fs and JPEGs in lmageReady CS2 I IlVII filllll/11111, /111 t/11/l lh, }/ '/ CJ, lind ) If unlnmdtltl In yn tl, /hoy won't chap_ OJ 11111 bo lo1 ""'II· II yo 11'1 11 n pw nt oplimi1 PCS2Web HOT CD-ROM I ing Wol1 IJIIipluc;u, you'll bo impronml d by th o llllpOI'b optimiw ti on cupnbilitlos in ,,, Photoshop CS7 und lmng oRondy CS?.
    [Show full text]
  • A Mathematical and Physical Analysis of Circuit Jitter with Application to Cryptographic Random Bit Generation
    WJM-6500 BS2-0501 A Mathematical and Physical Analysis of Circuit Jitter with Application to Cryptographic Random Bit Generation A Major Qualifying Project Report: submitted to the Faculty of the WORCESTER POLYTECHNIC INSTITUTE in partial fulfillment of the requirements for the Degree of Bachelor of Science by _____________________________ Wayne R. Coppock _____________________________ Colin R. Philbrook Submitted April 28, 2005 1. Random Number Generator Approved:________________________ Professor William J. Martin 2. Cryptography ________________________ 3. Jitter Professor Berk Sunar 1 Abstract In this paper analysis of jitter is conducted to determine its suitability for use as an entropy source for a true random number generator. Efforts are taken to isolate and quantify jitter in ring oscillator circuits and to understand its relationship to design specifications. The accumulation of jitter via various methods is also investigated to determine whether there is an optimal accumulation technique for sampling the uncertainty of jitter events. Mathematical techniques are used to analyze the accumulation process and an attempt at modeling a signal with jitter is made. The physical properties responsible for the noise that causes jitter are also briefly investigated. 2 Acknowledgements We would like to thank our faculty advisors and our mentors at GD, without whom this project would not have been possible. Our advisors, Professor Bill martin and Professor Berk Sunar, were indispensable in keeping us focused on the tasks ahead as well as for providing background to help us explore new questions as they arose. Our mentors at GD were also key to the project’s success, and we owe them much for this.
    [Show full text]
  • Improving Speech Quality for Hearing Aid Applications Based on Wiener Filter and Composite of Deep Denoising Autoencoders
    signals Article Improving Speech Quality for Hearing Aid Applications Based on Wiener Filter and Composite of Deep Denoising Autoencoders Raghad Yaseen Lazim 1,2 , Zhu Yun 1,2 and Xiaojun Wu 1,2,* 1 Key Laboratory of Modern Teaching Technology, Ministry of Education, Shaanxi Normal University, Xi’an 710062, China; [email protected] (R.Y.L.); [email protected] (Z.Y.) 2 School of Computer Science, Shaanxi Normal University, No.620, West Chang’an Avenue, Chang’an District, Xi’an 710119, China * Correspondence: [email protected] Received: 10 July 2020; Accepted: 1 September 2020; Published: 21 October 2020 Abstract: In hearing aid devices, speech enhancement techniques are a critical component to enable users with hearing loss to attain improved speech quality under noisy conditions. Recently, the deep denoising autoencoder (DDAE) was adopted successfully for recovering the desired speech from noisy observations. However, a single DDAE cannot extract contextual information sufficiently due to the poor generalization in an unknown signal-to-noise ratio (SNR), the local minima, and the fact that the enhanced output shows some residual noise and some level of discontinuity. In this paper, we propose a hybrid approach for hearing aid applications based on two stages: (1) the Wiener filter, which attenuates the noise component and generates a clean speech signal; (2) a composite of three DDAEs with different window lengths, each of which is specialized for a specific enhancement task. Two typical high-frequency hearing loss audiograms were used to test the performance of the approach: Audiogram 1 = (0, 0, 0, 60, 80, 90) and Audiogram 2 = (0, 15, 30, 60, 80, 85).
    [Show full text]
  • Pink Noise Generator
    PINK NOISE GENERATOR K4301 Add a spectrum analyser with a microphone and check your audio system performance. H4301IP-1 VELLEMAN NV Legen Heirweg 33 9890 Gavere Belgium Europe www.velleman.be www.velleman-kit.com Features & Specifications To analyse the acoustic properties of a room (usually a living- room), a good pink noise generator together with a spectrum analyser is indispensable. Moreover you need a microphone with as linear a frequency characteristic as possible (from 20 to 20000Hz.). If, in addition, you dispose of an equaliser, then you can not only check but also correct reproduction. Features: Random digital noise. 33 bit shift register. Clock frequency adjustable between 30KHz and 100KHz. Pink noise filter: -3 dB per octave (20 .. 20000Hz.). Easily adaptable to produce "white noise". Specifications: Output voltage: 150mV RMS./ clock frequency 40KHz. Output impedance: 1K ohm. Power supply: 9 to 12VAC, or 12 to 15VDC / 5mA. 3 Assembly hints 1. Assembly (Skipping this can lead to troubles ! ) Ok, so we have your attention. These hints will help you to make this project successful. Read them carefully. 1.1 Make sure you have the right tools: A good quality soldering iron (25-40W) with a small tip. Wipe it often on a wet sponge or cloth, to keep it clean; then apply solder to the tip, to give it a wet look. This is called ‘thinning’ and will protect the tip, and enables you to make good connections. When solder rolls off the tip, it needs cleaning. Thin raisin-core solder. Do not use any flux or grease. A diagonal cutter to trim excess wires.
    [Show full text]
  • Determining the Need for Dither When Re-Quantizing a 1-D Signal Carlos Fabián Benítez-Quiroz and Shawn D
    µ ˆ q Determining the Need for Dither when Re-Quantizing a 1-D Signal Carlos Fabián Benítez-Quiroz and Shawn D. Hunt Electrical and Computer Engineering Department University of Puerto Rico, Mayagüez Campus ABSTRACT Test In The Frequency Domain Another test signal was used real audio with 24 bit precision and a 44.1 kHz sampling rate. The tests were This poster presents novel methods for determining if dither applied and the percentage of accepted frames is shown in The test in frequency is based on the Fourier transform of the sample figure 3 is needed when reducing the bit depth of a one dimensional autocorrelation. The statistic used is the square of the norm of the DFT digital signal. These are statistical based methods in both the multiplied by scale factor. This is also summarized in Table 1. time and frequency domains, and are based on determining Experiments were also run after adding dither. Because of whether the quantization noise with no dither added is white. Table 1. Summary of the statistics used in the tests. the added dither, all tests should reveal that no additional If this is the case, then no undesired harmonics are added in dither is needed. For the tests, segments from the previous the quantization or re-quantization process. Experiments Test Domain Estimator used Distribution Summary of experiment that are known to need dither are dithered and showing the effectiveness of the methods with both synthetic of Estimator Method these used as the test signal. and real one dimensional signals are presented. Box-Pierce Time Say the quantization Test m error is white when Introduction = 2 χ2 Q N r Q ~ m Qbp is greater than a bp k =1 k bp Digital signals have become widespread, and are favored in set threshold.
    [Show full text]
  • The Theory of Dithered Quantization
    The Theory of Dithered Quantization by Robert Alexander Wannamaker A thesis presented to the University of Waterloo in fulfilment of the thesis requirement for the degree of Doctor of Philosophy in Applied Mathematics Waterloo, Ontario, Canada, 2003 c Robert Alexander Wannamaker 2003 I hereby declare that I am the sole author of this thesis. I authorize the University of Waterloo to lend this thesis to other institutions or individuals for the purpose of scholarly research. I further authorize the University of Waterloo to reproduce this thesis by pho- tocopying or by other means, in total or in part, at the request of other institutions or individuals for the purpose of scholarly research. ii The University of Waterloo requires the signatures of all persons using or pho- tocopying this thesis. Please sign below, and give address and date. iii Abstract A detailed mathematical model is presented for the analysis of multibit quantizing systems. Dithering is examined as a means for eliminating signal-dependent quanti- zation errors, and subtractive and non-subtractive dithered systems are thoroughly explored within the established theoretical framework. Of primary interest are the statistical interdependences of signals in dithered systems and the spectral proper- ties of the total error produced by such systems. Regarding dithered systems, many topics of practical interest are explored. These include the use of spectrally shaped dithers, dither in noise-shaping systems, the efficient generation of multi-channel dithers, and the uses of discrete-valued dither signals. iv Acknowledgements I would like to thank my supervisor, Dr. Stanley P. Lipshitz, for giving me the opportunity to pursue this research and for the valuable guidance which he has provided throughout my time with the Audio Research Group.
    [Show full text]
  • Digital Dither: Decreasing Round-Off Errors in Digital Signal Processing
    Digital Dither: Decreasing Round-off Errors in Digital Signal Processing Peter Csordas ,Andras Mersich, Istvan Kollar Budapest University of Technology and Economics Department of Measurement and Information Systems [email protected] , ma35 1 @hszk.bme.hu , [email protected] mt- Difhering is a known method for increasing the after each arithmetic operation (round- off error). The precision of analog-to-digital conversion. In this paper the basic situation is quite different from the above one, since the result problems of quantization and the principles of analog dithering of any arithmetic operation is already discrete in amplitude, are described. The benefits of dithering are demonstrated through even its distribution is usually non-standard. Therefore, practical applications. The possibility and the conditions of using quantization of quantized signals needs to be analyzed. This digital dither in practical applications are eramined. The aim is to cannot be bound to a certain processing unit in the DSP, but find an optimal digifal dither to minimize the round-offerror of digilal signal processing. The effecfs on bias and variance using happens simply during operation and/or during storage of the uniform and triangularly distributed digital dithers are result into memory cells. Moreover, since the signal to be investigated and compared Some DSP iniplenientations are quantized is in digital form, only digital dither can be applied. discussed. and only if additional bits are available to make it possible to use. The method has already been discussed for example in Kevwords - digital dither, round-off error, bias. variance [4], but exact analysis has not been published yet.
    [Show full text]
  • 1Õf Noise from Nonlinear Stochastic Differential Equations
    PHYSICAL REVIEW E 81, 031105 ͑2010͒ 1Õf noise from nonlinear stochastic differential equations J. Ruseckas* and B. Kaulakys Institute of Theoretical Physics and Astronomy, Vilnius University, A. Goštauto 12, LT-01108 Vilnius, Lithuania ͑Received 20 October 2009; published 8 March 2010͒ We consider a class of nonlinear stochastic differential equations, giving the power-law behavior of the power spectral density in any desirably wide range of frequency. Such equations were obtained starting from the point process models of 1/ f␤ noise. In this article the power-law behavior of spectrum is derived directly from the stochastic differential equations, without using the point process models. The analysis reveals that the power spectrum may be represented as a sum of the Lorentzian spectra. Such a derivation provides additional justification of equations, expands the class of equations generating 1/ f␤ noise, and provides further insights into the origin of 1/ f␤ noise. DOI: 10.1103/PhysRevE.81.031105 PACS number͑s͒: 05.40.Ϫa, 72.70.ϩm, 89.75.Da I. INTRODUCTION signals with 1/ f noise were obtained in Refs. ͓29,30͔͑see ͓ ͔͒ Power-law distributions of spectra of signals, including also recent papers 5,31 , starting from the point process / ͓ ͔ 1/ f noise ͑also known as 1/ f fluctuations, flicker noise, and model of 1 f noise 27,32–39 . pink noise͒, as well as scaling behavior in general, are ubiq- The purpose of this article is to derive the behavior of the uitous in physics and in many other fields, including natural power spectral density directly from the SDE, without using phenomena, human activities, traffics in computer networks, the point process model.
    [Show full text]
  • Sonically Optimized Noise Shaping Techniques
    Sonically Optimized Noise Shaping Techniques Second edition Alexey Lukin [email protected] 2002 In this article we compare different commercially available noise shaping algo- rithms and introduce a new highly optimized frequency response curve for noise shap- ing filter implemented in our ExtraBit Mastering Processor. Contents INTRODUCTION ......................................................................................................................... 2 TESTED NOISE SHAPERS ......................................................................................................... 2 CRITERIONS OF COMPARISON............................................................................................... 3 RESULTS...................................................................................................................................... 4 NOISE STATISTICS & PERCEIVED LOUDNESS .............................................................................. 4 NOISE SPECTRUMS ..................................................................................................................... 5 No noise shaping (TPDF dithering)..................................................................................... 5 Cool Edit (C1 curve) ............................................................................................................5 Cool Edit (C3 curve) ............................................................................................................6 POW-R (pow-r1 mode)........................................................................................................
    [Show full text]
  • Bitmap (Raster) Images
    Bitmap (Raster) Images CO2016 Multimedia and Computer Graphics Roy Crole: Bitmap Images (CO2016, 2014/2015) – p. 1 Overview of Lectures on Images Part I: Image Transformations Examples of images; key attributes/properties. The standard computer representations of color. Coordinate Geometry: transforming positions. Position Transformation in Java. And/Or Bit Logic: transforming Color. Color Transformation in Java. Part II: Image Dithering Basic Dithering. Expansive Dithering. Ordered Dithering. Example Programs. Roy Crole: Bitmap Images (CO2016, 2014/2015) – p. 2 Examples of Images Roy Crole: Bitmap Images (CO2016, 2014/2015) – p. 3 Examples of Images Roy Crole: Bitmap Images (CO2016, 2014/2015) – p. 3 Examples of Images Roy Crole: Bitmap Images (CO2016, 2014/2015) – p. 3 Attributes of Images An image is a (finite, 2-dimensional) array of colors c. The (x,y) position, an image coordinate, along with its color, is a pixel (eg p = ((x,y),c)). xmax + 1 is the width and ymax + 1 is the height. We study these types of images: 1-bit 21 colors: black and white; c 0, 1 ∈ { } 8-bit grayscale 28 colors: grays; c 0, 1, 2,..., 255 ∈ { } 24-bit color (RGB) 224 colors: see later on ... others . Roy Crole: Bitmap Images (CO2016, 2014/2015) – p. 4 1-Bit Images A pixel in a 1-bit image has a color selected from one of 21, that is, two “colors”, c 0, 1 . Typically 0 indicates black and 1 white. ∈ { } The (idealised!) memory size of a 1-bit image is (height width)/8 bytes ∗ Roy Crole: Bitmap Images (CO2016, 2014/2015) – p. 5 8-Bit Grayscale Images A pixel in an 8-bit (grayscale) image has a color selected from one of 28 = 256 colors (which denote shades of gray).
    [Show full text]
  • Noise by the Nonlinear Stochastic Differential Equations
    Modeling scaled processes and 1/f β noise by the nonlinear stochastic differential equations B Kaulakys and M Alaburda Institute of Theoretical Physics and Astronomy of Vilnius University, Goˇstauto 12, LT-01108 Vilnius, Lithuania E-mail: [email protected] Abstract. We present and analyze stochastic nonlinear differential equations generating signals with the power-law distributions of the signal intensity, 1/f β noise, power-law autocorrelations and second order structural (height-height correlation) functions. Analytical expressions for such characteristics are derived and the comparison with numerical calculations is presented. The numerical calculations reveal links between the proposed model and models where signals consist of bursts characterized by the power-law distributions of burst size, burst duration and the inter- burst time, as in a case of avalanches in self-organized critical (SOC) models and the extreme event return times in long-term memory processes. The presented approach may be useful for modeling the long-range scaled processes exhibiting 1/f noise and power-law distributions. Keywords: 1/f noise, stochastic processes, point processes, power-law distributions, nonlinear stochastic equations arXiv:1003.1155v1 [nlin.AO] 4 Mar 2010 Modeling scaled processes and 1/f β noise 2 1. Introduction The inverse power-law distributions, autocorrelations and spectra of the signals, including 1/f noise (also known as 1/f fluctuations, flicker noise and pink noise), as well as scaling behavior in general, are ubiquitous in physics and in many other fields, counting natural phenomena, spatial repartition of faults in geology, human activities such as traffic in computer networks and financial markets.
    [Show full text]
  • Reducing ADC Quantization Noise
    print | close Reducing ADC Quantization Noise Microwaves and RF Richard Lyons Randy Yates Fri, 2005­06­17 (All day) Two techniques, oversampling and dithering, have gained wide acceptance in improving the noise performance of commercial analog­to­digital converters. Analog­to­digital converters (ADCs) provide the vital transformation of analog signals into digital code in many systems. They perform amplitude quantization of an analog input signal into binary output words of finite length, normally in the range of 6 to 18 b, an inherently nonlinear process. This nonlinearity manifests itself as wideband noise in the ADC's binary output, called quantization noise, limiting an ADC's dynamic range. This article describes the two most popular methods for improving the quantization noise performance in practical ADC applications: oversampling and dithering. Related Finding Ways To Reduce Filter Size Matching An ADC To A Transformer Tunable Oscillators Aim At Reduced Phase Noise Large­Signal Approach Yields Low­Noise VHF/UHF Oscillators To understand quantization noise reduction methods, first recall that the signal­to­quantization­noise ratio, in dB, of an ideal N­bit ADC is SNRQ = 6.02N + 4.77 + 20log10 (LF) dB, where: LF = the loading factor measure of the ADC's input analog voltage level. (A derivation of SNRQ is provided in ref. 1.) Parameter LF is defined as the analog input root­mean­square (RMS) voltage divided by the ADC's peak input voltage. When an ADC's analog input is a sinusoid driven to the converter's full­scale voltage, LF = 0.707. In that case, the last term in the SNRQ equation becomes −3 dB and the ADC's maximum output­ signal­to­noise ratio is SNRQ­max = 6.02N + 4.77 −3 = 6.02N + 1.77 dB.
    [Show full text]