Académique Documents
Professionnel Documents
Culture Documents
So 1+1+1 = 11. But for the next number it is necessary to introduce another column, the FOURs column so that 1+1+1+1=100. (Compare this with the hundreds column in Decimal) The next column to introduce is the EIGHTs column. It should be clear that each time it is necessary to introduce another column it is multiplied by two again. (Compare this with the way in which each new column was multiplied by ten in the Decimal system) So in the binary system the columns are: UNITs TWOs FOURs EIGHTs SIXTEENs etc. The number in the Units column has less effect on the value of the overall number than any of the other columns and so is called the Least Significant Bit (LSB). The number in the Sixteens column has more impact on the value of the number than any of the other columns and so is called the Most Significant Bit (MSB). Addition, subtraction, multiplication and division operations in binary are all done in the same way as in the decimal system except that the largest number that there can be in any column is 1. Changing number bases Changing binary numbers to decimal numbers is relatively easy if the following method is used. Above each column of the number to be converted write the decimal equivalent. Start with the units column and write down how many units there are. Then go to the next column to the left and work out the value of that column. Write this number down so that it is ready to add to the units value. Then do the same to the next column to the left and repeat this until the decimal equivalent of each column is written down. Then add up the numbers. This will be the decimal equivalent of the number. eg. Convert 10101 in binary to decimal. Step 1: 1 6 1 Step 2: 8 4 2 U 0 1 0 1 (20) (21) (22) (23) (24)
Add up the totals from each column, i.e. 16 + 4 + 1 = 21 Therefore 10101 in binary equals 21 in decimal.
printed on 2/16/2012
Converting decimal numbers into binary numbers is a little more difficult but following the rules below simplifies the process. Find the column number in binary that is just smaller than the decimal number. Subtract this number from the decimal. The number of times you did the subtraction is the number that you write in the column. Repeat the process with each successively smaller column number until finally the units are left. e.g. Convert 23 into binary. The binary column number that is just smaller than the decimal number is 16. So 23-16 is 7. This is smaller than 16 and so we put a 1 in the 16s column. The next smaller column number is 8. But 7 is smaller than 8 and so there are no 8s and so a 0 is put in the 8s column. The next smaller column number is 4. 7-4 = 3, so a 1 is put in the 4s column. The next smaller column number is 2 and so 3-2 = 1 so a 1 is put in the 2s column and leaving 1 unit, so 23 in decimal is: 1 8 4 2 U 6 1 0 1 1 1 Therefore 23 in decimal equals 10111 in binary.
time A digital signal, by comparison, only has two different values. The signal is either high or low; the absolute value of the signal does not matter. An example of a digital signal is shown in the diagram below. voltage
time There are two main ways of storing analogue signals, either as variations in the surface of a plastic (vinyl) disc (a record) or variations in the arrangement of magnetic particles attached to a plastic tape (reel-to-reel tape or cassette tape).
IB Physics HL Topic 14 Digital Technology Page 3 of 8 printed on 2/16/2012
For a record, a spiral groove is pressed into the surface of the vinyl disk. The depth of the groove varies with the value of the analogue signal being stored. To recover the analogue information from the disc, the disc is rotated at a constant angular speed and a stylus is placed into the groove. As the disc rotates, the stylus moves along the groove picking up the variation in depth. A magnet attached to the stylus moves in and out of a coil of wire with the depth variations, so turning this into an analogue electrical signal. This is shown in the diagram below.
pick-up arm
section of a record groove section of a record For a tape recorder, the analogue signal is stored on a very thin piece of plastic (mylar) coated in very fine particles of magnetic iron or chromium oxide. The tape passes at a constant speed in front of a tape head. The analogue signal is applied to the coil in the tape head. This causes a strong magnetic field to develop in the gap at the front of the tape head, which is in contact with the tape. The magnetic particles on the tape align with the magnetic field in the gap, and maintain this alignment after the tape has moved past the head. On playback, the tape again passes in front of the tape head, but this time the magnetic oxide on the tape causes a small voltage to be generated in the coil of the tape head. This small voltage is then amplified by an amplifying system. The most popular form of analogue tape recording was the Compact Cassette system in which the tape was 3.81 mm wide and moved at a speed of 4.76 cm s-1 across the tape head. A typical C90 cassette, which held 45 minutes of information on each side, contained approximately 129 m of tape.
direction of travel of the tape gap magnetic tape tape head coil analogue signal magnetic tape
Analogue information stored on either records or tape suffers from noise and distortion owing to imperfections in the recording media. Each time the analogue information is copied, more noise is added to the information and the quality of the information is degraded. Digital storage of information does not suffer from these disadvantages, since digital information consists of binary numbers. These numbers are not affected by small amounts of noise and so the quality of the information is not degraded if the information is copied. This has caused considerable problems for the Music and Video industry, since each time a CD or DVD is copied the quality is the same as the original, with no deterioration.
IB Physics HL Topic 14 Digital Technology Page 4 of 8 printed on 2/16/2012
The most popular methods of storing digital information include Compact Disks (CDs and DVDs), Hard disks (as in computer systems) and solid state flash memory (Memory sticks and cards). At the time of writing, the first 1TB (Terabyte; 1 byte = 8 bits) hard disks are becoming available (capable of storing around 300 full length feature films) while memory cards and sticks are now available with a capacity of 16GB. By comparison, a CD will hold 700MB of information and a DVD up to 9GB of information. All digital storage media read and write data one bit at a time. An interesting development in the storage of digital information is the holographic disk, which instead of reading and writing one bit at a time, handles 216 bits of data each time the read/write laser flashes. A hard disk consists of several very flat disks coated with ultra fine coating of magnetic oxides. These disks rotate very fast, some as fast as 15000rpm. The recording and replay system is similar to that of the magnetic tape, except that, because the disks are rotating so quickly, the read/write heads just skim the surface without touching the disk. A major advantage of magnetic disk systems over magnetic tape is that the data can be accessed randomly, since the head can quickly move to any part of the rotating disk. Solid state flash memory cards are essentially very complex integrated circuits containing billions of NAND (or NOR) gates arranged as bistable latches with each latch storing 1 bit of information. As the manufacturing techniques of integrated circuits continues to develop, it is quite likely that these will eventually replace hard disk systems.
125nm
The CD data is arranged in spiral tracks some 1.6 m apart. The pits are a minimum of 0.83 m long, 1.6 m apart and 125 nm deep. DVD pits are 0.4microns, 0.74 microns apart and 120 nm deep. The space between two holes is called an island. A CD will hold around 700MB of data while a single sided standard DVD will hold around 4.7GB of information. The diagrams below represent the data structure for CDs and DVDs.
printed on 2/16/2012
500nm
CD
500nm 830nm islands
ikes0807
1.6 m
320nm
DVD
320nm 400nm
ikes0807
740nm
A laser-generated beam is used to read the tracks, via a system of lenses and mirrors, some fixed, and some moved by servo-motors, as in the diagram below. The wavelength of the laser radiation for a CD is 780 nm, for a DVD it is 650 nm and for the new high density DVDs it is 405 nm. The laser beam scans the spiral from the centre of the disk and is reflected from the tracks, either weakly due to scatter (logic 1) or strongly due to simple reflection (logic 0), and is detected by a phototransistor. Since the CD is scanned from underneath, the laser detection system sees the pits as bumps, each bump causing the light from the laser to be scattered. The height of the bump is 1/4 of the wavelength of the laser light when travelling in polycarbonate, so that light reflected from the bump has a phase difference of one-half wavelength. The light reflected from the bump and from the surrounding land cancel each other out. The geometries are actually such that a bump reflects about 25% of the intensity rather than completely cancelling out. This should be compare with the 70%+ reflection from the surrounding land.
CD
Plastic coating
printed on 2/16/2012
To make the best possible use of the space on a CD, early CD players scanned the spiral at constant speed, with the speed of rotation varying between 197 and 539 revolutions per minute for a single speed drive. Such a speed control system was incapable of providing a constant data flow so a CD player now has a buffer memory which has to be half filled all of the time. If less than half of the buffer is filled then the disk speed is increased and vice versa. This ensures that the data can be clocked out of the buffer at a constant rate. CD-R and CD-RW discs do not have bumps and lands. On CD-R media, the write laser heats an organic dye to approximately 250 C, causing it to melt and/or chemically decompose to form a depression or mark in the recording layer. The marks create the decreased reflectivity required by the read laser.
Initially CDs were designed to operate by interference of the light. The light reflected from a island had a path difference of /2 compared to light reflected from the surrounding area, resulting in destructive interference and so a reduction on the light intensity at the detection system. This means that the height of each bump must be /4 of the wavelength of the light in the polycarbonate layer, i.e. 125 nm. Such systems worked well for CDs which were "pressed" from a master. However, with the development of Writeable CDs (CD-Rs), it was not possible to produce bumps with such accuracy and so the detection system on CD readers developed to respond to changes in intensity, with a logic 0 corresponding to a reflection of greater than 70% and a logic 1 corresponding to a reflection of less than 25%, rather than complete cancellation of the reflected light. It is for this reason that old CD players will not reliably read CD-Rs.
reading of the information by anyone other than those with the encryption key. It is not possible to encrypt analogue data without seriously degrading the quality of the information.
printed on 2/16/2012