Benhur Llanza's Virtual Lecture Room
Home | ECE 512 (uP Sys) | ECE 514 (Comp. Apps) | Links | Visitor's Response Form
Intro to MultiSim

Introduction to MultiSim

Basic Elements

Multisim’s user interface consists of the following basic elements:

Note Your circuit window may, by default, have a black background; however, for the purposes of this document, we show a white background.

Menus are, as in all Windows applications, where you find commands for all functions.

The system toolbar contains buttons for commonly-performed functions.

The instruments toolbar contains buttons for each instrument available with your edition of Multisim.

The link to Edaparts.com launches your Web browser loaded with the Electronic Workbench Edaparts.com Web site. You can then navigate the site to download parts.

The zoom toolbar allows you to zoom in and out on the active circuit.

The Multisim Design Bar is an integral part of Multisim, and is explained in more detail below.

The “In Use” list lists all the components used in the active circuit, for easy re-use.

The component toolbar contains Parts Bin buttons that let you open Parts Bins (which, in turn, contain buttons for each family of components).

The circuit window is where you build your circuit designs.

The status line displays useful information about the current operation and a description of the item the cursor is currently pointing to.

The simulate switch is an easy way to run, stop or pause the simulation of your circuit.

Design Bar

The Design Bar is a central component of Multisim, allowing you easy access to the sophisticated functions offered by the program. The Design Bar guides you through the logical steps of building, simulating, analyzing and, eventually, exporting your design. Although Design Bar functions are available from conventional menus, this manual assumes you are taking advantage of the ease of use offered by the Design Bar.

The Component design button is selected by default, since the first logical activity is to place

components on the circuit window.

The Component Editing button lets you modify the components in Multisim, or add components. The Instrument design button is selected by default and lets you attach instruments to your circuit. The Simulate button runs/pauses/stops the simulation. The green sine wave line moves while simulation is running.

The Analysis button lets you choose the analysis you want to perform on your circuit.

The Postprocessor button lets you perform further operations on the results of your simulation.

The VHDL/Verilog HDL button allows you to work with VHDL modeling (not available in all editions). For details on the functions associated with this button, see Chapter 10, “HDLs and Programmable Logic”.

The Reports button lets you print reports about your circuits (list of components, component

details, instruments).

The Transfer button lets you communicate with and export to PCB layout programs, such as Ultiboard, also from Electronics Workbench. You can also export simulation results to programs such as MathCAD and Excel.

This manual explains the use of those Design Bar buttons that are necessary to create and simulate the circuit described in the manual. For details on all the Design Bar buttons, see the Multisim 2001 User Guide.

Customizing the Multisim 2001 Interface

You can customize virtually any aspect of the Multisim interface, including the toolbars, colors in your circuit, page size, zoom level, autobackup interval, symbol set (ANSI or DIN) and printer setup. Your customization settings are saved individually with each circuit file you use, so you could, for example, have one color scheme for one circuit and another for a different circuit. You can also override the settings for individual instances (for example, change one particular component from red to orange) or for the entire circuit.

Most customization is done through Options/Preferences. This command allows you to either change the settings for the current circuit file only, or create default settings that affect both the current circuit and all circuits you subsequently create. For example, if your current circuit shows component labels and you save those settings as the default, when you choose File/New and create a new circuit, that circuit will be set to show component labels as well.

Changing the default settings will not affect circuits you have already created and saved. However, if your current circuit shows component labels and you simply change it to hide such labels, the change affects only your current circuit.

 

Controlling Circuit Display

You can control the way your circuit and its components appear on the screen, and the level of detail which appears.

To set the default circuit display options for circuits, choose Options/Preferences. The Preferences screen appears, offering you six tabs of options, with the Circuit tab being the active tab. Use this tab to control the colors and display details for your circuit.

 

For other window display options, choose the desired tab. For example, to define whether grid, page bounds and titles blocks are shown, use the Workspace tab. To set the component symbols to either ANSI or DIN, use the Component Bin tab. Experiment with these options as you wish.

To save your options for the current circuit only, click OK.

To save your options as the default, affecting both the current and subsequent circuits, click Set as Default, then click OK.

To restore your previously saved settings (if you don’t like the changes you made and would like to start over again), click Restore Default and then continue making changes.

To cancel your changes and close the screen, click Cancel.

 

Other Customization Options

You can also customize the interface by showing or hiding, dragging to a new location and, optionally, resizing any of the following:

• system toolbar

• zoom toolbar

• Design Bar

• “in use” list

• instruments toolbar

• simulation switch

These changes apply to all circuits you are working with. Moved or resized items will return to that location and size when Multisim is next opened.

Finally, you can use the View menu to display or hide various elements.

 

