0% found this document useful (0 votes)
36 views168 pages

Multisim - ExerciseManual - English v2015 - WaterMark

The document is a guide for the NI Multisim Basics course, which focuses on schematic capture and simulation exercises using the NI Multisim software. It outlines course goals, prerequisites, and provides a structured approach to learning through various lessons and exercises. The guide emphasizes hands-on experience with circuit design, simulation, and custom component creation, while also including legal and support information.

Uploaded by

Gabriel Cajueiro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views168 pages

Multisim - ExerciseManual - English v2015 - WaterMark

The document is a guide for the NI Multisim Basics course, which focuses on schematic capture and simulation exercises using the NI Multisim software. It outlines course goals, prerequisites, and provides a structured approach to learning through various lessons and exercises. The guide emphasizes hands-on experience with circuit design, simulation, and custom component creation, while also including legal and support information.

Uploaded by

Gabriel Cajueiro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 168

ts

en
TM
NI Multisim Basics

m
Schematic Capture & Simulation Exercises

tru
ns
lI
na
io
at
N
Course Software Version 14.0
July 2015 Edition
Part Number 324971F-01
9
NI Multisim Basics Exercises
01

Copyright
© 2007–2015 National Instruments. All rights reserved.
Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical, including photocopying, recording, storing in an information retrieval system, or
2

translating, in whole or in part, without the prior written consent of National Instruments Corporation.
National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and other intellectual property laws. Where NI software may
ht

be used to reproduce software or other materials belonging to others, you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license
or other legal restriction.
rig

BSIM3 and BSIM4 are developed by the Device Research Group of the Department of Electrical Engineering and Computer Science, University of California, Berkeley and copyrighted by the University
of California.
The ASM51 cross assembler bundled with Multisim MCU is a copyrighted product of MetaLink Corp. (www.metaice.com).
y

MPASM™ macro assembler and related documentation and literature is reproduced and distributed by Electronics Workbench under license from Microchip Technology Inc. All rights reserved by
Microchip Technology Inc. MICROCHIP SOFTWARE OR FIRMWARE AND LITERATURE IS PROVIDED “AS IS,” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
op

INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
MICROCHIP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR FIRMWARE OR THE USE OF OTHER
DEALINGS IN THE SOFTWARE OR FIRMWARE.
C
ts
End-User License Agreements and Third-Party Legal Notices
You can find end-user license agreements (EULAs) and third-party legal notices in the following locations:

en
• Notices are located in the <National Instruments>\_Legal Information and <National Instruments> directories.
• EULAs are located in the <National Instruments>\Shared\MDF\Legal\license directory.
• Review <National Instruments>\_Legal Information.txt for more information on including legal information in installers built with NI products.

m
Trademarks

tru
Refer to the NI Trademarks and Logo Guidelines at ni.com/trademarks for more information on National Instruments trademarks.
ARM, Keil, and µVision are trademarks or registered of ARM Ltd or its subsidiaries.
LEGO, the LEGO logo, WEDO, and MINDSTORMS are trademarks of the LEGO Group.
TETRIX by Pitsco is a trademark of Pitsco, Inc.

ns
FIELDBUS FOUNDATION™ and FOUNDATION™ are trademarks of the Fieldbus Foundation.
EtherCAT® is a registered trademark of and licensed by Beckhoff Automation GmbH.

lI
CANopen® is a registered Community Trademark of CAN in Automation e.V.
DeviceNet™ and EtherNet/IP™ are trademarks of ODVA.

na
Go!, SensorDAQ, and Vernier are registered trademarks of Vernier Software & Technology. Vernier Software & Technology and vernier.com are trademarks or trade dress.
Xilinx is the registered trademark of Xilinx, Inc.
Taptite and Trilobular are registered trademarks of Research Engineering & Manufacturing Inc.
FireWire® is the registered trademark of Apple Inc.

io
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Handle Graphics®, MATLAB®, Real-Time Workshop®, Simulink®, Stateflow®, and xPC TargetBox® are registered trademarks, and TargetBox™ and Target Language Compiler™ are trademarks of The

at
MathWorks, Inc.
Tektronix®, Tek, and Tektronix, Enabling Technology are registered trademarks of Tektronix, Inc.

N
The Bluetooth® word mark is a registered trademark owned by the Bluetooth SIG, Inc.
The ExpressCard™ word mark and logos are owned by PCMCIA and any use of such marks by National Instruments is under license.
The mark LabWindows is used under a license from Microsoft Corporation. Windows is a registered trademark of Microsoft Corporation in the United States and other countries.
9
Other product and company names mentioned herein are trademarks or trade names of their respective companies.
01
Members of the National Instruments Alliance Partner Program are business entities independent from National Instruments and have no agency, partnership, or joint-venture relationship with National
Instruments.
2

Patents
For patents covering National Instruments products/technology, refer to the appropriate location: Help»Patents in your software, the patents.txt file on your media, or the National Instruments
Patent Notice at ni.com/patents.
ht
y rig
op
C
ts
en
m
tru
ns
lI
na
io
at
N
9
2 01

Support
ht

Worldwide Technical Support and Product Information


ni.com
rig

Worldwide Offices
Visit ni.com/niglobal to access the branch office websites, which provide up-to-date contact information, support phone numbers, email addresses, and current events.
y

National Instruments Corporate Headquarters


op

11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100

To comment on National Instruments documentation, refer to the National Instruments website at ni.com/info and enter the Info Code feedback.
C
C
op
yrig
ht
201
9
N
at
io
na
lI
ns
tru
m
en
ts
ts
Contents

en
m
Student Guide
A. Course Description ..................................................................................................................................................................................vii

tru
B. What You Need to Get Started ................................................................................................................................................................vii
C. Installing the Course CD Software..........................................................................................................................................................vii
D. Course Goals ...........................................................................................................................................................................................viii

ns
Lesson 1

lI
Schematic Capture
Exercise 1-1 Drawing a Schematic .................................................................................................................................................1-1

na
Lesson 2
Simulation and Virtual Instruments

io
Exercise 2-1 Working with Instruments .........................................................................................................................................2-1

at
Lesson 3

N
Analyses
Exercise 3-1 Working with Analyses .............................................................................................................................................3-1
9
Lesson 4
01

Working with SPICE


Exercise 4-1Working with SPICE4-1
2

Lesson 5
ht

Advanced Schematic Capture


Exercise 5-1 Graphic Annotations ..................................................................................................................................................5-1
y rig
op

NI Multisim Basics Exercises © National Instruments | v


C
Contents ni.com | vi

ts
en
Lesson 6
Communication and Transfer
Exercise 6-1 Communication and Transfer ....................................................................................................................................6-1

m
Lesson 7

tru
Projects and Design Sharing
Exercise 7-1 Working with Projects and Design Sharing...............................................................................................................7-1

ns
Lesson 8
MCU Co-simulation

lI
Exercise 8-1 MCU Co-simulation ..................................................................................................................................................8-1

na
Lesson 9
Custom Components

io
Exercise 9-1 Creating Components ................................................................................................................................................9-1

at
Lesson 10

N
Educational Features (Optional)
Exercise 10-1 Educational Features..................................................................................................................................................10-1
9
Appendix A
01

Presentation Slides
2

Appendix B
Additional Information and Resources
ht
y rig
op
C
ts
Student Guide

en
m
Welcome to the NI Multisim Basics Exercises book. This book and the accompanying software are used in the two-day, hands-on NI Multisim Basics: Schematic
Capture & Simulation course.

tru
The labs in this seminar will develop progressively in both content and complexity, closely matching the material presented during the discussion periods. Students
will develop various stages of a simple sonar circuit over the course of the seminar.

ns
A. Course Description

lI
The National Instruments Multisim Basics course introduces the NI Multisim integrated capture and simulation design environment. Learn how to build a schematic
and evaluate circuit performance through interactive simulation and advanced analyses. Also discover how to complement your current database of components by

na
creating custom capture and simulation parts.

Additional topics include microcontroller co-simulation and the Education specific features.

io
B. What You Need to Get Started

at
Before you use this course manual, make sure you have all of the following items:

N
 Windows 8/7/Vista installed on your computer (32-bit and 64-bit)

 NI Multisim Power Pro Edition 14.0 or higher.


9
 Accompanying course CD
01

C. Installing the Course CD Software


2

The accompanying CD includes all files needed to complete the exercises on this Workbook. It also includes the NI Circuit Design Suite evaluation software.
ht

Explore the CD and copy the Lab* folders to your local hard drive. It is recommended that you install them in a folder named: <Exercises>\Multisim\.

Working reference circuits are available for most labs to expedite the lab and to ensure that students always have access to the working circuit. These circuits have
rig

the suffix _complete added to the filename.


y
op

NI Multisim Basics Exercises © National Instruments | vii


C
Student Guide ni.com | viii

ts
en
D. Course Goals
After completing this course, you will be able to:

m
• Understand the features of the NI Multisim user interface
• Use and apply capture schematics in Multisim

tru
• Use interactive simulation to check your design
• Understand virtual instruments and analyses

ns
• Work with design variants
• Create custom components

lI
At the end of the NI Multisim Basics course, you can design and simulate a circuit that is ready to be transferred to board layout and routing. This hands-on format is

na
the quickest way to become productive with NI Multisim.
This scope of this course does not include the following:

io
• Teaching electronic and electronic design concepts
• Teaching C and/or assembler programming

at
• Developing a complete electronic application for any student in the class

N
• Teaching PCB Layout design and concepts 9
2 01
ht
y rig
op
C
ts
1

en
m
Schematic Capture

tru
Exercise 1-1 Drawing a Schematic

ns
Goal

lI
Build and test a basic circuit in Multisim.

na
Scenario
This lab provides a general introduction to Multisim’s schematic capture. You will build and wire a basic circuit in Multisim using a variety of means to access parts,
experiment with the wiring and run a basic simulation.

io
Design

at
1. Become familiar with the general Multisim GUI.
2. Set Multisim workspace parameters.

N
3. Understand the difference between real, virtual, ideal and interactive parts.
4. Become familiar with the Multisim database structure.
9
5. Build and wire a basic circuit (including virtual wiring).
01

6. Become familiar with and set wiring options.


2

Implementation
The following files are referenced in this exercise. They are located in the <Exercises>\Multisim\Lab01 folder:
ht

• 40kFILTER1_complete
• Up_down
y rig
op

NI Multisim Basics Exercises © National Instruments | 1-1


C
Lesson 1 Schematic Capture ni.com | 1-2

ts
en
1. Open Multisim.

 If Multisim is not open, select Start»All Programs»National Instruments»Circuit Design Suite 14.0»Multisim 14.0.

m
Multisim opens to a default Design1 file and workspace.

tru
2. Save the default design file as 40kFILTER1.

 Select File»Save as.

ns
lI
 Browse to the folder where you are saving your completed exercises and enter 40kFILTER1 in the File name field.

na
 Click Save.

Sheet Properties

io
3. Set Sheet Properties parameters.

at
 Select Options»Sheet properties.

N
 Click the Sheet visibility tab. In the Component section, enable/disable the options such as Labels, RefDes, and Values and preview the result. Configure
as desired.
9
 In the Net names subsection, choose if you want to have net names shown for all nets, hide all, or a net-specific setting (recommended). For this exercise,
01
select Show all.

 In the Bus entry section, check Labels and Bus entry net names.
2

 In the Colors tab you can change the colors used in the workspace. The default is a pre-configured White background option. If you want to customize the
colors select Custom from the drop-down list or choose from the pre-configured options.
ht

 Click the Workspace tab. In this tab you can turn on or off the grid, page bounds and the page border. You can also change the sheet size.
rig

 Click the Wiring tab. Set the Wire width to 1 and the Bus width to 3.
y
op
C
ts
en
 Click the Font tab. You can customize the font to be used in different sections of Multisim. Use the Change all and Apply to sections to define how the
changes need to be applied. Leave the defaults.

 Click the PCB tab. In this tab you can change options that are applicable when you transfer your design to PCB Layout. Leave the defaults.

m
 Click the Layer settings tab. In this tab you can add custom annotation layers if needed. Leave the defaults.

tru
 Click OK to exit the Sheet Properties.

ns
Tip You can click the Help button located at the bottom of the Sheet Properties dialog at any time to learn more about the tab and sections where you are.

lI
Global Options
4. Set Global Options parameters.

na
 Select Options»Global options.

 Select the Paths tab and set the Design default path to <Exercises>\Multisim\.

io
 Click Apply.

at
The Paths tab also configures the location of the databases (Master, Corporate and User) as well your User Configuration file.

Tip
N
If you are migrating from one computer to another, you can copy your User Configuration file to load your configuration settings in the new computer.
9
 Select the Save tab. You want to have a security copy created every time you save the circuit. You can also configure an Auto-backup that will save the
01
circuit at every interval you specify. You can also Save simulation data with instruments, which allows you to specify how much data will be saved with
the instruments included in your schematic.
2

Note All these saving options will affect the file size and number of files that you will have with each circuit you create.
ht

 Select the Components tab. In this tab you can select how the Component Browser behaves every time you place a component and what Symbol standard
to use.
rig

 Select the General tab. You can customize the behavior of many tasks in this tab such as selecting components, using the mouse-wheel, and most importantly,
Wiring.
y
op

NI Multisim Basics Exercises © National Instruments | 1-3


C
Lesson 1 Schematic Capture ni.com | 1-4

ts
en
 Select the Simulation tab. You can customize what happens when a netlist error occurs and Positive phase shift direction options for graphs as well as their
default background color.

 Click OK to close the Global Options dialog.

m
Note Sheet properties apply to the design file you are working with and are saved with the file itself. Global options apply to every design project you are

tru
working with, and are not saved with the file, these preferences are saved in your User Configuration file.

Use the mouse wheel to zoom-in and -out of the workspace.

ns
Tip

Placing Components

lI
5. Build your own version of circuit 40kFILTER1_complete as shown in Figure 1-1. Instructions and location of components are given in the following steps.

na
Figure 1-1. Bandpass Filter Circuit Diagram to Complete

io
at
N
9
2 01
ht

 Select Place»Component.
rig

 Select the Master database and then select the Sources Group.

 Select the SIGNAL_VOLTAGE_SOURCES Family and then select the CLOCK_VOLTAGE component.
y
op
C
ts
en
 To place this component on the workspace, double-click the component and then click to place. You can also click the OK button and then click to place.

 If the Component Browser is set to return after you place the component, you can continue placing new components.

m
The following table provides the database location where to find each component. You can attempt to find and place all the components at once, or you can
complete the following steps to place the components.

tru
Group Family Component Value RefDes

ns
Sources SIGNAL_VOLTAGE_SOURCES CLOCK_VOLTAGE 40 kHz, 0.3 V V1

Sources POWER_SOURCES DC_POWER 15 V V2, V3

lI
Sources POWER_SOURCES GROUND — —

na
Basic RESISTOR 40.2k — R1
Basic RESISTOR 191k — R2

io
Basic POTENTIOMETER 1k — R3

at
Basic CAPACITOR 270p — C1
Analog OPAMP

N LM358N Section A U1
9
6. Rotate components.
01
 Place the DC_SOURCE (V2) by following the same procedure as the CLOCK_VOLTAGE (V1) and referencing the previous table. When the component is
