Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering...

48
Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13

Transcript of Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering...

Page 1: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Lecture 7: Signal Processing V

EEN 112: Introduction to Electrical and Computer Engineering

Professor Eric Rozier, 2/27/13

Page 2: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

SCHEDULE

Page 3: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Schedule

Date M W

3/4 Wrap up signals NASA Guest Speaker

3/11 Spring Break Spring Break

3/18 Computer Engineering Computer Engineering

3/25 Computer Engineering Midterm II

4/1 EE/Circuits EE/Circuits

4/8 EE/Circuits EE/Circuits

4/15 EE/Circuits EE/Circuits

4/22 Course Synthesis Course Synthesis

Page 4: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

No Lab this Week

• Happy early Spring Break

Page 5: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

CAPTURING SIGNALS

Page 6: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

What we’ve done so far…

• Talked about…– Why signals are important– How to sample signals– How to quantize signals– How to store signals in computers

• What about how to collect or capture signals?

Page 7: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

First a bit about Electricity

• We talked a bit about voltage so far, but what is it really?

Page 8: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Electricity

• The flow of electrons in a conductive material.

• Typically we represent the flow of “holes” rather than electrons.– This is due to historical

reasons, more on this inother classes.

Page 9: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Voltage and Current

• The most basic ways in which we discuss the flow of electrical charge is voltage and current.

• We will describe these and other EE terms both as the flow of electrical charge, and using the “hydraulic analogy”

Page 10: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Voltage

• Voltage is the potential difference in electrical charge between two points in a circuit.– Measured in Volts

• In the Hydraulic analogy, we envision this as water pressure.

Page 11: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Current

• Flow of electrons in a circuit.– Measured in Amperes or Amps

• Hydraulic analogy, volume of flow of water through a pipe.

Page 12: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Resistance

• All wires resist the flow of electrical charge, just as all pipes resist the flow of water

• I – Current• V – Voltage• R - Resistance

Page 13: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Resistance

• What happens if you were to keep pressure constant, but pinch the pipe closed?

Page 14: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Resistance

• What happens if you were to keep the flow constant, but pinch the pipe closed?

Page 15: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Signals to Voltage

• Signals are some physical phenomenon– How do we get from signal to voltage?

Page 16: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

A quick note…

• A lot of what we will talk about today you won’t understand 100%

• Being an Electrical and Computer Engineer means learning a lot of specialized (but useful!) information– It takes time

Page 17: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

EEN

Page 18: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

ECN

Page 19: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

EAN

Page 20: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

ESN

Page 21: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

The purpose…

• Not to scare you…

• To show you there are answers, which you will learn in time.

Page 22: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

SENSORS

Page 23: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Microphones

Page 24: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Condenser Microphone

Page 25: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Condenser Microphone

• The capacitance (C) is inversely proportional to the distance between parallel plates.

• Sound levels compress the plates.

Page 26: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Piezoelectric Microphone

• Some materials produce a voltage when subject to pressure.– We call this effect Piezoelectricity

• Carbon microphones aresimilar– Change resistance in response

to changing pressure

Page 27: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Image Sensors

• CCD – Charge CoupledDevice

• Photons striking theplates add electronsto wells.

Page 28: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Image Sensors

• Wells can be “read” by applying positive charge to plates, and shifting the electrons towards a circuit.

Page 29: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Image Sensors

• CMOS – Complementary metal-oxide semiconductor– Active pixel sensor– Light sensor coupled

with a signal amplifiercircuit.

Page 30: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Image Sensors

• A Bayer Mask allows only certain wavelengths of light to strike each plate.

Page 31: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Bayer Mask

Page 32: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Touch Screens

Page 33: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Infra-red Touch Screens

Page 34: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Resistive Touch Screen

Page 35: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Capacitive Touch Screen

Page 36: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Magnetometers•A very common type is the Hall Effect magnetometer.

•Charge particles (electrons, 1) flow through a conductor (2) serving as a Hall sensor. Magnets (3) induce a magnetic field (4) that causes the charged particles to accumulate on one side of the Hall sensor, inducing a measurable voltage difference from top to bottom.

Edwin Hall discovered this effect in 1879.

Page 37: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Accelerometers• Uses:NavigationOrientationDrop detectionImage stabilizationAirbag systems

The most common design measures the distance between a plate fixed to the platform and one attached by a spring and damper. The measurement is typically done by measuring capacitance.

Page 38: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Gyroscopes

•Optical gyros: Leverage the Sagnac effect, where a laser light is sent around a loop in opposite directions and the interference is measured. When the loop is rotating, the distance the light travels in one direction is smaller than the distance in the other. This shows up as a change in the interference.

Page 39: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Antennas

Page 40: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Electro-Magnetism

• It turns out magnetism and electricity are related…

Page 41: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Antennas

• Antennas couple electric connections with electromagnetic fields

• Radio waves are justelectromagnetic waveswhich propagate throughthe air

Page 42: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Antennas

Page 43: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Antennas

• Electromagnetic fields induce current oscillations in the electrons present in an antenna.

• Hydraulic Analogy – Water wheel

Page 44: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Spedometer

Page 45: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Fuel Gauge

Page 46: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Switches and Dials

Page 47: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Potentiometers

Page 48: Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.

Buttons and Switches