DOC PREVIEW
Rose-Hulman ECE 205 - Introduction to Mobile Studio

This preview shows page 1-2-3 out of 8 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

ECE-205 Lab 2 Introduction to Mobile Studio Throughout this lab we will focus on the use of the Mobile Stuido board for measuring the response of first and second order circuits. Our goal is to become familiar with some of the features of this board and how to use it. We will also continue to introduce some Matlab programming. The end result of this Lab will be a memo written to me, that includes the figures you generated using either Mobile Studio or Matlab. Each figure needs to have a figure number and a caption. The body of the memo should be fairly short (less than one paragraph). Do not reiterate what you did in the lab, but tell me what parts of the lab were confusing, what you liked and what you didn’t like. PART I Read through Professor Eccle’s Minilab 0, and set up your Mobile Studio board. Once the software is installed, you no longer need to be the local manager. PART 2 1) Using a bread board construct the following circuit using a 1 μf capacitor and a 1 k Ωresistor. These components should be available in your lab kit. We will measure the output of the circuit as the voltage across the capacitor. We will be trying to estimate the time constants for this circuit as we vary the resistance. The time constant for this circuit is RCτ=, and we will measure the time constant by determining the 10%-90% rise time, , and using the formula rtln(9)rtτ= you derived in homework. R+()svt ()cvt ‐ ‐ + C 1 2) The connection pins for the Mobile Studio boards are shown in the figure below: Connect the source (AWG1) and ground (GND) as the input to your circuit, and connect A1+ to the positive end of the capacitor (where you think it will be positive) and connect A1- to the negative end of the capacitor. If you get these reversed you will just get an output that is the negative of what you expect. 3) Start Mobile Studio. If you cannot find the icon, use Start All Programs Rensselaer Mobil Studio Desktop Mobil Studio Desktop → → → → 2 4) Start the Function Generator. Set channel 1 to a 50 Hz square wave, with a 0 DC offset and peak to peak value of 2.0 volts. Set channel 2 to a zero output (we will not be using it). Use the push pin to minimize the function generator once it is set. 5) Start the Oscilloscope. Set channels 1 and 2 to 500 mV/div and to DC coupling. Set the input on channel 1 to A1-Diff (this measures the voltage across the capacitor, or the difference between A1+ and A1-), and the input on channel 2 to AWG1 (the signal being generated). Be sure to Enable both of the channels. 6) Locate the right hand panel with the word Trigger at the top. Set the Mode to Normal and the Source to Ch2. On the left edge of the oscilloscope you will see a short segment of a red line. Hover the cursor over the line until you see a line across the screen, this is the triggering threshold. It needs to be in the middle of a well defined signal (such as channel 2). If your oscilloscope does not seem to be able to lock onto a signal, be sure to check your triggering level. (You may also want to play with changing the trigger to the Falling or Rising edge of a signal). 7) Lower down in the same column you will find controls for the Horizontal scaling. In this panel set the Time/Div to 2.00 ms and the Mode to Y-T. 8) Start the system, by clicking on the Start/Stop button in the lower left of the screen. You should get a scope that looks more or less like the following: a capacitor changing and then discharging repeatedly. 3 9) Next we want to make measurements on our signal. On the right panel, Enable the cursors. We will be making measurements on channel 1, so you will need to find the green cursors. You may find them in the middle of the screen, or lurking just at the edges. The measurements are taken from the location of the special symbols on the cursors. See the bottom of the cursor panel for the shape of these symbols. 10) Align one of the cursors at the top of your output signal, and the other at the bottom of your output signal. The difference of these two cursors will be displayed in the Cursors panel (under Delta) . The output signal should be around 2 volts peak to peak. Let’s assume you measured the peak to peak value as , so we have ch1_high – ch1_low =ΔΔ Then align one of the cursors at an amplitude of ch1_low + 0.1Δ, and the other at an amplitude of ch1_high – 0.1 , this will give us a measure from 10% to 90% of the signal. Now look again at the Delta for this signal, but look at the absolute value of the time difference. This should be the rise time, . Using this rise time, compute the time constant using the formula Δrtln(9)rtτ= Your time constant should be very close to 1 ms for this circuit. Compute your percent error, and if it is more than 15% off ask for help. Record your work on a sheet of paper you will attach to the end of your memo. 11) Next we want to capture a screen shot to put into your memo. Near the top left corner of the oscilloscope is a camera icon. Click on the camera icon to save a screen shot to a file. Then (right now!) include this screen shot in your memo for this lab. Do not wait to see if it all worked out! Put in a figure number and an appropriate caption. 12) Finally, we would like to get the data that the scope is plotting. Near the top left of the oscilloscope, there is a (floppy) disk icon. Click on that and save your data to a .csv file. You should save this file in a convenient folder, such as the folder you made last week, since we will next be using Matlab. PART III In this part we are going to learn how to read in the data from the scope and plot it. We will also learn how to make measurements on the data. 1) Open the .csv file you generated, and remove the first row. Matlab often has difficulty reading text and data (it forms a data structure, but we don’t want to deal with that now). Save the file. I saved my file as bobdata.csv. 2) Start Matlab and open a new m-file. 3) We first read in the data as a matrix, then extract the columns of the matrix. The first column is the time, the second column is the data for channel 1, and the third column is the data for channel 2. The following Matlab commands should accomplish this: data = importdata('bobdata.csv'); % read in the data file 4 t = data(:,1); …


View Full Document

Rose-Hulman ECE 205 - Introduction to Mobile Studio

Download Introduction to Mobile Studio
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Introduction to Mobile Studio and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Introduction to Mobile Studio 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?