Presentation is loading. Please wait.

Presentation is loading. Please wait.

Electronics (F.5 & C.3) Mr. Jean April 16 th, 2014.

Similar presentations


Presentation on theme: "Electronics (F.5 & C.3) Mr. Jean April 16 th, 2014."— Presentation transcript:

1 Electronics (F.5 & C.3) Mr. Jean April 16 th, 2014

2 The plan: Analog to Digital Storage Devices and systems Amplifiers Input / Output Gain Comparator Schmitt Trigger

3 Analogue Signals

4 Analogue Use Sound transmission is an example of an analogue signal – When you speak into a microphone the change in pressure causes the inside of the microphone to vibrate and change the potential difference – This signal can be fed through an amplifier which will increase the strength of the signal reproducing the signal but louder

5 Analogue Storage Vinyl Records – A record is made of plastic that has a thin groove cut into it by a needle that moves at the same frequency as the sound it is recording – Playback involves a needle connected to a circuit that follows the grooves

6 Analogue Storage Audio Tape – A tape also uses an analogue signal to store data. Instead of varying grooves however, the tape, which is made out of magnetic material, has varying magnetic fields. – To record, the tape is run through an electromagnet which varies the field at the same rate as the sound signal

7 Digital Signals A digital signal does not vary over time but rather changes from one discrete value to another. – In a circuit with a switch and a light bulb, the bulb is on when the switch is closed and off when the switch is open

8 Digital Signals

9 Binary Number Systems “There are 10 kinds of people in the world, those who understand binary and those who don’t” Digital Signals are encoded/stored using the binary number system – This is a system of 1’s and 0’s – Our normal numbering system uses a base- 10 system while the binary system uses a base-2 system

10 Binary Number System Base 103210 1000100101 Base 23210 8421 DecimalBinary 100000001 200000010 300000011 400000100 500000101 ASCII Code A01000001 B01000010 C01000011 D01000101

11 Binary Number System In the binary number system, each 1 or 0 is called a bit – There are 8 bits in a byte An 8 bit system has 8 places 00000000 A 128-bit encryption has 128 places With the 8-bit system all western characters can be coded Each symbol (letter, number, etc.) takes up 1 byte of memory

12 LSB and MSB Least significant bit – bit that is farthest to the right – Determines whether the number will be even or odd. – Changes with any small number change Most significant bit – bits farthest to the left – Don’t change unless there is a large number change – Often 000 0000101 LSB is 1 and MSB is 0

13 Converting to Binary Find the largest power of 2 that is less that the decimal Subtract that number from the initial Repeat until you reach 2 0 Convert 67 to binary – 01000011

14 Analogue to Digital Conversion Analogue signals can be converted to digital by breaking the analogue signal into discrete values (generally pd) – The more values that are used, the more accurate the digital signal will be, but more storage space will be required

15 Analogue to Digital Conversion The quantized values (pd) can then be converted into binary – If the quantized values range from -6V to +6V this can be represented most easily by the numbers 0 – 12 – A 4-bit system can be used to represent these numbers (0000 – 1100) – As long as the bit rate is known, the signal can then be converted back to a pd.

16 Sampling Rate The sampling rate is how often the pd is measured and recorded – The higher the sampling rate, the more accurate the digital conversion will be – Nyquist theory states that to record a certain frequency the sample rate needs to be at least 2x the frequency This is so at least 1 peak value and 1 trough value can be recorded

17 Sample Rate Here there are 22 samples taken for every cycle. What if there were only 2? 4? Etc.?

18 Storage on a CD Basic structure of a CD – Information is stored on the CD as a series of bumps and flats pressed into the aluminum

19 Storage on a CD The data is ‘read’ by a laser that shines along the tracks – The light reflected off of the flat sections will be read as a ‘1’, – If the pit/bump is just the right depth the light reflected off will destructively interfere with itself and the lack of light will be read as a ‘0’

20 Storage on a CD Destructive Interference Review: – The reflected wave must be a ½ λ (π) out of phase

21 Storage on a CD How deep do the pits need to be? – If light with a wavelength of 780nm is used to read a CD, what is the minimum depth the pits need to be? The light that hits the pit travels 2d farther than the light reflected from the flat portions.

22 Reading a CD So ‘0’s are actually read every time depth changes – Both the start of a pit and the end

23 CD vs. DVD CDs can hold about 650MB of info while DVDs can hold about 4.7 GB – DVDs use light with a wavelength of about 640 nm which means that smaller (thinner) pits can be read – This is because of the resolution of the light, shorter wavelengths can be resolved (separated) more clearly