Building a Circuit

This chapter describes how to place and wire together the components of the circuit you will work with.

Introduction

This manual takes you through the process of building and simulating a simple circuit. The first stage is to choose the components you want to use, place them on the circuit window in the desired position and orientation, wire them together, and otherwise prepare your design.

The circuit you will build in this chapter is a simple circuit that flashes an LED on and off.

When you have completed the steps in this chapter, you will have a circuit that looks like this:

 

This circuit file, in its various stages of development, is shipped with Multisim. Throughout this manual you will be given detailed instructions on how to build this circuit. However, you will also find references to the files you can open to experiment with the circuit at its different stages, if you prefer.

Starting your Circuit File

To start building your circuit file, just run Multisim. Multisim automatically opens a blank circuit file with which you can work. The circuit window you see when you run Multisim has its color, size, and display options based on the previously set default settings.

2.4 Placing Components on the Circuit Window

You are now ready to start placing the components for your circuit. For the purposes of this tutorial, we are concerned only with the “Multisim Master” database, which is the component database shipped with Multisim. For more about the other database levels, see the Multisim 2001 User Guide.

2.4.1 About the Component Toolbars

By default, the Components Design Bar button is selected and the component toolbar is visible.

If it is not visible, click the Components button from the Design Bar.

The components you need to use to create circuits are grouped into logical divisions or Parts Bins. Each Parts Bin is represented by a button on the component toolbar. Placing your cursor over one of these buttons and clicking opens the corresponding Parts Bin, containing a button for each component family. The behavior of the Component toolbar and its Parts Bins is affected by your circuit’s user preferences. For more details see the Multisim 2001 User Guide. Virtual component buttons appear in green.

Note The behavior of the Component toolbar is controlled by the settings in the Component Bin tab of the Preferences screen, which can be opened using Options/Preferences. Use the Component Bin tab to, for example, set the Parts Bin to appear when you click on a Parts Bin button and remain open even after a component is selected.

Placing Components

This section explains how to place components using the component toolbar and its Parts Bins. This is the typical way of placing components. As explained in the Multisim 2001 User Guide, you can also place components using Place/Place Component, which is useful if you are not sure which Parts Bin contains the component you are interested in placing.

 

Placing the First Component

Step 1: Place a Battery

To place the first component (a 5 volt battery):

1. Place the cursor on the Sources Parts Bin button and click. The contents of the Sources Parts Bin appear:

Tip Move your cursor over any Parts Bin button or Component family button to see its name.

2. Click the DC Voltage Source button and move your cursor to the circuit window. Your cursor changes to indicate a part is ready to be placed.

3. Move to the top left corner of the circuit window, where we want to place the battery. Click in this general area or, to be more precise, use the page borders as a guide and click in the intersection of row A and column

 

1. The battery appears on your circuit window:

The descriptive text that appears around the various components can, if you wish, be hidden.

To hide it, double-click the component. The component “properties” screen appears with various tabs. On the Display tab, de-select the option “Use schematic option global setting”, then de-select the Descriptive text for the component. Show or hide descriptive text for all components by using Options/Preferences and changing the settings in the Show box of the Circuit tab.

Step 2: Change the Battery’s Value

By default, the battery is a 12V battery, but our circuit calls for a 5V battery. You can easily change the battery’s value.

To change the battery’s value:

1. Double-click on the battery. The battery’s properties screen appears, with the Value tab displayed.

 

Note For more details on this screen and its tabs, see the Multisim 2001 User Guide.

2. Change the “12” to a “5” and click OK.

This ability to change the value of a part exists only for “virtual” components. Virtual components are not real; that is, you could not buy them from a supplier. Virtual parts include all sources, virtual  resistor/capacitor/inductor parts, and numerous others. Virtual parts also include other “ideal” devices intended to provide theoretical equivalents of, for example, the perfect opamp.

Multisim treats virtual components slightly differently from real parts in two ways. First, virtual components have a different default color from that of real components on your schematic. This is to remind you that, since they are not real, these components will not be exported to PCB Layout software, should you perform this step later. You will see this difference in the next step, when you place a resistor. Second, when you place such parts you do not choose from the Browser (which is shown in the next step), since you can set the value of a

virtual part to anything you want.

Placing the Next Components

Step 1: Place a Resistor

To place the first resistor:

1. Place your cursor on the Basic Parts Bin button and, from the toolbar that appears, click

the Resistor button. The Component Browser screen appears:

 

This Browser screen appears because the Resistor family you selected contains multiple real components, that is, components that you could actually purchase. It shows all the possible resistors available to you from the “Multisim master” level of the database.

Note The Browser did not appear when you placed the battery earlier in this chapter, because the DC Voltage Source contained a virtual component which is only one item (the battery), so there was no need to have you choose from the Browser.

