Hardware Secrets
Home | Camera | Case | CE | Cooling | CPU | Input | Memory | Mobile | Motherboard | Networking | Power | Storage | Video | Other
Content
Articles
First Look
Gabriel's Blog
News
Reviews
Tutorials
Main Menu
About Us
Awarded Products
Compare Prices
Datasheets
Dictionary
Download
Drivers
Forums
Links
Manufacturer Finder
Newsletter
On The Web
RSS Feed
Test Your Skills
Twitter
Newsletter
Subscribe today!
Search




Recommended
Home Theater For Dummies
Home Theater For Dummies, by Pat Hurley (For Dummies), starting at $10.49
Home » Other » Audio
How Analog-to-Digital Converter (ADC) Works
Author: Gabriel Torres
Type: Tutorials Last Updated: April 21, 2006
Page: 2 of 10
Real-time pricing for Creative 70SB046000007.
Creative Labs Creative Sound Blaster X-Fi I/O Drive Upgrade Kit - expansion module
Office Depot: $77.95

How It Works: Sampling

For our explanations, consider the analog signal found on Figure 1. Let’s assume that it is an audio signal, since this the most popular applications for analog-to-digital and digital-to-analog conversions. The “y” axis represents voltage while the “x” axis represents time.

Analog to Digital Conversion
click to enlarge
Figure 1: An analog signal.

What the ADC circuit does is to take samples from the analog signal from time to time. Each sample will be converted into a number, based on its voltage level. On Figure 2 you see an example of some sampling points on our analog signal.

Analog to Digital Conversion
click to enlarge
Figure 2: Sampling points.

The frequency on which the sampling will occur is called sampling rate. If a sampling rate of 22,050 Hz is used, for example, this means that in one second 22,050 points will be sampled. Thus, the distance of each sampling point will be of 1 / 22,050 second (45.35 µs, in this case). If a sampling rate of 44,100 Hz is used, it means that 44,100 points will be captured per second. In this case the distance of each point will be of 1 / 44,100 second or 22.675 µs. And so on.

During the digital-to-analog conversion, the numbers will be converted again into voltages. If you think about it for a while, you will see that the waveform resulted from the digital-to-analog conversion won’t be perfect, as it won’t have all the points from the original analog signal, just some of them. In other words, the digital-to-analog converter will connect all the points captured by the analog-to-digital converter, any values that existed originally between these points will be suppressed.

You can see an example on Figure 3, where we show how the signal would be after being converted to digital and back to analog. As you can see, the original waveform is more “rounded”.

Analog to Digital Conversion
click to enlarge
Figure 3: Signal after being converted to digital and back to analog.

So, the more sampling points we use – i.e. the higher the sampling rate –, the more perfect will be the analog signal produced by the digital-to-analog converter (DAC). However, the more samples we capture more storage space is necessary to store the resulting digital data. For example, an analog-to-digital conversion using a 44,100 Hz sampling rate will generate twice the number of data as a conversion using a 22,050 Hz sampling rate, as it will capture twice the samples from the original waveform.

If you use a low sampling rate, the waveform generated at the DAC will be very different from the original analog signal. If it is music, for example, the music you will play will have a very bad quality.

So, we have this dilemma: if the sampling rate is too high, the output quality will be close to perfection, but you will need a lot of storage space to hold the generated data (i.e. the generated file will be very big); if the sampling rate is too low, the output quality will be bad.

How can you know the best sampling rate to be used during analog-to-digital conversions to have the best storage/quality balance? The answer is the Nyquist Theorem.

This theorem states that the sampling rate on analog-to-digital conversions must be at least two times the value of the highest frequency you want to capture.

Since the human ear listens to sounds up to the frequency of 20 KHz, for music we need to use a sampling rate of at least 40,000 Hz. In fact, the CD uses a 44,100 Hz sampling rate, thus capturing more than our ears can hear (this value was arbitrated by Phillips and Sony when they created the CD). Some professional audio applications use an even higher sampling rate.

The phone system, on the other hand, was created to transmit only human voice, which has a lower frequency range, up to 4 KHz. So on the digital part of the phone system, an 8,000 Hz sampling rate is used. That’s why if you try to transmit music thru the phone the quality is bad: the phone circuitry cancels all frequencies above 4 KHz (ask a friend to put his/her phone near a stereo playing and you will hear what we are talking about).

