Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

TAs: Deniz Aktas, Emine Bardakci

...

Experiment #3 Filters and Amplifiers

 Objective:

This lab introduces students to electrical filters and amplifiers by using automated systems board with NI ELVIS III. Then, students can build filtering and amplifier systems on the protoboard, figure out input-output relations of such systems with active electronic elements.

1. Theory Overview

Filter circuits play an important role in many electronics designs. They are primarily used to pass desired signals while blocking unwanted signals, based on their frequency characteristics. Filters behave differently with signals of different frequencies and can affect the different components of our signal. For example, if our measurement is made up of a 10mV 1kHz signal wave combined with a 5mV 60Hz noise component, a filter could attenuate only one of those components and leave the other.

...

The switch in the amplifier is software controlled. Closing and opening the switch yields two different possible gains.

Experiment Details

 

...

2. Pre-Lab Quiz

  • Quiz Date: xxxxxx

  • XXXXXXXXXXXXXXXXXXXXXXXXX

3. Experimental Procedure

Before programming with the NI ELVIS III, you must first create an NI ELVIS III project. With an NI ELVIS III project, you can group together all the files relevant to your application and run VIs on the NI ELVIS III.

Part 1 Low Pass Filter

In this experiment, you will use your NI Automated Measurements Board and LabVIEW to conduct measurements on a basic low pass filter. You will measure the stimulus voltage and compare it to the filtered voltage, for different frequencies of input.

The low pass filter has a cut-off frequency of 3.3 KHz.

  • Make sure your:

    • NI ELVIS III is powered on.

    • Connected to your computer.

    • The NI Measurement Board is powered on.

Open the /Filter/Time Domain folder in the “Measurement And Instrumentation Software”.

  • Launch the LabVIEW Project named Filter Time Domain.lvproj.

  • Make sure all other projects are closed.

  • From the project window, configure the NI ELVIS III IP address to reflect the IP address of the actual NI ELVIS III your computer is connected to.

    • You can find the IP address of your NI ELVIS III by clicking and holding the button on the left-hand side until the IP address is displayed on the LED screen.

    • To configure the NI ELVIS III from your project window,

      • right-click NI ELVIS III (0.0.0.0) [Unconfigured IP Address]

      • click General in the window prompt you get.

        image-20240905-180851.pngImage Removed

      • In the IP address section enter the IP address of the NI ELVIS III connected to your computer.

        image-20240905-180900.pngImage Removed

    • Save your project. 

  • Open the RT Main (Manual).vi.

·       Connect socket 20 (the input to the filter) to the Bank A analog input channel AI0 and also to Bank A analog output channel AO0.

·       Connect socket 21 (the output of the filter) to Bank B channel AI0.

...

Safety

Be aware of powering the NI board and be aware of not creating any short circuit on the board (connecting ground and power levels (+5V, 3.3V) is not recommended, and may create some damage on the electronic components, be careful about that.)

Hardware/Software Equipment Check

Prior to starting the lab, make sure the equipment is working by conducting the following steps:

Step 1:   Make sure that the NI setup is open from the ON/OFF switch as it found at the back of the device.

Step 2:   Make sure that you press the open button on the device.

3. Data Collection

Part 1 Low Pass Filter

In this experiment, you will use your NI Automated Measurements Board and LabVIEW to conduct measurements on a basic low pass filter. You will measure the stimulus voltage and compare it to the filtered voltage, for different frequencies of input.

The low pass filter has a cut-off frequency of 3.3 KHz.

  • Make sure your:

    • NI ELVIS III is powered on.

    • Connected to your computer.

    • The NI Measurement Board is powered on.

Open the /Filter/Time Domain folder in the “Measurement And Instrumentation Software”.

  • Launch the LabVIEW Project named Filter Time Domain.lvproj.

  • Make sure all other projects are closed.

  • From the project window, configure the NI ELVIS III IP address to reflect the IP address of the actual NI ELVIS III your computer is connected to.

    • You can find the IP address of your NI ELVIS III by clicking and holding the button on the left-hand side until the IP address is displayed on the LED screen.

    • To configure the NI ELVIS III from your project window,

      • right-click NI ELVIS III (0.0.0.0) [Unconfigured IP Address]

      • click General in the window prompt you get.

        image-20240905-180851.pngImage Added

      • In the IP address section enter the IP address of the NI ELVIS III connected to your computer.

        image-20240905-180900.pngImage Added

    • Save your project. 

  • Open the RT Main (Manual).vi.

·       Connect socket 20 (the input to the filter) to the Bank A analog input channel AI0 and also to Bank A analog output channel AO0.

·       Connect socket 21 (the output of the filter) to Bank B channel AI0.

·       Connect the Filter socket to the Analog Ground socket.

...

  1. Non-Inverting Amplifier

    Launch Instructions:

    • Connect both the output channel A/AO0 and A/AI0 to the input socket of the non-inverting amplifier (socket 15) on your measurement board. Note: The stimulus signal generated from channel A/AO0 is fed through the input of the amplifier. The same signal is read from the amplifier input using into channel A/AI0. This serves the dual purpose of generating the signal we want to pass through the amplifier on the board and reading that signal back into the NI ELVIS III to programmatically display it.

    • Connect B/AI0 to the output socket of the non-inverting amplifier (socket 16).

    • Connect AMP to analog ground.

    image-20240905-181028.pngImage Removed

    Run the main VI and from the amplifier configuration dropdown list, choose non-inverting amplifier x2 (low gain).

    image-20240905-181037.pngImage Removed

Safety

Be aware of powering the NI board and be aware of not creating any short circuit on the board (connecting ground and power levels (+5V, 3.3V) is not recommended, and may create some damage on the electronic components, be careful about that.)

Hardware/Software Equipment Check

Prior to starting the lab, make sure the equipment is working by conducting the following steps:

Step 1:   Make sure that the NI setup is open from the ON/OFF switch as it found at the back of the device.

Step 2:   Make sure that you press the open button on the device.

Report Requirements

...

    • reading that signal back into the NI ELVIS III to programmatically display it.

    • Connect B/AI0 to the output socket of the non-inverting amplifier (socket 16).

    • Connect AMP to analog ground.

    image-20240905-181028.pngImage Added

    Run the main VI and from the amplifier configuration dropdown list, choose non-inverting amplifier x2 (low gain).

    image-20240905-181037.pngImage Added

5. Post-Lab Report

  • Due Date: xxxxxx

The report for Procedure 1 is expected to include:

...

1

Set the stimulus amplitude to 1V. Confirm from the Stimulus voltage indicator that the value is 1V. What is the response Voltage? Put the screenshot.

 

2

Using the value you recorded in the previous question, what is the gain?

 

3

From the amplifier configuration dropdown list, choose non-inverting amplifier x10 (high gain)

Set the stimulus amplitude to 1V. Confirm from the Stimulus voltage indicator that the value is 1V. What is the response Voltage? Put the screenshot.

Using the value you recorded in the previous question, what is the gain?

 

4

Record the differences between the two gain values you obtained using the formulas and the two gain values you computed through the VI, low and high gain.Formun ÜstüFormun Altı

 

Additional Resources:

xxxxxxxxxxxxxxxxxxxxx

Responsible TAs:

  • TA Name, email