Presentation is loading. Please wait.

Presentation is loading. Please wait.

Waves Digitising analogue data. Analogue What we see in the real world around us Continuously varying –Temperature –Land contours –Speed –Time Temp Time.

Similar presentations


Presentation on theme: "Waves Digitising analogue data. Analogue What we see in the real world around us Continuously varying –Temperature –Land contours –Speed –Time Temp Time."— Presentation transcript:

1 Waves Digitising analogue data

2 Analogue What we see in the real world around us Continuously varying –Temperature –Land contours –Speed –Time Temp Time

3 But how do we make measurements We cannot record measurements continuously (too much storage) Once every second? Minute? Millisecond? Temp Time

4 And we record with a certain granularity too 15 o C 15.4 o C 15.358 o C 15.358374864826535243 o C So we have compromised on both axes – we can’t be sure of the temperature at all between the measuring points, and we don’t know the exact temperature at any moment anyway

5 This is what we have to do to digitise data We lose information – inevitably Analogue data is continuous –Digital data has a discrete set of values But there are big advantages –Computers can handle the data when digitised –It allows us to store, process and transmit the data more easily

6 Just 1s and 0s Analog to Digital Convertor (ADC) –Converts wave form to binary –Samples at known rate –Known resolution Say waveform 0 ≤ V ≤ 10 at 8 bits Step = 10 /256 =.039v per step

7 Logic levels Problem: A voltage on a wire is actually an analogue signal! It is continuously varying. HIGH may be interpreted as (e.g.) any time the voltage is between 2V and 5V LOW may be any time it is between 0V and 0.8V V H (max) V H (min) V L (max) V L (min) HIGH (Binary 1) Uncertain LOW (Binary 0)

8 Digital waveforms A pulse is generated when a signal goes from LOW to HIGH, and back again (+ve pulse) A pulse has a rising edge, and a falling edge Rising (leading) edge Falling (trailing) edge Rising (trailing) edge Falling (leading) edge Negative-going pulsePositive-going pulse

9 Not so simple The figures on the last slide are ideal – instantaneous change between HIGH and LOW But reality is not like that –The waves take time to transition from HIGH to LOW

10 A digital wave 90% 10% tr tf 50% tw Pulse width Voltage (pulse) amplitude

11 Overshoot and ringing These effects are caused by capacitance and inductance in the circuit

12 Waveform Characteristics Most waveforms encountered are composed of a series of pulses, sometimes called pulse trains, and can be classified as either periodic or nonperiodic. A periodic pulse train pulses at a fixed interval, called a period (T). The frequency (f) is the rate at which it beats (pulses) itself and is measured in hertz (Hz). The frequency (f) of a pulse waveform is the reciprocal of the period, f = 1/T

13 Periodic Nonperiodic

14 Duty Cycle An important characteristic of a periodic waveform is its duty cycle. This is defined as the ratio of the pulse width (t w ) to the period (T) expressed as a percentage, –Duty cycle = (t w /T) × 100% twtw T Exercise: for the diagram, work out the: a)period b)frequency c)duty cycle 013t (ms)

15 Many digital systems are synchronised with a waveform called the clock The Clock This is a periodic waveform in which each interval between pulses (the period) equals one bit time

16 Timing diagrams You’ll often see diagrams like this, showing the time relationship between waveforms

17 The Integrated Circuit Used almost exclusively Low power consumption Small Reliable Cheap

18 ICs One single piece of silicon All the components – transistors, diodes, resistors and capacitors – are an integral part of that chip Various types of package exist

19 Pin numbering All IC packages have a standard format for numbering the pins (leads). Pin 1 is always identified by either a small dot or a notch or a bevelled edge. Starting with pin 1, the numbering is always anti-clockwise as viewed looking down upon the package


Download ppt "Waves Digitising analogue data. Analogue What we see in the real world around us Continuously varying –Temperature –Land contours –Speed –Time Temp Time."

Similar presentations


Ads by Google