Purpose of This Minilab

Slides:



Advertisements
Similar presentations
Physics 2025 : Analog Circuits / Digital Circuits Purpose of This Minilab Gain some basic experience in reading and building electronic circuits. Test.
Advertisements

1 Electronic Circuits OP AMPs. 2 Electronic Circuits Operational amplifiers are convenient building blocks that can be used to build amplifiers and filters.
CSC 405 Lab 1 - Building a Simple Combinatorial Circuit In this laboratory exercise you will learn about the layout of some small-scale integrated circuits.
Basic Electricity and Electronics Mr. McClean Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
Lecture 10: Amplifiers and Comparators Today, we will Learn how to design op-amp circuits to perform a task  Piece together basic op-amp circuits and.
Copyright © 2013 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 6 The Operational Amplifier.
Embedded Programming and Robotics Lesson 1 Basic Electricity and Electronics Transistor Basics Lesson 1 -- Basic Electricity1.
Chapter 1 Quick review over Electronics and Electric Components Prepared By : Elec Solv.
Electronic Components
Purpose Learn how to use basic electronic equipment:
Op-Amp Oscillator. Reading Schematics: Battery What’s this?
TIMERS.
1 DC ELECTRICAL CIRCUITS ELECTRONIC TRAINER AND BREADBOARDING.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lab 2P. 1Winter Quarter Digital Electronics Lab 2.
Systems Approach Burglar Alarm Project PROBLEM SITUATION DESIGN
Ch4 Electronic Components Circuit/Schematic Symbols.
ENGR 1181 First-Year Engineering Program College of Engineering Engineering Education Innovation Center First-Year Engineering Program Solar Energy Meter.
Intro to Digital Electronics. Classifications of Electronic Circuits Switching Circuits – by turning electricity on and off. – Figure 1 – Known as the.
Beath High School - Int 1 Physics1 Intermediate 1 Physics Electronics Input, Process and Output Digital Logic Gates.
Physics 2225: Working With Electronic Equipment Purpose  Learn how to use basic electronic equipment: Digital multi meter Oscilloscope Function generator.
Fundamentals of Electric Circuits Chapter 5 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Channels of Communication HL – Option F.4 Mr. Jean.
Electronic. Analog Vs. Digital Analog –Continuous –Can take on any values in a given range –Very susceptible to noise Digital –Discrete –Can only take.
 Seattle Pacific University EE Logic System DesignSwitchLogic-1 Switches AB A simple on/off switch IF switch is closed THEN light is on + 5V -
1 Electrical Skills Voltage and Its Measurements.
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved. 1.
Analogue Electronics Higher Physics Unit 2 Electricity And Electronics Introduction to Op-Amps.
 A transistor is the basic building block of electronic components.  The average computer may have millions of them within its circuits.  Essentially,