2. Scroll through the Component List to find the 100ohm resistor we need for our circuit.

Tip To make your scroll through the Browser’s Component List faster, simply type the first few characters of the component’s name. For example, type “100” to move to that area of the list.

3. Select the 100ohm resistor and click OK or double click on the component value. The cursor will appear on the circuit window as a ghost image of the resistor.

4. Move your cursor to approximately A5 and click to place the component. Notice that the resistor looks different from the battery you just placed—the resistor appears in a different color to remind you it is a real component (and will be exported to PCB Layout software, if you choose to perform that step).

Step 2: Rotate the Resistor

To set up the resistor so it can be wired more conveniently into our circuit, we will first need to rotate it.

To rotate the resistor:

1. Right-click on the resistor. A pop-up menu appears.

2. Choose 90 CounterCW from the menu. The results look like this:

3. If you want, you can move the labels that accompany a component’s symbol. In particular, you may want to do this after some rotations, if the labels are displayed other than as you prefer. For example, you might want to move the reference ID label. Just click and drag it to the right of the symbol, or click and use the arrow keys on the keyboard to move the label in grid increments.

Step 3: Add Other Resistors

The circuit calls for two other resistors, this time a 120ohm and a 10kohm.

To add the other resistors:

1. Following the instructions above, add a 120ohm resistor at roughly the intersection of row D and column 2. Notice how this second resistor is given the reference ID “R2”, to indicate it is the second resistor placed.

2. Place the third resistor, a 10kohm one, at roughly the intersection of A4 and rotate it.

Take a moment to look at the “In Use” list, just to the right of the Design Bar. It lists all the components you have placed so far. You can easily re-use a component from this list by clicking on it.

If necessary, you can easily move your placed components to the desired location. Simply single-click the component to select it (be sure to select the whole component, not just a label) and either drag it to the new location or use the arrow keys on your keyboard to move the component incrementally along the grid.

Step 4: Save Your Changes

To save your changes, choose File/Save As, and give a name (and location) for your circuit file.

Note Do not use non-English characters (for example, those with accents) when creating folder names, file names or subcircuit names.

Placing Other Components

Following the procedures above, place the following components in the following locations

• a red LED (from the Diodes family) just below R1

• a 74LS00D (from the TTL Parts Bin in the 74LS component family), roughly at D1 (Since this component consists of four separate gates, you are prompted to choose which one you will use. All are identical, so you can choose any one.)

• a 2N2222A BJT_NPN (from the Transistor Parts Bin in the BJT-NPN component family), to the right of R2

• another 2N2222A BJT_NPN below the LED (simply copy the previous one and paste the copy at the new location)

• a 330nF capacitor (from the Basic Parts Bin in the Capacitor component family), to the right of your first BJT_NPN, and rotate it clockwise (move the labels after rotating, if desired)

• a ground (from the Sources Parts Bin in the Ground component family), below V1, Q1, Q2 and C1 — you may use any number of grounds in your circuit, as in this tutorial, or just one with multiple parts connected to it)

• a 5 Volt VCC (from the Sources Parts Bin in the VCC component family), in the top left corner of the circuit window, and a digital ground (from the Sources group) just below it.

Note A circuit containing a digital component must have VCC and a digital ground placed on the circuit window. Multisim will use these two components to power the digital component. The requirements to change the voltage of VCC is the user’s responsibility.

Tip For a quick way to move your components into line, select them and use the arrow keys on your keyboard to move the components in grid increments. Lining them up will make wiring easier.

Note Don’t forget to save your changes using File/Save.

Changing the Label and Color of Individual

Components and Nodes

Multisim assigns labels and colors to a placed component. You can modify or move component labels, and change component colors.

To change the label of any individual component you have placed:

1. Double-click on the component. The component’s properties screen appears.

2. Click the Label tab and enter or modify the label (which must be composed of letters and numbers only—no special characters or spaces).

3. To cancel your changes, click Cancel. To save your changes, click OK.

To change the color of any individual component, right-click on it and choose Color from the pop-up menu. Choose the desired color from the screen that appears.

Note Changing the color of an individual component is different from changing the color scheme of the current circuit, or of the defaults set using Options/Preferences, as explained earlier in this manual.

Wiring Components

Now that you have the components placed on the circuit window, you need to wire them together. All components have pins that you use to wire them to other components. In Multisim, you can choose to wire components either automatically or manually. Automatic wiring, a feature unique to Multisim, means Multisim automatically wires the connection for you, selecting the best path between your chosen pins. Automatic wiring avoids wiring through other components or overlapping wires. Manual wiring means you control the path of the wire on the circuit window. You can even combine the two methods in a single wire, for example, starting wiring manually and letting Multisim automatically complete the wire for you. We need to wire together the components we placed in the circuit. Automatic wiring will take care of most of our wiring needs for this circuit. To follow along with these steps, you can either continue with the circuit you’ve been building in this chapter, or open the file tut1.msm, located in the Tutorial folder, to work with a circuit that has all the components appropriately placed.

