Digital technology


Published on

  • Be the first to comment

  • Be the first to like this

Digital technology

  1. 1. Digital technology14.1 and 14.2
  2. 2. What are binary digits?Computers use binary numbers, andtherefore use binary digits in place ofdecimal digits.The word bit is a shortening of thewords "Binary digit."Whereas decimal digits have 10possible values ranging from 0 to9, bits have only two possible values: 0and 1.
  3. 3. Decimal and binary numbers.You can see that in binary numbers, each bit holds the value of increasing powers of 2.That makes counting in binary pretty easy E.g 1011 means(1 * 23) + (0 * 22) + (1 * 21) + (1 * 20) = 8 + 0 + 2 + 1 = 11Some more examples 10 = 1010 12 = 1100 13 = 1101 16 = 10000
  4. 4. Conversions Change into • Change into decimal binary 10014 1101031 1001146 10101059
  5. 5. Bits and bytes. Bits are rarely seen alone in computers. They are almost always bundled together into 8-bit collections, and these collections are called bytes. With 8 bits in a byte, you can represent 256 values ranging from 0 to 255, as shown here:  0 = 00000000 1 = 00000001 2 = 00000010 ... 254 = 11111110 255 = 11111111
  6. 6. Bits and bytes continued CD uses 2 bytes, or 16 bits, per sample. That gives each sample a range from 0 to 65,535, like this: 0 = 0000000000000000 1 = 0000000000000001 2 = 0000000000000010 ... 65534 = 1111111111111110 65535 = 1111111111111111
  7. 7. Analog at a glanceAs a technology, analog is the process oftaking an audio or video signal (in mostcases, the human voice) and translating itinto electronic pulses.Digital on the other hand is breaking thesignal into a binary format where the audioor video data is represented by a series of"1"s and "0"s.
  8. 8. A to D 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.
  9. 9. Is the duplication perfect? But like any transferred technology, digital has a few shortcomings. Since devices are constantly translating, coding, and reassembling your voice, you wont get the same rich sound quality as you do with analog.
  10. 10. Can we use the digital phone using an analog line? 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 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.
  11. 11. Ancient way of recording the analog wayIn the Beginning: Etching TinThomas 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 Edisons original phonograph, a diaphragm directly controlled a needle, and the needle scratched an analog signal onto a tinfoil cylinder . digital1.htm
  12. 12. An analog wave Image from www.howstuffworks.comAnalog WaveWhat is it that the needle in Edisons phonograph isscratching onto the tin cylinder? It is an analog waverepresenting the vibrations created by your voice.For example, here is a graph showing the analogwave created by saying the word "hello":
  13. 13. Analog recording contd….The waveform was recorded electronically rather than on tinfoil, but the principle is the same.What this graph is showing is the position of the microphones 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.Notice that the waveform for the word "hello" is fairly complex.
  14. 14. Getting in to the digital worldIn a CD (and any other digital recording technology), the goal is to create a recording with :1. very high fidelity (very high similarity between the original signal and the reproduced signal)2. perfect reproduction (the recording sounds the same every single time you play it no matter how many times you play it).
  15. 15. 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.
  16. 16. CDs and DVDs. m Exploring Sound: Digital Sound – 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.
  17. 17. COMPACT DISCS (CD’S) A CD is a fairly simple piece of plastic about 1.2 mm thick. The CD consists of a moulded piece of plastic that is impressed with microscopic bumps arranged as a single, continuous spiral track of data. A thin, reflective aluminium layer is placed onto the top of the disc, to cover the bumps.
  18. 18.  A thin acrylic layer is sprayed over the aluminum to protect it. The label is then printed onto the acrylic.
  19. 19.  A CD has a single spiral track of data circling from the inside of the disc to the outside. The data track is incredibly small. It is about 0.5 microns wide, with 1.6 microns separating one track from the next.
  20. 20.  Due to the extreme thinness, the total length of the track squeezed onto this small disc is about 8 km. The information on the disc is read by shining a laser beam from the underside of the compact disc. Thus the laser is seeing the ―bumps‖, not the ―pits‖.
  21. 21.  The diagram below gives you some idea of how small a CD ―bump‖ is compared to a human hair.
  22. 22.  The sequence of bumps, the length of the bumps and the length of the spaces between the bumps provides the information that the CD player decodes.
  23. 23.  The laser that is used is an infrared laser emitting light at a wavelength of 780 nm. The laser passes through the plastic and is reflected off the aluminum coating on the bumps and the land between them.
  24. 24.  A very important point is that the height of the ―bumps‖ is approximately one quarter the wavelength of the laser light. When the laser light is passing over the ―land‖, all of the light is reflected off and it travels back to photoelectric cell. The photoelectric cell then produces an electric current.
  25. 25.  This electric current then goes on to generate sound in a loudspeaker (see loudspeaker application). Now lets look at what happens when the laser light approaches a ―bump‖. When the light reaches a bump, half of the light is reflected off the ―bump‖ and half of the light is reflected off the ―land‖.
  26. 26.  Because the bump is ¼ of a wavelength in height, the light being reflected off the land travels one half a wavelength further. The light reaching the photoelectric cell coming from the ―land‖ and the ―bump‖ is out of phase. This leads to partial cancellation and a decrease in intensity. This leads to decreased current being produced.
  27. 27.  As the laser moves along the track the intensity of the light falling on the photoelectric cell changes every time it comes into approaches or leaves a bump. It is this change in intensity which causes the fluctuation in electric current, which causes the movement of the loudspeaker and ultimately the fluctuation in sound.
  28. 28. USING INTERFERENCE TO KEEP A LASER ON TRACK The musical data on the CD is read from the inside out. The CD spins above the laser. After one revolution, the laser must move to the outside exactly 1.6 microns to remain on track.
  29. 29.  This requires a very precise tracking mechanism and an accurate correction mechanism to move the laser back on track if it should stray off the line. The tracking correction is achieved by first passing the laser beam through a diffraction grating, before it reaches the CD.
  30. 30.  When the monochromatic light passes through the diffraction grating a central beam and a first order diffracted beam will land on the CD.
  31. 31.  The central beam is focused on the track of the CD and passes over the bumps while the two first order diffracted beams are focused on the land on either side of the bumps. One diffracted beam is slightly ahead of the other.
  32. 32.  The laser beam is tracking correctly when the central beam is varying in intensity from 35% to 100% and the two diffracted beams have a constant intensity of 100%.
  33. 33.  If the laser beam should stray to one side of its correct position, then the variation in intensity of the main beam is now reduced. The leading tracking beam will also have a variation in the intensity because some of it is passing over the bumps. The tracking mechanism ―senses‖ that it must adjust the position of the laser down in order to put it back on track.
  34. 34.  If the laser beam were to stray to the other side of its correct position, then the variation in intensity of the main beam is again reduced. The TRAILING beam will now have a reduction in intensity. The tracking mechanism ―senses‖ that it must adjust its position up in order to get back on track.
  35. 35. CD’s and DVD’sData is stored digitally – A series of ones and zeros read by laser light reflected from the diskStrong reflections correspond to constructive interference – These reflections are chosen to represent zerosWeak reflections correspond to destructive interference – These reflections are chosen to represent ones
  36. 36. A CD’s pits and bumps
  37. 37. islands500nm CD 1.6 m500nm ©ikes080 7 830nm islands 320nm DVD 740nm 320nm ©ikes0 807 400nm
  38. 38. Reading a CDAs the disk rotates, the laser reflects off the sequence of bumps and lower areas into a photodector – The photodector converts the fluctuating reflected light intensity into an electrical string of zeros and onesThe pit depth is made equal to one-quarter of the wavelength of the light
  39. 39. Question If a laser emits light of wavelength 760nm calculate how deep the pits would have to be for data to be stored appropriately?
  40. 40. Solution The depth of the pit is d From the bottom of pit the light travels an extra distance of 2d For interference to occur the difference in path travelled needs to be λ/2 d = λ/4 d = 760/4 nm
  41. 41. DVD’sDVD’s use shorter wavelength lasers – The track separation, pit depth and minimum pit length are all smaller – Therefore, the DVD can store about 30 times more information than a CD If the pit depth on a DVD is 0.4micrometre what laser wavelength is used?
  42. 42. In the case of CD sound, fidelity (the similarity between the original wave and the DACs 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 "perfect" to most human ears .
  43. 43. Why is a CD’s capacity approximately 750 mb?One thing about the CDs 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: 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.)
  44. 44. Why store digitally?There are five main reasons we prefer storing data in a digital format rather than analogue Quality Reproducibility Portability Manipulation Retrieval speed
  45. 45. QualityDigital is less likely to be corrupted with time. – Consider a magnetic tape recording, the field strength will drop with time thus data can be lost. If it was digitally sorted as magnetic field and zero then the boundaries will still be readable even if strength diminishes.
  46. 46. ReproducibilityWith digital data it is possible to assign locationsWith analogue data it is usual to store alphabetically
  47. 47. Portability Analogue storage is sequential and is often large Digital storage allows for large amounts to be stored in pocket sized devicesWhat are the implications on society of the ever increasing storage capacity?
  48. 48. Manipulation Digital data is less prone to error in calculations Digital is easier to manipulate and process
  49. 49. CapacitanceCapacitance is the quantity of charge that can be stored per unit electric potential C = Q/VThe unit of capacitance is the Farad, FA Farad is one coulomb per unit potential difference.The capacitance of the Earth is 0.1F so we usually deal with pF
  50. 50. Charge couple device (CCD) Structure
  51. 51.  An individual pixel element consists of three sections as shown in the diagram below. Channel stops Electrodes Photo-electron collector (potential energy well) ©IKES07 The white bars represent electron-collecting zones of low electric potential, on the surface of very thin semiconducting silicon (5 - 8µm). These electron collecting zones are called the potential energy wells and are where photoelectrons are collected.
  52. 52.  The coloured bars are zones of higher electric potential that act as barriers to keep the electrons in the potential energy wells. The heights of these potentials can be changed by means of three sets of electrodes shown as green lines which run across the surface of the chip and work together to move the electrons in the potential well along the channels. The pixels are laid out in closely spaced columns or channels, which shows a section of three columns each with three pixels, giving 9 pixels in total. One pixel ©IKES07
  53. 53. CCDA CCD is basically just like any other silicon microchip except it has an array of pixels which are exposed and are sensitive to light. The size of such an array can vary from about 256 x 256 to 2048 x 2048. Each pixel in this array counts the number of photons which fall upon it. The number of photons counted is stored as electric charge in a capacitor by each pixel. Each time a photon hits a pixel, a small amount of electric charge is added to the capacitor.
  54. 54. CCDThis process continues until the stored number counts in all of the capacitors are read. This process, called readout, happens very quickly in such a way that the data is read line by line until the last line has been read.The CCD is then flushed which means that the charges in all of the capacitors are reset to zero. The charge storage process then repeats.
  55. 55. Light and pixelsPhotons have energy that is proportional to the wave frequency: E=hf,where h is Plancks constant and f is the wave frequency.In a CCD being exposed, photons enter the chip from the rear. When a photon strikes the silicon, it is very likely to interact with an electron in the thin layer of silicon (approximately 8µm) and give sufficient energy to the electron to displace it from the silicon lattice. This creates an electron-hole pair.
  56. 56.  The displaced electron, or photoelectron, is collected in the nearest potential well while the hole created by the loss of the electron is eventually filled by an electron from the silicon substrate. The more photons which strike the silicon, the more electron-holes produced and so the more electrons stored within each potential well. electrons captured - - - - liberated electrons - silicon substrate incident photon incident photon
  57. 57. Photoelectric effect How does the photoelectric effect apply to CCDs? How much charge would a pixel hold if its capacitance was 30pF and the potential changes by 0.2mV? How many photons hit the pixel if the time for the potential change is 10ms?
  58. 58. What is a digital image?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:You can take a photographYou can directly sample … you can use a digital camera
  59. 59. What is a digital image?The first line shows the initial state with the coloured bucket three from the left hand side.The second line shows position of the coloured bucket after the first swap. The free bucket at the right hand side contains the charge which is then digitised. The potential formed by the charge is amplified and converted into a digital signal by an Analogue to Digital Converter (ADC).After each swap, the buckets move one place further to the right.
  60. 60.  Consider a CCD where the maximum output voltage from a pixel, after amplification, is 0.8V. If this is to be converted into a 3-bit binary number, then there will be 8 different quantisation levels e.g. The voltage at the output is 0.42 V. This falls in the quantisation level represented by 4 and will give a digital signal of 100.
  61. 61. Capturing imageThe image sensor employed by most digital cameras is a charge coupled device (CCD). Some A CMOS sensor cameras use complementary metal oxide semiconductor (CMOS) technology instead. Both CCD and CMOS image sensors convert light into electrons.A simplified way to think about these sensors is to think of a 2-D array of thousands or millions of tiny solar cells.
  62. 62. Digitisation of the light /concepts/concepts.html Electrode measures the potential difference developed across the pixel and this is then converted into a digital signal Pixel position is also stored
  63. 63. Capturing Color 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 spectrumFor illustrations and explanations visit:
  64. 64. DefinitionsYou need to know Quantum efficiency Magnification Resolution
  65. 65. Quantum Efficiency This is the ratio of the number of photoelectrons emitted to the number of photons incident on the pixel This will never be 100% due to scattering or non-interaction with substrate Number of photoelect ronsQuantum efficiency 100% Number of photons
  66. 66.  Quantum efficiency is a measure of the sensitivity of a light detector. Many photoelectric materials typically emit an electron for every 5 to 10 incident photons and so therefore have a quantum efficiency of between 10 and 20%. Typical values are 70-80%
  67. 67. MagnificationThe ratio of the length of the image on the CCD to the length of the real object lens CCD O I ©IKES07 Image Object image height I linear magnificat ion object height O
  68. 68. Magnification Resolution Two points on an object will be resolved if the images of the two points are at least two pixels apart chargecharge charge pixels pixels pixels
  69. 69. Digital Camera Resolution  The more pixels a camera has, the more detail it can capture and Photo courtesy Morguefile the larger pictures canThe size of an image taken at different resolutions be without becoming blurry or "grainy."
  70. 70. Image quality Larger magnification = more pixels activated = more detailed Greater resolution = more pixels /unit length = more detailed
  71. 71. Use of CCDs Digital cameras Video cameras Telescopes Medical imaging Photocopiers Barcode readers
  72. 72. Advantages over emulsionReusable - once an image has been captured, the CCD can then be reset ready for the next image to be captured. Photographic emulsion is a one off process and cannot be reused. Greater sensitivity - modern CCDs are over 1000 million times more sensitive than the human eye Greater colour response - modern CCDs will respond to electromagnetic radiation over a wider range of wavelengths than either the human eye or photographic emulsion Linear response - the output voltage from a CCD is proportional to the charge collected by each pixel, which in turn is proportional to the number of photons incident on the CCD.
  73. 73. Image retrieval Light focussed on CCD Photoelectric effect Number of electrons released from each pixel will vary Potential change occurs Pixel location sorted along with pd change as a digital signal Digital signal converted to image