course vocabulary ohm’s law and potential matlab ... week...• ohm’s law and potential •...

44
Course Vocabulary Ohm’s Law and Potential MATLAB Homework What’s next?

Upload: duongnhu

Post on 12-May-2018

216 views

Category:

Documents


2 download

TRANSCRIPT

• Course Vocabulary • Ohm’s Law and

Potential• MATLAB• Homework• What’s next?

Homework

Purchase Lab Supplies (by week of 1/29th) and Install MATLAB on laptop (by week of 1/22rd)

Purchase Engineering Paper and bring to lab and lecture

Complete P1 and P2 from Homework Problem List

Return Syllabus Acknowledgement Form - next Lab (25 pts)

SUCCESS POINTS:

• ATTEND EVERY

LAB AND LECTURE

IN ORDER TO BE

SUCCESSFUL…

• COMMUNICATE

WITH INSTRUCTOR

AND TA IF

SOMETHING

PREVENTS YOU

ATTENDING LAB

OR LECTURE!!!

Note: Lab Supply Instructions, Syllabus and Schedule, Lectures, Lab Modules, and Homework Problem List is on Course Website. Explore and become familiar with website content.

Teams – Monday 1:30 pm Lab (26608)

*LAB REPORT GRADER FOR THIS LAB

Dhari

Marco

Cesar

DiegoCamacho

Daniel

Karina

Bader

Julian

Jaime

Audrey

Oscar

Nahum

Miguel

Vicenttinni

Waldo

DiegoRamirez

Luis

INSTRUCTOR: QUINONESTAs: Manuel,* Roberto, Hector

SU

PP

LY

TA

BL

E

TEAM 1 TEAM 2 TEAM 4TEAM 3

TEAM 5

Teams – Tuesday 10:30 am Lab (23997)

*LAB REPORT GRADER FOR THIS LAB

Oscar

Sergio

Juan

Mario

Jose

Jordan

Jaime

Diego

Isaiah

Sebastian

Irene

AbigailBueno

Angel

Robby

AbigailOrtega

Jorge

Kevin

Mater

Adrian (Javier)

Michael

INSTRUCTOR: QUINONESTAs: Alejandro*, Zenait, Hector

SU

PP

LY

TA

BL

E

TEAM 1 TEAM 2 TEAM 4TEAM 3

TEAM 5

Teams – Wed 10:30 am Lab (28576)

*LAB REPORT GRADER FOR THIS LAB

Jarrah

Luis

Chris

Dante

Diego

AndresMena

Adam

Ahmad

Kevin

Javier??

Adrian

Laura

Alan

Arturo

Rogelio

AndresMeza

Ahmed

Eduardo

INSTRUCTOR: QUINONESTAs: Zenait*, Daniel

SU

PP

LY

TA

BL

E

TEAM 1 TEAM 2 TEAM 4TEAM 3

TEAM 5

Teams – Thursday 10:30 am Lab (22455)

*LAB REPORT GRADER FOR THIS LAB

Kevin

Moses

Ricardo

Mohammad

Ahmad

Mario

Brittany

Judith

Andre

Meshal

Glenn

Luis

Kobinna

Jonathan

Ceasar

Rafed

Salvador-

Xavier

Daniel

INSTRUCTOR: QUINONESTAs: Hector*, Zenait, Alejandro

SU

PP

LY

TA

BL

E

TEAM 1 TEAM 2 TEAM 4TEAM 3

TEAM 5

Teams – Thursday 1:30 pm Lab (22456)

*LAB REPORT GRADER FOR THIS LAB

Jacob

Andres

Ray

Bader

Arturo

Luis

Nathan

Saud

Majed

AlbertoDelgado

Abram

Carlos

Richard

Angel

Saleh

Ninghao

AlbertoSosa

Elihu

Fares

Fatemah

Derek

Zachary

Aritzy

Orion

INSTRUCTOR: NAJERATAs: Roberto*, Daniel

TEAM 1 TEAM 2 TEAM 4TEAM 3 TEAM 5

TEAM 6

General Course Vocabulary

Syllabus Grade contract between instructor and student; must by followed by instructor and understood by student

Communication Students can communicate with instructors in person and by email. In person meetings should take place preferably during office hours and/or by email. Students should expect a response by faculty members within 1 or 2 days, and students are expected to read UTEP emails on a daily basis.

General Course Vocabulary

Assignment Deadlines

Assume an assignment is due at the beginning of the next lab (if assigned during lab) or at the beginning of the next lecture (if assigned during lecture). Extensions are not given except for school sponsored activities and/or documented illness (at instructor’s discretion).

Absences When students are going to be absent, they should contact the instructor before the absence if possible, or as soon as possible after the absence. Absences are not excused except for conditions described under “Assignment deadlines.” Students are expected to be present during the entire lab and/or lecture.

General Course Vocabulary

Homework Format Homework Format is designed to include the problem statement for reference by reader, all data used to complete every calculation (given data, unit conversions, images/figures, unit conversions, etc…). High standards should be followed at all times so that methodical habits are formed.

Lab Report Expectations

Report expectations are high and students should (1) read each module BEFORE each lab, (2) complete the Pre-Lab assignment, (3) ensure the module rubric is being followed, (4) take notes for each module procedure, and (5) ask questions when a step or outcome is unclear.

General Course Vocabulary

Student Teams Students are placed in teams of 3 or 4 students. Teams are the same in the lecture and lab. Students should face each other and work together through each step to complete the assignment. STRONG TEAMS RESULTS IN HIGHER LEVEL LEARNING FOR THE ENTIRE CLASS!!

Team Homework Assignments

Team homework is assigned during the lecture and should be completed by all team members. Once the time is up, one random paper will be selected from each team.

Laboratory Terminology

Sensor Handling Please handle each sensor with care, they are expensive, and are made by your TAs.

Lab Space Maintenance Students are expected to maintain a clean lab environment out of respect to TAs and other students. Please wipe your area clean after every lab and/or open lab.

Component Handling Students will be using many types of resistors and capacitors. Please make sure to take out only 1 component at a time. If components fall out of bags, PLEASE DO NOT RETURN them to the bag. Hand them over to your TA!!!!

Laboratory Terminology

Open Labs Open Lab space is provided on a first come first served basis. Please follow all lab rules.

Checklists A checklist for each lab with 3-4 procedures should be stamped by TAs as each step is completed and attached to your lab report. Incomplete checklists will result in point deductions. A missing checklist will result in a zero lab report grade.

Pre-Lab Assignments

Pre-lab assignments are due at the beginning of the lecture the week before each module begins. Points earned for Pre-Labs count towards Homework grade.

Laboratory Terminology

Keep lab notebook Keep a lab notebook and take notes about your MATLAB filenames, results and observations. This will help you to write your lab reports.

Module Rubrics A lab report rubric is provided for each module. Please follow each rubric carefully, and consult with TAs during first couple of labs regarding report content.

Check Out Problems When your check list is complete, you will be provided with a 5 min check out problem set. Points earned here will go towards competencies.

Laboratory Breadboard Terminology

Capacitors Capacitors are made of insulators and store charge. When the voltage across each capacitor is changed, the capacitor does not respond instantaneously to the change in voltage. It takes time for capacitors to charge and discharge.

Resistors in Series The end of resistor 1 should be placed in row x, and the other end should be connected to the end of resistor 2 at row y, and the other end of resistor 2 should be connected to one end of resistor 3 at row z, and so on. (Like the ‘monkey’ game)

Resistors Resistors are used in a circuit to manage current and have wires at each end. If current is flowing through them, they result in a voltage drop across each end.

Laboratory Breadboard Terminology

Ground Ground is established on your breadboard by your power supply. This ground should ALWAYS be connected to the ground wire on your Analog Discovery.

Voltage Measurements

Voltage is always measured relative to some value. Sometimes it is measured relative to your power supply ground, and sometimes relative to your 2.5 V power supply reference. Make sure you understand why each type is used for each instance.

Resistors in parallel If resistors 1, 2 and 3 are connected in parallel, one end of each resistor should be at row x, and the other end of each resistor should be at row y.

Team Exercise – Puzzle (20 minute exercise)1. Each team should have 1 puzzle (handout) to work with.

2. Work with your team to complete the cross word puzzle. (10 min)

3. Work with a second team to find any missing answers. (5 min)

4. Share answers with the class and discuss (5 min)

Circuit Components

Source: F. Ulaby, M. Maharbiz, Circuits, 2nd Ed, National Technology and Science Press, 2013.

or

LEARN TO

RECOGNIZE

CIRCUIT

SYMBOLS

Circuit Components

STRAIN GAUGE I

CIRCUIT

WHICH TWO

LINES THAT

INTERSECT ARE

NOT

CONNECTED?

Circuit Measurements

Source: F. Ulaby, M. Maharbiz, Circuits, 2nd Ed, National Technology and Science Press, 2013.

Ammeter (low resistance): measures current without dropping voltage

Voltmeter (high resistance): measures voltage without drawing current

HOW TO

MEASURE

VOLTAGE

HOW TO

MEASURE

CURRENT

NEVER PLACE

AMMETER IN PARALLEL

WITH CIRCUIT

COMPONENT!!!

Electric Potential -Visualizing Voltage

