<< Chapter < Page Chapter >> Page >
This module provides an exercise with step by step instructions for analyzing of circuit simulations in National Instruments Multisim. Multisim is fully featured SPICE schematic capture and simulation tool used for circuit design, simulation, and in combination with Ultiboard for layout of custom PCBs.

Exercise: working with analyses in circuit simulation

Approximate time to complete: 35 minutes

In this exercise, users will further explore the characteristics of the bandpass filter using analyses. Userswill use AC, Transient, Fourier, and Monte Carlo Analyses and learn about analyses settings and how to configure the Grapher.

Objectives

  • Compare AC Analysis to a Bode plot
  • Compare Transient Analysis with the Oscilloscope
  • Use expressions in analyses
  • Understand how to set up and run Fourier Analysis
  • Understand how to set up tolerances and run a Monte Carlo Analysis
  • Learn how to format the output in 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 toopen the instrument panels. Start the simulation by clicking on the lightning bolt button, or by pressing F5. Stop the simulation afterthe Bode plot is displayed. Close the instrument panels by clicking on the Close button on each instrument. Note:You can also open andclose 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 dialogbox. 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 Bodeplotter, 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 anygraph.
  • 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.
Setting the Graph Properties for the Magnitude
      • 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 theBottom Axis tab and change the range to 1000 to 1000000.
Setting the Graph Properties for the Phase

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 abox around the peak of the graph.

Zooming in on Overlaid Traces

Notice the results are slightly different. This is because the two methods used different sampling rates. Youcan 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.
Setting Up the Transient Analysis
    • 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.
Setting Device Tolerances
    • 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.
SOLUTION

Questions & Answers

what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
What are the treatment for autism?
Magret Reply
hello. autism is a umbrella term. autistic kids have different disorder overlapping. for example. a kid may show symptoms of ADHD and also learning disabilities. before treatment please make sure the kid doesn't have physical disabilities like hearing..vision..speech problem. sometimes these
Jharna
continue.. sometimes due to these physical problems..the diagnosis may be misdiagnosed. treatment for autism. well it depends on the severity. since autistic kids have problems in communicating and adopting to the environment.. it's best to expose the child in situations where the child
Jharna
child interact with other kids under doc supervision. play therapy. speech therapy. Engaging in different activities that activate most parts of the brain.. like drawing..painting. matching color board game. string and beads game. the more you interact with the child the more effective
Jharna
results you'll get.. please consult a therapist to know what suits best on your child. and last as a parent. I know sometimes it's overwhelming to guide a special kid. but trust the process and be strong and patient as a parent.
Jharna
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Introduction to multisim schematic capture and spice simulation. OpenStax CNX. Sep 26, 2006 Download for free at http://cnx.org/content/col10369/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Introduction to multisim schematic capture and spice simulation' conversation and receive update notifications?

Ask