MATLAB Tutorial for HW2/Lab3 Spring 2011. First: Find R T μ = Viscosity = 0.89cp =0.0089g/cm-s = 0.00000089g/um-s = 0.00000089 kg/mm-s MATLAB program.

Slides:



Advertisements
Similar presentations
Circuits.
Advertisements

Series and Parallel Circuits
Voltage and Current Division
Unit 8 Combination Circuits
Unit 8 Combination Circuits
Principles of Computer Engineering: Lecture 3: Kirchhoff’s Laws
ECE 3336 Introduction to Circuits & Electronics
Electric currents Chapter 18. Electric Battery Made of two or more plates or rods called electrodes. – Electrodes are made of dissimilar metals Electrodes.
Lab 3: Series & Parallel Resistors Only 9 more labs to go!! Potential V R, resistor Current, I water flow The energy can be extracted from the water if.
© red ©
ECE 201 Circuit Theory I1 Resistors in Series Resistors connected at a single node Current through each resistor is the same.
BASIC LAWS Ohm’s Law Kirchhoff’s Law Series resistors & voltage division Parallel resistors & current division Y -  transformation.
ECE 201 Circuit Theory I1 Resistors in Parallel Resistors connected at a single node pair Voltage across each resistor is the same.
Circuits Series and Parallel. Series Circuits Example: A 6.00 Ω resistor and a 3.00 Ω resistor are connected in series with a 12.0 V battery. Determine.
Objective of Lecture Describe what a single node, a distributed node, branch, and loop are. Chapter 2.3 Explain the differences between a series and parallel.
Lecture 2: Resistive Circuits Nilsson 2.5, , 3.7 ENG17 : Circuits I Spring April 2, 2015.
Ohm’s Law V = IR.
Objective of Lecture Explain mathematically how resistors in series are combined and their equivalent resistance. Chapter 2.5 Explain mathematically how.
Thévenin’s and Norton’s Theorems
Current, Resistance,Voltage Electric Power & Energy Series, Parallel & Combo Circuits with Ohm’s Law, Combo Circuits with Kirchoff’s Laws Review for Chapters.
Comprehension Check 1.You are given a 12V power supply with a light bulb with a resistance of 6.5Ω; what current flows in this circuit? 2.Using an ammeter,
Equivalent Resistance Series and Parallel Circuits.
MATLAB Session for CURIE Summer You Will do This for Unblocked and Blocked Devices Need to find inlet pressure to input into MATLAB program.
Concurrent Assessment DC Electronics 1 1.When you have a complete series circuit, is the current flow the same at every place in the circuit? 2.What is.
Ohm’s law and Kirchhoff's laws
Section 2: Series and Parallel Circuits. Series Circuits Picture of Series Circuit:Properties: 1)Current: 2) Voltage: 3) Equivalent Resistance:
Equivalent Resistance Series and Parallel Circuits.
Final Exam Review Current, Power, Voltage, Resistance Ohm’s Law Series & Parallel Circuits Electromagnetic Induction.
IEEE’s Hands on Practical Electronics (HOPE) Lesson 3: Ohm’s Law, Equivalent Resistances.
EXAMPLE 27.1: A copper wire carries a current of 10 A. It has a cross- sectional area of 0.05 cm 2. Estimate the drift velocity of the electrons.
ELECTRIC CURRENT 2 Ohm’s law shows the relationship between current, potential, and voltage. We need a few more rules to make predictions about current.
4.2.5 Parallel Circuits Wiring for Voltage. Definitions parallel circuit – a circuit in which two or more elements are connected so that each has its.
220  470  Gnd5V Currents Through Parallel Resistors 1 living with the lab © 2012 David Hall.
470  220  Gnd5V Currents Through Parallel Resistors 1 living with the lab © 2011 LWTL faculty team.
Tutorial 1 Question 1 If a given resistor in the lab has the following colours bands from left to right, what is its value? ( Yellow, Purple, Red, Gold)
SERIES RESISTORS AND VOLTAGE DIVISION In Fig the two resistors are in series, since the same current i flows in both of them. Applying Ohm’s law.
Lesson 2 How do electric circuits work?. Electric Circuits You know that electric circuits only work when the circuit is closed. OPEN.
Circuit Theory Tashfeen Khan. Introduction This chapter mainly deals with laws that are used to find currents, voltages and resistances in a circuit.
Combination Circuits. Simplifying Resistors in Combination Circuits 3Ω3Ω 11Ω.
EGR 101 Introduction to Engineering I1 Resistors in Parallel Resistors connected at a single node pair Voltage across each resistor is the same.
Circuits. In circuits, elements are connected by wires. Any connected region of wire has the same potential. (same color = same potential) The potential.
Series and Parallel Elements
Series and Parallel.  a single resistance that can replace all the resistances in an electrical circuit while maintaining the same current when connected.
Ohm’s Law Resistance in Series Circuits
Chapter 18 Electric Circuits Chapter Opening 18.1 Electric circuits and electric current 18.2 Electrical energy and voltage 18.3 Resistance and Ohm’s law.
Let’s Play! Please listen carefully and think before answering. Good Luck!!
CELLS IN SERIES AND PARALLEL Lesson 9. Cells in Series  The electric potential given to a single electron by a dry cell has an average voltage of around.
Objective of Lecture State Thévenin’s and Norton Theorems. Chapter 4.5 and 4.6 Fundamentals of Electric Circuits Demonstrate how Thévenin’s and Norton.
 As you should have observed from the lab experiment you performed yesterday, there is an inverse relationship between the current and the resistance.