Visualizing Voltage (or Potential)

What is the difference between Electric Potential (Voltage) and Potential Energy?

What happens to the potential energy of a particle when it reacts to an electric field?

- It decreases

How is potential energy visualized in this video?

- We use the equation for Potential Energy to calculate VoltageIN ALL OF OUR LAB

MODULES, WE WILL BE

MEASURING THE CHANGE

IN VOLTAGE…

WHAT IS POTENTIAL OR

VOLTAGE?

LET’S LOOK AT THE

SCIENCE…

Ohm’s Law

𝑉 = 𝐼𝑅 (recall unit conversion 1V = 1A )

V – Voltage is measured in units of volts (V)

I – Current is measured in units of amps (A), where an amp is equal to one coulomb/second (C/s)

R – Resistance is measured in units of ohms ()

THERE ARE MANY WAYS

TO APPLY OHM’S LAW

AND

WE WILL BEGIN EXPLORING

THEM IN THIS COURSE.

I

What is current?

Source: F. Ulaby, M. Maharbiz, Circuits, 2nd Ed, National Technology and Science Press, 2013.

Charge Movement

DC vs AC

Charge Notation (Direction)

CURRENT:

THE MOVEMENT

OF CHARGE

(ELECTRONS)

THROUGH A

CONDUCTOR

IF THERE IS

CURRENT, THERE

IS AN ELECTRIC

FIELD!!

Ohm’s Law

OHM’S LAW IS LIKE

WATER FLOWING IN A

PIPE…

THE PUMP IS LIKE

THE VOLTAGE

PUSHING THE

CURRENT THROUGH

THE PIPE…

THE RESISTANCE IS

LIKE HAVING A

THINNER PIPE, AND

RESTRICTING THE

AMOUNT OF WATER

GOING THROUGH

Ohm’s Law – Voltage, Current and Resistance

Ohm’s Law and Resistance

How are resistors used to change current?

What are some ways that we can increase the current?

- Use a smaller resistor

- Use resistors in parallel

LET’S

VISUALIZE

OHM’S LAW…

- Use a higher voltage

Key Circuit Analysis Question

What information do you need to determine the current flowing through a resistor?

𝐼 =𝑉1 − 𝑉2

𝑅

V1

V2

R

I

CURRENT

A POTENTIAL DIFFERENCE

ACROSS A RESISTOR IS

REQUIREDIN ORDER FOR CURRENT

TO FLOW THROUGH IT!!!

THE POTENTIAL

DIFFERENCE CREATES AN

ELECTRIC FIELD, AND THE

ELECTRIC FIELD MOVES

THE CHARGE THAT

CREATES THE CURRENT.

Electronics Wheel

VOLTAGE

RESISTANCE

CURRENT

POWER - LATER

Image Source: http://www.sengpielaudio.com/FormulaWheelElectronics.gif

Variables, Symbols, and Units

VARIABLE SYMBOL UNIT SYMBOL UNIT CONVERSIONS

VOLTAGE V VOLTS V V = A, V = J/C

CURRENT I AMPS A A = C/s

RESISTANCE R OHMS

POWER P WATTS W W = J/s

VARIABLE SYMBOL UNIT SYMBOL UNIT CONVERSIONS

ENERGY E JOULES J J = Nm

FORCE F NEWTON N N=kgm2/s2

CHARGE q COULOMB C

CAPACITANCE C FARAD F F = C/V

VOLTAGE – CURRENT – RESISTANCE - POWER

OTHERS: ENERGY-FORCE-CHARGE-CAPACITANCE

REMEMBER

SOME OF OUR

VARIABLES

AND UNITS

Introduction to Ohm’s Law: ExampleEE 1305 Name Group #/Lab Date

A simple circuit with a 5 V source and a 1 k resistor generates a current (I) through the circuit. (a) Use Ohm’s Law to determine the value of I. (b) Convert the current in part (a) from A to mA.

Equations/Unit Conv Figures/Circuits

Calculations

Solution

𝐼 =𝑉

𝑅=

5 𝑉 1 𝑘

1 𝑘

103 𝐴

𝑉= 0.005 𝐴

I = 0.005 A or 5 mA

103 = 1 𝑘 103𝑚𝐴 = 1 𝐴

HEADING

PROBLEM STATEMENT

ADD UNIT CONVERSTIONS

AND FIGURES

SET UP CALCULATION AND

/OR SOLVE FOR DESIRED

VARIABLE

INDICATE SOLUTION

𝑉 = 𝐴

IR = 1k5V

𝑉 = 𝐼𝑅

𝐼 =0.005 𝐴

103𝑚𝐴

𝐴= 5 𝑚𝐴

