Design Lab 6: Divide et impera

Similar documents
6.01 Fall to provide feedback and steer the motor in the head towards a light.

Lab 2.4 Arduinos, Resistors, and Circuits

6.01, Fall Semester, 2007 Assignment 9b - Design Lab, Issued: Wednesday, Oct. 31st 1

Laboratory Project 1a: Power-Indicator LED's

6.01, Fall Semester, 2007 Assignment 8, Issued: Tuesday, Oct. 23rd 1

Electric Circuit I Lab Manual Session # 2

EE283 Laboratory Exercise 1-Page 1

Ohm s and Kirchhoff s Circuit Laws. Abstract. Introduction and Theory. EE 101 Spring 2006 Date: Lab Section #: Lab #2

CECS LAB 4 Prototyping Series and Parallel Resistors

Design Lab Fall 2011 Controlling Robots

6.01 Infrastructure Guide

1-1. Kirchoff s Laws A. Construct the circuit shown below. R 1 =1 kω. = 2.7 kω R 3 R 2 5 V

Ohm's Law and DC Circuits

Measuring Voltage, Current & Resistance Building: Resistive Networks, V and I Dividers Design and Build a Resistance Indicator

Laboratory 6 Diodes and Transistors

EE 210: CIRCUITS AND DEVICES

Oregon State University Lab Session #1 (Week 3)

Workshop 9: First steps in electronics

Configurations of Resistors

Electric Circuit Experiments

Group: Names: Resistor Band Colors Measured Value ( ) R 1 : 1k R 2 : 1k R 3 : 2k R 4 : 1M R 5 : 1M

EECS40 Lab Introduction to Lab: Guide

Introduction to the Op-Amp

6.01 Infrastructure Guide

ELEG 205 Analog Circuits Laboratory Manual Fall 2016

Experiment 1: Breadboard Basics

M. Conner Name: AP Physics C: RC Circuits Lab

I. Objectives Upon completion of this experiment, the student should be able to: Ohm s Law

Lab #2 Voltage and Current Division

The Art of Electrical Measurements

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY

Activity P56: Transistor Lab 2 Current Gain: The NPN Emitter-Follower Amplifier (Power Output, Voltage Sensor)

Physics 120 Lab 1 (2018) - Instruments and DC Circuits

Experiment 3 Ohm s Law

Laboratory 2 More Resistor Networks and Potentiometers.

ELEG 205 Analog Circuits Laboratory Manual Fall 2017

EGR Laboratory 1 - Introduction to Circuit Analysis

LAB 1: Familiarity with Laboratory Equipment (_/10)

Experiment P49: Transistor Lab 2 Current Gain: The NPN Emitter-Follower Amplifier (Power Amplifier, Voltage Sensor)

Lab #1: Electrical Measurements I Resistance

Lab 11: Circuits. Figure 1: A hydroelectric dam system.

Lab 13 AC Circuit Measurements

Integrators, differentiators, and simple filters

Lab 3: BJT LED Driver

DC CIRCUITS AND OHM'S LAW

Experiment 13: LR Circuit

EXAMPLE. Use this jack for the red test lead when measuring. current from 0 to 200mA. Figure P-1

Lab 06: Ohm s Law and Servo Motor Control

Lab 3 DC CIRCUITS AND OHM'S LAW

Revision: Jan 29, E Main Suite D Pullman, WA (509) Voice and Fax

ECE ECE285. Electric Circuit Analysis I. Spring Nathalia Peixoto. Rev.2.0: Rev Electric Circuits I

EET 1150 Lab 6 Ohm s Law

THE BREADBOARD; DC POWER SUPPLY; RESISTANCE OF METERS; NODE VOLTAGES AND EQUIVALENT RESISTANCE; THÉVENIN EQUIVALENT CIRCUIT

Module 1, Lesson 2 Introduction to electricity. Student. 45 minutes

Experiment #5 Series and Parallel Resistor Circuits

Series and Parallel Resistors

SCRIPT. Voltage Dividers

Lab Reference Manual. ECEN 326 Electronic Circuits. Texas A&M University Department of Electrical and Computer Engineering

Materials: resistors: (5) 1 kω, (4) 2 kω, 2.2 kω, 3 kω, 3.9 kω digital multimeter (DMM) power supply w/ leads breadboard, jumper wires

Pre-Lab for Batteries and Bulbs

HANDS-ON ACTIVITY 4 BUILDING SERIES AND PARALLEL CIRCUITS BACKGROUND WIRING DIRECTIONS

Part 1: DC Concepts and Measurement

Introduction to the Laboratory

// Parts of a Multimeter

Laboratory 2 (drawn from lab text by Alciatore)

EE EXPERIMENT 2 ANALOG AND DIGITAL MULTIMETERS INTRODUCTION. Figure 1: Internal resistance of a non-ideal ammeter.