Circuit Electricity. Circuit Builder Interactive: Builder/Circuit-Builder-Interactive.
Properties of Current Current must flow in a complete circuit - current cannot be “lost” anywhere. Kirchoff’s point rule - the current flowing into any.
Kirchhoff’s Current Law For a series circuit: In a series circuit there is only one path so the current must be… Kirchhoff’s Current Law For a series.
Resistance. Resistor A resistor is part of an electric circuit that resists the flow of electric current. As current flows through a resistor, some of.
ECE 3301 General Electrical Engineering
BASIC LAWS Ohm’s Law Kirchhoff’s Law
Nodes, Branches, and Loops
Direct Current Circuits
Nodes, Branches, and Loops
Announcement Next Exam will be on the Thursday when we get back from break The EM Exam will be ALL free response Review materials are posted and you will.
Series and Parallel Circuits
Source Transformation
Thévenin’s Theorem.
One Thing at a Time Series Circuits.
What Color is it?.
Resistance in Series and Parallel
Resistors in Parallel Resistors connected at a single node pair
Resistors in Series Resistors connected at a single node
CIRCUITS Current Resistance Ohms Law Power Series Circuits
Electronics Resistance Practice Problems R LabRat Scientific © 2018.
EGR 101 Introduction to Engineering I
Presentation transcript:

MATLAB Tutorial for HW2/Lab3 Spring 2011

First: Find R T μ = Viscosity = 0.89cp =0.0089g/cm-s = g/um-s = kg/mm-s MATLAB program wants these units

Find R T by Finding Effective Resistance of Network Find Total Resistance by first finding resistance of each channel THEN simplifying circuit to one equivalent resistor THEN, using Ohm’s Law, find ∆P THEN, from ∆P, Find P in ∆P = P in - P out

Individual Resistances: Watch Units! Channel NumberWidth (um)Height (um)Length(um)Resistance MATLAB wants pressures in units of Pascals: 1 Pa = 1 kg/m-s^2 = 1 kg/mm-s^2

D,E,F in series so R = R D +R E +R F B in parallel with B (B in parallel with B), in series with C Unblocked

Circuit Simplification We see that 3 resistances are in parallel: brown, blue, and brown: R combo = 1/ [(1/brown)+(1/blue)+(1/brown)] Then we see we have four resistances in series: red, green, R combo, and red R T =.96 kg/mm^4-s

Find ∆P V=IR ∆P = QR T Q = 2uL/min (or what you set it to in lab) Q = (2uL/min)*(mm 3 /uL)*(1min/60s) = mm 3 /s ∆P = (.0333 mm 3 /s)*(.96 kg/mm 4 -s) = kg/mm-s 2 ( kg/mm-s 2 )*(1000mm/1m) = 31.97kg/(m-s 2 ) 31.97kg/(m-s 2 )*(1 N/(kg-m/s 2 )) = 31.97N/m 2 = 31.97Pa ∆P = Pa

Find P in ∆P = P in – P out P in = ∆P + P out P out is =? Outlet tubing connected to atmosphere so…

Pressure cont. P out = P atm = 14.7 psi = 760 mmHg = Pa P in = = Pa = Pa

MATLAB: Label Nodes N1 N2 N3 N4 N6 N8 N9 N7 N5 Number of elements? 11

Modify example “data.txt” with this network (different nodes, channel widths, channel lengths) Run program

Check: V=IR ∆P = QR T R T = ∆P / Q Should be same as what you obtained through circuit simplification!

Blocked Channel Blocked channel corresponds to open circuit (that element removed from circuit)

With open circuit element removed: D,E,F in series so R1 = R D +R E +R F B,F,E,D in series so R2 = R B +R D +R E +R F C in parallel with R2

Simplified Circuit Blue and Purple are in parallel so R = 1/[(1/blue)+(1/purple)]

Further Simplified Green and black in series: R gb = green + black Rbrown in parallel with R gb : R = 1/[(1/R gb )+(1/Rbrown)] See four resistances in series: R T = red + green + R + red R T = kg/mm^4-s

Find ∆P V=IR ∆P = QR T Q = 2uL/min (or what you set it to in lab) Q = (2uL/min)*(mm 3 /uL)*(1min/60s) = mm 3 /s ∆P = (.0333 mm 3 /s)*( kg/mm^4-s) = kg/mm-s 2 ( kg/mm-s 2 )*(1000mm/1m) = kg/(m-s 2 ) kg/(m-s 2 )*(1 N/(kg-m/s 2 )) = N/m 2 = Pa ∆P = Pa

Find P in ∆P = P in – P out P in = ∆P + P out P out is =? Outlet tubing connected to atmosphere so…

Pressure cont. P out = P atm = 14.7 psi = 760 mmHg = Pa P in = Pa = Pa

MATLAB: Label Nodes N1 N2 N3 N4 N5 N7 N8 N6 N9 Number of elements? 10 as one was removed!

Modify example “data.txt” with this network (different nodes, channel widths, channel lengths) Run program

Check: V=IR ∆P = QR T R T = ∆P / Q Should be same as what you obtained through circuit simplification! Compare flow directions (reversal) to your prediction in lab! Reminder: Linear velocity (of beads determind with Image J) = volumetric flow rate / cross sectional area of channel

Questions?