24 Analogue vs. Digital Storage Benefits of Digital – Quality and Corruption Digital data is far less likely to be corrupted – On a tape the magnetic fields can fade, on an LP the tracks will wear – Even if a CD wears, the distinction between a 1 and a 0 is still apparent – Accurate Reproducibility Data can be stored and retrieved with much more accuracy in digital form – Greater Portability and Capacity – Easier to Manipulate

25 Analogue vs. Digital Storage Benefits of Analogue Storage – With analogue there is the potential for infinite signal variation Digital is constrained by the number of bits – Processing and retrieving equipment is simpler (not necessarily easier to use)

26 Implications of digital data storage What possible negative could all this cool technology have?

27

28 Operational Amplifier An amplifier is a device that takes a signal and makes its bigger. – An mp3 player gives out a very small pd that you can hear with your headphones – If you connect it to a pair of speakers the sound can be amplified with a power source An operation amplifier (op-amp) can be made to do more than just amplify signals, based on how it is wired

29 Op-Amp An actual op amp is a small black rectangle called a chip – The chip has 8 ‘legs’ or connections but only 5 are used for our purposes – Inside the chip is a complicated circuit composed of transistors and resistors that we don’t need to be concerned with

30 Op Amp In the top diagram (how an op amp is represented in a circuit diagram); – The inputs are where the signal is fed into the amp – The output is where the amplified signal comes out – The +/- V is where the supply (power is connected) This is the energy that is used to amplify the signal – In a circuit diagram the V+ and V- are often omitted

31 The Ideal Op Amp An ideal operational amplifier has three primary characteristics – Infinite input impedance – Zero output impedance – Infinite gain

32 Input impedance This is essentially the resistance that would be measured across the input terminals – This means that the input current to the amplifier is negligible – The amplifier measures the difference between the two inputs

33 Output Impedance The output of an op amp is like a power source – It can be used to power loudspeakers, lightbulbs, etc. – The output impedance is equal to the internal resistance of the power source In an ideal op amp this is zero – To get a current to flow through a load resistor there must be a pd across it This is done by connecting the resistor to a wire at 0V. This is called an earth or ground

34 Open Loop Gain If a very small pd is applied between the inputs, a large potential is created on the output – The ratio: is called the open loop gain of the amplifier This value is typically in the range of 10 6 This means that if the pd between the input terminals were 0.01V, then the output potential would be 10000 V In an ideal op amp this is infinite but it is controlled by the supply voltage

35 Gain A lone op amp is not particularly useful for amplifying music – If the open loop gain is 10 6, once the signal goes above 0.000009 V, the output will be a constant 9V with a 9V supply – The amplifier must be able to produce a signal that is the same as the input but with a larger amplitude

36 Inverting Op Amp An op amp is said to be inverting if the + (non- inverting) input is grounded and the – (inverting) input is connected to a resistor and an input signal – R in is the input resistor – R f is the feedback resistor since it is feeding the output voltage back to the input

37 Inverting Op Amp When a voltage is applied to the inverting input (-) a voltage of the opposite polarity develops on the output – if V in is +, then V out is -; if V in is -, then V out is +

38 Inverting Op Amp Finding the Gain – The difference between V+ and V- must be small so we can say they are equal Since + is connected to Earth, The potential at a point (P) between R1 and R2 is therefore also 0V Applying Ohm’s Law to R1 and R2

39 Non-Inverting Op Amp An op amp is said to be non- inverting if the – (inverting) input is grounded and the + (non- inverting) input is connected to an input signal – The polarity of the voltage at the output is the same as that of the input (if V in is +, then V out is +; if V in is -, then V out is - )

40 Non-Inverting Op Amp The input signal is applied to the non-inverting (+) lead The amount the signal is amplified is determined by the value of resistors R out and R f – If the difference between + and – is more than 9μV, the output will be a constant 9V so we can say the two inputs are about the same – This means that the potential at point P is also V input

41 Non-Inverting Op Amp If the current through the resistors is I then we get To R out alone; The 2 currents are equal so

42 Comparator A comparator compares two potentials – If the potential on the + input is higher, then the output is V+ and if the – input is higher, then the output is V-

43 Comparator Fire Alarm – At normal room temp all resistances are equal so both inputs equal V and the output is 0 – If the temp increases then the resistance of the thermistor drops and the pd across it drops. This results in an increase in the potential at the – input which results in an output of 9 V and the bell will ring

44 Schmitt Trigger A type of comparator that switches to a high output when the input is above a given value (upper threshold) – Only switches to a low output when the input gets lower than another low value (lower threshold) – Schmitt triggers are often used for reshaping digital signals to remove noise

45 Schmitt Trigger


Download ppt "Electronics (F.5 & C.3) Mr. Jean April 16 th, 2014."

Similar presentations


Ads by Google