ENGR 120 LAB #2 Electronic Tools and Ohm s Law

Ahsanullah University of Science and Technology

Experiment P48: Transistor Lab 1 The NPN Transistor as a Digital Switch (Power Amplifier, Voltage Sensor)

HANDS-ON LAB INSTRUCTION SHEET MODULE 3 CAPACITORS, TIME CONSTANTS AND TRANSISTOR GAIN

Motomatic Servo Control

These are samples of learning materials and may not necessarily be exactly the same as those in the actual course. Contents 1.

Experiment 9: Electrical Measurements

B EE Laboratory 1 - Introduction to Circuit Analysis

Digital Electronics & Chip Design

General Lab Notebook instructions (from syllabus)

Laboratory 2. Lab 2. Instrument Familiarization and Basic Electrical Relations. Required Components: 2 1k resistors 2 1M resistors 1 2k resistor

EE Laboratory 2 - Nodal Analysis and Thévenin Equivalents

EXPERIMENT 1 INTRODUCTION TO LABORATORY INSTRUMENTS

Teacher s Guide - Activity P51: LR Circuit (Power Output, Voltage Sensor)

HANDS-ON LAB INSTRUCTION SHEETS MODULE

Physics Electronics Temple University, Fall C. J. Martoff, Instructor

ECE 220 Laboratory 3 Thevenin Equivalent Circuits, Constant Current Source, and Inverting Amplifier

IPR LA-3 KIT last update 15 march 06

VISUAL PHYSICS ONLINE. Experiment PA41A ELECTRIC CIRCUITS

Robots in Hallways. 1 Introduction. Goals:

EE 241 Experiment #7: NETWORK THEOREMS, LINEARITY, AND THE RESPONSE OF 1 ST ORDER RC CIRCUITS 1

Experiment 15: Diode Lab Part 1

Exp. 1 USE OF BASIC ELECTRONIC MEASURING INSTRUMENTS, PART I

Introduction to Pspice

Building the LVPS Low Voltage Power Supply

Lightbulbs and Dimmer Switches: DC Circuits

Laboratory 3 Building and measuring circuits on the breadboard rev 1.3

STEP 0 Prepare the Materials.

Laboratory Project 1B: Electromyogram Circuit

EE-3010 Lab # 5 Simulation of Operational Amplifier Circuits

Appendix A: Laboratory Equipment Manual

Chabot College Physics Lab Ohm s Law & Simple Circuits Scott Hildreth

ECE 3155 Experiment I AC Circuits and Bode Plots Rev. lpt jan 2013

Experiment #3: Experimenting with Resistor Circuits

Transcription:

Design Lab 6: Divide et impera You will need to use a computer capable of running python. Athena machine: Do athrun 6.01 update and add -f 6.01. Lab laptop: Do athrun 6.01 update. Personal laptop: Download design lab 6 zip file from course web page. Code is in ~/Desktop/6.01/lab6/designLab/. To start, you will also need: power supply plus power cord, a single, separate, proto board, four clip leads, four 1kΩ resistors, and a multimeter with two probes. You can get other parts as you need them. In today s lab you will build some simple circuits and start learning how to use the 6.01 circuit simulator CMax. 1 Proto Board We will build our circuits on a proto board like the one shown below. The proto boards have holes into which wires and components can be inserted. Each column of 5 holes in the center areas is connected internally, as indicated by two representative vertical boxes (above). Holes in the top row (marked here with a red line, but sometimes indicated with Athena is MIT's UNIX-based computing environment. OCW does not provide access to it.

Design Lab 6 Fall 09 2 blue instead) are connected internally (as are those in the second row, bottom row and next-tobottom row), as indicated by the long horizontal boxes (above). These rows are convenient for distributing power (we will typically use 10 V) and ground. Use a single, separate, proto board as is shown in the previous picture for this lab. Do not use the proto boards that are attached to the power supply!!! It is conventional to use the top rail (which can be either red or blue) for positive supply voltages and the next rail (which can be either red or blue) for ground. Notice that the highest numbered column is on the right and the lowest is on the left. Connect the power supply terminals labeled 15V and GND to the power rails of your separate proto board using alligator clip leads. Connect the alligator clip to the proto board through short (less than 1 ) wires (from a wire kit); connect it to the terminal on the power supply by just sticking one jaw of the alligator clip into the center of the terminal. Set the multimeter to measure voltage, and connect its probes to the power rails of the proto board using alligator clip leads. Connect the alligator clip to the proto board through short wires (from a wire kit). Now, turn on the power supply and measure the power supply voltage with your multimeter. Adjust the positive supply to 10V. 2 Layout and Simulation We will be using a simple layout and simulation tool, called Circuits Maximus, or CMax, to its friends, to design and test circuits before constructing them. The following figure shows a screenshot of CMax. You can run CMax by going to a Terminal window, navigating to lab6/designlab and typing > python CMax.py Or, you can start Idle, open the file CMax.py and do Run Module. If you open CMax.py through Idle, close it down by killing Idle. Once CMax is running, press the Open File button to open the file mystery.txt, which specifies the circuit shown below.