Pages (10): « 1 [2] 3 4 5 6 7 8 9 10 »
Print Version | Send to Friend | | Bookmark Article | Comments (2)

Related Content
  • How On-Board Audio Works
  • Computer Port Extension
  • How to Connect 5.1 Speakers to Your PC
  • Audio Codec Comparison Table
  • HiVi Swans S3W Speakers Review

  • Recommended Deal.
    Creative 70SB088600002Creative 70SB088600002

    Creative Labs PCI EXPRESS SOUND BLASTER X-FI TITANIUM FATAL1TY PROFESSIONAL SERIES - 70SB088600002 - RitzCamera.com

    RitzCamera: $136.25 eCost: $128.99
    TigerDirect: $139.99 Buy.com: $124.99

    RSSLatest News
    Sparkle Announces 2 GB GeForce GT 220 Video Card
    March 19, 2010 - 10:17 AM PST
    PowerColor Launches HD 5770 Eyefinity 5 Video Card
    March 19, 2010 - 9:59 AM PST
    In Win Intros IRONCLAD Mid-Tower Case
    March 19, 2010 - 9:39 AM PST
    A-Data Intros 8 GB DDR3 Memory Kit
    March 17, 2010 - 3:40 PM PST
    Intel Launches Xeon 5600 Series and Core i7-980X Processor
    March 16, 2010 - 3:46 PM PST
    Intel Launches 40 GB X25-V SSD Drive
    March 15, 2010 - 1:43 PM PST
    Arctic Cooling Intros Cooler for Radeon HD 5970 and HD 5870
    March 12, 2010 - 12:19 PM PST
    OCZ Announces 32 GB Onyx SSD Unit
    March 10, 2010 - 4:08 PM PST
    MSI Launches X-Slim X360 Laptop
    March 9, 2010 - 4:15 PM PST
    Spire Launches TherMax Eclipse II CPU Cooler
    March 8, 2010 - 2:59 PM PST
    .:: More News ::.

    RSSLatest Content
    All Mobile Celeron Models
    Epson WorkForce 610 All-in-One Printer Review
    All Core i5 Models
    Mionix Naos 5000 Mouse Review
    Arctic Cooling E361-WM Earphones Review
    Don’t Let Your IT Projects Become Vaporware
    OCZ Z Series 850 W Power Supply Review
    HIS Radeon HD 5570 Fan Video Card Review
    Core i7-980X CPU Review
    Gelid Tranquillo CPU Cooler Review
    How to Discover Your Power Supply Real Manufacturer
    OCZ Z Series 1000 W Power Supply Review
    Amacrox Free Earth 85PLUS 650 W Power Supply Review
    ECS A890GXM-A Motherboard
    ASUS M4A89GTD PRO/USB3 Motherboard Review

    Our Most Popular Articles
    Maximum CPU Temperature
    1,155,510 views
    How to Find Out Your Motherboard Manufacturer and Model
    818,425 views
    nVidia Chips Comparison Table
    743,515 views
    Connecting Two PCs Using a USB-USB Cable
    672,943 views
    How To Correctly Apply Thermal Grease
    625,802 views
    AMD ATI Chips Comparison Table
    610,251 views
    ATI Radeon X1300 Pro Review
    506,794 views
    ATI Radeon X1600 XT Review
    494,472 views
    How To Perform a BIOS Upgrade
    443,763 views
    Understanding RAM Timings
    381,823 views

    Latest Threads in Our Forums
    Custom PC Help
    by thebigman101
    All Mobile Celeron Models
    by Hardware Secrets Team
    Sparkle Announces 2 GB GeForce GT 220 Video Card
    by Hardware Secrets Team
    PowerColor Launches HD 5770 Eyefinity 5 Video Card
    by Hardware Secrets Team
    In Win Intros IRONCLAD Mid-Tower Case
    by Hardware Secrets Team
    Corsair CX400W Power Supply Review
    by Olle P
    Epson WorkForce 610 All-in-One Printer Review
    by Hardware Secrets Team
    A-Data Intros 8 GB DDR3 Memory Kit
    by Hardware Secrets Team
    Epson WorkForce 610 All-in-One Printer
    by Hardware Secrets Team
    Mionix Naos 5000 Mouse Review
    by Mescalamba
    .:: Visit Our Forums ::.


    © 2004-10, Hardware Secrets, LLC. All rights reserved.
    Advertising | Legal Information | Privacy Policy
    All times are Pacific Standard Time (PST, GMT -08:00)