Homework Analog Discovery: Oscilloscope Series Equivalent Resistance/Ohm s Law Breadboard: Series Circuit Analog Discovery: Waveforms Exporting to MATLAB
Analog Discovery and Waveforms Make sure have waveforms on computer Take out Analog Discovery
Syllabus Signature Form: 25 pts PLEASE TURN IN SYLLABUS ACKNOWLEDGEMENT FORM Acknowledgement: I acknowledge that I have received the syllabus for EE 1305 (28168 or 21332) and EE1105 (26608, 23997, 28576, 22455 or 22456) for the Spring 2018 semester, and that I understand all attendance, competency, and assignment requirements. Print Name Student Signature Date
Turn in Homework Lab Supplies Complete P3 and P4 from Homework Problem List
COMMUNICATE WITH TA s AND INSTRUCTOR COMMUNICATE WITH TEAM MEMBERS Problem Solving Methodology HOW DO WE SOLVE COMPLEX ENGINEERING PROBLEMS? UNDERSTAND PROBLEM: WRITE PROBLEM STATEMENT/PROCESS GATHER INFORMATION TO SOLVE PROBLEM: DATA/UNIT CONV DEVELOP/IDENTIFY STRAGEDY TO SOLVE PROBLEM: UNIT ANALYSIS SET UP SOLUTION AND SOLVE PROBLEM: ATTEMPT SOLUTION CHECK SOLUTION: VARIOUS METHODS, DOES IT MAKE SENSE
Unit Analysis Source: https://www.wired.com/2010/11/1110mars-climate-observer-report/
P3 P3 - An electron has charge, q, equal to 1.6 x 10-19 coulombs (C), and is experiencing an electric field equal to 5 x 10 11 V/cm. (a) Calculate the force on the charge using E = F/q, where E is the electric field and F is the force on the charge. (b) Calculate the work (in units of ev) done on the charge if the charge is accelerated a distance of 1 cm. Use the equation W = F x d, where W is the work done on the charge, d is the distance the charge is moved, and F is the force on the charge. Use the following unit conversions: 1.6 x 10-19 J = 1 ev, 1 V = 1 J/C and 1 J = 1 N m. Show all units and unit conversions for each of your calculations.
P4 P4 - The current flowing through three resistors in series (R 1, R 2 and R 3 ) is 7.69 ma. Since the three resistors are in series, the current flowing through each resistor is the same. (a) Use Ohm s Law to determine the voltage drop across each resistor. (b) Add the voltage drop across each resistor. Show all units and unit conversions for each of your calculations.
SUPPLY TABLE Teams Monday 1:30 pm Lab (26608) Dhari Diego Camacho Bader Oscar Marco Daniel Julian Nahum Waldo Cesar Karina Jaime Miguel Diego Ramirez Audrey Vicenttinni Luis TEAM 1 TEAM 2 TEAM 3 TEAM 4 INSTRUCTOR: QUINONES TAs: Manuel,* Roberto, Hector TEAM 5 *LAB REPORT GRADER FOR THIS LAB
SUPPLY TABLE Teams Tuesday 10:30 am Lab (23997) Oscar Jose Isaiah Angel Kevin Sergio Jordan Sebastian Robby Mater Juan Jaime Irene Abigail Ortega Adrian (Javier) Mario Diego Abigail Bueno Jorge Michael TEAM 1 TEAM 2 TEAM 3 TEAM 4 INSTRUCTOR: QUINONES TAs: Alejandro*, Zenait, Hector TEAM 5 *LAB REPORT GRADER FOR THIS LAB
SUPPLY TABLE Teams Wed 10:30 am Lab (28576) Jarrah Diego Kevin Alan Luis Andres Mena Adrian Arturo Andres Meza Chris Adam Laura Rogelio Ahmed Dante Ahmad Eduardo TEAM 1 TEAM 2 TEAM 3 TEAM 4 INSTRUCTOR: QUINONES TAs: Zenait*, Daniel TEAM 5 *LAB REPORT GRADER FOR THIS LAB
SUPPLY TABLE Teams Thursday 10:30 am Lab (22455) Kevin Ahmad Andre Kobinna Salvador Moses Mario Meshal Jonathan Xavier Ricardo Brittany Glenn Ceasar Daniel Mohammad Judith Luis Rafed TEAM 1 TEAM 2 TEAM 3 TEAM 4 INSTRUCTOR: QUINONES TAs: Hector*, Zenait, Alejandro TEAM 5 *LAB REPORT GRADER FOR THIS LAB
Teams Thursday 1:30 pm Lab (22456) Jacob Arturo Majed Richard Alberto Sosa Andres Luis Alberto Delgado Angel Elihu Derek Ray Nathan Abram Saleh Fares Zachary Bader Saud Carlos Ninghao Fatemah Aritzy TEAM 1 TEAM 2 TEAM 4 TEAM 3 TEAM 5 Orion INSTRUCTOR: NAJERA TAs: Roberto*, Daniel TEAM 6 *LAB REPORT GRADER FOR THIS LAB
Today Analog Discovery: Oscilloscope - begin to learn how to use Analog Discovery Breadboards: Series learn how to place resistors in series on breadboard and make measurements. Analog Discovery: Wave Generator - set up an AC signal MATLAB: Exporting Data - learn how to export data from the Analog Discovery
Analog Discovery TAKE OUT YOUR ANALOG DISCOVERY (AD) AND CONNECT THE WIRES TO THE HARDWARE PIECE. Analog Discovery is a multi-measurement kit that allows you to transform your computer into a circuit measurement lab. You will later learn that the Analog Discovery is composed of many different devices that allow you to test a wide variety of circuits. CONNECT THE AD TO YOUR COMPUTER AND OPEN WAVEFORMS
Waveforms Software LOOK AT THE NUMBER OF TOOLS IN THE AD OPEN THE OSCILLOSCOPE Waveforms is the software necessary to display all the measurements into your computer. Waveforms will allow you to create workspaces to measure and test different circuit scenarios. Every function of the Analog Discovery device will be controlled through Waveforms. OPEN WAVEFORMS OPEN THE POWER SUPPLY
Analog Discovery: Tools SCOPE WAVEGENERATOR POWER SUPPLY PATTERNS NETWORK ANALYZER
Analog Discovery: Channels CHANNELS: Output channels 1 Orange (+/-) 2 Blue (+/-) Ground - Black Waveforms Generator - W1/W2 Yellow Power Supply - V+ Red (up to 5V) Wires 0 to 15 Digital wires
Analog Discovery: Oscilloscope Operation Select Instrument Oscilloscope Turn on Screen settings Time Scale (1 min/div to 10 ns/div) Voltage Scale (5 V/div to 100 µv/div) Offset (from scale or manual) Channels 1 and 2 (on or off) Measurements Maximum Average
Image: Science Buddies Staff, Squishy Circuits Project 2: Add Even More Lights, [Online document], 11/21/15, [2/15/16], Available: http://www.sciencebuddies.org/science-fair-projects/project-ideas/elec_p074/electricity-electronics/squishy-circuits-project-2 Series Circuit Series Circuits.only one path, same current through all resistors voltage drop across each resistor equals voltage rise across source. Series Equivalent Resistance: V Req = R 1 + R 2 + R 3 + Rn
Series Circuit: Equivalent Circuit Series Equivalent Resistance: Req = R 1 + R 2 + R 3 + Rn V EQUIVALENT CIRCUIT I = V R eq CURRENT THROUGH ALL RESISTORS IS THE SAME AND EQUAL TO THE CIRCUIT CURRENT OF THE EQUIVALENT CIRCUIT
DISCUSS WITH TEAM, TAs OR INSTRUCTOR HOW YOU ARE GOING TO SOLVE THE PROBLEM BEFORE BEGINNING. Series Circuit/Equivalent Resistance Teamwork Exercise EE 1305 Name Group #/Name Date Calculate the equivalent resistance and the circuit current for the circuit below if R1 is 100, R2 is 500, and R3 is 1 k, and the power supply is 5 V. Then calculate the voltage drop across every resistor. Equations/Unit Conv Figures/Circuits Req = R 1 + R 2 + R 3 + V = I R = I Req 10 3 = 1 k V = A 5 V Calculations Solution
Breadboard: Series Circuit BUILD A SERIES CIRCUIT ON YOUR BREADBOARD USING YOUR 5 V POWER SUPPLY FROM YOUR ANALOG DISCOVERY USING (A) 100, 500 AND 1 k RESISTORS IN SERIES (B) MEASURE THE VOLTAGE DROP ACROSS EACH RESISTOR. BY MOVING THE GROUND V Series Equivalent Resistance: Req = R 1 + R 2 + R 3 + Rn EQUIVALENT CIRCUIT I = V R eq CURRENT THROUGH ALL RESISTORS IS THE SAME AND EQUAL TO THE CIRCUIT CURRENT OF THE EQUIVALENT CIRCUIT
Analog Discovery: Wave Generator and Export Oscilloscope Data In this exercise you will be: Generate two waves Extract the window data Import the data into MATLAB, and Plot the data using MATLAB
Analog Discovery: Wave Generator and Export Oscilloscope Data Connect your Analog Discovery to your laptop and open Waveforms. STEP 1: Open Waveforms Select Waveforms Run Waveforms STEP 2: Connect Wires using Header Pins W1 to Ch1+ (wave from W1 will be seen by Ch1+) to Ch1- (measurement made by Ch1 will be relative to Grd) W2 to Ch2+ (wave from W2 will be seen by Ch2+) to Ch2- (measurement made by Ch2 will be relative to Grd)
Analog Discovery: Wave Generator and Export Oscilloscope Data STEP 3: Open Oscilloscope Select Scope Run Scope Turn on Ch1 and Ch2 measurement wires (located on extreme right side of screen)
Analog Discovery: Wave Generator and Export Oscilloscope Data STEP 4: Set up waves parameters for W1 andw2 Go back to Wavegen Window For W1, Select a frequency of 1 khz and an amplitude of 20 mv. To open W2, Select Channels from the menu and check 2. For W2, select a frequency of 500 Hz and an amplitude of 50 mv. Hit Run for Ch2
Analog Discovery: Wave Generator and Export Oscilloscope Data STEP 5: View waves W1 and W2 in the Oscilloscope Select 50 mv/div for the Range for both Ch1 and Ch2 Count the number of cycles visible on the screen for W1 Change the time settings so that there are only 5 cycles visible on the screen for W1 (channel 1). When you click on the down arrow next to Base: you can move up and down the selections using your arrow key on your keyboard. STEP 6: Ask TAs or Instructor to check your work (this is something you want to do while progressing through each Module in the lab).
Analog Discovery: Wave Generator and Export Oscilloscope Data STEP 7: Export Data using commands on next slide. For the filename, use your initials followed by W1W2. Ex. SQW1W2
Analog Discovery: Saving Window Data Click on File and then Export on the upper left side of screen Choose Main Window under Source Uncheck the Comments and Header boxes Choose a folder to save it in and save using the filename specified in the previous slide. Ex. SQW1W2. Save the file as a.csv file. You will use this file name in the MATLAB code to plot your data in MATLAB.
Analog Discovery: Wave Generator and Export Oscilloscope Data STEP 8: Import Data into MATLAB using commands on next slide
Go to MATLAB MATLAB: Importing Window Data Select File, then Open and select your file for All files (*,*) Change the imported data to Numeric Matrix this ensured that you import both columns of data, the time and the voltage. Click on Import Selection In MATLAB Command Window, type whos This will bring up the data you imported. If you are expecting to import voltage as a function of time, you will see the following: SQw1W2 8192x3 which means you have 8192 data points (time, Ch1 voltage, Ch2 voltage)
MAKE SURE YOUR PLOT HAS 2 CURVES/LINES, A RED ONE AND A BLUE ONE. HAS A FONT THAT IS LARGE ENOUGH TO SEE WHEN YOU COPY IT INTO A WORD DOC. HAS AN X AND Y LABEL WITH UNITS SHOWS CONSISTENCY IN THE TEXT FORMAT FOR THE X- AND Y- AXES. Analog Discovery: Wave Generator and Export Oscilloscope Data STEP 9: Plot your data using red for Ch1 and blue for Ch2. >> plot(sqw1w2(:,1),sqw1w2(:,2),'r') >> hold on >> plot(sqw1w2(:,1),sqw1w2(:,3),'b') Step 10: Add x and y labels Step 11: Label (using text and arrows) the red line as W1: 1kHz_20mV and the blue line as W2: 500Hz_50mV. Step 12: Ask your TA to check your plot for accuracy and format.
Analog Discovery: Wave Generator and Export Oscilloscope Data
MATLAB: Graphing Line Codes MATLAB Command y m c r g b w k Line Color/Style Yellow Magenta Cyan Red Green Blue White Black * Stars. Dots -- Dashed - Solid
Homework SUCCESS POINTS: FOCUS ON PROBLEM SOLVING STRATEGIES AND CONCEPTS WHAT ARE YOU LEARNING? P6 and 1 page result (limit to ½ page in Microsoft word) One short paragraph describing figure/data to include (1) the figure number Figure 1, (2) what the graph is voltage vs time, and (3) what signals represent waveforms settings for W1 and W2. Figure Figure 1: Description of figure
LECTURE Quiz 1: Unit conversions Week of 1/29 (2/1 - Najera), 2/2 - Quinones) Series and Parallel Equivalent Circuits Application examples Please bring laptops to all lectures and labs.
What s Next in Week 4? Will introduce LAB Shorthand notation: series and parallel Voltage divider Breadboard: Parallel circuits/voltage Divider Peer review of one page results (from lab) LECTURE Voltage, Current, Resistance and Power Module 1 Lab Report template, IEEE citation Format & Report Rubric Please bring laptops to all lectures and labs.
Questions?