attached to the mouse cursor press <Ctrl-R> on your keyboard to see how the component rotates. Click to place it. If a component is already placed, select
the component with the mouse and press the <Ctrl-R> keys.
2

7. Configure virtual components.


ht

 To change the value of the virtual components, such as the clock source and the voltage source, double-click the component.
rig

 From the properties dialog, change the parameters according to the circuit diagram.
y
op

NI Multisim Basics Exercises © National Instruments | 1-5


C
Lesson 1 Schematic Capture ni.com | 1-6

ts
en
8. The In-Use List.

 As you can see in the circuit diagram in Figure 1-1, there are two 15 V sources, V2 and V3; if you already placed V2 and configured it, instead of going back

m
to the Component Browser to select a second voltage source, use the In-Use List on the Main toolbar (refer to the following figure). Click the list and select
DC_POWER. An exact copy will be attached to the mouse cursor and you can place it on the workspace to create V3.

tru
Figure 1-2. In Use List

ns
lI
na
 Place the GROUND reference and use the In-Use List to place the other ground references needed.

io
Tip You can also select a placed component then press <Ctrl-C> then <Ctrl-V> to add another instance of that part.

at
9. Use the Filter to locate components.

 In the Component Browser, select the Basic group.


N
 Select the RESISTOR family and at the top of the component list type 40.2, see how it acts as a filter to find the component you are looking for (40.2 k).
9
01
 Place the other resistor (R2), the capacitor (C1) and the potentiometer (R3) using the same method.

Tip The resistor, capacitor and inductor (RLC) values from the database are standard values. If you want a different value you can double-click a placed
2

part and enter a value you want.


ht

10. Search for components.


rig

 You will now place the Opamp. In the Component Browser, click the Search button.
 In the Component field, type *358* and click Search. You are searching for every component that has the string 358 on its name.
y

 From the list on the results dialog box select the LM358N component.
op
C
ts
en
 Click OK. This will take you to the exact location of the Opamp.

 In the Model Manufacturer\ID field, select the Texas Instruments model and click OK to place the component.

m
 Because this is a multi-section component, the Section Selector box dialog will appear, click section A and place the component.

tru
 Close the browser if it re-opens after placing the part.

11. Flip the symbol of a component.

ns
 Notice how the input terminals (+ and -) of the Opamp are reversed on the circuit diagram. Select the Opamp in the workspace, right-click and select Flip
vertically. The Opamp you placed on the workspace should now look like the one in the circuit diagram.

lI
 Move and position the components to resemble the circuit diagram shown in Figure 1-1.

na
Wiring Components
12. Create wires.

io
 To wire your circuit, move the mouse pointer to any component pin. The pointer changes to a crosshair.

at
 Click and move the mouse to start a wire branch.

 Click again in the workspace to insert a branch turn.

 Click at the destination pin to finish the wire. N


9
01
Note Net names are assigned sequentially as you create each one. Net 0 is always assigned to ground references.

 Experiment creating a blind wire. Click at any component pin and move the mouse to start a wire.
2

 Double-click the workspace in any blank area and the wire will be fixed in the workspace. This is called mid-air wiring.
ht

 Select the previously created wire and press <Delete> to delete the wire.
rig

 Complete the wiring of your circuit using Figure 1-1 as reference.


y
op

NI Multisim Basics Exercises © National Instruments | 1-7


C
Lesson 1 Schematic Capture ni.com | 1-8

ts
en
13. Modify wire properties.

 Double-click the net of the positive terminal of the clock source (V1) and change the Preferred net name to input.

m
 Double-click the net of the output terminal of the Opamp (U1A) and change the Preferred net name to output.

tru
14. Placing other objects.

 Select Place»Text, create one label with the letter A and one with the letter B and reference the circuit diagram to position them.

ns
 Select Place»Junction. Place the two junction dots located underneath each letter label.

lI
 Select Place»Connectors»On-page connector and complete the power supply arrangement as well as the power rail connections to the Opamp (i.e., VS and
NVS in Figure 1-1).

na
 Your circuit should now look similar to the circuit diagram in Figure 1-1.

io
15. Add a second capacitor (C2) between labels A and B with automatic wiring.

 From the In-Use List, select the CAPACITOR 270p component.

at
 With the capacitor attached to the mouse pointer, rotate the capacitor to a horizontal orientation (Hint: <Ctrl-R>) and then place it on top of the wire branch

N
and click to place. This is an effective way of doing automatic wiring.
9
2 01
ht
y rig
op
C
ts
en
16. The completed circuit is shown in the following figure.

Figure 1-3. Completed Circuit

m
tru
ns
lI
na
io
at
17. Save the circuit.

 Select File»Save.
N
9
01

 Leave Multisim open.


2
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 1-9


C
Lesson 1 Schematic Capture ni.com | 1-10

ts
en
Simulation
Take some time to learn how to start a circuit simulation and how interactive and animated parts work.

m
18. Load an existing design file.

 Select File»Open. Browse to <Exercises>\Multisim\Lab01\Up_down.

tru
ns
 Click Open. An up-down counter circuit is built for you.

lI
Figure 1-4. Up-Down Counter

na
io
at
N
9
2 01
ht
y rig
op
C
ts
en
19. Simulate the circuit.

 Click the Run button on the Simulation toolbar to start the simulation.

m
tru
You can tell that the simulation is running if you see the green squares moving in and out on the lower right corner of the screen.

20. Interactive and animated parts.

ns
 With the simulation running, you can click any switch to toggle the position. These are interactive components.

lI
 You can also toggle the switch position by pressing the assigned key shown at the symbol.

na
 Toggle the switches and observe the 7-segment LED display; this is an animated component. Observe the behavior of the Digital Probes as well.

21. Stop the simulation.

io
 Click the Stop button.

at
22. Close all open design files.
N
9
 Select File»Close all.
01

 Leave Multisim open for the next exercise.


2

End of Exercise 1-1


ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 1-11


C
C
op
yrig
ht
201
9
N
at
io
na
lI
ns
tru
m
en
ts
ts
2

en
m
Simulation and Virtual Instruments

tru
Exercise 2-1 Working with Instruments

ns
Goal

lI
Understand the response and behavior of the Bandpass filter you created.

na
Scenario
Use virtual instruments and interactive simulation to examine the response and behavior of the Bandpass filter from Lesson 1. The Bode Plotter and Oscilloscope will
be inserted into the circuit to measure response across the filter circuit. You will replace the source with a Function Generator.

io
After experimenting with the Bandpass filter, you will use the 555 Timer Wizard to generate a 40 kHz signal for a SONAR circuit.

at
Design
1. Become familiar with placing instruments, instrument front panels, and setting instrument controls.
2. Become familiar with simulation settings.
N
9
3. Use the Bode Plotter to measure frequency response.
01
4. Use the Oscilloscope to monitor the circuit’s transient response.
5. Replace the Clock Source with a Function Generator and observe simulation results while varying the frequency.
6. Become familiar with the Multisim Circuit Wizards.
2

7. Use measurement probes.


ht

8. Import a LabVIEW instrument.


y rig
op

NI Multisim Basics Exercises © National Instruments | 2-1


C
Lesson 2 Simulation and Virtual Instruments ni.com | 2-2

ts
en
Implementation
The following files are referenced in this exercise. They are located in the <Exercises>\Multisim\Lab02 folder:
• 40kFILTER2

m
• 40kFILTER2_complete

tru
• 40kSource
• LogicAnalyzerExample

ns
• LabVIEWInstrument
• ExpressionSource
• ExpressionSource folder

lI
1. Open Multisim. You can close the default Design1 if it is open.

na
2. Load design file.

io
 You can load the 40kFILTER1 design file that you finished in Lesson 1, or you can open 40kFILTER2 which is already built for you in the Lab02 folder
(recommended).

at
N
9
201
ht
y rig
op
C
ts
en
Virtual Instruments
3. The following is the circuit diagram with the instruments connected. Refer to this diagram to complete the exercise.

m
Figure 2-1. Bandpass Filter with Instruments

tru
ns
lI
na
io
at
N
9
01

4. Replace the clock source with the Function Generator.


2

 Select the clock source (V1) and press <Delete>.


ht
rig

 Click the Function Generator icon on the Instruments toolbar. Position the instrument where the clock source was before and click to place.

Tip You can move and hold the mouse pointer on top of each icon and the tooltip showing the instrument name will show up shortly.
y
op

NI Multisim Basics Exercises © National Instruments | 2-3


C
Lesson 2 Simulation and Virtual Instruments ni.com | 2-4

ts
en
 Wire the negative terminal (-) to net input, which is the net attached to R1. And wire the COM pin of the instrument to a GROUND reference.

 Double-click the Function Generator symbol. The instrument’s front panel opens in a floating window. Configure it as shown in the following figure.

m
Figure 2-2. Function Generator Front Panel

tru
ns
lI
na
io
Note The front panel for all instruments is a floating window, which means you can leave it open and continue working with your circuit or you can close

at
it by clicking the “X” button. If you decide to close it, the settings that you just configured will still be applied to the instrument.

N
5. Place the Bode Plotter and the Oscilloscope.

 From the Instruments toolbar, select the Bode Plotter and the Oscilloscope, place them both on the upper right section of the circuit area.
9
2 01

 On each instrument you can wire the negative terminals (-) to a GROUND reference.
ht

Note In Multisim, if you do not wire a net to the negative terminals (-) of these instruments, Multisim assumes a GROUND reference. However, as a best
rig

practice task, you should always wire a reference.

 Wire the Bode Plotter positive (+) IN terminal to the input net, and the positive (+) OUT terminal to the output net.
y
op
C
ts
en
 Wire Oscilloscope positive (+) Channel A terminal to the input net, and the positive (+) Channel B terminal to the output net.

 Open the Bode Plotter and the Oscilloscope front panels and configure them as shown in the following figures.

m
Figure 2-3. Bode Plotter Front Panel

tru
ns
lI
na
io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 2-5


C
Lesson 2 Simulation and Virtual Instruments ni.com | 2-6

ts
en
Figure 2-4. Oscilloscope Front Panel

m
tru
ns
lI
na
io
at
N
9
6. Change wire colors.
01

 In order to have a better look and distinguish between input and output lines you can change the wire color. Right-click any of the nets wired to the OUT
terminal of the Bode Plotter and select Segment color, then choose a color and click OK.
2

 Repeat the above procedure for the Oscilloscope. Change the color of the net wired to Channel B.
ht

Tip The color of the traces that are drawn on the graph area of these instruments is the color used on the nets attached to the terminals.
y rig
op
C
ts
en
7. Simulate the circuit.

 Open the Bode Plotter and the Oscilloscope front panels.

m
 Simulate the circuit.

tru
 Observe the traces on both instruments.

ns
Tip Click the Reverse button on the instruments’ front panels to switch the background color of the graph area from black to white. Alternatively, in the

lI
Options»Global Options»Simulation tab, you can set the default graph background.
 The resulting curves from the two instruments should look similar to the following figures.

na
Figure 2-5. Bode Plotter Simulation Results

io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 2-7


C
Lesson 2 Simulation and Virtual Instruments ni.com | 2-8

ts
en
Figure 2-6. Oscilloscope Simulation Results

m
tru
ns
lI
na
8. Modify circuit behavior during simulation mode.

 With the simulation running, change the value of the potentiometer R3, move the mouse pointer on top of the R3 symbol and a horizontal slider will appear,

io
move the slider to the change the potentiometer value.

 You can also change the value by pressing the corresponding Key assigned to the potentiometer on the keyboard this will move the value up; for this

at
potentiometer, the default key should be <A>. Press <Shift-A> to move the value down.

N
 Observe the response of the circuit to an increase or decrease of the resistance in R3 on the Oscilloscope.

The Bode Plotter response will be updated only after you restart the simulation.
9
Note
01
9. Use the Measurement Probe.

 Close the instruments by clicking the X button on the top-right corner of each front panel.
2
ht

 While the simulation is still running, use the probe to have a quick view of the voltage levels in the circuit. Click the Place voltage probe button on the Place
rig

Probes toolbar.
y
op
C
ts
en
 With the Voltage Probe attached to the mouse pointer move it close to any net (do not click) and check the yellow display area for electrical information on
that spot (see the following figure).

m
Figure 2-7. Dynamic Voltage Measuring Probe

tru
ns
lI
na
io
at
10. Stop the simulation.

 Stop the simulation.


N
9
01

 Close any instrument front panel that might still be open.


2
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 2-9


C
Lesson 2 Simulation and Virtual Instruments ni.com | 2-10

ts
en
Working with Probes
1. Open a new design.

m
tru
 Select File»New»Blank, or click the New button on the Standard toolbar and create a Blank design.

2. Create a 40 KHz clock source with the 555 Timer Wizard.

ns
 Select Tools»Circuit wizards»555 timer wizard.

lI
 Enter the settings as shown in the following figure.

na
Figure 2-8. 555 Timer Circuit Wizard Settings

io
at
N
9
2 01
ht
rig

 Click Build circuit to close the dialog and click again anywhere in the workspace to place the circuit.
y
op
C
ts
en
3. Place and configure a Voltage and Current Probe.

 Click the Place voltage and current probe button and on the Place Probe toolbar and click over the output net of the timer (OUT terminal).

m
tru
 Double-click the yellow display area of the probe to call the Voltage and Current Probe Properties dialog.

 Click the Parameters tab.

ns
 Click the Custom radio button.

lI
 Configure the probe to show only the peak-to-peak voltage (V(p-p)), the Frequency (V(Freq)) and the DC current(I(dc)). Click the box located on the header
of the Show column until all values show No. Then click only on the rows you want to show to change the cell to Yes.

na
 Select the Appearance tab.

io
 Place a checkmark on the Auto-resize box.

at
 Click OK.

N
4. Simulate and adjust simulation settings.

 Start the simulation and observe the measurements displayed on the Voltage Probe. You should notice that the Frequency is a bit smaller than 40 kHz (maybe
9
around 38.7 kHz).
2 01

 Stop the simulation.


ht
rig

 Select Simulate»Analyses and simulation, or click the Active analyses button.


y
op

NI Multisim Basics Exercises © National Instruments | 2-11


C
Lesson 2 Simulation and Virtual Instruments ni.com | 2-12

ts
en
 Check the Maximum time step (TMAX) checkbox and change the time step to 1e-006.

 Click the Run button. Observe the new frequency is now closer to 40 kHz (~38.9 kHz).

m
tru
Tip Adjusting simulation settings can improve the results of the simulation. In the previous instruction, you made the time step more precise in order to
calculate the frequency much better.

ns
 Stop the simulation.

lI
na
5. Save the simulation settings.

 Select Simulate»Save simulation settings. Name the simulation profile as SmallerTimeStep and click Save.

io
 Insert the Description: This simulation profile has a smaller time step. Click OK to finish.

at
6. Change current direction indicator.

 Right-click on the Voltage and Current Probe.


N
9
 Select Reverse probe direction.
01
 Click the Run button. Notice the result from I(dc) is reversed.
2

 Stop the simulation.


ht
y rig
op
C
ts
en
7. Finding power dissipation with a Power Probe.

 Click the Place power probe button and place the probe on the resistor R1.

m
Figure 2-9. Power Probe

