openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit...

20
EET-3120/E260 Sensors and Instruments Lab # 3 NI ELVIS II Workspace Environment Name of the Student: Faiz Rasool E-Mail: [email protected] Group Members: Jonathan Rivera 0 | Page Department of Electrical & Telecommunication Engineering

Transcript of openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit...

Page 1: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

EET-3120/E260Sensors and Instruments

Lab # 3

NI ELVIS II Workspace Environment

Name of the Student: Faiz RasoolE-Mail: [email protected] Members: Jonathan Rivera

Yivan CortorrealSection: 35142Date: 04/23/2015Submitted To: Vivian Vladutescu

0 | P a g e

Department of Electrical & Telecommunication Engineering

Page 2: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

Table of Content

Objective 2

Introduction 2

Required Components 3

Procedure 4

Experimental Results 5 – 10

Multisim Stimulation 10 - 14

Conclusion 15

1 | P a g e

Page 3: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

Objective:

Purpose of this exercise is to get familiar with NI ELVIS II environment. Learn how to

use the workstation to measure electronic component properties. Build circuits on the protoboard

and analyze them with the NI ELVIS II suite of SFP instruments. Design and simulate a circuit

using Multisim before building the circuits on the NI ELVIS II workstation and controlling it

with a Lab VIEW program.

Introduction:

The National Instruments Educational Laboratory Virtual Instrumentation Suite (NI

ELVIS) is a hands on prototyping software that integrates commonly used instruments such as

function generator oscilloscope and digital Multimeter etc. into ideal form for the purpose to be

used in classroom and for laboratory experiments. We can make a simple connections of the

prototype to computer using a USB cable. It can be very easy for us to just get the reading on the

computer. “If we use NI Lab View software, NI ELVIS gives us more flexibility of virtual

instrumentation and the ability of customizing our application. NI ELVIS is also an integral part

of the NI electronics education platform, combining simulation of circuits and measurements

from NI ELVIS instruments inside the NI Multisim capture and simulation environment.”

http://www.ni.com/white-paper/8599/en/

2 | P a g e

Page 4: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

Required Components:

10 KΩ resistor, R1

2.2 KΩ resistor, R2

1 MΩ resistor, R3

1 µF capacitor, C

Project resistors-7.5k, 1k, 2k, and 8k nominal values

Soft Front Panel (SFP) instruments (computer)

Lab VIEW

Multisim

3 | P a g e

Page 5: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

Procedure:

Connected the NI ELVIS II workstation to the computer using the supplied USB cable. The box USB end goes to the NI ELVIS II workstation and the rectangular USB end goes to the computer. Turn on your computer and power up the NI ELVIS II (switch on the back of the workstation). The USB ACTIVE (orange) LED turns ON. In a moment, the ACTIVATE LED turns OFF and the USB READY (orange) LED turns ON.

On your computer screen, click on the NI-ELVISms Instrument Launcher Icon or shortcut. A strip of NI ELVIS II instruments appears on the screen. You are now ready to make measurements.

Connected two banana-type leads to the digital multimeter (DMM) inputs (VA. ) and (COM) on the left side of the workstation and connected the other ends to one of the resistors.

Click on the DMM icon within the Launcher strip to select the digital multimeter.

One can use the DMM SFP for a variety of operations such as voltage, current, resistance, and capacitance measurements. Use the notation DMM[X] to signify the X operation.

Click on the Ohm button [Ω] to use the digital ohmmeter function, DMM[Ω]. Click on the green arrow [Run] box to start the measurement acquisition.

Repeat all above steps for rest of the experiments 1.2, 1.3, 1.4, 1.5.

4 | P a g e

Page 6: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

Experimental Results:

Exercise 1.1: Measuring Component Values:

Nominal Value Multisim Value Measured Value

1.0 kΩ 1 kΩ 0.9917 kΩ

2.2 kΩ 2.2 kΩ 2.1672 kΩ

1.0 MΩ 999.999 kΩ 0.978 MΩ

(Fig 3.1) 1KΩ Resistor Measurement value on LabVIEW

5 | P a g e

Page 7: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

(Fig 3.2) 2.2KΩ Resistor Measurement value on LabVIEW

(Fig 3.3) 3MΩ Resistor Measurement value on LabVIEW

6 | P a g e

Page 8: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

Exercise 1.2: Building a voltage Divider Circuit:

Voltage Calculated Multisim Measurement

V in 5 v 5 v 4.937 v

V 2 3.43 v 3.437 v 3.3896 v

(Fig 3.4) V0 Measurement on LabVIEW (Fig 3.5) V2 Measurement on LabVIEW

Calculation: Voltage divider rule

VIN = 5v

R1 = 2200Ω

R2 = 1000Ω

Vout=( R2R1+R2 )∗Vin

Vout=( 2200Ω2200Ω+1000Ω )∗5 v

7 | P a g e

Page 9: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

Vout=3.437v

Exercise 1.3: Measuring Current:

Amps Calculated Multisim Measurement

Current (I) 1.5625 mA 1.562 mA 1.56 mA

Calculation: Calculating current

VIN = 5v

R1 = 2200Ω

R2 = 1000Ω

R total = 2200 + 1000 = 3200Ω

I= VRtotal

I= 5 v3200Ω

I=1.562mA

Exercise 1.4: Observing the Voltage Development of an RC Transient Circuit:

Vc R C T (s) V out5 1000000 0.000001 1 3.1606035 1000000 0.000001 2 4.3233245 1000000 0.000001 3 4.7510655 1000000 0.000001 4 4.9084225 1000000 0.000001 5 4.966315 1000000 0.000001 6 4.9876065 1000000 0.000001 7 4.9954415 1000000 0.000001 8 4.9983235 1000000 0.000001 9 4.9993835 1000000 0.000001 10 4.999773

8 | P a g e

Page 10: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

Formula Used: Vc=Vin(1−(e−trc ))

This shows how voltage increases as time increases.

Exercise 1.5: Visualizing the RC Transient Circuit Voltage:

(Fig 3.6) RC Charging and Discharging

9 | P a g e

Page 11: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

(Fig 3.7) LabVIEW Block diagram for the program RC Transient.vi

NI ELVIS II Challenge: Design a Burglar Alarm Using Multisim Simulation:

R1 R2 R3 R4 Voltage0 0 0 0 0.00V

1 0 0 0 0.58V

0 1 0 0 1.05V

0 0 1 0 1.73V

0 0 0 1 2.58V

1 1 1 1 3.33 V

10 | P a g e

Page 12: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

Multisim & LAB VIEW Simulation:

Exercise 1.1: Measuring Component Values:

11 | P a g e

Page 13: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

Exercise 1.2: Building a voltage Divider Circuit:

Exercise 1.3: Measuring Current:

12 | P a g e

Page 14: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

Exercise 1.4: Observing the Voltage Development of an RC Transient Circuit:

Exercise 1.5: Visualizing the RC Transient Circuit Voltage:

13 | P a g e

Page 15: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

NI ELVIS II Challenge: Design a Burglar Alarm Using Multisim Simulation:

14 | P a g e

Page 16: openlab.citytech.cuny.edu · Web viewIn this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors, capacitors and Voltage also how to build circuits on the

Conclusion:

In this lab we learn how to use LabVIEW and NI ELVIS II suit to measure the resistors,

capacitors and Voltage also how to build circuits on the protoboard and later analyze them with

the NI ELVIS II and how we can use multisim to design and simulate a circuit before building it

on the NI ELVIS II board and controlling it with LabVIEW. This was totally a new thing we

learn in this LAB.

15 | P a g e