Digital Technology


Published on

Slideshow on the IB topic Digital Technology

Published in: Education, Business, Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Digital Technology

  1. 1. Digital technology<br />Contents:<br />Base 2 and base 10 number system<br />Bits and bytes<br />PN diodes<br />Boolean logic<br />Logic gates<br />Digital and analog basics<br />Storing devices for digital<br />Changing Analog to digital<br />How cds store in 1 and 0<br />What are CCDs?<br />Image capturing <br />Sampling for analog to digital conversion<br />Work cited pages<br />
  2. 2. What are binary digits?<br />Computers use binary numbers, and therefore use binary digits in place of decimal digits. The word bit is a shortening of the words &quot;Binary digIT.&quot; Whereas decimal digits have 10 possible values ranging from 0 to 9, bits have only two possible values: 0 and 1. <br />
  3. 3. Decimal and binary numbers.<br />You can see that in binary numbers, each bit holds the value of increasing powers of 2. That makes counting in binary pretty easy <br />E.g 1011 means <br />1 * 23) + (0 * 22) + (1 * 21) + (1 * 20) = 8 + 0 + 2 + 1 = 11 <br />Some more examples<br />10 = 101011 = 101112 = 110013 = 110114 = 111015 = 111116 = 10000 <br />
  4. 4. Bits and bytes.<br />Bits are rarely seen alone in computers. They are almost always bundled together into 8-bit collections, and these collections are called bytes. <br />With 8 bits in a byte, you can represent 256 values ranging from 0 to 255, as shown here: <br />0 = 000000001 = 000000012 = 00000010...254 = 11111110255 = 11111111<br />
  5. 5. Bits and bytes continued<br />CD uses 2 bytes, or 16 bits, per sample. That gives each sample a range from 0 to 65,535, like this: <br />0 = 00000000000000001 = 00000000000000012 = 0000000000000010...65534 = 111111111111111065535 = 1111111111111111<br />
  6. 6. Analog at a glance<br />As a technology, analog is the process of taking an audio or video signal (in most cases, the human voice) and translating it into electronic pulses. Digital on the other hand is breaking the signal into a binary format where the audio or video data is represented by a series of &quot;1&quot;s and &quot;0&quot;s. <br />
  7. 7. A to D<br />Digital technology breaks your voice (or television) signal into binary code—a series of 1s and 0s—transfers it to the other end where another device (phone, modem or TV) takes all the numbers and reassembles them into the original signal. The beauty of digital is that it knows what it should be when it reaches the end of the transmission. <br />
  8. 8. Is the duplication perfect?<br />But like any tansferred technology, digital has a few shortcomings. Since devices are constantly translating, coding, and reassembling your voice, you won&apos;t get the same rich sound quality as you do with analog. <br />
  9. 9. Can we use the digital phone using an analog line?<br />There are digital-to-analog adapters that not only let you use analog equipment in a digital environment, but also safeguard against frying the internal circuitry of your phone, fax, modem, or laptop. Some adapters manufactured by Konexx come designed to work with one specific piece of office equipment: phone, modem, laptop, or teleconferencer. Simply connect the adapter in between your digital line and your analog device. <br />
  10. 10. Comparing Analog Vs. Digital<br /><br />Visit the above site for more details of Analog Vs. Digital <br />
  11. 11. Ancient way of recording the analog way<br />In the Beginning: Etching Tin<br />Thomas Edison is credited with creating the first device for recording and playing back sounds in 1877. His approach used a very simple mechanism to store an analog wave mechanically. In Edison&apos;s original phonograph, a diaphragm directly controlled a needle, and the needle scratched an analog signal onto a tinfoil cylinder . (see the clip in the link below)<br /><br />
  12. 12. An analog wave<br />Image from<br />Analog Wave<br />What is it that the needle in Edison&apos;s phonograph is scratching onto the tin cylinder? It is an analog wave representing the vibrations created by your voice. For example, here is a graph showing the analog wave created by saying the word &quot;hello&quot;: <br />
  13. 13. Analog recording contd….<br />The waveform was recorded electronically rather than on tinfoil, but the principle is the same. What this graph is showing is, essentially, the position of the microphone&apos;s diaphragm (Y axis) over time (X axis). The vibrations are very quick -- the diaphragm is vibrating on the order of 1,000 oscillations per second. This is the sort of wave scratched onto the tinfoil in Edison&apos;s device. Notice that the waveform for the word &quot;hello&quot; is fairly complex. <br />
  14. 14. Getting in to the digital world<br />In a CD (and any other digital recording technology), the goal is to create a recording with very high fidelity (very high similarity between the original signal and the reproduced signal) and perfect reproduction (the recording sounds the same every single time you play it no matter how many times you play it). To accomplish these two goals, digital recording converts the analog wave into a stream of numbers and records the numbers instead of the wave. The conversion is done by a device called an analog-to-digital converter (ADC). To play back the music, the stream of numbers is converted back to an analog wave by a digital-to-analog converter (DAC). The analog wave produced by the DAC is amplified and fed to the speakers to produce the sound. <br />
  15. 15. Converting an analog wave to digital wave<br /><br />Here is a typical wave (assume here that each tick on the horizontal axis represents one-thousandth of a second): <br />
  16. 16. ……………..contd…<br />When you sample the wave with an analog-to-digital converter, you have control over two variables: <br />The sampling rate - Controls how many samples are taken per second <br />The sampling precision - Controls how many different gradations (quantization levels) are possible when taking the sample<br />
  17. 17. Convert the curve to numbers<br />In the following figure, let&apos;s assume that the sampling rate is 1,000 per second and the precision is 10:<br />The green rectangles represent samples. Every one-thousandth of a second, the ADC looks at the wave and picks the closest number between 0 and 9. The number chosen is shown along the bottom of the figure. These numbers are a digital representation of the original wave. Want to know the digital form of this curve? 7 8 9 5 3 4 0 3 7 5<br />Binary form? For individual digit<br /> 7 8 9 and so on <br />111 1000 1001 …………..<br />
  18. 18. When the DAC recreates the wave from these numbers, you get the blue line shown in the following figure: <br />You can see that the blue line lost quite a bit of the detail originally found in the red line, and that means the fidelity of the reproduced wave is not very good. This is the sampling error. You reduce sampling error by increasing both the sampling rate and the precision<br />
  19. 19. In the following figure, both the rate and the precision have been improved by a factor of 2 (20 gradations at a rate of 2,000 samples per second) and then 4000 samples/sec.: <br />
  20. 20. CDs and DVDs.<br /><br />Exploring Sound: Digital Sound <br />Laser discs such as CDs and DVDs carry digital information, which is represented by the binary code -- combinations of 1s and 0s. Any number can be represented in binary code. Learn how this information is encoded in the clip in the above link<br />
  21. 21. CD’s and DVD’s<br />Data is stored digitally<br />A series of ones and zeros read by laser light reflected from the disk<br />Strong reflections correspond to constructive interference<br />These reflections are chosen to represent zeros<br />Weak reflections correspond to destructive interference<br />These reflections are chosen to represent ones<br />
  22. 22. CD’s and Thin Film Interference<br />A CD has multiple tracks <br />The tracks consist of a sequence of pits of varying length formed in a reflecting information layer<br />The laser beam shines on a metallic layer through a clear plastic coating<br />
  23. 23. A CD’s pits and bumps <br /><br />
  24. 24. Reading a CD<br />As the disk rotates, the laser reflects off the sequence of bumps and lower areas into a photodector<br />The photodector converts the fluctuating reflected light intensity into an electrical string of zeros and ones<br />The pit depth is made equal to one-quarter of the wavelength of the light<br /><br />
  25. 25. Reading a CD<br />When the laser beam hits a rising or falling bump edge, part of the beam reflects from the top of the bump and part from the lower adjacent area<br />Light reflecting from the top and bottom of the pit is a half-wavelength out of phase, so the intensity drops.<br /><br />
  26. 26. Reading a CD<br />The bump edges are read as ones<br />The flat bump tops and intervening flat plains are read as zeros<br />
  27. 27. DVD’s<br />DVD’s use shorter wavelength lasers<br />The track separation, pit depth and minimum pit length are all smaller<br />Therefore, the DVD can store about 30 times more information than a CD<br />
  28. 28. In the case of CD sound, fidelity (the similarity between the original wave and the DAC&apos;s output ) is an important goal, so the sampling rate is 44,100 samples per second and the number of gradations is 65,536. At this level, the output of the DAC so closely matches the original waveform that the sound is essentially &quot;perfect&quot; to most human ears .<br />
  29. 29. Why is a CD’s capacity approximately 750 mb?<br />One thing about the CD&apos;s sampling rate and precision is that it produces a lot of data. On a CD, the digital numbers produced by the ADC are stored as bytes, and it takes 2 bytes to represent 65,536 gradations. There are two sound streams being recorded (one for each of the speakers on a stereo system). A CD can store up to 74 minutes of music, so the total amount of digital data that must be stored on a CD is: <br />44,100 samples/(channel*second) * 2 bytes/sample * 2 channels * 74 minutes * 60 seconds/minute = 783,216,000 bytes (Convert to kbs and then Mbs.)<br />
  30. 30. What is a digital image?<br />Essentially, a digital image is just a long string of 1s and 0s that represent all the tiny colored dots -- or pixels -- that collectively make up the image. If you want to get a picture into this form, you have two options: <br />You can take a photograph using a conventional film camera, process the film chemically, print it onto photographic paper and then use a digital scanner to sample the print (record the pattern of light as a series of pixel values). <br />You can directly sample the original light that bounces off your subject, immediately breaking that light pattern down into a series of pixel values -- in other words, you can use a digital camera<br />
  31. 31. Capturing image<br />The image sensor employed by most digital cameras is a charge coupled device (CCD). Some cameras use complementary metal oxide semiconductor (CMOS) technology instead. Both CCD and CMOS image sensors convert light into electrons.<br />A simplified way to think about these sensors is to think of a 2-D array of thousands or millions of tiny solar cells. <br />A CMOS sensor<br />
  32. 32. Digitisation of the light <br /><br /><br />The above site has a video clip to explain the digitisation of the light .<br />
  33. 33. Digital Camera Resolution<br />The amount of detail that the camera can capture is called the resolution, and it is measured in pixels. The more pixels a camera has, the more detail it can capture and the larger pictures can be without becoming blurry or &quot;grainy.&quot; <br />Photo courtesy MorguefileThe size of an image taken at different resolutions<br />
  34. 34. Capturing Color<br />Unfortunately, each photosite is colorblind. It only keeps track of the total intensity of the light that strikes its surface. In order to get a full color image, most sensors use filtering to look at the light in its three primary colors. Once the camera records all three colors, it combines them to create the full spectrum <br />For illustrations and explanations visit:<br />
  35. 35. Work cited pages<br />Complete binary mathematics.<br /><br />convert binary numbers to decimals<br /><br />Basic principles of magnetic recording using digital data in HDD.<br /><br />storage types <br /><br />Details of DVDs.<br /><br />Optical recording in a CD.<br /><br />Detailed study of dvds and cds comparison. More emphasis on technology of data capture.<br /><br />For complete know how on CCDs and image capture in a digital camera <br /><br />