tru
ns
lI
na
 Click the Run button.

io
at
 Stop the simulation.

N
9
 Close the file.
2 01

Logic Analyzer
ht

1. Open the Logic Analyzer example.

 Select File»Open. Browse to folder: <Exercises>\Multisim\Lab02 and select file LogicAnalyzerExample.


y rig
op

NI Multisim Basics Exercises © National Instruments | 2-13


C
Lesson 2 Simulation and Virtual Instruments ni.com | 2-14

ts
en
 Click Open.
Figure 2-10. Logic Analyzer Example

m
tru
ns
lI
na
io
at
2. Adjust simulation settings.
N
9
 Select Simulate»Analyses and simulation, or click the Active Analyses button. Select the Analysis options tab.
201

 Select the radio button called Continue without discarding previous data. This option will allow the Logic Analyzer to keep plotting data without resetting
the display.
ht

 Click Save.
rig

3. Adjust Logic Analyzer settings.


y

 Open the Logic Analyzer front panel.


op
C
ts
en
 Under the Clock section click the Set button.

 Configure the clock settings as shown in the following figure.

m
Figure 2-11. Logic Analyzer Clock Setup

tru
ns
lI
na
io
 Click OK.

at
4. Simulate.

N
 With the Logic Analyzer front panel open, Run the simulation.
9
01

 Experiment with the switches. Click the switches to toggle their status over and over. Make different combinations.

 Notice how the Logic Analyzer plot keeps moving.


2

5. Pause the simulation.


ht

 Click Pause button on the Simulation toolbar.


y rig
op

NI Multisim Basics Exercises © National Instruments | 2-15


C
Lesson 2 Simulation and Virtual Instruments ni.com | 2-16

ts
en
6. Adjust the Logic Analyzer plot.

 In the Logic Analyzer front panel, increase the Clocks/Div field to about 10 or more. Notice how the horizontal scale of the graph changes.

m
 Use the scroll bar at the bottom of the plot area to review the acquired samples.

tru
 The Logic Analyzer should look similar to the following figure.
Figure 2-12. Logic Analyzer Front Panel

ns
lI
na
io
at
N
9
2 01
ht
rig

Tip Press <F1> at any time when the Logic Analyzer is selected and Multisim Help shows context specific help for the instrument.
y
op
C
ts
en
7. Stop the simulation.

 Stop the simulation.

m
tru
 Close the Logic Analyzer front panel.

ns
8. Finding digital state with Digital Probes.

lI
 Click the Place digital probe button from the Place Probe toolbar and place the probe at the output of the inverter U4.

na
 Repeat the above steps and place addition probes as shown in the following figure.

io
Figure 2-13. Display Digital State with Probes

at
N
9
2 01
ht

 Click the Run button and then press <A> or <B> key to toggle the switches, observe the digital state (0 and 1) displaying on the Digital Probes.
y rig
op

NI Multisim Basics Exercises © National Instruments | 2-17


C
Lesson 2 Simulation and Virtual Instruments ni.com | 2-18

ts
en
 Stop the simulation.

m
 Close the file.

tru
Logic Converter

ns
1. Open a new circuit.

 Select File»New»Blank, or click the New button on the Standard toolbar and create a Blank design.

lI
na
2. Use the Logic Converter.

io
 Select the Logic Converter from the Instruments toolbar and place it anywhere on the workspace.

at
N
 Open the front panel of the Logic converter.

 Enter the following expression on the bottom text field: A'B'C+A'BC+ABC'+ABC.


9
201
ht
y rig
op
C
ts
en
 Click the fourth button, expression to truth table, and see how the truth table populates.

m
Figure 2-14. Logic Converter Front Panel

tru
ns
lI
na
io
at
N
 Click the fifth button, expression to digital logic circuit, and see how the logical circuit is created based upon the expression entered.
9
01

 Click the third button, truth table to simplified expression, the previous expression entered is now simplified.
2
ht

 Continue experimenting with the Logic Converter, you can use the mouse to set truth table values, select inputs, and so on.
y rig
op

NI Multisim Basics Exercises © National Instruments | 2-19


C
Lesson 2 Simulation and Virtual Instruments ni.com | 2-20

ts
en
3. Close files.

 Close the Logic Converter front panel.

m
tru
 Select File»Close all, and leave Multisim open for the next exercise.

Import a LabVIEW Instrument

ns
1. Finding the LabVIEW instrument path.

 Select Options»Global options»Paths.

lI
 The User LabVIEW instrument path shows the location where you have to add the LabVIEW instruments files.

na
Tip If you cannot see the full path, click on the Global Options dialog border and drag to expand the dialog.

io
2. Copy the LabVIEW instrument files.

at
 From the <Exercises>\Multisim\Lab02 copy the ExpressSource.llb and the ExpressionSource folder.

N
 Paste the ExpressSource.llb and ExpressionSource folder to <National Instruments>\Circuit Design Suite 14.0\
LVInstruments.
9
 Restart Multisim.
01

3. From the Instruments toolbar click the LabVIEW Instruments right arrow then Expression Source.
2
ht

 From the Instruments toolbar place an Oscilloscope.


y rig
op
C
ts
en
4. Connect the LabVIEW instrument to the Oscilloscope.

 Connect the LabVIEW instrument to the Oscilloscope as shown in the following figure.

m
Figure 2-15. Connect LabVIEW Instrument to Oscilloscope

tru
ns
lI
na
5. Run simulation.

io
 Double-click the LabVIEW instrument.

at
 Double-click the Oscilloscope.

 Click Run.

N
9
 Adjust the Oscilloscope Channel A Scale to 100 mV/Div.
01

 Stop the simulation.


2

6. Closing file
ht

 Select File»Close all.


rig

7. Restart Multisim.
y

End of Exercise 2-1


op

NI Multisim Basics Exercises © National Instruments | 2-21


C
C
op
yrig
ht
201
9
N
at
io
na
lI
ns
tru
m
en
ts
ts
3

en
m
Analyses

tru
Exercise 3-1 Working with Analyses

ns
Goal

lI
Use analyses to explore Bandpass characteristics.

na
Scenario
You will further explore the characteristics of the Bandpass filter using the following analyses: AC, Transient, Fourier and Monte Carlo. You will also learn about
analyses’ settings and how to configure the Grapher.

io
Design

at
1. Compare AC Sweep to a Bode Plot.
2. Compare Transient Analysis to the Oscilloscope.
3. Use expressions in analyses.
4. Understand how to setup and run Fourier Analysis. N
9
5. Understand how to setup tolerances and run a Monte Carlo Analysis.
01

6. Learn how to format the output in the Grapher.


2

Implementation
The following files are referenced in this exercise. They are located in the <Exercises>\Multisim\Lab03 folder:
ht

• 40kFILTER3
• 40kFILTER3_complete
y rig
op

NI Multisim Basics Exercises © National Instruments | 3-1


C
Lesson 3 Analyses ni.com | 3-2

ts
en
1. Open Multisim.

2. Load design file.

m
 Open design file 40kFILTER3 located in the <Exercises>\Multisim\Lab03 folder.

tru
3. Review design file.

ns
 Notice that a load resistance Rload has been added to the circuit on the output of the filter. This is to facilitate an output power analysis.

lI
Figure 3-1. Rload Added for Power Analysis

na
io
at
4. Simulate the circuit to get data on the instruments. N
9
01
 Check the Function Generator, settings should still be sine wave, 40 KHz, 1 Vp. Correct those settings in case they are different.
2

 Run the simulation.


ht
y rig
op
C
ts
en
 Check the front panel of the Bode Plotter; make sure the data is plotted.

m
 Check the front panel of the Oscilloscope; make sure the data is plotted.

tru
ns
 Stop the simulation.

lI
na
 Close any open instrument.

io
at
Tip You can also open and close instrument panels if you double-click the instrument icon on the workspace.

N
AC Sweep
5. Configure the Output tab of the AC Sweep.
9
 Select Simulate»Analyses and simulation, or click the Active Analysis button on the Simulation Toolbar.
2 01

 Select AC Sweep from the Active Analysis list.


ht

 Select the Output tab.


rig

 Verify that the Selected variables for analysis list box is empty. If it is not, remove any variables by selecting them and then click the Remove button.
y
op

NI Multisim Basics Exercises © National Instruments | 3-3


C
Lesson 3 Analyses ni.com | 3-4

ts
en
 From the Variables in circuit box, select All variables from the drop-down list, and then highlight variable V(output) from the list.

 Click the Add button to move the variable to the right side under Selected variables for analysis.

m
6. Add an expression to calculate power. We can calculate the power at the load resistor Rload with the following formula:

tru
V2
Power = ------
R

ns
 Under the More Options section, click Add device/model parameter to open the dialog and configure it as shown in the following figure.
Figure 3-2. Add Model Parameter Dialog Box

lI
na
io
at
N
 With this dialog you are adding the resistance of Rload as a variable for the expression. Click OK when ready to continue.
9
2 01
ht
y rig
op
C
ts
en
 Click Add expression. Configure the dialog as shown in the following figure.
Figure 3-3. Analysis Expression Dialog Box

m
tru
ns
lI
na
io
at
Tip N
Double-click the variable name or the function line to add them into the expression.
9
01
Note The formula used for power calculation will give a normalized RMS output with respect to the input voltage. To convert to actual RMS, multiply the
result by the square of the peak voltage as determined by the input function generator. For the purpose of this exercise continue working as described in the
instructions.
2

 Click OK when you are ready to continue. This closes the expression dialog and puts you back into the Output tab of the AC Sweep dialog.
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 3-5


C
Lesson 3 Analyses ni.com | 3-6

ts
en
7. Verify the output parameters and simulate.

 The dialog box should look like the following figure.

m
Figure 3-4. Settings for the AC Sweep

tru
ns
lI
na
io
at
N
9
2 01
ht
rig

 Click Run to run the AC Sweep.


y
op
C
ts
en
The Grapher View
 The Grapher View window opens and the plot should look like the following figure.

m
Figure 3-5. Grapher View Results for the AC Sweep

tru
ns
lI
na
io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 3-7


C
Lesson 3 Analyses ni.com | 3-8

ts
en
 Click the Black background button on the toolbar to see a white background (or Graph»Black and white colors).

m
Note The Grapher View displays multiple tabs. The last three include one for the Oscilloscope data, one for the Bode Plotter data and one for the last AC

tru
Sweep. Each time you run a simulation and/or an analysis, the Grapher View adds another tab (page) per instrument/analysis.

8. Understand how to work with the Grapher.

ns
 Make sure the AC Sweep result tab is selected.

lI
 Verify the power calculation for Rload. Click the Show cursors button on the toolbar.

na
 A pop-up window with the cursor information appears. Move it so that you can continue working on the Grapher.

io
 On the left side of the first plot (Magnitude), you will notice that a set of cursors are now visible. Click the cursor and drag it to the right, but before the peak

at
of the trace, and observe the changes on the cursor information dialog.

N
 Right-click the cursor and select Go to next Y_MAX =>. Assuming that your cursor was located before the peak voltage, this function will take you directly
9
to the peak of the trace.
01

 Observe the cursor information dialog, and note that data from x1,y1 corresponds to the red cursor and the blue cursor represents x2,y2.
2

9. For the rest of this exercise, the power analysis will not be used. Run the AC Analysis again to remove the expression.

 To close the cursor information window click the Show cursors button on the toolbar.
ht
y rig
op
C
ts
en
 Click the Active Analysis button. On the Output tab highlight the expression under the variables set for analysis and click Remove. Only V(output) should
now be listed.

m
tru
 Click Run to run the analysis. A new tab (page) has the AC Analysis result without the power calculation.

10. Adjust the Graph Properties of the AC Sweep Magnitude graph.

ns
 Click the Magnitude graph label to make that graph active. A small red arrow on the left side of the window indicates which graph is active.

lI
na
 Right-click the Magnitude left axis and select Axis properties.

 The Graph Properties window opens and the Left axis tab is selected.

io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 3-9


C
Lesson 3 Analyses ni.com | 3-10

ts
en
 Configure the Left axis properties as shown in the following figure.
Figure 3-6. New Left Axis Properties for the Magnitude Plot

m
tru
ns
lI
na
io
at
N
9
2 01

 Click Apply when done.

 Now select the Bottom axis tab.


ht

 In the Scale section, select the Logarithmic. In the Range section type Min: 1000 and Max: 1000000.
rig

 Click Apply and then click OK.


y
op
C
ts
en
11. Adjust the Graph Properties of the AC Sweep Analysis Phase (deg) graph.

 Right-click the bottom Phase (deg) graph on the left axis and select Axis properties.

m
 Adjust the Left Axis tab as shown in the following figure.

tru
Figure 3-7. New Left Axis Properties for the Phase (deg) Plot

ns
lI
na
io
at
N
9
2 01
ht

 Click Apply.
rig

 Select the Bottom Axis tab and change the Range to Min: 1000 and Max: 1000000.
y

 Click Apply, and then click OK.


op

NI Multisim Basics Exercises © National Instruments | 3-11


C
Lesson 3 Analyses ni.com | 3-12

ts
en
12. Compare the outputs of the Bode Plotter and the AC Sweep. Now that you have set up the graph properties to match those that were used to configure the Bode
Plotter, you can overlay the magnitude traces to compare them.

 Select the last Bode Plotter-XBP1 tab that holds the data of the Bode Plotter from the last simulation.

m
 Click the Gain (dB) magnitude plot (top graph) to make it active.

tru
 Select Graph»Overlay traces.

ns
 Select Graph_1 of the last AC Sweep, this should be the second last entry in the list.
Figure 3-8. Select the First Graph of the Last AC Sweep performed

lI
na
io
at
N
9
 Click OK.
2 01
ht
y rig
op
C
ts
en
 A new tab (page) opens in the Grapher that displays the two traces overlaid. It looks like the following figure.
Figure 3-9. New Tab (Page) with the Merged Traces

m
tru
ns
lI
na
io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 3-13


C
Lesson 3 Analyses ni.com | 3-14

ts
en
13. Zoom in to see the region where the two peaks meet each other.

 With the mouse pointer, click and hold while you draw a selection box around the peaks, this will zoom into that area.

m
 If the zoom action was not good, you can go back to the original view. Click the Auto zoom button on the toolbar and try again to the make a zoom area
around the peaks.

tru
ns
 The graph should look like the following figure.

lI
Figure 3-10. Zoom View of the Traces’ Peak Point

na
io
at
N
9
2 01
ht

Note Notice the results are slightly different. This is because the two methods used different sampling rates. You can control the sampling rate when you
rig

set up the instrument or the analysis.


y
op
C
ts
en
14. Make precise measurements with the Grapher.

 Activate the cursors.

m
tru
 Click one of the traces to make it active. The active trace is marked by a set of outlined arrows.

 Drag one of the cursors to the right, right-click and select Go to next Y_MAX => to reach the peak of the trace.

ns
lI
 On the cursor information window read the y1 value.

na
 Drag the second cursor to the right, right-click and select Set Y_value => and enter a value that is 3 units less than the maximum peak value. For example,
if the peak value is 4.8949, then set the second cursor to 1.8949.

io
at
 Use the cursor information window to read any other values of interest.

Transient Analysis
15. Set output node using voltage probe.
N
9
 Click the Place voltage probe button and then place it on the output node of the opamp.
