se-3910 real-time systems week 2, class 2 – return stuff, new hw assignment! – quiz! (possibly...

9
SE-3910 Real-time Systems • Week 2, Class 2 – Return stuff, New HW Assignment! – Quiz! (Possibly with review) • Ohm’s Law • Kirkhoff’s Current Law • Switches • Using/reading an oscilloscope • Frequency / Period – Signals • Square, Sine, Saw-tooth, Random • Pulse Width Modulation (PWM) SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling, Some from Dr. Hornick, etc. 1

Upload: ashley-manning

Post on 03-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SE-3910 Real-time Systems Week 2, Class 2 – Return stuff, New HW Assignment! – Quiz! (Possibly with review) Ohm’s Law Kirkhoff’s Current Law Switches Using/reading

SE-3910Real-time Systems

• Week 2, Class 2– Return stuff, New HW Assignment!– Quiz! (Possibly with review)

• Ohm’s Law• Kirkhoff’s Current Law• Switches• Using/reading an oscilloscope• Frequency / Period

– Signals• Square, Sine, Saw-tooth, Random• Pulse Width Modulation (PWM) SE-3910 - Dr. Josiah Yoder

Slide style: Dr. HornickMuch Material: Dr. Schilling, Some from Dr. Hornick, etc.

1

Page 2: SE-3910 Real-time Systems Week 2, Class 2 – Return stuff, New HW Assignment! – Quiz! (Possibly with review) Ohm’s Law Kirkhoff’s Current Law Switches Using/reading

Waveform Terminology

• Amplitude• Peak-to-peak voltage• Peak voltage (alternative defs)

• Period• Frequency (review)

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling2

Page 3: SE-3910 Real-time Systems Week 2, Class 2 – Return stuff, New HW Assignment! – Quiz! (Possibly with review) Ohm’s Law Kirkhoff’s Current Law Switches Using/reading

Sketching & Listening to Waveforms

• Sine wave

• Square wave

• Sawtooth wave(s)

• Random wave

• Efffect of changing– Amplitude– Frequency– Phase (time shift)

On sound!

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling3

Page 4: SE-3910 Real-time Systems Week 2, Class 2 – Return stuff, New HW Assignment! – Quiz! (Possibly with review) Ohm’s Law Kirkhoff’s Current Law Switches Using/reading

Technical Goals

• How does one control the speed of a motor?

• How does one change the brightness of a light-bulb?

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling4

Page 5: SE-3910 Real-time Systems Week 2, Class 2 – Return stuff, New HW Assignment! – Quiz! (Possibly with review) Ohm’s Law Kirkhoff’s Current Law Switches Using/reading

Pulse-Width-Modulation… in traffic

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling5

Page 6: SE-3910 Real-time Systems Week 2, Class 2 – Return stuff, New HW Assignment! – Quiz! (Possibly with review) Ohm’s Law Kirkhoff’s Current Law Switches Using/reading

Pulse-width modulation terminology

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling 6

• Determine the duty cycle (D)

• Multiply the duty cycle by the peak voltage (Vp)

eff P p

DT

V D V VT

Page 7: SE-3910 Real-time Systems Week 2, Class 2 – Return stuff, New HW Assignment! – Quiz! (Possibly with review) Ohm’s Law Kirkhoff’s Current Law Switches Using/reading

In-class exercise

• How can you control the brightness of an LED, using tools we have discussed so far?

• How would you accomplish this if you went into lab right now?

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling7

Page 8: SE-3910 Real-time Systems Week 2, Class 2 – Return stuff, New HW Assignment! – Quiz! (Possibly with review) Ohm’s Law Kirkhoff’s Current Law Switches Using/reading

Advantages of Pulse-Width Modulation

• Click to add text

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling8

Page 9: SE-3910 Real-time Systems Week 2, Class 2 – Return stuff, New HW Assignment! – Quiz! (Possibly with review) Ohm’s Law Kirkhoff’s Current Law Switches Using/reading

Power of a signal (If time)

• P = IV• I = V/R• P = …• Let R = 1 (Ohm)• What is the instantaneous power of a

sinusoid?• What is the average power of a sinusoid?• What is the average power of a PWM signal?

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling9