390 likes | 466 Views
Topic 14 Digital Technology. Analogue and Digital Signals. Base 10. Base 10. Base 10. 5037 = 5 x 10 3 + 0 x 10 2 + 3 x 10 1 + 7 x 10 0. Base 2 (binary numbers). 1 x 2 4 + 0 x 2 3 + 1 x 2 2 + 0 x 2 1 + 1 x 2 0 = 21. Base 2 (binary numbers). ?. Base 2 (binary numbers).
E N D
Base 10 5037 = 5 x 103 + 0 x 102 + 3 x 101 + 7 x 100
Base 2 (binary numbers) 1 x 24 + 0 x 23 + 1 x 22 + 0 x 21 + 1 x 20 = 21
Base 2 (binary numbers) 1 x 25 + 1 x 20 = 33
Four-bit words 1 x 23 + 1 x 20 = 9
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 = 24 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 = 26 = 64
Another example question Write the decimal number 65 using eight bits.
Another example question Write the decimal number 65 using eight bits. 65 = 1x26 + 0x25 + 0x24 + 0x23 + 0x22 + 0x21 + 1x20 65 = 1000001 = 01000001 (eight bits)
Another example question Write the decimal number 65 using eight bits. 65 = 1x26 + 0x25 + 0x24 + 0x23 + 0x22 + 0x21 + 1x20 65 = 1000001 = 01000001 (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
Another example V/V 8 6 4 2 1 2 3 4 t/ms
Another example Take a sample of the signal every 1 ms (sampling frequency or rate of 1000 Hz) V/V 8 6 4 2 1 2 3 4 t/ms
Another example This is called a pulse amplitude modulated signal (PAM) V/V 8 6 4 2 1 2 3 4 t/ms
Another example Note the duration of each sample is is very short (1 μs or less) V/V 8 6 4 2 1 2 3 4 t/ms
Converting into 2 bit words V/V 8 6 4 2 1 2 3 4 t/ms
Converting into 2 bit words The maximum number of words is 22 = 4, so we have to split the voltages into 4 levels (0-2,2-4,4-6,6-8) V/V 8 6 4 2 1 2 3 4 t/ms
Converting into 2 bit words So in 2-bit words we can transmit the signal as 00011011 V/V 8 6 4 2 1 2 3 4 t/ms
Converting into 2 bit words We can reduce the loss of information by sampling every 0.5ms and using 3 bit words (maximum of 23 = 8) V/V 8 6 4 2 1 2 3 4 t/ms
Quantization 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 = 2n
Quantization error 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 pits land Paths (1.6μm apart)
Aspiral 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 44 100 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 44 100 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 = 44100 x 32 x 60 x 74 = 6.27 x 109 bits 1 byte = 8 bits 6.27 x 109 bits = (6.27 x 109)/8 bytes = 780 Mb