270 likes | 474 Views
Analog and digital data. Skills : none IT concepts : analog to digital conversion, digital to analog conversion, sample rate, sample size, quality-file size trade off. This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License. Where does this topic fit?.
E N D
Analog and digital data Skills: none IT concepts: analog to digital conversion, digital to analog conversion, sample rate, sample size, quality-file size trade off This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
Where does this topic fit? • Internet concepts • Applications • Technology • Implications • Internet skills • Application development • Content creation
Digital and analog clocks Start clocks Which clock is digital? Which analog? Which clock is the closest analog to the physical world?
A digital clock 12:00:00 12:00:01 12:00:02 12:00:03 etc. Digital data is discreet and jumpy, not smooth and continuous
Physical sensors → electric signals Light level Pressure Sound waves Acceleration Position of a knob Orientation Proximity Gasses in the air Magnetic field
For example, a microphone Varying voltage Sound waves
Computers require digital data Computer 10010110 (150) 11001001 (201) 11000111 (199) … Analog to digital converter Analog data Digital data
The input is continuous, analog data Sample the signal at regular intervals v2 v1 v7 . . . . . . S7 S3 S1 S2
v2 v1 v9 Each sample produces a number
v2 v1 v9 Each sample produces a number A jagged approximation of the original, continuous signal
Each sample produces a number But How big (how many bits) is each number?
What time is it between seconds? Round off to the nearest second
60 steps More steps (higher resolution) means smaller round-off errors 12 steps 4 steps
Digitizing introduces round-off errors 5 4 3.6 3 2.2 2 1 0
3 More steps (intervals) between the minimum and maximum values means smaller round-off errors 0 7 0 15 0
The quality/file size tradeoff Increase sample rate → quality ↑ file size ↑ Increase sample size → quality ↑ file size ↑
Computers can output analog data Computer 10010110 (150) 11001001 (201) 11000111 (199) … Digital to analog converter
v2 v1 v9 Generate a somewhat jagged analog signal by approximating the value between samples with straight lines
Electric signals → change physical world Sound Light Flow rate Temperature Turn things on and off
v2 v1 v7 . . . . . . S7 S3 S1 S2 A few questions The value of sample 9 would be between the values of which two samples?
Without looking back, what two factors determine the quality or goodness of fit of a digitized signal to the original analog signal?
Where does this topic fit? • Internet concepts • Applications • Technology (electronics) • Implications • Internet skills • Application development • Content creation