2 01

16. Set up a Transient Analysis.


ht

 Select Simulate»Analyses and simulation, or click the Active Simulation button on the Simulation toolbar.
y rig
op

NI Multisim Basics Exercises © National Instruments | 3-15


C
Lesson 3 Analyses ni.com | 3-16

ts
en
 Select the Transient Analysis from the Active Analysis list.

 Set the analysis settings as shown below.

m
Figure 3-11. Transient Analysis Parameters

tru
ns
lI
na
io
at
N
9
2 01
ht
y rig
op
C
ts
en
 Select the Output tab.

Note Probes placed on the schematic will automatically appear under the Select variable for analysis box by default.

m
 Select the variable V(input) and add it to the Selected variables for analysis box.

tru
17. Run the Transient Analysis.

 Click Run.

ns
18. Copy graph axis properties from one graph to another.

lI
 Compare the resulting graph with the Oscilloscope (Oscilloscope-XSC1) data page on the Grapher, notice the Y and X axis ranges are different.

na
 Select the Transient Analysis tab.

 Select Graph»Copy properties.

io
 Click the Oscilloscope-XSC1 tab.

at
 Select Graph»Paste Properties.

N
 Close the Grapher View. 9
Fourier Analysis
01

19. Prepare the circuit for a Fourier Analysis.

 Open the instrument panel of the Function Generator and change the waveform type to a Square Wave.
2
ht

 You can close the instrument panel if you wish to have less number of windows open.
y rig
op

NI Multisim Basics Exercises © National Instruments | 3-17


C
Lesson 3 Analyses ni.com | 3-18

ts
en
20. Set up a Fourier Analysis.

 Select Simulate»Analyses and Simulation, or click the Active Analysis button on the Simulation toolbar.

m
tru
 Select Fourier from the Active Analysis list.

ns
 Click both Estimate buttons on the Analysis parameters tab. This will set the sampling options and Transient Analysis options automatically.

 Select the Output tab.

lI
 Keep the probe V(PR1) and add V(input) to the Selected variables for analysis box.

na
21. Run the Fourier Analysis.

 Click Run.

io
 Notice that the Grapher View presents the results in two separate pages, one for each variableV(input) and V(PR1).

at
Monte Carlo Analysis

N
22. Set up a Monte Carlo Analysis.

 Select Simulate»Analyses and Simulation, or click the Active Simulation button on the Simulation toolbar.
9
2 01

 Select Monte Carlo from the Active Analysis box.

 Click Add tolerance button.


ht
y rig
op
C
ts
en
 Configure the Tolerance dialog as shown in the following figure.
Figure 3-12. Tolerance Parameters for C1

m
tru
ns
lI
na
io
at
N
9
01
 Click OK to return to the main Monte Carlo Analysis dialog.

 Click Add tolerance again, and repeat the above step but select C2 this time.
2

 The Tolerance tab must show the two models C1 (cc1) and C2 (cc2).
ht

 Click the Analysis parameters tab.


rig

 Set the Analysis to run an AC Sweep, with 5 runs, and set the Output variable to V(PR1).

 Click Edit analysis to configure the settings for the AC Sweep.


y
op

NI Multisim Basics Exercises © National Instruments | 3-19


C
Lesson 3 Analyses ni.com | 3-20

ts
en
 Configure the AC Sweep dialog as shown in the following figure.
Figure 3-13. Edit Analysis Dialog for the AC Sweep

m
tru
ns
lI
na
io
at
 Click OK to return to the main Monte Carlo Analysis dialog.

N
9
2 01
ht
y rig
op
C
ts
en
23. Run the Monte Carlo Analysis.

 Click Run.

m
 The results should be similar as shown in the following figure.

tru
Figure 3-14. Monte Carlo Analysis Results

ns
lI
na
io
at
N
9
2 01
ht

Note The X and Y axis scale were modified in the Axis properties to better show the differences. The original result is sampled from 1 KHz to 1 MHz.
y rig
op

NI Multisim Basics Exercises © National Instruments | 3-21


C
Lesson 3 Analyses ni.com | 3-22

ts
en
24. Clear simulation data from Grapher View.

 Select Edit»Clear pages.

m
 Click the Check All button.

tru
 Click OK.

25. Finishing the exercise.

ns
 Close any open instrument panel.

lI
na
 Close the Grapher.

io
at
 Save your exercise with the other design files you have been working with.

 Select File»Close All. N


9
01
End of Exercise 3-1
2
ht
y rig
op
C
ts
4

en
m
Working with SPICE

tru
Exercise 4-1Working with SPICE

ns
Goal

lI
Learn how to work with SPICE in Multisim.

na
Scenario
You will learn how to declare circuit parameters and use them as component values and in an expressions. You will learn how to translate a circuit into a SPICE
model allowing you to save that model into your database. You will also import a SPICE circuit netlist and the analysis to simulate that SPICE netlist without

io
rebuilding the circuit.

at
Design
1. Work with circuit parameters.
2. Create sub-circuit macro model .

N
3. Simulate a circuit from a SPICE netlist without drawing a schematic.
9
01
Implementation
The following files are referenced in this exercise. They are located in the <Exercises>\Multisim\Lab04 folder:
• RLC_Network
2

• RLC_Network_complete
ht

• Fuse_Model
• Fuse_Model-complete
rig

• FuseSimulation
• myFuseModel
y

• Arbitrary SPICE Block


op

NI Multisim Basics Exercises © National Instruments | 4-1


C
Lesson 4 Working with SPICE ni.com | 4-2

ts
en
1. Open Multisim if it is not already opened.

2. Load the design file.

m
 Open design file RLC_Network located in the <Exercises>\Multisim\Lab04 folder.

tru
3. Declare Circuit Parameters.

ns
 Select View»Circuit Parameters.

lI
 Double-click the first cell below Name, or click the Add Parameter button.

na
io
 Enter Freq.

at
 Double-click the first cell below Expression.

N
 Enter 1Meg.

 Click Add Parameter button again.


9
2 01

 Enter Period for the Name and 1/Freq for the Expression.
ht
y rig
op
C
ts
en
 Add the remaining parameters shown in the following figure.
Figure 4-1. Circuit Parameter

m
tru
ns
lI
na
Note The max expression for the Rise_Fall parameter is a built-in SPICE function. It returns the higher value of 1 n or period/100. To learn about other

io
supported functions refer to the Multisim Help.

at
4. Add circuit parameters legend on the workspace.

N
 Click the Place Circuit Parameter Legend button.
9
01

 The legend rectangle is attached to your mouse pointer.

 Click on an empty area to place the circuit parameters legend.


2

5. Using circuit parameters.


ht

 Double-click on R1.
rig

 From the Value tab enter the parameter R in the Resistance textbox.
y

 Click OK.
op

NI Multisim Basics Exercises © National Instruments | 4-3


C
Lesson 4 Working with SPICE ni.com | 4-4

ts
en
 Double-click the Pulse Voltage source V1.

 From the Value tab enter Rise_Fall in both the Rise time and Fall time textbox.

m
 Enter Period in the Period textbox.

tru
 Enter the expression Period/2 - Rise_Fall in the Pulse Width textbox.

 Enter 0 in the Initial Value and 5 in the Pulse value textbox.

ns
lI
na
io
at
N
9
2 01
ht
y rig
op
C
ts
en
Figure 4-2. Pulse Voltage Source

m
tru
ns
lI
na
io
at
N
9
2 01

 Click OK.
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 4-5


C
Lesson 4 Working with SPICE ni.com | 4-6

ts
en
 For the remaining components enter the parameters shown in the following figure.
Figure 4-3. RLC Circuit

m
tru
ns
lI
na
6. Simulate circuit using the Transient Analysis.

 Select Simulate»Analyses and simulation, or click the Active Analysis button.

io
at
N
 Select Transient from the Active Analysis list.

 Click the Output tab.


9
 Select V(out) from the Variables in Circuit list.
01

 Click Add.
2

 Click Run.
ht

 Close the Grapher View.


y rig
op
C
ts
en
7. Sweeping the capacitor parameters C using Parameter Sweep Analysis.

 Select Simulate»Analyses and Simulation, or click the Active Simulation button.

m
tru
 Select the Parameter Sweep from the Active Analysis list.

ns
 Click the Analysis parameters tab.

 Click the Sweep parameter drop-down arrow and select Circuit Parameter.

lI
 Click the Parameter drop-down arrow and select c.

na
io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 4-7


C
Lesson 4 Working with SPICE ni.com | 4-8

ts
en
 Click the Sweep variation type drop-down arrow and select List.

 Enter 1e-13, 1e-12, 5e-12, 1e-11 in the Value list textbox.

m
Figure 4-4. Parameter Sweep Setup

tru
ns
lI
na
io
at
N
9
2 01

8. Set up Transient Analysis.


ht

 Click Edit Analysis button.


rig

 Enter 1e-5 in the End Time(TSTOP) textbox.

 Click OK.
y
op
C
ts
en
9. Output setup.

 Click the Output tab.

m
 Select V(out) from the Variables in Circuit list.

tru
 Click Add.

 Click Run.

ns
Figure 4-5. Parameter Sweep Response

lI
na
io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 4-9


C
Lesson 4 Working with SPICE ni.com | 4-10

ts
en
10. Close the Grapher View.

m
11. Close the file.

tru
Create a Sub-circuit Macro Model from a Circuit
12. Load File.

ns
 Open the file Fuse_Model located in the <Exercises>\Multisim\Lab04 folder.

lI
na
13. Set up input and output nodes for the model.

 Double-click the wire connected to the positive side of the DC source V_Isense.

io
 Enter I_in in the Preferred net name textbox.

at
 Check the Show net Name checkbox.

 Click OK.
N
9
 Double-click the hanging wire connected to S1.
01
 Enter I_out the Preferred net name textbox.

 Check the Show net name checkbox.


2

 Click OK.
ht
y rig
op
C
ts
en
Figure 4-6. Fuse Behavioral Model

m
tru
ns
lI
na
io
at
14. Export the SPICE netlist.

N
 Select View»SPICE Netlist Viewer.

 Click the Copy SPICE netlist button from the SPICE Netlist Viewer window.
9
01

 Start Notepad from Start»All Programs»Accessories»Notepad.


2

 Select Edit»Paste, or <Ctrl-V>.


ht

15. Add SPICE sub-circuit macro-model statements.


rig

 Enter .subckt myFuseModel I_in I_out on the very first line.

 Enter .ENDS as the last line.


y
op

NI Multisim Basics Exercises © National Instruments | 4-11


C
Lesson 4 Working with SPICE ni.com | 4-12

ts
en
16. Save model.

 Select File»Save As.

m
 Enter myFuseModel.txt.

tru
Note When you create a SPICE mode from a circuit, you will get a simulation error if you mix SPICE and XSPICE models. In general, SPICE models are
used for analog components while digital components use XSPICE models.

ns
17. Simulating the fuse model.

 Open the file FuseSimulation located in the <Exercises>\Multisim\Lab04 folder.

lI
na
 Click the Active Simulation button.

io
at
 Select Transient from the Active Simulation box.

 Click the Run button.


N
9
01

Note You will learn how to import a SPICE model to create a new component in Lesson 9.
2

Simulating a SPICE Netlist


18. Open SPICE Netlist.
ht

 Start Notepad from Start»All Programs»Accessories»Notepad if it is not opened.


rig

 Select File»Open.
 Select the RLC.txt file located in <Exercises>\Multisim\Lab04.
y
op
C
ts
en
19. Copy the SPICE netlist.

 Select Edit»Select All, or <Ctrl-A>.

m
 Select Edit»Copy, or <Ctrl-C>.

tru
 The following figure is the circuit equivalent to the SPICE netlist.
Figure 4-7. .RLC Circuit

ns
lI
na
io
at
N
20. Start a New Multisim file.

 Select File»New.
9
 Double-click Blank.
01

21. Import SPICE netlist into Multisim.


2

 Select Place»Component.
ht

 Select the Master Database, Basic group and then Basic Virtual family.

 Place the Arbitrary _SPICE_BLOCK on the workspace.


rig

 Double-click the Arbitrary_SPICE_BLOCK.


y

 Click inside the Arbitrary SPICE text textbox.


op

NI Multisim Basics Exercises © National Instruments | 4-13


C
Lesson 4 Working with SPICE ni.com | 4-14

ts
en
 Press <Ctrl-V> to paste the SPICE netlist you copied from Notepad earlier.
Figure 4-8. Arbitrary SPICE Block

m
tru
ns
lI
na
io
at
N
9
01

 Click OK.
2

22. Simulate the SPICE netlist using Transient Analysis.

 Select Simulate»Analyses & Simulation, or click Active Simulation button.


ht
rig

 Select Transient in the Active Analysis pane.


y
op
C
ts
en
 Enter 0.01 in the End Time(TSTOP) textbox.

 Click the Output tab.

m
 Select V(3) from the Variables in Circuit list.

tru
 Click Add.

 Click Run.

ns
23. Close the exercise.

lI
 Select Files»Close All.

na
 Leave Multisim open.

End of Exercise 4-1

io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 4-15


C
C
op
yrig
ht
201
9
N
at
io
na
lI
ns
tru
m
en
ts
ts
5

en
m
Advanced Schematic Capture

tru
Exercise 5-1 Graphic Annotations

ns
Goal

lI
In this exercise you will use advanced schematic capture options to edit the Bandpass filter circuit. You will also document your work.

na
Design
1. You will modify the Bandpass filter with graphic annotations and comments.
2. Create a Description Box for the filter.

io
3. Zoom to selected part with the Spreadsheet View.

at
4. Use the Spreadsheet View to edit component properties.
5. Establish constraint driven capture for layout.
6. Edit the schematic Title Block.
N
9
Implementation
01
The following files are referenced in this exercise. They are located in the <Exercises>\Multisim\Lab05 folder:
• 40kFILTER5

2

40kFILTER5_complete
• BandpassBehavior.bmp
ht

• MyTitleBlock.tb7
y rig
op

NI Multisim Basics Exercises © National Instruments | 5-1


C
Lesson 5 Advanced Schematic Capture ni.com | 5-2

ts
en
1. Open Multisim.

2. Load design file.

m
 Open design file 40kFILTER5 located in the <Exercises>\Multisim\Lab05 folder.

tru
3. Review design file.

ns
4. Make the Graphic Annotation toolbar visible.

lI
 Select View»Toolbars»Graphic Annotation.

na
Figure 5-1. Graphic Annotation Toolbar

io
at
5. Place Text.

N
 Click the Place Text button. Then click anywhere in a blank area on the top right section of the workspace to start placing text.
9
01

 Enter Bandpass Filter: Expected Behavior, and click outside of the textbox to exit text editing mode.

 Right-click the entered text and select Font.


2

 Select Font Style: Bold, Font Size: 14. Click OK to apply the new settings.
ht

 Move the text to the top-right corner of the workspace.


y rig
op
C
ts
en
6. Place Bitmap.

 Click the Picture button.

m
tru
 Select file BandpassBehavior.bmp located in folder: <Exercises>\Multisim\Lab05.

 A ghost image attached to the mouse pointer will appear; place this picture underneath the text you placed on step 5, click to place.

ns
Figure 5-2. Text and Bitmap Placed on the Top-right Corner

lI
na
io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 5-3


C
Lesson 5 Advanced Schematic Capture ni.com | 5-4

ts
en
Comments
7. Place a comment on the workspace.

m
tru
 Select Place»Comment, or click the Comment button on the Graphic Annotation toolbar.

 Click to place on the area above the filter circuit. Click somewhere else in the workspace. Then hover the mouse above the comment icon, see how the

ns
comment appears as a tooltip, this is the default behavior of comments.

 Double-click to edit the comment’s properties.

lI
 In the Visibility section, place a checkmark in Show popup window. The comment text will now always be visible.

na
 In the textbox, enter the following text: This is a 40kHz bandpass filter. Click OK.

io
Figure 5-3. Edited Comment

at
Controlling the Drawing Layers
N
9
8. To control the visibility of drawing layers.
01
 Select the Visibility tab of the Design Toolbox. If the Design Toolbox is not visible you can bring it up if you select View»Design Toolbox or click the
Design Toolbox button of the Main toolbar.
2
ht
y rig
op
C
ts
en
 In the Fixed Annotations section you can check and uncheck Comment and Text/Graphics to toggle their display.
Figure 5-4. Visibility Tab of the Design Toolbox

m
tru
ns
lI
na
io
at
N
 Check Comment and Text/Graphics to make them visible.

9. Change the layer assigned to a graphic.


9
 Right-click the picture you placed and select Assign to layer»Comment. When you turn off the display of the Comment layer in the Design Toolbox, the
01

picture will no longer be visible.


2

Title Blocks
10. Place a Title Block.
ht

 Select Place»Title block.


rig

 Select MyTitleBlock.tb7 located in <Exercises>/Multisim/Lab05 and click Open. Click to place it anywhere in the workspace.

 Right-click the Title Block and select Move to»Bottom right.


y
op

NI Multisim Basics Exercises © National Instruments | 5-5


C
Lesson 5 Advanced Schematic Capture ni.com | 5-6

ts
en
 You may need to move parts of your circuit to make space for the Title Block. A sample diagram is shown in the following figure.
Figure 5-5. Sample Diagram After Placing the Title Block

m
tru
ns
lI
na
io
at
N
9
01
11. Enter Title Block information.

 Double-click the Title Block.


2

 Enter any information you wish, for example, try typing a Description and your Initials.
ht

 Click OK to apply changes. Review the Title Block.


y rig
op
C
ts
en
12. Edit the Title Block.

 Right-click the Title Block and select Edit symbol/title block. The Title Block Editor opens.

m
 Click the Place text icon on the toolbar and type Training: in the Enter Text field (make sure the Font Size is 8).

tru
 Click OK to exit.

ns
 The text ghost image is attached to the cursor; place it in the empty space at the bottom-right edge of the Title Block. Click to place.

lI
 Select Fields»Custom field 1. Change the font size to 8 and click OK. Place the attribute to the right of the word Training.

na
Figure 5-6. Title Block Editor Preview

io
at
N
9
 Select File»Save and File»Exit.
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 5-7


C
Lesson 5 Advanced Schematic Capture ni.com | 5-8

ts
en
 Back in the workspace, double-click the Title Block and enter Multisim Basics in Custom Field 1. Click OK. The Title Block should now resemble
the following figure.

m
Figure 5-7. Title Block

tru
ns
lI
na
The Spreadsheet View
The Spreadsheet View is a tool that displays information about the circuit. It provides a way to quickly view and change the properties of components and nets,
export circuit information to other software programs and find elements in your design.

io
13. Open the Spreadsheet View.

at
 If the Spreadsheet View is not open, select View»Spreadsheet View or click the Spreadsheet View button on the Main toolbar. The Spreadsheet View is
usually located at the bottom of the Multisim application window; you can resize and move it as you want. There are five tabs in the Spreadsheet View:

N
Results, Nets, Components, Copper layers and Simulation.
9
01

14. The Components tab.

 Select the Components tab, this tab displays all components placed in the circuit.
2

 Locate the Opamp. Look on the RefDes column for U1 and highlight it.
ht

 Click on the Go to and select the component button on the Spreadsheet View toolbar.
y rig
op
C
ts
en
 Multisim zooms in, finds, and selects the component in the workspace.
Figure 5-8. Find and Select U1

m
tru
ns
lI
na
15. Customize the columns.

io
 Right-click the column header Manufacturer and select Hide. The column is now hidden.

at
 Right-click any column header and select Show Columns. Place a checkmark on Manufacturer and click OK. The column is now visible again.

N
Tip Hide the columns that you do not use often.

 Click and hold the Footprint column header, drag it to the left side of the Manufacturer column. This will re-order the columns in the Spreadsheet View.
9
01
Figure 5-9. Moving Columns
2
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 5-9


C
Lesson 5 Advanced Schematic Capture ni.com | 5-10

ts
en
16. Sort components.

 Click the RefDes column header; this will select all rows underneath.

m
 Click the Sort descending button on the Spreadsheet View toolbar. This is a useful tool to organize components in the Spreadsheet View in alphabetical
order.

tru
ns
17. Change the Footprint of the resistors.

lI
 Holding down the <Ctrl> key, click the row of resistors R1 and R2 in order to highlight them.

na
 Click (on any of the highlighted resistors) the cell under the Footprint column, the Edit Footprint dialog opens.

 Click Select from Database. This will display the list of all available footprints in the Master database. (Hint: use the Filter option and add a filter for

io
Footprint = RES0.5)

 Select footprint RES0.5 and click Select.

at
 Click OK to exit the dialog. The footprints are now RES0.5 type.

18. Export data from the Spreadsheet View.


N
9
Note This feature is not available in the Education Edition.
01

 Click Select all.


2

 Click the Export»Export to Excel button on the Spreadsheet View toolbar.


ht

 If Microsoft Excel is installed on your PC, Excel will open and populate with all the information that was selected on the Spreadsheet View.

If Microsoft Excel is not available, you can also export to a text file or a comma-separated value file (CSV).
rig

Note
y
op
C
ts
en
19. Set layout constraints for PCB Transfer.

Layout constraints can easily be set through the Spreadsheet View. This information will be transferred automatically to NI Ultiboard when you export your

m
design and can be used to establish design limitations such as maximum and minimum trace widths of all nets.

 Select the Nets tab on the Spreadsheet View.

tru
 Any net using either power or ground will have a trace width of 15 mils, and all others will be 10 mils. Click the Trace width min column header, this will
select all rows.

ns
 Click any cell under that column. Type 10 and press <Enter>. Click anywhere else in the workspace to quit this mode.

lI
Figure 5-10. Entering Trace Width Min Information

na
io
at
 All nets now have 10 mils as minimum trace width. Using the <Ctrl> key, select VS, NVS and 0 which are the power and ground nets.

N
 Enter 15 under the Trace width min column for the selected nets and then press <Enter>. Only the power and ground nets should now have 15 mils minimum
trace width, all others have 10 mils.
9
20. Close all files.
01

 Close all files and leave Multisim open.


2

End of Exercise 5-1


ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 5-11


C
C
op
yrig
ht
201
9
N
at
io
na
lI
ns
tru
m
en
ts
ts
6

en
m
Communication and Transfer

tru
Exercise 6-1 Communication and Transfer

ns
Goal

lI
This exercise provides an introduction to the reports available in Multisim. You will also learn how to transfer your design to PCB layout software such as
NI Ultiboard.

na
Design
1. Generate a Bill of Materials (BOM).

io
2. Learn how to customize the BOM.

at
3. Learn about transferring a design to PCB layout.

Implementation

N
The following files are referenced in this exercise. They are located in the <Exercises>\Multisim\Lab06 folder:

9
40kFILTER6
• 40kFILTER6_complete
01

1. Open Multisim.
2

2. Load design file.


ht

 Open design file 40kFILTER6 located in the <Exercises>\Multisim\Lab06 folder.


y rig
op

NI Multisim Basics Exercises © National Instruments | 6-1


C
Lesson 6 Communication and Transfer ni.com | 6-2

ts
en
Bill of Materials (BOM)
3. Generate a Bill of Materials (BOM).

m
 Select Reports»Bill of Materials.

4. Customize the BOM.

tru
 Click and hold, then drag any column header to move that column to a new location.

ns
 Click any column header to sort the BOM by that column.

 Click the Select visible columns button on the toolbar. Check/uncheck different columns to show/hide them.

lI
na
 Click the Show real components button to go back to the original view.

io
at
 Click the Show Virtual Components button to display all virtual components in the circuit.

N
9
None of the virtual components will export to PCB Layout.
01
Note

 Review the other buttons on the BOM titlebar, you can save a text file of the BOM, print the BOM, see a print preview and export to Microsoft Excel. Close
2

the BOM when you are done.


ht
y rig
op
C
ts
en
Figure 6-1. Bill of Materials (BOM)

m
tru
ns
lI
na
Transfer to PCB Layout
5. Prepare your design for transfer to PCB Layout.

io
Note If you had virtual resistors, capacitors or any other component without a footprint assigned to it, this will be the time to assign one. In Lesson 5 you

at
learn how to change the footprint of the circuit components using the Spreadsheet View. You can also replace a component if you right-click the component
and select Replace Components.

N
 Place a header connector for the battery supply and input and output signals. Select Place»Component, locate HDR1X5 in the Master database, Connectors
group, Header_Test family.
9
 Connect the header as shown in the following figure and add the necessary on-page connectors.
01

Figure 6-2. Header Connections


2
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 6-3


C
Lesson 6 Communication and Transfer ni.com | 6-4

ts
en
6. Return to the BOM to see the changes.

 Generate a new BOM report. The header is now added to the list.

m
 Close the BOM report.

tru
7. Design is ready, transfer the design to NI Ultiboard.

ns
 Select Transfer»Transfer to Ultiboard»Transfer to Ultiboard 14.

lI
 Save the design’s netlist file (.ewnet) in the default directory.

na
 When NI Ultiboard opens, click OK to accept all the Import Netlist actions (you may review them to get an idea of what gets transferred).

 Ultiboard shows the PCB layout workspace with a default board outline and the components unplaced and not routed.

io
8. Close Ultiboard.

at
 Select File»Exit to close Ultiboard. Select Yes if asked to save the changes.

N
9
Note Learning Ultiboard is beyond the scope of this course. The NI Ultiboard: PCB Layout course teaches you how to design and finish a PCB project.
01

Additional Exercise
1. Examine some of the other reports from the Reports menu.
2

2. Close all files and leave Multisim open.


ht

End of Exercise 6-1


y rig
op
C
ts
7

en
m
Projects and Design Sharing

tru
Exercise 7-1 Working with Projects and Design Sharing

ns
Goal

lI
This exercise will provide an introduction to working with Projects and Team Design in Multisim. Subcircuits and Hierarchical Blocks will be contrasted. You will
also review Electrical Rules Check in a design and Project Management.

na
Design
1. Use design blocks, Hierarchical Blocks (HB) and Subcircuits (SC).

io
2. Use Bus Vector Connect.

at
3. Find components within a design.
4. Use Electrical Rules Check (ERC).

N
5. Use Project management. 9
Implementation
The following files are referenced in this exercise. They are located in the <Exercises>\Multisim\Lab07 folder:
01

• 40kFILTER7
• 40kFILTER7_complete
2

• display_driver
ht

• display_logic
• gain_stage
rig

• sonar_control
• sonar_design1
y

• sonar_design1_complete
op

NI Multisim Basics Exercises © National Instruments | 7-1


C
Lesson 7 Projects and Design Sharing ni.com | 7-2

ts
en
1. Open Multisim.

2. Load design file.

m
 Open design file sonar_design1 located in the <Exercises>\Multisim\Lab07 folder. This is the skeletal design of a sonar circuit.

tru
ns
Design Blocks (HB and SC)
3. The sonar circuit requires a Bandpass filter with a gain stage for receiving pulses.

lI
 Select Place»Hierarchical block from file, or click the Hierarchical block from file button on the Components toolbar.

na
 Select the gain_stage file located in the <Exercises>\Multisim\Lab07 folder.

io
 Click to place this block on the workspace underneath the Oscilloscope.

at
Note Input/Output (I/O) pins provide an interface to higher level files for HBs and SCs. In this case, gain_stage is already configured with I/O pins to

N
be a HB.

Figure 7-1. Place gain_stage Underneath the Oscilloscope


9
2 01
ht
y rig
op
C
ts
en
4. Load design file.

 Select File»Open, or click the Open button on the Standard toolbar.

m
tru
 Open design file 40kFILTER7 located in the <Exercises>\Multisim\Lab07 folder.

5. Modify the Bandpass filter so that it can be used as a HB.

ns
 Select Place»Connectors»Hierarchical connector.

lI
na
 Click to place this I/O pin to the left of the Bandpass filter.

io
 Double-click the pin and change the Name to filter_in.

 Repeat the above step and place another connector as an output pin, before placing this pin on the workspace you can rotate it 180° by pressing <Ctrl-R>

at
twice. Click to place this pin to the right of the Bandpass filter and name it filter_out.

N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 7-3


C
Lesson 7 Projects and Design Sharing ni.com | 7-4

ts
en
 Connect the input pin to the input of the filter and the output pin to the output of the filter as shown in the following figure.
Figure 7-2. Place I/O HB/SC Connectors to the Bandpass Filter

m
tru
ns
lI
na
io
at
 Select File»Close and Save when prompted. The Bandpass filter is now ready to be used as a HB.

N
6. Back in the top-level design, place the Bandpass filter as a HB.
9
 Select Place»Hierarchical block from file, or click the Hierarchical block from file button on the Components toolbar.
2 01

 Select the 40kFILTER7 file you just modified.


ht
y rig
op
C
ts
en
 Click to place the block before the gain_stage block and wire them up as shown in the following figure.
Figure 7-3. 40kFILTER7 and gain_stage HBs

m
tru
ns
lI
na
io
at
N
Tip If when you place a HB, you see the footprint pins displayed as shown in the left-side of the following figure, you can turn them off. Double-click the
symbol, then select the Display tab, uncheck Use sheet visibility settings and uncheck Show footprint pin names, click OK to exit.
9
01
Figure 7-4. Show Footprint Pin Names Property
2
ht

HBs and SCs can also be created easily by selecting a part of an existing circuit and replacing it with a HB or SC. You will divide the sonar circuit into appropriate
rig

stages to improve design flow and legibility.


y
op

NI Multisim Basics Exercises © National Instruments | 7-5


C
Lesson 7 Projects and Design Sharing ni.com | 7-6

ts
en
7. Convert the 40 KHz Signal Generator section into a Subcircuit (SC).

 Select all the components of the input stage at the top left section of the circuit named “40 KHz Signal Generator” and is outlined by a dashed rectangular

m
box (that is draw a selection rectangle encompassing the dashed rectangle).

Figure 7-5. Input Stage Selected

tru
ns
lI
na
io
at
N
9
01

 Right-click any of the selected components of the input stage and select Replace by subcircuit.
2

 In the prompt dialog type Signal_Gen as the Subcircuit name. Click OK to continue.
ht

 Click to place the Subcircuit in the same spot.


y rig
op
C
ts
en
 Wire the tx_out on-page connector to the wire that connects the new Subcircuit with resistor R7, this will create a virtual connection.
Figure 7-6. New Subcircuit Re-wired

m
tru
ns
lI
na
 Select File»Save, or click the Save button on the Standard toolbar.

io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 7-7


C
Lesson 7 Projects and Design Sharing ni.com | 7-8

ts
en
Hierarchical Block (HB) Design and Bus Vector Connect
8. Place another HB called display_logic.

m
 Select Place»Hierarchical block from file, or click the Hierarchical block from file button on the Components toolbar.

tru
 Select the file display_logic.

ns
 Click to place the HB to the left and underneath the 7-segment Displays.

lI
 Click OK to acknowledge the net name resolving window.

na
Figure 7-7. Place display_logic

io
at
N
9
2 01

Design blocks are easy to duplicate.


ht
y rig
op
C
ts
en
9. Check nested blocks.

 Double-click the display_logic block and click Open subsheet to open the design block in a new circuit tab.

m
 Notice how blocks can be nested and that there are two instances of the same HB display_driver.

tru
Figure 7-8. Hierarchy Design

ns
lI
na
io
at
N
 Double-click the display_driver block and click Open subsheet to tunnel further down to see the lowest level block.

 Click sonar_design1 in the Design Toolbox to return to the top-level view of the circuit.
9
01
10. Connect wires.

 In the top-level circuit, locate the display_logic block.


2

 Click the enable pin to draw a net to the left of this block, and double-click on the workspace to finish wiring (this is an example of mid-air wiring).
ht

 Double-click this net and rename it to enable_count in the Preferred net name field. You will be prompted to connect this net with an existing one using
On-Page connectors, click OK (this is an example of virtual wiring).
y rig
op

NI Multisim Basics Exercises © National Instruments | 7-9


C
Lesson 7 Projects and Design Sharing ni.com | 7-10

ts
en
 Repeat the previous two steps on the pulse pin, naming the net new_pulse.
Figure 7-9. Mid-air and Virtual Wiring

m
tru
ns
11. Connect a Bus.

 To automatically draw a bus, click the SEG_OUT bus pin to create a bus wire to the right of the display_logic block and after the rightmost 7-segment

lI
display, double-click to finish the bus wire.

na
 The two 7-segment displays should now have the bus wire located underneath.

Tip To place a bus without connecting it to a bus pin, select Place»Bus, or click the Bus button ( ) on the Components toolbar.

io
 Select the leftmost 7-segment display. Once it is highlighted select Place»Bus vector connect or right-click the display and select Bus vector connect.

at
 The left side of this dialog contains pins that will be used from the component. Select which side of the component to connect, in this case the default selection

N
of Bottom is appropriate.

 Select pins A to G by selecting A, press and hold the <Shift> key and select G.
9
 Click to transfer the selection to the table below.
01

 Select Bus1 on the Bus section to display all bus lines that have been inherited from the block.
2

 Select DA0 to DA6 and click to transfer those buslines to the bus-mapping table below.
ht
y rig
op
C
ts
en
Figure 7-10. Bus Vector Connect Dialog Box

m
tru
ns
lI
na
io
at
N
 Since the order of assignment is correct for this example (no need to use the Up or Down buttons) you can click OK and then click on the Bus1 wire, the
component will auto-wire all pins to the bus.
9
01
Figure 7-11. Seven-segment Display and Bus1 are Now Connected
2
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 7-11


C
Lesson 7 Projects and Design Sharing ni.com | 7-12

ts
en
 Repeat for the 7-segment display on the right, this time mapping to bus lines DB0 to DB6.

 Select File»Save, or click the Save button on the Standard toolbar.

m
tru
Finding Components
12. Find a component in the schematic.

ns
 Select Edit»Find to display the Find dialog.

lI
na
 Configure the dialog as shown in the following figure.
Figure 7-12. Find Component dialog

io
at
N
9
2 01
ht
y rig
op
C
ts
en
 Two instances should be found and displayed in the Results tab of the Spreadsheet View. Double-click one of the instances and Multisim will take you to
location of the component.

m
Figure 7-13. Component located

tru
ns
lI
na
io
 Click sonar_design1 in the Design Toolbox to return to the top-level circuit.

at
Electrical Rules Check (ERC)
13. Run the ERC tool.

N
 Select Tools»Electrical rules check, or click the Electrical rules check button in the Main toolbar.
9
01

 The Electrical Rules Check dialog allows you to specify the scope of the ERC to be performed. Click OK to run an ERC on the current page of your design.
2

14. Review ERC results.

 Check the Results tab of the Spreadsheet View. Multiple errors should be listed saying that a “Bidirectional” to “Power” connection is in place.
ht

 Double-click any of the error records and Multisim will take you to the location where the error is. Notice how a red circle signals the location of the error.
rig

 Please note, these are errors based on the user-defined rules.


y
op

NI Multisim Basics Exercises © National Instruments | 7-13


C
Lesson 7 Projects and Design Sharing ni.com | 7-14

ts
en
15. Modify ERC parameters.

 Return to the Electrical Rules Check dialog.

m
tru
 Select the ERC rules tab.

The ERC rules tab establishes a matrix where you can specify what should be flagged as error or warning or not flagged at all.

ns
 You will allow Power pins to connect to Bidirectional pins. Click multiple times the square where Pwr meets Bi until the square is green with a checkmark.

lI
Refer to the following figure.

Figure 7-14. ERC Rules Tab

na
io
at
N
9
2 01
ht
rig

 Click Apply and OK to run the ERC and note the new results in the Spreadsheet View (no errors).
y
op
C
ts
en
16. Clear ERC Markers.

Note This feature is not available in the Education Edition.

m
 Return to the Electrical Rules Check dialog.

tru
ns
 Change the Scope to Entire design and click OK.

 Note that now every ERC error or warning in the design is being flagged.

lI
 Select Tools»Clear ERC markers to clear the circuit of errors.

na
io
 Select Entire design and click OK.

at
Project Management
17. Start with a new workspace.

 Select File»Save and File»Close all.


N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 7-15


C
Lesson 7 Projects and Design Sharing ni.com | 7-16

ts
en
18. Create a new Project.

 Select File»Projects and packing»New project. Configure the dialog as shown in the following figure, and click OK when finished.

m
Figure 7-15. Creating a New Project

tru
ns
lI
na
io
Note You can also change the default path for the Project and Version folders. Keep the defaults for this exercise.

at
19. Review the Project View tab.

 The Project View tab of the Design Toolbox displays the files used in the Project. Select View»Design Toolbox if it is closed or click the Design Toolbox
button on the Main toolbar.
N
9
01

 Right-click the Schematic folder and select Add file.

 Add the following files to your Project (located in the Lab07 folder). Press the <Ctrl> key to select multiple files and click Open when finished.
2

• 40kFILTER7_complete
ht

• display_driver

rig

display_logic
• gain_stage
y
op
C
ts
en
• sonar_control
• sonar_design1_complete

m
Figure 7-16. The Project View

tru
ns
lI
na
io
at
 Double-click sonar_design1_complete to open the design file.

20. Save the current Project.


N
9
 Select File»Projects and packing»Save project.
01

21. Pack the Project.

Project packing is useful for migrating a complete set of files that belong to a project and that you wish to use in another computer. All files displayed in the
2

Project View can be packed.


ht

 Select File»Projects and packing»Pack project.


rig

 Accept the defaults and click OK.

 Select a filename for such as MySonarProject and click Save.


y
op

NI Multisim Basics Exercises © National Instruments | 7-17


C
Lesson 7 Projects and Design Sharing ni.com | 7-18

ts
en
 Team up with another class mate and unpack your project in that class mate’s computer (use a USB stick or network to transfer your file). To unpack, select
File»Projects and packing»Unpack project.

 If you want to unpack the project files to a specific location, you can modify the Destination and the Extracted Path fields.

m
22. Use Version Control for the Project.

tru
 Select File»Projects and packing»Version control.

ns
 Review the default options in the Version Control window and click OK. This task creates a backup copy of the current state of the project.

 If time permits, make some changes to the files in your project, and try to recover the previous version.

lI
Note You must save changes you make to files before attempting to backup a project, otherwise the changes will not be part of the backup.

na
23. Close the current Project and all files.

io
 Select File»Projects and packing»Close project.

at
 Select File»Close all if any Design file is open.

 Leave Multisim open.

End of Exercise 7-1


N
9
2 01
ht
y rig
op
C
ts
8

en
m
MCU Co-simulation

tru
Exercise 8-1 MCU Co-simulation

ns
Goal

lI
Multisim MCU adds microcontroller co-simulation capabilities to Multisim, allowing you to include a MCU programmed in assembly or C code, within your SPICE
modeled circuit.

na
In this exercise you have two options, the first is to use the MCU to create a MCU Workspace, use the PIC16F84A to run a counter operation and debug the source
code. The second option is to use the MPLAB X to build your code to display a message on an LCD display.

io
Design

at
1. Create an MCU Workspace and Project.
2. Co-simulate Multisim and the MCU Module.

N
3. Debug the source code. 9
Implementation
The following files are referenced in this exercise. They are located in the <Exercises>\Multisim\Lab08\MultiMCU folder:
01

• PICUpDownCounter
• UpDown_Counter.c
2

• HTGraphicDisplay.txt
ht

• HTGraphicDisplay_complete
y rig
op

NI Multisim Basics Exercises © National Instruments | 8-1


C
Lesson 8 MCU Co-simulation ni.com | 8-2

ts
en
1. Open Multisim.

 Make sure that a blank Design circuit page is in the workspace, otherwise create a new workspace.

m
tru
The MCU Workspace
The MCU Workspace is a special location in the Design Toolbox that includes all the information of the project, as well as a dedicated folder where the build files,

ns
source code files and any necessary file for the MCU are stored. It is recommended that you have this folder located in the same folder as your Multisim file.

2. Place the MCU on the blank workspace.

lI
 Place the PIC16F84A component located in the Master database, MCU group, PIC family. The MCU Wizard launches when you click to place the

na
component.

3. Configure the MCU Wizard.

io
 Step 1 of the MCU Wizard requires you to provide a path and a name for your project workspace. Select the folder where you are saving your finalized
exercises and provide a name for the workspace such as MyMCUProject. Click Next when you are ready to continue.

at
 In Step 2 of the MCU Wizard you configure the project settings as follows:


Project type: Standard
Programming language: C N
9
• Assembler/Compiler Tool: HI-TECH PICC Compiler
01

• Project name: C Code Project

 Click Next.
2

 In Step 3, leave the defaults to add a new source file named main.c.
ht

 Click Finish.
y rig
op
C
ts
en
4. Save the circuit.

 Save the Multisim file as PICUpDownCounter.

m
5. Review the Design Toolbox.

tru
 If you expand all branches in the Design Toolbox it should look like the following figure.

ns
Figure 8-1. MCU Project in the Design Toolbox

lI
na
io
at
6. Enter Source Code.
N
9
 Double-click the C source code file main.c to open the Source Code Editor. Here is where you can enter the source code for your project or copy and paste
01
from other source files.

 Use a text editor (like Notepad) to open and Edit»Select All, and then Edit»Copy the entire C code from UpDown_Counter.c located in the
2

<Exercises>\Multisim\Lab08\MultiMCU folder.

 Delete the contents of the main.c source file in the Source Code Editor in Multisim.
ht

 Edit»Paste the source code you copied from the UpDown_Counter.c file.
rig

 Right-click anywhere inside the editor window and select Line numbers.
y
op

NI Multisim Basics Exercises © National Instruments | 8-3


C
Lesson 8 MCU Co-simulation ni.com | 8-4

ts
en
 Save the source code file.

m
7. Review the MCU Code Manager.

tru
 Select MCU»MCU PIC16F84A U1»MCU code manager. You can also right-click any of the MCU related entries in the Design Toolbox and select MCU
code manager.

ns
lI
You can manage all your project files from this window.

na
 Click OK to exit.

Placing and Wiring Peripherals

io
8. Build the complete circuit.

at
 Click the top-level circuit PICUpDownCounter in the Design Toolbox. This will take you back to the circuit diagram.

 Build the circuit shown in the following figure, use this table as a guide to locate and configure components.

Group Family N Component Value RefDes


9
Sources POWER SOURCES VSS 0 VSS
01

Sources V VDD 5 VDD


2

Basic RESISTOR 10 k 10 kΩ R1

Basic RESISTOR 10 k 10 kΩ R2
ht

Basic SWITCH SPST Key D S1


rig

Basic SWITCH SPST Key R S2

Indicators HEX_DISPLAY SEVEN_SEG_COM_A — U2


y
op
C
ts
en
Figure 8-2. MCU Test Circuit

m
tru
ns
lI
na
io
Co-simulating MCU and Multisim
9. Simulate the circuit.

at
 Right-click the C Code Project in the Design Toolbox and select Set MCU Project Active.

 Start the simulation.


N
9
01

 Confirm the dialog to build the source code.


2

 The display will start counting up when you close S1 and S2. Open and close the switches to modify the behavior.
ht

 Stop the simulation.


y rig
op

NI Multisim Basics Exercises © National Instruments | 8-5


C
Lesson 8 MCU Co-simulation ni.com | 8-6

ts
en
Debugging Features
10. Debug your source code.

m
 Double-click the main.c file in the Design Toolbox under C Code Project.

 If line numbers are not visible, right-click anywhere inside the editor window and select Line numbers.

tru
ns
 Right-click line 43 where the following line of code is:

lI
if ( nIndex == -1 ) { nIndex = 15; }

…and select Toggle breakpoint. You can also double-click the left border at line 43. You will notice the breakpoint with a red circle on the left border.

na
io
 Go back to the top-level circuit and make sure that S1, the direction switch is open. Start the simulation.

at
 Confirm the prompt to re-build the project.
N
9
2 01
ht
y rig
op
C
ts
en
 Click the S1 direction switch, the simulation will hit Pause and the Debug View will open and stop at the line of code of the breakpoint.
Figure 8-3. Debug View

m
tru
ns
lI
na
io
 Experiment with the debug tools in the Simulation and MCU toolbars.

at
Figure 8-4. Debug Tools

N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 8-7


C
Lesson 8 MCU Co-simulation ni.com | 8-8

ts
en
11. Open the Memory View.

 With the simulation paused, select MCU»MCU PIC16F84A U1»Memory View. Review all memory view sections.

m
tru
Figure 8-5. The Memory View

ns
lI
na
io
at
N
9
01

12. Wrap up the project.

 After you are done experimenting with some of the tools, right-click inside the source code editor and select Remove all breakpoints.
2
ht

 Stop the simulation.


y rig
op
C
ts
en
 Go back to the main design file and Save it.

m
MCU Co-Simulation with MPLAB X

tru
1. Open MPLAB X IDE.

 Select Start»All Programs»Microchip»MPLAB X IDE»MPLAB X IDE V2.30.

ns
2. Create a MCU project.

lI
 Select File»New.

 Select Microchip Embedded from the Categories box.

na
 Click Next.

io
 Click the Family drop-down list and select Mid-Range 8-bit MCUs (PIC10/12/16/MCP).

at
 Click the Device drop-down list and select PIC16F84A.

N
 Click Next.

 Select Simulator from the Select Tool box.


9
 Click Next.
