Topic 14 Digital Technology
Analogue and Digital Signals
Base
Base = 5 x x x x
Base 2 (binary numbers) 1 x x x x x 2 0 =
Base 2 (binary numbers) ?
1 x x 2 0 =
Four-bit words 1 x x 2 0 =
Four bit words 1001, 1110, etc. A three bit word can be made into a four bit word by adding a zero to the front 4 = 100 (3 bit word) = 0100 (4 bit word)
Four bit words With 4 bit words we can represent a total of 16 numbers in binary numbers (0 to 15) Total number of numbers = 2 4 Total number of numbers = 2 (# of bits)
Example question How many numbers can be represented with 6 bit words?
Example question How many numbers can be represented with 6 bit words? # numbers = 2 6 = 64
Another example question Write the decimal number 65 using eight bits.
Another example question Write the decimal number 65 using eight bits. 65 = 1x x x x x x x = = (eight bits)
Another example question Write the decimal number 65 using eight bits. 65 = 1x x x x x x x = = (eight bits) Least significent bit (LSB) Most significent bit (MSB)
Analogue signals Analogue signals are continuous signals that vary in proportion to the physical mechanism that created the signal.
Digital signal is a coded form of signal that takes the discrete values of 0 or 1 only
Converting from analogue to digital
Another example t/ms V/V
Another example t/ms V/V Take a sample of the signal every 1 ms (sampling frequency or rate of 1000 Hz)
Another example t/ms V/V This is called a pulse amplitude modulated signal (PAM) Time/msPAM signal /V
Another example t/ms V/V Note the duration of each sample is is very short (1 μs or less) Time/msPAM signal /V
Converting into 2 bit words t/ms V/V Time/msPAM signal /V
Converting into 2 bit words t/ms V/V Binary code PAM signal /V 000 ≤ V < ≤ V < ≤ V < ≤ V < 8 The maximum number of words is 2 2 = 4, so we have to split the voltages into 4 levels (0- 2,2-4,4-6,6-8)
Converting into 2 bit words t/ms V/V So in 2-bit words we can transmit the signal as Binary code PAM signal /V 000 ≤ V < ≤ V < ≤ V < ≤ V < 8
Converting into 2 bit words t/ms V/V Binary code PAM signal /V 0000 ≤ V < ≤ V < ≤ V < ≤ V < ≤ V < ≤ V < ≤ V < ≤ V < 8 We can reduce the loss of information by sampling every 0.5ms and using 3 bit words (maximum of 2 3 = 8)
Quantization Binary code PAM signal /V 0000 ≤ V < ≤ V < ≤ V < ≤ V < ≤ V < ≤ V < ≤ V < ≤ V < 8 The process of dividing the range of the analogue system into levels is called quantization. The number of quantization levels used depends on the number of bits used. Number of levels = 2 n
Quantization error Binary code PAM signal /V 0000 ≤ V < ≤ V < ≤ V < ≤ V < ≤ V < ≤ V < ≤ V < ≤ V < 8 In this case the quantization error is 1 V. Two analogue signals that differ than less than the quantization error will be assigned the same binary number.
Compact disks Paths (1.6μm apart) pits land
A spiral of unconnected pits are sensed with a laser beam. The pattern of pits on a CD store information as a series of binary '1's and '0's. As the disc rotates a laser beam is used to produce a '1' every time it finds a pit edge.
Destructive interference when path difference is λ/2 (depth is λ/4) This corresponds to a binary ‘1’
Example question Calculate the pit depth of a CD being read by a laser of λ = 600 nm.
Example question Calculate the pit depth of a CD being read by a laser of λ = 600 nm. Pit depth = λ/4 = 150 nm
Another example Information is imprinted on a CD at a rate of words per second. The information is in 32-bit words. A CD lasts for 74 minutes. Calculate the storage capacity of the CD
Another example Information is imprinted on a CD at a rate of words per second. The information is in 32-bit words. A CD lasts for 74 minutes. Calculate the storage capacity of the CD # of bits = x 32 x 60 x 74 = 6.27 x 10 9 bits 1 byte = 8 bits 6.27 x 10 9 bits = (6.27 x 10 9 )/8 bytes = 780 Mb
Questions!