Using Automatic Wiring

We’ll begin with wiring V1 and its ground.

To start the automatic wiring process:

1. Click the pin coming out of the bottom of V1. The cursor changes to a cross symbol indicating that you are in wiring mode.

2. Click the pin on the top of the ground. The wire is dragged from the first pin to wherever you move your cursor. The two components automatically become wired together.

Note By default, the wires are displayed in red. To change the default, right-click on the circuit window and choose Color from the pop-up menu. To change the color of just a single wire, right-click on the wire and choose Color from the pop-up menu.

3. Using automatic wiring, make the following connections:

• wire V1 to R1

• wire R1 to the LED

• wire the LED to the collector of Q2

• wire the emitters of Q2 and Q1 to their grounds

• wire C1 to its ground

• wire base of Q1 to R2

• wire R2 to pin3 (output) of U1

• wire pin1 of U1 to pin 2 of U1

• wire R3 to the wire running from V1 to R1 — click on the pin of R3 and then click the wire to automatically place a junction where the wires meet

• wire base of Q2 to collector of Q1

• wire R3 to the wire running from Q2 to Q1

• wire C1 to the connection on the wire running from Q2 to Q1.

After a wire is connected between two pins the cursor returns to it’s normal mode and is ready for your next command.

To delete a wire, right-click on it and choose Delete from the pop-up menu, or press DELETE.

Using Manual Wiring

We now want to connect the inputs of U1 to the wire between the LED and Q2. To have precise control over the path of the wire, we will use manual wiring. Multisim prevents you from placing two wires to a single pin. This is to prevent possible wiring errors. We therefore need to start, not from pin 1 or 2 of U1, but from the wire between them. To wire from the middle of one wire to another wire, you have to add a junction on the first wire.

To add a junction:

1. Choose Place/Place Junction. The junction is shown as a ghost image at the point of the

cursor.

2. Move the junction to the desired location on the wire between the inputs of U1 and click.

3. The junction appears on the wire:

We now need to use manual wiring to ensure that the wire follows the path we want. To help position the wire appropriately, display the grid (if it is not visible). To display the grid, right-click on the circuit window and choose Show Grid from the pop-up menu.

We are now ready to wire the connection manually.

To perform a manual connection:

1. Click the junction you just placed at the inputs of U1. Your cursor will change to a cross symbol indicating that you are in wiring mode.

2. Drag the wire down to below the other components and click. This “fixes” the wire in its place.

3. Drag the wire across the width of the circuit to a few grid spaces past the last component. Click again.

4. Drag the wire up to a point across from the wire between LED1 and Q2. Click again.

5. Drag the wire to a place on the wire between LED1 and Q2 and click again.

Click on the wire you just made. The boxes displayed on the wire (“drag points”) show where you clicked as you placed the wire. You can modify the shape of the placed wire by clicking on any of these points and dragging the wire segment. If you want to experiment with this, save your changes first.  While the wire is selected, you can add additional drag points by using the CTRL key and clicking the wire where you want to add more points. You can also move the wire by moving your cursor over the wire and then click and drag when your cursor changes to a double arrow symbol.

Note To remove a drag point, press the CTRL key and click on the point. When you remove a drag point, the wire will stretch to a straight line between the two points on either side of the point you removed.

Adding Text to the Circuit

Multisim allows you to add a title block and text to annotate your circuit.

To add a title block, choose View/Show Title Block and Border. The title block appears at the bottom right of your circuit window.

To edit the title block, choose Options/Modify Title Block. Enter the desired text in the fields and click OK.

To add text:

1. Choose Place/Place Text.

2. Click on the circuit window where you want the text placed. A text box appears.

3. Type the text—for example, type “My tutorial circuit”.

4. Click anywhere on the circuit window the text appears in your circuit.

To delete text, right-click on the text box and choose Delete from the pop-up menu or press DELETE.

To change the color of text, right-click on the text box, choose Color from the pop-up menu, and choose the desired color.

To edit text, double-click on the text box and make your changes. Click any location out of the text box to stop editing text.

To move text, click on the text box and drag it to a new location.

Conclusion

You have now experimented with the different ways of locating, placing and wiring components on the circuit window. You have also seen some of the options available to you for controlling the appearance of your circuit. Before we go on to add an instrument, we are going to explore editing components in the next chapter.

Enter supporting content here

2005