Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

Similar documents
Laboratory 4: Feedback and Compensation

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

Operational Amplifier as mono stable multi vibrator

LABORATORY 2 THE DIFFERENTIAL AMPLIFIER

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Electronic Circuits Spring 2007

Reading: HH Sections , (pgs , )

Frequency Response of Filters

A Digital Timer Implementation using 7 Segment Displays

ANADOLU UNIVERSITY DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING

LAB4: Audio Synthesizer

CHAPTER 11: Flip Flops

A Lesson on Digital Clocks, One Shots and Counters

Step Response of RC Circuits

Electronics. Discrete assembly of an operational amplifier as a transistor circuit. LD Physics Leaflets P

RC Circuits and The Oscilloscope Physics Lab X

A Lesson on Digital Clocks, One Shots and Counters

Transistor Amplifiers

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME

MATERIALS. Multisim screen shots sent to TA.

Objectives The purpose of this lab is build and analyze Differential amplifiers based on NPN transistors (or NMOS transistors).

OPERATIONAL AMPLIFIER

3-Digit Counter and Display

Operational Amplifier - IC 741

Electronics I - Laboratory 1 Diode I/V Characteristics

Lab E1: Introduction to Circuits

Inductors in AC Circuits

Experiment 8 : Pulse Width Modulation

Lab 3 Rectifier Circuits

Lab 7: Operational Amplifiers Part I

Lab 5 Operational Amplifiers

Simple Op-Amp Circuits

Bipolar Transistor Amplifiers

Robot Board Sub-System Testing. Abstract. Introduction and Theory. Equipment. Procedures. EE 101 Spring 2006 Date: Lab Section # Lab #6

More Op-Amp Circuits; Temperature Sensing

AP331A XX G - 7. Lead Free G : Green. Packaging (Note 2)

TRANSISTOR/DIODE TESTER

The 2N3393 Bipolar Junction Transistor

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

LABORATORY 10 TIME AVERAGES, RMS VALUES AND THE BRIDGE RECTIFIER. Bridge Rectifier

Experiment 2 Diode Applications: Rectifiers

ECEN 1400, Introduction to Analog and Digital Electronics

Op Amp Circuit Collection

Basic Op Amp Circuits

OPERATIONAL AMPLIFIERS. o/p

Op-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.

Features. Applications

CONSTRUCTING A VARIABLE POWER SUPPLY UNIT

Fundamentals of Power Electronics. Robert W. Erickson University of Colorado, Boulder

DIODE CIRCUITS LABORATORY. Fig. 8.1a Fig 8.1b

Department of Engineering. A Pulse Induction Metal Detector. ENGN3227 Analogue Electronics. Dr Salman Durrani. Group TA5

EXPERIMENT NUMBER 8 CAPACITOR CURRENT-VOLTAGE RELATIONSHIP

See Horenstein 4.3 and 4.4

Series AMLDL-Z Up to 1000mA LED Driver

Using an Oscilloscope

Ignition Alert Anti-Theft Security System for Motorbikes with Remote Control Amit Yadav, Anushri Jha, Neelesh Gupta

Fundamentals of Signature Analysis

Lab 1: Introduction to PSpice

Conversion Between Analog and Digital Signals

RC & RL Transient Response

Lab Unit 4: Oscillators, Timing and the Phase Locked Loop

BJT Characteristics and Amplifiers

POINTS POSITION INDICATOR PPI4

Chapter 19 Operational Amplifiers

Design of a TL431-Based Controller for a Flyback Converter

AC Measurements Using the Oscilloscope and Multimeter by Mr. David Fritz

A Trigger Circuit for the 555 Timer IC Scope

Rectifier circuits & DC power supplies

Building the HVPS High Voltage Power Supply

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall Work in teams of two!

OPERATIONAL AMPLIFIERS

IEC ESD Immunity and Transient Current Capability for the SP72X Series Protection Arrays

Homework Assignment 03

School of Engineering Department of Electrical and Computer Engineering

DC Motor with Shaft Encoder

Annex: VISIR Remote Laboratory

LABORATORY MANUAL DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING

Building the AMP Amplifier

Module 11: Conducted Emissions

Physics 120 Lab 6: Field Effect Transistors - Ohmic region

Low Cost Pure Sine Wave Solar Inverter Circuit

How to Read a Datasheet

Obsolete Product(s) - Obsolete Product(s)

FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER

Constant Voltage and Constant Current Controller for Adaptors and Battery Chargers

= V peak 2 = 0.707V peak

RADIANT PLASMA 4700 Plasma Spark Generator

The basic set up for your K2 to run PSK31 By Glenn Maclean WA7SPY

Sequential Logic: Clocks, Registers, etc.

EE 1202 Experiment #4 Capacitors, Inductors, and Transient Circuits

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

Precision Diode Rectifiers

Theory of Operation. Figure 1 illustrates a fan motor circuit used in an automobile application. The TPIC kω AREF.

Basic Pulse Width Modulation

Operational Amplifiers

AP-1 Application Note on Remote Control of UltraVolt HVPS

VCO Phase noise. Characterizing Phase Noise

7-41 POWER FACTOR CORRECTION

Kit Watt Audio Amplifier

ETEC Digital Controls PIC Lab 10 Pulse Width Modulation

Transcription:

Pulse Width Modulation (PWM) LED Dimmer Circuit Using a 555 Timer Chip

Goals of Experiment Demonstrate the operation of a simple PWM circuit that can be used to adjust the intensity of a green LED by varying the value of one resistor. Demonstrate how a square wave generator can be built using an operational amplifier. Demonstrate how a summing amplifier can be used to add a dc offset to a time-varying signal. Describe how to test complex circuits.