01

 Select the Hi-Tech PICC (V9.82)[C:\Programs Files(X84)\HI_TECH software\PICC\9.82\bin] from the Select Compiler box.
2

 Click Next.
ht

 Enter HTGraphicDisplay in the Project Name textbox.

 Enter C:\Exercises\Multisim\Lab08\MPLABX in the Project Location textbox.


rig

 Click Finish.
y
op

NI Multisim Basics Exercises © National Instruments | 8-9


C
Lesson 8 MCU Co-simulation ni.com | 8-10

ts
en
3. Add MCU code.

 Right-click the Source File from the Project box.

m
 Click New.

tru
 Click C Main File.

 Enter HTGraphicDisplayMain in the Filename textbox.

ns
 Click Finish.

lI
Figure 8-6. MPLAB X Project Viewt

na
io
at
N
9
2 01
ht

 In the text editor HTGraphicDisplay.c tab press <Crtl-A>.


rig

 Press <Delete>.
y
op
C
ts
en
4. Copy Code from Notepad.

 Open Notepad from Start»All Programs»Accessories»Notepad.

m
 Select File»Open.

tru
 Open the HTGraphicMain.txt from <Exercises>\Multisim\Lab10\MPLABX.

 Press <Ctrl-A>.

ns
 Press <Ctrl-C> to copy the code.

lI
5. Add code to text editor in MPLAB X IDE.

na
 Click inside the text editor space under the HTGrphicDisplay tab.
 Press <Ctrl-V> to add the code you copied from Notepad.

io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 8-11


C
Lesson 8 MCU Co-simulation ni.com | 8-12

ts
en
Figure 8-7. Main.c in MPLAB X Text Editor

m
tru
ns
lI
na
io
at
N
9
2 01
ht
y rig
op
C
ts
en
6. Build Code.

 Click the Build button.

m
tru
7. Create a new circuit in Multisim.

ns
 In Multisim select File»New.

lI
 Click on Blank.

8. Place MCU on the workspace.

na
 Select Place»Component.

io
 Click the Database down-arrow and select User database and then select the MCU Group.

at
 Select MCU_Microchip_PIC16 family.

N
 Enter PIC16F84A-04/P in the Component textbox.

 Click OK.
9
9. Set up MCU for simulation.
01

 Double-click the PIC16F84A-04/P.


2

 Enter 3M in the MCU Instruction rate textbox.


ht

Note .Refer to the MCU datasheet for the instruction rate for the specific MCU you selected.
rig

 Enter the path <MPLABX>\HTGraphicDisplay.X\dist\default\production\HTGraphicDisplay.X.production.cof.

Note The debug file extension depends on the compiler you selected.
y
op

NI Multisim Basics Exercises © National Instruments | 8-13


C
Lesson 8 MCU Co-simulation ni.com | 8-14

ts
en
 Check the Pause simulation at first instruction checkbox.

 Click OK.

m
10. Build the circuit to interactive with the MCU.

tru
 Use the following table to place the required components.

Group Family Component Value RefDes

ns
Sources POWER SOURCES VSS 0 VSS

lI
Sources POWER SOURCES VDD 5 VDD

Sources POWER SOURCES DGND DGND DGND

na
Advance_Peripherals LCD GRAPH_LCD_M — U2

io
 Use the following diagram to wire the circuit.

at
Figure 8-8. MCU Connected to Graphic LCD Display

N
9
2 01
ht
y rig
op
C
ts
en
11. Co-simulate MCU with Multisim components.

 Click Run.

m
tru
 Any errors will display on the Spreadsheet View.

12. Add break points.

ns
 It takes about a minute for the Java MCU Simulator to appear.

lI
 Select HTGraphicDisplayMain.c tab scroll down until you reach line 131.

na
 Click in the gray area before the line number to add a break point.

Tip Click the break point indicator again to remove it.

io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 8-15


C
Lesson 8 MCU Co-simulation ni.com | 8-16

ts
en
Figure 8-9. MCU Simulator View

m
tru
ns
lI
na
io
at
N
9
2 01
ht
y rig
op
C
ts
en
13. Stepping through code.

 Press <F7> or click the Step Into button to step through the code.

m
tru
Note As you step through the code, the MCU memory view and the Multisim workspace will update showing you the current state at the line of code.

ns
 Press <F5> or click the Continue button to run through the code.

lI
na
 View the simulator on the LCD display in Multisim.

14. Close files.

io
 Select File»Close All.

at
End of Exercise 8-1

N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 8-17


C
C
op
yrig
ht
201
9
N
at
io
na
lI
ns
tru
m
en
ts
ts
9

en
m
Custom Components

tru
Exercise 9-1 Creating Components

ns
Goal

lI
Create a new component from an existing component and use the Component Wizard to create a new Opamp by using the manufacturer’s SPICE model and footprint
information.

na
Design
1. Learn how to import primitive and sub-circuit model to an existing component.

io
2. Create the Analog Devices® AD8698AR Opamp using the Component Wizard.

at
3. Learn how to use the Symbol Editor.

N
Implementation
The following files are referenced in this exercise. They are located in the <Exercises>\Multisim\Lab09 folder:

9
BYMO-100.cir
• DiodeTest
01

• AD8698.cir
• AD8698AR Datasheet.pdf
2

• AD8698 TestCircuit
ht

• PIC16F1507
• PIC16F1507.sym
rig

• PIC16F1507 Datasheet.pdf
y
op

NI Multisim Basics Exercises © National Instruments | 9-1


C
Lesson 9 Custom Components ni.com | 9-2

ts
en
1. Open Multisim.

 Make sure that a blank Design circuit page is in the workspace, otherwise create a new Design.

m
tru
Import Primitive Diode Model
2. Place a diode from the Master database.

ns
 Select Place»Component.

lI
 Select the Master database and then the Diode Group.

na
 Select Diode Family and then select 1BH62 diode from the Component list.

 Place the diode on the workspace.

io
3. Add new model.

at
 Double-click on the diode.

N
 Click the Edit Component in db button.

 Click the Model tab.


9
01
 Click the Add/Edit button.

 Select the User Database.


2

 Click the Add button.


ht

 Enter the BYM10-1000 in the Model ID textbox.


rig

 Click OK.
 Click the Load Model from File button.
y

 Select the BYM10-100.cir file in the <Exercises>\Multisim\Lab09 folder.


op
C
ts
en
 Click the Save button.

 Click the Select button.

m
4. Delect the original model.

tru
 Select the 1BH62 model from the Model Name.

 Click the Delete a model button.

ns
5. Add new diode information.

lI
 Click the General tab.

na
 Enter the diode part number BYM10-100 in Name textbox.
 Add general information about the diode in the Function textbox to help you select part in the future.

io
Figure 9-1. Component Properties

at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 9-3


C
Lesson 9 Custom Components ni.com | 9-4

ts
en
6. Save component to database.

 Click the Save button.

m
 Expand the User Database tree.

tru
 Select the Diode.

 Click the Add Family button.

ns
 Enter Diode in the Enter family name textbox.

lI
 Click OK.

na
 Click OK.

7. Set default prefix for Diode family.

io
 Select Tools»Database»Database Manager.

at
 Select the Family tab.

N
 Expand the User Database tree.

 Select the Diode family from the Family Tree box.


9
 Enter D in the Default prefix textbox.
01

 Click Close.
2

8. Test diode.
ht

 Place the IV analyzer from the Instruments toolbar.


y rig
op
C
ts
en
 Connect the diode to the IV anlyzer as shown in the following figure.
Figure 9-2. Test Diode

m
tru
ns
lI
na
 Click the Run button.

io
The Component Wizard
9. Locate the SPICE model for the component.

at
 Using Notepad, or any other word processing software, open the file AD8698.cir located on the <Exercises>\Multisim\Lab09 folder.

N
 Select all the text in the file and copy the selection into memory (In Notepad: Edit»Select all, then Edit»Copy).

 Close the word processing tool.


9
01
10. Start the Component Wizard.

 In Multisim, select Tools»Component wizard or click the Component wizard button on the Main toolbar.
2
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 9-5


C
Lesson 9 Custom Components ni.com | 9-6

ts
en
11. Step 1: Enter component information.

 Configure the dialog as shown in the following figure. Since you have access to the SPICE model you can create the component for simulation.

m
 Use the datasheet if needed to fill in information, e.g., Function.

tru
Figure 9-3. Step 1

ns
lI
na
io
at
N
9
01

 Click Next to continue.


2
ht
y rig
op
C
ts
en
12. Step 2: Enter footprint information.

 According to the datasheet, the footprint is a SOIC (R-8).

m
Figure 9-4. Footprint Information

tru
ns
lI
na
 Click Select a footprint. In the Database Name field, select Master Database.

io
 Click Filter. This helps you do a quick search within the thousands of footprints included in NI Ultiboard.

at
 Use Add row to add filter rules, click the corresponding cell to pull-down a list of options, configure the Filter window as follows:

N
Figure 9-5. Selecting the SOIC (R-8) Footprint
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 9-7


C
Lesson 9 Custom Components ni.com | 9-8

ts
en
 Click OK. One of the resulting footprints should be:
Manufacturer: Analog Devices
Footprint: SOIC-N-8(R-8)

m
The two results map to the same Ultiboard Footprint which is IPC Compliant.

tru
Highlight the footprint and click Select.

 This will be a multi-section component. Configure the component for 2 sections, 5 pins per section. Refer to the following figure.

ns
Figure 9-6. Configuring the Multi-section Parameters

lI
na
io
at
N
9
2 01

 Click Next to continue. Do not worry about total number of pins (10) not matching our footprint pin count (8) at this point. This is useful in subsequent steps.
ht
y rig
op
C
ts
en
13. Step 3: Enter symbol information.

Step 3 of the Component Wizard shows the symbol generated by default. You can modify the symbol. For this example, you will copy a symbol from the

m
database.

 Click Copy from DB.

tru
 Locate the OP777AR Opamp in the Master database, Analog group, Opamp family.

ns
 Highlight and click OK.

 In the Step 3 window, notice how the symbol in section A is different from the one in section B. Select the section A tab and click Copy to.

lI
 Check all options and click OK.

na
Figure 9-7. Step 3

io
at
N
9
2 01
ht
rig

 Click Next to continue.


y
op

NI Multisim Basics Exercises © National Instruments | 9-9


C
Lesson 9 Custom Components ni.com | 9-10

ts
en
14. Step 4: Set pin parameters.

Step 4 of the Component Wizard allows you to select the pin model type for each pin in the symbol, and to select whether to include or exclude that pin from

m
Electrical Rules Check (ERC). You can also configure common pins and hidden pins if any are present on your new component.

 Configure the Type column as shown in the following figure. (Hint: use <Ctrl> to multi-select rows.)

tru
Figure 9-8. Step 4

ns
lI
na
io
at
N
9
01

 Click Next to continue.


2
ht
y rig
op
C
ts
en
15. Step 5: Set mapping information symbol-footprint.

Step 5 of the Component Wizard provides you with the opportunity to review the mapping between the symbol and footprint. It is needed when you export to

m
a layout package. Ensure that the mapping is accurate by comparing it to the datasheet information.

 Map each symbol pin to its corresponding footprint pin. Refer to the footprint schematic shown in Figure 9-4. Click the corresponding Footprint Pin cell

tru
for each row and assign a pin number. You may also experiment with the Map Pins option for a graphical click-and-assign rather than a pull-down list.

 The configured dialog must look like the following figure.

ns
Figure 9-9. Step 5

lI
na
io
at
N
9
2 01
ht

 Click Next to continue.


y rig
op

NI Multisim Basics Exercises © National Instruments | 9-11


C
Lesson 9 Custom Components ni.com | 9-12

ts
en
16. Step 6: Select the simulation model.

Step 6 of the Component Wizard requires you to enter the simulation model information. You can load SPICE models or create one with the Model Maker.

m
 You will use the model you copy at the beginning of this exercise. Right-click anywhere inside the Model Data box and select Paste. If the text data is no
longer available, refer to step 2 at the beginning of this exercise.

tru
 In the Model Name field type MyAD8698.

ns
 Copy the model from section A to B. Click Copy to, place a checkmark on the Section B option and click OK.
Figure 9-10. Step 6

lI
na
io
at
N
9
2 01
ht
rig

 Click Next to continue.


y
op
C
ts
en
17. Step 7: Set mapping information between the symbol and the model.

In Step 7 of the Component Wizard you must ensure that each symbol pin associates to the corresponding number connecting to its node in the model. From

m
the text file of the SPICE model the following is known:
• * Node assignments: IN+ IN- V+ V- O

tru
• .SUBCKT AD8698 1 2 99 50 45

 Using the previous information configure the Step 7 dialog as shown in the following figure:

ns
Figure 9-11. Step 7

lI
na
io
at
N
9
2 01
ht
rig

 Click Next to continue.


y
op

NI Multisim Basics Exercises © National Instruments | 9-13


C
Lesson 9 Custom Components ni.com | 9-14

ts
en
18. Step 8: Save the component to the User or the Corporate database.

 Expand the User Database.

m
 Select the Analog group.

tru
 Click Add Family. Type Opamp as the new Family Name and click OK.
Figure 9-12. Step 8

ns
lI
na
io
at
N
9
01

 Select the new Opamp family and click Finish.


2

 Pick section A and place it.


ht

 Hit <Esc> to exit.


y rig
op
C
ts
en
19. Test the newly created component.

 In the blank design that is open, select Tools»Circuit wizards»Opamp wizard.

m
 Configure an Inverting Amplifier with a Gain of -2.

tru
 Click Verify and Build circuit when you are ready to continue.

 Place the new circuit anywhere in the workspace.

ns
 Replace the virtual Opamp with the new component you created (Hint: Right-click, and then select Replace components).

lI
 Place DC Power supplies for +12 and -12 Volts needed for the Opamp.

na
 Place an Oscilloscope to plot the input and output voltages.

io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 9-15


C
Lesson 9 Custom Components ni.com | 9-16

ts
en
 Simulate; you should see a waveform as shown in the following figure.

m
Figure 9-13. Simulation Results from the New Component

tru
ns
lI
na
io
at
Figure 9-14. Test Circuit for the New Component

N
9
2 01
ht
y rig
op
C
ts
en
 Stop the simulation.

m
 Save your work and close the test file.

tru
ns
 Create a new blank Design.

lI
na
The Symbol Editor
In this section you will create a new component and define the symbol for that component. The example will create a microcontroller component (PIC16F1507). You
can find the datasheet in the <Exercises>\Multisim\Lab09 folder which you will use to complete this exercise.

io
20. Create the component.

at
 Start the Component Wizard.

N
9
 For the Component Name enter PIC16F1507-I-SO, select Layout only (footprint) and fill the Author and Function with any information you consider
01
useful. Click Next. (Hint: use the datasheet)

 In Step 2, select footprint SOIC127P1030X265-20N from the Master database. (Hint: Use the filter, the Ultiboard Footprint contains “SOIC”, “127”, “265”
and “1030”, and Pin Count is “20”; you can get these parameters from the datasheet using IPC convention, type is SOIC, pitch is 127, height is 265 and width
2

is 1030, as found in the dimensions section of the datasheet.) This is a Single section component with 20 pins. Click Next.
ht

 Step 3 shows the symbol generated by default. You must modify this symbol to the desired shape. Click Edit.