Design Lab 6 Fall 09 3 Check Yourself 1. Draw a schematic diagram for the circuit shown in the previous figure. Note the meter probes, attached to the ground rail and to location A50. Predict the voltage that will be measured across those two nodes in the circuit. Press the Simulate button (and choose the file lib601/noinput.py) to make the simulator calculate V 0. The result will be printed in the window from which you started Python. Do your calculations match the simulation? 3 Resistor Dividers A voltage divider is a circuit that uses resistors to generate an output voltage that is a fixed fraction of the input voltage. The following figure illustrates a voltage divider as well as the resulting relation between its input voltage V i and output voltage V o : V i R 1 R 2 R 2 R 1 R 2 V i If R 1 = R 2, then V i 2. 3.1 Cascaded Dividers Can we cascade two divide-by-two circuits to produce a divide-by-four circuit? Consider the following design, where all of the resistors have 1 kω resistance.

Design Lab 6 Fall 09 4 10V V o Lay out this circuit using CMax. There is some documentation on how to use it in the Robot Infrastructure Guide on the course web site (Referenc Materials). Try to make your layout simple and clear. Use short wires oriented horizontally or vertically where possible. Try to avoid crossing wires, and do not run wires across other components! You will be using your layout as a guide to constructing a physical circuit. Jumbled wires are more difficult to construct correctly, and they are extremely difficult to debug! Connect the probes so that they measures V o. Press the Simulate button to measure V o. The value of V o will be typed in the window from which you started the program. Check Yourself 2. What is the simulated value of V o? Check Yourself 3. Calculate V o using circuit theory. Compare your result to that of the simulation. Layout your circuit with physical parts. Make your physical layout look exactly like the CMax version. Trim the resistor leads so that the resistors lay flat against the proto board. Check Yourself 4. Do you get the same voltage V o? Exactly? Checkoff 1. A voltage divider with equal resistors produces an output voltage that is half the value of the input voltage. However, two voltage dividers connected in cascade do not produce an output that is one quarter of the input voltage. Explain why. Show that your circuit looks exactly like the layout in CMax. Show the results from your circuit and simulation.

Design Lab 6 Fall 09 5 3.2 Potentiometer A potentiometer (or pot) is a three-terminal device whose electrical properties depend on the angle of its mechanical shaft. The following figure shows a picture of the pot that we will use in lab (left), the electrical symbol used for a pot (center), and an equivalent circuit (right). (1 α)r R αθ αr As the angle θ of the input shaft increases, the resistance between the bottom and middle terminals increases and the resistance between the middle and top terminal decreases so that the sum of the top and bottom resistors is constant. By connecting a pot as a voltage divider (top terminal to a voltage source and bottom terminal to ground), the voltage at the middle terminal is made proportional to the angle of the shaft. Check Yourself 5. Wire a potentiometer to a 10 V supply and ground. What are the min and max voltages at the middle terminal of the potentiometer? Start a new file in CMax and lay out your potentiomter circuit, connect the probes to measure the voltage at the middle terminal of the potentiometer (relative to ground). The potentiometers in CMax have a maximum resistance of (approximately) 5 kω. Hold the Shift key and press Simulate, then choose the lib601/threesteps.py test. You should see two plots. The plot in blue shows the (simulated) values of α (which goes between 0 and 1). The plot in green shows the resulting voltage diffference betwee the red and blue probes. Check Yourself 6. What are the simulated values of the voltage, V o, at the middle terminal for each of the values of α (0.25, 0.5, 0.75)? The graphs are a bit hard to read exactly, so estimate as best you can.

Design Lab 6 Fall 09 6 Check Yourself 7. Calculate the values V o using circuit theory. Compare your results to those of the simulation. In CMax, wire a resistor, R L, that connects the middle terminal of the potentiometer to ground. Try values of the resistor of: 10 kω, 1 kω, and 100Ω. Simulate the voltage, V o, at the middle terminal for each of the resistor values. Use the lib601/threesteps.py test. Check Yourself 8. Calculate V o as a function of R L, for α = 0.5, using circuit theory. Compare your result to those of the simulations. Build the circuit on your proto board; repeat the experiment. Check Yourself 9. What are the measured values of the voltage, V o, at the middle terminal for each of the resistor values? Checkoff 2. Explain your results to a staff member.

MIT OpenCourseWare http://ocw.mit.edu 6.01 Introduction to Electrical Engineering and Computer Science I Fall 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.