Introduction to Ohm’s Law: Team Exerise (30 pts)EE 1305 Name Group #/Name Date

A current of 6 mA flows through the circuit below. If a 12 V voltage supply is used, what value of R (in k) is required to generate the 6 mA current. Show all units and unit conversions.

Equations/Unit Conv Figures/Circuits

Calculations

Solution

103 = 1 𝑘 103𝑚𝐴 = 1 𝐴

HEADING

PROBLEM STATEMENT

ADD UNIT CONVERSTIONS

AND FIGURES

SET UP CALCULATION AND

/OR SOLVE FOR DESIRED

VARIABLE

INDICATE SOLUTION

𝑉 = 𝐴

I= 6 mA

R = ?12V

𝑉 = 𝐼𝑅

One solution from each team will be picked up.

𝑅 = ?

R = ?

MATLAB

•Enter commands in MATLAB to graph data points⁻ Enter each data point individually, or

⁻ Enter first and last data points, and specify the increment between these 2 numbers.

(we will do this today)

•Export data from Waveforms (Analog Discovery) and import into MATLAB

⁻ Data appears as a matrix with more than 1000 individual points

(we will do this next week, and for every module)

WE WILL USE

MATLAB IN

THIS COURSE

AS A

GRAPHING

TOOL IN

ORDER TO

MODEL LAB

RESULTS

MATLAB: Plotting Data

V = 5 ;

R =100:100: 1000;

I = V./R;

plot(R, I,’b’)

hold on

• Assigns the value 5 to the variable ‘V’ (the ‘;’ symbol prevents the value from

showing again on the command window)

• Sets Voltage values from 0 to 1000V in increments of 100

• Calculates current using Ohm’s Law for V = 5 V, and for each value of R. Assume V

is in volts, R in ohms, and I in amps. Need to use ./ instead of just / since R is a

matrix

• Plots the current (I) as a function of resistance (R) using a blue line

• Allows you to plot more than 1 plot on the same plot area, and to continue

working on formatting your graph.

MATLAB: Plotting Data

MATLAB: Plotting Data

MATLAB: Adding labels and text

gtext(‘Ohms Law’)

xlabel(‘Resistance (ohms)’)

ylabel(‘Current (amps)’)

This commands will add text to your plot. Type the gtextcommand and MATLAB will take you to your graph, then allow you to place the cursor where you want the text.

You can use the graphing window to add an arrow from the text to the line.

Notice that I spelled ‘Ohm’s’ as ‘Ohms’ -- Because this command contains ‘ ’ it is confusing to MATLAB when you add the apostrophe after the m

The xlabel and ylabel commands place labels on the x-and y- axes. You can also do this from the graphing window using the toolbar.

MATLAB: Graph

IS FONT TOO SMALL? LET’S FIX THAT.

MATLAB: Graph

• Select ‘Edit’ in main toolbar at top and click on ‘Figure Properties’

• Right click anywhere on the figure, select font, and adjust to at least 14. You can also right click on the gtext you added to increase that font as well.

MATLAB: Graph

WHAT COMPONENTS SHOULD YOUR GRAPH HAVE? FORMAT?

WHAT OBSERVATIONS CAN YOU MAKE ABOUT YOUR GRAPH?

HOW WOULD YOU WRITE THEM IN A REPORT?

MATLAB: Graph

FIRST TRY: EDITED TEXT:

Soldering Sessions

MON

1/29

2/5

TUES

1/30

2/6

WED

1/31

2/7

THURS

2/1

2/8

FRI

2/2

2/9

10:30-

noon

noon-1:30

1:30-3 1:30-3

3-4:30 3-4:30

Homework

•Purchase Lab Supplies (by week of 1/29th) and

•Purchase Engineering Paper and bring to lab and lecture

Complete P3 and P4 from Homework Problem List

SUCCESS POINTS:

• MAKE SURE THE

HOMEWORK

FORMAT FOR

EVERY MEMBER

MEETS OR

EXCEEDS FORMAT

STANDARDS

Note: Lab Supply Instructions, Syllabus and Schedule, Lectures, Lab Modules, and Homework Problem List is on Course Website. Explore and become familiar with website content.

What’s Next this week?

Will introduce…

• Innovation Exerise

• Passive Components (Resistors and Capacitors)

• Ethics and Academic Dishonesty

Please bring laptops to all lectures and labs.

What’s Next in Week 3?

Will introduce…

LAB• Breadboards and series circuits

• Analog Discovery: Wave Generator and Oscilloscope

• MATLAB: Exporting Data

LECTURE• Quiz 1: Unit conversions – Week of 1/29

• Series and Parallel Equivalent Circuits

• Application examples

Please bring laptops to all lectures and labs.

Questions?