What have we learned so far?  When we apply a voltage, the capacitor will charge up to the applied voltage.  The capacitor charges up exponentially.

Slides:



Advertisements
Similar presentations
Controller Tests Stephen Kaye Controller Test Motivation Testing the controller before the next generation helps to shake out any remaining.
Advertisements

Circuits Electromotive Force Work, Energy and emf
Engineers in Training Day 2 Developed by Shodor and Michael Woody.
Diode Clamper Circuit. By:Engr.Irshad Rahim Memon
Introduction to electronics lab ENGRI 1810 Using: Solderless prototype board (white board) Digital multimeter (DMM) Power Supply Signal Generator Oscilloscope.
Fair Use Building and Research Labs Presents
CAPACITORS. WHAT IS A CAPACITOR? A Capacitor is a device that stores an electrical charge or energy on it’s plate.
Register Digital Multimeter Usage Click Register to begin the course.
Seismic Octave Programming for Analog/Digital Converters Michael W. Siekman Electrical and Computer Engineering Senior Capstone Design Project 2007 Advisor:
Chapter 19 DC Circuits.
Direct Current Circuits
Chapter 19 DC Circuits. Units of Chapter 19 EMF and Terminal Voltage Resistors in Series and in Parallel Kirchhoff’s Rules EMFs in Series and in Parallel;
Lab #4: RC and RL Circuits remember what capacitors and inductors are remember why circuits containing them can have currents that change with time.
Lab #4: RC and RL Circuits
ESE Lab Computer based Temperature Control Sid Deliwala, ESE Labs.
Lab #4: RC and RL Circuits remember what capacitors and inductors are remember why circuits containing them can have currents that change with time.
Arduino Week 3 Lab ECE 1020 Prof. Ahmadi. Objective Data acquisition (DAQ) is the process of measuring an electrical or physical phenomenon such as voltage,
MEASUREMENT DEVICES OUTLINE Multimeters Analog Multimeters
“Power Supply” Controls Voltage Difference in Voltage is set Output Current is “as requested” by attached device.
Electronic Instrumentation Experiment 6: Diodes * Part A: Diode I-V Characteristics * Part B: Rectifiers Part C: PN Junction Voltage Limitation Part D:
Embedded Programming and Robotics Lesson 1 Basic Electricity and Electronics Transistor Basics Lesson 1 -- Basic Electricity1.
Foundations of Physics
Experiment 15 A Series RC Circuit
Series RC Circuit. Shunt resistor It is good practice to short the unused pin on the trimpot when using it as a variable resistor Velleman function generator.
E102 LAB Temperature Control of Heated Block. Temperature Controller Specifications Design, simulate and test a control system for temperature control.
Purpose Learn how to use basic electronic equipment:
Series RC Circuit. Shunt resistor It is good practice to short the unused pin on the trimpot when using it as a variable resistor Velleman function generator.
Institute Of Applied Technology ATE 1012 Grade 10 Eng. Rose Hasan.
Write a program that will automatically control the brightness of a light based on the surrounding light level. Automatic Night Light.
Basic electronics Optical interfaces: Detect and control.
Solar Energy Station Directions. Making a Solar-Powered Circuit 1.Make sure your solar panel is in direct sun. 2.Get the clear LED bulb. 3.Use a red jumper.
General Engineering Polytechnic University Laboratory 9: Electrical Filters.
FCI. Direct Current Circuits: 3-1 EMF 3-2 Resistance in series and parallel. 3-3 Rc circuit 3-4 Electrical instruments FCI.
ENGR 6806 – Motor Control Prepared By: Rob Collett September 15, Office: EN2074.
LAB 1 MATLAB, dSPACE and Simulink
Single Time Constant Measurement Dr. Len Trombetta 1 ECE 2100.
Chapter 26 DC Circuits. Units of Chapter EMF and Terminal Voltage - 1, Resistors in Series and in Parallel - 3, 4, 5, 6, Kirchhoff’s.
Register Digital Multimeter Usage Click Register to begin the course.
DC Circuits. EMF and Terminal Voltage Electric circuit needs a battery or generator to produce current – these are called sources of emf. Battery is a.
With a knowledge of how to connect cells in parallel and series, we can figure out how to arrange batteries to deliver a desired voltage, and in some cases,
Experiment 21 Design a Traffic Arrow.
Lab #3 and Lab 4: RC and RL Circuits Remember what capacitors and inductors are Remember why circuits containing them can have currents that change with.
Vadodara Institute of Engineering kotanbi Active learning Assignment on Single phase AC CIRCUIT SUBMITTED BY: 1) Bhatiya gaurang.(13ELEE558) 2)
Physics 2225: Working With Electronic Equipment Purpose  Learn how to use basic electronic equipment: Digital multi meter Oscilloscope Function generator.
1 18 Overview resistor & capacitor circuits Kirchoff’s Rules voltmeters & ammeters household circuits & safety Homework: 17, 27, 31, 33, 55, 67, 71, 85.
University of Pennsylvania Basic Electronics Things to be covered: What is electricity Voltage, Current, Resistance Ohm’s Law Capacitors, Inductors Semiconductors.
RC Circuits MS&T Physics 2135, Lab O4. Objectives  Measure the time constant of a series RC circuit.  Determine C Note: You will be using a 1F, 5V electrolytic.
Data Acquisition Device (DAQ) A DAQ is a cool little device that allows you to interface hardware to a computer. Here is what we will do:  Create a square.
RC Circuits.
Simple Circuits 1 st year physics laboratories University of Ottawa
Unit 7, Chapter 20 CPO Science Foundations of Physics.
How to Build a Digital Physical System - Lab Lecture 2.
Chapter 19 DC Circuits. EMF and Terminal Voltage Any device that can transform a type of energy into electric energy is called a source of electromotive.
Investigating how the charge on a capacitor changes with time. This experiment uses the same circuit as the one with the motor, but instead of the motor.
Mrs V.S.KharoteChavan,E&Tc,PC poly
Simple Circuits 1st year physics laboratories University of Ottawa
Simple Circuits 1st year physics laboratories University of Ottawa
Instrumentation & Root Mean Square Voltage
SCADA for Remote Industrial Plant
Direct Current Circuits
Schematic diagram of part of a house wiring system
Direct Current Circuits
Lesson 2: Introduction to Control programming using Labview
Direct Current Circuits
Chem. 133 – 2/2 Lecture.
Circuit in DC Instruments
Circuits & Voltage.
Prepared by: Engr. Qurban Ali Memon Incharge of Final project Lab.
FIGURE 15–21 When connecting a starter tester such as a Sun VAT 45 to the vehicle, make certain that the inductive probe is placed over all of the cables.
2019 Investing Now Summer Program
Presentation transcript:

What have we learned so far?  When we apply a voltage, the capacitor will charge up to the applied voltage.  The capacitor charges up exponentially.  The capacitor takes about 5 time constants (5 τ = 5RC) to fully charge.  The capacitor takes one time constant to charge 63.2% of the way up.  The same things hold true when a capacitor discharges in an RC circuit. RC Circuits

In Engineering Foundations, you wired up a series RC circuit to a 1.5V battery and measured the voltage across the capacitor as it charged using a multi-meter and a stop watch. It worked OK because the cap charged pretty slowly.

RC Circuits What happens if we have a voltage signal that changes over time (ac signal) instead of a constant voltage (dc signal) like we get from a battery?

RC Circuits The capacitor will try to follow the signal by charging and discharging. For example, if we apply a square wave and allow enough time for the capacitor to charge and discharge, will we see something like this:

Lab Today We are going to apply square waves and sine waves to a series RC circuit and measure the capacitor voltage as it charges and discharges.

Data Acquisition Device (DAQ) A DAQ is a cool little device that allows you to interface software and hardware. Here is what we will do:  Create a square wave or a sine wave in MATLAB  Send the signal out through the DAQ as a voltage signal applied across the RC circuit  We will also use the DAQ as a voltmeter to measure the voltage across the capacitor  The DAQ will send these measurements back into MATLAB so we can easily plot the voltage vs. time

Analog Discovery DAQ Analog IN Channels: The two orange wires labeled 1+ and 1- form an Analog IN channel. IN means into the DAQ from hardware. This input channel is our replacement for the multi meter. The orange wires will be placed across the capacitor to measure the voltage. The DAQ will take 10,000 measurements every second !! The blue wires (2+ and 2-) are another IN channel which we won’t use today.

Analog Discovery DAQ Analog OUT Channels: The yellow wire labeled W1 and black ground wire labeled form an Analog OUT channel. OUT means out of the DAQ and applied to the circuit. This output channel is our replacement for the battery. These wires will be placed across the RC circuit to apply a voltage signal. W2 allows for a 2 nd Analog Out signal but we won’t use that today.

MATLAB Code On the metasite for Blackboard, there is an m-file called RC.m This file has almost all of the code that you need for today. there are a few lines you will need to fill in.

MATLAB Code This section of code first clears all variables then checks to make sure the DAQ is connected and is recognized by MATLAB. If MATLAB can’t see the DAQ, it will print out the statement in line 13 and terminate the program

MATLAB Code This section of code gets things started by setting up a session allowing MATLAB to communicate with the DAQ. We used a variable name, DAQ,, to name our session.

MATLAB Code This section of code turns on the Analog Input Channel (1+ and 1-) to measure Voltage. We set the range on the voltmeter to read voltages between -2.5 and 2.5 volts.

MATLAB Code This section of code sets the sample rate to 10,000 samples per second. So, we will get 10,000 voltage readings every second. Try doing that with a stop watch!

MATLAB Code This section of code turns on the Analog Output Channel (W1) which will allow us to apply a square wave or sine wave voltage signal across the RC circuit.

MATLAB Code This section of code will ask the user to enter in the period, T, of the square wave using an input statement.

MATLAB Code This section of code is where your team will complete three lines of code to create a square wave called AppliedVoltage (a bit later on today)

MATLAB Code This section of code will queue up your AppliedVoltage square wave and get it ready to send out. The startForeground command in line 61 is the start command and collects the voltage measurements in a vector called CapVoltage and the corresponding times in a vector called timestamps.

MATLAB Code These commands ought to look pretty familiar!

Circuit