An operational amplifier (Op-Amp) is a differential amplifier that amplifies the difference of voltages applied to its two input terminals (differential.
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
Circuit Calculations. SERIES CIRCUITS BASIC RULES A series circuit has certain characteristics and basic rules : 1. The same current flows through each.
Electronics SL – Option C.3 HL – Option F.5. Operational Amplifier An amplifier is a device that takes a signal and makes its bigger. – An mp3 player.
Logic Gates Unit 16.
Logic gates.
Introduction to Digital Electronics
Transistor.
Microcontroller basics
Fundamentals of Electric Circuits Chapter 5
ELG4135: Electronics III (Fall 2005)
Analogue Electronic 2 EMT 212
EI205 Lecture 13 Dianguang Ma Fall 2008.
Feedback No feedback : Open loop (used in comparators)
Instructor:Po-Yu Kuo 教師:郭柏佑
You have 5 minutes to look over your table of sensor and outputs ready for a spot check on the different symbols Start Timer 5 mins
What is an Op-Amp Low cost integrating circuit consisting of:
Potential Divider Aims What is a potential divider
Introduction to Handshaking Communication with SSC-32
How to avoid catching things on fire.
Industrial Electronics
تقویت کننده های عملیاتی
Digital Control Systems Waseem Gulsher
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Operational Amplifiers
Digital Electronics Lab 2 Instructor:
Lecture 10: Amplifiers and Comparators
Instructor:Po-Yu Kuo 教師:郭柏佑
Basic Electronics Part Two: Electronic Components.
Schmitt Trigger Circuits
Comparator Circuits AIM:
Digital Fundamentals Floyd Chapter 1 Tenth Edition
ELECTRONIC SYSTEMS Note: There is no compulsory question set on Section 25 of the syllabus. Questions set on topics within Section 25 are always set as.
Medical electronics II RC operation amplifier circuits
Medical electronics II
Prepared by: Engr. Qurban Ali Memon Incharge of Final project Lab.
Fundamentals of Electric Circuits Chapter 5
Electricity and Circuits
Chapter 5 OUTLINE Op-Amp from 2-Port Blocks
Logic Gates AIM: To know the different types of logic gate
2019 Investing Now Summer Program
Presentation transcript:

Purpose of This Minilab Gain some basic experience in reading and building electronic circuits. Learn how digital circuits and digital logic work. Learn some basic digital to analog interfacing.

Analog Circuits – The Voltage Divider Suppose you have a fixed voltage power supply (Vin). To generate a voltage Vout (between 0 and Vin): Build a “voltage divider” using two resistors (R1 and R2). Vin R1 Vout R2 Ground (0V)

The Voltage Divider – How it Works The total resistance of the circuit is: Rtotal = R1+R2 (1)  The current from Vin to ground is: Vin Vout Ground (0V) R1 R2 Ohm’s law for R2: I Combining (2) and (3):

The Voltage Divider – How to Choose R1 and R2 Example task: Vin = 5V ………..create Vout = 2V Vin Vout Ground (0V) R1 R2 Many Possible Solutions: R1 = 3 W R2 = 2 W R1 = 30 W R2 = 20 W R1 = 300 W R2 = 200 W R1 = 3000 W R2 = 2000 W etc. I

The Voltage Divider – Which Solution to Choose? Many Possible Solutions: R1 = 3 W R2 = 2 W R1 = 30 W R2 = 20 W R1 = 300 W R2 = 200 W …………………………. R1 = 300 K W R2 = 200 K W etc. Current I is very large (maybe too large for the power supply to handle) Current I is very small (Problem when attaching circuits with smaller resistances to Vout).

Attaching a Simple Circuit to Voltage Divider Choose R1 and R2 such that: R1<<R3 R2<<R3 Otherwise Vout drops much lower and is no longer what you designed it to be. Vin R1 Vout R3 R2 For Activity 1 you should choose R1 and R2 to be less than 10kW but not too low. Recommended range: a few few hundred W. attached circuit

Voltage Divider on the Bread Board To 5V (Vin) To Ground (0V) R2 R1 Vout

Measuring Vout of Voltage Divider Black clip should be on ground. For correct polarity make sure GND indicator goes into “COM” input on DMM.

Inverting Amplifier Circuit – How it Works Negative feedback loop + - R3 Vout Vin V+ V- I Virtual equality:  Voltage at “-” input = Voltage at “+” input (V- = 0Volt because V+ = 0Volt) Current flows around op-amp (and basically none into it, because op-amp has very high input resistance)  Current through R3 = Current through R4

Inverting Amplifier Circuit – How it Works Vin - Vout R3 + V+ Applying Ohm’s Law on R3 : Applying Ohm’s Law on R4:

Inverting Amplifier Circuit – How it Works Vin - Vout R3 + V+ Example: R4 = 10 kW R3 = 5 kW  Gain = - 2 This means: If Vin = 2V then Vout = – 4V Notice how EASY it is to design an amplifier with a specific gain simply by choosing the proper ratio of R4 and R3 !!!

Inverting Amplifier Circuit – Amplifying a Signal (just to show you more applications…) Vin Vout I I V- - Vout R3 + V+ Sinusoidal output signal: Is inverted Has different amplitude Sinusoidal input signal

The Inverting Amplifier Circuit YOU Will Build Note: +12V and -12V connections for amplifier not shown in diagram. Vin - Vout R3 + Gain of amplifier circuit: Voltage divider from Activity 1 Note: Vin is now the input voltage of the amplifier circuit (don’t confuse this with prior Vin from voltage divider).

Amplifier is an Integrated Circuit (IC): LF351 Notice the semicircular cutout (helps to identify pin number) 1 2 3 4 8 7 6 5 - + +12V Out pin 1 8 pins (connections) 4 on each side All pin diagrams are shown in the lab manual. -12V pin chart for LF351 (view from top) (pins 1, 5, 8 are not used)

Connecting LF351 to Create Amplifier Circuit +12V R1 R2 5V 1 8 R3 2 7 Vout 3 6 4 5 -12V

Using the Breadboard for IC connection 5 holes in a “column” are electrically connected. But: Red and Green are NOT connected across the center break. The center break

Inserting IC into Bread Board Insert IC into bread board across the center divide: 4 pins on each side. Push IC all the way down. indentation pin 1 Example: Use any of these 4 holes to connect to pin 4 pin 4

Connecting +12V and –12V Power to the IC Out 8 7 6 5 - + 1 2 3 4 - + -12V

Complete Amplifier Circuit Voltage divider R4 Clips attached as shown measure Vin of amplifier circuit. R3

Measuring Vout of Amplifier Circuit The output voltage of the amplifier circuit is measured where R4 attaches to pin 6 of the LF351 IC.

Taking out an IC Grab the IC with the yellow IC removal tool. Pull evenly and straight upwards. The IC removal tool helps to avoid bent or broken pins.

Binary Numbers In digital electronics information is coded as binary numbers which contain only Ones and Zeroes. Example: 1001 (binary) = 1x23+0x22+0x21+1x20 = 9 (decimal) Any decimal number can be converted to a binary number and stored electronically (e.g., in a computer). 1’s and 0’s are often stored as High (5Volt) and Low (0 Volt) voltages. For example, the number shown above (1001) could be represented by 4 “data lines” that have either high or low voltages. 1 0 0 1 5V 0V 0V 5V

Digital Circuits – The Basic Idea Input #1 Output Input #2 Digital circuits have one or more “inputs” and one or more “outputs”. Inputs are wires or pins to which a given voltage is applied. Outputs are wires or pins that provide a certain voltage. The value of the output voltage depends on the value of the voltages applied to the inputs. Never apply a voltage to an output! The output already generates its own voltage. You can “read” that voltage (e.g., with a DMM).

Digital Circuits – The Basic Idea Input #1 Output Input #2 Why are they called “digital”? Because we apply only two specific voltages to the inputs and we can only receive one of these two voltages on the output, nothing else. These two voltages are called “High” and “Low” voltage. They are also called “1” and “0”  They can represent a binary number (“digit”). Digital circuits are some of the basic building blocks in computers.

Digital Circuits – TTL Input #1 Digital Circuit Output Input #2 “TTL” (Transistor-Transistor Logic) circuits are digital circuits that use the following “High” and “Low” voltages: High = 5 Volts = “1” Low = 0 Volts = “0”

Digital Circuits – Example: The Inverter Input Output Inverter has only one input and one output. How the inverter behaves: If you apply a “high” voltage to the input  You get “low” voltage at the output. If you apply a “low” voltage to the input  You get “high” voltage at the output. 5V on input  0V on output 0V on input  5V on output …in other words … “1” on input  ”0” on output “0” on input  “1” on output …in other words …

Digital Circuits – The Inverter The official symbol This ring symbolizes “inverting”. Truth Table for Inverter Input Output 0 1 1 0

The “AND” Gate – Another Digital Circuit Q B Truth Table for AND Gate Input A Input B Output Q = A•B 0 0 0 0 0 0 1 0 1 1 1

The “NAND” Gate – Another Digital Circuit Indicates “invert” A Q B Truth Table for NAND Gate Input A Input B Output Q = A•B 0 0 1 0 1 1 1 0 Just like “AND” gate but additionally inverted”.

What Good are Digital Circuits? Digital circuits are basically automated decision makers. Very simple example: A burglar alarm that rings a bell when a door is open but only when the alarm is actually activated. You can use an “AND” gate. Circuit that produces 5V signal if door is open and 0V when closed. Circuit that rings a bell when 5V is applied. Circuit that produces 5V when alarm is “ON”, 0V when it is “OFF”. By combining digital circuits you can build very complicated decision making machines.

4081 : The AND Gate IC (contains 4 gates) 5 Volt View from the top Input A Input B Output Q A and B could, for example, be connected to SW1 and 2 on the bread board. Output Q could, for example, be connected to the logic indicator (green LED) on the bread board.

Digital to Analog Converter (DAC) The music on an I-pod or on a CD is stored digitally as lots of binary numbers. To actually create sound when playing the music these binary numbers (digital) must be converted into “analog” voltages (the garden-variety that is not limited to specific “High” and “Low” voltages). Once those analog voltages are generated from the digital data they can then be applied to a loudspeaker. Speaker CD (digital data) DAC

Building a Basic DAC With an Op-Amp + - R4 Vout V+ V- I 5.6kW 10kW 22kW 47kW SW1 SW2 SW3 SW4 Switches (5V or 0V) 0 Volt We know this voltage (virtual equality) I2 I3 I4 More current means higher Vout.

+ - R4 Vout I 5.6kW 10kW 22kW 47kW SW1 SW2 SW3 SW4 I2 I3 I4 I1 0 Volt I2 I3 I4 I1 If SW1 is “0”  I1=0 If SW1 is “1” (5V)  I1=5V/5.6kW Similar for I2, I3, I4

With SW1….SW4 you can switch on and off I1…..I4. + - R4 Vout V+ V- I 5.6kW 10kW 22kW 47kW SW1 SW2 SW3 SW4 0 Volt I2 I3 I4 I1 With SW1….SW4 you can switch on and off I1…..I4. I will become more or less. Vout will become more or less.

+ - R4 Vout I 5.6kW 10kW 22kW 47kW SW1 SW2 SW3 SW4 I2 I3 I4 I1 V- 0 Volt I2 I3 I4 I1 Because the 4 resistances are different, the 4 currents (when switched on) will be different. When SW1 is switched on more current is added than when SW2 or SW3 or SW4 is switched on. SW1 has a greater influence on Vout than SW2 (contributes more to I). SW2 has a greater influence on Vout than SW3. Etc..

+ - R4 Vout I 5.6kW 10kW 22kW 47kW SW1 SW2 SW3 SW4 I2 I3 I4 I1 0 Volt I2 I3 I4 I1 The 4 resistances are weighted differently by factors of about 2, 4, and 8 just like digits in binary numbers. If the 4 inputs represent a 4 digit binary number, the output voltage is proportional to the value represented by that binary number. Build the circuit and try it out!

Remember: These power point presentations are available on our website, so you can download them on the computer at your lab table.