Approximate time to complete: 35 minutes
In this exercise, users will further explore
the characteristics of the bandpass filter using analyses. Users
will use AC, Transient, Fourier, and Monte Carlo Analyses and learn
about analyses settings and how to configure the Grapher.
Procedure
- Load circuit 40kFilter3.ms9.
Notice that a load resistance
has been added to the circuit (Rload) on the output of the filter.
This is to facilitate an output power analysis.
- Run the Simulation to get the Bode plotter and oscilloscope
traces. Double-click the Bode plotter and Oscilloscope icons to
open the instrument panels. Start the simulation by clicking on the
lightning bolt button, or by pressing F5. Stop the simulation after
the Bode plot is displayed. Close the instrument panels by clicking
on the Close button on each instrument. Note:You can also open and
close instrument panels by double-clicking on the instrument
icons.
- Open the settings for an AC Analysis (Simulate/Analyses/AC
Analysis).
- On the Output tab, remove all variables from the Selected
variables for analysis column on the right hand side of the dialog
box. To do this, select all variables in the column and then click
Remove.
- Select the $output variable and click Add.
- The test point will move to the right side under Selected
Variables for Analysis.
- Verify the output parameters and simulate.
- Click Simulate.
The Grapher appears with multiple tabs. The
last three include: one for the oscilloscope, one for the Bode
plotter, and one for the AC Analysis. Compare the AC Analysis and
the Bode Plotter graphs.
- Perform the steps below to adjust the graph properties of the
AC Analysis. These general steps can be used for adjusting any
graph.
- Left-click on the Magnitude graph (top graph) to make it
active.
A small arrow on the left side of the window
indicates which graph is active.
- Right-click on the left axis to access the Graph Properties
option.
- Select the Left Axis tab.
- Enter the following information in the Left Axis tab:
- In the Scale box, choose Decibels.
- In the Label dialog, type Gain (dB).
- In the Axis box, choose Enabled and a Pen Size of 1.
- In the Range box, choose a minimum range of –50 and a maximum
range of 10.
-
-
- In the Divisions section, choose Total Ticks of 4, Minor
Ticks of 2 and Precision of 3.
- Click the Apply button.
- Select the Bottom Axis tab.
- Select Logarithmic Scale. In the Frequency Range, type 1000
for minimum and 1000000 for maximum.
- Click Apply, then OK.
- Adjust the bottom (Phase) graph by setting the Graph
Properties as shown in the following figure. Then click on the
Bottom Axis tab and change the range to 1000 to 1000000.
Now compare the outputs of the Bode plot and
the AC analysis by directly overlaying the magnitude traces.
- Left-click on the magnitude plot of the Bode plot to select
it.
- Select Overlay Traces from the Tools menu.
- Pick Graph_1 of the AC Analysis (this should be the second
last entry in the list).
A new page will open in the Grapher that
displays the two traces overlaid.
You can zoom in to see the region where both
traces exist. Press and hold the left mouse button as you drag a
box around the peak of the graph.
Notice the results are slightly different.
This is because the two methods used different sampling rates. You
can control the sampling rate when you set up the instrument or the
analysis.
- Investigate how to make precise measurements in the Grapher.
- Select the Bode Plot Tab in the Grapher.
- Turn on the cursors by selecting Show/Hide Cursors from the
Viewmenu.
- Select one of the cursors and right-click on it.
- Select Go to next Y_MAX to find the peak.
- Select Set Y_Value =>and enter the value that is 3 less
than the max. This will give you one of the -3dB points.
- Read the resulting value in the numeric display box.
- Perform Transient Analysis (Simulate/Analyses/Transient
Analysis).
- Set the analysis settings as shown below. Note: You may need
to expand the dialog box by clicking the More button.
-
- Switch to the Outputtab.
- Select test point nodes $input and $output as the Selected
Variables for Analysis.
- Click the Simulate button. Compare the graph with the
oscilloscope display.
You will now set up to run a Fourier
analysis.
- Open the instrument panel of the function generator and
change the waveform to a square wave.
- Choose Simulate/Analyses/Fourier Analysis.
- Select both Estimate buttons to set the sampling options and
transient Analysis options automatically.
- Switch to the Outputvariablestab.
- Select $input and $output as the Selected Variables for
Analysis.
- Click Simulate.
Note the output is presented on two separate
pages in the Grapher.
Optional Section (time permitting):
Perform a Monte Carlo Analysis,
(Simulate/Analyses/Monte Carlo).
- From the front dialog box, select Add a new tolerance
function.
- In Parameter Type, choose Device Parameter.
- In Device Type select Capacitor. Choose cc1.
- In the Tolerance section, select Percent. For Tolerance Type,
assign 20 and click Accept.
-
- Select Add a new tolerance again, and repeat the above
procedure. Select cc2 this time.
- Now configure the Analysis Parameters.
- Click on the Analysis Parameters tab.
- Set it up to run an AC Analysis, with 5 runs, and set the
Output variable to $output.
- Click on the Edit Analysis button and then configure the
settings for the AC analysis.
- Set the FSTART to 1 kHz, the FSTOP to 1 MHz, the Number of
points per decade to 100 and the Vertical scale to Decibel.
- Click the Simulate button.
"This course introduces National Instruments Multisim through instructional modules and hands-on exercises. Multisim is an interactive, graphical schematic capture tool and SPICE simulator that […]"