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 (For Dummies (Computer/Tech))
Home Theater For Dummies (For Dummies (Computer/Tech)), by Pat Hurley (For Dummies), starting at $9.99
Home » Other » Audio
How Analog-to-Digital Converter (ADC) Works
Author: Gabriel Torres
Type: Tutorials Last Updated: April 21, 2006
Page: 2 of 10
$ Check REAL-TIME pricing for aphex.gif Aphex 142 - Analog to Digital Converter $.
B&H Photo Video: $399.00

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 Philips 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
  • What is High Definition Audio
  • How to Connect 5.1 Speakers to Your PC
  • Audio Codec Comparison Table

  • Recommended Deal.
    Sound Blaster X-Fi Surround Card 5.1 USB XtremeCreative Labs Sound Blaster X-Fi Surround 5.1 USB 70SB109000000


    CircuitCity: $59.99 Newegg: $54.99
    Directron: $52.99 CDW: $63.99

    RSSLatest News
    Spire Announces CoolNess Laptop Cooler
    November 6, 2009 - 3:07 PM PST
    Mushkin Launches Memories with Copper-made Heatsink
    November 5, 2009 - 3:49 PM PST
    Super Talent Launches USB 3.0 Flash Memories
    November 5, 2009 - 3:47 PM PST
    VIA Announces Nano 3000 Processor Series
    November 5, 2009 - 3:42 PM PST
    Sapphire Announces Vapor-X HD 5870 and HD 5750 Video Cards
    November 5, 2009 - 3:38 PM PST
    Gelid Unveils Tranquillo CPU Cooler
    November 5, 2009 - 3:36 PM PST
    Noctua Intros NH-D14 Premium CPU Cooler
    November 3, 2009 - 8:14 PM PST
    Transcend Unveils DDR3-1333 Memory Kits
    November 3, 2009 - 7:57 PM PST
    EVGA Launches GeForce GTX 275 CO-OP PhysX Edition
    November 3, 2009 - 7:51 PM PST
    Akasa Launches Freedom Xone Mid-tower Case
    November 2, 2009 - 6:05 PM PST
    .:: More News ::.

    RSSLatest Content
    SilverStone Grandia GD04 Case Review
    Can We Trust the 80 Plus Certification?
    NZXT Gamma Case Review
    Patriot Box Office Media Player Review
    ASUS U-75HA 750 W Power Supply Review
    MSI P55-GD80 Motherboard
    Thermaltake Element V Case Review
    Nokia 7705 Twist Cell Phone Review
    Cooler Master Hyper TX3 CPU Cooler Review
    Some Pictures from Our Office
    Antec Two Hundred Case Review
    Corsair TX950W Power Supply Review
    XFX Radeon HD 5770 Video Card Review
    XFX Radeon HD 5750 Video Card Review
    Scythe Big Shuriken CPU Cooler Review

    Our Most Popular Articles
    Maximum CPU Temperature
    1,070,398 views
    How to Find Out Your Motherboard Manufacturer and Model
    694,622 views
    nVidia Chips Comparison Table
    671,172 views
    Connecting Two PCs Using a USB-USB Cable
    585,476 views
    How To Correctly Apply Thermal Grease
    555,697 views
    AMD ATI Chips Comparison Table
    553,927 views
    ATI Radeon X1300 Pro Review
    485,722 views
    ATI Radeon X1600 XT Review
    474,758 views
    How To Perform a BIOS Upgrade
    389,136 views
    Sempron vs. Athlon XP
    336,479 views

    Latest Threads in Our Forums
    Is it a vga problem or motherboard has shocked?
    by ftomsuk
    Patriot Box Office Media Player Review
    by cchjde
    Is it possible LCD Monitor leaked by itself ?
    by delta32
    Suddenly death syndrome and pendrives
    by Desert Fox
    better cpu cooler?
    by sam_wade07
    Video Transfer camcorder to PC
    by fjs559
    Spire Announces CoolNess Laptop Cooler
    by Hardware Secrets Team
    Can We Trust the 80 Plus Certification?
    by Merman
    SilverStone Grandia GD04 Case Review
    by Olle P
    Understanding Over Current Protection
    by Olle P
    .:: Visit Our Forums ::.


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