digital technology 14.1 analogue and digital signals

34
Digital Technology 14.1 Analogue and Digital Signals

Upload: derrick-austin

Post on 18-Jan-2018

225 views

Category:

Documents


0 download

DESCRIPTION

Binary and Decimal A digital system using on (=1) and off (=0) requires a way of counting that only involves those two digits. i.e. It must be base 2 as opposed to the decimal system which is base 10 (denary - 10 digits). The binary system is base 2. Each 1 or 0 is a ‘bit’. E.g. The decimal number 27 can be written in binary as follows Most Significant Bit (MSB)Least Significant Bit (LSB)

TRANSCRIPT

Page 1: Digital Technology 14.1 Analogue and Digital Signals

Digital Technology

14.1 Analogue and Digital Signals

Page 2: Digital Technology 14.1 Analogue and Digital Signals

Digital TechnologyAnalogue and Digital SignalsSignals transfer information from one place to another.

An analogue signal is continuously variable. e.g. as an electrical signal changes from one value to another it can have any value of voltage in between.

A digital signal has certain fixed values, usually on or off.e.g. An LED sending an infra red signal down a fibre optic cable operates by flashing on and off.

Page 3: Digital Technology 14.1 Analogue and Digital Signals

Binary and Decimal A digital system using on (=1) and off (=0) requires a way of counting that only involves those two digits. i.e. It must be base 2 as opposed to the decimal system which is base 10 (denary - 10 digits).

The binary system is base 2. Each 1 or 0 is a ‘bit’.

E.g. The decimal number 27 can be written in binary as follows...

24 23 22 21 20

16 8 4 2 1

Most Significant Bit (MSB) Least Significant Bit (LSB)

1 1 0 1 1

Page 4: Digital Technology 14.1 Analogue and Digital Signals

For your exam we will only go up to five bits (5 binary digits).

Eight bits are known as a ‘byte’. So one byte of memory on your computer represents a single 8 digit line of code. Each letter is represented by such a line of code.

E.g. Try typing a word in ‘notepad’ and saving the file. Before looking at the file properties, can you predict the file size?

Q. What is the maximum decimal number that we can represent with...

a. 5 bit code? b. 8 bit code? 25531

Page 5: Digital Technology 14.1 Analogue and Digital Signals

Exercise:a. Convert the following into five bit digital code:

i. 17

ii. 30

iii. 25

b. Convert the following six bit binary into decimal:

iv. 100100

v. 111111

vi. 101101

c. Extension: convert 1111111111 into decimal.

10001

11110

11001

36

63

45

1023

Page 6: Digital Technology 14.1 Analogue and Digital Signals

Recording and Transferring Sound SignalsQ. Explain why a loudspeaker is an analogue device?

To be able to perfectly produce continuously variable frequencies of sound the electrical input must also be continuously variable i.e. Analogue.

1. Record Player (Analogue)

A vinyl record has a thin groove that is in effect a tiny graph of the recorded sound. Thus the pickup needle vibrates with a frequency equal to that of the recorded sound. Clearly this is an analogue device.

Page 7: Digital Technology 14.1 Analogue and Digital Signals

2. Audio tape (Analogue)

This is a tape containing tiny magnetic particles which can be rearranged by application of magnetic field. To record onto the tape the electrical input signal feeds into an electromagnet. The tape is pulled past the electromagnet which thus rearranges the particles on the tape according to the varying electrical input signal. This is also an analogue device.

Page 8: Digital Technology 14.1 Analogue and Digital Signals

3. Laser disc (Digital)

All laser discs (CD, DVD, BD etc) store information on a spiral track. This has a series of ‘pits’ and ‘lands’:

The pits and lands correspond to a low (0) signal while a change between the two corresponds to a high (1) signal.

Page 9: Digital Technology 14.1 Analogue and Digital Signals

Light slows down when it enters the clear plastic (n=1.55).

Q. The near infra-red light shone into a CD has λ=780nm. Show that the wavelength of the light changes to about 500nm in the CD.

The depth of the pit is ¼ of the wavelength of the laser light in the plastic ≈ 125nm in a CD.

n = v1 = λ1

v2 λ2

λ2 = λ1

nλ2 = 780 = 503nm 1.55

Page 10: Digital Technology 14.1 Analogue and Digital Signals

When the laser light hits a step between a pit and a land, some will reflect from the edge of the land and some from the pit. Thus light reflected from the pit will have travelled ¼λ + ¼λ = ½λ further.

Assuming they reflect back to the same point on the sensor, the two will be ½λ out of phase and so will destructively interfere, resulting in less light and a drop in sensor output. Thus a high (1) signal.

Q. A CD track is 5km long.

a. If the average pit/land length is 0.83μm long, determine the number of ‘edges’ on the track.

b. If each edge represents one bit, how many bytes of data are stored?

Page 11: Digital Technology 14.1 Analogue and Digital Signals
Page 12: Digital Technology 14.1 Analogue and Digital Signals

Advantages of Digital Over Analogue1. Quality of Stored Data:- if un-corrupted, an analogue signal can give more

detailed information about a sound than digital.- text data can be stored digitally with the same

quality as analogue. - the best modern digital cameras can give similar

quality to traditional photographic film.

Page 13: Digital Technology 14.1 Analogue and Digital Signals

2. Processing and Corruption of Data:

- Using computers, digitally stored data can be manipulated much easier and cheaper than analogue data which requires specialist equipment.

- Digital signals can also be more easily retrieved when corrupted. A change in the amplitude may not affect the ability to read the 1s and 0s, however on an analogue signal the information would be permanently corrupted.

Page 14: Digital Technology 14.1 Analogue and Digital Signals

3. Speed of Access and Manipulation of Data

Page 15: Digital Technology 14.1 Analogue and Digital Signals

4. Portability and Transfer of Data

Text

Page 16: Digital Technology 14.1 Analogue and Digital Signals

5. Storage and Transfer of Personal InformationText

Page 17: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 18: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 19: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 20: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 21: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 22: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 23: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 24: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 25: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 26: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 27: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 28: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 29: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 30: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 31: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 32: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 33: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText

Page 34: Digital Technology 14.1 Analogue and Digital Signals

SubtitleText