Pulse Width Modulation An energy efficient technique that is used widely in industrial and consumer electronics to vary the power dissipated by a load. Electric motors Electric stove elements Light dimmers

PWM Circuit with 555 Timer

How a 555 Timer Works Astable Multivibrator Mode http://www.williamson-labs.com/480_555.htm

http://www.williamson-labs.com/480_555.htm

Voltage Comparator Op Amp circuit without a feedback component. Output voltage changes to force the negative input voltage to equal the positive input voltage. Maximum value of the output voltage, V o, is V+ if the negative input voltage, v 1, is less than the positive input voltage, v 2. Minimum value of the output voltage, V o, is V- if the negative input voltage, v 1, is greater than the positive input voltage, v 2.

http://www.williamson-labs.com/480_555.htm

Transistor As you will learn in ECE 2204, a transistor can be designed to act like a switch. When a positive voltage is applied to the base of the transistor (B), the transistor acts like there is a very small resistor is between the collector (C) and the emitter (E). When ground is applied to the base of the transistor (B), the transistor acts like there is a an open circuit between the collector (C) and the emitter (E).

Monostable Multivibrator The frequency of the output from the 555 timer is constant. It is determined by the RC time constant of the external components, Ra and C1, and the frequency of the voltage source tied to the Trigger input pin. The width of the 5V pulse within a cycle is determined by the amplitude of the signal on the Control pin of the 555 Timer chip.

PWM Voltage on Control pin Output voltage of the 555 Timer http://www.hobbyprojects.com/general_theory/pulse_modulation.html

Square Wave Generator: Relaxation Oscillator The duty cycle of the output will be 50% when R1 = R2. The frequency of the square wave output is given by: f 1 2ln(3) R C

The delay in obtaining the square wave output is a result of - the initial condition of the capacitor (IC = 0V), - the amount of electronic noise in the circuit, - the degree to which your op amp is nonideal, and - the RC time constant of the charging circuit for the capacitor.

Square Wave with Offset Voltage V o 0-5V square wave

Amplitude Reduction and Voltage Offset

PSpice Simulation using Vpulse

PSpice Simulation using Digclock

Light Emitting Diode (LED) A nonlinear component that looks like a battery when it is on and an open when it is off.

Discrete LEDs

Anode vs. Cathode Switch your DMM to the diode symbol. Place the red probe into the V-W plug and the black probe into the COM plug. Place your probes across the diode. If the result is a very small number, then your red probe is contacting the anode and the black probe is contacting the cathode of the diode. If the result is an overload (overflow) condition, then the red probe is contacting the cathode and the black probe is contacting the anode of the diode.

Simulating a LED in PSpice No LED part in the student PSpice so we use a series combination of parts. Dbreak (diode breakout part) Vdc Allows current to flow when the voltage on the anode is 0.7V higher than the voltage on the cathode. Set to the difference in the voltage needed on the anode to turn the LED on Our red and green LEDs need between 2-2.5V.

Experimental Procedure First, construct and test the square wave generator. Second, construct and test the summing amplifier circuit. Only after verifying that the two circuits operate correctly, connect them together. Third, construct the pulse width modulator circuit using the 555 timer. If the circuit doesn t work properly, rework the circuit as a monostable vibrator and connect the Velleman function generator (500 Hz square wave with a peak-to-peak voltage of 5V and an offset voltage of 2.5V) to the trigger.

Debugging Find reasonably points within circuit to make measurements. Start at the beginning of the circuit: Compare measured voltages with expected voltages obtained either through circuit analysis or simulation. This means that you should do your calculations and simulations before you construct the circuit. If they match reasonably well, move on to the next measurement point.

If they don t, do the simple things first: Verify that power is on and connected at the right places (particularly V+ and V- on op amps). Check component values. Run through wiring to make sure that the wires are going where they are supposed to and nothing is accidently touching. Make sure that your oscilloscope probes are connected to the correct points in the circuit. Replace Rf on the summing amplifier if the output voltage is not close of a 0V-5V square wave. The circuit usually works even if the max. of the output voltage is 3.5V instead of 5V. Only if you are confident that you have everything above right, consider replacing the op amp or 555 timer chip. If the circuit still doesn t function properly, see one of the OpEL GTA for assistance.

Pre-Lab This is a longer lab so the answers for the questions in the Analysis Section are: R LED = 2.5V/10mA = 250 W. f = 1/[2ln(3)(910 W)(1mF)] = 500Hz V opamp2 = -(1k W /3.6k W) V sqwave -(1k W /3.6k W)(-9V V opamp2 = -0.278 V sqwave + 2.5V You must enter the results from the PSpice simulations described in the experimental procedure (and on the next slide).

Pre-Lab Report 1. The plot generated from the transient analysis of the circuit in Figure 1 using: a 10 kω resistor instead of the trim pot for Ra V2 is a sinusoidal input voltage source with amplitude of 2V with a 2V offset voltage and a frequency of 60Hz. Vpulse should have a magnitude of 5V and a period of 200us with a 50% duty cycle. V2 and V3, are displayed as well as the output voltage. The final time for the transient analysis should be 50 ms. 2. The plot generated from the transient analysis of the circuit in Figure 1 where the value of Ra is changed to 1 kω. 3. The plot generated from the transient analysis of the circuit in Figure 1 where the value of Ra is changed to 100 Ω. 4. The plot generated from the transient analysis of the circuit in Figure 2 where the value of Ra is changed to 1 kω where voltage probes are placed atthe output pin of both operational amplifiers. The final time for the transient analysis should be 40 ms.

Post-Validation Report See the description of items to be include in the Instructions for LED Dimmer