LAB_REPORT_1

.docx

School

Texas A&M University *

*We aren’t endorsed by this school

Course

217

Subject

Electrical Engineering

Date

Dec 6, 2023

Type

docx

Pages

3

Uploaded by ChiefThunder8105

Report
LAB 1: ERROR ANALYSIS AND ORIENTATION Benjamin Moore, David Lyster , Sri Kotaru Texas A&M University College Station, TX 77843, US. Abstract This report covers the theory behind moving averages and error propagation. Using the DAQ in the lab a number N voltages will be measured over a period of time. The average voltage that the DAQ measures can be found by using the concept of moving averages and the uncertainty can be found using the concept of error propagation. This exercise provides an idea of uncertainty associated with the DAQ Keywords: voltage, average, uncertainty 1. Introduction The purpose of this lab is to find the measured voltage values using the DAQ in the lab. The DAQ will give you N amount of voltage values based on how long the code is run. Then by using equation 1 Vavg can be found. The uncertainty of the voltage should also be calculated using equation 2. There will be two sets of data obtained for this lab one set being based off of a known voltage and the second based off a mystery voltage. The important physics concepts needed for this lab are moving averages as well as uncertainty. 2. Experimental Procedure To begin the experiment connect a computer to the Jetson using an ethernet port. Once connected, open MobaXterm, this will grant the user access to the DAQ and allow them to run code. Assignment 1: Measuring a known voltage In this part of the lab the user will find the value of a known voltage. Turn on the voltage box and set it to a voltage value of choice. Then, use the command examples/daq/daq_to_csv.py and examples/daq/plot_channel.py in MobaXterm, this obtains the voltage data from the DAQ. After running the code it will output a file named output.csv that contains the measured voltage values. Given this data, use equation 1 to obtain the moving average of the voltage data and equation 2 to calculate the uncertainty. Assignment 2: Finding a Mystery Voltage In this part of the lab the user will have to find the value of a mystery voltage outputted by the DAQ. In MobaXterm, launch the mystery_voltage script and then use the same commands in assignment one to collect the data. Then find the output.csv file again and observe the new data and once again use equation 1 and 2 to find the voltage and the uncertainty values Equation 2 Equation 1
3. Results and Analysis Assignment 1:Measuring a known voltage Figure 1: Average Voltage Figure 2: Variance v. Samples In assignment 1 the voltage box was set to 2V so the numbers from the DAQ should be around that value. The average voltage value we received was 2.0115 and the uncertainty value we calculated was .00206. Assignment 2:Finding a Mystery Voltage After using the mystery voltage script we used the moving average equation to find the average voltage of all the given values. The value of the mystery voltage that we found was 2.1726 and the uncertainty we calculated was .0935 Figure 3: Rolling Average of Mystery Voltage
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help