y rig
op

NI Multisim Basics Exercises © National Instruments | 9-17


C
Lesson 9 Custom Components ni.com | 9-18

ts
en
21. Use the Symbol Editor to create an appropriate symbol for this component.

 The Symbol Editor appears with a default symbol and shape.

m
Figure 9-15. Default symbol created by the Component Wizard

tru
ns
lI
na
io
 Start by resizing the boundary box. Select Edit»Resize boundary box, or click the Resize the boundary box button in the Drawing toolbar. Make the
rectangle a lot bigger to fit all 20 pins and the pin names you will be creating later. You can always resize the boundary box at a later time if needed.

at
Tip
N
All pins are bounded to the outside of the Boundary Box. Experiment with resizing it whenever you need more space inside the symbol.
9
Tip The Spreadsheet View works very similar as in Multisim; use it to change object properties.
2 01
ht
y rig
op
C
ts
en
 The SOIC pinout of the component is located on Page 4 of the PIC16F1507 datasheet, the table is reproduced here for your convenience.

Pin Number Pin Name Pin Number Pin Name

m
1 VDD 11 RB6

tru
2 RA5 12 RB5

3 RA4 13 RB4

ns
4 ~MCLR(Active Low)/VPP/RA3 14 RC2

lI
5 RC5 15 RC1

6 RC4 16 RC0

na
7 RC3 17 RA2

io
8 RC6 18 RA1/ICSPCLK
9 RC7 19 RA0/ICSPDAT

at
10 RB7 20 VSS

 In the Spreadsheet View, select the Pins tab.


N
9
 Rename each pin, click the name cell and type in the new name according to the previous table.
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 9-19


C
Lesson 9 Custom Components ni.com | 9-20

ts
en
 In the Symbol Editor, typing ^MCLR^ will render MCLR in the screen. Use Arial font for symbol and footprint pins.
Figure 9-16. Completed Spreadsheet View

m
tru
ns
lI
na
io
at
N
9
 Review the rest of the columns in the Spreadsheet View and the Draw Layer tab to learn what other parameters you can change from here.
2 01
ht
y rig
op
C
ts
en
 Move the pins to match the symbol presented in the following figure. Click the symbol lead, hold and drag to move.
Figure 9-17. Completed Symbol

m
tru
ns
lI
na
 Once you are done making changes to the symbol, select File»Save, then File»Exit.

io
If the Multisim window does not automatically maximizes you can click the Multisim bar in the taskbar section.

at
Tip From the Symbol Editor you can also save the symbol as a file. Select File»Save as, this is useful when you want to share your symbols.

22. Continue with the Component Wizard.


N
9
 Back in Step 3; copy the edited symbol to the IEC symbol set. Click Next when ready to continue.
01
 In Step 4 of the wizard set the type of MCLR/VPP/RA3 to be an INPUT pin, set VSS and VDD to be PWR pins and click Next to continue.

 In Step 5 configure the pins in ascending order (1, 2, 3, …, 20). In this example, all of the pins are correctly ordered from 1 to 20 because you named them
2

according to the datasheet pinout.


ht

– Click Map Pins, then click Auto-assign, then click OK.

– Click Next.
rig

 In Step 6, save the component to your User Database, under the Misc Digital group create a new family named PICMicro.
y

 Click Finish.
op

NI Multisim Basics Exercises © National Instruments | 9-21


C
Lesson 9 Custom Components ni.com | 9-22

ts
en
23. Try the new component symbol.

 Place the newly created symbol on the workspace. The green outline color represents a component with no SPICE model.

m
Figure 9-18. PIC16F84A Symbol

tru
ns
lI
na
io
24. Close the circuit.

at
 Save all your files.

 Close all files. N


9
01
 Leave Multisim open.

End of Exercise 9-1


2
ht
y rig
op
C
ts
10

en
m
Educational Features (Optional)

tru
Exercise 10-1 Educational Features

ns
Goal

lI
In this exercise you will experiment with the educational features of Multisim including the Virtual Breadboard, Component Faults, Global and Circuit Restrictions,
Circuit Description Box and Ladder Logic.

na
Note This exercise requires you to have the NI Multisim Education Edition installed. Some of the features described in this exercise are not included in the
Professional Editions.

io
Design

at
1. Examine a ladder diagram circuit.
2. Create an audio trigger in the Description Box.

N
3. Build a black-box circuit using component faults and circuit restrictions.
4. Create and wire up a virtual breadboard based on an existing circuit.
9
01
Implementation
The following files are referenced in this exercise. They are located in the <Exercises>\Multisim\Lab10 folder:

2

LadderLogicLab
• Dbox
ht

• ELVISBreadboardDiffAmp
• LadderLogicLab_complete
rig

• Dbox_complete
• ELVISBreadboardDiffAmp_complete
y

• tada.wav
op

NI Multisim Basics Exercises © National Instruments | 10-1


C
Lesson 10 Educational Features (Optional) ni.com | 10-2

ts
en
1. Open Multisim.

 Close any open circuit.

m
Ladder Diagrams
2. Load design file.

tru
 Open design file LadderLogicLab located in the <Exercises>\Multisim\Lab10 folder.

ns
lI
3. Simulate the circuit.

na
 Start a simulation.

io
 Toggle the switches to observe the output display on the probes. Notice that the outputs for AND, OR and NOR function as expected but XOR does not.

at
 Open the subcircuit and observe how it works.

 Stop the simulation.


N
9
01

4. Add the XOR logic.


2

 In the subcircuit, place a new ladder rung to the right of label XOR RUNG, you can click the Place Ladder Rungs button on the Ladder diagram toolbar.
ht
rig

 Press <Esc> or right-click to finish placing rungs.


y
op
C
ts
en
 Click the Place Ladder Diagram button on the Ladder Diagram toolbar.

m
 Select the LADDER_CONTACTS family and choose the RELAY_CONTACT_NO component, this is a normally open relay contact. Place the component

tru
on the XOR rung.

 Open the properties of the relay contact you just placed and ensure that under the Value tab the Controlling device reference is M2. This relay will now be

ns
open unless the output of M2 on the OR rung is HI.

 Repeating the above procedure add a RELAY_CONTACT_NC (normally closed relay) to the right of the first relay you placed on the XOR rung and set

lI
its controlling device to M1. This relay will be closed unless the output of M1 on the AND rung is HI.

na
 Place now a RELAY_COIL component located in the LADDER_RELAY_COILS family. Place this component at the end of the XOR rung and configure

io
it to have Coil reference M3.

at
 The XOR rung should be similar to the following figure.
N
9
Figure 10-1. The completed XOR rung
2 01

5. Add the XOR OUTPUT logic.


ht

 Place a new ladder rung to the right of label XOR OUTPUT RUNG; you can click the Place Ladder Rungs button on the Ladder diagram toolbar.
rig

 Press <Esc> or right-click to finish placing rungs.


y
op

NI Multisim Basics Exercises © National Instruments | 10-3


C
Lesson 10 Educational Features (Optional) ni.com | 10-4

ts
en
 Place a RELAY_CONTACT_NO component in the new rung, make sure the Controlling device reference is set to the value of the coil you placed on
step 4, in this case M3.

m
tru
 Place an OUTPUT_COIL located in the LADDER_OUTPUT_COILS family; place it to the end of the XOR OUTPUT RUNG.

ns
 Open the properties of the output coil and in the Value tab set the Output module base address to 200, and the Output number to 4.

lI
Figure 10-2. The completed XOR Output rung

na
io
6. Simulate the circuit.

at
 Start a simulation.

N
9
 Observe the operation of XOR as you toggle the switches.
01
 Stop the simulation.
2

7. Close the circuit.


ht

 Save the design file.


y rig

 Close all files and leave Multisim open.


op
C
ts
en
Description Box
8. Load design file.

m
 Open design file DBox located in the <Exercises>\Multisim\Lab10 folder.

tru
9. View the Description Box.

ns
 If the Description Box is not open select View»Description box.

lI
Tip The Description Box like all of the dockable-windows in Multisim can be moved to any location within your application window.

na
10. Edit the Description Box.

 Select Tools»Description Box Editor.

io
at
 Select Insert»Object.

N
9
 Select Create from file.
01

 Select the tada.wav file located in the <Exercises>\Multisim\Lab10 folder.


2

 To allow objects and text to react to circuit simulation you must create Labels. Click the new “.wav” file you placed to select it, then select Insert»Label.
Type sound and click OK.
ht
rig

 Close the Description Box.


y
op

NI Multisim Basics Exercises © National Instruments | 10-5


C
Lesson 10 Educational Features (Optional) ni.com | 10-6

ts
en
11. Create a trigger to interact with the sound label.

 Click the Place voltage probe button on the Place Probe toolbar and place it in the XOR output wire as shown in the following figure.

m
tru
Figure 10-3. Placing the Measurement Probe

ns
lI
na
io
at
 Double-click the probe to edit its properties. On the Triggers tab you will create a new trigger. Click New.

N
 In the Condition(s) box, click the arrow to the right of this box and select Voltage.
9
 Click the arrow again and select the greater than or equal to symbol (>=) located inside the Operators submenu.
01

 Type the number 2.5. The expression should be V>=2.5 which means that this condition will be met anytime the voltage measured by the probe is larger
than or equal to 2.5 V.
2

 In the Action drop-down menu select Play Media Clip.


ht

 In the Parameter text box type the name sound.


rig

 Click OK to apply changes and exit.

 Select View»Description Box and verify that the Description Box is visible.
y
op
C
ts
en
12. Simulate the circuit.

 Start a simulation, every time the XOR wire is true (toggle the switches) the sound should play. You may need to have the Description Box visible (View»

m
Description Box).

tru
 Stop the simulation.

ns
lI
13. Close the circuit.

na
 Save the design file.

io
 Close all files and leave Multisim open.

at
Virtual Breadboard

N
The Virtual Breadboard is an educational feature that allows users to create a graphical representation of the wiring of a real breadboard based on a circuit. The
breadboard displays parts using a 3D model and allows them to be placed on a breadboard and wired up just like in the real world.
9
14. Load design file.
01

 Open design file ELVISBreadboardDiffAmp located in the <Exercises>\Multisim\Lab10 folder.


2
ht

15. Review the circuit.


rig

 This is a sample circuit that represents a Variable Gain Differential Amplifier. The circuit is already wired for your convenience.
y
op

NI Multisim Basics Exercises © National Instruments | 10-7


C
Lesson 10 Educational Features (Optional) ni.com | 10-8

ts
en
16. Create a new breadboard.

 Select Tools»View Breadboard or click the View Breadboard button on the Main toolbar. This will create a new unpopulated 3D ELVIS II breadboard.

m
tru
Note The 3D ELVIS II breadboard will appear if you are working on an ELVIS II Schematic. If you are working on a generic Multisim workspace schematic
then a generic breadboard will appear.

ns
17. Experiment with the breadboard.

lI
 Now that the breadboard is visible you can rotate it if you click and hold then move the mouse around the screen.

na
 The mouse wheel zooms in and out.

 If you click and hold the middle mouse button then move the mouse you will change the center of the breadboard.

io
Figure 10-4. The 3D ELVIS II Breadboard

at
N
9
01
2
ht
y rig
op
C
ts
en
 The area at the bottom of the screen is the Parts Bin that contains all the parts from your circuit that are not placed already on the breadboard.

 Click and hold a component from the Parts Bin and move it to the breadboard, then release the mouse button to place. You can also rotate the component in

m
mid-air with <Ctrl-R>.

 Click one of the breadboard pin holes to start a wire, and then click to end it in the new location. When you start a wire from a pin row, the breadboard will

tru
highlight in green your target pins according to the netlist. Refer to Figure 10-5.

 Practice connecting the circuit. Try some of the options, like changing the wire color.

ns
 Click the DRC and Connectivity check button to see if you are missing any cabling or wired any component incorrectly.

lI
na
Figure 10-5. The 3D ELVIS II Breadboard

io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | 10-9


C
Lesson 10 Educational Features (Optional) ni.com | 10-10

ts
en
18. Close the circuit.

 Save the design file.

m
tru
 Close all files.

 Exit Multisim.

ns
End of Exercise 10-1

lI
na
io
at
N
9
01
2
ht
y rig
op
C
ts
A

en
m
Presentation Slides

tru
The following section includes the complete set of slides that are used in the instructor-led training.

ns
The presentation slides are added to this Laboratory Workbook for your convenience and for reference.

lI
na
io
at
N
9
2 01
ht
y rig
op

NI Multisim Basics Exercises © National Instruments | A-1


C
C
op
yrig
ht
201
9
N
at
io
na
lI
ns
tru
m
en
ts
ts
B

en
m
Additional Information and Resources

tru
This appendix contains additional information about National Instruments technical support options and Multisim resources.

ns
National Instruments Technical Support Options

lI
Log in to your National Instruments ni.com User Profile to get personalized access to your services. Visit the following sections of ni.com for technical support
and professional services:

na
• Support—Technical support at ni.com/support includes the following resources:
– Self-Help Technical Resources—For answers and solutions, visit ni.com/support for software drivers and updates, a searchable KnowledgeBase,

io
product manuals, step-by-step troubleshooting wizards, thousands of example programs, tutorials, application notes, instrument drivers, and so on. Registered
users also receive access to the NI Discussion Forums at ni.com/forums. NI Applications Engineers make sure every question submitted online receives

at
an answer.
– Standard Service Program Membership—This program entitles members to direct access to NI Applications Engineers via phone and email for one-to-one

N
technical support, as well as exclusive access to self-paced online training modules at ni.com/self-paced-training. All customers automatically
receive a one-year membership in the Standard Service Program (SSP) with the purchase of most software products and bundles including NI Developer
Suite. NI also offers flexible extended contract options that guarantee your SSP benefits are available without interruption for as long as you need them. Visit
9
ni.com/ssp for more information.
01
For information about other technical support options in your area, visit ni.com/services or contact your local office at ni.com/contact.
• System Integration—If you have time constraints, limited in-house technical resources, or other project challenges, National Instruments Alliance Partner
members can help. The NI Alliance Partners joins system integrators, consultants, and hardware vendors to provide comprehensive service and expertise to
2

customers. The program ensures qualified, specialized assistance for application and system development. To learn more, call your local NI office or visit
ni.com/alliance.
ht

You also can visit the Worldwide Offices section of ni.com/niglobal to access the branch office web sites, which provide up-to-date contact information, support
rig

phone numbers, email addresses, and current events.


y
op

NI Multisim Basics Exercises © National Instruments | B-1


C
Appendix B Additional Information and Resources ni.com | B-2

ts
en
Other National Instruments Training Courses
National Instruments offers several training courses for Multisim and Ultiboard users. These courses continue the training you received here and expand it to other

m
areas. Visit ni.com/training to purchase course materials or sign up for instructor-led, hands-on courses at locations around the world.

National Instruments Certification

tru
Earning an NI certification acknowledges your expertise in working with NI products and technologies. The measurement and automation industry, your employer,
clients, and peers recognize your NI certification credential as a symbol of the skills and knowledge you have gained through experience. Visit ni.com/training

ns
for more information about the NI certification program.

lI
na
io
at
N
9
2 01
ht
y rig
op
C

You might also like