Multisim User Guide
Multisim User Guide
TM
TM
Support Worldwide Technical Support and Product Information ni.com National Instruments Corporate Headquarters 11500 North Mopac Expressway Worldwide Offices Australia 1800 300 800, Austria 43 0 662 45 79 90 0, Belgium 32 0 2 757 00 20, Brazil 55 11 3262 3599, Canada 800 433 3488, China 86 21 6555 7838, Czech Republic 420 224 235 774, Denmark 45 45 76 26 00, Finland 385 0 9 725 725 11, France 33 0 1 48 14 24 24, Germany 49 0 89 741 31 30, India 91 80 51190000, Israel 972 0 3 6393737, Italy 39 02 413091, Japan 81 3 5472 2970, Korea 82 02 3451 3400, Lebanon 961 0 1 33 28 28, Malaysia 1800 887710, Mexico 01 800 010 0793, Netherlands 31 0 348 433 466, New Zealand 0800 553 322, Norway 47 0 66 90 76 60, Poland 48 22 3390150, Portugal 351 210 311 210, Russia 7 095 783 68 51, Singapore 1800 226 5886, Slovenia 386 3 425 4200, South Africa 27 0 11 805 8197, Spain 34 91 640 0085, Sweden 46 0 8 587 895 00, Switzerland 41 56 200 51 51, Taiwan 886 02 2377 2222, Thailand 662 992 7519, United Kingdom 44 0 1635 523545 For further support information, refer to the Technical Support Resources and Professional Services page. To comment on National Instruments documentation, refer to the National Instruments Web site at ni.com/info and enter the info code feedback. 20042005 National Instruments Corporation. All rights reserved. Austin, Texas 78759-3504 USA Tel: 512 683 0100
Important Information
Warranty
The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defects in materials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defects during the warranty period. National Instruments does not warrant that the operation of the software shall be uninterrupted or error free. A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside of the package before any equipment will be accepted for warranty work. National Instruments will pay the shipping costs of returning to the owner parts which are covered by warranty. National Instruments believes that the information in this document is accurate. The document has been carefully reviewed for technical accuracy. In the event that technical or typographical errors exist, National Instruments reserves the right to make changes to subsequent editions of this document without prior notice to holders of this edition. The reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it. EXCEPT AS SPECIFIED HEREIN, NATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER. NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. This limitation of the liability of National Instruments will apply regardless of the form of action, whether in contract or tort, including negligence. Any action against National Instruments must be brought within one year after the cause of action accrues. National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control. The warranty provided herein does not cover damages, defects, malfunctions, or service failures caused by owners failure to follow the National Instruments installation, operation, or maintenance instructions; owners modification of the product; owners abuse, misuse, or negligent acts; and power failure or surges, fire, flood, accident, actions of third parties, or other events outside reasonable control.
Copyright
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 translating, in whole or in part, without the prior written consent of National Instruments Corporation.
Trademarks
National Instruments, NI, ni.com, and LabVIEW are trademarks of National Instruments Corporation. Refer to the Terms of Use section on ni.com/legal for more information about National Instruments trademarks. Other product and company names mentioned herein are trademarks or trade names of their respective companies. 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.
Patents
For patents covering National Instruments products, refer to the appropriate location: HelpPatents in your software, the patents.txt file on your CD, or ni.com/patents.
Preface
Congratulations on choosing Multisim 8 from Electronics Workbench. We are confident that it will deliver years of increased productivity and superior designs. Electronics Workbench is the worlds leading supplier of circuit design tools. Our products are used by more customers than those of any other EDA vendor, so we are sure you will be pleased with the value delivered by Multisim 8, and by any other Electronics Workbench products you may select.
Documentation Conventions
When Multisim manuals refer to a toolbar button, an image of the button appears in the left column. The manuals show circuits in black and white, although Multisim is configured to use color by default. (You can change the color scheme.) When you see the icon in the left column, the functionality described is only available in certain versions of Multisim, or to users who have purchased optional modules. Please refer to the release notes for details. Multisim manuals use the convention Menu/Item to indicate menu commands. For example, File/Open means choose the Open command from the File menu. Multisim manuals use the convention of an arrow ( ) to indicate the start of procedural information. Multisim manuals use the construction CTRL-KEY and ALT-KEY to indicate when you need to hold down the Ctrl or Alt key on your keyboard and press another key.
User Guide
The User Guide describes Multisim and its many functions in detail. It is organized based on the stages of circuit design, and explains all aspects of Multisim, in detail. It also offers an introductory tutorial that takes you through the stages of circuit design, simulation, analysis and reporting.
Online Help
Multisim offers a full helpfile system to support your use of the product. Choose Help/Multisim Help to display the helpfile that explains the Multisim program in detail, or choose Help/Component Reference to display the helpfile that contains details on the components families provided with Multisim. Both are standard Windows helpfiles, offering a table of contents and index. In addition, you can display context-sensitive help by pressing F1 from any command or window, or by clicking the Help button on any dialog box that offers it.
License Agreement
Please read License Agreement on page 1-28 carefully before installing and using the software contained in this package. By installing and using the software, you are agreeing to be bound by the terms of this license. If you do not agree to the terms of this license, simply return the unused software within ten days to the place where you obtained it and your money will be refunded.
Table of Contents
1. Installing Multisim
1.1 1.2 1.3 Installation Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Installation Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 Installing Multisim 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 1.3.1 Before Installing Multisim 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 1.3.2 Single User Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 1.3.2.1 Installing the Single User Edition . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 1.3.2.2 Requesting a Release Code for the Single User Version . . . . . . 1-6 1.3.3 Multi-Station Standalone Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7 1.3.4 Network Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8 1.3.4.1 Installing the Network Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9 1.3.4.2 Entering the Release Code for the Network Edition . . . . . . . . . 1-11 1.3.4.3 Workstation Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11 1.3.4.4 Setting User Permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11 1.3.5 Changing Server Name and/or Port Number After Client Installation. . . . . 1-13 1.3.6 Installing Hardware Key Editions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14 Network License Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14 1.4.1 Administering the Network License Server . . . . . . . . . . . . . . . . . . . . . . . . 1-14 1.4.2 Administering Fixed Seat Licenses. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18 1.4.3 Reviewing License Server Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-20 1.4.4 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-20 Support and Upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21 1.5.1 Checking for Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22 1.5.2 Installing Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22 1.5.3 Viewing Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-25 1.5.4 Changing Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-25 Uninstalling Multisim 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-26 1.6.1 Uninstalling the Single User Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-26 Uninstalling SUU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-27 Uninstalling a Site Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-27 1.8.1 Uninstalling Standalone Multi-Station Installation . . . . . . . . . . . . . . . . . . . 1-27 1.8.2 Uninstalling Network Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-27 1.8.3 Uninstalling Combination Standalone Multi-Station and Network Installations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-28
1.4
1.5
1.9
2. Multisim Tutorial
2.1 2.2 The Electronics Workbench Suite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1 Multisim 8 Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2 2.2.1 Schematic Capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-3 2.2.2 Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-9
3. User Interface
3.1 3.2 Introduction to the Multisim Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-3 Toolbars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-4 3.2.1 Standard Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-5 3.2.2 Main Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-6 3.2.3 View Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-7 3.2.4 Components Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-8 3.2.5 Virtual Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-9 3.2.6 Graphic Annotation Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-10 3.2.7 Instruments Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-11 Using the Pop-up Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-13 3.3.1 Pop-up From Circuit Window, with no Component Selected . . . . . . . . . . .3-13 3.3.2 Pop-up From a Selected Component or Instrument . . . . . . . . . . . . . . . . . .3-15 3.3.3 Pop-up From a Selected Wire . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-17 3.3.4 Pop-up From a Selected Text Block or Graphic . . . . . . . . . . . . . . . . . . . . .3-17 3.3.5 Pop-up From a Title Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-18 3.3.6 Pop-up from a Comment or Measurement Probe . . . . . . . . . . . . . . . . . . . .3-19 Setting Schematic Capture Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-20 3.4.1 Using the Preferences Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-20 3.4.1.1 Preferences - Paths Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-21 3.4.1.2 Preferences - Save Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-23 3.4.1.3 Preferences - Parts Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-24 3.4.1.4 Preferences - General Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-25 3.4.2 Using the Sheet Properties Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-26 3.4.2.1 Sheet Properties - Circuit Tab . . . . . . . . . . . . . . . . . . . . . . . . . .3-27 3.4.2.2 Sheet Properties - Workspace Tab . . . . . . . . . . . . . . . . . . . . . .3-28 3.4.2.3 Sheet Properties - Wiring Tab . . . . . . . . . . . . . . . . . . . . . . . . . .3-29
3.3
3.4
ii
Electronics Workbench
Sheet Properties - Font Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-30 Sheet Properties - PCB Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32 Sheet Properties - Visibility Tab . . . . . . . . . . . . . . . . . . . . . . . . 3-33
Design Toolbox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33 3.5.1 Visibility Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-34 3.5.2 Hierarchy Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35 Customizing the Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-36 3.6.1 Commands tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37 3.6.2 Toolbars tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38 3.6.3 Keyboard tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-39 3.6.4 Menu tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-40 3.6.5 Options tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-41 3.6.6 Customization Pop-up Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-41 3.6.7 Other Customization Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-42
3.6
4.5
iii
4.5.4 4.5.5 4.5.6 4.5.7 4.5.8 4.5.9 4.6 4.7 4.8 4.9
Placing Wires Directly Onto Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . .4-23 Setting Wiring Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-24 Modifying the Wire Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-24 Controlling Wire Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-25 Moving a Wire . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-25 Virtual Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-26
Manually Adding a Junction (Connector) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-26 Rotating/Flipping Placed Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-27 Finding Components in Your Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-29 Labeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-31 4.9.1 Modifying Component Labels and Attributes . . . . . . . . . . . . . . . . . . . . . . .4-31 4.9.2 Modifying Net Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-32 4.9.3 Adding a Title Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-33 4.9.3.1 Entering the Title Block Contents . . . . . . . . . . . . . . . . . . . . . . . .4-34 4.9.4 Adding Miscellaneous Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-36 4.9.5 Adding a Comment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-37 4.9.6 Graphic Annotation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-40 4.9.7 Capturing Screen Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-42
4.10 Circuit Description Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-44 4.10.1 Formatting the Circuit Description Box . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-44 4.10.1.1 Formatting Circuit Description Box Text . . . . . . . . . . . . . . . . . . .4-45 4.10.1.2 Paragraph Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-45 4.10.1.3 Tabs Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-46 4.10.1.4 Date and Time Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-47 4.10.1.5 Options Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-48 4.10.1.6 Insert Object Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-49 4.10.2 Scrolling with Events During Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . .4-50 4.10.2.1 Scrolling Text During Simulation . . . . . . . . . . . . . . . . . . . . . . . . .4-50 4.10.2.2 Playing a Video Clip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-52 4.10.2.3 Description Label Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . .4-55 4.10.2.4 Edit Labels Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-56 4.10.2.5 Other Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-57 4.10.3 Description Edit Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-57 4.11 Printing the Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-59
iv
Electronics Workbench
5.2
5.3
5.4
6.3 6.4
6.5
6.6
vi
Electronics Workbench
7. Components
7.1 Structure of the Component Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 7.1.1 Database Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3 7.1.2 Classification of Components in the Database . . . . . . . . . . . . . . . . . . . . . . 7-3 Locating Components in the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4 7.2.1 Browsing for Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4 7.2.2 Searching for Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4 Using EDAparts.com . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7 7.3.1 Locating and Downloading Components . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7 7.3.1.1 Locating Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7 7.3.1.2 Downloading Components Using Edaparts.com . . . . . . . . . . . . 7-10 Types of Information Stored for Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-11 7.4.1 Pre-Defined Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-12 7.4.1.1 General Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-12 7.4.2 User Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-13 Component Nominal Values and Tolerances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-13 Managing the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14 7.6.1 Filtering Displayed Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-15 7.6.2 Managing Families . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-16 7.6.3 Modifying User Field Titles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-17 7.6.4 Deleting Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-18 7.6.5 Copying Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-19 7.6.6 Saving Placed Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-21 7.6.7 Moving Components Between Databases . . . . . . . . . . . . . . . . . . . . . . . . . 7-21 7.6.8 Displaying Database Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-22 7.6.9 Editing Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-22 Converting 2001 or V7 Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-23 Updating Components from Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-24 Merging Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-25
7.2
7.3
7.4
7.5 7.6
8. Component Editing
8.1 8.2 Introduction to Component Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2 Adding Components with the Create Component Wizard . . . . . . . . . . . . . . . . . . . . . 8-4 8.2.1 Using an Existing Symbol File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-11
vii
Editing Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-13 Editing a Components General Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-15 Editing a Components Symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-16 8.5.1 Copying a Components Symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-17 8.5.1.1 Using Copy To... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-17 8.5.2 Creating and Editing a Components Symbol with the Symbol Editor . . . .8-18 8.5.2.1 Symbol Editor Spreadsheet View . . . . . . . . . . . . . . . . . . . . . . . .8-20 8.5.2.2 Working with the Symbol Editor . . . . . . . . . . . . . . . . . . . . . . . . .8-23 8.5.2.3 Enter Text Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-27 8.5.2.4 In-Place Edit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-27 8.5.2.5 Symbol Editor Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-28 8.5.2.6 Toolbars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-34 Editing a Components Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-40 8.6.1 Creating a Model for a Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-41 8.6.1.1 Component List Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-43 8.6.2 Loading an Existing Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-45 8.6.3 Modify a Models Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-45 8.6.4 Copying the Model of One Component to Another . . . . . . . . . . . . . . . . . . .8-46 Editing a Component Pin Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-47 Editing a Components Footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-48 8.8.1 Select a Footprint dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-49 8.8.2 Add a Footprint dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-51 Editing a Components Electronic Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-52
8.6
8.7 8.8
8.9
8.10 Editing User Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-53 8.11 Creating a Component Model Using the Model Makers . . . . . . . . . . . . . . . . . . . . . .8-54 8.11.1 AC Motor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-55 8.11.2 BJT Model Maker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-55 8.11.3 Converters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-67 8.11.3.1 Boost Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-68 8.11.3.2 Buck Boost Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-69 8.11.3.3 Buck Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-69 8.11.3.4 Cuk Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-70 8.11.4 Diode Model Maker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-70 8.11.5 Transformers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-74 8.11.5.1 Ideal Transformer (Multiple Winding) . . . . . . . . . . . . . . . . . . . . .8-74 8.11.5.2 Linear Transformer (Multiple Winding) . . . . . . . . . . . . . . . . . . . .8-75 8.11.5.3 Linear Transformer with Neutral Terminal . . . . . . . . . . . . . . . . .8-76 8.11.5.4 Two Winding Linear Transformer . . . . . . . . . . . . . . . . . . . . . . . .8-77
viii
Electronics Workbench
8.11.5.5 Non-linear Transformer (Multiple Winding) . . . . . . . . . . . . . . . . 8-78 MOSFET (Field Effect Transistor) Model Maker . . . . . . . . . . . . . . . . . . . . 8-80 Operational Amplifier Model Maker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-87 Silicon Controlled Rectifier Model Maker . . . . . . . . . . . . . . . . . . . . . . . . . . 8-92 Zener Model Maker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-96
8.12 Creating a Model Using Code Modeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-101 8.12.1 What is Code Modeling? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-101 8.12.2 Creating a Code Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-102 8.12.3 The Interface File (Ifspec.ifs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-105 8.12.3.1 Name Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-105 8.12.3.2 Port Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-107 8.12.3.3 Parameter Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-108 8.12.3.4 Example Interface File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-110 8.12.4 The Implementation File (Cfunc.mod) . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-111 8.12.4.1 Implementation File C Macros . . . . . . . . . . . . . . . . . . . . . . . . . 8-112 8.12.4.2 Example Implementation File . . . . . . . . . . . . . . . . . . . . . . . . . 8-120
9. Simulation
9.1 9.2 Introduction to Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 Using Multisim Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3 9.2.1 Start/Stop/Pause Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4 9.2.1.1 Simulation Running Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4 9.2.1.2 Simulation Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4 9.2.2 Circuit Consistency Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5 9.2.3 Simulation from Netlist Without Schematic . . . . . . . . . . . . . . . . . . . . . . . . . 9-6 Multisim SPICE Simulation: Technical Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6 9.3.1 Circuit Simulation Mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6 9.3.2 Four Stages of Circuit Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7 9.3.3 Equation Formulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-9 9.3.4 Equation Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10 9.3.5 User Setting: Maximum Integration Order . . . . . . . . . . . . . . . . . . . . . . . . . 9-10 9.3.6 Convergence Assistance Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11 9.3.6.1 Gmin Stepping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11 9.3.6.2 Source Stepping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11 9.3.7 Digital Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11 RF Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-12 HDLs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-13 9.5.1 Using HDL Models Without the Need to Write HDL Code . . . . . . . . . . . . . 9-13
9.3
9.4 9.5
ix
9.5.2
Using Multisim to Write/Debug HDL Code . . . . . . . . . . . . . . . . . . . . . . . . .9-14 9.5.2.1 Using Multisim with Programmable Logic . . . . . . . . . . . . . . . . .9-14 9.5.2.2 Using Multisim to Model Complex Digital IC . . . . . . . . . . . . . . .9-15 Introduction to VHDL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-15 Introduction to Verilog HDL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-17
Circuit Wizards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-17 9.6.1 555 Timer Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-18 9.6.2 Filter Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-22 9.6.3 Common Emitter BJT Amplifier Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . .9-23 Simulation Error Log/Audit Trail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-25 Simulation Adviser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-27 Saving/Loading Simulation Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-28 9.9.1 Saving a Simulation Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-28 9.9.2 Loading a Simulation Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-29
10. Instruments
10.1 Introduction to the Multisim Instruments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-3 10.1.1 Saving Simulation Data with Instruments . . . . . . . . . . . . . . . . . . . . . . . . . .10-3 10.1.2 Adding an Instrument to a Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-4 10.1.3 Using the Instrument . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-5 10.1.4 Working with Multiple Instruments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-5 10.1.5 Saving Instrument Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-6 10.2 Printing Instruments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-6 10.2.1 Print Instruments Dialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-6 10.3 Interactive Simulation Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-7 10.3.1 Troubleshooting Simulation Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-8 10.4 Multimeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-9 10.4.1 Using the Multimeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-9 10.4.1.1 Multimeter Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-9 10.5 Function Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-14 10.5.1 Using the Function Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-15 10.5.1.1 Function Generator Settings . . . . . . . . . . . . . . . . . . . . . . . . . .10-15 10.6 Wattmeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-16 10.6.1 Using the Wattmeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-17
Electronics Workbench
10.6.1.1 Connecting the Wattmeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-17 10.7 Oscilloscope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-17 10.7.1 Using the Oscilloscope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-19 10.7.1.1 Oscilloscope Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-19 10.7.1.2 Viewing Oscilloscope Results . . . . . . . . . . . . . . . . . . . . . . . . . 10-22 10.8 Bode Plotter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-22 10.8.1 Using the Bode Plotter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-24 10.8.1.1 Bode Plotter Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-24 10.8.1.2 Viewing Bode Plotter Results . . . . . . . . . . . . . . . . . . . . . . . . . 10-26 10.9 Word Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-27 10.9.1 Using the Word Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-28 10.9.1.1 Word Generator Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-28 10.10 Logic Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-30 10.10.1 Using the Logic Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-32 10.10.1.1 Logic Analyzer Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-32 10.11 Logic Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-35 10.11.1 Using the Logic Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-36 10.11.1.1 Logic Converter Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-36 10.12 Distortion Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-38 10.12.1 Using the Distortion Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-39 10.12.1.1 Distortion Analyzer Settings . . . . . . . . . . . . . . . . . . . . . . . . . . 10-39 10.13 Spectrum Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-39 10.14 Network Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-39 10.15 Measurement Probe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-40 10.15.1 Using the Measurement Probe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-42 10.15.1.1 Measurement Probe Settings . . . . . . . . . . . . . . . . . . . . . . . . . . 10-42 10.15.1.2 Viewing Measurement Probe Results . . . . . . . . . . . . . . . . . . . 10-44 10.15.1.3 Connecting the Measurement Probe . . . . . . . . . . . . . . . . . . . . 10-44 10.16 Four-channel Oscilloscope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-47 10.16.1 Using the Four-channel Oscilloscope . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-48 10.16.1.1 Four-channel Oscilloscope Settings . . . . . . . . . . . . . . . . . . . . 10-48 10.16.1.2 Viewing Four-channel Oscilloscope Results . . . . . . . . . . . . . . 10-52 10.16.1.3 Connecting the Four-channel Oscilloscope . . . . . . . . . . . . . . . 10-55 10.17 Frequency Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-57 10.17.1 Using the Frequency Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-57 10.18 IV Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-60
xi
10.18.1 Using the IV Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-61 10.18.1.1 Simulate Parameters Dialog Box . . . . . . . . . . . . . . . . . . . . . . .10-63 10.18.2 Reviewing IV Analyzer Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-67 10.19 Agilent Simulated Instruments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-70 10.19.1 Agilent Simulated Function Generator . . . . . . . . . . . . . . . . . . . . . . . . . . .10-71 10.19.1.1 Supported Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-71 10.19.1.2 Features Not Supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-72 10.19.1.3 Using the Agilent Function Generator . . . . . . . . . . . . . . . . . . .10-73 10.19.2 Agilent Simulated Multimeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-74 10.19.2.1 Supported Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-74 10.19.2.2 Features Not Supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-75 10.19.2.3 Using the Agilent Multimeter . . . . . . . . . . . . . . . . . . . . . . . . . .10-76 10.19.3 Agilent Simulated Oscilloscope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-77 10.19.3.1 Supported Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-77 10.19.3.2 Features Not Supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-80 10.19.3.3 Using the Agilent Oscilloscope . . . . . . . . . . . . . . . . . . . . . . . . .10-81 10.20 Tektronix Simulated Oscilloscope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-82 10.20.1 Supported Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-82 10.20.2 Features Not Supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-84 10.20.3 Using the Tektronix Oscilloscope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-84 10.21 Voltmeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-85 10.21.1 Using the Voltmeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-85 10.21.1.1 Resistance (1.0 W - 999.99 TW) . . . . . . . . . . . . . . . . . . . . . . .10-85 10.21.1.2 Mode (DC or AC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-86 10.21.1.3 Connecting a Voltmeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-86 10.22 Ammeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-86 10.22.1 Using the Ammeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-86 10.22.1.1 Resistance (1.0 pW - 999.99 W) . . . . . . . . . . . . . . . . . . . . . . .10-86 10.22.1.2 Mode (DC or AC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-87 10.22.1.3 Connecting an Ammeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-87
11. Analyses
11.1 Introduction to Multisim Analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-4 11.2 Viewing the Analysis Results: Grapher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-4 11.2.1 Working with Pages on the Grapher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-6 11.2.2 Working with Graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-7 11.2.2.1 Grids and Legends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-8 11.2.2.2 Cursors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-9
xii
Electronics Workbench
11.2.2.3 Cursor Pop-up Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-10 11.2.2.4 Zoom and Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-12 11.2.2.5 Title . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-13 11.2.2.6 Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-14 11.2.2.7 Traces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-15 11.2.2.8 Merging Traces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-17 11.2.2.9 Select Pages dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-17 11.2.2.10 Graph Pop-up Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-18 Viewing Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-18 Cut, Copy and Paste . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-19 Print and Print Preview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-20
11.3 Working with Analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-21 11.3.1 General Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-22 11.3.2 The Analysis Parameters Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-22 11.3.3 The Output Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-22 11.3.3.1 Choosing How Output Variables are to be Handled . . . . . . . . 11-23 11.3.3.2 Filtering the Variable Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-24 11.3.3.3 Adding Parameters to the Variable List . . . . . . . . . . . . . . . . . . 11-24 11.3.4 The Analysis Options Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-25 11.3.5 The Summary Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-26 11.3.6 Incomplete Analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-27 11.4 DC Operating Point Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-27 11.4.1 About the DC Operating Point Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . 11-27 11.4.2 Setting up and Running DC Operating Point Analysis . . . . . . . . . . . . . . . 11-28 11.4.2.1 Setting DC Operating Point Analysis Parameters . . . . . . . . . . 11-28 11.4.3 Sample Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-28 11.4.4 Troubleshooting DC Operating Point Analysis Failures . . . . . . . . . . . . . . 11-29 11.4.4.1 Circuit failure example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-30 11.4.4.2 Trouble-shooting Techniques . . . . . . . . . . . . . . . . . . . . . . . . . 11-31 11.5 AC Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-32 11.5.1 About the AC Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-32 11.5.2 Setting AC Analysis Frequency Parameters . . . . . . . . . . . . . . . . . . . . . . 11-33 11.6 Transient Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-35 11.6.1 About the Transient Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-35 11.6.2 Setting Transient Analysis Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . 11-35 11.6.3 Troubleshooting Transient Analysis Failures . . . . . . . . . . . . . . . . . . . . . . 11-37 11.7 Fourier Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-38 11.7.1 About the Fourier Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-38 11.7.2 Setting Fourier Analysis Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-39
xiii
11.8 Noise Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-41 11.8.1 About the Noise Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-41 11.8.2 Setting Noise Analysis Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-43 11.8.3 Noise Analysis Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-46 11.9 Distortion Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-48 11.9.1 Multisim Approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-49 11.9.2 Preparing the Circuit for Distortion Analysis . . . . . . . . . . . . . . . . . . . . . . . 11-49 11.9.3 Understanding the Distortion Analysis Options . . . . . . . . . . . . . . . . . . . . .11-50 11.9.4 Distortion Analysis for Harmonic Distortion . . . . . . . . . . . . . . . . . . . . . . . . 11-51 11.9.5 Distortion Analysis for Intermodulation Distortion . . . . . . . . . . . . . . . . . . . 11-53 11.10 DC Sweep Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-56 11.10.1 Setting DC Sweep Analysis Parameters . . . . . . . . . . . . . . . . . . . . . . . . . .11-56 11.10.2 DC Sweep Analysis Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-57 11.11 DC and AC Sensitivity Analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-62 11.11.1 Sensitivity Analysis Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-62 11.11.2 Setting Up and Running Sensitivity Analysis . . . . . . . . . . . . . . . . . . . . . . .11-63 11.11.2.1 Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-63 11.11.2.2 Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-67 11.12 Parameter Sweep Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-68 11.12.1 About the Parameter Sweep Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . .11-68 11.12.2 Setting Parameter Sweep Analysis Parameters . . . . . . . . . . . . . . . . . . . .11-69 11.12.3 Parameter Sweep Analysis Example . . . . . . . . . . . . . . . . . . . . . . . . . . .11-71 11.13 Temperature Sweep Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-77 11.13.1 About the Temperature Sweep Analysis . . . . . . . . . . . . . . . . . . . . . . . . . .11-77 11.13.2 Setting Temperature Sweep Analysis Parameters . . . . . . . . . . . . . . . . . .11-78 11.14 Transfer Function Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-80 11.14.1 About the Transfer Function Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-80 11.14.2 Setting Transfer Function Analysis Parameters . . . . . . . . . . . . . . . . . . . .11-81 11.14.3 Examples of Transfer Function Analysis . . . . . . . . . . . . . . . . . . . . . . . . . .11-82 11.14.3.1 Linear Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-82 11.14.3.2 Non-linear Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-84 11.15 Worst Case Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-86 11.15.1 About the Worst Case Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-86 11.15.1.1 Setting Tolerance Parameters . . . . . . . . . . . . . . . . . . . . . . . . .11-87 11.15.2 Setting Analysis Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-89 11.15.3 Worst Case Analysis Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-90 11.16 Pole Zero Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-93 11.16.1 About the Pole Zero Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-93
xiv
Electronics Workbench
11.16.1.1 Multisim Approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-96 11.16.2 Setting Pole Zero Analysis Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . 11-96 11.16.3 Running Pole Zero Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-98 11.17 Monte Carlo Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-100 11.17.1 About the Monte Carlo Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-100 11.17.1.1 Uniform Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-100 11.17.1.2 Gaussian Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-101 11.17.2 Setting Up and Running Monte Carlo Analysis . . . . . . . . . . . . . . . . . . . 11-103 11.17.2.1 Entering a Component Tolerance . . . . . . . . . . . . . . . . . . . . . 11-103 11.17.2.2 Specifying the Analysis Parameters . . . . . . . . . . . . . . . . . . . 11-104 11.17.3 Monte Carlo Analysis Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-105 11.17.3.1 Setting up the Sample Monte Carlo Analysis . . . . . . . . . . . . 11-106 11.17.3.2 Simulation Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-108 11.18 Trace Width Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-112 11.18.1 Multisim Approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-113 11.18.2 Sample Trace Width Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-115 11.19 RF Analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-119 11.20 Nested Sweep Analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-119 11.21 Batched Analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-121 11.22 User Defined Analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-122 11.22.1 About the User Defined Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-122 11.22.2 Creating and Simulating a SPICE Netlist . . . . . . . . . . . . . . . . . . . . . . . . 11-123 11.22.3 Importing the SPICE netlist into Multisim . . . . . . . . . . . . . . . . . . . . . . . . 11-124 11.22.4 Plotting Two Nodes Using the Tran Statement . . . . . . . . . . . . . . . . . . . 11-125 11.22.5 How to Run an AC Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-126 11.23 Analysis Options dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.23.1 Global tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.23.2 DC tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.23.3 Transient tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.23.4 Device tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.23.5 Advanced tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-127 11-128 11-130 11-131 11-132 11-133
12. Postprocessor
12.1 Introduction to the Postprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-2 12.2 Using the Postprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-2 12.2.1 Basic Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-2
xv
12.2.2
12.2.1.1 Using the Default Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12-7 12.2.1.2 Creating Multiple Traces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12-8 Working with Pages, Traces, Graphs and Charts . . . . . . . . . . . . . . . . . . . .12-8
13. Reports
13.1 Bill of Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-2 13.1.1 Using the BOM Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-3 13.2 Component Detail Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-5 13.2.1 Using the Component Detail Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-5 13.3 Netlist Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-7 13.3.1 Using the Netlist Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-7 13.4 Schematic Statistics Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-8 13.4.1 Using the Schematic Statistics Report . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-9 13.5 Spare Gates Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-10 13.5.1 Using the Spare Gates Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-10 13.6 Model Data Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-11 13.6.1 Using the Model Data Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-12 13.7 Cross Reference Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-12 13.7.1 Using the Cross Reference Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-13 13.8 Variants Filter Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13-13
14. Transfer/Communication
14.1 Introduction to Transfer/Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-2 14.2 Exporting to PCB layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-2 14.2.1 Transferring from Multisim to Ultiboard for PCB Layout . . . . . . . . . . . . . . .14-3 14.2.2 Transferring to Other PCB Layout Packages . . . . . . . . . . . . . . . . . . . . . . .14-4 14.2.3 Multisection Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-4 14.3 Forward Annotation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-5 14.4 Back Annotation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-5 14.5 Exporting Simulation Results. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14-5
xvi
Electronics Workbench
14.6 Exporting a Netlist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-8 14.7 Importing Files with Other Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-8 14.7.1 Importing a SPICE or PSPICE Netlist . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-8 14.8 Internet Design Sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-9
15. RF
15.1 Introduction to the Multisim RF Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-2 15.2 Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-2 15.2.1 About RF Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-2 15.2.2 Multisims RF Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-3 15.2.3 Theoretical Explanation of the RF Models . . . . . . . . . . . . . . . . . . . . . . . . . 15-4 15.2.3.1 Striplines/Microstrips/Waveguides . . . . . . . . . . . . . . . . . . . . . . . 15-4 15.2.3.2 RF Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-6 15.2.3.3 RF Capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-6 15.2.3.4 RF Inductors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-7 15.2.3.5 Active Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-7 15.3 RF Instruments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-9 15.3.1 Spectrum Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-9 15.3.1.1 About the Spectrum Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . 15-9 15.3.1.2 Using Multisims Spectrum Analyzer . . . . . . . . . . . . . . . . . . . . . 15-9 15.3.1.3 Frequency Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-10 15.3.1.4 Frequency Spans . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-10 15.3.1.5 Frequency Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-11 15.3.1.6 Amplitude Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-12 15.3.1.7 Reference Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-12 15.3.1.8 Frequency Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-13 15.3.1.9 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-13 15.3.2 Network Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-15 15.3.2.1 About the Network Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . 15-15 15.3.2.2 Using the Network Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . 15-16 15.3.2.3 Marker Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-17 15.3.2.4 Trace Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-17 15.3.2.5 Format Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-17 15.3.2.6 Data Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-18 15.3.2.7 Mode Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-18
xvii
15.4 RF Analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-18 15.4.1 RF Characterizer Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-18 15.4.2 Matching Network Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-20 15.4.3 Noise Figure Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-25 15.4.3.1 Multisim Approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-27 15.4.3.2 Noise Figure Analysis Tabs . . . . . . . . . . . . . . . . . . . . . . . . . . .15-28 15.4.3.3 Sample Noise Figure Analysis . . . . . . . . . . . . . . . . . . . . . . . . .15-29 15.5 RF Model Makers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-31 15.5.1 Waveguide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-31 15.5.2 Microstrip Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-32 15.5.3 Open End Microstrip Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-33 15.5.4 RF Spiral Inductor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-34 15.5.5 Strip Line Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-35 15.5.6 Stripline Bend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-36 15.5.7 Lossy Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-37 15.5.8 Interdigital Capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-38 15.6 Tutorial: Designing RF Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-39 15.6.1 Selecting Type of RF Amplifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-40 15.6.2 Selecting an RF Transistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-40 15.6.3 Selecting a DC-operating Point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-41 15.6.4 Selecting the Biasing Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-41 15.6.4.1 Selecting an Operating Frequency Point . . . . . . . . . . . . . . . . .15-43 15.6.4.2 Analyzing the RF Network . . . . . . . . . . . . . . . . . . . . . . . . . . . .15-43
Appendix A
A.1 Multisim Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.1 File Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.1.1 File/New . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.1.2 File/Open . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.1.3 File/Open Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.1.4 File/Close . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.1.5 File/Close All . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.1.6 File/Save . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.1.7 File/Save As . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.1.8 File/Save All . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.1.9 File/New Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.1.10 File/Open Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.1.11 File/Save Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1 A-1 A-1 A-2 A-2 A-2 A-2 A-2 A-2 A-2 A-3 A-3 A-3
xviii
Electronics Workbench
A.1.2
A.1.3
A.1.1.12 File/Close Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3 A.1.1.13 File/Version Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3 A.1.1.14 File/Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3 A.1.1.15 File/Print Preview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3 A.1.1.16 File/Print Options/Printer Setup . . . . . . . . . . . . . . . . . . . . . . . . . . A-4 A.1.1.17 File/Print Options/Print Circuit Setup . . . . . . . . . . . . . . . . . . . . . . A-4 A.1.1.18 File/Print Options/Print Instruments . . . . . . . . . . . . . . . . . . . . . . . A-5 A.1.1.19 File/Recent Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5 A.1.1.20 File/Recent Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5 A.1.1.21 File/Exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5 Edit Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5 A.1.2.1 Edit/Undo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5 A.1.2.2 Edit/Redo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5 A.1.2.3 Edit/Cut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5 A.1.2.4 Edit/Copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6 A.1.2.5 Edit/Paste . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6 A.1.2.6 Edit/Delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6 A.1.2.7 Edit/Select All . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6 A.1.2.8 Edit/Delete Multi-Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6 A.1.2.9 Edit/Paste as Subcircuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7 A.1.2.10 Edit/Find . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7 A.1.2.11 Edit/Comment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7 A.1.2.12 Edit/Graphic Annotation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7 A.1.2.13 Edit/Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7 A.1.2.14 Edit/Assign to Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7 A.1.2.15 Edit/Layer Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8 A.1.2.16 Edit/Title Block Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8 A.1.2.17 Edit/Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8 A.1.2.18 Edit/Symbol/Title Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9 A.1.2.19 Edit/Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9 A.1.2.20 Edit/Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9 View Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9 A.1.3.1 View/Full Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9 A.1.3.2 View/Zoom In . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9 A.1.3.3 View/Zoom Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9 A.1.3.4 View/Zoom Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9 A.1.3.5 View/Zoom Fit to Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9 A.1.3.6 View/ Show Grid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-10 A.1.3.7 View/Show Border . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-10 A.1.3.8 View/Show Page Bounds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-10 A.1.3.9 View/Ruler Bars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-10 A.1.3.10 View/Status Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-10
xix
A.1.4
A.1.5
A.1.3.11 View/Design Toolbox. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.3.12 View/Spreadsheet View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.3.13 View/Circuit Description Box . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.3.14 View/Toolbars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.3.15 View/Comment/Probe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.3.16 View/Grapher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Place Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.1 Place/Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.2 Place/Junction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.3 Place/Wire . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.4 Place/Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.5 Place/Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.6 Place/Hierarchical Block from File . . . . . . . . . . . . . . . . . . . . . . A.1.4.7 Place/New Hierarchical Block . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.8 Place/Replace by Hierarchical Block . . . . . . . . . . . . . . . . . . . . A.1.4.9 Place/New Subcircuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.10 Place/Replace by Subcircuit . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.11 Place/Multi-Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.12 Place/Merge Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.13 Place/Bus Vector Connect . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.14 Place/Comment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.15 Place/Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.16 Place/Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.4.17 Place/Title Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simulate Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.5.1 Simulate/Run . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.5.2 Simulate/Pause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.5.3 Simulate/Instruments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.5.4 Simulate/Interactive Simulation Settings . . . . . . . . . . . . . . . . . A.1.5.5 Simulate/Digital Simulation Settings . . . . . . . . . . . . . . . . . . . . . A.1.5.6 Simulate/Analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.5.7 Simulate/Postprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.5.8 Simulate/Simulation Error Log/Audit Trail . . . . . . . . . . . . . . . . A.1.5.9 Simulate/XSpice Command Line Interface . . . . . . . . . . . . . . . . A.1.5.10 Simulate/Load Simulation Settings . . . . . . . . . . . . . . . . . . . . . . A.1.5.11 Simulate/Save Simulation Settings . . . . . . . . . . . . . . . . . . . . . A.1.5.12 Simulate/VHDL Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.5.13 Simulate/Verilog HDL Simulation . . . . . . . . . . . . . . . . . . . . . . . A.1.5.14 Simulate/Probe Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.5.15 Simulate/Reverse Probe Direction . . . . . . . . . . . . . . . . . . . . . . A.1.5.16 Simulate/Clear Instrument Data . . . . . . . . . . . . . . . . . . . . . . . . A.1.5.17 Simulate/Global Component Tolerances. . . . . . . . . . . . . . . . . .
A-10 A-10 A-10 A-10 A-12 A-12 A-12 A-13 A-13 A-13 A-13 A-13 A-14 A-14 A-14 A-14 A-14 A-14 A-14 A-14 A-14 A-15 A-15 A-15 A-16 A-16 A-16 A-16 A-18 A-19 A-19 A-21 A-21 A-22 A-22 A-22 A-22 A-22 A-22 A-22 A-22 A-23
xx
Electronics Workbench
A.1.6
Transfer Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-23 A.1.6.1 Transfer/Transfer to Ultiboard . . . . . . . . . . . . . . . . . . . . . . . . . . A-23 A.1.6.2 Transfer/Transfer to Other PCB Layout . . . . . . . . . . . . . . . . . . . A-23 A.1.6.3 Transfer/Forward Annotate to Ultiboard . . . . . . . . . . . . . . . . . . A-23 A.1.6.4 Transfer/Backannotate from Ultiboard . . . . . . . . . . . . . . . . . . . . A-23 A.1.6.5 Transfer/Highlight Selection in Ultiboard . . . . . . . . . . . . . . . . . . A-23 A.1.6.6 Transfer/Export Netlist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-23 A.1.7 Tools Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-24 A.1.7.1 Tools/Component Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-24 A.1.7.2 Tools/Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-24 A.1.7.3 Tools/555 Timer Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-24 A.1.7.4 Tools/Filter Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-24 A.1.7.5 Tools/CE BJT Amplifier Wizard . . . . . . . . . . . . . . . . . . . . . . . . . A-25 A.1.7.6 Tools/Variant Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-25 A.1.7.7 Tools/Set Active Variant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-25 A.1.7.8 Tools/Rename/Renumber Components . . . . . . . . . . . . . . . . . . A-25 A.1.7.9 Tools/Replace Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-25 A.1.7.10 Tools/Update Circuit Components . . . . . . . . . . . . . . . . . . . . . . . A-25 A.1.7.11 Tools/Electrical Rules Check . . . . . . . . . . . . . . . . . . . . . . . . . . . A-25 A.1.7.12 Tools/Clear ERC Markers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-25 A.1.7.13 Tools/Symbol Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-26 A.1.7.14 Tools/Title Block Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-26 A.1.7.15 Tools/Description Box Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . A-26 A.1.7.16 Tools/Edit Labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-26 A.1.7.17 Tools/Capture Screen Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-26 A.1.7.18 Tools/Internet Design Sharing . . . . . . . . . . . . . . . . . . . . . . . . . . A-26 A.1.7.19 Tools/EDAparts.com . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-26 A.1.8 Reports Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-27 A.1.8.1 Reports/Bill of Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-27 A.1.8.2 Reports/Component Detail Report . . . . . . . . . . . . . . . . . . . . . . A-27 A.1.8.3 Reports/Netlist Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-27 A.1.8.4 Reports/Cross Reference Report . . . . . . . . . . . . . . . . . . . . . . . A-27 A.1.8.5 Reports/Schematic Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . A-27 A.1.8.6 Reports/Spare Gates Report . . . . . . . . . . . . . . . . . . . . . . . . . . . A-27 A.1.9 Options Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-27 A.1.9.1 Options/Global Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . A-27 A.1.9.2 Options/Sheet Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-28 A.1.9.3 Options/Customize User Interface . . . . . . . . . . . . . . . . . . . . . . . A-28 A.1.10 Window Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-28 A.1.10.1 Window/New Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-28 A.1.10.2 Window/Cascade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-28 A.1.10.3 Window/Tile Horizontal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-28
xxi
A.1.10.4 Window/Tile Vertical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.10.5 Window/Close All . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.10.6 Window/Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.10.7 Window (open files) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.11 Help Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.11.1 Help/Multisim Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.11.2 Help/Component Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.11.3 Help/Release Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.11.4 Help/Check for Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.11.5 Help/File Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.11.6 Help/About Multisim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-28 A-28 A-29 A-29 A-29 A-29 A-29 A-30 A-30 A-30 A-30
xxii
Electronics Workbench
Installing Multisim
1-1
Installing Multisim
Installing Multisim
Subject Uninstalling Multisim 8 Uninstalling the Single User Version Uninstalling SUU Uninstalling a Site Version Uninstalling Standalone Multi-Station Installation Uninstalling Network Installation Uninstalling Combination Standalone Multi-Station and Network Installations Uninstalling NLS License Agreement
1-28 1-28
1.1
Installation Requirements
To successfully install Multisim 8, you may need up to 150 MB of hard disk space, depending on which edition you have purchased. You also need the following system requirements:
Minimum System Requirements Windows NT4 SP6/2000/XP Pentium III Processor 128 MB RAM CD-ROM 800 x 600 screen resolution Recommended System Requirements Windows XP Professional Pentium 4 Processor 256 MB RAM CD-ROM 1024 x 768
1-2
Electronics Workbench
Installing Multisim
Installation Overview
1.2
Installation Overview
Multisim 8 has three types of installation: Single User Edition, Network Edition, and Multi-Station Standalone Edition. Single User Edition If you are installing Multisim 8 on a single computer that is not part of a network, then you are installing a Single User Edition. Note The Single User Edition is only licensed on the computer on which you install it. If for any reason you wish to move the software to a different computer, you must first uninstall it from the initial computer, and then re-install it onto the new computer. In this case, you must contact Electronics Workbench to receive a new Release Code. For details on the installation process see 1.3.2.1 Installing the Single User Edition on page 1-5. Network Edition If you are installing Multisim 8 in a networked environment, you are installing a Network Edition. For details, see 1.3.4 Network Version on page 1-8. Either fixed or floating licenses are available from Electronics Workbench. A floating license allows any computer to run Multisim 8 on a first-come, first-served basis. Maximum concurrent uses are limited to the number of seats you have purchased. A fixed license allows only a set number of specific computers to run the software. You may select and change the specific computers allowed access using the NLS Utility, up to the number of fixed licenses you have purchased (see 1.4.2 Administering Fixed Seat Licenses on page 1-18). Multi-Station Standalone Edition If you are installing Multisim 8 on various computers in a non-networked environment, then you are installing a Multi-Station Standalone Edition. This type of installation is identical to that of the Single User Edition, except that you may only install a single copy of Multisim 8 per computer on as many computers as specified by the License Agreement. For details on the installation process see 1.3.2.1 Installing the Single User Edition on page 1-5. Hardware Key Edition For any of the above types of installations, Electronics Workbench can provide you with a hardware key, at an extra cost, which can be used instead of a hardware signature. Use of the hardware key (which plugs into the parallel port on your computer) allows you to move the software from computer to computer without having to contact Electronics Workbench. Use of the hardware key requires an additional installation step. For details, see 1.3.6 Installing Hardware Key Editions on page 1-14.
1-3
Installing Multisim
Installing Multisim
1.3
1.3.1
Installing Multisim 8
Before Installing Multisim 8
If you are upgrading to Multisim 8 from a previous version and wish to import your corporate or user database, you will first need to make a back-up copy of the database. To back-up your database: 1. Browse to the directory location where you have your previous version of Multisim (for example, C:\Program Files\Multisim7). 2. Copy the entire \Database folder to a location that you will remember later (for example, C:\Temp). 3. Your database is now safely backed-up. Note Please note that you will require Administrator privileges to install Electronics Workbench software and to enter release codes.
1.3.2
1-4
Electronics Workbench
Installing Multisim
Installing Multisim 8
7. You may find a link to Electronics Workbenchs privacy policy in this dialog. You may read it and then click Next to continue. Note If you do not wish to provide Electronics Workbench with information through SUU then uncheck the box selection and click Next to continue.
1-5
Installing Multisim
Installing Multisim
8. Select the location in which you wish to install Multisim 8. Click on the Browse button to select a different location or click on the Next button to accept the default location. 9. When prompted, enter the country where you are located and your language of preference for SUU to send you information about your product and any updates that may be available to you. Click Next to continue. 10.Please click on the Finish button to complete your Multisim 8 installation. If enabled, SUU will check for any program updates available for your product. Electronics Workbench strongly recommends that you keep SUU enabled to receive the latest patches to the software.
1-6
Electronics Workbench
Installing Multisim
Installing Multisim 8
To obtain your Release Code, you must provide us with your Serial Number and Signature number, as displayed on the splash screen. Contact Electronics Workbench via our website (preferred method) at www.electronicsworkbench.com and select the Product Registration link, or call Customer Service at 1.800.263.5552. Customers outside North America should contact their local distributor. Electronics Workbench recommends that you obtain your Release Code as soon as possible after you have installed Multisim 8. Note The Release Code that you will be provided with is composed of 60-alphanumeric characters. Electronics Workbench recommends that you use one of the recommended methods below to enter the Release Code. To enter the Release Code: 1. Click on the Enter Release Code button at the start-up splash screen 2. If you have received your Release Code via email there are a few ways to easily enter it without the need to type each number or character one at a time. Select one of the following methods: Highlight the Release Code. Drag and drop it on one of the text boxes. Highlight the Release Code, right-click on it and select Copy. Click on the Paste Release Code button. Highlight the Release Code, right-click on it and select Copy. Right-click on one of the text boxes and click on Paste from the pop-up menu. 3. If you have received your Release Code over the phone, you must type it in the Release Code fields 5 characters at a time. 4. Click Accept to continue.
1.3.3
1-7
Installing Multisim
Installing Multisim
1.3.4
Network Version
For network versions, the client software (Multisim 8) may be installed: 1. On a central file server that serves the software to other networked computers (called "workstations"). 2. Locally on each workstation computer. This option gives the best performance, as the software need not be accessed across a network. However, it takes up the most disk space on the workstation computers, and requires updates to be installed separately on each workstation. This option can be combined with option 1, where some workstations may have the client software installed locally, and other workstations may have the software served from a shared file system. 3. On several file servers, each one of which serves the software to a subset of the networked computers, and, optionally, also on selected workstation computers. This option is intermediate between options 1 and 2. If options 1 or 3 are selected, the network must be setup to allow access from the workstations to the shared file systems on which the client software is installed. For all of the options above (1, 2 or 3), you must also install the Electronics Workbench Network License Server (NLS) on any one computer on the network. This computer does not need to share a file system with the client software. However, it requires is TCP/IP access from the workstation computers. This computer will run a Windows service that keeps track of and limits the number of licenses currently in use. From that computer, administrators may run the NLS utility that shows information on licenses available, the users currently utilizing the licenses, and enables users to be remotely logged off. As with the single user edition, you have been provided with an 18-digit Serial Number that you will require during each installation of Multisim 8 and for the lone installation of NLS. The Serial Number identifies the product as being a Network Edition. Using NLS, you may access the hardware signature of the NLS server computer. You must send the NLS server's hardware signature and your Serial Number to Electronics Workbench. You will receive a Release Code that you will need to enter into NLS to enable the network edition to function. The Release Code encodes the number of seats and any term limits on your license. A Multisim workstation will access either a fixed or a floating license depending upon the Serial Number entered at the time of install of the Multisim 8 client software that the workstation uses. In either the fixed or the floating case, the Multisim 8 client software may be installed either directly on the workstation computer, or onto a shared file server. Different Serial Numbers are provided to you for each of these cases. Note NLS is only licensed on the computer on which you install it. If for any reason you wish to move the NLS service to a different computer, you must first uninstall it from the initial computer, and then re-install it onto the new computer. In this case, you must contact Electronics Workbench to receive a new Release Code.
1-8
Electronics Workbench
Installing Multisim
Installing Multisim 8
Option 1 Choose Multisim 8 and Network License Server if you wish to install both The Network License Server (NLS) and Multisim 8 on the same computer. You will select this option if your central file server is the same computer as your license server, or if you wish to install the license server on this machine and also wish to install a local client copy of the software. NLS will be installed into the same folder as Multisim 8. If you wish these to be installed into different folders, then install the two components separately as described below.
1-9
Installing Multisim
Installing Multisim
Option 2 Choose "Network License Server only" if you wish to only install NLS and not Multisim 8. Option 3 Choose "Multisim 8 only" if you wish to only install the client software Multisim 8 on either a shared file system for serving out to other workstation computers, or if you wish to install Multisim 8 on each workstation computer directly. Note You will need to install NLS prior to installing Multisim 8. 8. Click Next to continue. 9. Select the location in which you wish to install Multisim 8 and/or NLS. Click on the Browse button to select a different location or click on the Next button to accept the default location. 10.The EWB Network License Information dialog will prompt you for the Server on which NLS is installed and the TCP Port Number that it uses. If installing Multisim 8, the client software will be configured to use the port number shown here. If you have changed the port number when installing NLS or subsequently using the NLS Utility, be sure that the port numbers match. If installing NLS, typing a different number for the port will force NLS to use this port rather than its default. This may also be changed using the NLS Utility at a later time.
When installing Multisim 8, the EWB Network License Information dialog will prompt you for the Server name by which the NLS server is to be known to the workstations running Multisim 8. You may provide the name of the server, the IP number of the server, or a network alias for the server name. In order to facilitate moving NLS to a different computer, we recommend that you use a name, such as ewbnls, that you set up to be an alias for the machine name of the license server. If you later choose to move the license server to a different machine, you need only change the network alias and the workstations will continue to find the license server
1-10
Electronics Workbench
Installing Multisim
Installing Multisim 8
without modification. For help in setting up a machine name alias, consult your network administrator. 11. Click on the Test button to test the connection to the server. If you fail to connect, double-check that the Server and Port settings correspond to your NLS installation and try again. If you still fail to connect, check your firewall settings. Click Next to continue. Note See also, 1.4.4 Troubleshooting on page 1-20. 12.Click on the Finish button to complete the installation.
1-11
Installing Multisim
Installing Multisim
you have advanced knowledge of NTFS and share permissions. Contact your administrator for help. Multisim 8 Permissions on a Windows XP Professional-based Computer 1. Browse to <install-root>\EWB8, where the Multisim 8 Network Edition is installed on the server. 2. Right-click on the \EWB8 folder and click on Sharing and Security from the pop-up menu. 3. Click on the Sharing tab on the EWB8 Properties dialog and select Share this folder. 4. Click on the Permissions button. The Permissions for EWB8 dialog will pop-up. 5. Under Groups or user names, select the security group that requires access to Multisim 8. (If everybody on the network is allowed access, select Everyone). 6. Set the following permissions:
Permission Full Control Change Read Allow X X X Deny
All other options shown on the dialog should be unchecked unless specified on the above table. Click OK to accept the permissions. 7. Click on the Security tab and select the appropriate group under Group or user names. 8. Click on the Advanced button. The Advanced Security Settings for EWB8 dialog will pop-up. 9. On the Permissions tab, click on the Edit button. The Permissions Entry for EWB8 dialog will pop-up. 10.Set the following permissions:
Permission Read & Execute List Folder Contents Read Allow X X Deny
1-12
Electronics Workbench
Installing Multisim
Installing Multisim 8
All other options shown on the dialog should be unchecked unless specified on the above table. Under the Advanced tab, make sure that the option Inherit from parent the permission entries that apply to child objects. Include these with entries explicitly defined here is unchecked. Place a check mark on Replace permission entries on all child objects with entries shown here that apply to child objects. Click OK to accept the permissions. 11. Click OK on the EWB8 Properties dialog. You have now set up the EWB8 folder directory and all sub-directories and files with Read & Execute permissions. Certain files and sub folders need to also be given Write permissions for Multisim 8 to function properly on a networked environment. Please follow the instructions below: 1. Browse to <install-root>\EWB8\database folder. 2. Right-click on the \EWB8\database folder and click on Sharing and Security from the pop-up menu. 3. Click on the Security tab and select the appropriate group under Group or user names. 4. Under Permissions add a check mark for Modify and Write under the Allow column. Click OK to accept the permissions on that folder. 5. Repeat Step 2-4 for the Multisim users and Ultiboard users folder.
1.3.5
1-13
Installing Multisim
Installing Multisim
1.3.6
1.4
1.4.1
1-14
Electronics Workbench
Installing Multisim
The first time you open the dialog after installing Multisim, it will appear similar to the following:
Note Network seats will also be showing if they were added during the installation process. 2. Click New to add a product. The Add Product dialog box appears. 3. Enter a valid serial number and click OK. Tip If you have the serial number recorded electronically (for instance, in an email), you can drag-and-drop it into the field in the Add Product dialog box. The product is added as shown below.
Right-click here and select Edit Release Code from the pop-up.
1-15
Installing Multisim
Installing Multisim
4. Right-click on the Release Code line as shown above and select Edit Release Code from the pop-up.
5. You can either copy the release code and click Paste Release Code, drag-and-drop the release code into any of the Release Code fields, or type it in manually. 6. Click Save to return to the main dialog box.
1-16
Electronics Workbench
Installing Multisim
7. When network seats are being used, the dialog will appear similar to the following:
Right-click to edit release codes, edit serial numbers or remove the product Right-click to edit serial number Right-click to edit release code Right-click to log-off all users Right-click on individual users to log them off Click to restart the Network License Server software. Click to add a new product.
1-17
Installing Multisim
Installing Multisim
1.4.2
To add (authorize) a seat signature: 1. Go the computer that contains the client software that you wish to add (for example, Multisim 8) and launch the software. As this software is not yet authorized, a message similar to the following displays.
1-18
Electronics Workbench
Installing Multisim
3. Right-click on Authorized Seat Signatures and select Authorize a new computer from the pop-up that displays.
5. Enter the signature that you copied down from the client computer and click OK.
1-19
Installing Multisim
Installing Multisim
1.4.3
1.4.4
Troubleshooting
The following contains solutions to situations that may be encountered with the Network License Server. Network License Server gives Permission Denied message. For security reasons, the Network License Server may only be run from an account with administrator privileges. Attempting to control the license server from a user or power user account will cause a permission denied error. Client application gives Connection to the license server failed message. Make sure that the server address and port number on the client Network License Server dialog have been set correctly. If you have entered a machine name as the server address, try using the numeric IP address instead. In some networks, this IP address may change dynamically. Please contact your network administrator for assistance if this occurs frequently. If either the server machine or client machine has a firewall installed (including the Windows XP service pack 2 internal firewall), make sure that either: a) the required port is allowed to be open (in TCP protocol) or b) the server program (EWBNLSS) or client application is granted an exception. Please see your firewalls documentation for more information. Client application gives This product is not registered on the license server message. Make sure that you have used the same product serial number on both the client and the server. Make sure that the registration code has been accepted by the license server. No client application will be licensed until the product has been successfully registered. Client application gives No more instances of the program can be run on the network message.
1-20
Electronics Workbench
Installing Multisim
This message is returned when all available license seats have been used up. When a user shuts down the client application normally, their seat should be released immediately; however, when a client application terminates unexpectedly (the computer is turned off while running or there is a fatal error), the license server may take up to five minutes to relinquish this license for reuse. If you believe that there should be seats available and clients are being denied licenses, waiting for five minutes to log on is usually sufficient to allow these seats to be freed. The administrator may also wish to check the Network License Server control screen and try to identify unused but unreleased licenses by their computer name or IP address subdomain. If the administrator logs off these users, their licenses will be immediately available for new clients. The administrator may also check for users running multiple clients on a single machine. In extreme cases, the administrator may click the Restart button on the Network License Server. This will immediately release all licenses, and then reissue them silently to active authorized users only. For most client users, this will be an invisible process. This option should however be used with caution: if the number of clients requesting licenses is indeed over the seat limit, the license server cannot guarantee that exactly the same set of clients will be granted licenses as had them before the reset operation. Therefore, some authorized clients may be given the no more instances of the program can be run on the network message in the middle of their active session and be prohibited from continuing their work (however, they will be given the opportunity to save their work).
1.5
1-21
Installing Multisim
Installing Multisim
1.5.1
Note A message advising that your software is up-to-date appears if there are no updates available. 3. Proceed to 1.5.2 Installing Updates on page 1-22.
1.5.2
Installing Updates
Use the procedure below to install updates. To determine if updates are available, see 1.5.1 Checking for Updates on page 1-22. Most users will install all available upgrades. You can also upgrade to a specific version. This option should only be used to ensure parallel versions of software are being run within an organization or institution.
1-22
Electronics Workbench
Installing Multisim
When all downloads have been made the install process begins. 2. Follow the onscreen prompts (if available) to complete the upgrade. Note Some patches may be configured to install without user input.
1-23
Installing Multisim
Installing Multisim
2. Click on a button in the Upgrade to Specific Version column, for example, 8.0.1027. 3. Click Yes when prompted to confirm the upgrade.
1-24
Electronics Workbench
Installing Multisim
When all downloads have been made the install process begins.
1.5.3
Viewing Messages
To view messages: 1. From Multisim, select Help/Check for Updates. SUU launches and checks for updates. (For instructions on what to do if there are available updates, see 1.5.2 Installing Updates on page 1-22). 2. Click on more info... in the Messages area, beside the message of interest. The full message appears. 3. You can also click on Message History to display a history of received messages.
1.5.4
Changing Settings
The initial settings for SUU are done during Multisims installation procedure. For details, see 1.3 Installing Multisim 8 on page 1-4. If you would like to change these settings, please follow the procedure outlined below. To change the Support and Upgrade Utilitys settings: 1. From Multisim, select Help/Check for Updates. SUU launches and checks for updates.
1-25
Installing Multisim
Installing Multisim
(For instructions on what to do if there are available updates, see 1.5.1 Checking for Updates on page 1-22). 2. Click on the Settings button.
Note The Language field applies to messages only. The sofwares language is not affected by this setting. 3. Select the desired options and click OK.
1.6
1.6.1
Uninstalling Multisim 8
Uninstalling the Single User Version
1. Ensure you have recorded the serial number and any Feature Codes in 1.3.2.1 Installing the Single User Edition on page 1-5. 2. Click the Windows Start button. 3. Click Control Panel. 4. Click Add or Remove Programs. The Add or Remove Programs dialog appears. 5. From the list, select Multisim 8 and select Remove. Multisim 8 will be removed from your computer.
1-26
Electronics Workbench
Installing Multisim
Uninstalling SUU
1.7
Uninstalling SUU
To uninstall SUU: 1. Click the Windows Start button. 2. Click Control Panel. 3. Click Add or Remove Programs. The Add or Remove Programs dialog appears. 4. From the list, select EWB Support and Upgrade Utility and select Remove. SUU will be removed from the standalone workstation.
1.8
1.8.1
1.8.2
1-27
Installing Multisim
Installing Multisim
5. From the list, select Multisim 8 and select Remove. If the workstation is the host computer, Multisim 8 is removed from the network directory. If the workstation is only a client computer, the Multisim 8 folder is removed.
1.8.3
1.9
Uninstalling NLS
To uninstall NLS: 1. Click the Windows Start button. 2. Click Control Panel. 3. Click Add or Remove Programs. The Add or Remove Programs dialog appears. 4. From the list, select EWB Network License Server and select Remove. SUU will be removed from the standalone workstation.
1.10
License Agreement
Please read this license carefully before installing and using the software contained in this package. By installing and using the software, you are agreeing to be bound by the terms of this license. If you do not agree to the terms of this license, simply return the unused software within thirty days to the place where you obtained it and your money will be refunded. This version of the License Agreement was current at the time of printing. However, Electronics Workbench reserves the right to update the License Agreement from time to time, and it is the version which is current at the time you install the software that you agree to be bound by. For the most up-to-date version of this License Agreement, please go to www.electronicsworkbench.com. 1. Copyright. The software in this package is copyright Electronics Workbench Corporation the parent company and owner of Electronics Workbench. The software is licensed for use only on the terms set forth below, as applicable. The software is installed on a computer when it is loaded into the hard drive or any other storage device of that computer. The software is installed on a network when it is loaded into a hard drive or any other storage device accessible from stations on that network. You may not rent, sell, lease, sub-license,
1-28
Electronics Workbench
Installing Multisim
License Agreement
time-share or loan the software to others. You may not transfer this license without the written permission of IIT. Failure to comply will result in the automatic termination of this license. Single User Edition. This Agreement permits you to install one copy of the software, which is licensed as a single product. You must pay for additional copies if you wish to install the software on more than one computer at the same time or on a network. Certain exceptions to this policy exist in specific circumstances. Please contact Electronics Workbench for details. Floating Network Edition. This floating network license allows you to install this software on a network. Each station shall consist of only one computer with only one user at a time. The number of users restricted by this license is determined by the total number of stations running the software from the network at the same time. The total number of concurrent users your particular license is restricted to is ______. Named-Node Network Edition. This fixed network license allows you to install this software on a network. Each station shall consist of only one computer with only one user at a time. The number of users restricted by this license is determined by the total number of named stations that can access the software from the network. The total number of users your particular license is restricted to is ______. Multi-Station Standalone Edition. This multi-station license allows you to install this software on the number of stations specified below. Each station shall consist of only one computer with only one user at a time. The total number of stations your particular multi-station license is restricted to is ______. Student Editions (Student Suite and Multisim Lite). This Agreement permits you to install and use one copy of the software on a home computer owned by you, a registered student at an accredited academic institution, for academic purposes only. Student Versions may not be used on-campus, in a lab environment or otherwise, nor may they be installed as part of an institution-sanctioned laptop program. The software is installed on a computer when it is loaded into the hard drive or any other storage device of that computer. You must pay for additional copies if you wish to install the software on more than one computer at the same time or on a network. 2. Limited Warranty. IIT warrants that under normal use for a period of thirty (30) days from the date of delivery that: (a) the media on which the software is furnished will be free from defects in the material and workmanship; and (b) the software will operate substantially as described in the User's Guide (documentation). In order to make a claim under this warranty you must call IIT for authorization to return any defective item during the warranty period. If you return merchandise to IIT, you must insure the defective item being returned because IIT does not assume the risk of loss or damage while in transit. Upon return of a defective item, IIT shall, upon verification of the defect or error, at IIT's option, either repair or replace the defective copy or refund the amount paid for the license. If IIT elects to provide a refund, upon the date you receive notice of such election, this license shall terminate and you must comply with the provisions set out below.
1-29
Installing Multisim
Installing Multisim
You must assume full responsibility for the selection of this software to achieve your intended purposes, for the proper installation and use of the software and for verifying the results obtained from use of the software. IIT does not warrant in any way that the functions contained in the software will meet your requirements, that the software is fit for any particular purpose or that the operations of the software will be uninterrupted and error-free. 3. Term. The License granted in this agreement is effective until termination. Your misuse shall automatically terminate this license if you breach any of its terms and conditions. Upon termination, you shall return all media containing the software and all documentation to IIT and destroy any copies of the software or any portions of it which have not been returned to IIT, including copies resident in computer memory. 4. Copies, Modification or Merger. You shall not copy or modify all or any portion of the software or documentation or merge it into another software program. Copies shall include, without limitation, any complete or partial duplications on any media, adaptations, translations, compilations, partial copies within modifications, mergers with other material from whatever source, and updated works. You shall use your best efforts to prevent any unauthorized copying of the software. You shall not make any change or modification to any of the executable files, nor shall you reverse engineer, de-compile or disassemble the software or any portion of it, or otherwise attempt to determine the underlying source code of the software or permit any such actions. 5. Disclaimer/Limitation of Liability. IIT expressly disclaims all other warranties, whether oral or written, express or implied, including without limitation warranties of merchantability or fitness for a particular purpose. All warranties shall terminate thirty days from date of delivery of the software to you. Your exclusive remedy and IIT's entire liability arising from or in connection with the software, the software documentation, and/or this license (including without limitation for breach of warranty) shall be, at IIT's option, the repair or replacement of the media on which the software is supplied or refund of the license fee. In no event shall IIT's total liability for any damages, direct or indirect, in connection with the software, the software documentation, and/or this license exceed the license fees paid for your right to use this copy of the software, whether such liability arises from any claim based upon contract, warrants, tort or otherwise. In no event shall IIT or its partners be liable for any loss of profit or any other commercial damage, including but not limited to special, incidental, consequential or other damages, resulting from or in any way connected with the use of this software and including but not limited to any damages resulting from the use of the software for any special or high-risk applications such as those relating to or involving nuclear designs, medical devices and other critical or potentially dangerous applications. IIT specifically disclaims any other warranties, expressed or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose.
1-30
Electronics Workbench
Installing Multisim
License Agreement
Some jurisdictions do not allow the exclusion of implied warranties, so the above exclusion may not apply to you. In that event, any implied warranties are limited in duration to thirty (30) days from the date of delivery of the software. This warranty gives you specific legal rights. You may have other rights, which vary from jurisdiction to jurisdiction. No action for any breach of warranty shall be commenced more than one year following the expiration of such warranty. 6. General. You acknowledge that you have read this agreement, understand it and agree to be bound by its terms and conditions. You further agree that it is the complete and exclusive statement of the agreement between you and IIT and supersedes any proposal or prior agreement or any other communications between IIT and you relating to the use of the software. If any provision of this Agreement is unenforceable, all others shall remain in effect. This Agreement shall be governed by the internal laws of the Province of Ontario and Canada, including Canadian copyright laws. The exclusive venue in the event of any suit, proceeding or claim brought by you, and at our option, any suit, proceeding or claim brought by IIT, shall be in the Courts located in Toronto, Ontario. If you have any questions regarding this Agreement, you may contact IIT by writing to us at the address set out below: ELECTRONICS WORKBENCH CORPORATION 111 Peter Street, Suite 801 Toronto, Ontario M5V 2H1 Tel: (416) 977-5550 Fax: (416) 977-1818 e-mail: [email protected] Internet: www.electronicsworkbench.com
1-31
Installing Multisim
Installing Multisim
1-32
Electronics Workbench
Multisim Tutorial
2.1
2-1
Multisim Tutorial
Multisim Tutorial
Multicap is a schematic capture program suitable for pure schematic entry, driving simulation, and feeding to downstage steps, such as PCB layout. Multisim includes all of Multicap and adds mixed analog/digital simulation capability. MultiHDL adds HDL model creation and co-simulation to Multisim. Depending on your tier of Multisim, optional add-ons may be available, such as for RF simulation and extended parts libraries. Ultiboard, fed from Multicap or Multisim, is used to design printed circuit boards, perform certain basic mechanical CAD operations, and prepare them for manufacturing. Ultiroute is an add-on to Ultiboard that provides automated parts placement and layout beyond what is available in Ultiboard stand-alone. GerbTool is an add-on to Ultiboard used to translate Ultiboard PCB designs into Gerber files for export to manufacturing. CommSim is a tool used to simulate the behavior of communications channels. All of the products in the Electronics Workbench suite are available in multiple tiers depending upon budget and needs.
2.2
Multisim 8 Tutorial
This tutorial leads you through the circuit design flow, from schematic capture, through simulation and analysis, and finally, PCB layout. After following the steps outlined on the following pages, you will have designed and laid out a circuit that samples a small analog signal, amplifies it and then counts the occurrences of the signal on a simple digital counter. Helpful tips are indicated by the presence of an icon in the left column, as in: You can access the online help at any time by pressing F1 on your keyboard, or by clicking on the Help button in a dialog box. When you get to the wiring section of this tutorial, you can carry on with the circuit you created in the component placement section, or open the file "Tut1.ms8" (which has all components properly placed) from the Tutorial folder (found inside the Samples folder) and proceed. When you arrive at the simulation section, you can carry on with the circuit you wired, or open the file "Tut2.ms8" (which has all components properly wired).
2-2
Electronics Workbench
Multisim 8 Tutorial
2.2.1
Schematic Capture
In this section, you will place and wire the components in the circuit shown below. Multisim Tutorial
Opening and Saving the File When you first launch Multisim, a blank file is opened on the workspace called "Circuit1". To save the file with a new name: 1. Select File/Save As to display a standard Windows Save dialog. 2. Navigate to the location where you wish the file to reside, and enter "sample_and_count" as the filename, and click on the Save button. To guard against accidental loss of data, set up a timed auto-backup of the file in the Save tab of the Preferences dialog box. To open an existing file: 1. Select File/Open, navigate to the location where the file resides, highlight the file, and click on the Open button.
2-3
Multisim Tutorial
You can import legacy OrCAD or PSpice files by selecting the desired type that appears in the "Files of Type" drop-down list of the Windows Open dialog. To view files from earlier versions of Multisim, select the desired version in the Files of Type drop-down in the Open dialog. Placing the Components 1. Open sample_and_count.ms8 as described above. 2. Select Place/Component to display the Select a Component browser, navigate to the 7-segment LED display as shown below and click OK. The component appears as a "ghost" on the cursor. Once you have selected the desired Group and Family, start typing the component's name. As you type, the string appears in the Searching field at the bottom of the browser. In the above example, type SEVEN_SEG_DECIMAL_COM_A_BLUE. Matches are displayed as you type.
Multisim Tutorial
3. Move the cursor to the top-right of the workspace and left-click to place the component. Note that the Reference Designator for this component is "U1".
2-4
Electronics Workbench
Multisim 8 Tutorial
4. Place the remaining components in the Digital Counter area as shown below.
Multisim Tutorial
While placing the 200-ohm resistor, rotate it to a vertical orientation by pressing CTRL-R on your keyboard. Reference Designators (e.g., U1, U2) are assigned in the order the components are placed. If you place components in a different order than in the original circuit, the numbering will differ. This will not effect the operation of the circuit in any way. 5. Place the parts in the Counter Control section. After placement, right-click on each of the SPDT switches and select Flip Horizontal.
When a part is on the workspace and you want to place the same part again, highlight it and select Edit/Copy, then Edit/Paste.
2-5
Multisim Tutorial
6. Place the parts in the Analog Amplifier section as shown below, rotating as needed.
Multisim Tutorial
After you place the AC voltage signal source, double-click on it. Change the Voltage (Pk) to 0.2 V and click OK to close the dialog. 7. Place the parts in the Bypass Capacitors section as shown below.
Once you have wired a circuit, you can drop two-pinned passive components like resistors directly onto a wire. The connection is automatically made by Multisim. Wiring the Circuit Multisim is modeless; there are no wiring or part placement modes to toggle between. All components have pins that you use to wire them to other components or instruments. As soon as your cursor is over a pin, Multisim knows you want to wire and the pointer changes to a crosshair.
2-6
Electronics Workbench
Multisim 8 Tutorial
You can wire the circuit that you placed on the workspace or you can use Tut1.ms8 from the Multisim Tutorial folder (found inside the Samples folder).
To wire the circuit:
1. Click on a pin on a component to start the connection (your pointer turns into a crosshair) and move the mouse. A wire appears, attached to your cursor. 2. Click on a pin on the second component to finish the connection. Multisim automatically places the wire, which conveniently snaps to an appropriate configuration, as shown below. This feature saves a great deal of time when wiring large circuits.
Multisim Tutorial
3. You can also control the flow of the wire by clicking on points as you move the mouse. Each click "fixes" the wire to that point. 4. Finish wiring the Digital Counter section as shown below.
2-7
Multisim Tutorial
5. Wire the Counter Control section as shown below. Select Place/Junction to place a junction beside J1. Repeat for J2 and wire the junctions to each switch as shown.
Multisim Tutorial
Virtual Wiring - To avoid clutter, this circuit uses virtual connections between the Counter Control and Digital Counter sections. A virtual connection is achieved when two unconnected wires are given the same net name. (A net represents a group of pins wired together at the same electrical point). If the net names are not showing, select Options/Sheet Properties and click on the Circuit tab in the Sheet Properties dialog box that appears. Select Show All in the Net Names area. 6. Change the net name of the wire to the right of J1, by double-clicking on the wire and entering "ENABLE" in the Net Name field of the Net dialog that appears. 7. Change the net name of the wire to the right of J2 to "LOAD". 8. Place and wire junctions to U2 as shown below. Then rename the nets to "ENABLE" and "LOAD". When prompted that nets already exist with these names, click Yes to continue.
2-8
Electronics Workbench
Multisim 8 Tutorial
Multisim Tutorial
2.2.2
Simulation
Simulating your circuits with Multisim catches errors early in the design flow, saving time and money. Virtual Instrumentation In this section, you will simulate the circuit with the virtual oscilloscope. You can also use "Tut2.ms8" from the Tutorial folder (found inside the Samples folder). 1. J1, J2 and R2 are interactive components. Set up the interactive keys for J1 and J2 by double-clicking on each. In the Key for Switch field, enter "E" for J1 and "L" for J2. Press "E" to enable the counter. 2. Select Simulate/Instruments/Oscilloscope to place the oscilloscope on the workspace. Wire the instrument as shown in step 4. To easily differentiate between traces on the oscilloscope, right-click on the wire connected to the scope's "B" input and select Segment Color from the pop-up. Select a color that differs from the wire connected to the "A" input, for example blue. (Simulation cannot be running when changing wire color). 3. Double-click on the scope's icon to show the instrument face. Select Simulate/Run. The output of the opamp appears on the scope.
2-9
Multisim Tutorial
4. Adjust the Timebase to 2mS/Div and Channel A's Scale to 500mV/Div. You will see the following displayed on the scope.
Multisim Tutorial
As the circuit simulates, the 7-segment display counts up and the LED flashes at the end of each count cycle. 5. Press "E" on your keyboard while the simulation is running to enable or disable the counter. Enable is Active Low. Press "L" to load zeros into the counter. Load is Active Low. Press "Shift-A" to observe the effect of changing the potentiometer's setting. Repeat, pressing "A". Remember to click on the schematic or the interactive components' keys will not work. Analysis For this circuit, you will use AC Analysis to verify the frequency response of the amplifier. To perform an AC Analysis at the output of the opamp: 1. Double-click on the wire that is attached to pin 6 of the opamp, and change the net name to "ANALOG_OUT" in the Net dialog box.
2-10
Electronics Workbench
Multisim 8 Tutorial
Multisim Tutorial
3. Highlight $analog_out in the left column and click Add. $analog_out moves to the right column. 4. Click Simulate. The results of the analysis appear in the Grapher.
The Grapher The Grapher is a multi-purpose display tool that lets you view, adjust, save and export graphs and charts. It is used to display the results of all Multisim analyses in graphs and charts and a graph of traces for some instruments (for example the results of the oscilloscope).
2-11
Multisim Tutorial
To view results of a simulation on the Grapher: 1. Run the simulation as described earlier. 2. Select View/Grapher. Multisim Tutorial
The Postprocessor The Postprocessor lets you manipulate the output from analyses performed on a circuit and plot the results on a graph or chart. Types of mathematical operations that can be performed on analysis results include arithmetic, trigonometric, exponential, logarithmic, complex, vector and logic. Detailed Postprocessor information can be found in Chapter 12, Postprocessor. Reports Multisim allows you to generate a number of reports: Bill of Materials (BOM), Component Detail Report, Netlist Report, Schematic Statistics, Spare Gates and the Cross Reference Report. This section uses the BOM as an example for the tutorial circuit. A bill of materials lists the components used in your design and therefore provides a summary of the components needed to manufacture the circuit board. Information provided in the Bill of Materials includes: quantity of each component needed description, including the type of part (example: resistor) and value (examples: 5.1 Kohm) reference ID of each component package or footprint of each component
2-12
Electronics Workbench
Multisim 8 Tutorial
To create a BOM for your circuit: 1. Click the Reports menu and choose Bill of Materials from the menu that appears. 2. The report appears, looking similar to this: Multisim Tutorial
To print the Bill of Materials, click the Print button. A standard Windows print screen appears, allowing you to choose the printer, number of copies, and so on. To save the Bill of Materials to a file, click the Save button. A standard Windows file save dialog box appears, allowing you to specify the path and file name. Because the Bill of Materials is primarily intended to assist in procurement and manufacturing, it includes only real parts. That is, it excludes parts that are not real or able to be purchased, such as sources or virtual components. To see a list of components in your circuit that are not real components, click the Virtual button. A separate window appears, showing these components only. Detailed information on this and other reports can be found in Chapter 13, Reports.
2-13
Multisim Tutorial
Electronics Workbench
User Interface
3-1
User Interface
Subject Customizing the Interface Commands tab Toolbars tab Keyboard tab Menu tab Options tab Customization Pop-up Menus Other Customization Options
Page No. 3-36 3-37 3-38 3-39 3-40 3-41 3-41 3-42
Electronics Workbench
3.1
View toolbar
User Interface
Status bar
Spreadsheet view
Circuit window
Menus are where you find commands for all functions. For details, see A.1 Multisim Menus on page A-1.
The Standard toolbar contains buttons for commonly-performed functions, as described in 3.2.1 Standard Toolbar on page 3-5.
3-3
User Interface
The Instruments toolbar contains buttons for each instrument, as described in 10.1 Introduction to the Multisim Instruments on page 10-3. The Component toolbar contains buttons that let you select components from the Multisim databases for placement in your schematic. See 3.2.4 Components Toolbar on page 3-8. This toolbar includes a link to EDAparts.com, which launches your web browser and directs you to the Electronics Workbench EDAparts.com website. You can then navigate the site to download parts, as described in 7.3 Using EDAparts.com on page 7-7. The Circuit Window (or workspace) is where you build your circuit designs. The Status Bar displays useful information about the current operation and a description of the item the cursor is currently pointing to. The Design Toolbox lets you navigate through the different types of files in a project (schematics, PCBs, reports), view a schematics hierarchy and show or hide different layers. For details, see 3.5 Design Toolbox on page 3-33. User Interface The Spreadsheet View allows fast advanced viewing and editing of parameters including component details such as footprints, RefDes, attributes and design constraints. Users can change parameters for some or all components in one step and perform a number of other functions. For details, see 5.2 The Spreadsheet View on page 5-9.
3.2
Toolbars
The toolbars listed below are available in Multisim: Standard Toolbar Main Toolbar View Toolbar Components Toolbar Virtual Toolbar Graphic Annotation Toolbar Instruments Toolbar Note If the above toolbars are not visible, select View/Toolbars/<toolbar name>. Note For a description of the menus and commands found in Multisim, refer to A.1 Multisim Menus on page A-1.
3-4
Electronics Workbench
Toolbars
3.2.1
Standard Toolbar
The Standard toolbar contains buttons for commonly-performed functions.
User Interface
Print Preview button. Previews the circuit as it will be printed. Cut button. Removes the selected elements and places them on the Windows clipboard. Copy button. Copies the selected elements and places them on the Windows clipboard. Paste button. Inserts the contents of the Windows clipboard at the cursor location.
3-5
User Interface
3.2.2
Main Toolbar
User Interface
Toggle Spreadsheet View button. Switches the Spreadsheet View on and off. For details, see 5.2 The Spreadsheet View on page 5-9. This feature is not available in all versions of Multisim. Database Management button. Launches the Database Management dialog box. For details, see 8.3 Editing Components on page 8-13. Create Component button. Launches the Create Component Wizard. For details, see 8.2 Adding Components with the Create Component Wizard on page 8-4. Run/stop Simulation button. Starts/stops simulation of the active circuit. For details, see 9.2.1 Start/Stop/Pause Simulation on page 9-4. Grapher/Analyses button. Displays the grapher. For details, see 11.2 Viewing the Analysis Results: Grapher on page 11-4. Also displays a list of available analyses. For details, see 11.3 Working with Analyses on page 11-21. Postprocessor button. Displays the Postprocessor dialog box. For details, see 12.2 Using the Postprocessor on page 12-2. Electrical Rules Checking button. Checks that the electrical rules established for the wiring of the circuit have been followed. For details, see 5.4 Electrical Rules Checking on page 5-38. Back Annotate from Ultiboard button. For details, see 14.4 Back Annotation on page 14-5. Forward Annotate button. For details, see 14.3 Forward Annotation on page 14-5.
3-6
Electronics Workbench
Toolbars
Button
Description In Use List. Click on the arrow to display a list of the active circuits components. For details, see 4.4.3 Using the In Use List on page 4-12.
Help button. Launches the help file. EDAparts.com button. Launches the eda.parts.com website. For details, see 7.3 Using EDAparts.com on page 7-7.
3.2.3
View Toolbar
User Interface
Decrease Zoom button. Decreases the magnification of the active circuit. Zoom Area button. Drag the cursor to select an area on the workspace to magnify.
Zoom Fit to Page button. Shows the entire circuit in the workspace.
3-7
User Interface
3.2.4
Components Toolbar
The buttons in the Component toolbar are described below. Each button will launch the place component browser (Select a Component browser) with the group specified on the button pre-selected. For details, see 4.4.1 Using the place component browser on page 4-4.
Button
Description
User Interface
CMOS button. Selects the CMOS component group in the browser. Miscellaneous Digital button. Selects the Miscellaneous Digital component group in the browser.
Indicator button. Selects the Indicator component group in the browser. Miscellaneous button. Selects the Miscellaneous component group in the browser.
3-8
Electronics Workbench
Toolbars
Button
Description Electromechanical button. Selects the Electromechanical component group in the browser.
RF button. Selects the RF component group in the browser. Place Hierarchical Block button. Opens a file to be embedded as a hierarchical block. Place Bus button. For details, see 6.4 Buses on page 6-12.
3.2.5
Virtual Toolbar
Use the Virtual toolbar to place virtual components on your workspace.
User Interface
The buttons in the Virtual toolbar are described in 4.4.2 Placing Virtual Components on page 4-9.
3-9
User Interface
3.2.6
The buttons in the Graphic Annotation toolbar are described below. For details on their use, see 4.9.6 Graphic Annotation on page 4-40.
Button Description Place Text button. Places a text frame on your workspace into which you can enter miscellaneous text. For details, see 4.9.4 Adding Miscellaneous Text on page 4-36.
User Interface
Picture button. Click on this button to place a picture on the workspace. Place Comment button. Click on this button to place a comment on the workspace. For details, see 4.9.5 Adding a Comment on page 4-37.
3-10
Electronics Workbench
Toolbars
3.2.7
Instruments Toolbar
The buttons in the Instruments toolbar are described below. In each case, the button places a specific instrument on the workspace. Some versions of Multisim do not include all of the instruments noted below. Refer to the detailed description of each instrument referred to below.
Button Description
User Interface
Multimeter button. Places a multimeter on the workspace. For details, see 10.4 Multimeter on page 10-9. Function Generator button. Places a function generator on the workspace. For details, see 10.5 Function Generator on page 10-14. Wattmeter button. Places a wattmeter on the workspace. For details, see 10.6 Wattmeter on page 10-16. Oscilloscope button. Places an oscilloscope on the workspace. For details, see 10.7 Oscilloscope on page 10-17. Four Channel Oscilloscope button. Places a four-channel oscilloscope on the workspace. For details, see 10.16 Four-channel Oscilloscope on page 10-47. Bode Plotter button. Places a bode plotter on the workspace. For details, see 10.8 Bode Plotter on page 10-22. Frequency Counter button. Places a frequency counter on the workspace. For details, see 10.17 Frequency Counter on page 10-57. Word Generator button. Places a word generator on the workspace. For details, see 10.9 Word Generator on page 10-27. Logic Analyzer button. Places a logic analyzer on the workspace. For details, see 10.10 Logic Analyzer on page 10-30. Logic Converter button. Places a logic converter on the workspace. For details, see 10.11 Logic Converter on page 10-35. IV-Analysis button. Places an IV Analyser on the workspace. For details, see 10.18 IV Analyzer on page 10-60.
3-11
User Interface
Button
Description Distortion Analyzer button. Places a distortion analyzer on the workspace. For details, see 10.12 Distortion Analyzer on page 10-38. Spectrum Analyzer button. Places a spectrum analyzer on the workspace. For details, see 10.13 Spectrum Analyzer on page 10-39. Network Analyzer button. Places a network analyzer on the workspace. For details, see 10.14 Network Analyzer on page 10-39. Agilent Function Generator button. Places an Agilent function generator on the workspace. For details, see 10.19.1 Agilent Simulated Function Generator on page 10-71. Agilent Multimeter button. Places an Agilent multimeter on the workspace. For details, see 10.19.2 Agilent Simulated Multimeter on page 10-74. Agilent Oscilloscope button. Places an Agilent oscilloscope on the workspace. For details, see 10.19.3 Agilent Simulated Oscilloscope on page 10-77. Tektronix Oscilloscope button. Places a Tektronix oscilloscope on the workspace. For details, see 10.20 Tektronix Simulated Oscilloscope on page 10-82. Measurement Probe button. Attaches a probe to the mouse pointer that measures voltage, current and frequency on any wire on your schematic. Can be placed before, or during simulation. For details, see 10.15 Measurement Probe on page 10-40.
Electronics Workbench
3.3
3.3.1
User Interface
Place Schematic HB/SC Connector Place Schematic Off-Page Connector Place Schematic Bus HB/SC Connector Place Schematic Bus Off-Page Connector Place Schematic Hierarchical Block from File
3-13
User Interface
Command Place Schematic New Hierarchical Block Place Schematic - Replace by Hierarchical Block Place Schematic Multi-Page Place Schematic New Subcircuit Place Schematic Replace by Subcircuit
Description Displays the Hierarchical Block Properties dialog box. For details, see 6.2.5 Adding a Hierarchical Block on page 6-7. Replaces the selection by a hierarchical block.
Opens a new flat page. For details, see 6.1 Flat Multi-sheet Design on page 6-2. Places a new subcircuit on the workspace. For details, see 6.2.6 Adding a Subcircuit on page 6-9. Replaces the selection by a subcircuit.
User Interface
Place Schematic Multi-Page Place Schematic Merge Bus Place Schematic Bus Vector Connect
Use to place numerous connections from a multi-pinned device, such as an IC, to a bus. For details, see 6.4.5 Bus Vector Connect on page 6-23. Lets you place text on the circuit. For details, see 4.9.4 Adding Miscellaneous Text on page 4-36. Places a straight line on your workspace. For details, see 4.9.6 Graphic Annotation on page 4-40. Places a multiline on your workspace. For details, see 4.9.6 Graphic Annotation on page 4-40. Places a rectangle on your workspace. For details, see 4.9.6 Graphic Annotation on page 4-40. Places an ellipse on your workspace. For details, see 4.9.6 Graphic Annotation on page 4-40. Places an arc on your workspace. For details, see 4.9.6 Graphic Annotation on page 4-40. Places a polygon on your workspace. For details, see 4.9.6 Graphic Annotation on page 4-40. Places a picture on your workspace. For details, see 4.9.6 Graphic Annotation on page 4-40.
3-14
Electronics Workbench
Description Use to pin a comment to the workspace, or directly to a component. For details, see 4.9.5 Adding a Comment on page 4-37. Removes the selected item from the circuit and places it on the clipboard. Copies the selected item from the circuit to the clipboard. Pastes the current contents of the clipboard onto your circuit. Deletes the selection from the workspace. Selects all elements on the workspace. Pastes the contents of the clipboard onto the workspace as a subcircuit. Replaces the elements that you have selected with a hierarchical block. See 6.2.5.2 Replacing Components with a HB on page 6-9. Replaces the elements that you have selected with a subcircuit. See 6.2 Hierarchical Design on page 6-3. Displays a dialog box where you set font information for the circuit. For details, see 3.4.2.4 Sheet Properties - Font Tab on page 3-30. Displays the Sheet Properties dialog box. Be sure that you have no elements on the workspace selected, or the properties for that element will appear instead. For details, see 3.4.2 Using the Sheet Properties Dialog Box on page 3-26.
Cut
User Interface
Replace by HB
Replace by SC
Font
Properties
3.3.2
Copy
3-15
User Interface
Paste
Places the contents of the clipboard to the workspace. The cursor shows a ghosted image of the item to be pasted. Click to indicate where the item is to be pasted. Deletes the selection from the workspace. Flips the selection horizontally. For details, see 4.7 Rotating/Flipping Placed Components on page 4-27. Flips the selection vertically. For details, see 4.7 Rotating/Flipping Placed Components on page 4-27. Rotates the selection 90 degrees clockwise. For details, see 4.7 Rotating/Flipping Placed Components on page 4-27. Rotates the selection 90 degrees counterclockwise. For details, see 4.7 Rotating/Flipping Placed Components on page 4-27. Displays the Bus Vector Connect dialog box. For details, see 6.4.5 Bus Vector Connect on page 6-23. Replaces the elements that you have selected with a hierarchical block. See 6.2.5.2 Replacing Components with a HB on page 6-9. Replaces the elements that you have selected with a subcircuit. See 6.2 Hierarchical Design on page 6-3. You can edit either the appearance of the symbol on the workspace (In-place Edit Mode). For details, see 8.5.2 Creating and Editing a Components Symbol with the Symbol Editor on page 8-18. Displays a color palette where you can change the color of the selected elements lines. Changes the font of various elements on the workspace from their default values. For details, see 3.4.2.4 Sheet Properties - Font Tab on page 3-30.
Flip Vertical
90 Clockwise
User Interface
90 CounterCW
Replace by HB
Replace by SC
Edit Symbol
Color
Font
3-16
Electronics Workbench
Properties
If a component is selected, displays that components properties dialog box. If an instrument is selected, opens the instrument face.
3.3.3
User Interface
Font
Properties
3.3.4
Flip Vertical
90 Clockwise
3-17
User Interface
Command 90 CounterCW
Description Rotates the selection 90 degrees counterclockwise. For details, see 4.7 Rotating/Flipping Placed Components on page 4-27. Changes the color of the selected item from its default value. Changes the style of the pen for a selected graphic. Is disabled if text is selected. Changes the color of the fill for selected rectangles, ellipses and polygons. Is disabled if any other graphic element, or text is selected. Changes the appearance of the fill for selected rectangles, ellipses and polygons. Is disabled if any other graphic element, or text is selected. Places an arrow on selected lines and multilines. Is disabled if any other graphic element, or text is selected. Use to Bring to Front or Send to Back selected element. Places selected element on the selected layer. Deselect to remove an element from the assigned layer. See 3.4.2.6 Sheet Properties - Visibility Tab on page 3-33. Lets you select a font, font style and size for selected text. Is inactive for text blocks or graphics.
Fill Color
Fill Type
User Interface
Arrow
Font Properties
3.3.5
Color
3-18
Electronics Workbench
Description Places the selected title block at the bottom left corner of the document. Places the selected title block at the bottom right corner of the document. Places the selected title block at the top left corner of the document. Places the selected title block at the top right corner of the document. Lets you change the information that you see in the title block. For details, see 4.9.3.1 Entering the Title Block Contents on page 4-34.
Properties
User Interface
3.3.6
Font
3-19
User Interface
Command Properties
Description Depending on the element selected, displays either the Comment Properties, or the Probe Properties dialog box. See 4.9.5 Adding a Comment on page 4-37 or 10.15.1.1 Measurement Probe Settings on page 10-42.
3.4
User Interface
from computer to computer. See 3.4.1 Using the Preferences Dialog Box on page 3-20.
Sheet Properties dialog box used to set up the preferences for the active sheet. These
preferences are saved with the circuit files so that if the circuit is opened on another computer, it will use the same settings. See 3.4.2 Using the Sheet Properties Dialog Box on page 3-26
3.4.1
3-20
Electronics Workbench
General where you set up selection rectangle behavior, mouse wheel behavior, bus wiring and auto-wiring behavior. 2. Select the desired tab. 3. Set the desired customization options. The specific options and settings available in the tabs are described in the following sections of this chapter. 4. Click OK to save your changes.
3-21
User Interface
2. Select the Paths tab and navigate to the appropriate locations for the different elements:
User Interface
Note The most important setting is the Circuit default path, as this is where all new files are saved, unless you manually navigate to a new location when saving. Note User button images path is where you store any user-created button graphics. 3. To use a different configuration file, navigate to the appropriate user settings file. 4. To create a new user configuration file, click New user config file from template. You are prompted to select the configuration file to use as a template, then to enter a name for the new configuration file.
3-22
Electronics Workbench
User Interface
3-23
User Interface
User Interface
1. In the Place component mode box, select one of: Place single component Allows you to place one selected component at a time. Continuous placement for multi-section part only Allows you to place multiple sections of a multi-section component. For example, 7400N has four NAND gates, so using this option means each time you place a 7400N you place a different one of its NAND gates. Refer to 4.4.1 Using the place component browser on page 4-4 for an example of multi-section part placement. Continuous placement Allows you to place several components of the same type by continuing to click on the workspace after each component is placed. End continuous placement by pressing ESC. 2. In the Symbol standard box: Select the symbol set to be used for components. The graphic changes to represent the selected symbol set. To override this setting for individual components, see 8.5.2 Creating and Editing a Components Symbol with the Symbol Editor on page 8-18.
3-24
Electronics Workbench
3. In the Positive Phase Shift Direction box: select the desired direction for positive phase shift. (This setting only affects the Phase parameter in AC sources). 4. In the Digital Simulation Settings box: Set the realism of the output when simulating digital components. For details, see 9.3.7 Digital Simulation on page 9-11.
User Interface
1. In the Selection Rectangle box, select either Intersecting or Fully Enclosed. See Setting Dragging Selection Options on page 4-13 for details. 2. In the Mouse Wheel Behavior, box select one of: Zoom workspace mouse wheel will let you zoom in and out on workspace. Scroll workspace mouse wheel will let you scroll up and down the page.
3-25
User Interface
3. In the Autowire box select the desired options to control the degree of automation used in wiring. For details, see 4.5.5 Setting Wiring Preferences on page 4-24.
3.4.2
Electronics Workbench
User Interface
1. In the Component box, enable those items you want shown on the workspace. You can override your choices for a particular component, as described in 5.1.1 Displaying Identifying Information about a Placed Component on page 5-2. 2. In the Net Names box, select how net names will be shown: Show All check to display all net names on the workspace. Use Net-specific Setting check to show node names as set in the Net dialog box. For details, see 4.9.2 Modifying Net Names on page 4-32. Hide All check to hide all net names on the workspace. 3. In the Color box: To use one of the built-in color schemes : - Choose the scheme from the drop-down list. - A representation of the schemes settings appears in the preview box below the list.
3-27
User Interface
To create a custom color scheme: - Choose Custom from the drop-down list. - Click on the color bar next to any item. A Color selector dialog box appears. - Click on the color you want to use for that item and click OK. - You are returned to the Sheet Properties dialog box. - The results of your choice appear in the preview box. - Repeat until all your color settings are made.
User Interface
Multisim comes with the standard sheet sizes that you can use for capturing your circuit. You can modify any of the settings of these sizes to make your own custom sheet.
3-28
Electronics Workbench
Change the wire width for current or subsequent wiring. Set bus wiring mode. For details, see 6.4 Buses on page 6-12.
User Interface
3-29
User Interface
User Interface
Changes the font for all instances of the elements selected in Change All. To change font for a specific selection, right-click on the desired, part, etc, select Font from the pop-up that appears and click on Selection.
Caution Changing to larger fonts may cause labels to collide or exceed boundaries. To change the font for any text element of the circuit: 1. Select the font, font style and font size for the desired elements.
3-30
Electronics Workbench
2. Select the elements you want to change from the following options in the Change All section of the tab:
Font Option Component RefDes Description The components unique identification (Reference Designation). For example, R22. The value being used by the component and identified in the Values tab of the components properties dialog box. For details on viewing and modifying this value see 5.1.2 Viewing a Placed Components Value/Model on page 5-3. The Component label assigned by Multisim and identified in the Label tab of the components properties dialog box. For details on changing this label see 4.9.1 Modifying Component Labels and Attributes on page 4-31. Descriptive information you add to specific components using the components properties dialog box. For details see 4.9.1 Modifying Component Labels and Attributes on page 4-31. The number automatically assigned to a pin when it is placed on your circuit. The logical name for a pin, for example, GND (for ground). The name automatically assigned to a net when it is placed on your circuit. For details on changing this name see 4.9.2 Modifying Net Names on page 4-32. Notes that you add to your circuit using the Place/Text command. For details see 4.9.4 Adding Miscellaneous Text on page 4-36. Text found in comments that you add to the circuit from the Place/Comment command. Also for text found in probes that placed from the Instrument toolbar. For details, see 4.9.5 Adding a Comment on page 4-37 and 10.15 Measurement Probe on page 10-40. The name that you assign to buslines. For details, see 6.4 Buses on page 6-12.
Component Attributes
User Interface
Schematic Text
Busline Name
3-31
User Interface
User Interface
As you increase the number of copper layers, the number of copper layers (inner) increases. This setting is used by Ultiboard to determine the default board setup.
3-32
Electronics Workbench
Design Toolbox
Click to add custom annotation layers to the schematic. You can show/hide these layers from the Visibility tab in the Design Toolbox. For details, see 3.5.1 Visibility Tab on page 3-34
User Interface
For details on annotation layers, refer to 3.5.1 Visibility Tab on page 3-34.
3.5
Design Toolbox
The Design Toolbox is used to manage various elements in the schematic. Note For a description of the Project View tab, see 6.6 Project Management and Version Control on page 6-43.
3-33
User Interface
3.5.1
Visibility Tab
The Visibility tab lets you choose which layers to display on the current sheet on the workspace.
User Interface
Custom annotation layer added via the Visibility tab via the Sheet Properties dialog box.
ERC Error Mark this layer contains the marks that are placed on the schematic that indicate ERC error points. See 5.4 Electrical Rules Checking on page 5-38 for details. Static Probe this layer contains the static measurement probes that can be placed on the schematic. Refer to 10.15 Measurement Probe on page 10-40 for details. Comment this layer contains any comments that you pin to the workspace. Refer to 4.9.5 Adding a Comment on page 4-37 for details.
3-34
Electronics Workbench
Design Toolbox
Text/Graphics this layer contains any graphic elements that you place on the
workspace.
Custom Annotations layers can be added from the Sheet Properties dialog box. For details, see
3.4.2.6 Sheet Properties - Visibility Tab on page 3-33. To hide a layer, disable the layers checkbox. To show a hidden layer, enable the layers checkbox.
3.5.2
Hierarchy Tab
The Hierarchy tab contains a tree that shows the files in the design that you have open. User Interface
Design Root Active Variant - see 6.5 Variants on page 6-30 Page 1 of multi-sheet design - see 6.1 Flat Multi-sheet Design on page 6-2 Subcircuit - see 6.2 Hierarchical Design on page 6-3 Hierarchical Block - see 6.2 Hierarchical Design on page 6-3
Pop-up Menus
To view context-sensitive menus in the Hierarchy tab: 1. Right-click on an item. Depending on the item, different context-sensitive menus appear. 2. From the Design Root you can select: Close to close the entire design. Save to save the design. 3. From an active or in-active variant that branches from the Design Root, you can select: Set Variant Active to set the active variant. A blue box displays beside the active variant. For details, see 6.5.2.3 Setting the Active Variant for Simulation on page 6-40. Variant Manager to display the Variant Manager dialog box. For details, see 6.5.1
3-35
User Interface
Setting Up Variants on page 6-30. 4. From a page of a multi-sheet design (in this example, PowerSupply#1), you can select: Open View to open the page on the workspace. Close View to close the page. Rename Page to change the multi-pages name. 5. From a subcircuit, you can select: Open View to open the subcircuit on the workspace. Close View to close the subcircuit. Rename Subcircuit to change the subcircuits name. 6. From a Hierarchical Block, you can select: Open View to open the Hierarchical Block on the workspace. Close View to close the Hierarchical Block. Map Variants to display the Hierarchical Blocks properties dialog box, where you can assign its variant status. For details, see 6.5.2.1 Assigning Variant Status to Components on page 6-34. 7. From a variant that branches from a Hierarchical Block, you can select: Variant Manager to display the Variant Manager dialog box. For details, see 6.5.1 Setting Up Variants on page 6-30. Exclude from Active Variant to exclude this variant from the active variant. If desired, you can exclude all variants in a Hierarchical Block from the Active Variant. Include in Active Variant to include this variant in the active variant. A blue triangle appears beside the included variant. You can only include one variant at a time in the Active Variant.
User Interface
3.6
3-36
Electronics Workbench
To customize the interface: 1. Select Options/Customize User Interface. 2. Make changes in the Customize dialogs tabs as detailed in the following sections: 3.6.1 Commands tab on page 3-37 3.6.2 Toolbars tab on page 3-38 3.6.3 Keyboard tab on page 3-39 3.6.4 Menu tab on page 3-40 3.6.5 Options tab on page 3-41 3.6.6 Customization Pop-up Menus on page 3-41 3.6.7 Other Customization Options on page 3-42.
3.6.1
Commands tab
The Commands tab in the Customize dialog box is used to add commands to menus and toolbars.
User Interface
To add a command to a menu or toolbar: 1. Drag it from the Commands list to the desired menu or toolbar. When a command is selected in the Command list, its description is displayed in the Description field. 2. If you do not see the command that you require, click on another selection in the Categories list to display more commands. 3. If you wish to add a button to a toolbar that is not showing, click on the Toolbars tab and click in the checkbox beside the desired toolbar to make it visible. 4. Click Close when customizations are complete.
3-37
User Interface
To remove a command from a menu or toolbar, right-click on it and select Delete from the pop-up that appears. The Customize dialog box must be open when you do this. To change the position of a command that is in a menu or toolbar, drag it to its new location. The Customize dialog box must be open when you do this.
3.6.2
Toolbars tab
The Toolbars tab in the Customize dialog box is used to show or hide toolbars, and to add new custom toolbars.
User Interface
To use the features in this tab: 1. To display a toolbar, switch on the checkbox beside the desired toolbar in the Toolbars list. 2. Switch off a checkbox to hide a toolbar. Note You cannot switch off the Menu bar. 3. The buttons in this tab function as follows: Reset Alldisplays the Reset Toolbars dialog box, where you select whether to reset the currently selected toolbars, or all toolbars. You are prompted to select the configuration file you wish to use, for example, default.ewcfg. Newdisplays the Toolbar Name dialog box, where you enter the name for a new toolbar. When you click OK, a new toolbar with the name that you entered is created. Follow the steps in 3.6.1 Commands tab on page 3-37 to add buttons to the toolbar. Renameuse to rename a toolbar that you have created yourself. You cannot rename toolbars that are included in Multisim by default. for example, Components, Menu Bar.
3-38
Electronics Workbench
Deleteuse to delete the selected toolbar. You cannot delete toolbars that are included in Multisim by default. for example, Components, Menu Bar. Show text labelsselect this checkbox to show the text labels (for example, Save) in the toolbar, along with the commands icon. 4. Click Close when customizations are complete.
3.6.3
Keyboard tab
The Keyboard tab is used to set up keyboard shortcuts.
User Interface
To set up keyboard shortcuts: 1. Choose a menu from the Category drop-down list and the desired command from the Commands drop-down list. If a shortcut is already assigned, it appears in the Current Keys field. 2. Enter a new shortcut in the Press New Shortcut Key field. 3. Click Close when customizations are complete.
3-39
User Interface
3.6.4
Menu tab
The Menu tab is used to modify the various context-sensitive menus that appear when you right-click from various locations in Multisim.
User Interface
To display the desired menu: 1. Select the desired menu set from the Select Context Menu drop-down list. 2. Right-click on the menu that appears and edit as desired. 3. Select the desired menu effects using the Menu animations drop-down list and the Menu shadows checkbox.
3-40
Electronics Workbench
3.6.5
Options tab
The Options tab in the Customize dialog box is used to set up toolbar and menu options.
User Interface
To set up menu and toolbar options, switch the checkboxes on or off as desired.
3.6.6
To display the above pop-up: 1. Be sure you have the Customize dialog box open. 2. Right-click on either a menu item or toolbar and select the desired option.
3-41
User Interface
3. When you select Button Appearance, the Button Appearance dialog box appears, where you can change the appearance of the selected toolbutton.
User Interface
3.6.7
3-42
Electronics Workbench
Capture - Basics
4-1
Subject Wiring Components Wiring Components Automatically Wiring Components Manually Combining Automatic and Manual Wiring Placing Wires Directly Onto Workspace Setting Wiring Preferences Modifying the Wire Path Controlling Wire Color Moving a Wire Virtual Wiring Manually Adding a Junction (Connector) Rotating/Flipping Placed Components Finding Components in Your Circuit Labeling Modifying Component Labels and Attributes Modifying Net Names Adding a Title Block Adding Miscellaneous Text Adding a Comment Graphic Annotation Capturing Screen Area Circuit Description Box Formatting the Circuit Description Box Scrolling with Events During Simulation Description Edit Bar Printing the Circuit
Page No. 4-17 4-18 4-21 4-23 4-23 4-24 4-24 4-25 4-25 4-26 4-26 4-27 4-29 4-31 4-31 4-32 4-33 4-36 4-37 4-40 4-42 4-44 4-44 4-50 4-57 4-59
Capture - Basics
4.1
4-2
Electronics Workbench
4.2
4.3
Capture - Basics
4.4
Placing Components
The component browser is used to select parts from the three databases and place them on a circuit. The browser is designed to make it fast and easy to find the part you are looking for amongst the more than 17,000 available parts.
4-3
Parts are organized by database, group, and family (for example, Master database, Digital group, TTL family). Filters are provided as appropriate to narrow lists based on value range and tolerance where applicable. Type-ahead allows you to type a few characters to jump to the component you are looking for. Search capabilities allow you to find parts using generalized wildcard searches throughout all the databases.
4.4.1
Capture - Basics
Alternatively, you can display the Select a Component dialog box by choosing Place/Component and selecting the desired group from the Group drop-down list. Note The Select a Component browser is also referred to as the place component browser. Note The default database that displays in the browser is the Master Database. If you wish to select a component from either the Corporate Database or User Database, you must select that database from the Database drop-down list before selecting a component. Once changed, the database will remain as selected for subsequent part placements.
4-4
Electronics Workbench
Placing Components
2. Click on the desired component family in the Family list. 3. Click on the desired component in the Component list. Tip To make your scroll through the Component list faster, simply type the first few characters of the components name. Note Virtual components are identified by a green icon in the Family column. You can also place virtual components by using the Virtual Toolbar. For details, see 4.4.2 Placing Virtual Components on page 4-9.
Indicates the database from which to take the component. Shows the symbol that will be used to represent the component selected in the Component list.
Capture - Basics
Lists the manufacturers and the model levels available for the Lists the footprint manufacturer and type available for the component selected in the Component list.
4. To confirm that this is the component you want to place, click OK. (To cancel placing the component, click Close). The browser closes and the cursor on the circuit window changes to a ghost image of the component you wish to place. This indicates that the component is ready to be placed. Note If you are placing a component whose package includes multiple sections (for example, four separate gates, as in the above example), a dialog box displays, where you specify which of the sections you want to place. For a more detailed description of the dialogs functionality, refer to 4.4.1.1 Multisection Components on page 4-7.
4-5
5. Move your cursor to the location where you want the component placed. The workspace automatically scrolls if you move your cursor to the edges of the workspace. Note See also, 4.4.1.2 Rotating a part during placement on page 4-8. 6. Click on the circuit window where you want the component placed. The components symbol and labels appear (unless you have specified that they are not to be displayed, as explained in 5.1.1 Displaying Identifying Information about a Placed Component on page 5-2), as well as a unique RefDes made up of a letter and number. The letter represents the type of component and the number is a sequential number that indicates the order in which the components were originally placed. For example, the first digital component has the RefDes U1, the next is U2, the first inductor has the RefDes L1, and so on. Note If the component you place is a virtual component, it is a different color from real components. This color is set in the Sheet Properties dialog box, as explained in 3.4.2.1 Sheet Properties - Circuit Tab on page 3-27. Tip Some components, like resistors and capacitors will have Filter fields at the top of the Component list, to make part selection faster.
Filters
Capture - Basics
4-6
Electronics Workbench
Placing Components
Capture - Basics
If there are other multi-section components placed the Select Part dialog box will be similar to the following:
Darker text indicates available sections for placement. Click on an available section to place it.
Note It is a good idea to place all the sections of a multi-section device (U1 in this example) before going to a new multi-section device of the same type. Note Only instances of the same component type are shown as available to place. In the above example, U1 and New are both quad 2-input 7400N ICs. If there are other
4-7
quad 2-input NAND devices in the circuit, for example 74LS01N, they will not be displayed. 3. Click on any available section. The dialog box closes and a ghost image of the device is attached to your cursor. 4. Click to place the device in the desired location. 5. If you selected either Continuous placement for multi-section part only or Continuous placement in the Parts tab of the Preferences dialog box, the dialog box re-appears. Continue placing parts from this dialog. When finished, press ESC to exit. 6. If you selected Place Single Component in the Parts tab of the Preferences dialog box, the dialog box does not re-appear after placing a component. Note Settings for placing components with multiple devices are found in the Parts tab of the Preferences dialog box. For details, see 3.4.1.3 Preferences - Parts Tab on page 3-24.
4-8
Electronics Workbench
Placing Components
4.4.2
Note This toolbar is not displayed by default. To display it, select View/Toolbars/Virtual. To place a virtual component: 1. Click on the desired button in the Virtual toolbar.
Button Description Show Power Source Components button. Displays the Power Source Components toolbar, which contains buttons that let you place different virtual Power Source components. Show Signal Source Components button. Displays the Signal Source Components toolbar, which contains buttons that let you place different virtual Signal Source components. Show Basic Components button. Displays the Basic Components toolbar, which contains buttons that let you place different virtual Basic components.
Capture - Basics
Show Diode Components button. Displays the Diodes Components toolbar, which contains buttons that let you place different virtual diodes. Show Transistor Components button. Displays the Transistor Components toolbar, which contains buttons that let you place different virtual transistors. Show Analog Components Bar button. Displays the Analog Components toolbar, which contains buttons that let you place different virtual Analog components. Show Miscellaneous Components Bar button. Displays the Miscellaneous Components toolbar, which contains buttons that let you place miscellaneous virtual components. Show Measurement Components Bar button. Displays the Measurement Components toolbar, which contains buttons that let you place different virtual Measurement components.
Note For details on the various toolbars that appear when buttons on the Virtual toolbar are pressed, see 4.4.2.1 Virtual component toolbars on page 4-10.
4-9
2. From the toolbar that displays, click on the desired virtual component. The cursor changes to a ghost image of the component you wish to place. 3. Click on the workspace in the desired location to place the virtual component.
Capture - Basics
The buttons (from left to right) in the Signal Source Components toolbar place the following virtual components: AC Current Source; AC Voltage Source; AM Source; Clock Current Source; Clock Voltage Source; DC Current Source; Exponential Current Source; Exponential Voltage Source; FM Current Source; FM Voltage Source; PWL Linear Current; PWL Linear Voltage; Pulse Current Source; Pulse Voltage Source; White Noise Source.
Diodes toolbar
4-10
Electronics Workbench
Placing Components
The buttons (from left to right) in the Diodes toolbar place the following virtual components: diode; zener diode.
The buttons (from left to right) in the Transistor Components toolbar place the following virtual components: BJT NPN 4T; BJT NPN; BJT PNP 4T; BJT PNP; GaASFET N; GaASFET P; JFET N; JFET P; several enhancement and depletion mode NMOSFETs and PMOSFETs.
The buttons (from left to right) in the Analog Components toolbar place the following virtual components: Comparator; 3 Terminal Opamp; 5 Terminal Opamp. Capture - Basics
The buttons (from left to right) in the Miscellaneous Components toolbar place the following virtual components: 555 Timer; Analog Switch; Crystal; DCD Hex; Current Rated Fuse; Lamp; Monostable; Motor; Optocoupler; Phase Locked Loop; 7 Segment Display Common Anode; 7 Segment Display Common Cathode.
4-11
The buttons (from left to right) in the Measurement Components toolbar place the following virtual components: Ammeter (4 configurations); Digital Probe (5 colors); Voltmeter (4 configurations).
4.4.3
4.4.4
Capture - Basics
Tip If you wish to select a components label or other text, but not the entire component, do not click on the center of the componentclick directly on the text. To select a component by dragging the mouse: 1. Click and hold the left mouse button and drag the cursor to form a selection rectangle on the workspace that contains the component to be selected. You can set whether you must enclose all or part of component in the selection rectangle. See Setting Dragging Selection Options on page 4-13.
4-12
Electronics Workbench
Placing Components
Tip You can select individual elements in a component like the RefDes, label and so on. To move the selection to another component of the element, use the TAB key on your keyboard.
Capture - Basics
Tip To toggle between the Intersecting and Fully Enclosed modes, press and hold the Z key before dragging the mouse.
4.4.5
4-13
To move a component by dragging: 1. Click and hold the left mouse button on the desired component. The component is selected with a dashed line.
Note A components symbol and labels can be moved independently or togetherif you plan to move the component, be sure the whole component is selected, not just its label. Refer to 4.4.4 Selecting Placed Components on page 4-12 for details.
Labels Symbol
Capture - Basics
3. Release the mouse button when the ghost image is in the desired location. To move a components label: 1. Click and hold the left mouse button on the desired label. The label is selected as illustrated below.
Selected label
4-14
Electronics Workbench
Placing Components
3. Release the mouse button when the ghost image is in the desired location.
Selected label in new location
Capture - Basics
4.4.6
2. Select Edit/Paste. Or Right-click on the workspace select Paste from the pop-up menu that appears.
4-15
3. The cursor shows a ghosted version of the copied component. Click at the location where you want the copied component placed. Note You can also copy a component using the Windows control keys for cut (CTRL-X), copy (CTRL-C) and paste (CTRL-V).
4.4.7
Capture - Basics
2. Click Replace. The Select a Component browser appears. 3. Select a new component and click OK. The new component appears on the circuit window in the place of the previous one. For more details about the component browser, see 4.4.1 Using the place component browser on page 4-4.
4-16
Electronics Workbench
Wiring Components
4.4.8
4.5
Wiring Components
A basic wire can be created by clicking on any one of a part's symbol pins. This creates a wire that can then be routed to either another symbol pin, or to another wire. If routed to a wire, when placed a junction is automatically created to differentiate the case of two wires crossing and two wires connected. Wires can also be started by double-clicking anywhere on the circuit. This creates a junction at that location and starts wiring from that point. If a symbol's pins are dropped onto either a wire or another pin, a connection is automatically made. Each time a wire is placed it either creates a new net, or joins an existing one. A net is a collection of wires all of which define a common electrical potential. The term net is typically used to describe this concept when discussing PCB layout. This concept is equivalent to the concept of a node when discussing SPICE-based circuit simulation. Nets are typically assigned the next available small integer value. If two nets are merged by wiring them together, there are rules used to decide which of the two names the new net will bear, however in general the smaller-numbered net wins. You may also manually assign a name to a net. Within a single-page of a circuit, a net may be manually renamed to be the same name as another on the same page. In this case, the two nets are merged together. This is called virtual wiring and may be used to reduce the complexity of circuits. Except for special reserved nets, virtual wiring may not be used across pages or across levels in the hierarchy. For details, see 4.5.9 Virtual Wiring on page 4-26. Certain pre-defined named nets are considered global across an entire design. That is to say, anytime a net at any level in the hierarchy or on any page is re-named to one of these reserved nets, it joins this net. These reserved nets are 0, GND, VCC, VDD, VEE, and VSS. Net 0 corresponds to analog ground, and is the reference for all voltages during simulation. GND is
Capture - Basics
4-17
a digital ground (as it is common for the purposes of PCB layout to wish to isolate these two ground nets).
These reserved nets are most often used in conjunction with hidden symbol pins. These are pins that are not shown on a schematic, as they and their accompanying wires would clutter the schematic to too great an extent, but are nonetheless connected for the purposes of simulation and layout. For example, a TTL digital AND gate would implicitly be connected to GND and VCC via hidden pins.
4.5.1
Capture - Basics
Tip If the connection was not successful, you may be trying to place the wire too close to other surrounding components. Try to make the connection at a slightly different location, or use manual wiring, as described in the following section.
4-18
Electronics Workbench
Wiring Components
Note When wiring a component with multiple sections, an X indicates that a common pin has been connected in another section of the component. In the example below, U5A and U5B are sections of a Dual, Current Controlled Operational Transconductance Amplifier. These two sections share a common pin on the IC (pin 11, VB+).
Pin 11 of U5B (section B of U5) is marked with an X. This indicates that pin 11 is connected in another section of U5.
To delete a wire, click on it and press DELETE on your keyboard or right-click on it and choose Delete from the pop-up menu that appears.
Capture - Basics
4-19
Refer to the steps in the following example to automatically connect a component to a wire:
Step 1 Step 2 Add a component to the workspace.
Existing components.
Step 3 Move the component into contact with the wire and a junction is automatically placed when the mouse is released.
Capture - Basics
Step 5 ....and note that the component stays attached to the wire.
4-20
Electronics Workbench
Wiring Components
Similarly, follow the steps in the example below to connect two components:
Step 1 Step 2 Move one component into contact with the other and a junction is automatically placed when the mouse is released.
Existing components.
Step 4
Note Use the technique illustrated in the example above to automatically connect a component to a junction.
Capture - Basics
4.5.2
4-21
2. Control the flow of the wire by clicking on points as you roll the mouse. Each click fixes the wire to that point. For example:
By default, Multisim skips over (avoids) components to which it is not connected. For example:
The wire skips this component.
Capture - Basics
To pass through intermediary components instead, position the wire at the desired location beside the intermediary component and press SHIFT on your keyboard while dragging the wire. For example:
3. Click on the desired pin of the second component to finish the connection. The wire snaps to an appropriate configuration and the connection is numbered. Note To stop the wiring process at any time, press ESC on your keyboard. To delete a wire, click on it and press DELETE on your keyboard or right-click on it and choose Delete from the pop-up menu that appears.
4-22
Electronics Workbench
Wiring Components
4.5.3
4.5.4
4-23
4.5.5
4.5.6
Capture - Basics
2. Click any of these and drag to modify the shape. Or, more commonly, Move your cursor anywhere on the wire. When your cursor changes to a double arrow, click and drag, in the direction of the arrows, to modify the shape. You can add or remove drag points to give you even more control over the wire shape.
4-24
Electronics Workbench
Wiring Components
To add or remove drag points, press CTRL on your keyboard and click on the wire at the location where you want the drag point added or removed.
4.5.7
4.5.8
Moving a Wire
To disconnect a wire and move it to another location in your schematic: 1. Place your cursor at the point where you wish to disconnect the wire. The cursor changes to an x with two parallel lines, as shown below.
Capture - Basics
2. Click once. The cursor changes to a crosshair. 3. Move the cursor to where you wish to reconnect the wire and click once. The wire is now connected to the new location.
4-25
4.5.9
Virtual Wiring
To make a virtual connection between components, modify the components net names to be the same as described below: 4. Double-click on the wire. The Net dialog box appears: To confirm your settings, click OK.
Net name that appears on the circuit window.
To cancel them, click Cancel. Capture - Basics Note You should exercise caution when changing net names, as they are critical to your circuits connectivity as understood by simulation or PCB layout. 5. Multisim prompts you to confirm that you want this duplication. Click Yes. Multisim creates a virtual connection between the pins with the same net number. Note For more information on the Net dialog box, see 4.9.2 Modifying Net Names on page 4-32.
4.6
4-26
Electronics Workbench
Note You can place junctions on wires, on the workspace without them being attached to any other circuit element, and directly on the end of component pins. If you place a junction over two intersecting wires, they will be electrically connected.
Junction placed directly on workspace with no connections. Junction placed over two intersecting wires to form electrical connection. Junction placed on end of component pin.
Capture - Basics
To make a connection from a placed junction: 1. Move your cursor close to the junction, until the cursor changes to a crosshair ( ) symbol. 2. Click and drag a wire from the junction to the desired location and click to place.
4.7
4-27
To rotate a component: 1. Right-click on the component. 2. From the pop-up menu that appears, choose 90 Clockwise to rotate the component 90 degrees clockwise. or Choose 90 CounterCW to rotate the component 90 degrees counter clockwise. For example:
Unrotated: Rotated 90 degrees clockwise: Rotated 90 degrees counter-clockwise:
Capture - Basics
Note Text associated with the component, such as labels, values and model information, will be repositioned and rotated as a result of your action. Pin numbers will rotate along with the associated pin. Any wires attached to the component are rerouted automatically to maintain their connections using rubberbanding. If you do not want this to happen, it can be controlled in the Wiring tab of the Preferences dialog box. To flip a component: 1. Right-click on the component. 2. From the pop-up menu that appears, choose Flip Horizontal to flip the component horizontally. or Choose Flip Vertical to flip the component vertically. Note Text associated with the component, such as labels, model information and values, may be repositioned, but is not flipped. Any wires attached to the component are rerouted automatically.
4-28
Electronics Workbench
For example:
Unflipped: Flipped horizontally Flipped vertically
4.8
Capture - Basics
2. Enter a string in the Find What field. Wildcards are allowed, for example: V1 finds only the exact string V1 *1 finds any string ending with 1 V* finds any string starting with V *V* finds any string containing V a ? anywhere in the string will match exactly one character. For example, R? will match R1, but not R12. 3. In the Search for box, select one of the following buttons:
All searches all elements for entered string
4-29
Parts searches all parts for entered string Nets searches all nets for entered string Off-Page Connectors searches all off-page connectors for entered string HB/SC Connectors searches all HB/SC connectors for entered string.
4. In the Search Options box, select one of the following from the Search From drop-down:
Current Sheet search will be conducted on the contents of the current sheet only Current Design search will be conducted on the contents of the current design only All Open Sheets search will be conducted on the contents of all open sheets All Open Designs search will be conducted on the contents of all open designs.
5. Optionally, select one or both of the following checkboxes in the Search Options box:
Match Case select if you wish to make the search case sensitive Match Whole Word Only click if you wish to find only whole words that match the entered string. If not selected, search will be for entered string anywhere. For example, if 1 is entered, search will yield V1, R1, C1, etc.
6. Click the Find button. The results of your search are displayed in the Results tab of the Spreadsheet View.
Capture - Basics
7. Double-click on the desired item in the Results tab. The element is selected on the workspace, as in the example below.
4-30
Electronics Workbench
Labeling
Note You can also right-click on the desired result and select Go to from the pop-up that appears.
4.9
Labeling
This section contains the following subjects: Modifying Component Labels and Attributes on page 4-31 Modifying Net Names on page 4-32 Adding a Title Block on page 4-33 Adding Miscellaneous Text on page 4-36 Circuit Description Box on page 4-44 Graphic Annotation on page 4-40 Capturing Screen Area on page 4-42
4.9.1
Enter any name or value you wish and have it displayed with the component.
4-31
3. Enter or modify the label and/or RefDes text (which must be composed of letters or numbers only no special characters or spaces). 4. Enter or modify the component attributes (which can be any name or value you choose to give them). For example, you could give the component the manufacturer name or a name that is meaningful to you such as new resistor or revised May 15. 5. Select the component attributes to display by clicking in the Show column. Attributes will be displayed with the component. Note If you assign the same RefDes to more than one component, Multisim warns you that this is not possible. Because all RefDess must be unique, you must change the RefDes or Cancel before you can proceed. 6. To cancel your changes, click Cancel. To save your changes, click OK.
4.9.2
Capture - Basics
8. To confirm your settings, click OK. To cancel them, click Cancel. Note You should exercise caution when changing net names, as they are critical to your circuits connectivity as understood by simulation or PCB layout.
4-32
Electronics Workbench
Labeling
4.9.3
3. You can also move the placed title block by right-clicking on it and selecting one of: Move to/Top Left places the title block in the top-left corner of the workspace Move to/Top Right places the title block in the top-right corner of the workspace Move to/Bottom Left places the title block in the bottom-left corner of the workspace Move to/Bottom Right place the title block in the bottom-right corner of the workspace.
4-33
To add a title block with a new format, refer to 5.3 Title Block Editor on page 5-19 and then place the new title block on the circuit following the procedure above.
Capture - Basics
2. The information that displays is in the following table. Make edits as desired and click OK. Note If a field in the Title Block dialog box contains information, and that information does not appear in your title block, it is because the field that contains that information was not placed in the title block. If this occurs, right-click on the title block, select Title Block Editor, and place the required field in the title block. For details, see 5.3.2 Placing Fields on page 5-21.
Field Title Description Title of the circuit. Defaults to the circuits filename. Corresponds to the
4-34
Electronics Workbench
Labeling
Description Designers name. Corresponds to the #DESIGNED field that is placed using the Title Block Editor. Document number. Defaults to 0001. Corresponds to the #DOC_N field that is placed using the Title Block Editor. Revision number of the circuit. Corresponds to the #REV field that is placed using the Title Block Editor. Name of person checking the circuit. Corresponds to the #CHECKED field that is placed using the Title Block Editor. Defaults to the date that the circuit was created. Corresponds to the #DATE field that is placed using the Title Block Editor. Size of the sheet, for example, A. Corresponds to the #FMT field that is placed using the Title Block Editor. Name of person approving the circuit. Corresponds to the #APPROVED field that is placed using the Title Block Editor. The number of the current sheet and the total number of sheets. For example, Sheet 2 of 3. Corresponds to the #SN and #TSN fields that are placed using the Title Block Editor. Information entered here will be placed in Custom Field 1. Corresponds to the #CUSTOM_1 field that is placed using the Title Block Editor. Information entered here will be placed in Custom Field 2. Corresponds to the #CUSTOM_2 field that is placed using the Title Block Editor. Information entered here will be placed in Custom Field 3. Corresponds to the #CUSTOM_3 field that is placed using the Title Block Editor. Information entered here will be placed in Custom Field 4. Corresponds to the #CUSTOM_4 field that is placed using the Title Block Editor. Information entered here will be placed in Custom Field 5. Corresponds to the #CUSTOM_5 field that is placed using the Title Block Editor.
Checked by
Date
Size
Approved by Sheet
Custom Field 1 Custom Field 2 Custom Field 3 Custom Field 4 Custom Field 5
Capture - Basics
Caution The width of a field as displayed in the Title Block Editor is not the same as the actual text that is placed in that field in the title block. The text in the title block will be as wide as the amount of text. It is also dependant on the font size. So if two fields are placed closed to each other they may overlap.
4-35
You can also place the following special symbols in the Title Block dialog box. When you return to the workspace, the symbol will be replaced by text as listed.
Symbol &p &P &d &t &s &j && Description page number total page number date time page name project name ampersand
4.9.4
Capture - Basics
1. Choose Place/Text or right-click on the workspace and select Place Graphic/Text from the pop-up. 2. Click on the location where you want the text placed. A text box with a blinking cursor appears. 3. Type the text. The text box automatically grows to the correct size when you finish typing and click elsewhere in the workspace.
4. Click elsewhere on the circuit window to stop adding text. To delete text, right-click on the text box and choose Delete from the pop-up menu that appears, or select the text and press DELETE on your keyboard.
4-36
Electronics Workbench
Labeling
To change the color of text, right-click on the text box, choose Pen Color from the pop-up menu that appears, and choose the desired color. For details, see 3.3.4 Pop-up From a Selected Text Block or Graphic on page 3-17. To change the font options for the text, right-click on the text box, choose Font from the pop-up menu that appears, and choose the desired font options.
4.9.5
Adding a Comment
Adding a comment permits "redlining", which can be used to show engineering change orders, to facilitate collaborative work among team members, or to allow background information to be attached to a design. You can pin a comment to the workspace, or directly to a component. When a component with an attached comment is moved, the comment also moves. To pin a comment to a component or the workspace: 1. Select Place/Comment. 2. Move the cursor to the desired location and click to place the comment.
Comment pinned to component. If component is moved, the comment moves with it.
Capture - Basics
4-37
To enter text in the placed comment: 1. Double-click on the placed comment. The Comment Properties dialog box appears.
Capture - Basics
2. Type the desired text in the field at the bottom of the dialog. If you wish to show the notes contents, enable the Show checkbox. 3. Optionally, set the Background and Text colors in the Color box. 4. In the Size box, enter the Width and Height, or enable Auto-Resize to have the info box automatically resize to show all content. Note Tooltip refers to the text that appears attached to the cursor if you hover it above a tool button.
4-38
Electronics Workbench
Labeling
6. Click OK. If you selected the Show Window checkbox in the Display tab, the comment displays. Otherwise, the Comment icon displays. Capture - Basics
Note To enter text without using the Comment Properties dialog box, right-click on the placed comment, select Edit Comment from the pop-up that appears and type the desired text.
4-39
To display a hidden comment, right-click on the desired Comment icon, and select Show Info Box from the pop-up that appears. To see the contents of a hidden comment, hover the cursor over the comment. When you move the cursor, the comment disappears. To change the size of a displayed comment: 1. Highlight its textbox. 2. Drag the handles that appears.
Drag handles to size box.
Note The size can also be changed from the Display tab of the Comment Properties dialog box.
Capture - Basics
4.9.6
Graphic Annotation
Use Graphic Annotation to add the following graphic elements to your workspace: Line Multiline Rectangle Ellipse Arc Polygon Picture.
4-40
Electronics Workbench
Labeling
To add a graphic element: 1. If the Graphic Annotation toolbar is not already showing, select View/Toolbars/Graphic Annotation. Or Right-click in the menu area and select Graphic Annotation from the pop-up that appears. 2. Click on the button in the Graphic Annotation toolbar for the desired graphic element and follow the directions for that element from the table below.
Button Description Click on this button to place text on the workspace. Then click on the workspace in the location where you wish to place the text and type in the desired text. When finished, click anywhere on the workspace. The text box automatically sizes to display your text. Click on this button to draw a line. The cursor changes to a crosshair. Place the crosshair where you wish to start the line and click and hold the mouse button. Drag the crosshair to where you wish to end the line and release the mouse button. (To add an arrowhead, right-click on the placed line and select Arrow from the pop-up). Click on this button to draw a multiline, which consists of multiple connected line segments. The cursor changes to a crosshair. Place the crosshair where you wish to start the multiline and click the mouse button once. Move the crosshair to where you wish to end the current segment of the multiline and click the button once. Repeat until all segments of the multiline have been drawn. When you have drawn the last segment of the multiline, double-click the mouse button. (To add an arrowhead, right-click on the placed line and select Arrow from the pop-up). Click on this button to draw a rectangle. The cursor changes to a crosshair. Place the crosshair where you wish to start the rectangle and click and hold the mouse button. Drag the crosshair to where you wish to end the rectangle and release the mouse button. Click on this button to draw an ellipse. The cursor changes to a crosshair. Place the crosshair where you wish to place the center of the ellipse and click and hold the mouse button. Drag the crosshair to where you wish to end the ellipse and release the mouse button. Click on this button to draw an arc. The cursor changes to a crosshair. Place the crosshair where you wish to place the center of the arc and click and hold the mouse button. Drag the crosshair to where you wish to end the arc and release the mouse button. The arc will appear as an ellipse while it is being drawn, but when released, the right side only of the ellipse will be shown, thereby giving the arc.
Capture - Basics
4-41
Button
Description Click on this button to draw a polygon. The cursor changes to a crosshair. Place the crosshair where you wish to start the polygon and click the mouse button once. Move the crosshair to where you wish to end the the current segment of the polygon and click the button once. Repeat until all segments of the polygon have been drawn. When you have drawn the last segment of the polygon, double-click the mouse button. Click on this button to place a picture on the workspace. A dialog opens from where you can select the desired bitmap image. You can place either a .bmp or .dib file.
To change the size of placed graphic components, select the component and click and drag the drag points that appear.
Drag points
Capture - Basics
Note Placed graphics can also be manipulated using the pop-up menu. For details, see 3.3.4 Pop-up From a Selected Text Block or Graphic on page 3-17.
4.9.7
4-42
Electronics Workbench
Labeling
To copy a section of your screen to the clipboard: 1. Select Tools/Capture Screen Area. A selection frame appears on your workspace.
Area within the selection frame will be copied to clipboard when copy is clicked.
2. To move the frame to a different location: Move your cursor to the border of the frame. A crosshair is added to the cursor.
Capture - Basics
A crosshair is added to the cursor, indicating that the selection frame can be moved to a different location.
Drag the selection frame to the desired location. 3. To re-size the selection frame: Move the cursor to one of the sizing handles.
4-43
4. Click on the copy button at the top left corner of the selection frame. The image inside the selection frame is copied to the system clipboard. 5. Click on the x at the top right corner of the selection frame to close it.
4.10
Capture - Basics
3. Use the Description Edit Bar to edit the contents of the Circuit Description Box as needed. For details, see 4.10.3 Description Edit Bar on page 4-57. 4. When you are finished entering text, select File/Close. The Edit Description window closes and you are returned to the main Multisim workspace. To print your description, from the Edit Description window, click the Print button.
for details.
Options Dialog Box use to set measurement units and text wrapping settings. Refer to
for details.
4-44
Electronics Workbench
Note See also, 4.10.3 Description Edit Bar on page 4-57. Capture - Basics
4-45
3. In the Indentation box, enter the measurements in the following fields as desired: Left the distance the left side of the paragraph is indented from the left margin. Right the distance the right side of the paragraph is indented from the right margin. First Line the distance the first line of the paragraph is indented from the left margin. 4. In the Alignment drop-down list, select whether the paragraph is left-, right-, or center-aligned. 5. Click OK to close the dialog box.
Capture - Basics
3. Enter the desired position for the tab (for example 1.25) in the Tab Stop Position field and click Set. Note You can also click in the top ruler bar to place a tab.
4-46
Electronics Workbench
To remove a tab setting: 1. Highlight the desired setting and click Clear.
Tab to be cleared.
4. Select the desired date/time format from the Available Formats list and click OK to place the selection.
4-47
3. In the Measurement Units box, select one of Inches; Centimeters; Points; Picas. Capture - Basics 4. Optionally, enable Automatic Word Selection to select one word at a time when you drag the cursor. If you wish to select one character at a time, clear this checkbox. 5. Click on the Rich Text tab and select one of: No Wrap typed text will be on one line until you press the ENTER key. Wrap to Window typed text will go to the next line when it reaches the edge of the window. Wrap to Ruler typed text will go to the next line when it reaches the page margin.
4-48
Electronics Workbench
3. To create a new object, enable the Create New button (this is the default setting). 4. Select the desired object from the Object Type list. 5. Optionally, enable Display As Icon to view an icon representing the file. 6. Click OK. To create an object from an existing file: 1. Enable the Create from File button. The dialog changes as shown below. Capture - Basics
2. Enter the desired filepath and name in the File field, or click Browse and navigate to the desired file from the Browse dialog box that appears.
4-49
3. Optionally, enable Link to link the object to the original file. Any updates to the original file are reflected in the object.
Capture - Basics
Placed Probe - Note that no data are displayed as the circuit is not simulating
Note For more details on the probe, see 10.15 Measurement Probe on page 10-40.
4-50
Electronics Workbench
3. Double-click on the placed probe to display the Probe Properties dialog box, and click on the Description Box tab.
4. Click New. The blinking text cursor moves to the Condition(s) field. 5. Click on the button to the right of the Condition(s) field and build the equation from the pop-up that appears. In this case we are entering the condition V=5, meaning the condition required to scroll the text will be achieved when the voltage at the probe equals 5 volts.
Capture - Basics
4-51
7. In the Parameter field, type the scroll speed, for example, 100 (this equals a scroll rate of 100 pixels per 10 seconds). 8. Click Apply. You should end up with something similar to the following.
9. Click OK to close the dialog box. Capture - Basics When you run the simulation, the text will scroll when the voltage at the probe equals 5 V. Note To disable a trigger, highlight it in the Description Box Triggers area and deselect the Enabled checkbox. 10.Click Simulate in the Main toolbar. The text in the Circuit Description Box will scroll when the conditions set in the Description Box tab of the Probe Properties dialog box are met. Note Remember to leave the Circuit Description Box open when you click Simulate.
4-52
Electronics Workbench
4. If you wish to have changes to the original file reflected in Multisim, enable Link. 5. Click Browse and navigate to the desired video clip. 6. Click OK to place the clip. 7. Click once on the clip to select it and select Insert/Label. Enter the name of the label in the Label Name field of the Description Label dialog that appears and click OK. The clips filename (in this case, Filmclip.mpg) appears enclosed in rails as shown below.
Capture - Basics
8. Select Simulate/Instruments/Measurement Probe and click to place a probe at the desired point, as in the following example. The simulation must not be running at this point Note This point is where the desired condition will occur. For example, the voltage becomes equal to 5 V.
Placed Probe - Note that no data are displayed as the circuit is not simulating
4-53
9. Double-click on the placed probe to display the Probe Properties dialog box, and click on the Description Box tab.
10.Click New. The blinking text cursor moves to the Condition(s) field. 11. Click on the button to the right of the Condition(s) field and build the equation from the pop-up that apppears. In this case we are entering the condition V=5, meaning the condition required to run the clip will be achieved when the voltage at the probe is 5 volts.
Capture - Basics
4-54
Electronics Workbench
13.In the Parameter field, type the name of the label that you placed around the video clip in the Circuit Description Box, (as described in 4.10.2 Scrolling with Events During Simulation on page 4-50). In this case, we used Label 2. 14.Click Accept. You should end up with something similar to the following.
15.Click OK to close the dialog box. When you run the simulation, the video clip will play when the voltage at the probe equals 5 V. 16.Click Simulate in the Main toolbar. The video clip will run when the parameters set in the Description Box tab of the Probe Properties dialog box are met. Note Remember to leave the Circuit Description Box open when you click Simulate. Note You can also run audio clips during simulation using the above procedure. Capture - Basics
4-55
To insert a label: 1. Open the Edit Description window as described in 4.10 Circuit Description Box on page 4-44. 2. Select a block of text or an object that you wish to label. (This will be the content of the label). 3. Select Format/Insert Label to display the Insert Label dialog box.
4. Enter a name for the label in the Label Name field. 5. If you wish the content of the label to display in the Circuit Description Box, enable the Show Content in Description Bar checkbox. Note The content of the label is the text or object that you selected in Step 2. 6. Click OK to accept your selections and close the dialog box. The label appears as shown below. Capture - Basics
Contents of label.
4-56
Electronics Workbench
To show/hide the contents of labels in the Circuit Description Box, enable/disable checkboxes as desired. To delete a label, highlight the desired label and click Remove. To rename a label, highlight the desired label and click Rename.
Capture - Basics
example, V=5), the simulation will pause for the amount of time (in seconds) that you enter in the Parameter field. Stop Scrolling when the conditions entered in the Condition(s) field are met (for example, V=5), scrolling of the text in the Circuit Description Box will stop.
4-57
Button
Description Insert Date and Time button. Displays the Date and Time dialog box, where you select the format for the date and time. For details see 4.10.1.4 Date and Time Dialog Box on page 4-47. View and Select Options button. Displays the Options dialog box, where you select measurement units and text wrapping settings. For details see 4.10.1.5 Options Dialog Box on page 4-48. Insert Embedded Object button. Displays the Insert Object dialog box, where you select the type of object to insert. For details see 4.10.1.6 Insert Object Dialog Box on page 4-49. Create New Label button. Displays the Description Label dialog box, where you enter the name of the new label to be inserted. For details see 4.10.2.3 Description Label Dialog Box on page 4-55. Edit Labels button. Displays the Edit Labels dialog box. For details, see 4.10.2.4 Edit Labels Dialog Box on page 4-56.
Capture - Basics
Underline button. Underlines the selection. Left Justification button. Aligns the selected paragraph(s) along the left margin.
Center Justification button. Center-aligns the selected paragraph(s). Right Justification button. Aligns the selected paragraph(s) along the right margin.
Font button. Changes the font, size and color of the selected text. Color button. Displays a color palette where you pick a color for the currently-selected text. Paragraph Format button. Displays the Paragraph dialog box, where you enter paragraph formatting information. For details see 4.10.1.2 Paragraph Dialog Box on page 4-45.
4-58
Electronics Workbench
Button
Description Insert Bullet button. Inserts a bullet at the beginning of the selected paragraph(s). Insert Tabs button. Displays the Tabs dialog box, where you enter tab formatting information. For details see 4.10.1.3 Tabs Dialog Box on page 4-46.
4.11
To set the printing environment for circuits: 1. Select File/Print Options/Print Circuit Setup.
Set page margins for printed output. Select to print the circuit in the portrait (vertical) or landscape (horizontal) orientation.
Capture - Basics
4-59
2. Set your options in the Options box by enabling the appropriate check boxes. Select from the following options:
Print Options Output in Black/White Description Prints the circuit in black and white (for non-color printers). When disabled, colored components print in shades of grey. Prints the circuit and all subcircuits on separate sheets. Prints the circuit and faces of the instruments used in the circuit on separate sheets. Includes the background in printed output. Use for color printers or white on black output. This option is disabled if Output In Black/White is selected.
Output Background
3. Click OK to set the printing environment for the current circuit, or click Set As Default to set the the printing environment for all circuits. To preview your file before printing, choose File/Print Preview. The circuit appears in a preview window where you can zoom in, move from page to page, and send the circuit to the printer. Capture - Basics The Print Preview dialog box offers the following toolbar:
Moves from page to page in a multi-page image. Zooms in or out on the image.
To print the circuit file using the specified environment, choose File/Print. We recommend that you set your print options first.
4-60
Electronics Workbench
Capture - Advanced
5-1
5.1
5.1.1
Electronics Workbench
When this option is enabled, the types of identifying information displayed for this individual component are controlled by the circuits settings.
3. Disable Use Schematic Global Setting. 4. Enable the identifying information you want displayed for this component, and disable the identifying information you do not want displayed for this component. 5. To cancel your settings, click Cancel. To save your settings, click OK.
5.1.2
Capture - Advanced
5-3
simulated in Multisim, they will give you an idea of how such a circuit will function when prototyped.
However, when a real component is referred to in this guide, it corresponds to a real, purchasable component with values that include footprints and package type for use in PCB layout programs, like Ultiboard. Virtual components, however, give you a means to experiment with a specific components parameters early in the design process. Once you have determined the desired parameters, you can replace the virtual component with a real component. Real components must be replaced in order to provide alternate values (e.g., to substitute a 1kOhm resistor for a 3MOhm resistor).
Electronics Workbench
Note For virtual components, see 5.1.2.4 Virtual Components on page 5-8. To edit the component in the database: 1. Click on Edit Component in DB. 2. Refer to 8.1 Introduction to Component Editing on page 8-2.
5-5
2. Click Edit Model in the Value tab. The Edit Model dialog box appears.
3. Edit the model in the area shown above. 4. Make a selection based on the following: Change Part Modelchanges the model information for the selected component only. The button becomes active when a change is made to the model information. Change All Modelschanges all models for the same part on the active workspace only, (i.e., not in the database). The button becomes active when a change is made to the model information. Restorerestores the model to its original state. The button becomes active when a change is made to the model information. Cancelcloses the window without making the changes. 5. To cancel your settings, click Cancel. To save your settings, click OK. Reminder! Changes made here only apply to that particular component, not to all similar components on the schematic, or to the one in the database from which it was copied.
Electronics Workbench
2. Click on the Standard Footprint button to display the Select a Footprint dialog box. 3. Select the desired footprint. Refer to 8.8.1 Select a Footprint dialog box on page 8-49 for details on using the Select a Footprint dialog box. 4. To cancel your settings, click Cancel. To save your settings, click OK.
Capture - Advanced
5-7
Options let you change the default settings of the virtual component.
You can modify any of these fields. To cancel your changes, click Cancel. To save your changes, click OK. Virtual components are not real; that is, you could not go to a supplier and purchase them. They have a symbol and a model, but no footprint. They are provided for your convenience to allow you to simulate what-if scenarios. Multisim treats them slightly differently from real components. By default, virtual components are shown in a different 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. Capture - Advanced 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.
5.1.3
5-8
Electronics Workbench
To control how the component is used in analyses: 1. Double-click on the component. The properties dialog box for the component appears. 2. Click the Value tab:
This dialog box can be scrolled by clicking and rolling the mouse in the data area.
3. Modify the settings as desired. 4. To cancel your changes, click Cancel. To save your changes, click OK.
5.2
5.2.1
5-9
2. Select one of: Copy copies entire contents of Results tab onto clipboard. Clear clears content of Results tab. Go to selects the item on the workspace.
5.2.2
Electronics Workbench
Description The nets name. The filename of sheet on which the net is found. Nets color. Default is based on the color scheme selected in the Circuit tab of the Sheet Properties dialog box. Click to display a Color palette and select the desired color. Width of the traces after export to PCB layout. Unit of measure is set in Ultiboard. Traces minimum allowable width. Unit of measure is set in Ultiboard. Select desired row and then click in the field to edit. Traces maximum allowable width. Unit of measure is set in Ultiboard. Select desired row and then click in the field to edit. Traces minimum allowable length. Unit of measure is set in Ultiboard. Select desired row and then click in the field to edit.
Trace Width
Capture - Advanced
5-11
Description Traces maximum allowable length. Unit of measure is set in Ultiboard. Select desired row and then click in the field to edit. Minimum allowable space between traces in the net and traces in any other net on the PCB (printed circuit board). Unit of measure is set in Ultiboard. Click and type to make changes. Minimum allowable space between traces in the net and pads on any other net on the PCB. Unit of measure is set in Ultiboard. Click and type to make changes. Minimum allowable space between traces in the net and vias on any other net on the PCB. Unit of measure is set in Ultiboard. Click and type to make changes. Minimum allowable space between traces in the net and copper areas on the PCB. Unit of measure is set in Ultiboard. Click and type to make changes. The copper layer where the net will be placed. Click to display a drop-down list with the available selections. This drop-down is populated based on the selections made in the PCB tab of the Sheet Properties dialog box in the Number of Copper Layers field. For details on this tab, see 3.4.2.5 Sheet Properties - PCB Tab on page 3-32.
Trace to Pad
Trace to Via
Electronics Workbench
Description Click in this field to enter a group for a net. This group can be used in Ultiboard 7 to keep nets together during the PCB layout process. If enabled, prevents changes to parameters that effect layout of net on the PCB. Click to toggle between Yes and No. The nets initial condition for Transient Analysis. For details, see 11.6 Transient Analysis on page 11-35. The nets initial condition for DC Operating Point Analysis. For details, see 11.4 DC Operating Point Analysis on page 11-27. Type of net. Can be Power, Ground or Signal. If Use Net-specific Setting in the Sheet Properties dialog box is enabled, (see, 3.4.2.1 Sheet Properties - Circuit Tab on page 3-27), the setting for the selected net is entered here. Choices are Show Net Name or Hide Net Name.
5.2.3
Capture - Advanced
5-13
Description The components unique identifier. The sheet on which the component appears. The section of a multi-section component such as a quad NAND gate. The name of the section of a multi-section component.
The components database family. The components value, for example, 5 V for a battery; or the components model, for example, 2N2222A. Double-click to edit the components model. The components manufacturer; either Generic or a specific company. The physical footprint of the component. Click on the field to change the footprint. For details, see 8.8 Editing a Components Footprint on page 8-48. The components description.
Manufacturer Footprint
Description
Electronics Workbench
Column Label
Description The components user-defined label. Click on the field and type in desired text. Can also be entered in the Label tab in the components properties dialog box. For details, see 4.9.1 Modifying Component Labels and Attributes on page 4-31. The position of the component on the workspace. This field is read-only and changes as the component is moved on the workspace. Click to display a drop-down list of the selections available to rotate the component. Unrotated is the components original position. Other selections are: Rotated 90 (90 degrees clockwise from original position), Rotated 180 (180 degrees clockwise from original position), Rotated -90 (90 degrees counter-clockwise from original position). You can also rotate a component by right-clicking on it in the workspace. For details, see 3.3 Using the Pop-up Menus on page 3-13. Click to display a drop-down list of the selections available to flip the component. Unflipped is the components original position. Other selections are: Flipped X (horizontal flip from original position), Flipped Y (vertical flip from original position), Flipped XY (a horizontal and a vertical flip from original position). You can also flip a component by right-clicking on it in the workspace. For details, see 3.3 Using the Pop-up Menus on page 3-13. Components color. Default is based on the color scheme selected in the Circuit tab of the Sheet Properties dialog box. Click to display a Color palette and select the desired color. Minimum distance between the component and another component when using the shove option in Ultiboard. Unit of measure is set in the PCB tab of the Sheet Properties dialog box. Click to enter new data. Click in this field to enter a group for a component. This group can be used in Ultiboard to keep components together during the PCB layout process.
Flip
Color
Spacing
Group
Capture - Advanced
Pin Swapping
If enabled, allows pins for like-components to be swapped during the PCB layout process. Click to toggle between Yes and No. This feature is not available in all versions of Multisim. If enabled, allows gates with same functionality, such as two NAND gates to be swapped during PCB layout process. Click to toggle between Yes and No. This feature is not available in all versions of Multisim.
Gate Swapping
5-15
Description If enabled, prevents changes to parameters that effect layout of components on the PCB. Click to toggle between Yes and No. Supply voltage. If not blank, indicates that the part has the corresponding input. You may choose to assign a netname from those power and ground nets that are placed on the schematic. Supply voltage. If not blank, indicates that the part has the corresponding input. You may choose to assign a netname from those power and ground nets that are placed on the schematic. Supply voltage. If not blank, indicates that the part has the corresponding input. You may choose to assign a netname from those power and ground nets that are placed on the schematic. Supply voltage. If not blank, indicates that the part has the corresponding input. You may choose to assign a netname from those power and ground nets that are placed on the schematic. Ground. If not blank, indicates that the part has the corresponding input. You may choose to assign a netname from those power and ground nets that are placed on the schematic. Usually ground, but for some components can be a negative supply voltage. If not blank, indicates that the part has the corresponding input. You may choose to assign a netname from those power and ground nets that are placed on the schematic. Indicates whether or not the selected component will appear in this variant of the circuit. For details on variants, see 6.5 Variants on page 6-30. Click to toggle between Yes and No.
VDD
VEE
VPP
Capture - Advanced
GND
VSS
Variant
5-16
Electronics Workbench
5.2.4
Column Layer
Description The contents of this column are set from the PCB tab of the Sheet Properties dialog box. For details, see 3.4.2.5 Sheet Properties - PCB Tab on page 3-32. When enabled, the layer can be routed during the PCB layout process. Click to toggle between Yes and No. Defines the type of layer. Double-click to display a drop-down list and choose from Signal, Power or Ground.
Routable
Type
Capture - Advanced
5-17
5.2.5
Print button. Prints the data in the selected tab. This feature is not available in all versions of Multisim.
Copy button. Copies the selection to the clipboard. All button. Displays all of the netlists or components (depending on the selected tab) from all sheets, multi-pages, subcircuits and hierarchical blocks in the current design.
Electronics Workbench
5.3
The Title Block Editor consists of: the menu bar, which contains the menus with their associated commands. the toolbars, which give quick access to the most commonly-used tools. the workspace, which is where you build or modify your title blocks. The Boundary Grid aids in the placement of the Boundary Box. Its size cannot be adjusted. The Draw Grid aids in the placement of graphic elements inside the Boundary Box. the Spreadsheet View, which is where you find and edit various title block parameters. the status line, which gives information on the currently selected object or action.
Capture - Advanced
5-19
To edit a title block that is already in your circuit: 1. Right click on the desired title block and select Edit Title Block from the pop-up. The Title Block Editor appears with the selected title block loaded. Note In-Place Edit Mode displays at the bottom of the dialog box when the Title Block Editor is launched using the method described above. Changes will apply to the selected title block only. 2. Edit the title block as described in: 5.3.1 Enter Text Dialog Box on page 5-21 5.3.2 Placing Fields on page 5-21. 5.3.3 Title Block Editor Spreadsheet View on page 5-24 5.3.4 Title Block Editor Menus on page 5-26 5.3.5 Toolbars on page 5-33
4. Click Yes. The Title Block Editor closes and you are returned to the main Multisim workspace. The changes are reflected in the title block. To edit a title block that is stored in the Title Block folder, or create a new title block: 1. Select Tools/Title Block Editor. The Title Block Editor appears with a new un-named title block. 2. If you wish to create a new title block, you may start working from here. Or Capture - Advanced If you wish to edit an existing title block, select File/Open, navigate to the Titleblocks folder, select the desired title block and click Open. 3. Edit the title block using the menus and toolbars as described in the following sections. 4. Select File/Exit and click Yes when prompted to save your changes. If this is a new title block, a standard Save As dialog box appears. Enter the desired filepath and filename, and click Save. If it is an existing title block the changes are saved and the Title Block Editor closes. The next sections describe the Title Block Editor functionality in more detail.
5-20
Electronics Workbench
5.3.1
2. Type the desired text in the Enter Text field. 3. Change the formatting of the text as desired:
Font field select desired font from the list or type in. Font Style field select desired style from the list. Size field select desired size from the list or type in. Text Orientation box select either horizontal or vertical orientation. Automatic drop-down list optionally, select a new color from the pop-up that
appears when you click on the down-arrow. 4. Click OK, move the cursor to the desired location and click the mouse to place the text. Capture - Advanced
5.3.2
Placing Fields
Fields are placeholders for text that appears in the title block on your circuit schematic. Note The actual text that appears in these fields is entered in the Title Block dialog box, which is accessed from Multisims main screen. For a fields text to appear in the title block in Multisim, you must first place the field for that text in the title block using the Title Block Editor. To place a field on the title block: 1. Select the desired field type from the Field menu (for example, Revision).
5-21
Or Click on the Text Field button in the Draw Tools toolbar and select the desired field type from the pop-up that displays (for example, Revision). The Enter Title Block Attribute dialog box displays the code for the selected field in the Title Block Attribute field. (Since we selected Revision in this example, #REV appears).
Note For a list of all field codes, see 5.3.2.1 Field Codes on page 5-23. 2. Change the formatting of the text as desired:
Font field select desired font from the list or type in. Font Style field select desired style from the list. Size field select desired size from the list or type in. Text Orientation box select either horizontal or vertical orientation. Automatic drop-down optionally, select a new color from the pop-up that appears
when you click on the down-arrow. 3. Click OK, move the cursor to the desired location and click the mouse to place the field.
Code for placed Revision field.
Capture - Advanced
All placed fields appear in green highlighting. Placed text is not highlighted.
4. After completing any other edits to the title block, select File/Exit and save the changes when prompted. You are returned to the main Multisim screen, where the field code (#REV) has been replaced by text. This text is set in the Revision field of the Title Block
5-22
Electronics Workbench
dialog box, which is found in the main Multisim application. For details, see 4.9.3.1 Entering the Title Block Contents on page 4-34.
Caution The width of a field as displayed in the Title Block Editor is not the same as the actual text that is placed in that field using the Title Block dialog box (see 4.9.3.1 Entering the Title Block Contents on page 4-34). Space used is also dependant on the font size. If after placing the actual text in the title block using the Title Block dialog box, you find that text overlaps, you must either adjust the text, or return to the Title Block Editor and adjust the positioning of the fields. Note If text in the Title Block dialog box does not appear in your title block, it is because the field corresponding to that text was not placed in the title block using the Title Block Editor.
Capture - Advanced
5-23
Field Date Current Sheet Number Total Sheet Numbers Revision Format Custom Field 1 Custom Field 2 Custom Field 3 Custom Field 4 Custom Field 5
Code
#DATE #SN #TSN #REV #FMT #CUSTOM_1 #CUSTOM_2 #CUSTOM_3 #CUSTOM_4 #CUSTOM_5
5.3.3
Electronics Workbench
Description The type of graphic element. The appearance of lines for graphics elements, excluding placed text. Select the desired row and click to display a list of pen types. Choices are: Solid; Dash; Dot; Dash-Dot; Dash-Dot-Dot; Invisible; Solid Inside Frame. The width of the lines in graphic elements, excluding placed text. Select the desired row and click to display a list of pen types. Choices are: Not Scaleable; One Pixel; Two Pixels; Three Pixels; Four Pixels; Five Pixels. The color of lines for graphic elements, including placed text. Select the desired row and click to display a color palette. The style of the fill in elements such as polygons, that have a fill. Select the desired row and click to display a list of fill types. Choices are: Solid; Invisible; Horizontal; Vertical; Diagonal Downward; Diagonal Upward; Cross; Diagonal Cross. The color of the fill in elements such as polygons, that have a fill. Select the desired row and click to display a color palette. The font name, active for placed text elements only. Double click to display a list of fonts. The font style, active for placed text elements only. Select the desired row and click to display a list. Choices are: Regular; Italic; Bold; Bold Italic. The font size, active for placed text elements only. Select the desired row and click to display a list of sizes.
Pen Width
Note If objects are grouped using Edit/Group, their distinct names and properties will no longer appear in the Name column. The name for any grouped object will appear as Group.
Capture - Advanced
5-25
5.3.4
Open
Save Save As
Exit
Electronics Workbench
Copy Paste
Delete
Copy As Picture Copy As Bitmap Select All Flip Horizontal Flip Vertical Rotate 90 Clockwise Rotate 90 Counter CW Snap To Grid Group UnGroup
Selects all of the elements on the workspace. Flips the selected element(s) horizontally.
Capture - Advanced
Snaps the selected element(s) to the Draw Grid that is found within the title blocks boundary box. Places selected elements in one group. Returns an element that was made using the Group command, back to its individual elements. Brings selected element(s) to the foreground on the workspace. Other element(s) appear behind them.
Bring To Front
5-27
Use Sends selected element(s) to the background on the workspace. Other elements appear in front of them. Places a cursor at the lower-right side of the boundary box. Drag it to the desired location to resize the boundary box. You cannot make the boundary box smaller than the elements that it contains.
Toggles the Draw Grid, which displays inside the Boundary Box, on and off.
Sets the size of the Draw Grid, which displays inside the Boundary Box. The choices are: No Grid (select if you wish to draw an element that does not snap to the grid); Smallest Grid; Small Grid; Regular Grid; Large Grid. Magnifies the elements(s) in the workspace. Reduces the viewing size of the elements(s) in the workspace.
Zoom In
Capture - Advanced
Displays the items in the workspace at their normal viewing size. This is the size that they will be displayed at in Multisim. When the Title Block Editor first opens, the magnification is set to 100%. When viewing the workspace at high magnifications, you can use this command to center the image on the workspace. Select Center By Mouse and then click on the spot that you would like to be placed at the center of the workspace. Redraws all elements in the workspace.
Center By Mouse
Redraw
5-28
Electronics Workbench
Description
Designed By
Checked By
Approved By
Document Number
Date
Capture - Advanced
Revision
5-29
Menu Format
Use Displays the Enter Title Block Attribute dialog box, where you enter formatting information for the Format field (#FMT) and click OK to place the field on the title block. Displays the Enter Title Block Attribute dialog box, where you enter formatting information for Custom Field 1 (#CUSTOM_1) and click OK to place the field on the title block. Displays the Enter Title Block Attribute dialog box, where you enter formatting information for Custom Field 2 (#CUSTOM_2) and click OK to place the field on the title block. Displays the Enter Title Block Attribute dialog box, where you enter formatting information for Custom Field 3 (#CUSTOM_3) and click OK to place the field on the title block. Displays the Enter Title Block Attribute dialog box, where you enter formatting information for Custom Field 4 (#CUSTOM_4) and click OK to place the field on the title block. Displays the Enter Title Block Attribute dialog box, where you enter formatting information for Custom Field 5 (#CUSTOM_5) and click OK to place the field on the title block.
Custom Field 1
Custom Field 2
Custom Field 3
Custom Field 4
Custom Field 5
Capture - Advanced
5-30
Electronics Workbench
Use Places an arc on the workspace. Click once to place the center point of the arc, click again to place the outer diameter point. As you move the cursor, a dotted outline of the arc appears. Now move the cursor and click to place the arcs end point. Places a bezier curve on the workspace. Click to place the start of the curve, then move the cursor on the workspace. As you move the cursor, a dotted outline of the bezier curve appears. Click to place the end point of the bezier, then move and click the cursor twice more to form the final shape of the bezier. Places a rectangle on the workspace. Places a circle on the workspace. Click to place the center of the circle, then move the cursor on the workspace. As you move the cursor, a dotted outline of the circle appears. When the circle is the desired shape and size, click to place it on the workspace. Places an ellipse on the workspace. Click to place the center of the ellipse, then move the cursor on the workspace. As you move the cursor, a dotted outline of the ellipse appears. When the ellipse is the desired shape and size, click to place it on the workspace. Places a polygon on the workspace. Places a bitmap image on the workspace. Click to display a standard Windows Open dialog box, where you can select the desired bitmap. Places a bezier curve on the workspace. Click to place the start of the curve, then move the cursor on the workspace. As you move the cursor, a dotted outline of the bezier curve appears. Click to place the end point of the bezier, then move and click the cursor twice more to form the final shape of the bezier.
Bezier
Rectangle Circle
Ellipse
Polygon Bitmap
Bezier
Capture - Advanced
5-31
Displays a splash dialog with information about the Title Block Editor.
Electronics Workbench
5.3.5
Toolbars
The toolbars give access to the most commonly-used tools in the Title Block Editor.
Save button. Saves changes to the active document. Cut button. Removes the selected element(s) from the workspace and places them on the clipboard.
Capture - Advanced
Copy As Picture button. Copies the title block on the workspace as a metafile. Copy As Bitmap button. Copies the title block on the workspace as a bitmap image. Paste button. Places a copy of the element(s) on the clipboard on the workspace at the cursors location.
5-33
Button
Description
Redo button. Redoes the previous undo action. Print Preview button. Opens the Print Preview dialog box, which shows the title block in the active document with the best fit to the page. There are no other sizes available. Print button. Opens the standard Windows Print dialog box, where you can enter the desired printing properties and print the title block. The title block is printed with the best fit to the page. There are no other magnifications available for printing the title block. About Title Block Editor button. Displays an About box with information about the Title Block Editor.
Capture - Advanced
Zoom In button. Magnifies the elements on the workspace. Zoom 100% button. Displays the items in the workspace at their normal viewing size. This is the size that they will be displayed at in Multisim. When the Title Block Editor first opens, the magnification is set to 100%. Zoom Out button. Reduces the viewing size of the element(s) on the workspace.
5-34
Electronics Workbench
Line button. Places a line on the workspace. Circle button. Places a circle on the workspace. Click to place the center of the circle, then move the cursor on the workspace. As you move the cursor, a dotted outline of the circle appears. When the circle is the desired shape and size, click to place it on the workspace. Ellipse button. Places an ellipse on the workspace. Click to place the center of the ellipse, then move the cursor on the workspace. As you move the cursor, a dotted outline of the ellipse appears. When the ellipse is the desired shape and size, click to place it on the workspace.
Capture - Advanced
Half Ellipse Arc button. Places a half ellipse arc on the workspace. Segment Arc button. Places an arc on the workspace. Click once to place the center point of the arc, click again to place the out diameter point. As you move the cursor, a dotted outline of the arc appears. Now move the cursor and click to place the arcs end point.
5-35
Button
Description Text button. Displays the Enter Text dialog box, where you enter and format text to be placed on the workspace. For details, see 5.3.1 Enter Text Dialog Box on page 5-21. Bitmap button. Places a bitmap image on the workspace. Click to display a standard Windows Open dialog box, where you can select the desired bitmap. Text Field button. Select to enter formatting information for a specific field. Displays a drop-down list with these choices: Title; Description; Designed By; Checked By; Approved By; Document Number; Date; Current Sheet Number; Total Sheet Numbers; Revision; Format; Custom Field 1; Custom Field 2; Custom Field 3; Custom Field 4; Custom Field 5. When a choice is made, the Enter Title Block Attribute dialog box displays. For details, see 5.3.2 Placing Fields on page 5-21.
Electronics Workbench
Button
Description Snap To Grid button. Snaps the selected element(s) to the Draw Grid that is found within the title blocks boundary box. Distribute Horizontal button. Evenly spaces the selected objects horizontally. At least three objects must be selected to enable this button. Distribute Vertical button. Evenly spaces the selected objects vertically. At least three objects must be selected to enable this button. Bring To Front button. Brings selected element(s) to the foreground on the workspace. Other element(s) appear behind them. Send To Back button. Sends selected element(s) to the background on the workspace. Other elements appear in front of them. Rotate 90 Counter CW button. Rotates the selected element(s) 90 degrees counter-clockwise. Rotate 90 Clockwise button. Rotates the selected element(s) 90 degrees clockwise. Flip Horizontal button. Flips the selected element(s) horizontally on the workspace.
Flip Vertical button. Flips the selected element(s) vertically on the workspace. Ungroup button. Returns an element that was made using the Group command back to its individual elements.
Capture - Advanced
Resize Boundary Box button. Places a cursor at the lower-right side of the boundary box. Drag it to the desired location to resize the boundary box. You cannot make the boundary box smaller than the elements that it contains or smaller than is required for the pins that are attached to it.
5-37
5.4
Capture - Advanced
Note You can select whether or not to include specific pins in a component in the ERC. Refer to 5.4.3 Components Pin Info Tab on page 5-46 for details.
5-38
Electronics Workbench
Result Pane
If you select Result Pane to display your output, errors and warnings are detailed in the Results tab of the Spreadsheet View as shown below.
Double-click on individual errors or warnings in the Results tab to zoom in on the workspace with the error or warning centered.
Double-click on the same error or warning to zoom to the other pin associated with the error or warning. (Does not apply to unconnected pins).
File
If you select File in the Output box, the results of the ERC are saved in the filepath and name that you enter in the File field.
Capture - Advanced
5-39
List View
If you select List View, a report displays as shown below:
Total number of pins that were checked. Total warnings issued. Total error messages issued. Details of errors and warnings appear in this area.
Save to a Text File click to save the data in the dialog box to a text file. A standard Windows save dialog box appears. Choose the desired filepath and click Save. Send to a Printer click to display a standard Windows print dialog box. Choose the desired print options and click OK. Print Preview click to display a Print Preview dialog box. To MS Excel App click to open a Microsoft Excel spreadsheet with the data from the dialog box displayed. (You must have Excel installed to use this function). Capture - Advanced 5-40
Electronics Workbench
5.4.1
2. In the Scope box, select one of: Current Page to run the ERC on the page displayed and selected on your workspace. Whole Design to run the ERC on all subcircuits, hierarchical blocks and multi-pages associated with the current design. 3. In the Flow Through box, select as many of the following as desired: Offpage Connectors checks connections between pins connected through offpage connectors. Does not check any other pins on the associated multi-page unless Check Touched Pages is also selected. HB/SC Connectors checks connections between pins connected through HB/SC (hierarchical block or subcircuit) connectors. Does not check any other pins on the associated hierarchical block or subcircuit unless Check Touched Pages is also selected. Bus Offpage Connectors checks connections between pins connected to buses Capture - Advanced
5-41
through bus offpage connectors. Does not check any other pins on the associated multi-page unless Check Touched Pages is also selected. Bus HB/SC Connectors checks connections between pins connected to buses through Bus HB/SC (hierarchical block or subcircuit) connectors. Does not check any other pins on the associated hierarchical block of subcircuit unless Check Touched Pages is also selected. Check Touched Pages is active when one or more of the above are selected. When selected, ERC will check all connections on the associated multi-page, hierarchical block or subcircuit. 4. In the Report Also box, select the following as desired: Unconnected Pins checks for pins that are not connected to anything. Excluded Pins checks pins that have been excluded from ERC in the Pin Info tab of the components properties dialog box. See 5.4.3 Components Pin Info Tab on page 5-46. 5. In the ERC Marker box, select the following as desired: Clear ERC Markers clears existing ERC markers (red circles indicating errors and warnings) from the workspace when you run the ERC. To clear ERC markers without running an ERC, see 5.4.1.1 Clearing ERC Markers on page 5-43. Create ERC Markers places red circles indicating errors and warnings on the workspace. 6. In the Output box, select one of: Result Pane displays ERC results in the Results tab of the Spreadsheet View. If you select Clear Pane, any previous ERC results will be cleared from the Results tab when a new ERC is run. Refer to Result Pane on page 5-39 for an example. File the results are saved in the filepath and name that you enter in the File field. Refer to File on page 5-39 for an example. List View the results display in a report format as shown in List View on page 5-40. Capture - Advanced 5-42
Electronics Workbench
2. Select one of: Current Page to clear the ERC markers from the currently selected page. Whole Design to clear the ERC markers from all pages associated with the design. 3. Click OK to delete the selected markers.
Capture - Advanced
5-43
5.4.2
Electronics Workbench
3. Set the desired warning or error levels by clicking on the button that appears at the intersection of the desired pin types in the grid found in the Definition box. Click until the desired color, based on the Legend appears. For clarity, some examples are shown below.
Example 1 - This button indicates OK for connection of Pas (passive) to In (input) pin.
Example 2 - This button indicates an error for connection of Oc (open collector) to Oe (open emitter) pin.
Warning and error levels. See Level on page 5-46 for explanation.
Note The table below details the pin types available on the various components in Multisim.
Pin Type INPUT Pin Type from Multisim Component Editor Input, 74LS Input, 74S Input, 74 STD Input, CMOS Input, Schmitt Trigger, ECL Input. Output, Active Driver, 74LS Active Driver, 74S Active Driver, 74STD Active Driver, CMOS Active Driver. Open Collector, 74S Open Collector, 74STD Open Collector, CMOS Open Collector, 74LS Open Collector. ECL Output. Bi-directional, 74LS Bi-directional, 74S Bi-directional, 74STD Bi-directional, CMOS Bi-directional. ERC Symbol In
Capture - Advanced
OUTPUT
Out
OPEN_COLLECTOR
Oc
OPEN_EMITTER BI_DIRECTIONAL
Oe Bi
5-45
Pin Type from Multisim Component Editor 3-state, 74LS 3-state, 74S 3-state, 74STD 3-state, Bi-directional-3st, CMOS 3-State. Passive Power, Vcc, Vdd, Vee, Vpp Gnd, Vss NC
Error Warning*
Error*
5.4.3
Electronics Workbench
To set up which pins in a component to include or exclude from an ERC: 1. Double-click on the desired component to display its properties dialog box and click on the Pin Info tab.
2. In the ERC Status column, select either Include or Exclude for each of the components pins. 3. Click OK to close the dialog box.
Capture - Advanced
5-47
Electronics Workbench
Large Designs
6-1
6.1
Large Designs
6-2
Electronics Workbench
Hierarchical Design
6.1.1
2. Highlight the page that you wish to delete and click OK.
6.2
Hierarchical Design
Hierarchical blocks and subcircuits are used to organize functionally related parts of a design into manageable pieces. Multisims hierarchical functionality allows you to build a hierarchy of inter-connected circuits, increasing the reusability of your circuit designs and ensuring consistency across a group of designers. For example, you might build a library of commonly used circuits, stored in a central location. Those circuits could in turn be contained in other, more complex circuits, which could be used to create yet another level of circuit design. Since the interconnected circuits are linked together, and updated automatically, you can ensure that refinements made to one circuit are carried out in all related circuits as well. This lets you, for example, divide a complex project into smaller, interconnected circuits for completion by individual team members. Hierarchical blocks and subcircuits are similar except that subcircuits are saved with the original circuit and hierarchical blocks are individual circuit files that are referenced from a main file. The connection method is the same for both using the HB/SC Connector. Sub-circuits are easier to manage, as they cannot accidentally become separated from the circuit that references them. Hierarchical blocks are useful when re-using nested circuits across multiple designs, or for dividing the work when multiple designers are working on the same design. When using hierarchical blocks, the block remains a separate schematic file which can be edited. The connection between a block and the circuit in which it is placed is an active link. That is, if you place the contents of circuit A as a block of circuit B, you can open circuit A separately, make any changes necessary, and those changes are reflected in circuit B the next time you open it and in any other circuits that use circuit A.
Large Designs
6-3
6.2.1
Nested Circuits
When a circuit file is opened or created in Multisim, by definition it is the top-level circuit of the current design. All circuits may reference other, embedded (subcircuit) or linked-to (hierarchical block) nested circuits, which act as building blocks to control circuit complexity. In addition, any circuit (nested or otherwise), may comprise multiple pages for ease of understanding and printing. The Hierarchy tab in the Design Toolbox displays a graphical view of the open designs.
If the same nested circuit is used more than once in a design, it will appear more than once in the hierarchy view, and will have more than one tab in the main workspace. Each appearance is an instance of use of that nested circuit. Use instances are identified by a path formed by the names of the references used to reach them. In the simple example above, there are two ways to reach "sub": one via the reference X1 in Circuit1 and one via the reference X2. With one notable exception (RefDes assignment), edits made to one instance of use are reflected in all others (because it is actually the same circuit that is being modified). Different views are maintained of each use instance in order that simulation may distinguish them. Thus, if a probe (see 10.15 Measurement Probe on page 10-40) was dragged over the net IO1 in the X1 instance of sub, it would show a different voltage than if it were dragged over the same net in the X2 instance.
Large Designs
6-4
Electronics Workbench
Hierarchical Design
6.2.2
In the above example, we see Circuit1 referencing the same sub-circuit, sub, twice. The components, their placement, the wiring, and the net names in the sub-circuit are identical in the two instances (because they are, after all, the same sub-circuit: sub). However, the RefDes of their components are different, as the association of RefDes to component instance is stored with and managed by the containing design, Circuit1. Large Designs
6-5
6.2.3
6.2.4
Global Nets
Certain pre-defined named nets are considered global across an entire design. That is to say, anytime a net at any level in the hierarchy or on any page is re-named to one of these reserved nets, it joins this net. These reserved nets are 0, GND, VCC, VDD, VEE, and VSS. Net 0 corresponds to analog ground, and is the reference for all voltages during simulation. GND is a digital ground (as it is common for the purposes of PCB layout to wish to isolate these two ground nets). Components like VCC, VDD, etc. that use the "T" symbol; or the GND component that uses the triangle symbol; can be renamed as desired. When a wire is attached to such a component, the netname is automatically changed to the name of the component. For example, in the diagram below, VCC was placed and then renamed to "power" by double-clicking on the
Large Designs
6-6
Electronics Workbench
Hierarchical Design
component and changing the RefDes to "power". The netname automatically changed to "power" to match the new component RefDes.
Nets created this way become accessible across pages in a multi-page circuit, without the use of Off-Page Connectors. If the symbol is placed into a nested circuit (SC or HB), the attached net is renamed to be a top-level net, and joins any other nets at the top-level with the same name. For example, having a net named "power" in a sub-circuit referenced by X1 from the top-level circuit would normally re-write the name of the net to "X1.power". This makes this net unique to any other net named "power" at the top-level or in any other nested circuit in the design (even other use instances of the same sub-circuit). However, placing a "T" component re-named to be "power" and then attaching a wire to it would result in the net being simply called "power". This creates a virtual wiring situation between all such nets named "power". Hence, this is a mechanism by which nets may be declared to be of the top-most net namespace, even when buried deeply into nested circuits.
6.2.5
6-7
3. Click on Browse, navigate to the folder where you would like to save the hierarchical block and click Save. You are returned to the Hierarchical Block Properties dialog box. 4. Enter the number of pins desired and click OK. A ghost image of the new hierarchical block appears. Click where you want the hierarchical block to appear. 5. Double-click on the new hierarchical block and select Edit HB/SC from the Hierarchical Block/Subcircuit dialog box that displays. A circuit window that contains only the entered pins displays. 6. Place and wire components as desired in the new hierarchical block. 7. Wire the hierarchical block into the circuit as in the example below.
8. Save the circuit. Note If you move or re-name a hierarchical block relative to the main circuit, Multisim will not be able to find it. A dialog box displays asking you to provide the new location for the hierarchical block.
6-8
Electronics Workbench
Hierarchical Design
Note If you have already placed instances of the hierarchical block, the following dialog displays:
Select which hierarchical block you wish to use to assign grouping information in the new hierarchical block and click OK.
6.2.6
Adding a Subcircuit
To place a new subcircuit: 1. Select Place/New Subcircuit. The Subcircuit Name dialog box appears.
2. Enter the name you wish to use for the subcircuit, for example, PowerSupply and click OK. Your cursor changes to a ghost image of the subcircuit indicating that the subcircuit is ready to be placed. Large Designs
6-9
3. Click on the location in the circuit where you want the subcircuit placed (you can move it later, if necessary). The subcircuit appears in the desired location on the circuit window as an icon with the subcircuit name inside it. 4. Double-click on the new subcircuit and select Edit HB/SC from the Hierarchical Block/Subcircuit dialog box that displays. An empty circuit window appears. 5. Place and wire components as desired in the new hierarchical block. 6. Select Place/Connectors/HB/SC Connector, and place and wire the connector as desired. Repeat for any other required HB/SC Connectors. When you return to the main circuit, the symbol for the subcircuit will include pins for the number of connectors that you added. 7. Wire the subcircuit into the circuit as in the example below.
To place another instance of the same subcircuit: 1. Select the desired subcircuit in the workspace and select Edit/Copy. 2. Select Edit/Paste to place a copy of the subcircuit on the workspace. Note The copy should be pasted in the same file as the original subcircuit.
Large Designs
6-10
Electronics Workbench
6.3
To rename/renumber the components in a circuit: 1. Select Tools/Rename/Renumber Components. Large Designs 2. Click Renumber. Any RefDess that are not in sequence will be renumbered.
6-11
To optimize the circuit so that multi-section components are used as efficiently as possible: 1. Select Tools/Rename/Renumber Components. 2. Click Optimize Gates.
6.4
Buses
In order to simplify wiring, buses may be used to carry multiple nets. Buses may be used within a page, across pages, and down into nested circuits (subcircuits and hierarchical blocks). Buses operate in two modes. In net mode, a bus is simply a collection of nets. Each time a wire is connected to a bus via a bus entry, you are given the choice of connecting that new wire to an existing net already in the bus, or of adding that net to the bus. In busline mode, you may pre-define the number and names of buslines that are contained in that bus. When connecting a wire to the bus via a bus entry, you are prompted to specify which of the existing buslines the new wire should attach to. All wires attached to the same busline are merged into the same net. Note The bus wiring mode is set in the Wiring tab of the Sheet Properties dialog box. See 3.4.2.3 Sheet Properties - Wiring Tab on page 3-29.
Net Mode
Busline Mode
Large Designs
Net mode is a more traditional way of using buses in schematic capture programs. Busline mode allows for a more modern, declaration-before-use, approach to designing buses that minimizes entry errors. Although you can switch between the two modes, you are encouraged to use either one style or the other for any given circuit (switching from busline mode to net mode loses information).
6-12
Electronics Workbench
Buses
Buses exist in multiple bus segments. All bus segments with the same name are parts of the same bus. They need not all be connected physically. To connect a bus to other pages of the same circuit, a bus offpage connector is used. These work analogously to regular offpage connectors in that they allow a bus to be continued onto a second or third page.
A nested circuit can use a Bus HB/SC Connector to specify that one of the pins of the hierarchical block or subcircuit should be a bus pin. When using the nested circuit, attaching a bus to such a bus pin brings up a dialog box asking you to map the buslines (or nets) of the bus on the parent circuit to those in the nested circuit. This mapping is necessary as each instance of a nested circuit may in general be connected to a different bus. If the bus in the parent circuit is empty, no dialog will be presented and the bus will be wired in the natural manner.
To facilitate usage of buses, a powerful bus vector connect facility is provided that allows for multiple pins of a chip to be connected to a bus in a single operation. This dialog allows you to select pins from multi-pin components to connect to the buslines. Large Designs
6-13
6.4.1
Placing a Bus
To place a bus in your circuit: 1. Select Place/Bus. 2. Click on the first point for the bus. 3. Click on the next point for the bus. 4. Continue to click on points until the bus is complete. Buses can be placed horizontally, vertically, and at 45 degrees. 5. Double-click to mark the ending point of the bus.
Large Designs
6-14
Electronics Workbench
Buses
Note This example uses a hierarchical block. 5. Select Place/Connectors/Bus HB/SC Connector and place the connector in the HB/SC on the end of the bus. The symbol for the HB/SC in the main circuit will change to reflect the addition of the Bus HB/SC Connector. (See below).
6. In the main circuit, attach the bus to the BusIO pin on the HB/SC by hovering the cursor over one end of the bus and clicking when the cursor changes to a crosshair. Move the
Large Designs
6-15
cursor to the BusIO pin on the HB/SC symbol and click to place. The Bus HB/SC Mapping Properties dialog box appears.
7. In the Bus Pin box, select the buslines from the Bus IO pin you wish to map and click on the activated down-arrow button. 8. In the Bus box on the right, select the buslines on the main page to which you wish to map the buslines that you selected above and click the down-arrow.
Large Designs
6-16
Electronics Workbench
Buses
9. Click OK. The connection from the bus in the main circuit is made to the Bus IO pin as mapped above. Note If you add more nets to the bus, you must double-click on the Bus IO pin in the sub-circuit or hierarchical block symbol and map the new nets via the Bus HB/SC Mapping Properties dialog box.
6.4.2
Bus Properties
You can add, delete and rename buslines from the Bus Properties dialog box.
Large Designs
6-17
3. If you wish to add a single busline to the selected bus, enable Add a Busline and type a name into the Name field. If you wish to add a number of buslines, enable Add Bus Vector and enter information in the fields as described: Prefix the prefix for the entered buslines, for example Out. Start Value the number from which the buslines will start numbering, for example, 0. Increment by the size of the the step between each number, for example, 1. Number the total number of buslines to add, for example, 4. 4. Click OK. The Add Buslines dialog box disappears, and the Bus Properties dialog box appears with the added buslines appearing in the Buslines (Net) field.
Large Designs
6-18
Electronics Workbench
Buses
3. Enter the desired name in the New Name field and click OK.
Large Designs
6-19
6.4.3
Merging Buses
To merge two buses together so that they have the same busname: 1. Highlight the two buses and select Place/Merge Bus to display the Bus Merge dialog box.
Tip If you want to rename busline(s) before merging the buses, select the desired busline(s) and click Rename. Buslines with the same name in each of the merged buses will be electrically connected after the merge. 2. In the Merged Bus area, select the bus to use for the merged bus from the Name drop-down. 3. Click Merge. Note that the two buses on the workspace now share the selected name, as in the following example.
Large Designs
6-20
Electronics Workbench
Buses
Note You can also access the Bus Merge dialog box by double-clicking on a bus, and clicking the Merge button in the Bus Properties dialog box. In this case, you must select the second bus from its Name drop-down list before clicking Merge. As well, you can merge buses by wiring them together or renaming one bus with the name of another existing bus.
6.4.4
Wiring to a Bus
In Busline bus wiring mode
1. Wire the bus into your circuit by drawing a wire to any location on the bus. The Bus Entry Connection dialog box appears:
Use the default busline name, or type a new name. Or Select one of the available buslines.
The 45 degree connection can be made to point in either direction by adjusting the mouse position when connecting the wire to the bus.
Large Designs
6-21
Note After wiring, you can re-name the net, by double-clicking on it and editing the name in the Net dialog box that appears. Note You can select a bus entry to move it with the Arrow keys, or rotate it with SHIFT-R. Note You can double-click on a bus entry to edit its properties via the Bus Entry Connection dialog box.
Note After wiring, you can re-name the net as usual, by double-clicking on it and editing the name in the Net dialog box that appears. Note You can select a bus entry to move it with the Arrow keys, or rotate it with SHIFT-R. Large Designs
6-22
Electronics Workbench
Buses
Note You can double-click on a bus entry to edit its properties via the Bus Entry Connection dialog box.
Bus Resizing
To resize a bus: 1. Click on the bus and drag one of the handles that appear on the bus. To add to the bus: 1. Place the cursor over the bus, and when it turns to a crosshair, click the mouse. 2. Move the cursor to the desired location and double-click to complete the bus.
6.4.5
Large Designs
6-23
3. Click once on the component to select it and select Place/Bus Vector Connect to display the Bus Vector Connect dialog box.
4. In the Component box, select the side of the component from which terminals should be connected from the Pins drop-down list. The list below the Pins field is populated based on your selection. 5. Highlight the pins that you wish to attach to the bus, as in the example below.
Large Designs
6-24
Electronics Workbench
Buses
6. Click on the activated down-arrow button to move the selected pins to the bottom left field.
Note If you move an incorrect item, highlight it and click on the up-arrow button to return it to the Pins list. 7. In the Bus box, select the bus you wish to connect to from the Name drop-down list.
Large Designs
6-25
8. In the Buslines field, select the buslines you wish to use and click on the enabled down-arrow button to move the selection to the lower-right field.
(If the Buslines field is empty, you can click on the Auto-assign button to automatically create and assign busline names that correspond to the pin names). 9. Click OK. The connections to the bus are made as in the following example.
Large Designs
6-26
Electronics Workbench
Buses
3. Click once on the component to select it and select Place/Bus Vector Connect to display the Bus Vector Connect dialog box.
4. In the Component box, select the side of the component from which terminals should be connected from the Pins drop-down list. The list below the Pins field is populated based on your selection.
Large Designs
6-27
5. Highlight the pins that you wish to attach to the bus, as in the example below.
6. Click on the activated down-arrow button to move the selected pins to the bottom left field.
Note If you move an incorrect item, highlight it and click on the up-arrow button to return it to the Pins list. Large Designs
6-28
Electronics Workbench
Buses
7. In the Bus box, select the bus you wish to connect to from the Name drop-down list.
8. In the Nets in Bus field select: existing nets for example, 1 and/or 2 in the above, and click the down-arrow button to move them to the bottom-right field. <new> to map new nets to the selected component pins. Each time you click the down-arrow button when <new> is highlighted, an instance of <new> appears in the bottom-right field.
Large Designs
Note You can also click Auto-assign to automatically assign new nets to the mapped pins.
6-29
9. Click OK. The connections to the bus are made as in the following example.
Existing Nets
6.5
Variants
A variant is a specific version of a circuit. As PCBs are manufactured for distribution on a global scale, some designs may require modifications depending on their target markets. For example, power supply requirements for the European market differ from those of North America. The variations in the power supply requirements may call for the use of different components in a design. The designer would want to produce a single PCB which would meet requirements for both the North American and the European versions. The board itself must contain the traces as well as land patterns/footprints for both variations of the design. The PCB would then be populated with components according to the target market of the device.
6.5.1
Setting Up Variants
Variants are defined in the Variant Manager dialog box. In the following example variants are entered for North American (NA) and European (EU) versions (that is, variants) of a design. To define circuit variants: 1. Open a circuit in Multisim. In this example, the circuit name is VariantTest. 2. Select Tools/Variant Manager. The Variant Manager dialog box appears.
Large Designs
6-30
Electronics Workbench
Variants
3. Highlight the circuit in the hierarchy that is displayed in the left pane. Default1 is the default name for the initial variant.
Default variant
4. Highlight Default1 in the right pane. The Rename Variant button becomes active. Note The Remove Variant button remains disabled, as there must be at least one variable assigned to each circuit. This button becomes active when there are two or more variants assigned to a circuit. 5. Click Rename Variant. The Rename Variant dialog box appears.
6. Enter a new name for the variant (in this example, NA, for North America) and click OK. The name of the variant changes to the entered name in the right pane of the Variant Management dialog box. The name of the European variant must now be entered. 7. Click on Add Variant in the Variant Manager dialog box. The Add Variant Name dialog box appears.
Large Designs
6-31
8. Enter the name for the new variant (in this example, EU for Europe) and click OK. The Variant Manager dialog box now appears as follows.
9. Click Close to return to the workspace. To delete variants from your circuit: 1. Select Tools/Variant Manager to display the Variant Manager dialog box. 2. Select the desired circuit in the left pane, and the variant you wish to delete in the right pane. 3. Click Remove Variant. The highlighted variant is removed. 4. Click Close to return to the workspace. To rename variants in your circuit: 1. Select Tools/Variant Manager to display the Variant Manager dialog box. 2. Select the desired circuit in the left pane, and the variant you wish to rename in the right pane. 3. Click Rename Variant. The Rename Variant dialog box appears.
4. Enter the new variant name and click OK to return to the Variant Manager dialog box. Large Designs 5. Click Close to return to the workspace.
6-32
Electronics Workbench
Variants
To remove components that are not in any of the variants: 1. Click on Remove Components in the Variant Manager dialog box. The Components for Delete dialog box appears.
If you do not wish to remove any of these components, click to remove the corresponding checkmark
6.5.2
Note To display the variant status for the components, e.g., In Variant (NA, EU), you must enable the Variant Data checkbox in the Circuit tab of the Sheet Properties dialog box.
Large Designs
6-33
2. Add a 220 V, 50 Hz power supply to the circuit. (This is for the EU variant).
4. Assign variant status (in this case NA or EU) to each component as described below.
Large Designs
6-34
Electronics Workbench
Variants
To assign components to variants: 1. Open the desired circuit as in the following example:
2. Double-click on a component (for example V2) to display the components properties dialog box, and click on the Variant tab.
Indicates that the selected component is included in both the EU and NA variants of the circuit.
This is a 220V 50Hz power supply, so we want to include it in the EU (European) variant, but exclude it from the NA (North American) variant.
Large Designs
6-35
3. Highlight the line that contains NA in the Variant Name column and then select Excluded from the Status column.
Component is dimmed, indicating that it is not present in the active variant. To set which variant is active on your workspace, see 6.5.2.3 Setting the Active Variant for Simulation on page 6-40.
5. Continuing with this example, double-click on V1 and select the Variant tab. This is a 120V 60Hz power supply, so we want to include it in the NA (North American) variant, but exclude it from the EU (European) variant. 6. Highlight the line that contains EU in the Variant Name column and then select Excluded from the Status column. Large Designs
6-36
Electronics Workbench
Variants
Component is not dimmed, indicating that it is present in the active variant. To set which variant is active on your workspace, see 6.5.2.3 Setting the Active Variant for Simulation on page 6-40.
8. Set the variant status for the lamps X1 and X2, using the Variant tab as described in the preceding steps. X1 is rated at 120 V, so it is for the North American variant, and X2 is rated at 220V, so it is for the European variant. When you are done, the circuit will appear as shown below:
Large Designs
6-37
To exclude a component from future variants of a circuit: 1. Double-click on the desired component to display its properties dialog box, and click on the Variant tab.
Indicates whether this component will be in any future variants of this circuit that you create. Default value is Included.
2. Selected Excluded from the For New Variants drop-down list. This component will not be included in variants of this circuit that you may create in the future. Note If you create a new variant after setting the status to Excluded, and then place an identical component from the database, it will still be included, as that is the default setting for new components. Tip If you copy a component with variants from one circuit and paste it into a circuit with other variants, the pasted component will include the variants from the copied circuit. In this case, you may end up with a circuit that has variants (say USA and North America) that you may wish to combine. You can do this using the Rename button in the Variant Manager dialog box. Just rename one of them to match the other... for example rename USA to North America and the two variants will be merged into one variant called North America.
Large Designs
6-38
Electronics Workbench
Variants
Active Variant
Large Designs
6-39
Note You can also assign the variant status in the Variant tab of the HB/SCs properties dialog box as shown below.
Large Designs
6-40
Electronics Workbench
Variants
When NA is set as the active variant, the circuit appears as shown below.
Only the active components will be included when the above circuit is simulated. The dimmed components are inactive, and will not be simulated. 3. Right-click on the EU variant and select Set Variant Active from the pop-up that appears.
Large Designs
6-41
Only the active components will be included when the above circuit is simulated. The dimmed components are inactive, and will not be simulated.
Large Designs
6-42
Electronics Workbench
6.6
Facilities are provided to manage the files in a project as a whole: to version them, back them up, restore them, move them, and lock files within them so that no two designers accidentally work on the same file at the same time. Note that even if a project contains a top-level circuit that references a hierarchical block, it is not necessarily the case that the hierarchical block is in that same project. This is a choice left entirely up to you. It may not be desirable to backup and version that hierarchical block with the circuit that references it if, for example, the hierarchical block is accessed from many different projects.
Large Designs
6-43
6.6.1
Setting up Projects
To create a project for circuit files: 1. Choose File/New Project. The New Project dialog box appears:
2. Specify the name for your project, the folder where the project files are to be stored, and the folder where backups of the project file are to be placed. If the folders do not already exist, they will be created. Click the button next to the location fields to browse for the desired location. 3. To save your project, click OK. To cancel, click Cancel. The Project View tab of the Design Toolbox appears.
To add circuit files to the project: 1. Right-click on the Schematic folder in the project browser. From the pop-up menu that appears, choose Add file. 2. A standard file selector window appears. Navigate to the location of the circuit file you want included in the project, select it and click Open.
Large Designs
6-44
Electronics Workbench
3. The file is added to the project and its name appears in the project browser.
Note A circuit file can be part of more than one project. Schematic folder for circuits drawn as schematics in Multisim or Multicap. May be mutiple schematics as part of one project. PCB folder for circuits laid out in Ultiboard are logically the PCBs matching the schematic of the project. Documents folder for documents you wish to collect for the project. For example, MS Word description of project, Excel spreadsheet of costs, etc. Reports folder for reports generated by Multisim, for example, Bill of Materials, Netlist Report, etc. To add PCB, document or report files to a project, right-click on the folder for the desired type of file, for example, PCB and select Add file. In the file browser that appears, navigate to the desired file and click Open. To remove a file from a project, right-click on the file and choose Remove. To save a project, choose File/Save Project. To close the project, choose File/Close Project. Closed projects can be accessed quickly by choosing File/Recent Projects and choosing from the displayed list.
6.6.2
6-45
1. Double-click on a circuit file in the project browser. If the file is not in use by another user, it will open. If it is in use, you are prompted to open it as read-only. Note Files in use by another user are displayed with a different color in the project browser than files which are not in use. To open a project: 1. Choose File/Open Project. A standard Windows file browser appears. 2. If necessary, navigate to the correct folder and open the project file (with a .mp8 extension). Or 1. Choose File/Recent Projects and select the project from the list that appears. 2. Once the project is open, the project browser shows a list of all the files within that project.
6.6.3
To lock the file, preventing anyone else from opening it, right-click on the file name in the project browser and choose Lock File from the pop-up menu that appears. To unlock a file, freeing it for use by someone else, right-click on the file name in the project browser and choose Unlock File from the pop-up menu that appears. To set a file as the root (main file) in a project, right-click on the file name in the project browser and choose Set Root from the pop-up that appears.
Large Designs
6-46
Electronics Workbench
To see information on a file in a project, right-click on the file name in the project browser and choose Properties from the pop-up menu that appears. A message box similar to the following appears:
6.6.4
Version Control
At any given time, you can back up the contents of a project folder. You can then restore the folder as of that day and time. To back up a project folder: 1. Choose File/Version Control. The Version Control dialog box appears:
2. Select Back up current version. 3. The system generates a name for the backup, based on the system date. If you wish, you can change this by typing a new name in the field. 4. Click OK. The project file is backed up.
Large Designs
6-47
To restore a backed up project folder: Note Restoring a backed up project folder replaces the current folder. If you want to keep the current folder as well as the backed up version, save the folder to a new location or with a new name before proceeding. 1. Close all circuits associated with the project. 2. Choose File/Version Control. The Version Control dialog box appears. 3. Select Restore project. A dialog box listing the available backed up project folders appears. 4. Select the file you want and click OK. 5. You are prompted to confirm that you want to over-write the existing project folder contents with the backed up version.
Large Designs
6-48
Electronics Workbench
Components
Chapter 7 Components
This chapter introduces you to the underlying structure and organization of the Multisim 8 component database. It also explains how to access the database for parts and how to search the database for information. Some of the features described in this chapter may not be available in your edition of Multisim 8. Such features have an icon in the column next to their description. Refer to the release notes for a list of the features in your edition. The following are described in this chapter.
Subject Structure of the Component Database Database Levels Classification of Components in the Database Locating Components in the Database Browsing for Components Searching for Components Using EDAparts.com Locating and Downloading Components Types of Information Stored for Components Pre-Defined Fields User Fields Component Nominal Values and Tolerances Page No. 7-2 7-3 7-3 7-4 7-4 7-4 7-7 7-7 7-11 7-12 7-13 7-13
7-1
Components
Components
Subject Managing the Database Filtering Displayed Components Managing Families Modifying User Field Titles Deleting Components Copying Components Saving Placed Components Moving Components Between Databases Displaying Database Information Editing Components Converting 2001 or V7 Databases Updating Components from Databases Merging Databases
Page No. 7-14 7-15 7-16 7-17 7-18 7-19 7-21 7-21 7-22 7-22 7-23 7-24 7-25
7.1
7-2
Electronics Workbench
Components
7.1.1
Database Levels
Components are stored in three different database levels: the Master Database stores the components as originally shipped with Multisim; these remain the same and cannot be edited to ensure integrity of information. the Corporate Database stores components selected and, possibly, modified or created by an individual user or company; these remain available to any other selected users. the User Database stores components modified, imported or created by you; these are available only to you. The User Database and the Corporate Database are is empty when you first use Multisim. You can use the User Database to store frequently used components, components you create or components that you import through Edaparts.com (as described in 7.3 Using EDAparts.com on page 7-7) or create using Component editing (which is described in the following chapter). The Corporate Database is primarily intended for companies (or individuals) who work on projects where components with specific attributes are shared within a group or project. If you modify a component, thereby creating your own version, you must store it in either the User Database or Corporate Database. You cannot modify the Master Database . You can build a circuit that contains components from any or all of the available databases.
7.1.2
7-3
Components
Components
7.2
7.2.1
7.2.2
7-4
Electronics Workbench
Components
4. In the desired fields, enter your search criteria (you must enter at least one item). Enter alphanumeric characters, that is, text and/or numbers. Case is not considered, and you can use the * wildcard to search on partial strings. For example, in the Footprint Type field: CASE646-06 finds only the exact string CASE646-06 *06 finds any string ending with 06 CASE* finds any string starting with CASE a ? anywhere in the string will match exactly one character. For example, CAS? will match CASE, but not CASE646-06. 5. Click Search. When the search is complete, the Search Component Result dialog box appears. Tip The more specific your search criteria, the smaller the number of matching components. To select a component from the search results: When the search is complete, the Search Component Result dialog box appears, displaying information about the first component that matched your criteria. The Component list contains
7-5
Components
Components
a list of all the components that matched your criteria. For example, using the search example above, the results look like this:
Number of components that matched the search criteria. List of components that matched the search criteria. Details of the component selected from the list.
From the Component list, select the component you are interested in. To view information about any component found by the search, simply choose it from the list and the display fields change accordingly. 6. To place the selected component, click OK. You return to the Select a Component dialog box, where you can place the component by clicking OK. You can refine your search if your initial attempt yielded a large number of items. To refine your search: 1. Click Refine Search. The following dialog box appears.
7-6
Electronics Workbench
Components
Using EDAparts.com
7.3
Using EDAparts.com
Edaparts.com from Electronics Workbench allows you to: search for components to download into your User Database update your Master Database with new components created specifically for your edition of Multisim.
7.3.1
The PartMiner website displays in your browser. 3. If this is your first time using this website, register by following the on-screen prompts.
7-7
Components
Components
5. Click Research to search for downloadable components. 6. Enter the search information in the Search by fields.
7-8
Electronics Workbench
Components
Using EDAparts.com
7. Click Search. The search results are displayed. If your search criteria result in individual components, the components are listed.
If your search criteria yield no results, click the Back button on your browser and try again. 8. If available, you may optionally click the datasheet icon to view a PDF of the components datasheet. 9. Click the manufacturers part number (Mfr. P/N) of the desired component. More details about the component appear.
7-9
Components
Components
3. Select from the following options: To place the saved component on the active Multisim workspace, select Place component on Workspace. To save the part to the Miscellaneous Parts Bin of the User Database, click OK. To view the download status of the component being saved, click View Log.
7-10
Electronics Workbench
Components
The Eda Data Processing Log dialog box appears as shown below.
Indicates if the component has a footprint. Indicates if the component has a symbol. Indicates the method used to create the symbol being loaded. There are two possible methods: Pin Table (Pinout information) and Part Type (MSM understands the type of part).
Processing information
Note A component is not saved if it does not have pin-out information or a package type.
7.4
7-11
Components
Components
7.4.1
Pre-Defined Fields
For each component, the following information is stored in the Master Database: general information common parameters.
Group
TTL
Family
74S
Component Symbol
74S00D
Describes the component. Name of the company that manufactures the component and the components ID. Footprint for the component (real components only) and the package type. Used in Ultiboard or other vendors PCB layout products.
DO14
7-12
Electronics Workbench
Components
7.4.2
User Fields
In addition to the fields of data that are pre-defined and filled with information by Electronics Workbench before Multisim is shipped, you can also create your own fields of data to be stored about components. For details on setting up and entering data into user fields, see 8.10 Editing User Fields on page 8-53.
7.5
Note Only those components that exist in the active circuit can have values assigned to them in this dialog box. If a component is not in the active circuit, its corresponding field is disabled (greyed-out).
7-13
Components
Components
2. Enter the desired variances. 3. To cancel your changes, click Cancel. To save them, click OK. The simulation will now use random values as specified.
7.6
To invoke the Database Manager dialog box: 1. Click the Database Manager button on the Standard Toolbar. Or Choose Tools/Database/Database Manager. The Database Manager dialog box appears.
7-14
Electronics Workbench
Components
7.6.1
2. Click Filter to display the Filters dialog box. 3. Make selections as described below.
Select desired family. Use the CTRL and SHIFT keys with the left mouse button to select multiple items in the list, or select ALL to display all component families. Select the User fields to display. Type component name. You can also use wildcards. Click to display all User fields. Click to clear all checkboxes.
4. Click OK. The Filters dialog box closes and your selections are reflected in the Components tab of the Database Manager dialog box.
7-15
Components
Components
7.6.2
Managing Families
To add a component family to the User Database or Corporate Database database: 1. Select the Family tab in the Database Manager dialog box. 2. In the Database Family Tree area, choose the database in which you want to work. 3. Click Add Family. The New Family Name dialog box displays.
4. Enter the required information and click OK. You return to the Database Manager dialog box. 5. A default icon of the group is automatically assigned to the new family. To change it, follow the procedure below. 6. Your new family appears in the associated component family (group). For example, a new Sample family will appear in the Analog Group of the database you selected. To load a component toolbar button: 1. With the desired component family selected, click Load. You are prompted to navigate to the desired toolbar button file. 2. Select the desired toolbar button file and click Open. 3. The new toolbar button will be displayed on the Database Manager dialog box in the Family area and in the Family Tree area under the group where the family was added. To edit the default family name button: 1. With the desired component family selected, click Edit. 2. Your paint program is launched and the bitmap file of the button opened. 3. Edit the bitmap file to your requirements and then save and close the paint program. 4. The revised button will appear as the family name button. 5. You can edit both the ANSI and DIN buttons by selecting the ANSI or DIN selector in the Family area of the Database Manager.
7-16
Electronics Workbench
Components
To delete a component family from the User Database or Corporate Database. 1. In the Family list, choose the Component Family from which you want to delete a component family. 2. Click Delete Family. You are prompted to confirm your deletion. 3. The Component Family is automatically removed. To delete empty families from the User Database or Corporate Database: 1. Click Delete Empty Families. You are prompted to confirm your command to delete all empty family folders. 2. To proceed click Yes. All empty family folders will be deleted from the Family list for the selected database.
7.6.3
There are 20 User Fields that can be entered to provide User Specific information about the component
2. Enter the desired information in the Title fields. 3. Click Save. Note Modifying user field titles changes the titles for all databases, not only the selected database. User field titles can be changed again at any time.
7-17
Components
Components
7.6.4
Deleting Components
To delete an existing component from a database: 1. Click the Database Manager button on the Standard toolbar. Or Select Tools/Database/Database Manager.
2. Select the Components tab. 3. From the Database Name drop-down list, choose the database containing the component you want to remove (Corporate Database and User Database only). Note You cannot delete a component from the Master Database.
7-18
Electronics Workbench
Components
Use the SHIFT and CTRL keys with the left mouse button to select multiple items in the list.
5. Click Delete. You are prompted to confirm the action. 6. Click Yes. The components are removed from the database.
7.6.5
Copying Components
To copy an existing component: 1. Click the Database Manager button on the Standard toolbar. Or Choose Tools/Database/Database Manager. 2. Select the Components tab in the Database Manager dialog box. 3. From the Database Name drop-down list, choose the database containing the component you want to copy.
7-19
Components
Components
Use the SHIFT and CTRL keys with the left mouse button to select multiple items in the list.
5. Click Copy. The Select Destination Family Name dialog box appears.
6. In the Family Tree, navigate to the database, group and family that you want to copy the component(s) to and click OK. You are returned to the Components tab in the Database Management dialog box. Note You can only copy components to the Corporate Database or the User Database. 7. When you are finished copying components, click Close.
7-20
Electronics Workbench
Components
7.6.6
7.6.7
7-21
Components
Components
Use the SHIFT and CTRL keys with the left mouse button to select multiple items in the list.
4. Click Move. The Select Destination Family Name dialog box appears. 5. Navigate to where you wish to placed the moved component(s) and click OK.
7.6.8
7.6.9
Editing Components
The editing of components is discussed in detail in Chapter 8, Component Editing.
7-22
Electronics Workbench
Components
7.7
2. In the Type drop-down list select one of: Convert DB V7 ==> V8 converts V7 components to V8 format. (Default setting). Convert DB V6 ==> V8 converts V6 (Multisim 2001) components to V8 format. The title bar of the dialog box changes to reflect your selection. 3. Click on Select Source Database Names. The Select a Component Database Name dialog box displays. 4. Select the type of database that you wish to convert from the Files of type drop-down list: User (usercomp*.usr)user database. Corporate (cpcomp.prj)corporate database. 5. Highlight the desired database file (the one you wish to convert) and click Open. You are returned to the Convert Database dialog box.
7-23
Components
Components
7. Select the desired option and click OK. The database is converted. Auto-Rename... Import and automatically rename the duplicate components. Overwrite... Replace the Multisim 8 components with Multisim 2001 components. Ignore... Do not import Multisim 2001 components with duplicate names. 8. Click Close to close the Convert Database dialog box.
7.8
7-24
Electronics Workbench
Components
Merging Databases
If there are any differences, they will be indicated by a Diff button in the appropriate column and a red arrow. 2. If the Diff button appears in the Model column, you can click on it to show the difference in models between the component on the workspace and the model in the current database. 3. If the Diff button appears in the Footprint column, you can click on it show the difference between the component on the workspace and the footprint in the current database. 4. Select the components to update as indicated below.
Select so that all different footprints will be updated.
7.9
Merging Databases
To merge the contents of another User Database into your User Database: 1. Select Tools/Database/Merge Database. The Database Merge dialog box appears.
7-25
Components
Components
2. Click Select a Component Database Name and navigate to the User Database that you wish to merge into your User Database and click Open. You are returned to the Database Merge dialog box. 3. Click Start. The selected database is merged into your User Database. 4. Click Close.
7-26
Electronics Workbench
Component Editing
8-1
Component Editing
Page No. 8-52 8-53 8-54 8-55 8-55 8-67 8-70 8-74 8-80 8-87 8-92 8-96 8-101 8-101 8-102 8-105 8-111
Component Editing
Editing User Fields Creating a Component Model Using the Model Makers AC Motor BJT Model Maker Converters Diode Model Maker Transformers MOSFET (Field Effect Transistor) Model Maker Operational Amplifier Model Maker Silicon Controlled Rectifier Model Maker Zener Model Maker Creating a Model Using Code Modeling What is Code Modeling? Creating a Code Model The Interface File (Ifspec.ifs) The Implementation File (Cfunc.mod)
8.1
page 8-13. You can modify any component stored in the Multisim component database. (See Chapter 7, Components for more information on this database.) For example, an existing component might now be available in a new package (originally pin-through hole, now surface mount). You can easily copy the component information and change only the package details to create this new component. You can also create your own component and place it into the database or load a component from another source. You cannot edit the Master Database. However, you can copy components to the corporate or user database and then modify them as desired. Tip Where possible, we recommend that you modify an existing, similar component, rather than create one.
8-2
Electronics Workbench
Each component in the component database is identified by the following types of information, each of which are in a specific tab in the Component Properties dialog box. These are described in subsequent sections of this chapter. general information (such as name, manufacturer, date and author) symbol (pictorial representation of the component for schematic capture) model (information used to represent the actual operation/behavior of the component during simulation) necessary only for a component that will be simulated. pin model (information used to represent the behavior of the pin during simulation) footprint (the package that Multisim uses when exporting a schematic containing this component to a PCB Layout package such as Ultiboard) electronic parameters of the component user fields (if used to further define the components) In addition, components can be organized by using Database Management which lets you: add and remove component families from the User or Corporate databases modify user field titles for any database add and change family icons. Note If you modify any information about a component in the Master Database, you must store the modified information in the User Database or Corporate Database database to prevent corruption of the Master Database. Caution If you modify information about any component in the Corporate Database or User Database, you are prompted for a new name for the component. If you do not give a new name, Multisim saves the changes to the original location, so the original User Database or Corporate Database component information is overwritten. Tip You can also edit components that you have already placed on the workspace. This can be done using the components properties dialog box (double-click on the component to display) and changing parameters in the various tabs. Changes made to placed components in this manner will not be reflected in the database. If you place the same component from the database, it will contain the parameters that it had before it was edited. Edits to individual components can also be made via the Spreadsheet View. Component Editing
8-3
Component Editing
8.2
Component Editing
Enter the component name, author and type. Enter a brief description in the Function box that will identify the component. Select the component simulation and layout footprint requirements for the component. To use the component for simulation and PCB layout, select I will use this component for both simulation and layout (model and footprint). To use the component only for simulation, select Simulation only (model). To use the component only for PCB layout, select Layout only (footprint). Note The number of steps you will have to complete will depend upon which component requirements you select in Step 1. If you will use the component for both simulation and layout, the wizard includes eight steps. If you will use the component for simulation only, the wizard includes seven steps, for layout only it includes six steps.
8-4
Electronics Workbench
Component Editing
8-5
Component Editing
4. Select the desired Database Name, scroll down the list at the bottom of the dialog box and click the desired Footprint, for example, TO-39.
Component Editing
For more details on this dialog box, see 8.8.1 Select a Footprint dialog box on page 8-49. Note If you do not wish to assign a footprint at this time, select the database where the component will be stored and click on the Add button. The Add a Footprint dialog box appears. Type in a name in the Footprint field, for example, placeholder. Enter Generic in the manufacturer field and click OK. For details, see 8.8.2 Add a Footprint dialog box on page 8-51.
8-6
Electronics Workbench
5. Click on Select. You are returned to the Create Component Wizard. The footprint manufacturer and type are indicated in the Footprint Manufacturer\Type field.
Component Editing
6. Specify the number of pins for the component (3 in this example). You have a choice of selecting a single or multi-section component and the number of pins for each. The footprint information you enter here will appear in the Footprint tab of the Component Properties dialog box. 7. Click Next. Step 3 of the wizard appears.
The symbol you assign to this component will appear when it is placed on the workspace.
8-7
Component Editing
To modify the symbol information, click Edit and the Symbol Editor will be launched see 8.5.2 Creating and Editing a Components Symbol with the Symbol Editor on page 8-18 for more details. You can select, if you wish, this component to be used as the ANSI or DIN symbol. Selecting ANSI or DIN, allows you to use the symbol for the symbol set you prefer. By clicking Copy To ... , you can choose to have the same symbol used for both. You can also use this button to copy the symbol of a multi-section component to another section in that component. For details, see 8.5.1.1 Using Copy To... on page 8-17. Click the Copy From DB button to browse the component database libraries if you wish to use an existing component symbol. For details, see 8.5.1 Copying a Components Symbol on page 8-17. To accept the symbol information displayed, click Next. Step 4 of the wizard appears. The
Component Editing
symbol and footprint pin mapping is needed for exporting to a layout package. A symbol pin is the name of the pin in the symbol, for example, Vcc. The footprint pin is the number or name of that pin on the footprint in PCB layout. The symbol and footprint pins must accurately map in order to transfer correctly to PCB layout see Pins on page 8-23 for a more detailed explanation of symbol and footprint pins. For each symbol pin, enter a corresponding footprint pin. The mapping information you enter here will be displayed in the Footprint tab of the Component Properties dialog box. In the case where the number of symbol pins is less than the number of footprint pins click Add to indicate the pins that are not part of the symbol but are included in the footprint. This also applies to multi-section components that have digital power and ground that you dont want shown in the symbol.
8-8
Electronics Workbench
Choose Delete to remove pins as described above. If the component is for layout only, this is the last step of the wizard. For other component uses, the wizard continues. 8. Click Next. The following dialog box appears.
This is the section of a multi-section component. Read-only.
Component Editing
Click in field and select whether to include or exclude pin from Electrical Rules Checking.
Click in field and select pin model type from drop-down list that appears.
9. Click Next. If the component does not require simulation, skip to the step 12. Otherwise, the following dialog box appears.
The Select from DB button displays the Select Model Data dialog box, where you copy model data from an existing component. For details, see 8.6.4 Copying the Model of One Component to Another on page 8-46. The Copy to button displays the Select Target dialog box. In this case you are copying model information from a selected section of a multi-section component to the target
8-9
Component Editing
Component Editing
sections that you select in the Select Target dialog box. For details, see 8.5.1.1 Using Copy To... on page 8-17. This would typically be used after using the Select from DB button to copy model data from another component. This model data will have only been copied to the selected section of the component. By using Copy to, you can copy the information into the remaining sections of the component. The Model Maker button displays the Select Model Maker dialog box. For more information, see8.6.2 Loading an Existing Model on page 8-45. The Load from File button displays a standard file browser where you navigate to, and select, the desired model file. 10.If necessary, click Next to display this dialog box.
For each symbol pin enter a corresponding number to connect to its respective nodes in the model. The mapping information you enter here will be displayed in the Model tab of the Component Properties dialog box. 11. Click Next. The dialog box that appears lets you indicate where you would like the new component that you just created to be saved. If there is no family in the group that you
8-10
Electronics Workbench
want to save the component, you can add a new family by clicking on the Add Family button. For details, see 7.6.2 Managing Families on page 7-16.
Component Editing
12.Navigate to the family where you want to save the component and click Finish. The component is saved in the selected family.
8.2.1
- Click Start, right-click on My Computer and select Properties. - Under the Advanced tab, click the Environment Variables button. - In the User Variables For <user> section, note the path for TEMP (e.g., C:\Documents And Settings\User\Local Settings\Temp)
Windows 2000
8-11
Component Editing
- Under the Advanced tab, click the Environment Variables button. - In the User Variables For <user> section, note the path for TEMP (e.g., C:\Documents And Settings\User\Local Settings\Temp) Component Editing
Windows NT4
- Click Start, right-click on My Computer and select Properties. - Under the Environment tab, in the User Variables For <user> section, note the path for TEMP (e.g., C:\Documents And Settings\User\Local Settings\Temp) To create a symbol file: 1. Start Multisim 8. 2. Select Tools/Symbol Editor. 3. In the symbol editor, create the desired symbol. For details, see 8.5.2 Creating and Editing a Components Symbol with the Symbol Editor on page 8-18. 4. Select File/Save As and save the symbol into an easily accessible location (for example C:\Temp>Bjt_new.sym). To create a new component with the symbol saved in the above step: 1. Select Tools/Component Wizard. 2. Complete step 1 of the component wizard and click Next. 3. In step 2 of the component wizard, enter the desired footprint and number of pins. 4. In step 3 of the component wizard, click the Edit button. The Symbol Editor appears. 5. Select File/Open and open the symbol file saved earlier (C:\Temp>Bjt_new.sym). 6. Select File/Save As and save the symbol as sym_temp.sym in the folder determined for TEMP (e.g., C:\Documents And Settings\User\Local Settings\Temp). (You are overwriting the existing sym_temp.sym). 7. Select File/Exit. Notice that the symbol now appears in the component wizard preview window. 8. Continue with the remaining steps in the component wizard. For details, see 8.2 Adding Components with the Create Component Wizard on page 8-4.
8-12
Electronics Workbench
Editing Components
8.3
Editing Components
To edit an existing component: 1. Click the Database Manager button on the Standard Toolbar. Or Choose Tools/Database/Database Manager. The Database Manager dialog box appears: Component Editing
2. Select the Component tab if it is not selected. 3. In the Component List, select the component you want to edit.
8-13
Component Editing
4. Click Edit. The Component Properties dialog box appears, consisting of multiple tabs:
Component Editing
5. To edit component information in the various tabs, see: 8.4 Editing a Components General Properties on page 8-15 8.5 Editing a Components Symbol on page 8-16 8.7 Editing a Component Pin Model on page 8-47 8.6 Editing a Components Model on page 8-40 8.8 Editing a Components Footprint on page 8-48 8.9 Editing a Components Electronic Parameters on page 8-52 8.10 Editing User Fields on page 8-53 6. Click OK from any of the tabs to save the edited component.
8-14
Electronics Workbench
You are prompted to specify the location where you want the edited component saved.
Choose the database in which you want the edited component stored. Choose the family group in which you want the edited component stored and then click the family name. The OK button becomes active. Click here to add a new family (prompted for group and name).
Component Editing
Note Remember, you cannot change information in, or add to, the Master Database, so you must make your changes in either the Corporate Database or User Database.
8.4
8-15
Component Editing
8.5
Component Editing
8-16
Electronics Workbench
8.5.1
2. Navigate through the Database, Group, Family and Component lists to identify the component whose symbol you want to copy and click OK. (Click Close to cancel.) You return to the Component Properties dialog box, where the symbol associated with the selected component appears. 3. If you want to change the symbol set to be associated with this component, select ANSI or DIN from the Symbol Set box. The appropriate symbol appears in the upper part of the dialog box. 4. To confirm the association of this symbol with your component, click OK.
8-17
Component Editing
Component Editing
2. Select the sections to where you would like to copy the symbol and click OK. Note The Select Target dialog box is also accessed from the Select Simulation Model dialog box of the Create Component Wizard. In this case you are copying model information from a selected section of a multi-section component to the target sections that you select in the Select Target dialog box.
8.5.2
8-18
Electronics Workbench
To create a component symbol launch the Symbol Editor from Tools/Symbol Editor. The Symbol Editor looks like this:
Menu bar Toolbars Workspace Draw grid
Component Editing
Pin grid
Boundary box
The Symbol Editor dialog box consists of: the menu bar, which contains the menus with their associated commands. the toolbars, which give quick access to the most commonly-used tools. the workspace, which is where you build or modify your symbols. The Pin Grid aids in the placement of pins. Its size cannot be adjusted. The Draw Grid aids in the placement of graphic elements inside the Boundary Box. the Spreadsheet View, which is where you find and edit various graphical primitives and pin parameters. the Status Bar, which gives information on the commands and actions associated with the position of the cursor. The next sections describe the menus, toolbars and Symbol Editor functionality in more detail.
8-19
Component Editing
Component Editing
Pins Tab
Description The pins name. Select a row and click in this field to display a list of pin types. Choices are: Line Pin; Dot Pin; Clock Pin; Dot-Clock Pin; Input Wedge Pin; Output Wedge Pin; Zero-Length Pin. Select the desired pin type. The symbol changes to reflect your selection. For details on pin types, see Pins on page 8-23. Select a row and click in this field to display a list of pin lengths. Choices are: Short (1 grid); Regular (2 grids); Long (3 grids); Extra Long (4 grids). If Zero-Length Pin is selected in the Shape field, the list of pin lengths is not available in the Length field. Select a row and click in this field and select either Hidden or Visible to hide or show the pin name on the symbol. Select a row and click in this field to set the orientation of the pins name on the symbol. Choices are: Auto; Vertical; Horizontal. The font used for the pins name. The style of font used for the pins name (for example, Bold).
Length
8-20
Electronics Workbench
Component Editing
Column Name Font Size Footprint Pins Number Orientation Number Font Number Font Style Number Font Size Negation
Description The size of the font used for the pins name.
Select a row and click in this field and select either Hidden or Visible to hide or show the footprint pin on the symbol. Select a row and click in this field to set the orientation of the pin number on the symbol. Choices are: Auto; Vertical; Horizontal. The font used for the pins number.
8-21
Component Editing
Component Editing
Description The type of graphic element. The appearance of lines for graphics elements, excluding placed text. Select a row and click in this field to display a list of pen types. Choices are: Solid; Dash; Dot; Dash-Dot; Dash-Dot-Dot; Invisible; Solid Inside Frame. The width of the lines in graphic elements, excluding placed text. Select a row and click in this field to display a list of pen types. Choices are: Not Scalable; One Pixel; Two Pixels; Three Pixels; Four Pixels; Five Pixels. The color of lines for graphic elements, including placed text. Select a row and click in this field to display a color palette. The style of the fill in elements such as polygons, that have a fill. Select a row and click in this field to display a list of fill types. Choices are: Solid; Invisible; Horizontal; Vertical; Diagonal Downward; Diagonal Upward; Cross; Diagonal Cross. The color of the fill in elements such as polygons, that have a fill. Select a row and click in this field to display a color palette. The font name, active for placed text elements only. Select a row and click in this field to display a list of fonts. The font style, active for placed text elements only. Select a row and click in this field to display a list. Choices are: Regular; Italic; Bold; Bold Italic. The font size, active for placed text elements only. Select a row and click in this field to display a list of sizes.
Pen Width
Note If objects are grouped using Edit/Group, their distinct names and properties will no longer appear. The name for any grouped object will appear as Group.
8-22
Electronics Workbench
Shape
A symbol requires a shape to allow users to recognize its general function. You use the drawing capabilities of Multisims Symbol Editor to construct a shape that makes logical sense for the component you are creating or modifying. The simplest way to do this is to edit the shape of an existing component. Once this is done, you must add pins.
Pins
There are three main parts to a pin. These are the:
Name This is the name of the pin and is usually the same as that given in the data sheet. For example, most digital parts have pins named VCC and GND. These names are used to identify the actual name of the pin in the symbol and must be unique. It is recommended that you use concise names as they display best on the workspace and on printed output. There are two methods to handle components that have more than one pin with the same name:
1. Have one pin on the symbol that represents the duplicated pin (for example, GND) and match the footprint pins later to the one on the symbol pin. 2. Add multiple pins that have the same basic name but append a digit to represent each occurence. For example, you could represent multiple ground connections as GND1, GND2, GND3, etc.
Footprint Pin This is the pin number on the footprint for the device. This numbering
will match the numbering used in PCB layout. Within the Symbol Editor you only choose whether to display the footprint pins by default, or not, and their orientation on the workspace. Shape The shape of the pin denotes the type of pin. Multisim provides seven pin shapes that you can use: Line Pin; Dot Pin; Clock Pin; Dot-Clock Pin; Input Wedge Pin; Output Wedge Pin; Zero-Length Pin. For details, see Place Pin Toolbar on page 8-37. The shapes are used for identification purposes and do not have any impact on the operation of the component. Note The symbol and footprint pins must accurately map in order to transfer correctly to PCB layout.
8-23
Component Editing
Component Editing
The relationship of the Footprint Pin to the Symbol Pin is mapped in the Footprint tab of the Component Properties dialog box. For details, see 8.8 Editing a Components Footprint on page 8-48
To add a pin to a symbol: 1. Click on the desired pin type in the Place Pin Toolbar. 2. Click on the workspace where you want the pin to appear. Note Pins cannot be placed on top of each other or on corners of the boundary box. If you attempt to do so, the cursor switches to a circle with a line through it, indicating that the action is prohibited. You can edit a pins properties in the Pins tab of the Spreadsheet View. For details, see Pins Tab on page 8-20.
8-24
Electronics Workbench
2. Set the options in the Pin Name box: Prefix fieldappears before the pin name. A preview of the prefix appears in the Name Preview field. Suffix fieldappears after the pin name. A preview of the suffix appears in the Name Preview field. Index checkboxenables the Start from and Increment by fields. Start from fieldthe starting number for the pins. Increment by fieldthe size of the steps between pin numbers. 3. Set the options in the Pin Properties box. Shape drop-down listthe shape of the pin. Length drop-down listthe length of the pin. Name Orientation drop-down listthe orientation of the pin name. If you do not wish to show the pin name, turn off the Name Visible checkbox. Number Orientation drop-down listthe orientation of the pin number. If you do not wish to show the pin number, turn off the Number Visible checkbox. 4. Optionally, enable the Continuous Pin Placement checkbox. This allows you to place pins one after the other, based on the parameters entered in the above steps, until the ESC button on your keyboard is pressed.
8-25
Component Editing
2. Set the options in the Pin Name box: Prefix fieldappears before the pin names. A preview of the prefix appears in the Name Preview field. Index checkboxenables the Start from and Increment by fields. Start from fieldthe starting number for the pins in the array. Increment by fieldthe size of the steps between pin numbers in the array. Suffix fieldappears after the pin names. A preview of the suffix appears in the Name Preview field. 3. Enter the quantity of the pins desired in the Number of Pins in Array field. 4. Enter the spacing of the pins (in grids) in the Distance between Pins in Array field. 5. Set the options in the Pins Order box: Clockwise buttonpins are placed in ascending order clockwise. Counterclockwise buttonpins are placed in ascending order counter-clockwise. 6. Set the options in the Pin Properties box. Shape drop-down listthe shape of the pin. Length drop-down listthe length of the pin. Name Orientation drop-down listthe orientation of the pin name. If you do not wish to show the pin name, turn off the Name Visible checkbox. Number Orientation drop-down listthe orientation of the pin number. If you do not wish to show the pin number, turn off the Number Visible checkbox. 7. Click OK and place the array in the desired location. You are not permitted to place the array if there is insufficient space.
8-26
Electronics Workbench
2. Type the desired text in the Enter Text field. 3. Change the formatting of the text as desired:
Font fieldselect desired font from the list or type in. Font Style fieldselect desired style from the list. Size fieldselect desired size from the list or type in. Text Orientation boxselect either horizontal or vertical orientation. Automatic drop-downoptionally, select a new color from the pop-up that appears
when you click on the down-arrow. 4. Click OK and place the text in the desired location. Caution If the boundary does not contain sufficient space to place the text, it will be lost when you click the mouse.
8-27
Component Editing
In the In-Place Edit Mode, you can change the graphical elements of a symbol (e.g., the shape and placed text). You cannot add or remove pins as this would affect the footprint and model mapping. Component Editing Note The In-Place Edit Mode only changes the symbol for the selected component. It does not change the symbol for other components of the same value within the active circuit, or in the database.
File Menu
The following selections are available under the File menu:
Menu New Use Opens a new untitled document in the Symbol Editor. If you already have one open, it will close first, after prompting you to save any changes. Opens an existing document in the Symbol Editor. If you already have one open, it will close first, after prompting you to save any changes. Saves changes to the active document. Opens the standard Windows Save As dialog box where you can save the active document under a new or existing name. Opens the standard Windows Print Setup dialog box where you can enter the desired parameters for your printer. Opens the Print Preview dialog box, which shows the symbol in the active document with the best fit to the page. There are no other sizes available. Opens the standard Windows Print dialog box where you can enter the desired printing properties and print the symbol. The symbol is printed with the best fit to the page. There are no other sizes available for printing the symbol. Closes the Symbol Editor and returns you to the main Multisim screen. Before exiting, you are prompted to save changes, if any, to the active document.
Open
Save Save As
Exit
8-28
Electronics Workbench
Edit Menu
The following selections are available under the Edit menu:
Menu Undo Redo Cut Use Undoes the previous action. Redoes the previous undo action. Removes the selected element(s) from the workspace and places them on the clipboard. Places a copy of the selected element(s) on the clipboard. Note that pin names cannot be copied separately. Places a copy of the element(s) on the clipboard on the workspace at the cursors location. If the clipboard contains pins and graphical elements, only the graphical elements will be pasted. Removes the selected element(s) from the workspace. They are not placed on the clipboard. Copies the symbol on the workspace to the clipboard as a metafile. For use with Winword. Copies the symbol on the workspace to the clipboard as a bitmap image. For use in PaintBrush. Selects all of the elements on the workspace. Flips the selected element(s) horizontally. Does not apply to pins.
Component Editing
Copy
Paste
Delete
Copy As Picture Copy As Bitmap Select All Flip Horizontal Flip Vertical Rotate 90 Clockwise Rotate 90 Counter CW Snap To Grid Group UnGroup
Rotates the selected element(s) 90 degrees clockwise. Does not apply to pins.
Rotates the selected element(s) 90 degrees counter-clockwise. Does not apply to pins.
Snaps the selected element(s) to the Draw Grid that is found within the symbols boundary box. Does not apply to pins. Places selected elements in one group. Does not apply to pins. Returns an element that was made using the Group command, back to its individual elements. Does not apply to pins.
8-29
Component Editing
Use Brings selected element(s) to the foreground on the workspace. Other element(s) appear behind them. Does not apply to pins. Sends selected element(s) to the background on the workspace. Other elements appear in front of them. Does not apply to pins. Places a cursor at the lower-right side of the boundary box. Drag it to the desired location to resize the boundary box. You cannot make the boundary box smaller than the elements that it contains or smaller than is required for the pins that are attached to it.
Component Editing
View Menu
The following selections are available under the View menu:
Menu Toolbars Use Toggles the following toolbars on and off: Standard Toolbar; Zoom Toolbar; Draw Tools; Pin Place Toolbar; Drawing Toolbar. Toggles the spreadsheet view on and off. For details, see 8.5.2.1 Symbol Editor Spreadsheet View on page 8-20. Toggles the Status bar at the bottom of the screen on and off.
Toggles the Pin Grid, which displays outside of the Boundary Box on the workspace, on and off. For consistency throughout Multisim, the Pin Grids size cannot be changed. Toggles the Draw Grid, which displays inside the Boundary Box, on and off.
Show Draw Grid Draw Grid Size Zoom In Zoom Out Zoom 100%
Sets the size of the Draw Grid, which displays inside the Boundary Box. The choices are: No Grid; Smallest Grid; Small Grid; Regular Grid; Large Grid. Magnifies the element(s) in the workspace. Reduces the viewing size of the element(s) in the workspace.
Displays the items in the workspace at their normal viewing size. This is the size that they will be displayed at in Multisim. When the Symbol Editor first opens, the magnification is set to 200%.
8-30
Electronics Workbench
Use When viewing the workspace at high magnifications, you can use this command to center the image on the workspace. Select Center By Mouse and then click on the spot that you would like to be placed at the center of the workspace. Redraws all elements in the workspace.
Component Editing
Redraw
Pins Menu
The following selections are available under the Pins menu. For details on pin types, see Pins on page 8-23.
Menu Select Use Use to select element(s) on the workspace by clicking and dragging the mouse. Places a line pin on the workspace. Places a dot pin on the workspace. Places a clock pin on the workspace.
Line Pin Dot Pin Clock Pin DotClock Pin Input Wedge Pin Output Wedge Pin ZeroLength Pin Place Pin Array
Displays the Pin Array Options dialog box where you enter parameters to place a pin array on the workspace. For details, see Pin Array Options Dialog Box on page 8-26. Displays the Default Pin Options dialog box where you enter the default settings for the various pin types. For details, see Default Pin Options Dialog Box on page 8-25.
8-31
Component Editing
Graphics Menu
The following selections are available under the Graphics menu: Component Editing
Menu Text Use Displays the Enter Text dialog box where you enter and format text to be placed on the workspace. For details, see 8.5.2.3 Enter Text Dialog Box on page 8-27. Draws a line on the workspace. Draws a multiline on the workspace. Places half of an ellipse on the workspace. Click once at the desired starting point and click again where you wish the diameter of the ellipse to end. As you move the cursor, a dotted outline of the ellipse appears. Click again to place the outer point of the arc at the desired location. Places an arc on the workspace. Click once to place the center point of the arc, click again to place the outer diameter point. As you move the cursor, a dotted outline of the arc appears. Now move the cursor and click to place the arcs end point. Places a bezier curve on the workspace. Click to place the start of the curve, then move the cursor on the workspace. As you move the cursor, a dotted outline of the bezier curve appears. Click to place the end point of the bezier, then move and click the cursor twice more to form the final shape of the bezier. Places a rectangle on the workspace. Places a circle on the workspace. Click to place the center of the circle, then move the cursor on the workspace. As you move the cursor, a dotted outline of the circle appears. When the circle is the desired size, click to place it on the workspace. Places an ellipse on the workspace. Click to place the center of the ellipse, then move the cursor on the workspace. As you move the cursor, a dotted outline of the ellipse appears. When the ellipse is the desired shape and size, click to place it on the workspace. Places a polygon on the workspace. Click to place the polygons corners and right-click to finish. Places a bitmap image on the workspace. Click to display a standard Windows Open dialog box, where you can select the desired bitmap.
Segment Arc
Bezier
Rectangle Circle
Ellipse
Polygon
Bitmap
Note Graphical primitives such as lines and rectangles can only be placed inside the boundary box. If you attempt to place them outside of the boundary box, the cursor will change to a circle with a line through it, indicating that the action is prohibited.
8-32
Electronics Workbench
Layout Menu
To align two or more graphic elements, use one of the following selections from under the Layout/Align menu: Component Editing
Menu Left Horiz. Center Right Top Vert. Center Bottom Use Left aligns the selected elements. Horizontally centers the selected elements.
Right aligns the selected elements. Aligns the selected elements along their top edges. Vertically centers the selected items.
Tool Menu
The following selection is available under the Tool menu:
Menu Check Symbol Customize Use Confirms that the symbol has no errors, such as duplicate pin names.
Displays the Customize dialog box. For details, see 3.6 Customizing the Interface on page 3-36.
Help Menu
The following selections are available under the Help menu:
Menu Help Topics About Symbol Editor Use Displays the helpfile.
8-33
Component Editing
Pop-up Menus
Depending on where you right-click in the Symbol Editor, different pop-up menus appear. Component Editing Right-clicking from a menu displays a pop-up which allows you to toggle the following toolbars on and off: Standard Toolbar; Zoom Toolbar; Draw Tools; Pin Place Toolbar; Drawing Toolbar. Right-clicking in the workspace displays a pop-up that contains: Cut; Copy; Paste; Show Draw Grid; Draw Grid Size; Snap To Grid; Flip Horizontal; Flip Vertical; Rotate 90 Clockwise; Rotate 90 Counter CW. For details on these, see Edit Menu on page 8-29.
8.5.2.6 Toolbars
The toolbars give access to the most commonly-used tools.
Standard Toolbar
Save button. Saves changes to the active document. Cut button. Removes the selected element(s) from the workspace and places them on the clipboard.
Copy button. Places a copy of the selected element(s) on the clipboard. Paste button. Places a copy of the element(s) on the clipboard on the workspace at the cursors location.
8-34
Electronics Workbench
Button
Description
Component Editing
Copy As Bitmap button. Copies the symbol on the workspace as a bitmap image.
Redo button. Redoes the previous undo action. Print Preview button. Opens the Print Preview screen, which shows the symbol in the active document with the best fit to the page. There are no other magnifications available. Print button. Opens the standard Windows Print dialog box, where you can enter the desired printing properties and print the symbol. The symbol is printed with the best fit to the page. There are no other magnifications available for printing the symbol. About Symbol Editor button. Displays a splash screen with information about the Symbol Editor.
Zoom Toolbar
8-35
Component Editing
Component Editing
Zoom In button. Magnifies the elements on the workspace. Zoom 100% button. Displays the items in the workspace at their normal viewing size. This is the size that they will be displayed at in Multisim. When the Symbol Editor first opens, the magnification is set to 200%. Zoom Out button. Reduces the viewing size of the element(s) on the workspace.
Line button. Places a line on the workspace. Circle button. Places a circle on the workspace. Click to place the center of the circle, then move the cursor on the workspace. As you move the cursor, a dotted outline of the circle appears. When the circle is the desired shape and size, click to place it on the workspace. Ellipse button. Places an ellipse on the workspace. Click to place the center of the ellipse, then move the cursor on the workspace. As you move the cursor, a dotted outline of the ellipse appears. When the ellipse is the desired shape and size, click to place it on the workspace.
8-36
Electronics Workbench
Button
Description
Component Editing
Half Ellipse Arc button. Places a half ellipse arc on the workspace. Segment Arc button. Places an arc on the workspace. Click once to place the center point of the arc, click again to place the out diameter point. As you move the cursor, a dotted outline of the arc appears. Now move the cursor and click to place the arcs end point. Places a bezier curve on the workspace. Click to place the start of the curve, then move the cursor on the workspace. As you move the cursor, a dotted outline of the bezier curve appears. Click to place the end point of the bezier, then move and click the cursor twice more to form the final shape of the bezier. Text button. Displays the Enter Text dialog box, where you enter and format text to be placed on the workspace. For details, see 8.5.2.3 Enter Text Dialog Box on page 8-27. Bitmap button. Places a bitmap image on the workspace. Click to display a standard Windows Open dialog box, where you can select the desired bitmap. Check Symbol button. Confirms that the symbol has no errors, such as duplicate pin names.
8-37
Component Editing
Button
Description
Component Editing
Input Wedge Pin button. Places an input wedge pin on the workspace.
Output Wedge Pin button. Places an output wedge pin on the workspace.
Drawing Toolbar
8-38
Electronics Workbench
Button
Description Align Bottom button. Moves the selected objects vertically so that their bottom sides line up with the bottom side of the bottom-most object. At least two objects must be selected to enable this button. Does not work for pins. Snap To Grid button. Snaps the selected element(s) to the Draw Grid that is found within the symbols boundary box. Does not work for pins. Distribute Horizontal button. Evenly spaces the selected objects horizontally. At least three objects must be selected to enable this button. Does not work for pins. Distribute Vertical button. Evenly spaces the selected objects vertically. At least three objects must be selected to enable this button. Does not work for pins. Bring To Front button. Brings selected element(s) to the foreground on the workspace. Other element(s) appear behind them. Does not work for pins. Send To Back button. Sends selected element(s) to the background on the workspace. Other elements appear in front of them. Does not work for pins. Rotate 90 Counter CW button. Rotates the selected element(s) 90 degrees counter-clockwise. Does not work for pins. Rotate 90 Clockwise button. Rotates the selected element(s) 90 degrees clockwise. Does not work for pins. Flip Horizontal button. Flips the selected element(s) horizontally on the workspace. Does not work for pins. Flip Vertical button. Flips the selected element(s) vertically on the workspace. Does not work for pins. Ungroup button. Returns an element that was made using the Group command back to its individual elements. Does not work for pins.
Component Editing
Group button. Places selected elements in one group. Does not work for pins. Resize Boundary Box button. Places a cursor at the lower-right side of the boundary box. Drag it to the desired location to resize the boundary box. You cannot make the boundary box smaller than the elements that it contains or smaller than is required for the pins that are attached to it.
8-39
Component Editing
8.6
Component Editing
You can directly modify the existing model data by using the Add/Edit button, or you can enter information from scratch using this method. The Model Data and the Pin Mapping Table fields contain the information that make up the model itself (and are thus the most important part for simulation purposes). The Model Data field contains the models code (for example in
8-40
Electronics Workbench
SPICE) and the Pin Mapping Table lists the symbol pins and their corresponding mapping order (Model Nodes). Note If you modify a model, the model changes for all other components within the same database, whose model is based on that template. If you want to modify a model for a specific component, save the modified model with a name similar to that of the component. Alternatively, you can copy a model whose model template matches what you want. .You can import or load an existing model. These options are described in more detail in 8.6.2 Loading an Existing Model on page 8-45. Depending on your edition of Multisim, you can create your own model using the Model Makers. Procedures for using the Model Makers are given in 8.11 Creating a Component Model Using the Model Makers on page 8-54. Note If you choose to edit a models data or template directly, be very careful when entering information. Making a typing error or removing a character by mistake could cause the model to function improperly. Unless you are experienced at creating/editing models, it is recommended that you copy a model that has the same Template information you require.
Component Editing
8.6.1
8-41
Component Editing
To create a model and save it to the User Database or Corporate Database: 1. Click the Add/Edit button on the Model tab of the Component Properties dialog box. The Select a Model dialog box appears. Component Editing
Lets the user add a new model name to the database selected Allows the user to delete any of the models listed in the Model ID list Allows the user to copy the selected model to either the Corporate or User database Deletes all unlinked models from the selected database Displays the Filter dialog box, where you select the Manufacturer & Model ID to display Displays a list of components with the selected model through the Component List dialog box Save any changes made to the model data for that model Allows the user to have access to Multisims Model Maker in order to create a SPICE model for the selected model. Allows the user to select a model from a file. This model could be SPICE, Verilog, VHDL, or Code Model.
2. Select the database in the Database Name field where you want the new model to be stored. 3. Click the Add button. The Set Parameters dialog box appears. Enter the name that you would like to call the new model and click OK. 4. The name of the model appears in the Model ID List of the database you selected. 5. Highlight the model you just created in the Model ID List. Notice there is no model data provided. To enter information into the model, you can create a model using the available
Model Makers, load a model from a file, or copy model data information right into the Model Data field.
The models for a component can come from a variety of sources. Please note that some of these options may not be available in your edition of Multisim.
8-42
Electronics Workbench
To use a model created by the Model Makers: 1. Select the Model ID in the Select a Model dialog box. 2. Click the Start Model Maker button. The Select Model Maker dialog box appears. Component Editing
3. Select the Model Maker you wish to use to make a model. 4. Click Accept to continue to start the process of making a model. Click Cancel to return to the Model tab of the Component Properties dialog box. 5. For analog model makers, refer to subsequent sections of this chapter for procedures on using specific Model Makers. For RF model makers, see 15.5 RF Model Makers on page 15-31. 6. When you have entered in all the required information in the Model Maker dialog boxes, click OK. The data for the model you have just created will appear in the Model Data field.
8-43
Component Editing
2. Click Link Info in the Select a Model dialog box. The Component List dialog box displays.
Component Editing
3. Click OK to close the dialog. To display a list of components with a selected footprint: 1. Select a footprint in the Select a Footprint dialog box. 2. Click Link Info in the Select a Footprint dialog box. The Component List dialog box displays.
8-44
Electronics Workbench
8.6.2
8.6.3
8-45
Component Editing
8.6.4
Component Editing
Select the Group and Family of the component you want to choose the model from
2. Select from among the available databases in the Database drop-down list. 3. Using the Component list, choose the component whose model template most closely matches what you want. 4. To view the model of the component you selected, click the Model button. 5. Click OK to return to the Component Properties dialog box. 6. The model name is added to the list of models associated to the component.
8-46
Electronics Workbench
8.7
Note The Symbol Pin is the name of the pin. For example, most digital parts have pins named Vcc and GND. To enter pin parameters: 1. Select the type of component in the Component Type drop-down list. 2. Select the technology in the Component Technology drop-down list. 3. For each symbol pin, click in the corresponding field in the Type column and select the pin type from the drop-down list that appears. 4. Select whether or not you wish to include each symbol pin in the Electrical Rules Check by clicking in the corresponding field in the ERC Status column and selecting either INCLUDE or EXCLUDE. (The default is INCLUDE).
8-47
Component Editing
8.8
Component Editing
Shows the symbol pin names of the component and the footprint pin they are associated with in the package.
Note A footprint in the Master Database cannot be modified. To modify a footprint a copy must be added to the Corporate Database or User Database.
8-48
Electronics Workbench
8.8.1
Component Editing
2. Select the Database Name where the footprint is that you want to edit.
8-49
Component Editing
3. If the footprint is in the Master Database, select the footprint in the Data List and click the Copy To button. The Set Parameters dialog box arrears prompting you to place it in the Corporate Database or User Database. Component Editing
4. Click OK. The footprint is copied to the database you indicated and you are returned to the Select a Footprint dialog box. 5. Click the field of the footprint you want to modify. 6. Enter the appropriate information. Note Once a footprint is modified, you will be prompted to save the footprint the footprint with the modifications. If you choose not to save, the modifications will be removed. 7. Click the Save button. The modifications are saved. To map symbol and footprint pins: 1. Navigate to the Footprint tab of the Component Properties dialog box. 2. Select the footprint you wish to make modifications to in the Footprint Manufacturer\Type box. 3. In the Symbol Pin to Footprint Pin Mapping Table, for each Symbol Pin: Select its corresponding footprint pin from the drop-down list in the Footprint Pins column, using information from the components datasheet. Note For a discussion of the differences between symbol pins and footprint pins, see Pins on page 8-23. Select its swap group from the drop-down list in the Swap Group column. Pins in the same swap group can be interchanged during the PCB layout process.
8-50
Electronics Workbench
8.8.2
8-51
Component Editing
8.9
Component Editing
The common parameter fields are common to all components. These are:
Field Thermal Resistance Junction Description Enter or modify the thermal characteristics within the component (from the junction to the case), in watts or degrees centigrade. Enter or modify the thermal characteristics of the whole package (component) in watts or degrees centigrade. Enter or modify the power dissipation of the component, in watts. Enter or modify the temperature at which the power of the component/package begins to be de-rated, in order to operate the device in its safe operating range. Use degrees centigrade.
Power Dissipation
8-52
Electronics Workbench
Description Enter or modify the lowest ambient temperature at which the component can operate reliably. Use degrees centigrade. Enter or modify the highest ambient temperature at which the component can operate reliably. Use degrees centigrade. Enter or modify the electro-static discharge for the component.
Component Editing
ESD Rating
8.10
8-53
Component Editing
Component Editing
3. Click the appropriate title until a frame appears around it. 4. Enter or change the name for the Title. This name will appear in the User Properties dialog box for all components in all databases.
8.11
8-54
Electronics Workbench
of information provided by databooks are usually the same from one manufacturer to another, even though the names or labels and descriptions of parameters are different. Note See also, 8.6 Editing a Components Model on page 8-40. Component Editing
8.11.1 AC Motor
1. From the Model tab of the Component Properties dialog box, click Add/Edit. The Select a Model dialog box appears. 2. Click Start Model Maker. The Select Model Maker dialog box appears. 3. From the Model Maker List, select AC Motor and click Accept. (Click Cancel to return to the Model tab.) The 3 Phase AC Motor dialog box appears.
4. Enter desired values in the 3 Phase AC Motor dialog box. 5. When all values are entered, click OK to complete the model, or click Cancel to cancel.
8-55
Component Editing
Note The BJT Model dialog box shows preset values for the MPS2222 model.
2. Locate data information for the BJT model from a databook. To enter General data: 1. Enter the appropriate BJT type (NPN or PNP) in the Type of BJT field. This is usually found on the first page of the data book. 2. In the Type of Semiconductor field, enter the type of semiconductor. This is usually found written next to the component type. 3. If desired, change the default value set by Multisim for Nominal Temperature. 4. If desired, change the default value for Base Temperature for Input. This is typically found in the top left corner of the Electrical Characteristics table in the databook.
8-56
Electronics Workbench
To enter Maximum Ratings data: 1. In the databook for the BJT, locate the Maximum Ratings table for example: Component Editing
field.
2. Find the value for Emitter-Base Voltage and enter the value in the Emitter-Base Maximum Voltage (VEBO) field. To enter Output Admittance data: 1. In the databook, locate the Small Signal Characteristics table, and find the values for Output Admittance for example:
fields.
8-57
Component Editing
Component Editing
Note Databooks provide maximum and minimum values for the Output Admittance parameter. Select a typical value of output admittance. To enter Switching Characteristics data: 1. In the databook, find the Switching Characteristics table for example:
Use this information to enter data in the Switching
Characteristics
fields.
8-58
Electronics Workbench
2. In the databook, locate the Ceb and Ccb vs. Reverse Voltages (RV) graph for example:
Point corresponding to the lowest reverse voltage. Use this curve to enter Emitter-Base
Capacitance (Input Capacitance) data.
Component Editing
See below.
Point corresponding to the lowest reverse voltage. Select two intermediate points for Intermediate Values. Use this curve to enter
Collector-Base Capacitance (Output Capacitance) data. See
below.
To enter Emitter-Base Capacitance (Input Capacitance) data: 1. On the Ceb curve, locate the point corresponding to the lowest voltage, or the beginning point, of the Ceb curve. Use the coordinates of this point to enter values for:
Capacitance (Ceb1) Low-Value of Reverse Voltage
2. On the same curve, locate the point corresponding to the maximum voltage, or the end point. Use the coordinates of this point to enter values for:
Capacitance (Ceb4) Hi-Value of Reverse Voltage 3. To enter Intermediate Values, select two intermediate points close to the left side in the low
voltage region. Ensure that they are not too close, to avoid excessive error in the model. Use the coordinates of the first and second points to enter values for:
Capacitance (Ceb2) at Reverse Voltage Capacitance (Ceb3) at Reverse Voltage
8-59
Component Editing
To enter Collector-Base Capacitance Chart (Output Capacitance) data: 1. Using the Ccb curve from the same Ceb and Ccb vs. Reverse Voltages (RV) graph, repeat steps 1 through 3 above to enter values for: Component Editing
Capacitance (Ccb1) Low-Value of Reverse Voltage Capacitance (Ccb2) at Reverse Voltage Capacitance (Ccb3) at Reverse Voltage Capacitance (Ccb4) Hi-Value of Reverse Voltage
2. In the databook for the BJT, locate the hFE vs. Ic graph.
8-60
Electronics Workbench
To enter DC Current Gain (hFE) at base Temperature data: 1. Among the hFE vs. Ic curves at the base temperature for the BJT, select the one whose Vce is most likely the operating point for the transistor. For example:
Select a point to represent the intermediate DC Current Gain in the low Ic region. Point corresponding to minimal DC Current Gain Ic value for point corresponding to 0.5 of maximum gain in the low Ic region (see Entering On Voltages and Current-Gain Bandwidth Data on page 8-63). The fourth curve from top is the hFE vs. Ic curve at base temperature (Vce = 1V) Point corresponding to maximum DC Current Gain
Component Editing
Point corresponding to 0.5 of the maximum DC Current Gain in the low Ic region
Ic value for point corresponding to maximum gain (see Entering On Voltages and Current-Gain Bandwidth Data on page 8-63).
Point corresponding to 0.5 of the maximum DC Current Gain in the high Ic region
Note You must select a curve with the same voltage as the Ic-Vbe curve you will use to enter data on the last tab of this dialog box. See Entering On Voltages and Current-Gain Bandwidth Data on page 8-63. 2. Find the point on the curve corresponding to the minimal collector current, or the beginning point of the curve. Use the coordinates of this value to enter:
DC Current Gain (hFE1) Minimal Collector Current
3. Select a point from the low Ic region of the same curve. Use the coordinates of this point to enter:
DC Current Gain (hFE2) Intermediate Collector Current (low values range)
4. Find the highest point on the curve, and enter its DC Current Gain value in the Max Value of DC Current Gain (hFE_Max) field.
8-61
Component Editing
Note You must note the Ic value of this point to plot points on the Ic-Vbe curve you will use to enter data on the last tab of this dialog box. See Entering On Voltages and Current-Gain Bandwidth Data on page 8-63. Component Editing 5. Find the two points corresponding to 0.5 of the maximum DC current gain value, one in the low Ic region and one in the high Ic region. Use these points to enter:
Collector Current (IL) at 0.5 Max DC Current Gain (low values range) Collector Current (Ikf) at 0.5 Max DC Current Gain (high values range)
Note You must note the Ic value of the point in the low Ic region to plot points on the Ic-Vbe curve you will use to enter data on the last tab of this dialog box. See Entering On Voltages and Current-Gain Bandwidth Data on page 8-63. To enter DC Current Gain (hFE) at another Temperature data: 1. Using the hFE vs. Ic graph, find a curve at a different temperature from the base temperature. (This can be any other temperature.) For example:
Point corresponding to 0.5 of the maximum DC Current Gain in the low Ic region Point corresponding to minimal DC Current Gain Select a point to represent the intermediate DC Current Gain in the low Ic region. The second from top curve is hFE vs. Ic at 125 (Vce = 1V) Point corresponding to maximum DC Current Gain
2. Enter the temperature of the selected curve in the Another temperature on the Chart (t2) field. 3. Find the point on the curve corresponding to the minimal collector current, or the beginning point of the curve. Use the coordinates of this value to enter:
DC Current Gain (hFE1_t2) Minimal Collector Current
8-62
Electronics Workbench
4. Select a point from the low Ic region of the same curve. Use the coordinates of this point to enter:
DC Current Gain (hFE2_t2) Intermediate Collector Current (low values range)
Component Editing
5. Find the highest point on the curve, and enter its DC Current Gain value in the Max Value of DC Current Gain (hFE_Maxt2) field. 6. Find a point corresponding to 0.5 of the maximum DC current gain value in the low Ic region and enter its value in the Collector Current (IL_t2) at 0.5 Max DC Current Gain (low values range) field.
8-63
Component Editing
To enter DC Current Gain (hFE) at Base Temperature data: 1. On the graph, locate the curve with the same Vce as the one used in the hFE data. Enter its Vce value in the Collector-Emitter Voltage for Vbe vs. Ic (same as hFE curve) field. For example:
The second from top curve is the Vbe vs. Ic with same Vce as Ic-hFE curve. (See Entering DC Current Gain Chart data on page 8-60.) Point corresponding to minimal Vbe Point corresponding to 0.5 of the maximum DC Current gain. (See Entering DC Current Gain Chart data on page 8-60. Point corresponding to maximum DC Current gain. (See Entering DC Current Gain Chart data on page 8-60.)
Component Editing
2. Find the point on this curve corresponding to the minimal Ic value, or the beginning point of the curve. Use the coordinates of this point to enter:
On Base-Emitter Voltage (Vbe1) Low-Value of Collector Current
3. Using the Ic vs. hFE graph from the previous section, locate the Ic-hFE curve at the base temperature that was used to enter data on the third tab of this dialog box. At the point of the maximum DC Current Gain (hFE), note the coordinate for the collector current (Ic). 4. On the Ic-Vbe graph, find the point corresponding to this coordinate for Ic on the curve used in steps 1 to 3. Enter the voltage for this point in the On Base-Emitter Voltage (Vbe_hFEMax) at Max Gain field. 5. Using the Ic vs. hFE graph from the previous section, locate the Ic-hFE curve at the base temperature that was used to enter data on the third tab of this dialog box. At the point corresponding to 0.5 of the maximum DC Current Gain (hFE), note the coordinate for the collector current (Ic). 6. On the Ic-Vbe graph, find the point corresponding to this coordinate for Ic on the curve used in steps 1 to 4. Enter the voltage for this point in the On Base-Emitter Voltage (Vbe_iL) at 0.5 Max Gain Collector Current (low values range) field.
8-64
Electronics Workbench
To enter Vbe(sat)-Ic data: 1. Using the Ic vs. Vbe graph, locate the curve whose Vbe(Sat)@Ic/Ib=10. For example:
The top curve is Vbe-Ic when Vbe is saturated and Ic/Ib=10. Point corresponding to highest value of collector current
Component Editing
2. Find the highest point on the curve. Use the coordinates of this point to enter:
Saturation Base-Emitter Voltage (Vbe2_sat) Hi-Value of Collector Current
3. Select a point on the curve in the high values range of the collector current. Use the coordinates of this point to enter:
Saturation Base-Emitter Voltage (Vbe1_sat) Collector Current in the high values range
To enter Vce(sat)-Ic data: 1. Using the Ic vs. Vbe graph, locate the curve whose Vbe(Sat)@Ic/Ib=10. For example:
The bottom curve is Vbe-Ic when Vce is saturated and Ic/ Ib=10.
Point corresponding to highest value of collector current Select a point in the high values range of the collector current.
2. Find the highest point on the curve. Use the coordinates of this point to enter:
Saturation Collector-Emitter Voltage (Vce2_sat) Highest Value of Collector Current
8-65
Component Editing
3. Select a point on the curve in the high values range of the collector current. Use the coordinates of this point to enter:
Saturation Collector-Emitter Voltage (Vce1_sat) Collector Current in the high values range
Component Editing
To enter Current-Gain Bandwidth Product Chart (fT) data: 1. In the databook, locate the Current-Gain Bandwidth Product versus Frequency graph for example:
2. Locate the maximum fT value, or the highest point, of the curve. Enter this value in the Maximum Value of Current-Gain Bandwidth Product field. To enter Temperature Coefficients Chart data: 1. In the databook, locate the Temperature Coefficients chart for example:
8-66
Electronics Workbench
2. On the base-emitter temperature coefficient curve, find the minimum value, or the lowest point, and enter this value in the Lowest Value of Base-Emitter Voltage Temperature Coefficient field. Component Editing
8.11.3 Converters
Buck Converter
A buck converter is a step-down converter that can be represented by the following equivalent circuit:
For details on this Model Maker, see 8.11.3.3 Buck Converter on page 8-69.
Boost Converter
A boost converter is a step-up converter that can be represented by the following equivalent circuit:
For details on this Model Maker, see 8.11.3.1 Boost Converter on page 8-68.
8-67
Component Editing
Buck-Boost Converter
A buck-boost converter is a step-downstep-up converter that can be represented by the following equivalent circuit: Component Editing
For details on this Model Maker, see 8.11.3.2 Buck Boost Converter on page 8-69.
Cuk Converter
The cuk converter can be represented by the following equivalent circuit:
For details on this Model Maker, see 8.11.3.4 Cuk Converter on page 8-70.
8-68
Electronics Workbench
4. Enter desired values in the Boost Converter Model dialog box. 5. When all values are entered, click OK to complete the model, or click Cancel to cancel.
Component Editing
4. Enter desired values in the Buck Boost Converter Model dialog box. 5. When all values are entered, click OK to complete the model, or click Cancel to cancel.
8-69
Component Editing
5. When all values are entered, click OK to complete the model, or click Cancel to cancel.
4. Enter desired values in the Cuk Converter Model dialog box. 5. When all values are entered, click OK to complete the model, or click Cancel to cancel.
8-70
Electronics Workbench
2. Look up data information for the diode in a databook. To enter Reverse Characteristics data: 1. In the databook, find the Maximum Ratings and Electrical Characteristics table. 2. Based on information in this table, enter the following values:
Maximum repetitive peak reverse voltage (VRRM) Maximum DC reverse current at VRRM (IR) Typical reverse recovery time (trr).
To enter Reverse Breakdown data: 1. In the databook, find the Reverse Voltage vs. Reverse Current chart. If no data are available, enable Check if data not available. 2. On the chart, locate the graph that indicates the ambient temperature of 25 C. 3. Select a point on the graph that represents the mid-point of the horizontal direction, as indicated in the chart. 4. Use the coordinates of this point to enter values for:
Reverse Breakdown Voltage (BV) Reverse Breakdown Current (IBV)
8-71
Component Editing
To enter Instantaneous Forward Characteristics data: 1. In the databook, locate the Typical Instantaneous Forward Characteristics graph for example: Component Editing
Point corresponding to the highest forward voltage
2. Find the point of lowest forward voltage, at beginning point of the curve. Use the coordinates of this point to enter values for:
Lowest forward current (IF1) Lowest forward voltage (VF1)
3. Find the point of highest forward voltage, or the end point on the curve. Use the coordinates of this point to enter values for:
Highest forward current (IFM) Highest forward voltage (VFM).
4. Using your eye or a ruler, find the second or intermediate point on the curve which you think best identifies the transition point in the curve. Note Guidelines for selecting the intermediate point vary from one databook to another. If the graph is provided in logarithmic format, which is usually the case, a good way to find this point is to place a ruler along the beginning of the curve in the lower voltage area, which will look like a straight line. Where the curve begins to diverge from your ruler, use this point as your intermediate point. If the graph is provided in linear format, plot the data in logarithmic fashion and follow the ruler procedure. 5. Use the coordinates of this point to enter the values for: Forward current (IF2) Intermediate forward voltage (VF2).
8-72
Electronics Workbench
To enter Junction Capacitances data: 1. In the databook, find the Typical Junction Capacitance chart for example:
Point corresponding to the lowest reveverse voltage
Select a second point on the curve in the lower voltage area for the second to lowest reverse voltage. Select a third point on the curve in the lower voltage area for the third to lowest/ second to highest reverse voltage
2. Find the junction capacitance at zero reverse voltage and enter it in the Junction capacitance at zero reverse voltage (CJO) field. If this information is not given in the databook, enable Check if not available.
8-73
Component Editing
3. Find the point of lowest reverse voltage, or the beginning point of the curve. Use the coordinates of this point to enter the values for:
Junction capacitance (CJ1) Lowest Reverse Voltage (Vr1).
Component Editing
4. Find the point of highest reverse voltage, or the end point on the curve) and enter the coordinate values in the Junction capacitance (CJ4) and Highest Reverse Voltage (Vr4) fields. 5. Select two additional intermediate points on the graph, greater than the lowest reverse voltage but in the lower range of the reverse voltage. 6. Use the coordinate values of the second point to enter:
Junction capacitance (CJ2) Second to Lowest Reverse Voltage (Vr2).
7. Use the coordinate values of the third point to enter: Junction Capacitance (CJ3) Second to Highest Reverse Voltage (Vr3)
8.11.5 Transformers
The following transformer models are available in Multisim: 8.11.5.1 Ideal Transformer (Multiple Winding) on page 8-74 8.11.5.2 Linear Transformer (Multiple Winding) on page 8-75 8.11.5.3 Linear Transformer with Neutral Terminal on page 8-76 8.11.5.4 Two Winding Linear Transformer on page 8-77 8.11.5.5 Non-linear Transformer (Multiple Winding) on page 8-78
8-74
Electronics Workbench
3. From the Model Maker List, select Ideal Transformer (Multiple Winding) and click Accept. (Click Cancel to return to the Model tab.) The Ideal Transformer Model dialog box appears.
Click Option 1 or Option 2 to quickly select which input voltage to use. You can also edit the input voltage directly here.
Component Editing
You can increase the number of secondary outputs here. The number of Output Voltage fields will increase to match the number selected.
4. Enter desired values in the Ideal Transformer Model dialog box. 5. When all values are entered, click OK to complete the model, or click Cancel to cancel.
8-75
Component Editing
3. From the Model Maker List, select Linear Transformer (Multiple Winding) and click Accept. (Click Cancel to return to the Model tab.) The Linear Transformer Model dialog box appears. Component Editing
Click Option 1 or Option 2 to quickly select which Primary properties to use. You can also edit the Primary properties directly. You can increase the number of secondary outputs here. The number of these fields will increase to match the number selected.
4. Enter desired values in the Linear Transformer Model dialog box. 5. When all values are entered, click OK to complete the model, or click Cancel to cancel.
8-76
Electronics Workbench
3. From the Model Maker List, select Linear Transformer with Neutral Terminal and click Accept. (Click Cancel to return to the Model tab.) The following dialog box appears.
Component Editing
4. Enter the desired values in the dialog box. 5. When all values are entered, click OK to complete the model, or click Cancel to cancel.
4. Enter desired values in the Two Winding Linear Transformer Model dialog box. 5. When all values are entered, click OK to complete the model, or click Cancel to cancel.
8-77
Component Editing
1. Click on the General tab. 2. In the Primary box, enter the parameters for Option 1 and Option 2 as desired.
8-78
Electronics Workbench
3. If desired, increase the number of outputs in the Secondary Output Number drop-down list. The fields in each of the Output Voltage, Leakage Impedance and Winding Resistance fields increase to match the selection. Component Editing
4. Enter the desired parameters for each of the secondary outputs (in this example 1st, 2nd and 3rd) in the Output Voltage, Leakage Impedance and Winding Resistance fields.
1. Click on the Advanced tab. 2. Enter the Primary Turns, Core Length and Core Area parameters as required. 3. Use one of the pre-set sample B-H curves (Sample 1, Sample 2 or Sample 3), or enter your own B-H Curve parameters. 4. Click OK.
8-79
Component Editing
2. Look up data information for the MOSFET in a databook. To enter General data: 1. Enter the Channel Type of MOSFET. This is the title of the datasheet and is found at the top of the datasheet. 2. Find the Ratings table for the MOSFET. 3. From the data given in the table, enter the Max drain current.
8-80
Electronics Workbench
To enter Output Characteristics in Ohmic Region data: 1. From the MOSFET data information, find the Id vs. Vds graph for example: Component Editing
The first curve corresponds to the highest VGS value. The sharply-rising section of the curves is the Ohmic region of the curves
2. Locate the curve with the highest Vgs. Enter this Vgs value in the Vgs for the curve (Vgs_ohmic). 3. Locate a point in the ohmic region of the same curve. 4. Enter the Id value of this point in the Drain Current (Ids_Ohmic) field. 5. Enter the Vds value of this point in the Vds when drain current is Ids_Ohmic (Vds_Ohmic) field. To enter other output characteristics: 1. Using the same graph as above, locate the saturation region of the curves. The saturation region is the steady state situation of the curves where points along the curve fit on a
8-81
Component Editing
straight line. (The curve corresponding to the highest VGS does not have a saturation region.) For example:
Component Editing
The second from left curve corresponds to the highest VGS, and has a saturation region The region where the curves exhibit a steady state, or where points can be plotted along a straight line, is the saturation region. The fourth from left curve corresponds to the intermediate curve with a saturation region. The bottom curve corresponds to the lowest VGS value.
2. To enter data for the Ids_Vds curve 1 (for lowest Vgs) fields, find the curve with the lowest Vgs value. 3. Enter the Vgs value of this curve in the Vgs for this curve (Vgs_f0) field. 4. Using your eye or a ruler, locate the beginning and end points of the saturation region, or the area where the points fit along a straight line, for this curve. 5. Use the coordinates of the beginning point to enter:
Drain Current (Ids_f00) Vds_f00 (lower Vds).
Vgs value, but which still has a saturation region. (This excludes the topmost curve of the Id-Vds graph.) 8. Repeat steps 3 through 7 to enter values for: Vgs for this curve (Vgs_f2) Drain Current Vds_f20 (lower Vds)
8-82
Electronics Workbench
Drain Current (Ids_f21) Vds_f21 (higher Vds). 9. To enter data for the Ids_Vds curve 2 (for intermediate Vgs) fields, find the curve in the
middle point between the curves corresponding to the lowest Vgs and the highest VGS with a saturation region. 10.Repeat steps 3 through 7 to enter values for: Vgs for this curve (Vgs_f1) Drain Current (Ids_f10) Vds_f01 (lower Vds) Drain Current (Ids_f11) Vds_f11 (higher Vds).
Component Editing
To select Transfer Characteristics options: 1. In the databook, locate the Id vs. Vgs graph. Depending on the available data, under Vds for Id-Vgs curve and Multi Id-Vgs curve, enable the appropriate options. Note If the graph contains more than one Vsb curve, it implies that source and bulk (substrate) are not connected together. If the latter option is not enabled, you will be prompted to enter data in the Option A or
Option B fields on the same dialog box.
If the latter option is enabled (as it is in our example), the dialog box will prompt you to
Go to Option C (Next Page).
8-83
Component Editing
Component Editing
To enter Transfer Characteristics (Drain Current vs. Gate-to-Source Voltage) data for all three options (Option A, B, or C): 1. Look at the data in the Ids vs. Vgs graph for example:
The highest point on the curves corresponds to the maximum Id value. The leftmost curve corresponds to the lowest Vsb value. The second from left curve corresponds to the intermediate Vsb value. The rightmost curve corresponds to the highest Vsb value. Point corresponding to 10% of maximum Id value Multiple Vsb curves imply that source-bulk (substrate) are not connected together.
8-84
Electronics Workbench
2. If you are using Option A, proceed to step 4. If you are using Option B, proceed to step 3. If you are using Option C, to enter data in the Ids-Vgs Curve for lowest Vsb fields, locate the curve with the lowest Vsb. 3. If you are using Option B, enter the Vds value in the Vds for Ids-Vgs curve field. If you are using Option C, enter the Vsb value in the Vsb for this curve (Vsb_C1) field. 4. Find the maximum Id, or the highest point of the curve. Use the coordinates for this point to enter: for Option A:
Drain Current (Ids_A1) Vgs_A1 (lower Vgs)
Component Editing
for Option B:
Drain Current Ids_B1 Vgs_B1 (lower Vgs)
for Option C:
Drain Current (Ids_C11) Vgs-C11 (lower Vgs)
5. Find the point on the curve which corresponds to 10% of the maximum Id on the same curve. Use the coordinates of this point to enter: for Option A:
Drain Current (Ids_A2) Vgs_A2 (higher Vgs)
for Option B:
Drain Current (Ids_B2) Vgs_B2 (higher Vgs)
for Option C:
Drain Current (Ids_C12) Vgs_C12 (higher Vgs)
6. To complete the Option C dialog box, to enter data in the Ids-Vgs Curve for highest Vsb, find the curve with the highest Vsb value, and repeat steps 3 through 5 above to enter data for:
Vbs for this curve (Vsb_C3) Drain Current (Ids_C31) Vgs_C21 (lower Vgs) Drain Current (Ids_C32) Vgs_C22 (highest Vgs)
8-85
Component Editing
7. To enter data in the Ids-Vgs Curve for Intermediate Vsb fields, select the curve corresponding to a Vsb value in between the highest and lowest Vsb. Repeat steps 3 through 5 above to enter data for: Component Editing
Vsb for this curve (Vsb_C2) Drain Current (Ids_C21) Vgs_C21 (lower Vgs) Drain Current (Ids_C22) Vgs_C22 (highest Vgs)
To enter Conditions: 1. Determine whether the bulk and source of the model are connected, and select the appropriate answer beside Bulk and Source connected. The substrate condition can be determined by two means. The first is to check the schematic of the device where the internal connections of the MOS transistor are shown. Note The second is to check the Id-Vgs graph. If the graph contains more than one Vsb curve, it suggests that source-bulk (substrate) are not connected together. 2. In the databook, locate the Capacitances vs. Drain-to-Source Voltage chart. If it is available, you may enter data in the Capacitances vs. Drain-to-Source Voltage fields. If it is not available, enable Coss-Vds and Crss-Vds curve NOT available, and use the datasheet to enter capacitances.
8-86
Electronics Workbench
To enter Capacitance values from the datasheet: 1. In the databook, find the Characteristics table. 2. From the table, enter data for:
Feedback capacitance Input capacitance Output capacitance Drain-Substrate Voltage
Component Editing
8-87
Component Editing
2. Look up data information for the operational amplifier in a databook. To enter General data: 1. In the Transistor Type field, select the type of transistor used in the input stage. This can be determined by looking at the schematic of the internal structure of the opamp. Note This information is optional, as the opamp model can be based on any type of input transistor. If the type of the input transistor is not important, select Dont Care. To enter input data: 1. In the databook, find the two tables labeled Electrical Characteristics at specified free-air temperature. 2. Use the data from these tables to enter:
Input Capacitance (Ci) Input Offset Current (I1o) Input Bias Current ((I1b) Input Offset Voltage (V1o) Common-mode Input Resistance (Rcm) Differential-mode Input Resistance (R1) Common-mode Rejection Ratio (CMRR) Voltage Gain Avd
Note The Common-Mode input resistance is usually very high. If its value is not available, choose 2 Gohm as the default.
8-88
Electronics Workbench
Note While the typical value for the Common-Mode Rejection Ratio (CMRR) is provided in the Electrical Characteristics table, its variations with frequency are also provided in a chart called Common-Mode Rejection Rate Vs. Frequency. If you use this chart, use the CMRR value for the lowest frequency possible. Component Editing Note While the typical value for Large Signal Differential Voltage Amplification (Avd) is provided in the Electrical Characteristics table, you can also find it in a chart called Open-Loop Large Signal Differential Voltage. If you use this chart, use the Avd value at the lowest frequency. Note Databooks provide Avd gain in either dB or V/mV. If the value is provided in V/mV, you can still enter the data in dB. However, you should convert the numerical values: value in dB = 20 * log[1000 * (value in V/mv)]
8-89
Component Editing
To enter Gain-frequency curve poles and Zero data: 1. In the databook, locate the Avd-Open-Loop Single Differential Voltage Amplification vs. Frequency chart for example: Component Editing
2. Find the first pole on the curve, or the point on the curve where the first horizontal line transitions into a slope. Enter the frequency value for this point in the Pole 1 frequency (fr1) field. 3. Find the second pole on the curve, or the point where the slope transitions into a sharper slope. Enter the frequency value for this point in the Pole 2 frequency (fr2) field. To enter High frequency pole and zero data, find higher frequency poles using the curve mentioned above, web sites or books. If these pieces of information are not available, enable Not Available.
8-90
Electronics Workbench
2. In the databook, locate the Operating Characteristics table. 3. Use the data from this table to enter:
Slew Rate (SR+) (non-inverting mode) Slew Rate (SR-) (inverting mode)
Note Databooks may provide only one value for both inverted and non-inverted slew rates. 4. Refer to the Electrical Characteristics tables mentioned in the previous section. Use the data from these tables to enter:
Output Resistance (Ro) Maximum Source Current (Isr) Maximum Sink Current (Isn)
8-91
Component Editing
Note Databooks normally provide the short circuit output current. This is the maximum value of the output current which the output node can provide if it is connected to the negative power supply, or can accept if it is shorted to the positive power supply. You should enter its value regardless of its sign. Component Editing
8-92
Electronics Workbench
To enter Electrical Characteristics data: 1. Locate the Electrical Characteristics table for example:
Use this information to enter data in the
Component Editing
Electrical Characteristics
fields under the Electrical Data, Max Forward Voltage tab.
Electrical Characteristics
fields of under the Time Data, Max Ratings tab. See Entering Time Data and Maximum Ratings Data on page 8-95.
3. In the databook, locate the Maximum Ratings table. 4. Based on the data in the table, enter the value of the Peak Forward Blocking Voltage field. 5. Multiply this value by 1.05 and enter the value in the 1.05 Peak Reverse Blocking Voltage field.
8-93
Component Editing
To enter Maximum Forward Voltage Chart data: 1. In the databook, locate the Instantaneous Forward Current vs. Instantaneous Voltage graph, and find the If-Vf curve at 25. For example: Component Editing
2. On the curve, find the point at the minimum If, or the beginning point of the curve. Use the coordinates of this point to enter: Instantaneous Forward Current. Minimum value of instantaneous voltage. 3. Find the point at the maximum If, or the end point of the curve. use the coordinates of this point to enter:
Instantaneous Forward Current Maximum value of instantaneous voltage.
4. Locate an intermediate point on the curve corresponding to the transition point. Since the graph is provided in logarithmic format, you can do this by using a ruler to draw a line starting at the beginning point and following the straight line of the curve in the lower
8-94
Electronics Workbench
voltage area. Where the curve begins to diverge from your ruler, use this point as your intermediate point. Use the coordinates of this point to enter:
Instantaneous Forward Current Intermediate value of instantaneous voltage
Component Editing
To enter Electrical Characteristics data, refer to the Electrical Characteristics table mentioned in the previous section, and enter data in the Turn-On Time and Turn-Off Time fields. To enter Maximum Ratings Chart data: 1. Refer to the Maximum Ratings table mentioned in the previous section. 2. Find the Forward Current and enter this value in the Forward Current field. 3. For the Reverse Current field, find the reverse current (IRC) when the device is in off-state and enter this value, or, if this value is not provided, enter 0. 4. For the Reverse Voltage field, find the reverse voltage (VRC) when the device is in off-state or, if this value is not provided, enter 0. 5. For the Identifier field, enter 1 if Reverse Current and Reverse Voltage values are available, or 0 if they are unavailable.
8-95
Component Editing
6. For the first Parameter related to off-state field, enter 0 if the Reverse Current and Reverse Voltage values are available, or, if they are not provided, enter the Forward Current value. Component Editing 7. For the second Parameter related to off-state field, enter 0 if the Reverse Current and Reverse Voltage values are available, or, if they are not provided, enter the Peak Reverse Blocking Voltage value.
8-96
Electronics Workbench
3. From the databook, locate the Electrical Characteristics table for example:
Use the information from this table to enter data in the Reverse
Component Editing
Characteris-ti cs fields.
To enter Reverse Characteristics data, use the information from the table for the following fields:
Nominal Zener Voltage (Vzt) Zener Test Current (Izt) Nominal Zener Impedance at Zzt and Izt (Zzt) Leakage Current (Ir) Reverse Test Voltage (Vr) Zener Impedance near Breakdown Knee (Zzk) Zener Current near Breakdown Knee (Izk)
Note In the example, the databook only provides the maximum Zener impedance. To find a typical value for Zzk, use 0.75 times the maximum value of Zzk. To find the typical value of Zzt, you can use the Zz-Iz graph. Find or estimate a curve at the nominal zener voltage given in the table, and choose the point which corresponds to the test current given in the table. Use the Zz coordinate of this point to enter as the typical value.
8-97
Component Editing
To enter Forward Characteristics data: 1. In the databook, locate the If-Vf graph, and find the maximum curve at 25 for example: Component Editing
The sixth from left curve is the maximum curve at 25.
Point corresponding to intermediate forward voltage Point corresponding to minimum forward voltage
2. Find the point on the curve with the lowest forward voltage, or the beginning point. Use the coordinates of this point to enter:
Forward Current (If1) Lowest Forward Voltage (Vf1)
3. Find the knee point on the curve, or the point where the slope changes drastically. Use the coordinates of this point to enter:
Forward Current (If2) Intermediate Forward Voltage (Vf2)
4. Find the point of maximum forward voltage, or the highest point on the curve. Use the coordinates of this point to enter:
Highest Forward Current (Ifm) Highest Forward Voltage (Vfm)
8-98
Electronics Workbench
To enter Temperature Coefficient data: 1. From the databook, find the Temperature Coefficient versus Zener Voltage graph for example:
Point corresponding to the temperature coefficient at the Nominal Zener voltage.
Locate the Vzt and find the corresponding point on the curve to determine the temperature coefficient.
2. Locate the curve corresponding to the models test current as given in the Electrical Characteristics table. (If it is not on the graph, estimate its placement.) 3. Find the point corresponding to the models Vz, as provided in the Electrical Characteristics table. Enter the Temperature Coefficient for this point in the Temperature Coefficient at Zener Nominal Voltage (THETA_vz) field.
8-99
Component Editing
To enter Capacitance vs. Bias Voltage data: 1. In the databook, locate the Capacitance versus Nominal Vz graph for example: Component Editing
The capacitances at three bias voltages.
Locate the Vzt and plot the points on the three curves to determine capacitance values.
2. On each of the three curves in the graph, locate the point corresponding to the Vzt provided in the Electrical Characteristics table. 3. For the curve at zero bias voltage, use this point to enter the capacitance value in the Capacitance at 0 Bias Voltage (CJ1) field. 4. For the intermediate curve, enter its bias voltage in the Intermediate Bias Voltage field and enter the capacitance value for the point you have marked in the Capacitance (CJ2) field. 5. For the curve with the highest voltage, enter its bias voltage in the Highest Voltage field. (In our example, this value is 50% of the nominal Zener voltage (Vzt) of the model, as provided in the Electrical Characteristics table.) Enter the capacitance value for the point you have marked in the Capacitance (CJM) field.
8-100
Electronics Workbench
8.12
Ifspec.ifs
Cfunc.mod
modelname.dll
8-101
Component Editing
8-102
Electronics Workbench
9. In order to use your code model in Multisim, choose a model in the normal way in the component wizard, and select Load from File. Set the file type in the dialog to Code Model DLL(*.dll), and browse to the codemodl directory if necessary. Select the .dll file you just created. Component Editing 10.If you have not altered the codemodl directory structure, the model name and spice model name will be automatically populated from the ifspec.ifs file. The format should look as follows: .MODEL <DLL> <name>(<params>) Where <DLL> is the .dll name of your model (without the .dll extension), <name> is the Spice_Model_Name from your Ifspec.ifs, and <params> is an optional list of the type <param_name> = <default value> separated by spaces (not commas), and serves to override any default parameter values defined in Ifspec.ifs. Delete the string _INSERT_PARAMS and type in your desired parameters, or leave the parentheses empty if you wish to use all defaults.
GAINTEST Example
The GAINTEST example is included in the Multisim install. (Note: This example assumes familiarity with the Component Wizard.) 1. Set up your environment variables for Microsoft Visual C++ by running VcVars32.bat (installed, by default, in the c:/Program Files/Microsoft Visual Studio/ Vc98/Bin folder). 2. In your Multisim executable directory, go to the subdirectory called codemodl\USER\GAINTEST. Notice that it contains only two files: Ifspec.ifs and Cfunc.mod. 3. If you wish, you may examine the Ifspec.ifs file for the GAINTEST model. This defines many of the important characteristics of the GAINTEST model: The C_Function_Name (cm_gaintest) The Spice_Model_Name (gaintest) One input port (analog: voltage, differential voltage, current, or differential current). One output port (same options as the input). Three model parameters (in_offset, gain, and out_offset). Note that each parameter is given a plaintext description, a data type, and a default value. All three of them have Null_Allowed defined as yes, so they are all optional parameters. If any of these parameters are omitted when calling the model, the default value will be used. 4. If you wish, you may examine the Cfunc.mod file for the GAINTEST model. This file contains the actual code model a simple C language function with the same name defined as C_Function_Name in the Ifspec.ifs file. Note use of XSpice keywords
8-103
Component Editing
such as INPUT, OUTPUT, PARAM, PARTIAL, and AC_GAIN. Note also the use of the model parameters defined in the Ifspec.ifs file. 5. Note that the GAINTEST Cfunc.mod file includes the following: Component Editing SPICEdev * FAR DynDEVices[] = { &cm_gaintest_info }; as required by Multisim. 6. To compile the GAINTEST model, go to the codemodl\USER folder and execute the following command: MAKE_DLL GAINTEST After successful completion, note that two new files have been created in the GAINTEST directory: Gaintest.c and Gaintest.dll: The Gaintest.c file contains all the information from the Ifspec.ifs and Cfunc.mod files, expanded into a format understood by the Microsoft Visual C compiler and the Multisim implementation of XSpice. If you examine this file, youll notice that all of the XSpice keywords have been replaced with fairly complex structure and array references. The Gaintest.dll file contains the compiled code model, ready for execution. 7. Move this Gaintest.dll file into the main codemodl directory so that Multisim may find it. 8. If Multisim is running, you must exit and restart it so that it may load the new GAINTEST model. Multisim only recognizes new code models on startup. 9. In Multisim, run the component wizard as follows: Create an analog component, simulation only. Give the part two pins, one input and one output. On the Select Simulation Model step, click on the Load from File button. In the file-selection dialog that appears, change the filter to Code Model DLL(*.dll) and browse to the codemodl directory if necessary. Select the Gaintest.dll file and click Open. The model name should change to GAINTEST and the model data to .MODEL GAINTEST gaintest(_INSERT_PARAMS) In the Model Data section, change _INSERT_PARAMS to gain=2.0 (this creates a part that multiplies the input voltage by two). In the pin mapping section, change the SPICE Model Type to XSpice model(a) Finally, put this model in some logical place in your User Database.
8-104
Electronics Workbench
10.Create a new circuit and place your new part in series. You may verify that any voltage applied to the part (DC or AC) will be doubled on output. If you wish, you may edit the parts model on the circuit to adjust the gain parameter, or add in values for the in_offset or out_offset parameters as well. Component Editing
8-105
Component Editing
where:
function_name is a valid C identifier which is the name of the main entry point (function) for the code model. It may or may not be the same as the SPICE model name. To reduce the chance of name conflicts, we recommend you use the prefix UCM_ for user code model, or use a prefix based on your own initials. The following prefixes are used by the XSPICE simulator core and should not be used for user code models: A2VERI A2VHDL ADC_BRDG ASRC ASWITCH BJT BSIM CAP CCCS CCVS CKT CLIMIT CM CMETER CORE CP CSW D_2_R D_AND D_BUFFER D_CHIP D_DFF D_DLATCH D_DT D_FDIV D_INV D_JKFF D_NAND model_name D_NOR D_OPEN_C D_OPEN_E D_OR D_OSC D_PULLDN D_PULLUP D_RAM D_SOURCE D_SRFF D_SRLATC D_STATE D_TFF D_TRISTA D_VERI D_VHDL D_WGEN D_XNOR D_XOR DAC_BRDG DAC_HIZ DEV DIO DIVIDE ENH EVT EW_CAP EW_IND EW_RES EW_SCR EW_SWTCH EW_VLT FTE GAIN HLP HYST ICM IDN ILIMIT IND INDUCTOR INP INT IPC ISRC JFET LCOUPLE LIMIT LMETER MES MFB MIF MOS1 MOS2 MOS3 MULT N1 NCO ONESHOT POLY POT PPT PWL R_2_V RDELAY RES RGAIN S_XFER SINE SLEW SMP SQUARE SUMMER SW TRA TRIANGLE URC VCCS VCVS VERIZA VHDL2A VSRC XCAP ZENER
Component Editing
is a valid SPICE identifier which will be used on SPICE deck .model records to refer to this code model. It may or may not be the same as the C function name. is a string describing the purpose and function of the code model.
text
For example:
NAME_TABLE: Spice_Model_Name: capacitor C_Function_Name: cm_capacitor Description: Capacitor with voltage initial condition
8-106
Electronics Workbench
Component Editing
Port_Name: name Description: text Default_Type: default Allowed_Type: [type type type] Vector: vector Vector_Bounds: size Direction: dataflow Null_Allowed: null
where:
name text default is a valid SPICE identifier giving the name of the port. is a string describing the purpose and function of the port. specifies the type used for the port when no type is explicitly specified. Must be one of the items listed in type. lists the allowed types to which the port can be connected, with names separated by commas or spaces (for example, [d, g, h]. Type Name d g gd h hd i id v vd vnam vector Valid Directions in, out in, out in, out in, out in, out in, out in, out in, out in, out in Description digital conductance (voltage input, current output) differential conductance (voltage input, current output) resistance (current input, voltage output) differential resistance (current input, voltage output) current differential current voltage differential voltage current through named voltage source
type
specifies whether or not port is a vector and can be considered a bus. Choose from: yes - this port is a vector no - this port is not a vector
8-107
Component Editing
size
for port that are vectors only, specifies upper and lower bounds on vector size. Lower bound specifies minimum number of elements, upper bound specifies maximum number of elements. For unconstrained range, or ports that are not a vector, use a hyphen (-). specifies the dataflow direction through the port. Choose from: in out inout specifies whether or not it is an error to leave the port unconnected. Choose from: yes - this port may be left unconnected no - this port must be connected
Component Editing
dataflo w
null
For example:
PORT_TABLE: Port_Name: Description: Direction: Default_Type: Allowed_Types: Vector: Vector_Bounds: Null_Allowed: cap capacitor terminals inout hd [hd] no no
8-108
Electronics Workbench
where:
name is a valid SPICE identifier which will be used on SPICE deck .model cards to refer to this parameter.
Component Editing
text type
is a string describing the purpose and function of the parameter. is the parameter data type. Corresponds to the underlying C data type (e.g. double), not the conceptual type of the parameter (e.g. voltage). Choose from: boolean (if C data type is Boolean_t with valid values MIF_TRUE and MIF_FALSE) complex (if C data type is Complex_t with double members real and imag) int (if C data type is int) real (if C data type is double) string (if C data type is char*) pointer (if C data type is void*) specifies whether parameter is vector or scalar. Choose from: yes - parameter is vector no - parameter is scalar for parameters that are vectors only, specifies upper and lower bounds on vector size. Lower bound specifies minimum number of elements, upper bound specifies maximum number of elements. For unconstrained range, or parameters that are not a vector, use a hyphen (-). Alternatively, specifies the name of the port whose vector size is to be used for this parameter. if Null_Allowed is yes, a default value to be used if the SPICE deck .model line does not supply a value for the parameter. Value must correspond to Data_Type (numeric, boolean, complex or string literal). is a limited range of values (for int and real type parameters only). specify whether or not parameter is allowed to be null. Choose from: yes - the corresponding SPICE deck .model card may omit a value for this parameter, and the default value will be used or, if no default value, an undefined value will be passed to the code model no - this parameter must have a value. XSPICE will flag an error if the corresponding SPICE deck .model card omits a value for this parameter.
vector:
size:
default
range null
For example:
PARAMETER_TABLE: Parameter_Name: Description: Data_Type: Default_Value: Limits: Vector: Vector_Bounds: Null_Allowed: c capacitance real no no ic voltage initial condition real 0.0 no no
8-109
Component Editing
Bill Kuhn
MODIFICATIONS <date> <person name> <nature of modifications> SUMMARY This file contains the definition of a capacitor code model with voltage type initial conditions. INTERFACES None. REFERENCED FILES None. NON-STANDARD FEATURES None. ==================================================== */ NAME_TABLE: Spice_Model_Name: C_Function_Name: Description: capacitor cm_capacitor Capacitor with voltage initial condition
8-110
Electronics Workbench
hd [hd] no no
Component Editing
PARAMETER_TABLE: Parameter_Name: Description: Data_Type: Default_Value: Limits: Vector: Vector_Bounds: Null_Allowed: c capacitance real no no ic voltage initial condition real 0.0 no no
8-111
Component Editing
Description
ANALYSIS
Type Args enum none All code models, since their behavior typically changes depending on the type of analysis being performed, and this macro can be used to specify appropriate output macros. Returns the type of analysis being performed: MIF_AC for AC MIF_DC for DC operating point MID_TRAN for transient
Applies to
Description
ARGS
Type Args Applies to Description Mif_Private_t none All code models. The code model functions parameter list. Must be present and should not be modified.
8-112
Electronics Workbench
CALL_TYPE
Type Args Applies to enum
Component Editing
none Only code models that are mixed-mode (analog and event-driven or digital). If the analog portion of the simulator requested the code model call, set to MIF_ANALOG. If the digital portion of the simulator requested the code model call, set to MIF_EVENT. Needed if a code models computation effort can be reduced based on the type of call made.
Description
INIT
Type Args Applies to Boolean_t none All code models. If this is the first call to the code model function during the current analysis or batch of analyses, set to MIF_TRUE. Otherwise, set to MIF_FALSE. Needed to let the code model perform startup activities (for example, allocated memory) at the start of simulation only.
Description
INPUT(inputname)
Type Args Applies to double or void * name [i] Analog/mixed-mode code models. Only analog inputs are allowed (for event-driven, use INPUT_STATE and INPUT_STRENGTH). Returns the value on the node or branch connected to inputname. Type/units of input value is specified when input type is specified in the Ifspec.Ifs file.
Description
8-113
Component Editing
INPUT_STATE(inputname)
Type enum name [i] Digital/mixed-mode code models. Only event-driven/digital inputs are allowed (for analog, use INPUT). Returns the digital value (ZERO, ONE or UNKNOWN) at node at inputname. When a single output is connected to that node, this will equal the value of the last output event. When multiple outputs are connected, conflict resolution is performed.
Component Editing
Args Applies to
Description
INPUT_STRENGTH(inputname)
Type Args Applies to enum name [i] Digital/mixed-mode code models. Only event-driven/digital inputs are allowed (for analog, use INPUT). Returns the digital strength (STRONG, RESISTIVE, HI_IMPEDANCE or UNDETERMINED) of node at inputname. When a single output is connected to that node, this will equal the strength of the last output event. When multiple outputs are connected, conflict resolution is performed.
Description
INPUT_TYPE(inputname)
Type Args Applies to char * name [i] All code models. Any inputs allowed. Returns the type string (i.e.: v for voltage, i for digital, hd for differential conductance, etc.) which describes the current usage of inputname. Needed to distinguish between simulation time usage of an input or output with more than one allowed type. For example, used for an input which has allowed types [v, i] and behaves differently when the input is voltage vs. current.
Description
8-114
Electronics Workbench
LOAD(inputname)
Type Args Applies to double
Component Editing
name [i] Digital/mixed-mode code models. Only event-driven/digital inputs are allowed. Assign a value to LOAD to set the input load due to inputname on the connected node. The load is given as a capacitance (normalized to 1ohm resistance) which is summed with all the other loads on the event-driven node to yield the total delay of the node.
Description
MESSAGE(outputname)
Type Args Applies to char * name [i] Digital/mixed-mode code models. Only event-driven/digital outputs are allowed. A message string to be placed on an event-driven node can be assigned to MESSAGE. Allows a code model to issue a message associated with a node.
Description
OUTPUT(outputname)
Type Args Applies to double or void * name [i] Analog/mixed-mode code models. Only analog outputs are allowed (for event-driven, use OUTPUT_STATE and OUTPUT_STRENGTH and OUTPUT_DELAY). Assigns a value to the node or branch connected to outputname. Type/units of output value specified when output type is specified in the Ifspec.Ifs file.
Description
8-115
Component Editing
OUTPUT_CHANGED(outputname)
Type Boolean_t name [i] Digital/mixed-mode code models. Only event-driven/digital inputs are allowed. Set to MIF_TRUE by default. Assign MIF_FALSE to indicate no change on that output. Allows the code model to specify that the event-driven output did not change and thereby speed up simulation.
Component Editing
Args Applies to
Description
OUTPUT_DELAY(outputname)
Type Args Applies to none double Digital/mixed-mode code models. Only event-driven/digital inputs are allowed (for analog, use OUTPUT). Sets the delay after which the transition event specified by OUTPUT_STATE occurs.
Description
OUTPUT_STATE(outputname)
Type Args Applies to none Digital_State_t Digital/mixed-mode code models. Only event-driven/digital outputs are allowed (for analog, use OUTPUT). Assigns the digital value (ZERO, ONE or UNKNOWN) to node at outputname by creating an event which is a transition to that value. When a single output is connected to that node, this will equal the value of the last output event. When multiple outputs are connected, conflict resolution is performed.
Description
8-116
Electronics Workbench
OUTPUT_STRENGTH(outputname)
Type Args Applies to none
Component Editing
Digital_State_t Digital/mixed-mode code models. Only event-driven/digital outputs are allowed (for analog, use OUTPUT). Assigns the digital strength (STRONG, RESISTIVE, HI_IMPEDANCE or UNDETERMINED) at node at outputname. When a single output is connected to that node, this will equal the strength of the last output event. When multiple outputs are connected, conflict resolution is performed.
Description
OUTPUT_TYPE(inputname)
Type Args Applies to char * name [i] Digital/mixed-mode code models. Any output allowed. Returns the type string (i.e.: v for voltage, i for digital, hd for differential conductance, etc.) which describes the current usage of outputname. Needed to distinguish between simulation time usage of an input or output with more than one allowed type. For example, used for an input which has allowed types [v, i] and behaves differently when the input is voltage vs. current.
Description
PARAM(paramname)
Type Args Applies to Description CD name [i] Any code model. Applies to all parameters. Returns the value paramname. Needed to access model parameters specified in the netlist.
8-117
Component Editing
PARAM_NULL(paramname)
Type Boolean_t name [i] Only parameters allowed to be unspecified (Null allowed in the param table of the Ifspec.Ifs file is yes). Returns MIF_TRUE if paramname was not specified in the netlist and MIF_FALSE if it was specified. Allows the code model to tell if a parameter value equals its default because the default value was actually specified.
Component Editing
Args Applies to
Description
PARAM_SIZE(paramname)
Type Args Applies to int name Vector type parameters only. Returns the number of elements in a vector type parameter. Needed to iterate over the vector parameter if the number of vector elements is not fixed.
Description
PARTIAL
Type Args Applies to Description double y[i], x[i] Analog/mixed-mode code models. Partial derivative of output y with respect to input x.
8-118
Electronics Workbench
PORT_NULL
Type Args Applies to Description Boolean_t
Component Editing
name[i] Any code model. Has this port been specified as unconnected?
PORT_SIZE
Type Args Applies to Description int name Any code model. Size of port vector.
RAD_FREQ
Type Args Applies to Description double <none> Analog/mixed-mode code models. Current analysis frequency in radians per second.
T (<n>)
Type Args Applies to Description double <none> All code models. History of the previous nth analysis time (TIME = T[0]). Maximum of 8.
8-119
Component Editing
TEMPERATURE
Type double <none> All code models. Current analysis temperature.
Component Editing
TIME
Type Args Applies to Description double <none> All code models. Current analysis time (same as T[0]).
Bill Kuhn
MODIFICATIONS <date> <person name> <nature of modifications> SUMMARY This file contains the definition of a capacitor code model
8-120
Electronics Workbench
Component Editing
void cm_capacitor (ARGS) { Complex_t ac_gain; double partial; double ramp_factor; double *vc;
/* Get the ramp factor from the .option ramptime */ ramp_factor = cm_analog_ramp_factor(MIF_INSTANCE); /* Initialize/access instance specific storage for capacitor volt age */ if(INIT) { cm_analog_alloc(MIF_INSTANCE,VC, sizeof(double)); vc = cm_analog_get_ptr(MIF_INSTANCE,VC, 0); *vc = PARAM(ic) * cm_analog_ramp_factor(MIF_INSTANCE); } else { vc = cm_analog_get_ptr(MIF_INSTANCE,VC, 0); } /* Compute the output */ if(ANALYSIS == DC) { OUTPUT(cap) = PARAM(ic) * ramp_factor; PARTIAL(cap, cap) = 0.0; } else if(ANALYSIS == AC) { ac_gain.real = 0.0; ac_gain.imag = -1.0 / RAD_FREQ / PARAM(c);
8-121
Component Editing
AC_GAIN(cap, cap) = ac_gain; } else if(ANALYSIS == TRANSIENT) { if(ramp_factor < 1.0) { *vc = PARAM(ic) * ramp_factor; OUTPUT(cap) = *vc; PARTIAL(cap, cap) = 0.0; } else { cm_analog_integrate(MIF_INSTANCE,INPUT(cap) / PARAM(c), vc, &partial); partial /= PARAM(c); OUTPUT(cap) = *vc; PARTIAL(cap, cap) = partial; } } }
Electronics Workbench
Chapter 9 Simulation
This chapter explains the various types of simulation available in Multisim 8, the application for which each type is appropriate, how the types of simulation are used separately and together, and finally some of the underlying logic of Multisim 8 simulation. Some of the features described in this chapter may not be available in your edition of Multisim 8. Such features have an icon in the column next to their description. Refer to the release notes for a list of the features in your edition. The following are described in this chapter:
Subject Introduction to Simulation Using Multisim Simulation Start/Stop/Pause Simulation Circuit Consistency Check Simulation from Netlist Without Schematic Multisim SPICE Simulation: Technical Detail Circuit Simulation Mechanism Four Stages of Circuit Simulation Equation Formulation Equation Solution User Setting: Maximum Integration Order Convergence Assistance Algorithms Digital Simulation RF Simulation HDLs Using HDL Models Without the Need to Write HDL Code Using Multisim to Write/Debug HDL Code Introduction to VHDL Introduction to Verilog HDL Page No. 9-2 9-3 9-4 9-5 9-6 9-6 9-6 9-7 9-9 9-10 9-10 9-11 9-11 9-12 9-13 9-13 9-14 9-15 9-17
Simulation
9-1
Simulation
Subject Circuit Wizards 555 Timer Wizard Filter Wizard Common Emitter BJT Amplifier Wizard Simulation Error Log/Audit Trail Simulation Adviser Saving/Loading Simulation Profiles Saving a Simulation Profile Loading a Simulation Profile Using Simulation for Better Designs
Page No. 9-17 9-18 9-22 9-23 9-25 9-27 9-28 9-28 9-29 9-29
Simulation
9.1
Introduction to Simulation
Simulation is a mathematical way of emulating the behavior of a circuit. With simulation, you can determine much of a circuits performance without physically constructing the circuit or using actual test instruments. Although Multisim makes simulation intuitively easy-to-use, the technology underlying the speed and accuracy of the simulation, as well as its ease-of-use, is complex. Multisim incorporates SPICE3F5 and XSPICE at the core of its simulation engine, with customized enhancements designed by Electronics Workbench specifically for optimizing simulation performance with digital and mixed-mode simulation. Both SPICE3F5 and XSPICE are industry-accepted, public-domain standards. SPICE3F5 is the most recent edition of the SPICE (Simulation Program with Integrated Circuit Emphasis) core designed by the University of California at Berkeley. XSPICE is a set of unique enhancements made to SPICE, under contract to the US Air Force, which included event-driven mixed mode simulation, and an end-user extensible modelling subsystem. Electronics Workbench has further enhanced these cores with certain non-SPICE-standard PSPICE compatibility features to allow for using a wider range of off-the-shelf SPICE models. Multisims RF Design module simulates RF circuits using an optimized SPICE engine. There is no need to tell Multisim that your circuit is an RF circuit. RF simulation uses the SPICE simulation engine, but has been optimized to accurately simulate circuits designed to operate at higher frequencies. This optimization uses parts specifically designed and modeled to simulate accurately at these higher frequencies. Purchased separately, MultiHDL provides the capability to simulate components modeled in VHDL or Verilog and adds to Multisim the ability to co-simulate VHDL-modeled parts alongside general mixed analog/digital parts. Use of the co-simulator is entirely transparent. If
9-2
Electronics Workbench
a schematic contains complex digital chips modelled with VHDL, the co-simulator is automatically and transparently invoked.
9.2
9-3
Simulation
9.2.1
Start/Stop/Pause Simulation
To simulate a circuit, click the Run/stop simulation button. Multisim begins to simulate the circuits behavior. You can also select Simulate/Run. Note When simulating a design that contains hierarchical blocks, subcircuits and/or multi-pages, the entire design is simulated, not just the current sheet. To simulate a hierarchical block in isolation, you must open that block as a new design by selecting File/Open. Subcircuits cannot be simulated by themselves. During simulation, messages about the simulation results and any problems with the simulation are written to the simulation error log/audit trail. If you want to keep an eye on the progress of the simulation, you can display the error log/audit trail during simulation. To display it, choose Simulate/Simulation Error Log/Audit Trail.
Simulation
To pause the simulation while it is running, select Simulate/Pause. To resume the simulation from the same point as when you paused, select Simulate/Pause again. To stop a simulation, click the Run/stop simulation button or select Simulate/Run. If you restart the simulation after stopping it, it will restart from the beginning (unlike Pause, which allows you to restart from the point you paused). Note Before running your simulation, you have the option to perform an electrical rules check. For details, see 5.4 Electrical Rules Checking on page 5-38.
9-4
Electronics Workbench
Simulation Settings on page 10-7). Some of the most important settings are shown on the first tab.
The most important simulation setting governing speed of simulation is the setting of TMax. TMax is the maximum time step that the simulator is allowed to take. In order to produce results, the simulator may take smaller time steps at its discretion, however it will never take a larger step than that specified by TMax. The smaller TMax is, the more accurate the simulation results will be. However it will take longer to reach any given simulation results. In general, most simulations will run slower than real-time. However, if a lot of time resolution is not required, or if the circuit is primarily digital (in which case time steps will always be inserted where digital events occur and hence TMax may be set large) then TMax may be set to a higher value. If this results in the simulation running faster than real-time, it is artificially slowed down to real-time and your CPU is freed up for other tasks. If "automatically determine" is chosen, then TMax will be set in accordance with the highest frequency AC power source in the schematic, or to the smallest resolution instrument.
Simulation
9.2.2
9-5
Simulation
9.2.3
Simulation
You can enter netlists and commands directly in this window. The most important commands are: SOURCE, PLOT, OP, SAVE, WRITE, TAN, SET and ANAC.
9.3
9.3.1
9-6
Electronics Workbench
For this calculation to occur, each component in a circuit is represented by a mathematical model. Mathematical models link the schematic in the circuit window with the mathematical representation for simulation. The accuracy of the component models is one of the key items that determines the degree to which simulation results match real-world circuit performance. The mathematical representation of a circuit is a set of simultaneous, nonlinear differential equations. The main task of the simulator is to solve these equations numerically. A SPICE-based simulator transforms the nonlinear differential equations into a set of nonlinear algebraic equations. These equations are further linearized using the modified Newton-Raphson method. The resulting set of linear algebraic equations is efficiently solved using the sparse matrix processing LU factorization method.
9.3.2
Setup stage
Analysis stage
Output stage
SPICE-based simulation works by first converting a schematic into a SPICE netlist. Multisim performs this awkward and time-consuming task automatically whenever required. SPICE models are stored in Multisim's extensive parts database. These models are SPICE netlist
9-7
Simulation
templates stored in the database. During netlist generation, these templates are expanded for use in the generated SPICE netlist.
Simulation
The text above is a small part of the netlist that Multisim generates for the Amplitude Modulator circuit shown above. This netlist is the actual input to SPICE required to perform the simulation. Prior to schematic entry programs such as Multisim, designers were required to tediously create such SPICE netlists for themselves each time they wished to analyze a circuit. A modern schematic capture tool, in addition to providing a front-end for PCB layout or other downstream activities such as IC or FPGA design, does this time-consuming and error-prone task automatically From the netlist, SPICE generates matrices that it solves numerically to come up with voltages (AC and DC) at every node in the circuit. Current branches also appear in the matrices when required in order to solve the equations. In particular, current branches appear
9-8
Electronics Workbench
whenever voltage sources are used (SPICE trick: if you need to measure a current in SPICE, insert a 0V voltage source. It will not affect the circuit but will force SPICE to compute the current running through the 0V source). For a transient analysis (which is also the basis for interactive simulation), the matrices are solved at every time step in the simulation. Because non-linear analog parts are present in the simulation, at each time step successive approximations are used to compute the final node voltage results. It is possible under certain circumstances that these results do not converge. When this happens, SPICE backs up to 1/8th the time step used previously and tries again.
9.3.3
Equation Formulation
In a circuit, each common point created by wires and connectors is called a node. The simulator calculates the voltage at each node. Each branch joining two nodes will have a separate current flowing through it. To calculate a circuit solution, a circuit is represented internally as a system of equations, in the form: Simulation
A X = B
where:
A X B n = = = = modified nodal admittance matrix with dimension n x n vector of unknowns with dimension n vector of constants, also with dimension n number of unknowns.
The system of equations is formulated using a general circuit analysis method called the Modified Nodal Approach (MNA). The unknowns (n) include each node voltage (excluding ground), as well as the voltage source currents. B contains the voltage and current source constants, and the entries in the admittance matrix (A) are determined by Ohms law and Kirchhoffs current and voltage laws. The modified nodal admittance matrix is deemed sparse because it contains more zeros than non-zeros. Making use of a linked list, the solution of circuit equations can be performed by employing non-zero terms only. This method is called Sparse Matrix Technique. Generally, a sparse matrix approach requires less memory consumption and achieves faster simulation.
9-9
Simulation
9.3.4
Equation Solution
Multisim solves circuit equations for linear and nonlinear circuits using a unified algorithm. The solution of a linear DC circuit is treated as a special case of general nonlinear DC circuits. LU factorization is used to solve the system of sparse modified nodal matrix equations described previously (a set of simultaneous linear equations). This involves decomposing the matrix A into two triangular matrices (a lower triangular matrix, L, and an upper triangular matrix, U) and solving the two matrix equations using a forward substitution and a backward substitution. Several efficient algorithms are used to avoid numerical difficulties due to the modified nodal formulation, to improve numerical calculation accuracy and to maximize the solution efficiency. These include: A partial pivot algorithm that reduces the round-off error incurred by the LU factorization method. A preordering algorithm that improves the matrix condition. A reordering algorithm that minimizes nonzero terms for the equation solution. A nonlinear circuit is solved by transforming it into a linearized equivalent circuit at each iteration and iteratively solving the linear circuit using the above-described method. Nonlinear circuits are transformed into linear ones by linearizing all nonlinear components in the circuit using the modified Newton-Raphson method. A general nonlinear dynamic circuit is solved by transforming the circuit into a discretized equivalent nonlinear circuit at each time point and solving it using the method for a nonlinear DC circuit described above. A dynamic circuit is transformed into a DC circuit by discretizing all dynamic components in the circuit using an appropriate numerical integration rule.
Simulation
9.3.5
9-10
Electronics Workbench
9.3.6
Simulation
9.3.7
Digital Simulation
Digital parts are modeled differently than analog parts. Digital parts are connected to the analog parts of the circuit using special XSPICE code models for A-to-D and D-to-A bridges. These models transform voltages into digital events and vice-versa. Thus a net in a schematic may be either analog or digital, but not both at once. When digital parts are connected to one another, the digital events propagate from one to the other with the appropriate simulated time delays. Time steps are automatically inserted into the simulation whenever digital events
9-11
Simulation
make their presence felt on the analog parts of the circuit. This event-driven simulation approach to digital simulation allows these types of simulation to run much more quickly than analog simulations (hint: set the simulation parameter Tmax, the maximum analog time step, quite high for digital simulations in order to speed things up dramatically). When simulating circuits with digital components, you have the option of simulating for speed or for accuracy. The Ideal option simulates your circuit quickly by not taking into account variances in digital power and internal tolerances. The time to simulate digital components is faster but the signal is not as accurate. The Real option simulates your circuit accurately, but slower than the Ideal option, by accounting for all variances. When using Real simulation settings, you are required to add digital power and digital ground to your circuit. To select a digital simulation option: 1. Choose Simulate/Digital Simulation Settings. Simulation
2. Select either Ideal (faster) or Real (more accurate) depending on the speed and accuracy you require. 3. Click OK.
9.4
RF Simulation
RF simulation is included with Multisim Power Professional and is available as part of the Professional Edition in an optional RF Design module. This section contains a brief introduction to the simulation portion of the RF Design module. You simulate an RF circuit the same way you simulate a board/system-level circuit in Multisim, as described in 9.2 Using Multisim Simulation on page 9-3. This is because Multisims RF Design module simulates RF circuits using an optimized SPICE engine (as opposed to VHDL, etc.). There is no need to tell Multisim that your circuit is an RF circuit. RF simulation uses the SPICE simulation engine, but has been optimized to accurately simulate circuits designed to operate at higher frequencies, or at faster clock speeds (which generate RF characteristics). This optimization uses parts specifically designed and modeled to simulate accurately at these higher frequencies. For detailed information on RF simulation and the RF Design module, see Chapter 15, RF.
9-12
Electronics Workbench
HDLs
9.5
HDLs
Hardware Description Languages (HDLs) are designed specially to describe the behavior of complex digital devices. For this reason they are referred to as behavioral level languages. They can use behavioral level models (instead of transistor/gate level, like SPICE) to describe the behavior of these devices. Using HDLs avoids the unwieldy task of describing such devices at the gate level, greatly simplifying the design process. HDLs are commonly used for modeling complex digital ICs that could not easily be modeled in SPICE, or for designing circuits in programmable logic. Multisim supports both of these applications of HDLs, employing specialized HDL simulators which simulate, not at the SPICE level using schematic design entry, but at the behavioral language level. The Multisim HDL simulator can be used in two ways: As part of the board/system design process, when components are modeled in HDLs instead of SPICE. Multisim automatically invokes the HDL simulator as needed (this is called co-simulation). In this method, you do not need extensive HDL knowledge, but can simply take advantage of the broader library of simulatable models for complex digital chips. You do not need to write HDL code at all. See9.5.1 Using HDL Models Without the Need to Write HDL Code on page 9-13 for a description of this usage. As an HDL source code editor/simulator, for writing and debugging HDL source code. See 9.5.2 Using Multisim to Write/Debug HDL Code on page 9-14 for information on this usage. Knowledge of the VHDL language is not required. Simulation
9.5.1
9-13
Simulation
multiple simulators and consolidates the results for analysis and display. You need not know how to program in VHDL or Verilog to use such components and their models. To include a VHDL- or Verilog-modeled device in your board level simulation, it must have a compiled VHDL or Verilog model. Possible sources of such components are: device vendors public domain colleagues who have models for such devices or have written such models themselves. Once you have such a model, you import it into Multisim. To use Multisim to simulate a circuit containing a device for which the model exists in VHDL or Verilog HDL (instead of SPICE), just begin simulation, as described earlier in this chapter. As long as the model exists, Multisim will automatically select the appropriate type of simulation engine, and also deals with the communication between the various simulation engines, without manual intervention. Simulation
9.5.2
9-14
Electronics Workbench
HDLs
of these three broad classes of devices uses a different architecture for its logic blocks and the interconnections between them. Describing these varying architectures that the device vendors use for implementing blocks/interconnects within the semiconductor wafers is beyond the scope of this chapter, but is covered sufficiently in many text books on the subject. This section deals with CPLDs and FPGAs because simple PLDs are not often designed using VHDL or Verilog HDL. Such simple PLDs are now less common and typically programmed with the older ABEL or CUPL languages, not addressed in Multisim. The following is a list of the key steps in designing with CPLDs and FPGAs: creating/writing source code in VHDL or Verilog HDL simulating/analyzing the operation/performance of that code debugging the code to generate final source code synthesizing the source code (specific to a particular device vendor) fitting (for CPLDs) or placing a routing (for FPGAs) physically programming the device. The last three steps in the process are typically done with tools provided by the programmable logic device vendor and are therefore not a part of Multisim.
Simulation
9.5.3
Introduction to VHDL
VHDL is a programming language that has been designed and optimized for describing the behavior of digital hardware circuits and systems. As such, it combines features of a simulation modeling language, a design entry language, a test language, and a netlist language. VHDL (VHSIC [Very High-Speed Integrated Circuit] Hardware Description Language) was developed in the early 1980s as a spin-off of a high-speed integrated circuit research project funded by the U.S. Department of Defense. During the VHSIC program, researchers had to describe circuits of enormous scale (for their time) and manage very large circuit design problems that involved multiple teams of engineers. With only gate-level design tools available, it soon became clear that better, more structured design methods and tools would be needed. VHDL is an extremely comprehensive and extensive language, and cannot be entirely covered in this manual. However, an introduction to programming in VHDL, including a
9-15
Simulation
detailed primer and a set of examples, can be found in the documentation accompanying your MultiHDL product from Electronics Workbench. As a simulation modeling language, VHDL includes many features appropriate for describing the behavior of electronic components ranging from simple logic gates to complete microprocessors and custom chips. Features of VHDL allow electrical aspects of circuit behavior (such as rise and fall times of signals, delays through gates, and functional operation) to be precisely described. The resulting VHDL simulation models can then be used as building blocks in larger circuits (using schematics, block diagrams or system-level VHDL descriptions) for the purpose of simulation. Just as high-level programming languages allow complex design concepts to be expressed as computer programs, VHDL allows the behavior of complex electronic circuits to be captured into a design system for automatic circuit synthesis or for system simulation. This process is called design entry, and is the first step taken when a circuit concept is to be realized using computer-aided design tools. Simulation Design entry using VHDL is very much like software design using a software programming language. Like Pascal, C and C++, VHDL includes features useful for structured design techniques, and offers a rich set of control and data representation features. Unlike these other programming languages, VHDL provides features allowing concurrent events to be described. This is important because the hardware being described using VHDL is inherently concurrent in its operation. Users of PLD programming languages such as PALASM, ABEL, CUPL and others will find the concurrent features of VHDL quite familiar. Those who have only programmed using software programming languages will have some new concepts to grasp. One area where hardware design differs from software design is in the area of testing. One of the most important (and under-utilized) aspects of VHDL is its use as a way to capture the performance specification for a circuit, in the form of a test bench. Test benches are VHDL descriptions of circuit stimulus and corresponding expected outputs that verify the behavior of a circuit over time. Test benches should be an integral part of any VHDL project and should be created in parallel with other descriptions of the circuit. VHDL is also useful as a low-level form of communication between different tools in a computer-based design environment. VHDLs structural language features allow it to be effectively used as a netlist language, replacing (or augmenting) other netlist languages such as EDIF. One of the advantages of using VHDL is that it is a standard in the electronic design community. As a result, you will be able to use your design concepts because the design entry method you have chosen is supported in a newer generation of design tools. You will also be able to take advantage of the most up-to-date design tools and have access to a knowledge base of thousands of other engineers, many of whom are solving problems similar to your own.
9-16
Electronics Workbench
Circuit Wizards
There are a number of progressively more advanced standards that define VHDL in detail, as described in the documentation accompanying your VHDL product from Electronics Workbench. All are supported by Multisim. The major milestones in the VHDL standards evolution are summarized below: first introduction of publicly available edition of VHDL (1985) IEEE Standard 1076 basis of almost all of todays products, released in 1987 and updated in 1993/94 IEEE Standard 1164 solves the problem of non-standard types IEEE Standard 1076.3 the standard for synthesis IEEE Standard 1076.4 adds timing information, known as VITAL.
9.5.4
9.6
Circuit Wizards
Multisims circuit wizards let you generate circuits that contain a schematic diagram, simulation models and a netlist. You simply enter the design parameters in a wizards dialog box and click a button to build the circuit. Once you have built the circuit, it can be simulated in the usual manner. The wizards that are available are: 9.6.1 555 Timer Wizard on page 9-18 9.6.2 Filter Wizard on page 9-22 9.6.3 Common Emitter BJT Amplifier Wizard on page 9-23
9-17
Simulation
9.6.1
Simulation
Circuit schematic.
of 1 Mhz.
DutyEnter the duty cycle for the circuit. For example, 60% indicates that the circuit will be on for 60% of each cycle. Value must be greater than or equal to 50% and less than 100%. CThis is the value of capacitor C and is initially set to 10 nF. CfThis is the value of capacitor Cf and is normally fixed to be 10 nF. RlEnter desired load resistance.
9-18
Electronics Workbench
Circuit Wizards
4. As values are entered, R1 and R2 are calculated automatically and changed based on the following: R2 = (1-d)/(0.693*f*C) If d = 0.5, R1 = R2/80, otherwise, R1 = (2*d-1)*R2/(1-d) where d is the duty cycle, f is the oscillation frequency and C is the value of capacitor C. 5. If (R1+R2)>3.3 Mohm or R1<1 kohm or R2<1 kohm, a warning message displays on the 555 Timer Wizard dialog box:
Simulation
Warning Message
If this happens, change the value of capacitor C and other parameters until the error message no longer displays. 6. Check the values of R1 and R2. If they are unavailable or unsatisfactory, change the value of capacitor C. 7. Repeat the above two steps until R1 and R2 are satisfactory and there is no error message on the 555 Timer Wizard dialog box.
9-19
Simulation
8. Click on the Build Circuit button. The circuit, with the calculated values is placed on your workspace.
Simulation
To build a monostable (one-shot) oscillator: 1. Select Tools/555 Timer Wizard. The 555 Timer Wizard dialog box appears. 2. Select Monostable Operation from the Type drop-down list.
Default settings are initially displayed. Refer to the schematic on the right of this dialog box for the location of these components in the circuit.
Circuit schematic.
9-20
Electronics Workbench
Circuit Wizards
VpulseEnter desired voltage of input pulse. This should be less than Vs/3. FrequencyEnter the frequency of the input voltage. Output Pulse WidthEnter desired output pulse width. Pulse WidthEnter desired input pulse width. Must be less than Output Pulse Width/5. If it is not, the value in the Output Pulse Width field is changed by the system. CThis is the value of capacitor C and is initially set to 1 uF. CfThis is the value of capacitor Cf and is normally fixed to be 1 nF. RlEnter desired load resistance.
4. As values are entered, R is calculated automatically and changed based on the following: R = OW/(1.1*C) where OW is the output pulse width and C is the value of capacitor C. 5. Check the value of R. If it is unavailable or unsatisfactory, change the value of capacitor C or other parameters until a satisfactory value is reached. 6. Click on the Build Circuit button. The circuit, with the calculated values is placed on your workspace. Simulation
9-21
Simulation
9.6.2
Filter Wizard
The Multisim Filter Wizard lets you design numerous types of filters by entering the specifications into its fields. The designed circuit can then be verified by SPICE simulation directly. To design a filter using the Filter Wizard: 1. Select Tools/Filter Wizard.
Parameters of filter selected in the Type drop-down list
Available parameters change to match filter selected in Type drop-down list and the options selected in the Type, Topology, Source Impedance and Pass Band Ripple boxes
Simulation
2. Select the desired filter type from the Type drop-down list. Choices are low pass, high pass, band pass or band reject. The parameters that are available in the box below the Type drop-down and the diagram on the right of the dialog box change based on the selected filter type and the selections made in the following steps. 3. Select either Butterworth or Chebyshev in the Type box. If you select Chebyshev, the Pass Band Ripple box displays. If you select Butterworth, it does not. 4. Select either Passive or Active in the Topology box. If you select Passive, the Source Impedance box displays. If you select Active, it is does not. 5. Select the desired source impedance in the Source Impedance box (for passive filters only). 6. Select the desired ripple in the Pass Band Ripple box (for Chebyshev type filters only). 7. Enter desired filter parameters in the box below the Type drop-down list. Note The available parameters change depending on the selections made in the above steps.
9-22
Electronics Workbench
Circuit Wizards
8. Click Verify. If there are any problems with your design, a message displays below the diagram in the Filter Wizard dialog box. Adjust your parameters and click Verify again. When your design is error-free, the following message displays and the Build Circuit button becomes active:
9. Click Build Circuit. The Filter Wizard dialog box closes and the circuit is placed on your workspace.
Simulation
9.6.3
9-23
Simulation
To design a common emitter amplifier using the Common Emitter BJT Amplifier Wizard: 1. Select Tools/CE BJT Amplifier Wizard. The following dialog box displays.
Simulation
2. Enter the desired parameters in the BJT Selection, Amplifier Specification, Quiescent Point Specification, and Load Resistance and Power Supply boxes. 3. Click Verify. If there are any problems with your design, a message displays. Adjust your parameters and click Verify again.
9-24
Electronics Workbench
4. Click Build Circuit. The BJT Common Emitter Amplifier Wizard dialog box closes and the circuit is placed on your workspace.
Simulation
9.7
9-25
Simulation
To display the error log/audit trail, from the Simulate menu choose Simulation Error Log/Audit Trail. The error log/audit trail display is useful for diagnosing the analysis and its results. The following is a sample display:
Simulation
Each analysis you perform, either individually or in batch, during this Multisim session, is stored in the audit trail. The file is cleared when you exit Multisim. You can expand or contract the contents of the display to show or hide details. You can also choose to display all the errors (Full), only the simple errors (Simple), or none of the errors (None) by choosing one of the options on the right of the dialog box. Regardless of the option you choose, the full set of errors is saved. You can also save the results of the audit trail in a separate file (click Save and choose a file name and location) or clear them (click New). You can also display the Simulation Adviser by clicking Adviser. For details, see Simulation Adviser below.
9-26
Electronics Workbench
Simulation Adviser
9.8
Simulation Adviser
The Simulation Adviser provides trouble-shooting information for errors that you may encounter during simulation. To show the Simulation Adviser: 1. Highlight the desired error in the Simulation Error Log/Audit Trail dialog box as in the following example.
Simulation
2. Click Adviser. The Simulation Adviser displays with information for the highlighted error.
9-27
Simulation
9.9
9.9.1
Simulation
2. Navigate to the desired location, enter the Filename for the profile, and click Save. The following dialog box displays.
Filename entered for the profile.
3. Optionally, enter a Description of the profile. 4. Enable Interactive Simulation Settings if you wish to save custom settings that you entered in the Interactive Simulation Settings dialog box. For details, see 10.3 Interactive Simulation Settings on page 10-7. 5. In the Analyses area, select the analyses that you wish to include in this profile. 6. Click OK to finish.
9-28
Electronics Workbench
9.9.2
Simulation
2. Enable Interactive Simulation Settings if you wish to load the custom interactive simulation settings that you saved with the profile. 3. Select the Analyses whose saved profiles you would like to load and click OK.
9.10
9-29
Simulation
models will offer faster simulation speeds and provide sufficient accuracy to determine if the design is headed in the right direction. Virtual components let you select any theoretical value and replace it later with a part from a library of actual components. Interactive parts permit parameters of a component to be varied during simulation, and let you observe the effects on the circuits performance in real time. Initially, it is usually appropriate to ignore the parasitic side effects that add complexity to the models and lengthen the simulation time. Once the general desired circuit operation has been obtained, component models can be replaced with those that more precisely represent the actual component. 2. Simulate critical areas of the design A structured modular approach permits isolation of each element in the design and ensures each circuit block is behaving as expected before being integrated into the whole. For all but the most straightforward designs, the best method for achieving this is a hierarchical approach. This leads to the creation of reusable modules that can be used in other designs at a later time. Simulation Most of those who perform design entry with schematic capture software do so as part of their standard design flow. Employing this block design method simplifies the use of simulation software, since each sub-block can be simulated using the expected stimulus at the interface points. The stimulus can be generated internally by the simulator using a wide variety of sources, including standard waveforms, various modulators, controlled sources and complex polynomial functions. Examples of dividing a circuit into blocks for simulation include: an amplifier stage in which the signal-to-noise ratio must be thoroughly understood; the impedance matching of different stages in a network; a test bench that accurately represents real-world conditions. 3. Analyze the results, starting with less complex methods first Simulation software is ultimately used to examine the signals at various points in a circuit. There are several methods of increasing sophistication that can be used to analyze these signals. Consider these three alternatives in ascending levels of complexity: virtual instrumentation; simulation analyses; post-processing. 4. Consider HDL models for complex digital ICs Digital devices can be modeled in several ways. For smaller ICs, the best method for modeling is using SPICE and the digital extensions built into the simulator. For example, think of the 7400 series TTL chips or 4000 series CMOS devices. Most of these devices typically use smaller-scale integration and fewer gates, and are adequately modeled using SPICE. However, larger ICs with many thousands of gates are best modeled with VHDL. Writing a SPICE model for complex devices is not practical in most cases. Such complex digital chips can even include programmable devices. FPGAs and CPLDs can be
9-30
Electronics Workbench
programmed in either VHDL and then integrated into the overall design using their HDL code as the simulation modeling language. Co-simulation, as this method is known, integrates the simulation results from the HDL simulators and the SPICE simulation engine and generates a combined set of results that can then be analyzed. With co-simulation, all devices on a board can be simulated as one complete circuit. The need to create elaborate test benches is reduced because the input stimuli to the device under test can be the result of the SPICE or HDL simulation. 5. Models To enable easy simulation with your schematic software, remember the distinction between symbols and models. Models are to simulation as symbols are to schematics. Multisim includes extensive libraries of models for all of its parts. In addition, to accommodate new devices entering the market, you can add new models to existing libraries. This can be done using Multisims Model Makers that permit databook parameters to be entered directly. The databook parameters are then converted into SPICE parameters for use by the simulator. Simulation You can also obtain part models from the Internet. Most manufacturers that offer SPICE or HDL provide component models on their websites.
9-31
Simulation
Simulation 9-32
Electronics Workbench
Chapter 10 Instruments
This chapter explains how to use the numerous virtual instruments provided as part of Multisim 8. It explains both the general procedures for attaching and configuring the instruments, and the specific steps for using each instrument. Some of the features described in this chapter may not be available in your edition of Multisim 8. Such features have an icon in the column next to their description. Refer to the release notes for a list of the features in your edition. The following instruments are described in this chapter.
Subject Introduction to the Multisim Instruments Saving Simulation Data with Instruments Adding an Instrument to a Circuit Using the Instrument Working with Multiple Instruments Saving Instrument Data Printing Instruments Print Instruments Dialog Interactive Simulation Settings Troubleshooting Simulation Errors Multimeter Using the Multimeter Function Generator Using the Function Generator Wattmeter Using the Wattmeter Oscilloscope Using the Oscilloscope Page No. 10-3 10-3 10-4 10-5 10-5 10-6 10-6 10-6 10-7 10-8 10-9 10-9 10-14 10-15 10-16 10-17 10-17 10-19
Instruments
10-1
Instruments
Subject Bode Plotter Using the Bode Plotter Word Generator Using the Word Generator Logic Analyzer Using the Logic Analyzer Logic Converter Using the Logic Converter Distortion Analyzer Using the Distortion Analyzer Spectrum Analyzer Network Analyzer Measurement Probe Using the Measurement Probe Four-channel Oscilloscope Using the Four-channel Oscilloscope Frequency Counter Using the Frequency Counter
Page No. 10-22 10-24 10-27 10-28 10-30 10-32 10-35 10-36 10-38 10-39 10-39 10-39 10-40 10-42 10-47 10-48 10-57 10-57 10-60 10-61 10-67 10-70 10-71 10-74 10-77 10-82 10-82 10-84 10-84 10-85 10-85 10-86 10-86
Instruments
IV Analyzer Using the IV Analyzer Reviewing IV Analyzer Data Agilent Simulated Instruments Agilent Simulated Function Generator Agilent Simulated Multimeter Agilent Simulated Oscilloscope Tektronix Simulated Oscilloscope Supported Features Features Not Supported Using the Tektronix Oscilloscope Voltmeter Using the Voltmeter Ammeter Using the Ammeter
10-2
Electronics Workbench
10.1
Instrument icon
Instruments
The instruments icon indicates how the instrument is connected into the circuit. Once the instrument is connected to the circuit, a black dot appears inside the terminal input/output indicators on the instrument face.
10-3
Instruments
maximum size threshold. If upon saving the maximum threshold is exceeded you will be asked whether you wish to save the instrument data anyways, save a subset of the instrument data, or save no instrument data.
Instruments 10-4
Electronics Workbench
10-5
Instruments
Instruments that sample for a period of time cause a transient analysis to be run. If you use multiples of such instruments, only one transient analysis is run. The settings of this analysis are derived from considering all the concurrent instruments and choosing settings that will satisfy each. For example, if you have two oscilloscopes with two different time-bases (resolutions), Multisim uses the time-base of the oscilloscope with the smallest time-base (highest resolution). As a result, both instruments will sample at a higher resolution than they would individually. The results from each instrument are recorded separately in the error log/audit trail.
10.2
Printing Instruments
Multisim lets you print out the faces of selected instruments in your circuit. Any simulation data for the circuit appears on the printout.
Instruments
Instruments in circuit display in this column Select as desired for inclusion in the printed report
10-6
Electronics Workbench
3. Click on the checkbox beside any instrument to select/deselect it, then click Print to print the selected instruments. 4. A standard print dialog appears. Choose the desired print options and click OK.
10.3
Instruments
3. Enter settings as desired and click OK. These settings will be in effect the next time you run a simulation. You can control many aspects of the simulation, such as resetting error tolerances, selecting simulation techniques, and viewing the results. The options you choose will determine the efficiency of the simulation. See 11.23 Analysis Options dialog box on page 11-127 for
10-7
Instruments
details on the analysis options and their default values. You set these options through the Analysis Options tab.
10-8
Electronics Workbench
Multimeter
10.4
Multimeter
Use the multimeter to measure AC or DC voltage or current, and resistance or decibel loss between two nodes in a circuit. The multimeter is auto-ranging, so a measurement range does not need to be specified. Its internal resistance and current are preset to near-ideal values, which can be changed (see Internal Settings - Multimeter Settings Dialog Box on page 10-12). To use the instrument, simply click on the Multimeter button in the Instrument toolbar and click to place its icon on the workspace. The icon is used to wire the Multimeter to the circuit. Double-click on the icon to open the instrument face, which is used to enter settings and view measurements.
Positive terminal
Negative terminal
Measurement options
Measurement results
Instruments
Signal mode
Note You should read 10.1.2 Adding an Instrument to a Circuit on page 10-4 and 10.1.3 Using the Instrument on page 10-5 before using this instrument.
10-9
Instruments
Measurement Options
Decibels
To select the type of measurement to be taken: 1. Click on one of the following buttons: Ammetermeasures current flowing through the circuit in a branch between two nodes. Insert the multimeter in series with the load to measure current flow, just like a real ammeter (as shown in diagram below).
Instruments
To measure current at another node in the circuit, connect another multimeter in series at that load and activate the circuit again. When used as an ammeter, the multimeters internal resistance is very low (1 nOhm). To change the resistance, click Set. See Internal Settings - Multimeter Settings Dialog Box on page 10-12 for details. Voltmetermeasures voltage between two nodes. Select V and attach the voltmeters probes in parallel with the load (as shown in diagram below).
When used as a voltmeter, the multimeter has a high internal resistance of 1 Gohm, which can be changed by clicking Set. See Internal Settings - Multimeter Settings Dialog Box on page 10-12 for details. OhmmeterThis option measures resistance between two nodes. The nodes and everything that lies between them are referred to as the component network. To measure the resistance, select this option and attach the multimeters probes in parallel
10-10
Electronics Workbench
Multimeter
To get an accurate measurement, make sure that: there is no source in the component network the component or component network is grounded there is nothing else in parallel with the component or component network. The ohmmeter generates a 1 mA current, which can be changed by clicking Set. See Internal Settings - Multimeter Settings Dialog Box on page 10-12 for details. If you change the ohmmeter connections, re-activate the circuit to get a reading. Decibelsmeasures decibel voltage loss between two nodes in a circuit. To measure the decibels, select this option and attach the multimeters probes in parallel with the load (as shown in diagram below).
Instruments
The Decibel standard for calculating dB is preset to 1 V, but can be changed by clicking Set. See Internal Settings - Multimeter Settings Dialog Box on page 10-12 for details. Decibel loss is calculated as follows:
dB = 20 * log10 V out V in
Signal Mode (AC or DC)
The Sine-wave button measures the root-mean-square (RMS) voltage or current of an AC signal. Any DC component of the signal will be eliminated, so only the AC component of the signal is measured. The DC button measures the current or voltage value of a DC signal.
10-11
Instruments
Note To measure the RMS voltage of a circuit with both AC and DC components, connect an AC voltmeter as well as a DC voltmeter across the appropriate nodes and measure the AC and DC voltage. The following formula can be used to calculate RMS voltage when both AC and DC components are in the circuit. Be advised that this is not a universal formula and should be used in conjunction with Multisim only.
RMS voltage = (Vdc 2 + Vac 2 ) Internal Settings - Multimeter Settings Dialog Box
Ideal meters have no effect on the circuit being measured. An ideal voltmeter would have infinite resistance, so no current could flow through it while it is attached to a circuit. An ideal ammeter would present no resistance to a circuit. Real meters do not achieve this ideal, so their readings will very closely match theoretical, calculated values for a circuit, but never with absolute precision. The multimeter in Multisim uses very small and very large numbers that approximate zero and infinity to calculate near-ideal values for the circuit. For special cases, however, the meters behavior can be changed by changing these values used to model its effect on the circuit. (The values must be higher than 0.) For example, if testing the voltage of a circuit with very high resistance, increase the voltmeters resistance. If measuring the current of a circuit with very low resistance, decrease the ammeters resistance even further. Note Very low ammeter resistance in a high-resistance circuit may result in a mathematical roundoff error.
Instruments 10-12
Electronics Workbench
Multimeter
To display the default internal settings: 1. Click Set. The Multimeter Settings dialog box appears.
2. Change the desired options. 3. To save your changes, click OK. To cancel them, click Cancel.
Instruments
10-13
Instruments
10.5
Function Generator
The function generator is a voltage source that supplies sine, triangular or square waves. It provides a convenient and realistic way to supply stimulus signals to a circuit. The waveform can be changed and its frequency, amplitude, duty cycle and DC offset can be controlled. The function generators frequency range is great enough to produce conventional AC as well as audio- and radio-frequency signals. The function generator has three terminals through which waveforms can be applied to a circuit. The common terminal provides a reference level for the signal. To use the instrument, simply click on the Function Generator button in the Instrument toolbar and click to place its icon on the workspace. The icon is used to wire the Function Generator to the circuit. Double-click on the icon to open the instrument face, which is used to enter settings and view measurements. For details see 10.5.1 Using the Function Generator on page 10-15.
Instruments
Choose one of the possible waveforms. Effect of signal option choices depend on waveform chosen.
To reference a signal from ground, connect the common terminal to the ground component. The positive terminal (+) provides a waveform in the positive direction from the neutral common terminal. The negative terminal (-) provides a waveform in the negative direction.
10-14
Electronics Workbench
Function Generator
Note If you are not familiar with connecting and adjusting the settings of the instruments, see 10.1.2 Adding an Instrument to a Circuit on page 10-4 and 10.1.3 Using the Instrument on page 10-5 before using this instrument.
Instruments
Signal Options
Frequency (1Hz 999 MHz) This setting determines the number of cycles per second the function generator generates. Duty Cycle (1% 99%) This setting determines the ratio of on-period to off-period. It affects the shape of triangular and square waves as shown below. A sine wave is not affected by the duty cycle setting. Amplitude (1V 999 kV) This setting controls the signals voltage, measured from its DC level to its peak. If the leads are connected to the common and either the positive or the negative terminal, the waves peak-to-peak measurement is twice its amplitude. If the output comes from the positive and negative terminals, the waves peak-to-peak measurement is four times its amplitude.
10-15
Instruments
Offset (-999 kV and 999 kV) This option controls the DC level about which the alternating signal varies. An offset of 0 positions the waveform along the oscilloscopes x-axis (provided its Y POS setting is O). A positive value shifts the DC level upward, while a negative value shifts it downward. Offset uses the units set for Amplitude.
Rise Time
This option sets the time over which the square waveform is built (and, therefore, the angle of the waveform). Only available for square waveforms.
10.6
Wattmeter
The wattmeter measures power. It is used to measure the magnitude of the active power, that is, the product of the voltage difference and the current flowing through the current terminals in a circuit. The results are shown in watts. The wattmeter also displays the power factor, calculated by measuring the difference between the voltages and the current, and multiplying them together. The power factor is the cosine of the phase angle before the voltage and current. To use the instrument, click on the Wattmeter button in the Instrument toolbar and click to place its icon on the workspace. The icon is used to wire the Wattmeter to the circuit. Double-click on the icon to open the instrument face, which is used to enter settings and view measurements.
Instruments
Average power
10-16
Electronics Workbench
Oscilloscope
Note If you are not familiar with connecting and adjusting the settings of the instruments, see 10.1.2 Adding an Instrument to a Circuit on page 10-4 and 10.1.3 Using the Instrument on page 10-5 before using this instrument.
10.7
Oscilloscope
To use the instrument, click on the Oscilloscope button in the Instrument toolbar and click to place its icon on the workspace. The icon is used to wire the Oscilloscope to the circuit. Double-click on the icon to open the instrument face, which is used to enter settings and view measurements. For details see 10.7.1 Using the Oscilloscope on page 10-19.
Ground terminal Trigger terminal B channel terminal A channel terminal
Instruments
10-17
Instruments
The dual-channel oscilloscope displays the magnitude and frequency variations of electronic signals. It can provide a graph of the strength of one or two signals over time, or allow comparison of one waveform to another.
Graphical display
Reverses background color (toggles between white and black). Grounds the oscilloscope. Save results in an ASCII file.
Trigger Readouts at vertical cursor 1. Readouts at vertical cursor 2. Difference between readouts at vertical cursors.
Instruments
Note If you are not familiar with connecting and adjusting the settings of the instruments, see 10.1.2 Adding an Instrument to a Circuit on page 10-4 and 10.1.3 Using the Instrument on page 10-5 before using this instrument.
10-18
Electronics Workbench
Oscilloscope
Determines the axes of the oscilloscope display (Y/T is voltage magnitude against time)
The time base setting controls the scale of the oscilloscopes horizontal or x-axis when comparing magnitude against time (Y/T). To get a readable display, adjust the time base in inverse proportion to the frequency setting on the function generator or AC sourcethe higher the frequency, the lower (or more magnified) the time base. For example, if you want to see one cycle of a 1 kHz signal, the time base should be around 1 millisecond. Instruments X Position (-5.00 5.00) This setting controls the signals starting point on the x-axis. When X Position is 0, the signal starts at the left edge of the display. A positive value (for example, 2.00) shifts the starting point to the right. A negative value (for example, -3.00) shifts the starting point to the left. Axes (Y/T, A/B, and B/A) The axes of the oscilloscope display can be switched from showing waveform magnitude against time (Y/T) to showing one input channel against the other (A/B or B/A). The latter settings display frequency and phase shifts, known as Lissajous patterns, or they can display a hysteresis loop. When comparing channel As input against channel Bs (A/B), the scale of the x-axis is determined by the volts-per-division setting for channel B (and vice versa).
Grounding
It is not necessary to ground the oscilloscope, as long as the circuit to which it is attached is grounded.
10-19
Instruments
Volts per division on the y-axis When used alone, inverts the trace 180 degrees, from to When used in conjunction with timebase Add button, subtracts Trace B from Trace A.
This setting determines the scale of the y-axis. It also controls the x-axis scale when A/B or B/ A is selected. To get a readable display, adjust the scale in relation to the channels expected voltage. For example, an input AC signal of 3 volts fills the oscilloscopes display vertically when the y-axis is set to 1 V/Div. If the volts-per-division setting is increased, the waveform will become smaller. If the volts-per-division setting is decreased, the waveforms top will be cut off. Instruments Y Position (-3.00 3.00) This setting controls the point of origin for the y-axis. When Y position is set to 0.00, the point of origin is the intersection with the x-axis. Increasing Y position to 1.00, for example, moves 0 (the point of origin) up to the first division above the x-axis. Decreasing Y position to -1.00 moves 0 down to the first division below the x-axis. Changing the Y position setting for channels A and B may help distinguish their waveforms for comparison. Input Coupling (AC, 0, and DC) With AC coupling, only the AC component of a signal is displayed. AC coupling has the effect of placing a capacitor in series with the oscilloscopes probe. As on a real oscilloscope using AC coupling, the first cycle displayed is inaccurate. Once the signals DC component has been calculated and eliminated during the first cycle, the waveforms will be accurate. With DC coupling, the sum of the AC and DC components of the signal is displayed. Selecting 0 displays a reference flat line at the point of origin set by Y position.
10-20
Electronics Workbench
Oscilloscope
Note Do not place a coupling capacitor in series with an oscilloscope probe. The oscilloscope will not provide a path for current, and the analysis will consider the capacitor improperly connected. Instead, choose AC coupling.
Trigger
Descending edge Ascending edge Triggering level Triggering signal External trigger terminal
These settings determine the conditions under which a waveform is first displayed on the oscilloscope. Trigger Edge To start displaying the waveform on its positive slope or rising signal, click the ascending edge button. To start with the negative slope or falling signal, select the descending edge button. Trigger Level (-999kV 999 kV) The trigger level is the point on the oscilloscopes y-axis that must be crossed by the waveform before it is displayed. Tip A flat waveform will not cross the trigger level. To see a flat signal, make sure the triggering signal is set to Auto. Trigger Signal Triggering can be internal, with reference to the input signal for channel A or B, or external, with reference to a signal through the external trigger terminal situated below the ground terminal on the Oscilloscope icon. If a flat signal is expected, or if signals are to be displayed as soon as possible, select Auto. The Sing button is used to make the oscilloscope trigger a single pass when the trigger level is met. Once the trace gets to the end of the scope face, the trace will not change until you click Sing again. The Nor button is used to make the oscilloscope refresh every time the trigger level is met. The None button is used if you do not wish to set triggering. Instruments
10-21
Instruments
10.8
Instruments
Bode Plotter
To use the instrument, click on the Bode Plotter button in the Instrument toolbar and click to place its icon on the workspace. The icon is used to wire the Bode Plotter to the circuit. Double-click on the icon to open the instrument face, which is used to enter settings and view measurements. For details see 10.8.1 Using the Bode Plotter on page 10-24.
Output terminals
Input terminals
10-22
Electronics Workbench
Bode Plotter
The Bode Plotter produces a graph of a circuits frequency response and is most useful for analyzing filter circuits. The Bode Plotter is used to measure a signals voltage gain or phase shift. When the Bode Plotter is attached to a circuit, a spectrum analysis is performed.
Magnitude or phase
+V
V(COM)
+V
V(COM)
The Bode Plotter generates a range of frequencies over a specified spectrum. The frequency of any AC source in the circuit does not affect the Bode Plotter. However, an AC source must be included somewhere in the circuit. The initial and final values of the vertical and horizontal scales are preset to their maximum value. These values can be changed to see the plot on a different scale. If the scale is expanded or the base changed after simulation is complete, you may need to activate the circuit again to get more detail in the plot. Unlike most test instruments, if the Bode Plotters probes are moved to different nodes, it is necessary to re-activate the circuit to ensure accurate results. Note If you are not familiar with connecting and adjusting the settings of the instruments, see 10.1.2 Adding an Instrument to a Circuit on page 10-4 and 10.1.3 Using the Instrument on page 10-5 before using this instrument.
Instruments
10-23
Instruments
Magnitude or Phase
Magnitude measures the ratio of magnitudes (voltage gain, in decibels) between two nodes, V+ and V-. Phase measures the phase shift (in degrees) between two nodes. Both gain and phase shift will be plotted against frequency (in hertz). If V+ and V- are single points in a circuit: Instruments 1. Attach the positive IN terminal and the positive OUT terminal to connectors at V+ and V-. 2. Attach the negative IN and OUT terminals to a ground component. If V+ (or V-) is the magnitude or phase across a component, attach both IN terminals (or both OUT terminals) on either side of the component.
10-24
Electronics Workbench
Bode Plotter
Base Settings A logarithmic base is used when the values being compared have a large range, as is generally the case when analyzing frequency response. For example, if measuring a signals voltage gain, the decibel value is calculated as follows:
dB = 20*log10Vout Vin
The base scale can be changed from logarithmic (Log) to linear (Lin) without the circuit being activated again. (Only when using a logarithmic scale is the resulting graph referred to as a Bode plot.) Horizontal Axis Scale (1 mHz 999.9 GHz) The horizontal or x-axis always shows frequency. Its scale is determined by the initial (I) and final (F) settings for the horizontal axis. Since a frequency response analysis requires a large frequency range, a logarithmic scale is often used. Note When setting the horizontal axis scale, the initial (I) frequency must be less than the final (F) frequency. Vertical Axis Scale The units and scale for the vertical axis depend on what is being measured and the base being used, as shown in the table below.
Minimum Initial Value is... -200 dB 0 -720 Maximum Final Value is... 200 dB 10e+09 720
Instruments
When measuring voltage gain, the vertical axis shows the ratio of the circuits output voltage to its input voltage. For a logarithmic base, the units are decibels. When measuring phase, the vertical axis always shows the phase angle in degrees. Regardless of the units, you can set initial (I) and final (F) values for the axis using the Bode plotters controls. Note When setting the vertical axis scale, the initial (I) frequency must be less than the final (F) frequency.
10-25
Instruments
Instruments
10-26
Electronics Workbench
Word Generator
10.9
Word Generator
To use the instrument, click on the Word Generator button in the Instrument toolbar and click to place its icon on the workspace. The icon is used to wire the Word Generator to the circuit. Double-click on the icon to open the instrument face, which is used to enter settings and view measurements.
Least significant 16 bits in the 32 bit word Most significant 16 bits in the 32 bit word
Use the word generator to send digital words or patterns of bits into circuits to provide stimulus to digital circuits:
Instruments
Note If you are not familiar with connecting and adjusting the settings of the instruments, see 10.1.2 Adding an Instrument to a Circuit on page 10-4 and 10.1.3 Using the Instrument on page 10-5 before using this instrument.
10-27
Instruments
Controls
Sends a continuous stream of words Sends all the words from the initial to the final address in a stream
Instruments
To inject the 32-bit words into a circuit, click Step, Burst or Cycle. To transmit one word at a time into the circuit, click Step. To send all words in sequence, click Burst. Clicking Cycle sends a continuous stream of words that can be stopped by clicking the Run/stop simulation button on the Main toolbar. Use a breakpoint when you want to pause the stream of words at a specified word. To insert a breakpoint, select the word in the buffer scroll list where you want the input to stop, right-click and select Set Breakpoint from the pop-up that appears. A stop sign marks a breakpoint in the scroll list. To remove a breakpoint, right-click on an existing breakpoint in the buffer scroll list and select Delete Breakpoint from the pop-up that appears. More than one breakpoint can be used. Breakpoints affect both Cycle and Burst.
10-28
Electronics Workbench
Word Generator
Enter the initial value for up or down Number of lines (words) in counter or right or left shift. the buffer.
Triggering
Use internal triggering Trigger on ascending edge of signal
Instruments
To use the word generator clock to trigger input from the word generators input field to the circuit, click Internal. To use input through the external terminal instead, with each input cycle causing one word to be transmitted, click External. Use the ascending/descending edge buttons to control whether the input signal triggers the word generator on its ascending or descending edge.
Set the clock frequency of the word generator in Hz, kHz or MHz. Each word is placed on the output terminals for the duration of one clock cycle.
10-29
Instruments
Enabling this option lets the circuit know that data from the word generator is ready.
External clock
Instruments 10-30
Electronics Workbench
Logic Analyzer
The logic analyzer displays the levels of up to 16 digital signals in a circuit. It is used for fast data acquisition of logic states and advanced timing analysis to help design large systems and carry out troubleshooting.
The 16 circles on the left side of the icon correspond to the terminals and horizontal rows across the instrument face. When the terminal is connected with a node, its circle is displayed with a black dot and the nodes name and color are displayed. Otherwise the terminal circle is displayed without a black dot. When a circuit is activated, the logic analyzer records the input values on its terminals. When the triggering signal is seen, the logic analyzer displays the pre- and post-trigger data. Data is displayed as square waves over time. The top row displays values for channel 0 (generally the first bit in a digital word), the next row displays values for channel 1, and so on. The binary value of each bit in the current word is displayed in the terminals on the left side of the instrument face. The time axis is displayed as the top axis of the signal display dialog box. The dialog box also displays the internal clock signal, external clock signal, external clock qualify signal and trigger qualify signal. To specify the number of samples stored before and after triggering, click Set in the Clock box or use the default instrument settings, as explained in 10.3 Interactive Simulation Settings on page 10-7. The logic analyzer stores data until it reaches the pre-trigger number of samples. Then, it begins discarding samples as new samples appear until it sees the trigger signal. After the trigger signal, samples are stored up to the value of the post-trigger samples.
Instruments
10-31
Instruments
The time position automatically displays the time position values of the two crosshair cursors, T1 and T2, when sampling stopped. It also automatically moves the first crosshair cursor T1 to the position of time zero, when sampling stopped. To change the threshold voltage, use the default instrument settings, as explained in 10.3 Interactive Simulation Settings on page 10-7. Note If you are not familiar with connecting and adjusting the settings of the instruments, see 10.1.2 Adding an Instrument to a Circuit on page 10-4 and 10.1.3 Using the Instrument on page 10-5 before using this instrument.
Clock Setup
The clock informs the logic analyzer when to read an input sample. The clock can be internal or external.
10-32
Electronics Workbench
Logic Analyzer
To adjust the clock settings: 1. Click Set in the Clock area of the logic analyzer. The Clock Setup dialog box appears.
Connect to external signal mode. Clock frequency depends on simulation speed.
2. Select external or internal clock mode. 3. Set the internal clock rate. The clock qualifier is an input signal that filters the clock signal. If it is set to x, then the qualifier is disabled and the clock signal determines when samples are read. If it is set to 1 or 0, the samples are read only when the clock signal matches the selected qualifier signal. 4. Set how much data to show before (Pre-trigger samples) and after (Post-trigger samples) the sample. 5. Click Accept. Instruments
10-33
Instruments
Trigger Settings
The logic analyzer can be made to trigger upon reading a specified word or combination of words or when meeting the increase edge or decrease edge of the clock signal.
To specify up to three trigger words or word combinations: 1. Click Set in the Trigger box of the logic analyzer. 2. Select Positive, Negative or Both positive and negative clock edge. 3. Click in the box labeled Pattern A, Pattern B, or Pattern C and enter a binary word. An x means either 1 or 0. 4. From the Trigger combinations drop-down list, select the desired combination. (See below for a list of combinations.) Instruments 5. From the Trigger qualifier drop-down list, select the desired trigger qualifier. The trigger qualifier is an input signal that filters the triggering signal. If it is set to x, then the qualifier is disabled and the trigger signal determines when the logic analyzer is triggered. If it is set to 1 or 0, the logic analyzer is triggered only when the triggering signal matches the selected trigger qualifier. 6. Click Accept.
10-34
Electronics Workbench
Logic Converter
Instruments
10-35
Instruments
Boolean expression
Click to change from 0 to 1 or X (toggle). See details in Entering and Converting a Boolean Expression on page 10-37.
Conversion options
Click the circles or the labels below them to display the inputs for that terminal. Note If you are not familiar with connecting and adjusting the settings of the instruments, see 10.1.2 Adding an Instrument to a Circuit on page 10-4 and 10.1.3 Using the Instrument on page 10-5 before using this instrument.
Instruments
10-36
Electronics Workbench
Logic Converter
of ones and zeros to fulfill the input conditions. The values in the output column on the right are initially set to ?. 2. Edit the output column to specify the desired output for each input condition. To change an output value, click on it to switch among the three possible settings: 0, 1 and X (an X indicates that either 1 or 0 is acceptable). To convert a truth table to a Boolean expression, click the Truth Table to Boolean Expression button. The Boolean expression is displayed at the bottom of the logic converter. To convert a truth table to a simplified Boolean expression, or to simplify an existing Boolean expression, click the Simplify button. The simplification is performed by the Quine-McCluskey method, rather than the more familiar Karnaugh mapping technique. Karnaugh mapping works for only small numbers of variables and requires human intuition, while Quine-McCluskey has proved to be exhaustive for any number of variables but is too cumbersome for manual solutions. Note Simplifying a Boolean expression requires substantial memory. If not enough memory is available, Multisim may not be able to complete this operation.
10-37
Instruments
A typical distortion analyzer provides distortion measurements for signals in the range of 20 Hz to 100 kHz, including audio signals.
This label changes depending on which type of measurement is selected.
Instruments
The types of measurements performed are either Total Harmonic Distortion (THD) or Signal Plus Noise and Distortion (SINAD). To set the way results are to be displayed for either type of measurement, click Settings.
For THD only - sets the definition used to calculate THD (IEEE defines this slightly differently from ANSI/ IEC).
Note If you are not familiar with connecting and adjusting the settings of the instruments, see 10.1.2 Adding an Instrument to a Circuit on page 10-4 and 10.1.3 Using the Instrument on page 10-5 before using this instrument.
10-38
Electronics Workbench
Spectrum Analyzer
SINAD
This type of measurement measures the ratio of (signal plus noise and distortion)/(noise and distortion).
10-39
Instruments
The circuit is idealized as a two-port network. To properly use the network analyzer, the circuit must be left open at its input and output ports. During simulation the network analyzer completes the circuit being analyzed by inserting its subcircuits. You need to remove these subcircuits from the circuit before performing other analysis and simulation. The network analyzer is part of the RF Design Module. For more details, see 15.3 RF Instruments on page 15-9. Note If you are not familiar with connecting and adjusting the settings of the instruments, see 10.1.2 Adding an Instrument to a Circuit on page 10-4 and 10.1.3 Using the Instrument on page 10-5 before using this instrument.
Instruments
Placed Probe multiple probes can be connected to points in the circuit before or during simulation. These probes remain stationary, and will contain the data from the simulation until another simulation is run, or the data is cleared. In addition to the various voltage readings and the frequency reading found in dynamic probes, placed probes can also
10-40
Electronics Workbench
Measurement Probe
Note Dynamic probes cannot display current; probes placed after simulation has run also cannot measure current. This is because the SPICE netlist must be modified in order to measure current, and this is only done when the simulation is restarted.
Instruments
10-41
Instruments
Instruments
2. Optionally, set the Background and Text colors in the Color box. Note Tooltip refers to the text that appears attached to the cursor if you hover it above a tool button. 3. In the Size box, enter the Width and Height, or enable Auto-Resize to have the information box automatically resize to show all content.
10-42
Electronics Workbench
Measurement Probe
4. Optionally, click on the Font tab to change the font used in the probes information box.
10-43
Instruments
6. To hide a parameter (for example, V(p-p)), click beside the desired parameter in the Show column and de-select the checkbox. 7. Use the Minimum and Maximum columns to set a parameters range. 8. Optionally, change the number of significant digits for a displayed parameter in the Precision column. Note These settings are the defaults for any newly placed probes, as well as for the dynamic probe.
10-44
Electronics Workbench
Measurement Probe
4. When the circuit is simulating, and the probe is not placed on a wire or terminal, it appears as follows:
5. To de-activate the probe, click on the Measurement Probe button or press ESC. Note For accuracy of measurement, your circuit must have a ground attached, even if it uses a floating power supply.
Placed Probe
To connect a placed Measurement Probe and take a reading: 1. Click on the Measurement Probe button found in the Instruments toolbar. 2. Click to place the probe at the desired point on the circuit. Instruments
3. Select Simulate/Run or click on the Run/Stop Simulation button to activate the circuit. 4. The information box is populated with data.
10-45
Instruments
To hide the contents of the probe: 1. Right-click on the probe and click on Show Comment/Probe. The placed probe now appears as an arrow, as shown below.
Placed probe
To show the contents of probe, right-click on it and click on Show Comment/Probe. To change the properties of a placed probe: 1. Double-click on the probe to display the Probe Properties dialog box.
Instruments
Layer on which the placed probe appears. Select a different layer if desired. For details on layers, see 3.4.2.6 Sheet Properties - Visibility Tab on page 3-33.
Content of the placed probe as set in the Parameters tab De-select to hide the contents of the placed probe.
2. Optionally, change the probes font and parameters as detailed in 10.15.1.1 Measurement Probe Settings on page 10-42.
10-46
Electronics Workbench
Four-channel Oscilloscope
Instruments
To use the instrument, click on the Four Channel Oscilloscope button in the Instrument toolbar and click to place its icon on the workspace. The icon is used to wire the Four Channel Oscilloscope to the circuit. Double-click on the icon to open the instrument face, which is used to enter settings and view measurements. Note If you are not familiar with connecting and adjusting the settings of the instruments, see 10.1.2 Adding an Instrument to a Circuit on page 10-4 and 10.1.3 Using the Instrument on page 10-5 before using this instrument.
10-47
Instruments
Axes Buttons
Instruments
Y/Tclick to display waveform magnitude (y-axis) against time (x-axis). A/Bclick to show input channel A against input channel B. (A is on the y-axis and B
is on the x-axis). These settings display frequency and phase shifts, known as Lissajous patterns, or they can display a hysteresis loop. When this button is selected, the Scale and X position fields are disabled (greyed out). You can change the channels that are represented on the y-axis and x-axis by right-clicking on the A/B button to display a pop-up menu. Remember that the first letter is the channel that is represented on the y-axis and the second letter is the channel that is represented on the x-axis. Once you have selected an item from the menu, the A/B buttons label will change to reflect your selection. For example, if you
10-48
Electronics Workbench
Four-channel Oscilloscope
D/A is selected Scale & X position fields are disabled. Buttons label changes to D/A
A+Bclick to add trace A to trace B. You can change the channels that are added together by right-clicking on the A+B button and making a selection from the pop-up menu that appears.
Instruments
2. Adjust the settings in the Channel_A box as follows: Channel dialclick and drag on the dial to select the input channel that is being set in the Scale and Y position fields and input coupling buttons. Note that the name of the box changes as you move the dial.
Turn dial to select Channel
Scale fieldclick here to change the number of volts per division. This setting determines the scale of the y-axis. It also controls the x-axis scale when the A/B button is selected in the Timebase box. Note When running a simulation, the Scale selected in the channel that is displayed is the scale that is used on the graph. For example, if you have selected Channel B with the channel dial, and its Scale is set to 5 V/Div, all channels in the graph will be shown at 5 V/Div, even if channels A, C & D are set to 2 V/Div.
10-49
Instruments
Y position fieldclick in this field to change the signals starting point on the y-axis. When set to 0, the signal starts at the intersection with the x-axis. A positive value (for example, 2.00) shifts the starting point above the x-axis, in this case two divisions. A negative value (for example, -3.00) shifts the starting point below the x-axis, in this case three divisions. Using a different Y position setting for each trace (channel) helps distinguish individual waveforms. Input coupling buttons:
AC buttonclick to display only the AC component of a signal. This has the effect of placing a capacitor in series with the oscilloscopes probe. As on a real oscilloscope using AC coupling, the first cycle displayed is inaccurate. Once the signals DC component has been calculated and eliminated in the first cycle, the waveforms are accurate. 0 buttonclick to display a flat reference line at the point of origin set in Y position. DC buttonclick to display the sum of the AC and DC components of the signal. - buttonclick to invert the selected channels trace 180 degrees. Note Do not place a coupling capacitor in series with an oscilloscope probe. The oscilloscope will not provide a path for current and the analysis will consider the capacitor improperly connected. Instead, choose AC.
Instruments
Trigger Buttons
Edge buttonsclick the Ascending Edge button to start displaying the signal on its positive slope or rising signal. Click the Descending Edge button to start with the negative slope or falling signal. Level fieldsenter the trigger level in the left field and the unit of measure in the right field. The trigger level is the point on the y-axis that must be crossed by the waveform before it is displayed. A flat waveform will not cross the trigger level. To see a flat signal, make sure the triggering signal is set to Auto. Trigger buttons: Sing (single) buttonclick to make the scope trigger one pass when the trigger level is met. Once the trace gets to the end of the scope face, it will not change until you click Sing again.
10-50
Electronics Workbench
Four-channel Oscilloscope
Nor (normal) buttonclick to make the scope refresh every time the trigger level is met. Auto (automatic) buttonclick to display a flat signal, or if you wish to display signals as soon as possible. If Auto is selected, the A and Ext buttons are disabled (greyed out). A buttonthis is active if Sing or Nor are selected. If selected, triggering is internal with reference to channel A. If you wish to change the internal reference channel, right-click on A to display a pop-up menu and select the desired channel. The label on the button changes to reflect your selection.
None button to have no trigger setting Ext (external) buttonclick if you wish to trigger the scope from an external source.
Instruments
10-51
Instruments
Instruments
Taking Readings
To take readings with the four-channel oscilloscope: 1. Select Simulate/Run or click on the Run/Stop Simulation button to activate the circuit. 2. Double-click on the four-channel oscilloscopes icon to open the instrument face. Note You may open the instrument at any time before, during or after the simulation is run. 3. After a few seconds, either stop or pause the simulation. Optionally, click Reverse to show the display with a white background. The four traces on the oscilloscopes display represent the four input channels A through D. The traces have the same colors that were
10-52
Electronics Workbench
Four-channel Oscilloscope
selected for their wires in 10.16.1.3 Connecting the Four-channel Oscilloscope on page 10-55.
Note It is not necessary to stop or pause the simulation to view data or change the scopes settings.
Viewing Data
Either before, after or during a simulation, you can change the data viewing settings. To view data on the four-channel oscilloscope screen: 1. Place the mouse cursor over the left graph cursor (labeled 1) and drag the graph cursor to a point on the curves. Note that the data in the T1 section of the scope change to reflect the points where the cursor crosses the curves. You may also drag the right graph cursor Instruments
10-53
Instruments
(labeled 2) to a desired point on the curves. When you do this the data in the T2 row of the scope change.
Left cursor (Labeled 1) Right cursor (Labeled 2) Channel A Channel B
Channel C Channel D Data for left cursor (T1) Data for right cursor (T2)
2. You may also use the left and right arrows to move the graph cursor.
Instruments
10-54
Electronics Workbench
Four-channel Oscilloscope
3. You can also move either graph cursor to a specific x or y value on the selected curve by right-clicking on it to display a pop-up menu.
Note For details, see 11.2.2.3 Cursor Pop-up Menu on page 11-10.
3. Select different colors for the wires leading to the four input channels to the oscilloscope. The traces of the four channels that appear on the oscilloscope will be represented by the colors chosen in this step. Right-click on the wire leading to input channel A and select Color Segment from the
10-55
Instruments
The Color dialog box appears. Click on the desired color for the wire and click OK. Repeat for channels B - D. You now have a circuit with the four-channel oscilloscope connected in a fashion similar to the following.
Instruments 10-56
Electronics Workbench
Frequency Counter
Note If you are not familiar with connecting and adjusting the settings of the instruments, see 10.1.2 Adding an Instrument to a Circuit on page 10-4 and 10.1.3 Using the Instrument on page 10-5 before using this instrument.
Note This example uses a simple AC source to provide a signal to the Frequency Counter.
10-57
Instruments
2. Double-click on the icon to open the instrument face. Note that the Freq (frequency) button is currently selected.
3. Set the instrument to read as desired, using the following controls: Measurement box: Freq (frequency) buttonclick to measure the frequency. Pulse buttonclick to measure the duration of a positive and negative pulse. Period buttonclick to measure the duration of a single cycle. Rise/Fall buttonclick to measure the rise and fall times of a single cycle. Coupling box: AC buttonclick to display only the AC component of a signal. DC buttonclick to display the sum of the AC and DC components of the signal. Sensitivity (RMS) boxenter the sensitivity in the left field and the unit of measure in the right field. Trigger Level boxenter the trigger level in the left field and the unit of measure in the right field. The trigger level is the point that must be reached by the waveform before a reading is displayed. Note The above settings may be changed before, during or after a simulation.
Instruments 10-58
Electronics Workbench
Frequency Counter
4. Select Simulate/Run. Since the Freq button is selected, the frequency at the point where the frequency counter is connected displays.
Frequency
Selected button
Instruments
Period
Duration of a single cycle
Selected button
10-59
Instruments
Rise/Fall
Rise time of a single cycle Fall time of a single cycle
Selected button
10.18 IV Analyzer
The IV Analyzer is used to measure the current-voltage curves of the following devices: Diode PNP BJT NPN BJT PMOS NMOS. Note The IV Analyzer measures single components that are not connected in a circuit. You may measure devices that are already in circuits by disconnecting them first. Instruments 10-60
Electronics Workbench
IV Analyzer
Icon
Note A PMOS FET is analyzed in this example. 3. Place the desired device on the workspace and wire it to the IV Analyzer following the symbol map that is shown on the instrument face.
Symbol Map Changes depending on the device selected in the Components drop-down list.
Instruments
Note If checking a device that is already in a circuit, disconnect it from the circuit and attach it to the IV Analyzer as shown above.
10-61
Instruments
Note The contents of this dialog box change depending on the device selected in the Components drop-down list. For details on how this dialog box appears for other devices, see 10.18.1.1 Simulate Parameters Dialog Box on page 10-63. Optionally, change the default settings for Vds (drain-source voltage) that appear in the following fields in the Source Name: V_ds box: Startenter the desired start Vds for the sweep in the left section and the unit of measure in the right section Stopenter the desired stop Vds for the sweep in the left section and the unit of measure in the right section Incremententer the desired size of the steps of Vds for the sweep in the left section and the unit of measure in the right section. The points formed by these steps will be the points at which measurements will be calculated to form the curve(s) on the graph. Optionally, change the default settings for Vgs (gate-source voltage) that appear in the following fields in the Source Name: V_gs box: Startenter the desired start Vgs for the sweep in the left section and the unit of measure in the right section Stopenter the desired stop Vgs for the sweep in the left section and the unit of measure in the right section Num stepsenter the desired number of steps of Vgs for the sweep. There will be one curve for each value of Vgs. Normalize Data checkboxdisplays the Vdsvalues in the curves (x-axis) with positive values. Click OK to save the settings and return to the main IV Analyzer dialog box. 5. Optionally, change the default scale buttons in the Current Range(A) and Voltage Range(V) boxes from Lin (linear) to Log (logarithmic). In this example, both settings were left at Lin. Note There is no need to change the F (final) and I (initial) current and voltage settings. After the simulation is run, these fields are populated so that the curves fully display.
Instruments 10-62
Electronics Workbench
IV Analyzer
See 10.18.2 Reviewing IV Analyzer Data on page 10-67 for details on changing these fields to view specific areas of the curve. 6. Select Simulate/Run. The IV curves for the device are displayed. If desired, click on Reverse to change the display to a white background.
Note See also 10.18.2 Reviewing IV Analyzer Data on page 10-67. 7. Optionally, select View/Grapher to view the results of the simulation on the grapher.
Diode Parameters
When you have selected Diode in the Components drop-down list of the IV Analyzer dialog box and clicked Sim_Param., the Simulate Parameters dialog box that appears is populated with the following data. .
This box is disabled for diode measurements
10-63
Instruments
Optionally, change the default settings that appear in the following fields in the SourceName: V_pn box: Startenter the desired start Vpn for the sweep in the left section and the unit of measure in the right section Stopenter the desired stop Vpn for the sweep in the left section and the unit of measure in the right section Incremententer the desired size of the steps of Vpn for the sweep in the left section and the unit of measure in the right section. The points formed by these steps will be the points at which measurements will be calculated to form the curve on the graph.
Instruments
Optionally, change the default parameters for Vce (collector-emitter voltage) that appear in the following fields in the Source Name: V_ce box: Startenter the desired start Vce for the sweep in the left section and the unit of measure in the right section Stopenter the desired stop Vce for the sweep in the left section and the unit of measure in the right section Incremententer the desired size of the steps of Vce for the sweep in the left section and the unit of measure in the right section. The points formed by these steps will be the points at which measurements will be calculated to form the curve(s) on the graph. Optionally, change the default parameters for Ib (base current) that appear in the following fields in the Source Name: I_b box: Startenter the desired start Ib for the sweep in the left section and the unit of measure in the right section Stopenter the desired stop Ib for the sweep in the left section and the unit of measure in the right section Num stepsenter the desired number of steps of Ib. There will be one curve for each
10-64
Electronics Workbench
IV Analyzer
value of Ib. Normalize Data checkboxdisplays the Vce values on the curves (x-axis) with positive values.
Optionally, change the default settings parameters for Vce (collector-emitter voltage) that appear in the following fields in the Source Name: V_ce box: Startenter the desired start Vce for the sweep in the left section and the unit of measure in the right section Stopenter the desired stop Vce for the sweep in the left section and the unit of measure in the right section Incremententer the desired size of the steps of Vce for the sweep in the left section and the unit of measure in the right section. The points formed by these steps will be the points at which measurements will be calculated to form the curve(s) on the graph. Optionally, change the default parameters for Ib (base current) that appear in the following fields in the Source Name: I_b box: Startenter the desired start Ib for the sweep in the left section and the unit of measure in the right section Stopenter the desired stop Ib for the sweep in the left section and the unit of measure in the right section Num stepsenter the desired number of steps for Ib. There will be one curve for each value of Ib.
Instruments
10-65
Instruments
Optionally, change the default parameters for Vds (drain-source voltage) that appear in the following fields in the Source Name: V_ds box: Startenter the desired start Vds for the sweep in the left section and the unit of measure in the right section Stopenter the desired stop Vds for the sweep in the left section and the unit of measure in the right section Incremententer the desired size of the steps of Vds for the sweep in the left section and the unit of measure in the right section. The points formed by these steps will be the points at which measurements will be calculated to form the curve(s) on the graph. Optionally, change the default parameters for Vgs (gate-source voltage) that appear in the following fields in the Source Name: V_gs box: Startenter the desired start Vgs for the sweep in the left section and the unit of measure in the right section Stopenter the desired stop Vgs for the sweep in the left section and the unit of measure in the right section Num stepsenter the desired number of steps of Vgs for the sweep. The points formed by these steps will be the points at which measurements will be calculated to form the curve(s) on the graph.
Instruments 10-66
Electronics Workbench
IV Analyzer
Cursor
No data
Note This section uses data from the analysis of an NPN BJT. To view data in the IV Analyzer dialog box: 1. Place the mouse cursor over the graph cursor and drag the graph cursor to a point on the curves. The three fields at the bottom of the graph now contain data which corresponds to a base current (Ib) of 1 mA. Ib(1m) is represented by the curve at the bottom of the graph.
Instruments
Curve selected is Ib = 1 mA
10-67
Instruments
2. To select another curve, for example, Ib = 2 mA, click on that curve with your mouse cursor. The fields at the bottom of the graph now contain the data from the point where the graph cursor crosses the selected curve.
Curve selected is Ib = 2 mA
3. You may also use the left and right arrows to move the graph cursor, as indicated below.
Instruments
10-68
Electronics Workbench
IV Analyzer
4. You can also move the graph cursor to a specific x or y value on the selected curve by right-clicking on it to display a pop-up menu.
Note For details, see 11.2.2.3 Cursor Pop-up Menu on page 11-10. 5. To view specific areas of the graph, change the data in the Current Range(A) and Voltage Range(V) boxes.
Instruments
Current Range(A) (y-axis) I fieldenter initial current to be displayed on graph in left field and unit of measure in right field F fieldenter final current to be displayed on graph in left field and unit of measure in right field Voltage Range(V) (x-axis) I fieldenter initial voltage to be displayed on graph in left field and unit of measure in right field F fieldenter final voltage to be displayed on graph in left field and unit of measure in right field
10-69
Instruments
6. In the following example, the graph is set to display Ib = 2 mA, from 75 mA to 175 mA on the y-axis; and from 100 mV to 1.25 V on the x-axis.
Electronics Workbench
10.19.1.1Supported Features
Most of the features that are documented in the Agilent 33120A Users Guide are available in its virtual simulated version. These include: Standard Waveforms: System Arbitrary Waveforms: User Defined Arbitrary Waveforms: Modulations: Memory Sections: Trigger Modes: Display Digital: Display Voltage: Edit Digital Value: Sine, Square, Triangle, Ramp, Noise, DC volts Instruments Sinc, Negative Ramp, Exponential Rise, Exponential Fall, Cardiac Any type of waveform with 8 - 256 points NON, AM, FM, Burst, FSK, Sweep Four memory sections named #0 - #3. #0 is the system default Auto/Single for Burst and Sweep modulation only 4-8 Three modes: Vpp, Vrams and dBm Change the displayed value with cursor buttons or number keys, or use the knob, or use the ENTER NUMBER key to key in the number directly
10-71
Instruments
Menu Operation:
The menu structure is: A: MODulation MENU 1: AM SHAPE, 2:FM SHAPE, 3:BURST CNT, 4:BURST RATE, 5:BURST PHAS, 6:FSK FREQ, 7:FSK RATE B:SWP MENU 1:START F, 2:STOP F, 3:SWP TIME, 4:SWP MODE, C:EDIT MENU 1:NEW ARB, 2:POINTS, 3:LINE EDIT, 4:POINT EDIT, 5:INVERT, 6:SAVE AS, 7:DELETE D:SYStem MENU 1:COMMA
10-72
Electronics Workbench
2. Wire the icon to the circuit following the pin key below.
SYNC OUTPUT
3. Refer to the PDF user guide for complete instructions on the use of this device. Note A link to the PDF version of this instruments user guide can be found at www.electronicsworkbench.com.
Instruments
10-73
Instruments
10.19.2.1Supported Features
Most of the features that are documented in the Agilent 34401A Users Guide are available in its virtual version. These include: Measure Modes: Instruments Voltage DC/AC Current DC/AC Resistor in two wires Frequency of input signals voltage wave Period of input signals voltage wave Continuity test Diode test Ratio test Functions: Null (relative measurement) Min-Max (store minimum and maximum readings) dB (display on voltage value) dBm (display on voltage value) Limit Test (test readings with a lower threshold value and a high threshold value) Trigger Modes: Auto/Manual
10-74
Electronics Workbench
Display Modes: Display Digital: Reading Hold: Reading Memory: Edit Digital Value: Menu Operation:
Auto/Manual 4 1/2 - 6 1/2 Yes Yes Change the displayed value with cursor buttons or number keys The menu structure is: A: MEASurement MENU 1: CONTINUITY, 2:RATIO FUNC B:MATH MENU 1:MIN-MAX, 2:NULL VALUE, 3: dB REL, 4:dBm REF R, 5:LIMIT TEST, 6:HIGH LIMIT, 7:LOW LIMIT C:TRIGger MENU 1:READ HOLD, 2:TRIG DELAY D:SYStem MENU 1:RDGS STORE, 2:SAVED RDGS, 3:BEEP, 4:COMMA
All other features and operations are based on the Agilent 34401A Users Guide. Instruments
10-75
Instruments
2. Wire the icon to the circuit following the pin key below.
HI (1000 V Max) HI (200 V Max) LO (1000 V Max) LO (200 V Max) I
Instruments
3. Refer to the PDF user guide for complete instructions on the use of this device. Note A link to the PDF version of this instruments user guide can be found at www.electronicsworkbench.com.
10-76
Electronics Workbench
Instruments
10.19.3.1Supported Features
Most of the features that are documented in the Agilent 54622D Users Guide are available on its simulated version. These include: Running Mode: Trigger Mode: Trigger Type: Trigger Source: Display Mode: Signal Channels: Cursors: Auto, Single, Stop Auto, normal, auto-level Edge trigger, pulse trigger, pattern trigger Analog signals, digital signals, external trigger signal Main, delay, roll, XY 2 analog channels, 1 math channel, 16 digital channels, 1 probe signal for testing purposes 4 cursors
10-77
Instruments
FFT, multiply, subtract, differentiate, integrate Cursor information, sampling information, frequency, period, peak-peak, maximum, minimum, rise time, fall time, duty cycle, RMS, width, average, X at max Vector/point on traces, trace width, background color, board color, grid color, cursor color Yes Yes Save data into a DAT format file; can be converted and displayed on the system graph window The menu structure is: Main Display MENU 1:Main, 2: Delayed, 3:Roll, 4:XY, 5:Vernier, 6:Time Ref Cursor MENU 1:Source, 2:X Y, 3:X1, 4:X2, 5:X1 X2, 6:Cursor
Instruments
Quick Measure MENU 1:Source, 2:Clear Measure, 3:Frequency, 4:Period, 5:Peak_Peak, 6:Maximum, 7:Minimum, 8:Rise Time, 9:Fall Time, 10:Duty Cycle, 11:RMS, 12:+Width, 13:-Width, 14:Average, 15:X at Maximum Acquire MENU 1:Normal, 2:Average, 3:Args Display MENU 1:Clear, 2:Grid, 3:Background, 4:Boarder, 5:Vector Auto-Scale MENU 1:Undo Auto-scale
10-78
Electronics Workbench
Save MENU 1:Save Quick Print MENU 1:Print Utility MENU 1:Sampling Information, 2:Default Settings Edge MENU 1:Source, 2:Shape Pulse MENU 1:Source, 2:Shape, 3:Operation, 4:Less Value, 5:Great Value Pattern MENU 1:Source, 2:L, 3:H, 4:X, 5:Up Edge, 6:Down Edge Mode Coupling MENU 1:Mode, 2:Hold-off Value Analog Channel MENU 1:Coupling, 2:Vernier, 3:Invert Math Channel MENU 1:Setting, 2:FFT, 3:Multiply, 4:Subtract, 5:Differentiate, 6:Integrate Math FFT MENU 1:Source, 2:Span, 3:Center, 4:Scale, 5:Offset Math 1*2/1-2 MENU 1:Scale, 2:Offset Math Diff/Inte MENU 1:Source, 2:Scale, 3:Offset Instruments
10-79
Instruments
Instruments 10-80
Electronics Workbench
Trig Digital Ground Probe Comp (internal 1.2 kHz signal) Analog Input Channels 1 & 2 1 2 0 15 Digital Input Channels 0 - 15
3. Refer to the PDF copy of the instruments user guide for complete instructions on the use of this device. Tip For optimum simulation speed, set the time scale on the scope near to the value you would like to display during simulation. Note A link to the PDF version of this instruments user guide can be found at www.electronicsworkbench.com.
Instruments
10-81
Instruments
10.20.1Supported Features
Instruments Most of the features that are documented in the Tektronix TDS 2024s User Guide are available in its simulated version. These include: Running Mode: Trigger Mode: Trigger Type: Trigger Source: Display Mode: Signal Channels: Cursors: Math channel: Measurements: Display controls: Auto; Single; Stop. Auto; Normal. Edge Trigger; Pulse Trigger. Analog signals; Extent trigger signal. Main; Window; XY, FFT, Trig View. 4 analog channels; 1 math channel; one probe signal in 1kHz for testing purposes. 4 cursors. FFT; +; -. Cursor information; Frequency; Period; Peak-Peak; Maximum; Minimum; Rise time; Fall time; RMS; Mean. Vector/Point on traces; Contrast color control.
10-82
Electronics Workbench
Yes. Yes.
Control Buttons Operation: Run/Stop BUTTON: Trig View BUTTON: Force Trig BUTTON: Set to 50% BUTTON: Set to Zero BUTTON: Help BUTTON: Print BUTTON: Start or Stop sampling in multiple-triggers. See current trigger signal wave and trigger level. Immediately to start a trigger. Move trigger level to the mean value of the trigger signal. Set time offset position to zero. Goes to instrument help topic. Print the graph to printer. Single Seq. BUTTON: Start sampling in one-trigger.
Soft Menu BUTTONs: To support the menu controls. Soft Button Menu Operation: The soft button menu is a subset of the Tektronix Oscilloscope TDS 2024s: Save/Recall MENU: Measure MENU: 1: Setup; 2: Save; 3: Recall. Five measure areas, each one includes second a level menu to set a source channel and measure type under: Frequency, Period, Peak_peak, Maximum, Minimum, Rise time, Fall time; RMS, Mean. 1: Sample, 2: Average, 3: Average value. Shows one of three menu lists based on the signal curve type: A) (SIN Curve) 1: Multiple; 2: Single; 3: FFT; 4: Undo, (Pulse curve) 1: Multiple; 2: Single; 3: Slope Up; 4: Slope Down; 5: Undo, (Unknow curve) 1: Mean Value; 2: Peak-Peak Value. 1: System status, it includes second level menu: 1: Horizontal status; 2: Vertical CH1-CH2 status; 3: Vertical CH3-CH4 status; 4: Trigger status; 5: Misc. status. 1: Type; 2: Source. 1: Type, 2: Format, 3: Contrast Increase, 4: Contrast Decrease. 1: Undo Default Setup. It will show one of three menu lists: A) (Edge Trigger) 1: Type; 2: Source; 3: Slope; 4: Mode; 5: Coupling; B) (Pulse Trigger page 1) Instruments
Utility MENU:
10-83
Instruments
1: Type; 2: Source; 3: When; 4: Pulse Width; 5: More Page; C) (Pulse Trigger page 2) 1: Type; 2: Polarity; 3: Mode; 4: Coupling; 5) More Page. Channel MENU: Math channel MENU: 1: Coupling, 2: Volts/Div, 3: Invert. It will show one of three sub menu lists: A) (+) 1: Operation; 2: CH1+CH2; 3: CH3+CH4; B) (-) 1: Operation; 2: CH1-CH2; 2: CH2-CH1; 3: CH3-CH4; 4: CH4-CH3; C) (FFT) 1: Operation; 2: Source; 3: Window. 1: Main; 2:Window Zone; 3: Window; 4: Trig Knob selection.
Horizontal MENU:
Instruments
10-84
Electronics Workbench
Voltmeter
2. Wire the icon to the circuit following the pin key below.
3. Refer to the PDF copy of the instruments user guide for complete instructions on the use of this device. Note A link to the PDF version of this instruments user guide can be found at www.electronicsworkbench.com.
10.21 Voltmeter
The voltmeter offers advantages over the multimeter for measuring voltage in a circuit. It takes up less space in a circuit and you can rotate its terminals to suit your layout.
Instruments
10-85
Instruments
To change the resistance of the voltmeter, double-click on it and change the value in the Resistance field that is found in the Value tab of the property dialog that displays.
10.21.1.3Connecting a Voltmeter
Connect the voltmeter in parallel with the load, attaching the probes to connectors on either side of the load you want to measure. When a circuit is activated and its behavior is simulated, the voltmeter displays the voltage across the test points. (The voltmeter may also display interim voltages before the final steady-state voltage is reached.) Note The voltmeter is found in the Indicator component group. It is not found on the Component toolbar. Note If a voltmeter is moved after the circuit has been simulated, activate the circuit again to get a reading. Instruments
10.22 Ammeter
The ammeter offers advantages over the multimeter for measuring current in a circuit. It takes up less space in a circuit and you can rotate its terminals to suit your layout.
10-86
Electronics Workbench
Ammeter
further to get a more precise measurement. (However, using an ammeter with very low resistance in a high-resistance circuit may result in a mathematical round-off error.) To change the resistance of the ammeter, double-click on it and change the value in the Resistance field that is found in the Value tab of the property dialog that displays.
10.22.1.3Connecting an Ammeter
Like a real ammeter, the simulated ammeter must be connected in series at nodes you want to measure. The negative terminal is on the side with the heavy border. If an ammeter is moved after the circuit has been simulated, activate the circuit again to get a reading. Note The voltmeter is found in the Indicator component group. It is not found on the Component toolbar.
Instruments
10-87
Instruments
Instruments 10-88
Electronics Workbench
Chapter 11 Analyses
This chapter explains how to use the various analyses included in Multisim 8. It explains how to work with analyses in general, the specific settings and options for each individual analysis, and how to view and manipulate analyses results. Some of the features described in this chapter may not be available in your edition of Multisim 8. Such features have an icon in the column next to their description. Refer to the release notes for a list of the features in your edition. The following analyses are described in this chapter.
Subject Introduction to Multisim Analyses Viewing the Analysis Results: Grapher Working with Pages on the Grapher Working with Graphs Viewing Charts Cut, Copy and Paste Print and Print Preview Working with Analyses General Instructions The Analysis Parameters Tab The Output Tab The Analysis Options Tab The Summary Tab Incomplete Analyses DC Operating Point Analysis About the DC Operating Point Analysis Setting up and Running DC Operating Point Analysis Sample Circuit Troubleshooting DC Operating Point Analysis Failures Page No. 11-4 11-4 11-6 11-7 11-18 11-19 11-20 11-21 11-22 11-22 11-22 11-25 11-26 11-27 11-27 11-27 11-28 11-28 11-29
Analyses
11-1
Analyses
Subject AC Analysis About the AC Analysis Setting AC Analysis Frequency Parameters Transient Analysis About the Transient Analysis Setting Transient Analysis Parameters Troubleshooting Transient Analysis Failures Fourier Analysis About the Fourier Analysis Setting Fourier Analysis Parameters Noise Analysis About the Noise Analysis Setting Noise Analysis Parameters Noise Analysis Example Distortion Analysis Multisim Approach Preparing the Circuit for Distortion Analysis Understanding the Distortion Analysis Options Distortion Analysis for Harmonic Distortion Distortion Analysis for Intermodulation Distortion DC Sweep Analysis Setting DC Sweep Analysis Parameters DC Sweep Analysis Examples DC and AC Sensitivity Analyses Sensitivity Analysis Parameters Setting Up and Running Sensitivity Analysis Parameter Sweep Analysis About the Parameter Sweep Analysis Setting Parameter Sweep Analysis Parameters Parameter Sweep Analysis Example
Page No. 11-32 11-32 11-33 11-35 11-35 11-35 11-37 11-38 11-38 11-39 11-41 11-41 11-43 11-46 11-48 11-49 11-49 11-50 11-51 11-53 11-56 11-56 11-57 11-62 11-62 11-63 11-68 11-68 11-69 11-71 11-77 11-77 11-78 11-80 11-80 11-81 11-82
Analyses
Temperature Sweep Analysis About the Temperature Sweep Analysis Setting Temperature Sweep Analysis Parameters Transfer Function Analysis About the Transfer Function Analysis Setting Transfer Function Analysis Parameters Examples of Transfer Function Analysis
11-2
Electronics Workbench
Subject Worst Case Analysis About the Worst Case Analysis Setting Analysis Parameters Worst Case Analysis Example Pole Zero Analysis About the Pole Zero Analysis Setting Pole Zero Analysis Parameters Running Pole Zero Analysis Monte Carlo Analysis About the Monte Carlo Analysis Setting Up and Running Monte Carlo Analysis Monte Carlo Analysis Example Trace Width Analysis Multisim Approach Sample Trace Width Analysis RF Analyses Nested Sweep Analyses Batched Analyses User Defined Analyses About the User Defined Analysis Creating and Simulating a SPICE Netlist Importing the SPICE netlist into Multisim Plotting Two Nodes Using the Tran Statement How to Run an AC Analysis Analysis Options dialog box Global tab DC tab Transient tab Device tab Advanced tab
Page No. 11-86 11-86 11-89 11-90 11-93 11-93 11-96 11-98 11-100 11-100 11-103 11-105 11-112 11-113 11-115 11-119 11-119 11-121 11-122 11-122 11-123 11-124 11-125 11-126 11-127 11-128 11-130 11-131 11-132 11-133
Analyses
11-3
Analyses
11.1
Note Some analyses are performed so quickly, that you will not notice the Simulation Running Indicator flashing.
11.2
Analyses 11-4
Electronics Workbench
as cut/copy/paste, affect only the active area, so be sure you have selected the desired area before performing a function.
Name of page. Click to display that page. A red arrow will appear here. Chart or graph area of page. Note the red arrow showing that this is the active area.
Selected trace is indicated by triangles on the trace and also in the Status Bar. If no trace is selected, this changes to show the selected page instead.
Saves contents of current pages in a graph or text file. Opens a new page tab.
Opens an Open dialog where you select a previously saved graph file to open.
Prints some or all of the current pages. See 11.2.5 Print and Print Preview on page 11-20.
Analyses
Cuts, copies and pastes pages or graphs/charts. See 11.2.4 Cut, Copy and Paste on page 11-19.
11-5
Analyses
Displays/hides graph legend. See 11.2.2.1 Grids and Legends on page 11-8.
See 11.2.1 Working with Pages Pastes on the Grapher on page 11-6. chart properties. See 11.2.2 Working with Graphs on Overlay page 11-7. traces.
Lets you export analysis results to Excel. See 14.5.2 Exporting to Excel on page 14-6.
Applies/removes grid for the selected graph. See 11.2.2.1 Grids and Legends on page 11-8.
Displays/hides cursors and data. See 11.2.2.2 Cursors on page 11-9 for details.
Lets you export analysis results to MathCAD. See 14.5.1 Exporting to MathCAD on page 14-5.
When the Grapher is on the dialog box, it remains visible until you do one of the following: Close the window. Or Toggle off View/Show Grapher.
11-6
Electronics Workbench
2. Click the Page Properties button. The Page Properties dialog box appears.
To change: Name of the tab Title of chart or graph Titles font Background color of page Which diagrams appear on the page
Do this: modify Tab Name field modify Title field click Font button and choose from fonts displayed select from Background Color drop-down list box click Show/Hide Diagrams on Page and select from the list that appears.
3. To apply the change and close the dialog box, click OK. To apply the change and leave the dialog box open for additional selections, click Apply.
Analyses
11-7
Analyses
appears to the left of the graph to indicate it is selected. Your selection is also indicated in the Status Bar at the bottom of the Grapher.
2. Click the General tab. 3. Enable the Grid On option. If desired, change the grid pen size and color. To apply a legend to a graph: Analyses 1. Select a graph by clicking anywhere on it. 2. Click the Show/Hide Legend button. To remove the legend, click the button again. Or 1. Select a graph by clicking anywhere on it. 2. Click the Properties button. The Graph Properties dialog box appears. 3. Select the General tab. 4. Enable the Legend On option. If desired, change the labels of the traces using the Traces tab. See 11.2.2.7 Traces on page 11-15 for details.
11-8
Electronics Workbench
11.2.2.2 Cursors
When you activate the cursors feature, two vertical cursors appear on the selected graph. At the same time, a window pops up, displaying a list of data for one or all traces.
Cursors
Cursor Data
Analyses
To activate the cursors: 1. Select a graph by clicking anywhere on it. 2. Click the Show/Hide Cursors button. To hide the cursors, click the button again. Or 1. Select a graph by clicking anywhere on it.
11-9
Analyses
2. Click the Properties button. The Graph Properties dialog box appears. 3. Select the General tab. 4. Enable the Cursors On option. 5. Select Single Trace to view cursor data for one trace or All Traces to view cursor data for all traces. If you select Single Trace and there is more than one trace in your graph, use the Trace field to select the one you want. To move a cursor, click and drag it horizontally.
Analyses
3. Select the trace which you wish to use as the reference for the other options in the pop-up menu from the Trace drop-down list. When you select any of the other options in the popup, the cursor will move to the specific location on the trace that you select in this step. 4. Right-click on the cursor you wish to move and choose one of the following options: Set X_Value click to display the following dialog box. Enter the desired location on
11-10
Electronics Workbench
the x-axis and click OK. The cursor moves to that location.
Set Y_Value => click to display the following dialog box. Enter the desired location on the y-axis to where you would like the cursor to move and click OK. The cursor moves to the right, to the first place when that value occurs.
Set Y_Value <= click to display the following dialog box. Enter the desired location on the y-axis to where you would like the cursor to move and click OK. The cursor moves to the left, to the first place when that value occurs.
Go to next Y_MAX => click to move the cursor to the first occurence of the maximum Y value that is to the right of its current location. Go to next Y_MAX <= click to move the cursor to the first occurence of the maximum Y value that is to the left of its current location. Go to next Y_MIN => click to move the cursor to the first occurence of the minimum Y value that is to the right of its current location. Go to next Y_MIN <= click to move the cursor to the first occurence of the minimum Y value that is to the left of its current location.
Analyses
11-11
Analyses
3. Release the mouse button. The axes are scaled and the graph redrawn based on the enlargement box. Or 1. Select a graph by clicking anywhere on it. 2. Click the Properties button. The Graph Properties dialog box appears.
Analyses 11-12
Electronics Workbench
3. Click an axis tab to zoom along that axis. For example, choose the Bottom Axis tab to zoom along the horizontal dimension. (Check the Traces tab to see which axis is used for the range you want to zoom.)
4. Type a new minimum and maximum. To restore a graph to its original scale, click the Zoom Restore button.
11.2.2.5 Title
To apply a title to a graph: 1. Select a graph by clicking anywhere on it. 2. Click the Properties button. The Graph Properties dialog box appears. 3. Choose the General tab. 4. Type a new title in the Title field. To change the titles font, click the Font button.
Analyses
11-13
Analyses
11.2.2.6 Axes
You can change several characteristics of a graphs axes from the four axes tabs in the Graph
Properties dialog box. The options are identical in each of the tabs.
To change the characteristics of an axis: 1. Select a graph by clicking anywhere on it. 2. Click the Properties button. The Graph Properties dialog box appears. 3. Click the axis tab for the axis you want to change.
Analyses 11-14
Electronics Workbench
11.2.2.7 Traces
To select a trace, left-click on it. Trace select marks appear on the selected trace (small triangles along the trace. To change other trace properties: 1. Right-click on the trace to display the following pop-up.
11-15
Analyses
You can change several characteristics of each trace in a graph from the Traces tab in the Graph Properties dialog box.
To change the characteristics of a trace: 1. Select a graph by clicking anywhere on it. 2. Click the Properties button. The Graph Properties dialog box appears. 3. Click the Traces tab. 4. Select a trace. 5. Change any of the traces characteristics, using the following fields:
Field Trace Label Pen Size Use Specifies the trace whose properties are being affected. Specifies a label for the trace. Appears in legend. Controls the thickness of the trace. Controls the color of the trace. The Sample box shows a preview. Controls the X range of the trace. Controls the Y range of the trace. Value to offset the trace from its original coordinates. Offsets multiple traces in a graph for easier viewing.
Analyses
Color Bottom Axis/Top Axis Left Axis/Right Axis X Offset/Y Offset Auto-Separate Button
11-16
Electronics Workbench
2. Select the files you wish to merge together and click OK. A new graph appears with the merged traces.
To preview pages before printing: 1. Select File/Print Preview from the Grapher. The Select Pages dialog box appears. 2. Check the pages you wish to preview and click OK. Note The Select Pages dialog does not appear if there is only one page open in the Grapher. To print pages: 1. Select File/Print from the Grapher. The Select Pages dialog box appears. 2. Check the pages you wish to print and click OK. Note The Select Pages dialog does not appear if there is only one page open in the Grapher. Analyses
11-17
Analyses
To remove pages from the Grapher: 1. Select Edit/Clear Pages. The Select Pages dialog box appears. 2. Check the pages you wish to delete and click OK. Note The Select Pages dialog does not appear if there is only one page open in the Grapher.
Note For the pop-up accessed from a trace, see 11.2.2.7 Traces on page 11-15. 2. Select the desired option from the pop-up.
11-18
Electronics Workbench
2. Click the Properties button. The Chart Properties dialog box appears.
3. To change the chart title, type a new title. To change the font, click the Font button. 4. To change a columns precision, select a column number and a precision (number of significant digits). Precision only affects columns that contain numerical values. 5. Click OK.
11-19
Analyses
or, to paste onto a new page: 4. Click the New button. 5. Choose New Page. 6. Type a tab name and click OK. 7. Click the Paste button. Note When a graph or chart is selected (the red arrow points to the graph or chart), cut, copy and paste affect the selected graph or chart only. They do not affect overall page properties. To open a new page, click the New button and choose New Page. To delete all pages, click the New button and choose Delete All Pages. To open an existing graph file: 1. Click the Open button. A file browser appears. 2. Select the file you want to open. Graph files have the file extension .gra. 3. Click Open. To save a graph file: 1. Click the Save button. A file browser appears. 2. Select a file you want to overwrite or type a new filename. Graph files have the file extension .gra. The file extension is automatically added. 3. Click Save.
Analyses
2. Select the page that you wish to view and click OK.
11-20
Electronics Workbench
3. Click the Print button to open the print dialog box and print the pages. or Click Close to close print preview. To print pages: 1. Click the Print button on the toolbar or from the print preview. The Select Pages dialog box appears.
2. Select the page that you wish to print and click OK. The Print dialog box for your printer appears. 3. Enter the desired parameters and click OK. Note Colored lines are distinguished with different line styles for black and white printers.
11.3
Analyses
11-21
Analyses
11-22
Electronics Workbench
commonly used fields. Click More to display the full dialog box displaying all available options as shown in the example below.
Choose types of output variables to display. Possible output variables from the circuit (of the selected type). Choose types of variables to be used in analysis.
Use to add a parameter from a specific device or model to the list of variables.
Use to filter the variables displayed to include internal nodes, open pins and output variables.
11-23
Analyses
Analyses
2. From the Parameter Type list, select whether you want to add a device parameter or model parameter. These let you set how various internal parameters of a component or model change during the analysis. 3. From the Device Type drop-down list, select a device type from the devices in the circuit. 4. From the Name drop-down list, select a specific instance of the device type.
11-24
Electronics Workbench
5. From the Parameter drop-down list, select a parameter from all available device/model parameters. A brief description of the selected parameter appears in the Description field. 6. Click OK to add the selected parameter to the Variables in Circuit list. This variable can now be included in the analysis. The parameter appears in the left-hand list in the Output Variables tab on the analysis dialog box, which is automatically set to show only device/model parameters. To delete a parameter added in this way, select it and click Delete selected variables. To show the values of all the components and models in the circuit at the end of the simulation, enable Show all device parameters at end of simulation in the audit trail.
To check if the circuit is valid for analysis, enable this option. The title appears on the plot produced by the analysis, and is recorded in the audit trail.
Analyses
To check if the circuit is a valid circuit for analysis, enable Perform consistency check before starting analysis. This option automatically identifies inconsistencies such as open capacitors, empty circuit files and ungrounded circuits. Normally analyses run without further intervention. If an analysis does not perform as necessary, you may need to set custom analysis options.
11-25
Analyses
To change the analysis title from its default, enter text in the Title for analysis field. To set custom analysis options: 1. Enable Use Custom Settings and click Customize. The Analysis Options dialog box appears. Note You should have a general knowledge of the SPICE simulation engine before altering the default settings under this option. 2. Change the desired settings in the Analysis Options dialog box. 3. Click OK to return to the Analysis Options tab. 4. To save your changes, click OK. To close without saving, click Cancel. For a complete list of the available analysis options, see 11.23 Analysis Options dialog box on page 11-127.
Analyses
Location and name of file to which the analysis results are being saved.
11-26
Electronics Workbench
You navigate through this display as you do with Windows Explorer. The + beside an item indicates that it has additional information underneath it, which can be revealed by clicking the +. The - beside an item indicates that all its information is being revealed. That information can be hidden by clicking the -. This window also shows you the SPICE representation of your analysis options, as well as the name of the file to which the analysis results are being saved (.raw file). This file is used for Postprocessing.
11.4
analysis are usually intermediate values for further analysis. For example, the results obtained from DC analysis determines the approximate linearized, small-signal models for any nonlinear components, such as diodes and transistors, to be used with AC frequency analysis.
11-27
Analyses
Assumptions: AC sources are zeroed out Capacitors are open Inductors are shorted Digital components are treated as a large resistor to ground.
Analyses 11-28
Electronics Workbench
The circuit above is a Colpitts oscillator. When running DC Operating Point Analysis, Multisim reduces the circuit to that shown below:
The result of running DC operating point from the sample circuit are shown below. Note that the results match the calculations made in the diagram above.
Analyses
the node voltages may be too far off, the circuit may be unstable or bi-stable (there may be more than one solution to the equations), there may be discontinuities in the models or the circuit may contain unrealistic impedances.
11-29
Analyses
When current flows through an inductor, voltage will develop across the terminals. SPICE models inductors as time-varying current sources. When a circuit has two inductors in parallel, the simulator engine will automatically produce an error. When running any analysis for the circuit above, the two inductors are seen as voltage sources by the simulation engine. As a result, this circuit will fail. To correct this problem, simply place a 0.001ohm resistor in the circuit. The sources are no longer in parallel, and the DC operating point can converge.
Analyses 11-30
Electronics Workbench
Analyses
11-31
Analyses
3. In the DC tab: Set ITL1 = 500 or more. By increasing ITL1, the extra iterations will only be used if they are needed. ITL1 set to 1000 covers about 90% of circuits Set ITL6 = 500 4. Use .Nodeset to set a DC voltage level if possible (double-click wire connected to a net in question. Check Use NODESET for DC and type in a DC voltage). Caution When running DC Operating Point Analysis for a circuit that contains ammeters and voltmeters (indicators) and their internal settings (resistance) have been changed from their default values, the simulation results indicated by DC Operating Point Analysis will be incorrect. Remove ammeters/voltmeters to correct the problem. The results are correct if no changes were applied to ammeter/voltmeter internal settings.
11.5
AC Analysis
Analyses
Assumptions Applied to an analog circuit, small-signal. Digital components are treated as large resistances to ground.
11-32
Electronics Workbench
AC Analysis
This dialog is scrollable. Hold down left mouse button and move up or down.
Analyses
11-33
Analyses
Note To reset all parameters to their default values, click Reset to default. The result of the AC frequency analysis is displayed in two parts: gain versus frequency and phase versus frequency. If you have the Bode plotter connected to your circuit and activate the circuit, a similar analysis is performed.
11-34
Electronics Workbench
Transient Analysis
11.6
Transient Analysis
In transient analysis, also called time-domain transient analysis, Multisim computes the circuits response as a function of time. Each input cycle is divided into intervals, and a DC analysis is performed for each time point in the cycle. The solution for the voltage waveform at a node is determined by the value of that voltage at each time point over one complete cycle. Assumptions DC sources have constant values; AC sources have time-dependent values. Capacitors and inductors are represented by energy storage models. Numerical integration is used to calculate the quantity of energy transfer over an interval of time.
Note If your dialog box does not look like the example below, click More to display the full analysis dialog box.
Set initial conditions: Set to Zero, User-Defined, Calculate DC Operating Point, or Automatically Determine Initial Conditions. Start time of transient analysis must be greater than or equal to 0 and less than End time. End time of transient analysis must be greater than Start time. Click to enter minimum number of time points (number of points between start and stop times). Click to enter the maximum time step the simulation can handle. Click to generate time steps automatically.
Analyses
11-35
Analyses
The result of the transient analysis is a calculation of voltage versus time. If you have the oscilloscope connected to your circuit and activate the circuit, a similar analysis is performed. Note To re-set all parameters to their default values, click Reset to default.
then... Multisim tries to start the simulation using the DC operating point as the initial condition. If the simulation fails, it uses user-defined initial conditions. Multisim first calculates the DC operating point of the circuit, then uses that result as the initial conditions of the transient analysis. the transient analysis starts from zero initial conditions. the analysis starts from initial conditions as set in the Transient Analysis dialog box.
11-36
Electronics Workbench
Transient Analysis
conditions to zero. If simulation is still not possible, Multisim will use the specified userdefined conditions. define the maximum time step to be taken by the simulation engine by enabling Maximum time step (TMAX) and entering the desired time step define the minimum time step to be taken by enabling Minimum number of time points and entering the desired number of points to be calculated The value of TMAX is determined by dividing the interval between the specified analysis start and end times by the minimum number of time points specified. enable Set Initial Time step (TSTEP), and enter a value less than the specified maximum time step value in the Time step (TSTEP) field. If possible, the size of the time steps taken during the simulation will begin with the initial timestep and will continue to increase to the value specified by the maximum time step.
Analyses
11-37
Analyses
11.7
Fourier Analysis
= = =
2 ----T
Each frequency component (or term) of the response is produced by the corresponding harmonic of the periodic waveform. Each term is considered a separate source. According to the principle of superposition, the total response is the sum of the responses produced by each term. Note that the amplitude of the harmonics decreases progressively as the order of the harmonics increases. This indicates that comparatively few terms yield a good approximation. When Multisim performs Discrete Fourier Transform (DFT) calculations, only the second cycle of the fundamental component of a time-domain or transient response (extracted at the output node) is used. The first cycle is discarded for the settling time. The coefficient of each harmonic is calculated from the data gathered in the time domain, from the beginning of the cycle to time point t. That is set automatically and is a function of the fundamental frequency. This analysis requires a fundamental frequency matching the frequency of the AC source or the lowest common factor of multiple AC sources. Assumptions None.
Analyses 11-38
Electronics Workbench
Fourier Analysis
Enable to display results as bar graph. If not enabled, results display as linegraph.
Enable to normalize graphs. Normalized graphs are normalized against the 1st harmonic.
Set the amount of time during which sampling should occur (or use Edit Transient Analysis).
Analyses
11-39
Analyses
Fourier analysis produces a graph of Fourier voltage component magnitudes and, optionally, phase components versus frequency. By default, the magnitude plot is a bargraph but may be displayed as a line graph. The analysis also calculates Total Harmonic Distortion (THD) as a percentage. The THD is generated by notching out the fundamental frequency, taking the square root of the sum of the squares of each of the n harmonics, and then dividing this number by the magnitude of the notched out fundamental frequency.
THD = [ ( i = 2 V i ) V 1 ] 100 %, where V 1 is the magnitude of the ith harmonics. Setting Fourier Analysis Parameters for Normal Use
Analyses For normal use, you just need to specify parameters for the following: frequency under test, either by clicking Estimate to have a value selected based on the AC sources in the circuit, or by entering a value in the Frequency resolution (Fundamental frequency) field. This value should be the lowest common factor for the frequencies present in the circuit. number of harmonics, by entering a value in the Number of harmonics field. You can specify the stopping time for sampling to avoid unwanted transient results prior to the circuit reaching steady-state operation. stopping time for sampling by enabling Stop time for sampling (TSTOP) and entering a new
11-40
Electronics Workbench
Noise Analysis
stopping time for sampling. Although the Nyquist rate specifies only two times the highest frequency component being considered in the analysis as a suitable sampling rate, it is recommended that you specify a sampling frequency sufficient to obtain a minimum of 10 sampling points per period. enter a value in the Sampling Frequency field. Note The sampling frequency should be equal to the frequency resolution (the number of harmonics plus one) multiplied by at least 10.
11.8
Noise Analysis
Analyses
11-41
Analyses
Noise analysis calculates the noise contribution from each resistor and semiconductor device at the specified output node. Each resistor and semiconductor device is considered a noise generator. Each noise generators contribution is calculated and propogated by the appropriate transfer function to the output of the circuit. The total output noise at the output node is the RMS (Root Mean Square) sum of the individual noise contribution. The result is then divided by the gain from input source to the output source to get the equivalent input noise. This is the amount of noise which, if injected at the input source into a noiseless circuit, would cause the previously calculated amount of noise at the output. The total output noise voltage can be referenced to ground or it may be referenced to another node in the circuit. In this case the total output noise is taken across these two nodes. Multisim can model three different kinds of noise: 1. Thermal noise (also known as Johnson, or white noise) is temperature dependent and caused by the thermal interaction between free electrons and vibrating ions in a conductor. Its frequency content is spread equally throughout the spectrum. The power of this generated noise is given by Johnsons formula:
P = k T BW
where
k T BW = Boltzmanns constant ( .38 10
23
J K)
= resistor temperature in Kelvin (T = 273 + temperature in Celsius) = frequency bandwidth of the system being considered
The thermal voltage could be represented by a mean-square voltage source in series with the resistor
2
= 4kTR BW
i = 4kTBW R .
2. Shot noise is caused by the discrete-particle nature of the current carriers in all forms of semiconductors. It is the major cause of transistor noise. The equation for shot noise in a diode is: Analyses
i = ( 2q Idc BW )
where
i q Idc BW
12
= shot noise (RMS amperes) = electron charge ( 1.6 10 = DC current (A) = bandwidth (Hz)
19
Coulombs)
11-42
Electronics Workbench
Noise Analysis
For all other devices, such as transistors, no valid formula is available. See the device manufacturers data sheet. Shot noise and thermal noise are additive. 3. Flicker noise is usually generated by BJTs and FETs and occurs in frequencies below 1 Khz. This is type of noise is also known as excess noise or pink noise. It is inversely proportional to frequency and directly proportional to temperature and DC current levels. V2= k* Idc/f A components noise contribution is determined by its SPICE model. Within the model two parameters will affect the output of the noise analysis: AF = Flicker noise component (AF= 0) KF = Flicker Noise (KF=1).
Analyses
11-43
Analyses
By default, Multisim will only display nodes that are part of the current page. To display nodes contained within subcircuits or hierarchical blocks, 1. Click Change Filter and select Display submodules. All three filter options are explained below.
the SPICE model of the semiconductor device. Display open pinsdisplays all unconnected nodes of the circuit.
Analyses 11-44
Electronics Workbench
Noise Analysis
End frequency for the sweep Choose from Decade/Linear/ Octave For linear, number of frequency points between start and end frequencies. More points result in more accuracy in your graph. Choose from Logarithmic/Linear/ Decibel/Octave.
across the frequency range. the number of points to be calculated during the analysis, by entering a value in the Number of points per decade field. Note The greater the number of points calculated, the more accurate the results will be, however, the simulation speed will be adversely affected. the format of the analysis results by choosing the desired scale (linear, logarithmic, decimal, or octave) from the Vertical scale drop-down list.
11-45
Analyses
Note Click Reset to Default to reset all parameters in the Frequency Parameters tab to their default values. For details on other tabs in the Noise Analysis dialog box, see 11.3 Working with Analyses on page 11-21.
Expected Results The calculations below will determine what kind of output we are to expect: If R1=1Kohm, then:
noise = 4rkTB
Analyses
11-46
Electronics Workbench
Noise Analysis
Multisim Analysis To set-up the analysis in Multisim: 1. Select Simulate/Analyses/Noise Analysis. 2. Select the Analysis Parameters tab and set the following: Input noise reference sourcevv3 Output node4 Reference node0 3. Select the Frequency Parameters tab, and set the following: FSTART1Hz FSTOP10GHz Sweep typeDecade Number of points per decade5 Vertical ScaleLogarithmic 4. Select the Output tab, select the following variables for plot during simulation: innoise_total_rr1 & innoise_total_rr2 Note It is not necessary to add any devices/model parameters to our list of variables for this example. 5. Click Simulate. The following displays.
Analyses
Note that the final results are similar to the expected results.
11-47
Analyses
To view the traces, you must re-initiate the analysis: 1. Select Simulate/Analyses/Noise Analysis. 2. In the Analysis Parameters tab, enable Set points per summary and enter 5 in the field. 3. In the Output tab select the following variables to plot during simulation: onoise_rr1 & onnoise_rr2 4. Click Simulate. The Grapher displays as follows:
This graph shows that the noise voltage is constant for lower frequencies. For higher frequencies the noise voltage drops considerably.
11.9
Distortion Analysis
A perfectly linear amplifier will amplify the input signal without any signal distortion at the output. There are always spurious signal components, however, that are added to a signal in the form of harmonics or intermodulation distortion.
Analyses
Distortion Analysis is used to analyze signal distortion that may not be evident using transient analysis. Signal distortion is usually the result of gain nonlinearity or phase nonuniformity in a circuit. Multisim simulates harmonic distortion and intermodulation distortion for analog small-signal circuits.
Harmonic Distortion
A perfect linear amplifier can be described using the following formula: Y = AX, where Y is the output signal, X is the input signal and A is the amplifier gain.
11-48
Electronics Workbench
Distortion Analysis
The general expression including higher order terms is given by the following: Y = AX + BX2 + CX3 + DX4 + , where B and C, etc. are the constant coefficients for the higher order terms. The second term in the above equation is known as the second-order component, the third term is the third-order component and so on. Harmonic distortion can be analyzed by applying a spectrally pure signal source to a circuit design. By analyzing the output signal and its harmonics the distortion can be determined. Multisim will calculate the node voltages and branch currents at the harmonic frequencies 2f and 3f and display the results against the input frequency f as it is swept across the user defined frequency range.
Intermodulation Distortion
Intermodulation distortion occurs when two or more signals are input into an amplifier simultaneously. In this case, the interaction of the signals produces an intermodulation effect. This analysis will determine node voltages and branch currents at the intermodulation product frequencies of f1 + f2, f1 - f2 and 2f1 - f2 vs. the user defined swept frequency.
Analyses
11-49
Analyses
3. In the Value tab choose Distortion Frequency 2 Magnitude and set the input amplitude and phase. Only use this setting if you want to perform an intermodulation distortion analysis. Note The Value tab for this component is scrollable. Hold down the left mouse button and move the cursor up or down as desired.
Analysis Parameters
Before you perform the analysis, review your circuit and decide on one or more sources and one or more nodes for analysis. Next the distortion analysis parameters are set as shown in the following dialog box. You set the frequency range for the Distortion Analysis to sweep across, the number of points per sweep interval and the vertical scale. For harmonic distortion leave the F2/F1 ratio unselected. This option is used for intermodulation distortion only.
Enter the start frequency for the sweep. Enter the stop frequency for the sweep. Units for horizontal axis. Enter number of points (for accuracy).
Analyses
For intermodulation distortion only. When enabled, if there are signals of two frequencies (F1 and F2), then F2 is set to this ratio multiplied by the start frequency while F1 sweeps. Must be greater than 0.0 and less than 1.0.
Output
This tab displays, on the left, all the possible output variables for the current circuit. You choose the variables you want to use in the analysis. By default, the tab displays just the most
11-50
Electronics Workbench
Distortion Analysis
commonly used fields. To see all the possible variables you select them by clicking the Filter Unselected Variables button.
Circuit nodes
Filter for hiding certain node types Used to filter the variables displayed to include internal nodes, open pins and output variables
Used to add a parameter from a specific device or model to the list of variables
Analyses
11-51
Analyses
To set up Distortion Analysis (to analyze Harmonic Distortion) follow the steps below: 1. Double-click on the AC Source and select the Value tab: Choose Distortion Frequency 1 Magnitude and set the input amplitude to 4 V and leave the phase at zero. Click OK. Note The Value tab for this source is scrollable. Hold down the left mouse button and move the cursor up or down as desired. 2. Select Simulate/Analyses/Distortion Analysis. 3. Select the Analysis Parameters tab and set the following: Note Set the Start frequency (FSTART) to 1 Hz Set the Stop frequency (FSTOP) to 100 MHz Set the Sweep type to Decade Set the Number of points per decade to 100 Set the Vertical scale to Decibel Leave F2/F1 ratio unchecked.
4. Select the Output tab. Select the variable $output from the list Variables in circuit. Click Add. The variable output will move to the Selected variables for analysis list. 5. Click Simulate. Two graphs will be displayed with the second harmonic distortion results on one graph and the third harmonic distortion results on the other. Note To view the graph titles and axis, maximize the graph to view the following.
Analyses 11-52
Electronics Workbench
Distortion Analysis
11-53
Analyses
Note The ratio F2/F1 must be greater than 0 and less than 1. Also, this number should be an irrational number but because of the finite precision of the computer this is not possible. It is best, therefore, to use a floating point number with a large number of digits. 4. Select the Output tab. Select the variable $output from the list Variables in circuit. Click Add. The variable output will move to the Selected variables for analysis list. 5. Click Simulate. Three graphs will be displayed with plots for frequencies F1 + F2, F1 F2 and 2F1 F2. Note F2 is the product of the ratio (F2/F1 ratio) and the initial value of F1 (FSTART.) The first graph plots the F1+F2 harmonic.
Notice as F1 reaches higher frequencies (100K to 10M), if mixed with F2 (50Hz), the F1+F2 harmonic will increase in magnitude dramatically. At these frequencies, filtering may be needed (if possible) to separate the F1+F2 harmonic from the input signal (at the circuit output). Analyses 11-54
Electronics Workbench
Distortion Analysis
This harmonic is very similar in response to the F1+F2 harmonic. The same analysis would apply. The third graph plots 2F1-F2 harmonic.
Analyses
From the third graph, we notice that the 2F1-F2 harmonic is higher in magnitude than the first two harmonics (F1+F2 and F1-F2). Although the magnitude of this harmonic is low, filtering this component may be necessary.
11-55
Analyses
Analyses
The values at which the analysis will stop and start The values by which each sweep will increase As above, but for second source
11-56
Electronics Workbench
DC Sweep Analysis
Analyses
11-57
Analyses
Expected Results
Vcc Vbe 20V 0.7V 19.3V = = = 40.1uA Rb + ( + 1) * Re 430k + (51)(1k) 481k Ic = * Ib = 50(40.1uA) = 2.01mA Vc = Vcc IcRc = 15.98 V Ib =
Where Ib = Base Current = Gain (= 50) Vcc = Voltage Source (V1) Vbe = Voltage from Base to Emitter Ic = Collector current Vc = Collector Voltage To set up the analysis: 1. Select Simulate/Analyses/DC Sweep and click on the Analysis Parameters tab. 2. Enter the values shown below:
Analyses 11-58
Electronics Workbench
DC Sweep Analysis
Analyses
5. To view the cursors and DC transfer characteristics, select in the grapher View/Show/Hide Cursor. Two cursors will be displayed. Move cursor 2 to the left side of the graph, and move cursor 1 to the right and line it up along the x-axis with vv2 = 20 V. The cursor set at V=20 V (x1), in the figure above displays the transfer characteristics for y1, which displays the value of 15.9982 V. Therefore the graph displays when the DC source V2 is set to 20 V, then the output form the collector of the transistor will be 15.99 V.
11-59
Analyses
Example 2 (Nested DC Sweeps) The following example displays the characteristics of the transistor in a common emitter configuration. The graph will display the operating points for this transistor, which will define the region in which amplification will occur. The current controlled voltage source (V3) has been added so that current flow through the collector can be converted to a voltage for display on the grapher.
Analyses 11-60
Electronics Workbench
DC Sweep Analysis
Analyses
11-61
Analyses
As a result, critical components can be specified with tighter tolerances, and are the best candidates for optimization. Likewise, the least critical components can be identified, which make good candidates for cost reduction as their precision does not critically affect design performance.
Sensitivity Analysis calculates the sensitivity of an output node voltage or current with respect to the parameters of a component(s) in your circuit. Sensitivity is expressed as the change in output per unit change of input (both in values and percentages).
DC Sensitivity AC Sensitivity. Both analyses calculate the change produced in an output voltage or current by changing each parameter independently. The results of the DC sensitivity analysis are displayed in tabular form on the grapher. The AC sensitivity analysis plots the AC graphs for each parameter selected over the user defined frequency range.
Analyses 11-62
Electronics Workbench
Voltage: Sensitivity Analysis will look at node voltages. Output node - select the node to examine Output reference - select the reference point for the Output node. Usually this is node 0 (Ground). Current: Output current will be used to determine sensitivity. Output Scaling: Select either Absolute or Relative: Absolute the output voltage or current change per unit of change of the selected component parameter. Relative the output voltage or current change per unit change of the selected component parameter relative to the voltage or current when the component parameter is unchanged. Analysis Type: DC Sensitivity DC sensitivity analysis generates a report of the output voltage at a circuit node with respect to all components and their parameters. You can choose to run a DC sensitivity analysis of the current source or voltage source. AC Sensitivity AC sensitivity analysis plots an AC graph (frequency domain) for each parameter of the component.
Analyses
11-63
Analyses
To setup Sensitivity Analysis, follow the steps listed below. 1. Select Simulate/Analyses/Sensitivity. 2. Select the Analysis Parameters tab, set the following: Set Output nodes/currents to Voltage. Set Output node to $2 and Output reference to $0. Set Output scaling to Absolute. Set Analysis type to AC Sensitivity. 3. Click Edit Analysis to display the Sensitivity AC Analysis dialog box and set the parameters as shown below:
4. Select the Output tab: Select rr2 under Variables in circuit. You may need to select Filter Unselected Variables, select all items and choose OK to see the resistor in the selection area. Click Add. Note The rr2 variable will move to the Selected variables for analysis field.
Analyses 11-64
Electronics Workbench
The results will plot the output voltage change if R1 is changed by 1 from 1Hz to 100MHz. It is possible to calculate the Sensitivity results manually. However, this can only be done for one frequency value at a time. We will analyze the same circuit at 100Hz.
Analyses
11-65
Analyses
Using the Sensitivity results shown above the analysis reports that at 100 Hz, the output will change by 628 uV. To calculate this value, we will follow the instructions below:
Xc = Xc =
1 2 f C 1 2 *100 *1*10 6
(at 100Hz)
Therefore:
Xc = 1.59 K
Vout =
1v * 1 1 j1.59 K
Vout
1 j1.59 K
Vout = 628uv
If R1 changes by a unit (R1=2),
Vout =
1v * 2 2 j1.59 K
Vout = 1.2579 mv
Therefore, the voltage change is 629 uV. This is supported by the results calculated by Multisim.
Analyses 11-66
Electronics Workbench
11.11.2.2Example 2
To truly understand the power of this analysis, we will analyze the speech filter circuit shown below. When building this circuit, all components will have tolerances. Therefore, the circuit output will always change slightly from simulated results to real results. We will use Sensitivity Analysis to predict which component(s) will affect the circuit dramatically if their values are slightly different from expected.
XBP1 in out
C3 R6
560pF
R3
2.0Mohm
V1 15V
270kohm
C8
130pF
V2 15V
7 3
U1 C5
6 3
R4
270kohm
U2
6
C1
C2
2
100nF
4
R5
2
560pF
560pF
LF356BN 130kohm
V5
0V 5V 3000.3Hz
R1
430kohm
R2
240kohm
C4
10nF
V4 15V
C6
560pF
R7
47kohm
C7
2.0nF
LF356BN
V3
15V
To start Sensitivity Analysis: 1. Select Simulate/Analyses/Sensitivity. 2. Select the Output tab, set the following: Select rr1 under Variables in circuit field. Click Add. Repeat for rr2 to rr7. 3. Select the Analysis Parameters tab, set the following: Set Output Nodes/currents to Voltage. Set Output node to $14 and Output reference to $0. Set Output scaling to Absolute. Set Analysis type to AC Sensitivity. 4. Click Simulate. The Grapher will plot the sensitivity for all resistors in the design.
Analyses
11-67
Analyses
From the graph, we can determine that if any resistor is changed by 1 ohm, the results will not change dramatically. However, R7 will cause the biggest change in the circuit output.
Analyses 11-68
Electronics Workbench
Note If your dialog box does not look like the example below, click More to display the full analysis dialog box.
Choose the type of device to sweep: i.e. BJT, Capacitor or Inductor. Enter the component to sweep. Choose the device parameter of the component to be sweeped.
Dictates how to calculate the interval between the stop and start values. Choose from Decade, Octave, Linear, or List. For List sweep only. A list of values to sweep over. Items in the list must be separated by spaces, commas or If not enabled, each trace semicolons. appears on a separate plot.
Click to edit parameters of the chosen analysis. For Nested Sweep analysis, Choose DC Operating Point, AC Analysis, see 11.20 Transient Analysis, Nested Sweep. Nested Sweep Analyses on page 11-119.
Analyses
11-69
Analyses
Parameter sweep analysis plots the appropriate curves sequentially. The number of curves is dependent on the type of sweep as shown below:
Type of Sweep Linear Curves The number of curves is equal to the difference between the start and end values divided by the increment step size. The number of curves is equal to the number of times the start value can be multiplied by ten before reaching the end value. The number of curves is equal to the number of times the start value can be doubled before reaching the end value.
Decade
Octave
11-70
Electronics Workbench
The above circuit is a Colpitts oscillator. The output of the circuit will generate a square wave. The analysis to be performed on this circuit will change the value of the inductor and simulate the circuit. If you simulate this circuit you will notice that as you decrease the inductance, the frequency of the signal will decrease. Before we proceed with the analysis we will calculate the expected results. When the inductor L0 varied the frequency at node 3 (the transistor emitter) will vary according to:
fr = CT =
Analyses
If L0 = 120uH, then the frequency at the output of the circuit will be:
fr =
1 2 (120uH )(41 pf )
= 2.2Mhz
11-71
Analyses
If L0 = 500uH, then the frequency at the output of the circuit will be:
fr =
1 2 (500uH )(41 pf )
= 1.1Mhz
If L0 = 900uH, then the frequency at the output of the circuit will be:
fr =
1 2 (900uH )(41 pf )
= 828 KHz
To setup and run the analysis: 1. Select Simulate/Analyses/Parameter Sweep. 2. Select the Analysis Parameters tab and enter the parameters as below.
3. Click More and set the following: Analysis to Sweep drop-downselect Transient Analysis. Group all Traces on one Plot checkboxenabled. Analyses 11-72
Electronics Workbench
5. Select OK. 6. Select the Output tab. 7. For this circuit the output variable is at node 3. Under Variables in circuit highlight variable 3 and click on Add. Once selected you will notice that variable is under the column Selected variable for analysis.
Analyses
11-73
Analyses
To view the results: 1. In the graph window select View/Show/Hide Cursors. 2. To verify the frequency of the signal when L0 = 120uH, move cursor 1 to the first rising edge of the signal and cursor 2 to the next rising edge as shown in the above graph. To verify the results use the values of X1 and X2 in the Device Parameter Sweep table.
Analyses 11-74
Electronics Workbench
3. To verify the frequency of L0 = 500uH, move cursor 1 to the rising edge of the next signal and cursor 2 to the next rising edge shown below.
Analyses
11-75
Analyses
4. To verify Lo = 900uH move cursor 1 to the rising edge of the next signal and cursor 2 to the next rising edge shown below.
Analyses 11-76
Electronics Workbench
Analyses
11-77
Analyses
Note If your dialog box does not look like the example below, click More to display the full analysis dialog box.
Displays the parameter type: Temperature
Dictates how to calculate the interval between the stop and start values. Choose from Decade, Octave, Linear, or List.
For List sweep only. A list of values to sweep over. Items in the list must be separated by spaces, commas or semicolons.
Analyses 11-78
Electronics Workbench
Temperature sweep analysis plots the appropriate curves sequentially. The number of curves is dependent on the type of sweep, as shown below.
Type of Sweep Linear Curves The number of curves is equal to the difference between the start and end values divided by the increment step size. The number of curves is equal to the number of times the start value can be multiplied by ten before reaching the end value. The number of curves is equal to the number of times the start value can be doubled before reaching the end value.
Decade
Octave
Analyses
11-79
Analyses
Assumptions Analog circuit, linear models. Models are linearized. The DC small signal gain is the derivative of the output with respect to the input at the DC bias-point (and zero frequency). For example:
The input and output resistance of a circuit refers to the dynamic or small-signal resistance at the input or output. Mathematically, small-signal DC resistance is the derivative of the input voltage with respect to the input current at the DC bias-point (and zero frequency). The following is an expression for input resistance:
In Multisim, the results of the Transfer Function Analysis produces a chart showing the ratio of the output to the input signal, the input resistance at the input source node and the output resistance across the output voltage nodes. Analyses Note This is a DC analysis and does not calculate either the time- or frequency-domain transfer function.
11-80
Electronics Workbench
Choose a voltage or current source. For Voltage only, point in circuit for which you want to see results
Transfer function analysis produces a chart showing the transfer function (output/input), input resistance at the input source and output resistance across the output voltage nodes or at the output variable.
11-81
Analyses
To filter the variables displayed: 1. Click Change Filter. The Filter Nodes dialog box appears:
2. Enable one or more settings. 3. Click OK. For details on the other tabs in the analysis window, see 11.3 Working with Analyses on page 11-21.
Analyses
The circuit above is an inverting amplifier. The gain of this circuit is 2. We can define the mathematical function for this circuit as: Vout = - 2Vin
11-82
Electronics Workbench
Finding Rin
Finding Rout Since the Zin is much smaller than the op-amp impedance, Zout ~ 0. Verifying the results with Multisim To verify the results: 1. Set up the analysis as shown below:
Analyses
11-83
Analyses
2. Click Simulate. Note that the transfer function result shown below closely matches the calculated value.
11.14.3.2Non-linear Example
This example uses the polynomial source (A1) to square the input voltage. Double-click on A1 and enter 1 for the value of the coefficient of E as shown below. All other fields should be 0.
Analyses 11-84
Electronics Workbench
Verifying the Results The equation for the circuit is: Vout = Vin2 Therefore: Transfer function =
Vout Vin
Analyses
= 2Vin = 2(1) =2
11-85
Analyses
Note that this value matches the value in the chart that was produced during the simulation.
Analyses 11-86
Electronics Workbench
If the DC sensitivity of the output voltage with respect to a specific component is determined to be a positive number, then the maximum value of this component is calculated. For example, a resistor with a positive sensitivity would be determined according to the formula: R2max = (1 Tolerance) x R2nom, where, R2max = the maximum value of the resistor R2 Tolerance = Tolerance specified by the user, expressed as a fraction of 1 R2nom = Nominal value of the resistor R2 2. The DC analysis is performed using the nominal value and either the minimum or maximum value of the resistance according to the sign of sensitivity analysis.
11-87
Analyses
Choose Absolute to enter a value, or Percent to vary the parameter by the specified percentage of its stated value. Enter a percentage value, or a set value depending on the tolerance type selected.
Analyses 11-88
Electronics Workbench
Click to change the filter that affects the list of possible output variables.
For DC circuits, the worst case analysis generates a table of the circuits possible output voltages ranging from the nominal specification value to the worst case value. A list of the components and their worst case values appears in tabular form. For AC circuits, the worst case analysis generates separate plots for the nominal and worst case runs. A list of the components and their worst case values appears in tabular form.
Analyses
11-89
Analyses
15 kOhm
Analyses 11-90
Electronics Workbench
Under normal conditions, the output is shown below using the Oscilloscope:
To set up the analysis: 1. Open the Worst Case Analysis dialog box and click on Add a new tolerance. 2. Enter the parameters as displayed below.
Analyses
11-91
Analyses
3. Click on the Analysis Parameters tab and confirm the following settings.
Analyses
The Worst Case Analysis section shows the DC operating point at node 1 for both nominal and worst case. The Run Log Descriptions section displays the resistance values required to achieve the greatest difference from the nominal value.
11-92
Electronics Workbench
R 2 + R3 >2 R1
Inserting the output results, we get:
Note A pole is any number that will cause the denominator in a transfer function formula to be zero. A zero is any number that will cause the numerator in a transfer function formula to be zero. A transfer function formula is a convenient way of expressing the behavior of analog circuits in the frequency domain. A transfer function is a Laplace Transform ratio of the output signal vs. input signal. The Laplace Transform of the output signal is commonly referred to as VO(s) and the Laplace Transform of the input signal is referred to as VI(s). The parameter s stands for s=j , more commonly known as s=j2f. A transfer function is generally a complex value given by the magnitude response (or transmission) and phase response. The Transfer Function of a circuit can be expressed by the following formula:
Analyses
T ( s) =
VO ( s ) K ( s + z1 )( s + z 2 )( s + z 3 )( s + z 4 ).... = V I ( s ) ( s + p1 )( s + p2 )( s + p3 )( s + p4 )....
The numerator of the above formula contains the zeroes of the function (-z1,-z2,-z3,-z4,...) while the denominator of the function contains the Poles of the function (-p1,-p2,-p3,-p4,...). The zeroes of the function are those frequencies at which the transmission will be zero while the poles of the function are the natural modes of the network which define natural
11-93
Analyses
frequencies. Both, poles and zeroes can contain either real, complex or purely imaginary numbers. Determining the poles and zeroes from a transfer function formula will allow the designer to predict how a circuit design will perform under operation. Since pole and zero values are numeric (real or imaginary), it is important to understand how these numbers relate to circuit stability. Refer to the figure below to see how different poles affect circuit stability in response to a step impulse.
Im
Re
Unstable
Marginally Stable
Im
Re
Analyses
Assuming this passive filter performs as expected in the frequency domain, we will examine how this circuit will react when a signal is injected to the input. Since we are only interested
11-94
Electronics Workbench
in the initial response of the circuit, it is logical to test the circuits response using a step function.
Figure P2 Analyzing the circuit in figure P1a, the following can be determined.
Zc =
1 C1s
11-95
Analyses
A pole is any number that will cause the denominator in a transfer function formula to be zero. In this case:
0 = s + 1000 s = 1000
Zeroes are any number that will cause the numerator in a transfer function formula to be zero. There are no zeroes in the above transfer function formula since the numerator does not contain an s term. Referring back to figure P3, it is clear that this circuit is not unstable since the only pole in the above transfer function exists in the negative region of the s-plane.
11.16.1.1Multisim Approach
Pole Zero Analysis computes the poles and/or zeroes in the small-signal AC transfer function. The program first computes the DC operating point and then determines the linearized, smallsignal models for all the nonlinear devices in the circuit. This circuit is then used to find the poles and zeroes of the transfer function.
output voltage / input voltage output voltage / input current The result is a real and/or imaginary coordinate of the poles and/or zeroes, depending on which analyses are enabled. Note The Pole Zero Analysis provides precise results on circuits containing passive devices (resistors, capacitors and inductors). Circuits containing active devices (transistor or opamps) will not always display the expected results.
Analyses 11-96
Electronics Workbench
Choose analyses to be performed: Pole Analysis (finds poles of transfer function), Zero Analysis (finds zeroes of transfer function), Pole and Zero Analysis (finds both).
Pole Zero Analysis produces the real and imaginary coordinates of the poles and/or zeroes, depending on which analyses are enabled.
The Pole Zero Analysis provides precise results on circuits containing passive devices (resistors, capacitors and inductors). Circuits containing active devices (transistor or opamps) will not always display the expected results.
Analyses
11-97
Analyses
To filter the variables displayed: 1. Click Change Filter. The Filter Nodes dialog box appears.
C1 1uF
Figure P4 To setup and run pole zero analysis using the circuit shown in Figure P4, we will follow the steps listed below. Analyses 1. Select Simulate/Analyses/Pole Zero. 2. In the Pole-Zero Analysis dialog, in the Analysis Parameters tab: Set Input (+) to $2 (input node). Set Input (-) to $0 (ground node). Set Output (+) to $1 (output node). Set Output (-) to 0 (ground node). Set the Analyses Performed option to Pole And Zero Analysis.
11-98
Electronics Workbench
When complete, the Analysis Parameters tab should be set as shown below.
Figure P5 3. Click Simulate. The Multisim grapher will appear displaying the following:
Analyses
Figure P6 This graph indicates that two poles exist. One of the poles appears in the negative region and one in the positive region of the s-plane. Because one of the poles exists on the positive region of the s-plane, the stability of this circuit (figure P4) is poor according to figure P3.
11-99
Analyses
The first simulation is always performed with nominal values. For the rest of the simulations, a delta (controlled by the Lot Number) value is randomly added to or subtracted from the nominal value. This delta value can be any number within the standard deviation (). The probability of adding a particular delta value depends on the probability distribution. The two probability distributions available are: Uniform distribution (also know as Flat Distribution) Guassian distribution (also known as Normal Distribution)
11.17.1.1Uniform Distribution
A uniform distribution is one for which the probability of occurrence is the same for all values of x. This could be the component value within a specified tolerance. For example, if a fair die is thrown, the probability of obtaining any one of the six possible outcomes is 1/6. Since all outcomes are equally probable, the distribution is uniform.
Analyses
The distribution of a population can be described by several parameters such as the mean and standard deviation.The arithmetic mean is commonly called the average. The mean is the sum of all the observed properties divided by the number of observations. The formula in summation notation is
X N
11-100
Electronics Workbench
11.17.1.2Gaussian Distribution
Many statistical tests assume a gaussian distribution. Most of these tests work well even if the distribution is only approximately normal and in many cases as long as it does not deviate greatly from normality. Gaussian distributions are a family of distributions that have the shape shown below.
Gaussian distributions are symmetric with most observed properties concentrated in the middle than in the tails. They are defined by two parameters: the mean () and the standard deviation (also know as , SD or Sigma).
The formula for the height of a normal curve for a given value of x is:
Analyses
The standard deviation () is calculated from the parameter tolerance according to:
In Multisim, gaussian distribution will insure that only 68% of the population is within the specified tolerance. The remaining population will be outside the tolerance (specified by the
11-101
Analyses
user). As an example, let us look at the gaussian distribution for a 1k resistor with 5% tolerance. The standard deviation leads to a tolerance band of 50 . Therefore, one standard deviation leads to a tolerance from 0.95kohms to 1.05 k (1 k +/- 50 ). Only 68% of the population will be within the tolerance of 5%. With a large enough sample, the (mean) will be approximately 1000 ohms.
Multisim approach
Multisim begins by performing a simulation using the nominal component values. For the rest of the simulations, a delta value is randomly added to or subtracted from the nominal value for each component/tolerance. This delta value can be any number within the standard deviation. The probability of adding a particular delta value depends on the probability distribution, which is selected by the user (for each component tolerance). Analyses 11-102
Electronics Workbench
2. Specify the following: Parameter TypeSelect Device Parameter in the drop-down list. This option allows you to select which component (R1, U5, etc) will be included in a tolerance. In addition, this section allows you to select the parameter to be used in this tolerance (eg: Resistance, Temperature Coefficient, etc). DistributionSelect either Uniform or Gaussian. Lot numberThis option is used to control the delta value added or subtracted from the nominal tolerance value. Each Lot number contains a different utility used to generate random data (same number generation for various parameters). Choose Unique if you need each random number generation distinct for every parameter. Analyses
11-103
Analyses
Tolerance TypeThis option allows the user to specify if the tolerance value is a percentage of the component value) of a specific amount of the component value (eg: Using a resistor, if the Tolerance Type is Absolute and the Tolerance Value is 20, the component tolerance will be +/-20 ). Tolerance valueThis option allows the user to set the magnitude of the tolerance (in percent or absolute depending on what is selected in the Tolerance Type option). 3. Click Accept.
Analyses 11-104
Electronics Workbench
is 0 (volts), Monte Carlo will generate a worst case value of 0.001 since the waveform exceeds the threshold voltage on the negative edge at 0.0005 seconds (half of the period). Refer to figure below.
Analyses
11-105
Analyses
2. Click Edit Analysis to modify the transient analysis to be used for the simulation and change the parameters as shown below.
Analyses
3. Click OK. 4. Click on Model tolerance list tab, to specify component to vary during the simulation.
11-106
Electronics Workbench
5. Click on Add a new tolerance and enter all information in the field as shown below.
Analyses
Note To add more than one component to be varied during simulation, click Add a new tolerance again, and add new information. 7. Click Simulate to run the simulation.
11-107
Analyses
11.17.3.2Simulation Results
Note The results of your simulation may be different than what is shown above. To export Voltage vs. Time data from the graph, click on the graph to make it active. Now click the Excel icon to export the data. To export the data under Run Log Descriptions to Excel, place the mouse pointer within the data box and click once to make it active. Now click on the Excel icon. Excel should start automatically. See table below.
Analyses
Run Nominal 1 2 3 4
11-108
Electronics Workbench
5 6 7 8 9 10
The data in the above table are extracted from Run Log Descriptions. The Voltage column refers to the first value under the Worst value column. Output mean = 8.03955 Standard Deviation = 0.205279 The mean and standard deviation can be found under the # of Run column. You must expand this column to view this information. The Time column in the above table indicates the instance where the voltage reaches maximum level. This is defined in the Function field in the Analysis Parameters tab.
Analyses
The cursor in the above figure is approximately placed at the time where voltage reaches the max value (X1 in the cursor table). This is the same value that Multisim shows under voltage column (Y1 in the cursor table).
11-109
Analyses
Calculating the Mean value from the table in 11.17.3.2 Simulation Results on page 11-108:
Standard Deviation:
Analyses 11-110
Electronics Workbench
Finding Sigma for the table in 11.17.3.2 Simulation Results on page 11-108: Note sigma corresponds to resistance value data and not the voltage value from the above calculation. First we need to calculate the mean and standard deviation for the resistance data.
Finding the exact value for sigma requires the equation for the distribution curve. For our purpose we will use an approximation method to find sigma. We will use Run 10, since this will give us the closest value to the simulated results. At 1 standard deviation:
Analyses
11-111
Analyses
RMS current at any trace/wire. The RMS current is derived from simulation. To fully understand the importance of this analysis, we must first understand what happens to a trace or wire as current increases on that wire. The flow of current through a trace will cause the temperature of the trace to increase. The formula for power is P= I2R, so the relationship is not simply linear with respect to current. The resistance of a trace (per unit length) is a function of its cross-sectional area (width times thickness). The relationship between temperature and current, therefore, is a non-linear function of current, trace width, and trace thickness. The ability of a trace to dissipate heat is a function of its surface area, or width (per unit length). The PCB layout technology limits the thickness of the copper used for wires. This thickness is related to the nominal weight, which is provided in OZ/f + 2, in the form of a table.
I = K * T B1 A B 2
where: I = current in amps T = change in Temperature above ambient, in degrees C A = cross sectional area in square mils, and K, B1 and B2 are constants This is the starting point for McHardy and Gandi. To estimate the coefficients for the above equation, it is convenient first to convert them to linear form. We can do this by using logarithms, as follows:
ln ln ln Ln ( I ) = Ln ( K ) + B1 * Ln ( T) + B2 * ln(A)
Where ln( ) is the natural logarithm (to the base e). Analyses
DN Data
DN sources are charts relating temperature change and current for various trace configurations. The DN data provides information allowing the independent evaluation of length and width for the traces under study. When all DN data is used in a regression analysis, we get the following estimate:
11-112
Electronics Workbench
11.18.1Multisim Approach
Multisim uses the trace weight value (oz/ft2) to calculate the required thickness for Trace Width Analysis. See the table below for the assumed trace thickness for each copper weight. Using transient analysis, the currents of each wire are calculated first. These currents are usually time dependent, that is, their amplitude changes in time to a positive or negative value.
Trace Width
Thickness 1.0/8.0 .0/4.0 3.0/8.0 1.0/2.0 3.0/4.0 Weight .2 .36 .52 .70 1
Analyses
11-113
Analyses
Trace Width
Thickness 1 2 3 4 5 6 7 10 14 Weight 1.40 2.80 4.20 5.6 7.0 8.4 9.80 14 19.60
Since the transient analysis is performed for discrete time points, the accuracy of the maximum absolute value depends on how many time points are selected. Here are a few recommendations to increase the accuracy of Trace Width Analysis: Set the end time of the transient analysis (visible in the Analysis Parameters tab) to a time point where at least one cycle of the signal is processed. This is particularly the case if the signal is periodic. If not, you must set the end time to a value large enough for Multisim to capture the correct maximum current. Manually increase the number of points to 100 or more. The more points of the signal, the more accurate the maximum value. Note that increasing the number of time points beyond about 1000 will increase the execution time and slow down Multisim. Consider the effect of the initial condition, which can change the maximum of the signal at starting time. It may slow down the simulation if the steady state (DC operating point, for example) is far from the initial condition (say, zero IC). Once I and T are known, Multisim uses the McHardy and Gandhi formula to find the width of the wire. The formula is:
Analyses
I = KT 0.44 A0.725
where: I = maximum current in Amps K = derating Constant (0.024 for inner) T = maximum temperature rise above ambient in C
11-114
Electronics Workbench
A = cross-sectional area in square mils (not millimeters) Note that one "mil" is 1/1000 of an inch.
+ 0.030 A
C1 0.1uF
C2 1uF
1N4001GP
R1 500ohm
Analyses
11-115
Analyses
Notice that the input signal is 120V AC (RMS). The input signal and the output signal are shown below using the Multisim Oscilloscope.
Output
Input
To set up Trace Width Analysis: 1. Select Simulate/Analyses/Trace Width Analysis. 2. Select the Trace Width Analysis tab, and set the following: Maximum temperature above ambient to 10 (degrees C). Weight of plating to 1 (oz/ft2).
Analyses 11-116
Electronics Workbench
3. Select the Analysis Parameters tab and choose Set To Zero from the Initial Conditions dropdown list.
Analyses
11-117
Analyses
Maximize this window to view the complete results. These results are listed below: Component: c1, Pin #1, Trace Width = 0.270535 mils Pin #2, Trace Width = 0.270535 mils Component: c2, Pin #1, Trace Width = 0.270535 mils Pin #2, Trace Width = 0.270535 mils Component: c3, Pin #1, Trace Width = 0.0819493 mils Pin #2, Trace Width = 0.0819493 mils Component: t1, Pin #1, Trace Width = 3.60528 mils Pin #3, Trace Width = 3.60528 mils Pin #4, Trace Width = 0.465827 mils Pin #5, Trace Width = 0.465827 mils
Analyses 11-118
Electronics Workbench
RF Analyses
Trace Width Analysis determines that the minimum trace width required to pin 1 of T1 (transformer) is 4.07095 mils. Therefore, in order to insure that the connection between the input source and transformer T1 operates successfully, the trace width must be a minimum of 4.0 mils when the PCB board is created.
11.19 RF Analyses
RF analyses (Characterizer, Noise Figure and Matching Networks analyses) are performed through the Network Analyzer instrument and are described in 15.4 RF Analyses on page 15-18.
Analyses
11-119
Analyses
3. Click Edit Analysis. The Nested Parameter Sweep dialog box appears. The top line indicates you are defining nested sweep level 1.
The label of the dialog box indicates this is the first level sweep.
Because you are defining a portion of a nested sweep analysis, you cannot simulate from this dialog box. Click OK or Cancel to display the previous nested sweep level.
4. Set the parameters as desired. 5. To create another level of the nest, again select Nested sweep from the Analysis to sweep drop-down list. 6. Click Edit Analysis. A new Nested Parameter Sweep dialog box appears, this time indicating that you are at nest Level 2. 7. You can continue to add nested sweeps by repeating this procedure. 8. To return to the higher level, saving your changes, click OK. To return to the higher level without saving your changes, click Cancel. 9. When all nested analyses have been defined, click Simulate. Analyses 11-120
Electronics Workbench
Batched Analyses
To set up batched analyses: 1. Choose Analysis/Batched Analyses. The Batched Analyses dialog box appears:
This is the list of analyses that could be added to the batch. This is the list of analyses to be performed in the batch. To see summary information about an analysis, click the + beside the analysis.
2. To add an analysis to the batch, select it and click the Add Analysis button. The parameters dialog box for the selected analysis appears, so you can set the parameters for the analysis. Analyses 3. When you have finished the settings for the analysis, click Add to List. The analysis is added to the Analyses to Perform list on the right. Summary information can be revealed by clicking the + beside the analysis. 4. Continue to add analyses as desired. Note that the settings for one instance of an analysis become the default settings for that analysis during this operation. For example, if you set your first DC Sweep to an increment of 0.6, the 0.6 increment is the default value when you add your next DC Sweep to the batch.
11-121
Analyses
5. To run just one of the analyses in the batch, select it and click Run Selected Analysis. To run all of them, click Run All Analyses. To edit an analysis parameters in the batch, select it and click Edit Analysis. The selected analysis parameters dialog box appears, allowing you to make any modifications you wish to the analysis. To remove an analysis from the batch, select it and click Delete Analysis. To remove all analyses, click Remove All Analyses.
Analyses 11-122
Electronics Workbench
Analyses
3. Click Simulate.
11-123
Analyses
Note Multisim gives you the option of using an equal sign after the statement i.e. tran = 100u 1m or tran 100u 1m. Both revisions of the tran statement work. In addition, if you would like to have a smoother waveform, reduce the step value from 100u to 1u. The waveform example in the figure below will appear on the your display grapher in Multisim.
Analyses 11-124
Electronics Workbench
2. Select the file Rc.cir from the C:\Temp\ directory and click on the Open button. The Rc.cir file imports into Multisim and shows the schematic equivalent of the text-based SPICE netlist.
Analyses
11-125
Analyses
Analyses 11-126
Electronics Workbench
The waveform using the plot v(2) statement will appear as follows.
Analyses
11-127
Analyses
11.23.1Global tab
Code ABSTOL
Description Resets the absolute current error tolerance. Default is suitable for most bipolar transistor VLSI circuits. Resets the absolute voltage error tolerance of the program.
Default 1.0e-12
Unit A
Recommendation
VNTOL
1.0e-06
Generally, set to 6 to 8 orders of magnitude smaller than the largest voltage signal in the circuit. Do not change default. Use typical values between 1.0e-06 and 0.01.
CHGTOL
1.0e-14
RELTOL
Resets the relative error tolerance of 0.001 the simulation, which is the universal accuracy control. The value can significantly affect the convergence of the solution and the simulation speed. Value must be between 1 and 0. Resets the minimum conductance 1.0e-12 used in any circuit branch. Cannot be zero. Increasing this may positively improve the convergence of the solution; however, it will also negatively affect simulation accuracy. Resets the relative value between the 0.001 largest column entry in the matrix and an acceptable pivot value. Value must be between 1 and 0. Resets the absolute minimum value for a matrix entry to be accepted as a pivot. 1.0e-13
GMIN
Minimum conductance
mho
PIVREL
Analyses
PIVTOL
TEMP
Operating temperature
Resets the temperature at which the 300.15 entire circuit will be simulated. Setting in the Analysis Parameters dialog box will override.
11-128
Electronics Workbench
Code RSHUNT
Description Inserts resistance to ground at all analog nodes in the circuit. Reducing value reduces simulation accuracy.
Unit
Recommendation Should be set to some very high resistance, say 1e+12. If you get a No DC path to ground or a Matrix is nearly singular error message, try decreasing RSHUNT to 1e+9 or 1e+6. -
RAMPTIME
Ramps independent sources, capacitor and inductor initial conditions from zero to their final values during the time period specified. Controls automatic convergence assistance by establishing a relative step size limit in solving for the DC operating point. Controls automatic convergence assistance by establishing an absolute step size limit in solving for the DC operating point. Enables/disables a convergence algorithm used in some built-in component models.
CONVSTEP
0.25
CONVABSSTEP Absolute step allowed by code model inputs between iterations CONVLIMIT Enable convergence assistance on code models Print simulation statistics
0.1
ON
ACCT
Turns on/off display of statistical data on simulation-related information. Data may be useful for debugging simulation-related problems. Data appears in the Grapher dialog box.
Off
Analyses
11-129
Analyses
11.23.2DC tab
Code ITL1
Description Resets the upper bound limit to the number of Newton-Raphson iterations during a DC operating point analysis.
Default 100
Unit -
Recommendation If you receive the error message No convergence in DC analysis, increase the ITL1 value to 500 or 1000 and rerun the analysis.
ITL2
Resets the DC transfer curve iteration limit. Sets the number of steps in the Gmin stepping algorithm. Helps find a solution during a DC operating point analysis. See 9.3.6 Convergence Assistance Algorithms on page 9-11 for more information. Sets the number of steps in the Gmin stepping algorithm. Helps find a solution during the DC operating point analysis. See 9.3.6 Convergence Assistance Algorithms on page 9-11 for more information. If a zero value is specified, the Gmin stepping algorithm is disabled.
50
ITL6
10
GMINSTEPS
10
NOOPITER
Analyses 11-130
Electronics Workbench
11.23.3Transient tab
Code ITL4
Description Resets the upper bound limit to the number of Newton-Raphson iterations at each transient time point. Increasing the value may slow down transient simulation time. Decreasing the value increases the chance of inconvergence.
Default 100
Unit -
Recommendation If you receive the error message Time step too small or No convergence in transient analysis, increase the ITL4 value to 15 and rerun the analysis. Use the default value for most circuit simulation.
MAXORD
Sets the maximum order for integration when GEAR chosen as transient analysis integration method. Must be between 2 and 6. Using a higher order theoretically leads to more accurate results, but slows down simulation. Resets transient error tolerance. Only used in the local truncation error criterion. Selects for transient analysis. Default provides faster simulations with same numerical accuracy, but can produce unintended results.
TRTOL
METHOD
TRAPEZOIDAL
Use GEAR (gear integration method) if unwanted numerical oscillations occur during simulation or if circuit contains ideal switches. Use default if circuit operates in oscillation mode, for example, oscillator circuits. Be aware that Gear integration may overdamp results.
Analyses
11-131
Analyses
11.23.4Device tab
Code TNOM Option Name Description Default Unit Recommendation Do not change unless you want your circuit to match data book specifications that were extracted at a temperature other than 300.15 K. Do not change default.
Nominal temperature Resets the normal temperature at 300.15 which model parameters are measured and calculated.
BYPASS
Turns off/on the device bypass scheme Off for nonlinear model evaluation. Turning off may increase simulation time. Resets the value for MOS drain diffusion area. 0
DEFAD
m2
Use default value unless you know how to specify a value from a MOS device datasheet. Use default value unless you know how to specify a value from a MOS device datasheet. Use default value unless you know how to specify a value from a MOS device datasheet. Use default value unless you know how to specify a value from a MOS device datasheet. -
DEFAS
m2
DEFL
0.0001
DEFW
0.0001
Analyses
Applicable only to lossy transmission Off line component. When option turned on, Multisim tries to reduce data storage and memory usage needed for transient simulation of circuits containing lossy transmission lines. Off
OLDLIMIT
11-132
Electronics Workbench
11.23.5Advanced tab
Code AUTOPARTIAL
Option Name Use auto-partial computation for all models Use old mos3 model (discontinuous with respect to kappa) Record operating point for each small-signal analysis
Description
Default Off
Unit -
Recommendation
BADMOS3
Off
KEEPOPINFO
Retains the operating point information whether an AC, Distortion, or Pole-Zero analysis is run.
Off
Particularly useful if the circuit is large and you do not want to run a redundant ".OP" analysis.
MAXEVTITER
Maximum event iterations at analysis point Maximum analog/ event alternations in DCOP Minimum time between breakpoints Do not do analog/ event alternation in DCOP
MAXOPALTER
MINBREAK
NOOPALTER
Off
Analyses
11-133
Analyses
Analyses 11-134
Electronics Workbench
Chapter 12 Postprocessor
This chapter explains how to use the Postprocessor to mathematically manipulate the results of simulation obtained through analyses in different ways. To use the Postprocessor, you must have performed at least one analysis on your circuit. This chapter assumes that you are familiar with the analyses offered by Multisim 8, and the Grapher that displays analysis results. For details, see Chapter 11, Analyses. Some of the features described in this chapter may not be available in your edition of Multisim 8. Such features have an icon in the column next to their description. Refer to the release notes for a list of the features in your edition. The following are described in this chapter:
Subject Introduction to the Postprocessor Using the Postprocessor Basic Steps Working with Pages, Traces, Graphs and Charts Postprocessor Variables Available Functions Page No. 12-2 12-2 12-2 12-8 12-9 12-10
Postprocessor
12-1
Postprocessor
12.1
12.2
Postprocessor
12-2
Electronics Workbench
To build an expression: 1. Click the Postprocessor button on the Main toolbar or select Simulate/Postprocessor. The Postprocessor dialog box appears.
These are the mathematical functions available for use in your expression. This is the name of the circuit on which analyses have been performed in this session. This is an analysis performed on this circuit. These are the variables that resulted from the selected analysis. This is where you will build your Postprocessor expression. Expressions from earlier sessions may be here. To remove, highlight the expression and click Delete.
2. Click on the Expression tab. The Select Simulation Results section lists Multisim files and each analysis performed within the file. Each analysis is identified with a name followed by a code in brackets. That code will be used to identify the variables from that analysis when the trace is plotted. Click on the analysis name, the variables that resulted from that analysis appear in the Variables list. For more about the syntax of these variables, see 12.3 Postprocessor Variables on page 12-9. 3. From the Variables list, select the variables you want to include in the equation being used to define the trace, and click Copy Variable to Equation. The variable appears in the Expressions section, prefixed with the code of the analysis from which it is drawn (unless the selected analysis is the default analysis for details on using the default analysis, see 12.2.1.1 Using the Default Analysis on page 12-7) Postprocessor
12-3
Postprocessor
Note To filter the Variables list to show only certain variables, choose from the drop-down list of options to show: All Top level (variables only in subcircuits) Subcircuit Open pins Device parameters
Here is the equation you are building, which will be used to plot the trace.
4. From the Functions list, select the mathematical function you want included in the equation for this trace, and click Copy Function to Equation. To filter the Functions list to show only certain mathematical functions, choose from the drop-down list of options. For details about the available functions, see 12.4 Available Functions on page 12-10. Note It is possible to manually type or modify a traces equation although you should exercise caution if doing so. 5. Continue to choose analyses, variables and functions until the equation is complete. 6. When complete, click Add or press ENTER to save your equation in the Expressions section. 7. Repeat above steps to add more equations.
Postprocessor
12-4
Electronics Workbench
To view the results of the built equation. 1. Select the Graph tab. The following dialog box appears.
2. Click the Add button to the right of the Pages section. A default name will appear in the Name column of the Pages section. This is the name of the tab that will display the results in the Grapher. Change the default name if necessary. 3. Click the Add button to the right of the Diagrams section. A default name will appear in the Name column of the Diagrams section. This is the title of the diagram that will be displayed in the Grapher. Change the default name if necessary. 4. Click in the Type column of the Diagram section and choose either Graph or Chart from the drop-down list that appears. 5. In the Expressions Available section, select the equation you want to view.
Postprocessor
12-5
Postprocessor
6. Click the >> button to move the equation to the Expressions Selected field. The dialog box will look like this:
7. Click the Calculate button to open the Grapher and view the results.
Postprocessor
The results of the Postprocessor plotting the trace appear in the Grapher, in tabs with the names you specified, along with the results of the analyses previously performed. Results,
12-6
Electronics Workbench
including errors, are also recorded in the Simulation Error Log/Audit Trail. For details, see 9.7 Simulation Error Log/Audit Trail on page 9-25.
The default analysis is identified below the Select Simulation Results section in the Expression tab. To change the default analysis, click on the desired analysis in the Select Simulation Results section and click Set Default. The Default Analysis field displays your choice.
Postprocessor
12-7
Postprocessor
Postprocessor
12-8
Electronics Workbench
Postprocessor Variables
To delete a page, select it in the Pages section of the Graph tab and click the Delete button to the right of the Pages section.
12.3
Postprocessor Variables
The variables that appear in the Analysis Variables list of the Postprocessor are based on the selected analysis. They can include any or all of the following:
Variable v(#) vv# #branch Description voltage in node, where # represents the node number branch current through voltage source vv# (vv# represents the voltage source name) expression within subcircuit x#
expr.x#
Postprocessor
12-9
Postprocessor
12.4
Available Functions
The functions you can apply to the Postprocessor variables are:
Symbol + * / ^ % , abs() sqrt() sin() cos() tan() atan() gt lt ge le ne eq and or not db() Type Algebraic Algebraic Algebraic Algebraic Algebraic Algebraic Algebraic Algebraic Algebraic Trigonometric Trigonometric Trigonometric Trigonometric Relationship Relationship Relationship Relationship Relationship Relationship Logic Logic Logic Exponential Exponential Description plus minus times divided by to the power of percentage complex 3,4 = 3 + j (4) absolute value square root sine cosine tangent inverse tangent greater than less than greater than or equal to less than or equal to not equal to equal to and or not 20 log10(mag(vector)) logarithm (base 10)
Postprocessor
log()
12-10
Electronics Workbench
Available Functions
Symbol ln() exp() j() real() image() vi() vr() mag() ph() norm()
Type Exponential Exponential Complex Complex Complex Complex Complex Vector Vector Vector
Description natural logarithm (base 3) e to the vector power i (sqrt(-1)) times vector real component of vector imaginary part of vector vi(x) = image (v(x)) vr(x) = real (v(x)) magnitude phase vector normalized to 1 (that is, the largest magnitude of any component is 1) random results in a scalar (a length 1 vector) that is the mean of the elements of the vector results in a vector of length number, with elements 0, 1, ... number-1. If number is a vector than just the first element is taken, and if it isnt an image then the floor of the magnitude is used. length of vector derivative of vector uses numeric differentiation by interpolating a polynomial and may not produce satisfactory results, particularly with iterated differentiation. Only calculates the derivative with respect to the real component of the vectors scale. maximum value from vector minimum value from vector vm(x) = mag (v(x)) vp(x) = ph (v(x)) yes true
rnd() mean()
Vector Vector
Vector(number)
Vector
length() deriv()
Vector Vector
Postprocessor
12-11
Postprocessor
Type Constat Constat Constat Constat Constat Constat Constat Constat Constat Constat
Description no false pi natural logarithm base speed of light in vacuum square root of -1 degrees kelvin fundamental charge Boltzmans constant Plancks constant
Postprocessor
12-12
Electronics Workbench
Reports
Chapter Reports
13
This chapter details the various reports that are available in Multisim 8. Some of the features described in this chapter may not be available in your edition of Multisim 8. Such features have an icon in the column next to their description. Refer to the release notes for a list of the features in your edition. Refer to the sections noted below for detailed descriptions of each reports capabilities.
Subject Bill of Materials Using the BOM Report Component Detail Report Using the Component Detail Report Netlist Report Using the Netlist Report Schematic Statistics Report Using the Schematic Statistics Report Spare Gates Report Using the Spare Gates Report Model Data Report Using the Model Data Report Cross Reference Report Using the Cross Reference Report Variants Filter Dialog Box Page No. 13-2 13-3 13-5 13-5 13-7 13-7 13-8 13-9 13-10 13-10 13-11 13-12 13-12 13-13 13-13
13-1
Reports
Reports
13.1
Bill of Materials
A Bill of Materials (BOM) lists the components used in your design and provides a summary of the components needed to manufacture the circuit board. You can also select which fields to view and print on your BOM. The Bill of Materials report includes each components: Quantity Description, including its type (for example, resistor) and value (for example, 5.1 kohm) RefDes Package or footprint.
Tool Buttons
Component Data
The Bill of Materials can also show all user fields and their values. For more on defining and completing user fields, see 8.10 Editing User Fields on page 8-53. Note Because a BOM is primarily intended to assist in procurement and manufacturing, it includes only real parts. Therefore, it excludes parts that are not real or able to be purchased, such as sources or virtual components. If desired, you may also view a list of the virtual components in a circuit.
13-2
Electronics Workbench
Bill of Materials
Reports
Note If there are multiple variants in the circuit, the Variants Filter dialog box will display before the report dialog. For details, see 13.8 Variants Filter Dialog Box on page 1313. 3. Optionally, adjust the displayed information using the buttons detailed below
Show Real Components Show virtual components Select/Delete Columns
Select/Delete Columns button click to display the Select Columns dialog box. Select or deselect the columns you wish to view. Note that the buttons on the left side of the
13-3
Reports
Reports
Show Real Components button click to return to the Bill of Materials View dialog box from either the Select Columns dialog box or the Virtual Components View dialog box. Show Virtual Components button click to display the Virtual Components View dialog box.
4. Optionally, click on a column (Quantity, Description, etc.) to sort the data on the dialog box in ascending order by that column. Click again to sort by descending order. 5. Use the buttons detailed below as required to produce your report.
Save to a text file Send to a printer Print preview To MS Excel App.
Save to a Text File click to save the data on the dialog box (from either the Bill of Materials View or Virtual Components View) to a text file. A standard Windows save dialog box appears. Choose the desired filepath and click Save. Send to a Printer click to display a standard Windows print dialog box. Choose the desired print options and click OK. Print Preview click to display a Print Preview dialog box. To MS Excel App click to open a Microsoft Excel spreadsheet with the data from the dialog box displayed. (You must have Excel installed to use this function).
13-4
Electronics Workbench
Reports
13.2
Component Data
13-5
Reports
Reports
2. Select a specific Database, Group, Family and Component in the dialog box. 3. Click the Detail Report button. The Component Detail Report dialog box displays.
4. Scroll through the information as necessary using the scrollbar on the right of the dialog box. 5. Use the buttons on the dialog box as required: Print click to print the information in the report. A standard Windows print dialog box appears. Choose the desired print options and click OK. Save click to save the data to a text file. A standard Windows save dialog box appears. Choose the desired filepath and click Save. Close click to close the Component Detail Report dialog box. Note This report can also be accessed via the Detail Report button in the Components tab of the Database Manager dialog box.
13-6
Electronics Workbench
Netlist Report
Reports
13.3
Netlist Report
The Netlist Report provides the following circuit connectivity information for each component: Net (net name) Page (filename) Pin (logical pin name).
Tool buttons
Connectivity Information
13-7
Reports
Reports
Note If there are multiple variants in the circuit, the Variants Filter dialog box will display before the report dialog. For details, see 13.8 Variants Filter Dialog Box on page 1313. 3. Optionally, click on a column (Net, Page, etc.) to sort the data on the dialog box in ascending order by that column. Click again to sort by descending order. Net the net in which the component is found. Page page (filename) where the component is located or the root page if the component is part of a subcircuit, hierarchical block or multi-page. Component components RefDes and subcircuit, hierarchical block or multi-page name. Pin components logical pin name. 4. Use the buttons detailed below as required to output your report.
Save to a text file Send to a printer Print preview To MS Excel App.
Save to a Text File click to save the data on the dialog box to a standard text file. A standard Windows save dialog box appears. Choose the desired filepath and click Save. Send to a Printer click to display a standard Windows print dialog box. Choose the desired print options and click OK. Print Preview click to display a Print Preview dialog box. To MS Excel App click to open a Microsoft Excel spreadsheet with the data from the dialog box displayed. (You must have Excel installed to use this function).
13.4
13-8
Electronics Workbench
Reports
of hierarchical blocks equals the number of copies of the same hierarchical block. Unique hierarchical blocks total number of unique hierarchical blocks. Subcircuits total number of subcircuits, unique or otherwise. Unique subcircuits.
Tool buttons
Statistics
Save to a Text File click to save the data on the dialog box to a standard text file. A standard Windows save dialog box appears. Choose the desired filepath and click Save.
13-9
Reports
Reports
Send to a Printer click to display a standard Windows print dialog box. Choose the desired print options and click OK. Print Preview click to display a Print Preview dialog box. To MS Excel App click to open a Microsoft Excel spreadsheet with the data from the dialog box displayed. (You must have Excel installed to use this function).
13.5
13-10
Electronics Workbench
Reports
Save to a Text File click to save the data on the dialog box to a standard text file. A standard Windows save dialog box appears. Choose the desired filepath and click Save. Send to a Printer click to display a standard Windows print dialog box. Choose the desired print options and click OK. Print Preview click to display a Print Preview dialog box. To MS Excel App click to open a Microsoft Excel spreadsheet with the data from the dialog box displayed. (You must have Excel installed to use this function).
13.6
13-11
Reports
Reports
13.7
13-12
Electronics Workbench
Reports
Save to a Text File click to save the data on the dialog box to a standard text file. A standard Windows save dialog box appears. Choose the desired filepath and click Save. Send to a Printer click to display a standard Windows print dialog box. Choose the desired print options and click OK. Print Preview click to display a Print Preview dialog box. To MS Excel App click to open a Microsoft Excel spreadsheet with the data from the dialog box displayed. (You must have Excel installed to use this function).
13.8
13-13
Reports
Reports
If you select one of the above reports in a circuit that has multiple variants, the following dialog box appears.
Include or Exclude variant from the report using the drop-down list in this field.
13-14
Electronics Workbench
Transfer/Comm
Chapter 14 Transfer/Communication
This chapter explains how to use Multisim to transfer either circuit schematics themselves (in whole or in part), or the results of simulation. Some of the features described in this chapter may not be available in your edition of Multisim 8. Such features have an icon in the column next to their description. Refer to the release notes for a list of the features in your edition. The following are described in this chapter.
Subject Introduction to Transfer/Communication Exporting to PCB layout Transferring from Multisim to Ultiboard for PCB Layout Transferring to Other PCB Layout Packages Multisection Components Forward Annotation Back Annotation Exporting Simulation Results Exporting to MathCAD Exporting to Excel Page No. 14-2 14-2 14-3 14-4 14-4 14-5 14-5 14-5 14-5 14-6 14-7 14-8 14-8 14-8 14-9
Exporting to LabView
Exporting a Netlist Importing Files with Other Formats Importing a SPICE or PSPICE Netlist Internet Design Sharing
14-1
Transfer/Communication
14.1
Transfer/Comm
Introduction to Transfer/Communication
Multisim makes it easy to transfer schematic and simulation data to and from other programs for further processing. Multisim can combine schematic information and simulation data for transfer together. For example, when transferring your schematic to perform a PCB layout, Multisim can include optimized trace width information (calculated using the Trace Width Analysis during simulation).
14.2
When the schematic has been prepared, the design will be flattened and consolidated, and transferred to Ultiboard for board layout. In Ultiboard you design the board shape and size, place the components on the board, and route the nets as copper traces on as many layers as you like, placing vias to connect traces between layers. Ultiroute, and add-in product to Ultiboard, is used to both place parts and to route traces automatically. Periodic animations of the layout in intermediate autorouting stages help you to gauge Ultiroute progress.
The Multisim/Ultiboard libraries also contain full 3D mechanical CAD information for boards and parts. A 3D view of the board enables you to quickly preview the mechanical properties of the board. A small mechanical CAD package in Ultiboard allows for quick and
14-2
Electronics Workbench
dirty casing designs. For larger job, the 3D board information can be exported to popular mechanical CAD packages. In order to enable better routing, Ultiboard and/or Ultiroute may wish to swap pins of components (e.g., swap the two inputs of an AND gate), or may wish to swap sections within a component (e.g., use a different gate in a QUAD AND chip). Multisim provides Ultiboard with all the information required to do this. Changes made in Ultiboard (either automatic ones or manual ones) can be "back annotated" to Multisim. For example, if a component is renamed, swapped with one another, pins are swapped, parts are deleted, and so on. The changes will be made into the schematic in Multisim as well. Likewise, subsequent changes to the schematic in Multisim can be "forward annotated" to Ultiboard, in order that progress to date on a board design is not lost if a small change in the schematic is made. Both programs have a feature called "cross probing", which enables parts or nets in one application to be quickly found in the other. Once the board is completely laid out, the design is passed on to Gerbtool in order to prepare industry-standard Gerber files for delivery to a board manufacturer. Taken together, Multisim (with MultiHDL and CommSim), and Ultiboard (with Gerbtool and Ultiroute) provide a complete end-to-end solution for circuit and PCB design.
Transfer/Comm
14-3
Transfer/Communication
Transfer/Comm
To transfer the circuit design to a third party layout package: 1. Select Transfer/Transfer to other PCB Layout. A standard Windows Save As dialog box appears. 2. Navigate to the desired folder, enter a file name, choose the desired manufacturer from the drop-down list and click Save. Multisim creates a file of the appropriate format that can then be loaded into the layout package of your choice.
14-4
Electronics Workbench
Forward Annotation
14.3
Forward Annotation
Forward Annotation lets you annotate changes made to a schematic file in Multisim to its existing Ultiboard file.
Transfer/Comm
To forward annotate changes to Ultiboard: 1. Select Transfer/Forward Annotate to Ultiboard or click on the Forward Annotate button in the Standard toolbar. A standard Save As dialog box appears. 2. Enter the desired filename and filepath and click Save. This file can be opened in Ultiboard and used to update the circuit information.
14.4
Back Annotation
Back Annotation allows you to incorporate changes to a circuit that were made in Ultiboard (for example, deleted components) into the corresponding Multisim circuit file. To back annotate changes made in Ultiboard: 1. Select Transfer/Back Annotate from Ultiboard or click on the Back Annotate button in the Standard toolbar. A standard Open dialog box appears. 2. Select the desired .log file and click Open. The Annotation Log dialog box appears. 3. Select the changes that you wish to back annote to your Multisim file and click OK. Note The circuit file must be open before you use this command. Note If a changed part is in a hierarchical block or a subcircuit with multiple instances, changes will be ignored.
14.5
14-5
Transfer/Communication
2. Click the Transfer to MathCAD button. The Select Traces dialog box appears.
Transfer/Comm
The contents of this dialog box change depending on the traces that are found in the tab you have selected in the Grapher.
3. Use the checkboxes to select the traces you wish to export to MathCAD and click OK. Note If you place the cursors on the graph (via the Show/Hide Cursors button), the output data will be limited to the data that is located between the two cursors. 4. A new MathCAD session is started. Note MathCAD will shut down when Multisim shuts down.
The contents of this dialog box change depending on the traces that are found in the tab you have selected in the Grapher.
3. Use the checkboxes to select the traces you wish to export to Excel and click OK.
14-6
Electronics Workbench
Note If you place the cursors on the graph (via the Show/Hide Cursors button), the output data will be limited to the data that is located between the two cursors. 4. A new Excel spreadsheet is created, with data from the x coordinates in column one and data from the y coordinates in column two. 5. If desired, save the Excel spreadsheet.
Transfer/Comm
The contents of this dialog box change depending on the traces that are found in the tab you have selected in the Grapher.
3. Use the checkboxes to select the traces you wish to export to LabView and click OK. Note If you place the cursors on the graph (via the Show/Hide Cursors button), the output data will be limited to the data that is located between the two cursors. 4. A new LabView session is started.
14-7
Transfer/Communication
14.6
Transfer/Comm
Exporting a Netlist
You can export a netlist for your circuit. To export a netlist: 1. Select Transfer/Export Netlist. A standard Windows Save As dialog box appears. Select the filepath and filetype, enter the filename and click Save. The netlist is saved.
14.7
14-8
Electronics Workbench
the circuit on the workspace but you can continue to execute other commands, such as tran, and display the results on the grapher with the plot command.
Transfer/Comm
14.8
14-9
Transfer/Communication
To use the Internet Design Sharing module: 1. Select Tools/Internet/Design Sharing. 2. Follow the onscreen prompts to launch your Netmeeting session.
Transfer/Comm
14-10
Electronics Workbench
Chapter RF
15
This chapter contains descriptions of the elements (components, model makers, instruments, analyses) of Multisim 8s RF Design module, as well as a tutorial demonstrating their use and some specific examples of RF functionality. Some of the features described in this chapter may not be available in your edition of Multisim 8. Such features have an icon in the column next to their description. Refer to the release notes for a list of the features in your edition. The following are described in this chapter.
Subject Introduction to the Multisim RF Module Components About RF Components Multisims RF Components Theoretical Explanation of the RF Models RF Instruments Spectrum Analyzer Network Analyzer RF Analyses RF Characterizer Analysis Matching Network Analysis Noise Figure Analysis RF Model Makers Waveguide Microstrip Line Open End Microstrip Line RF Spiral Inductor Strip Line Model Stripline Bend Lossy Line Interdigital Capacitor Page No. 15-2 15-2 15-2 15-3 15-4 15-9 15-9 15-15 15-18 15-18 15-20 15-25 15-31 15-31 15-32 15-33 15-34 15-35 15-36 15-37 15-38
RF
15-1
RF
Subject Tutorial: Designing RF Circuits Selecting Type of RF Amplifier Selecting an RF Transistor Selecting a DC-operating Point Selecting the Biasing Network
15.1
RF
15.2
Components
In these cases, the wavelength of the voltages and currents at which they are operating is significantly larger than the components themselves. Ohm's Law, in this case, is valid. For example, a 1/4 Watt resistor is about 0.270 inch long and 0.090 inch in diameter.
15-2
Electronics Workbench
Components
RF components, on the other hand, are most often distributed elements, where the phase of a voltage or current changes significantly over the physical extent of the device, because the device dimensions are similar to, in some cases even larger than, the wavelength. Standard circuit theory is therefore not always applicable to circuits that are working at a few MHz to above 1 GHz. The usual models for lumped components are often not valid in the RF world. For example, a capacitor can behave like an inductor or an inductor can behave like a capacitor at high frequencies. RF components exhibit parasitic effects, and have models different from those used in low frequencies. Connections between two nodes at high frequencies would exhibit different behavior from those at low frequencies, and are modeled using capacitances and inductances. These connections behave as transmission lines when implemented on a Printed Circuit Board (PCB). The board itself becomes part of the circuit, interfering with the normal circuit function. This is why low frequency circuit simulation EDA tools can become unreliable at higher frequencies. Standard RF components include capacitors, inductors, toroids, ferrite beads, couplers, circulators, transmission lines or striplines, waveguides, and high frequency active devices such as transistors and diodes. More complex components, such as quadrature hybrids, mixers, filters, and attenuators, are built using these standard components. This chapter deals with the standard components and their models in high frequencies. RF
15-3
RF
15.2.3.1 Striplines/Microstrips/Waveguides
Wires are used to connect two internal nodes on a circuit and show no difference in phase and magnitude between two connecting nodes. Wires, however, behave differently at RF frequencies depending on their length and diameter. One effect at RF frequencies is called the skin effect, explained below. A conductor, at low frequencies, utilizes its entire cross-sectional area as a transport medium for charge carriers. As the frequency is increased, an increased magnetic field at the center of the conductor presents an impedance to the charge carriers, thus decreasing the current density at the center of the conductor and increasing it around its perimeter. This effect is called the skin effect, and occurs in all conductors, including resistor leads, capacitor leads, and inductor leads. As the frequency increases, this effect is more pronounced. A simple wire connecting two nodes in high frequencies behaves as a transmission line. The following figure shows the equivalent circuit of a transmission line. There are four components. The capacitor is the result of an actual capacitance existing between the center of the conductor and the ground. Between these two plates is the dielectric, which is not perfect. This leakage is modeled using conductance G and is given per unit length of line. Also, due to the resistance of the conductor itself, we have a series resistance R. Its value depends on the resistivity of the material used, the length, the cross-section of the conductor, and the skin effects.
RF
Every transmission line has a resistance, called its characteristic impedance. Most microwave systems have a characteristic impedance of 50 Ohms. This value is a compromise between maximum power handling capability and minimum attenuation. At 50 Ohms, there is a reasonably low attenuation, and adequate power handling capability.
15-4
Electronics Workbench
Components
If the outer diameter of the conductor of a coaxial line is shown by D, and the inner diameter is shown by d, and is the dielectric constant of the cable, the characteristic impedance is calculated by the following formula:
138 D Z 0 = -------- log 10 --- d
( ( H ) ( ft ) )
A stripline is a useful form of a transmission line. The stripline consists of a conducting strip lying between, and parallel to, two wide conducting planes. The region between the strip and the planes is filled with a uniform dielectric. Microstrips are easy to fabricate using photolithographic processes. At the same time that a transistor is placed on top of the board, for example, a microstrip can also be placed. Microstrip is, therefore, easily integrated with other passive and active devices. A conductor of width W is printed on a thin, grounded dielectric substrate of thickness d and relative permittivity r. A waveguide is a structure, or part of a structure, that causes a wave to propagate in a chosen direction. If the waveguide boundaries change direction, the wave is constrained to follow. Waveguides come in a variety of types: simple parallel plate structure, cylindrical structures with conducting boundaries, rectangular waveguides, and circular waveguides. A transmission line or a stripline is a special case of waveguide.
RF
15-5
RF
15.2.3.2 RF Resistors
Resistors find many applications as terminators or attenuators. The equivalent circuit of a resistor at radio frequency is shown in the following figure. The inductor is calculated using the physical geometry of the resistor.
RF
15.2.3.3 RF Capacitors
Capacitors are used for interstage coupling, for bypassing, in resonant circuits, and in filters. RF capacitors must be chosen carefully to ensure the best performance for specific applications. RF capacitors consist of two metal plates separated by a dielectric. The capacitance of an ideal capacitor has a direct relationship with the area (A), and is inversely proportional to the thickness of the dielectric (d). Its relationship is expressed in the following formula, where is the dielectric constant of the dielectric material.
A = ( d ) --d
The actual capacitor shows imperfection. One type of capacitor is modeled as shown in the following figure.
In order to find the numerical values of the ideal elements in the model above, we need to consider a number of factors.
15-6
Electronics Workbench
Components Let represent the phase of current compared to the voltage. This phase is ideally 90, but is smaller for real components. The power factor (PF) is defined as COS (). This factor is a function of temperature, frequency, and the dielectric material. The power factor is usually used to describe the capacitor in low frequencies. This factor in higher frequencies is sometimes referred to as the dissipation factor. This factor describes how much power is dissipated, lost, or transformed to heat energy in RF frequencies. Another factor that defines the quality of the capacitor is closely related to power factor and is called Q. This factor is the reciprocal of dissipation factor. The larger the Q, the better the capacitor. No dielectric material is perfect. Therefore, there is always leakage current between two plates. This behavior is best described by Rp which is usually around 100,000 MOhm. The series resistor is the AC resistance of the capacitor in high frequencies, and is obtained using COS ()/C * 1e6. Here, =2*pi*f. There is a frequency point above which the capacitor starts to behave like an inductor. RF
15.2.3.4 RF Inductors
Inductors are extensively used in resonant circuits, filters, and matching networks. The following figure shows a typical inductor modeled for RF frequencies. An inductor is a wire wound or coiled. Each two windings are at close proximity, which creates a distributed capacitor, Cd. The inductor would behave like a capacitor at high frequencies. There is always a series resistance which prevents the coil from resonating. The ratio of an inductor's reactance to its series resistance is often used as a measure of the quality of the inductor. The larger the ratio, the better the inductor is.
15-7
RF
Two inductors in series, for example, can be replaced by one inductor. A typical equivalent circuit of an RF transistor is shown in the following figures.
Lb rbb Cbc Lc
Cbe
rbe
Cbe
Cce
gmVbe Re
Le
RF
Rg Lg Ci +V i -
Cgd
Rd
Ld
Vi
Rs
Ls
The cutoff frequency fc can be derived from the equivalent circuit and is inversely proportional to the transit time c:
vs gm 1 f c = --------------- = ------------- = ------------2 C i 2 c 2 L g
15-8
Electronics Workbench
RF Instruments
where Lg is the effective length of the gate, and vs is the saturation velocity that electrons travel. Active components included in Multisim are RF_BJT_NPN, RF_BJT_PNP, RF_MOS_3TDN, and tunnel diode.
15.3
RF Instruments
Multisims RF Design module provides two key instruments for successful RF circuit design and analysis: the Spectrum Analyzer and the Network Analyzer.
15-9
RF
below which measurement cannot be made. With Multisims spectrum analyzer, no additional noise is introduced by the instrument itself. A number of parameters characterize a spectrum analyzer: frequency range in which the instrument operates frequency spans reference level measurement range. These are all represented on the Multisim spectrum analyzer, and must be set manually.
RF
If Full Span is selected, the entire instrument range, which is 1kHz to 4GHz, is displayed. If Zero Span is selected, a single frequency defined by the Center field is displayed. If Set span is selected, the frequency span is determined using either span control or frequency control, as explained in 15.3.1.5 Frequency Analysis on page 15-11.
15-10
Electronics Workbench
RF Instruments
Span Control
This technique sets the span and the center frequencies, i.e., f-span and f-center. To set the span and the center frequencies, click Enter (in the Frequency area of the instruments display) to automatically calculate the values of f-start and f-end using the following expressions: f-start = (f-center - f-span / 2) f-end = (f-center + f-span/2) RF
Frequency Control
You can define the starting and ending frequencies manually. In order to do this, you need to enter the numerical values of frequencies in the Frequency area of the dialog box. Their values should be non-zero values. When Enter is clicked, the center frequency (f-center) and the range of frequency displayed on the spectrum analyzer (f-span) are calculated automatically. The relationship among these parameters is expressed as follows: f-center = (f-start + f-end)/2 f-span = (f-end - f-start)
These two techniques are interrelated, that is, it is not possible to set all four parameters independently. Both techniques are useful. For example, if you want to see frequency components around one specific frequency such as100 Mhz +/- 100kHz, then the frequency control technique is easier to apply. The center frequency, in this example, is 100 Mhz, and the span is 2*(100kHz) = 200 kHz.
15-11
RF
You can set the amplitude range of the signal visible on the screen by choosing one of the following three options: dB - This option stands for 20*log10(V), where log10 is the logarithm in base 10, and V is the amplitude of the signal. When this option is used, the signal is displayed by dB per division, shown in the right-hand side of the spectrum analyzer. The dB reading is of interest when measuring the power of the signal. dBm - This option stands for 10*log10(V/0.775). Zero dBm is the power dissipated in a 600 Ohm resistor when the voltage across it is 0.775 V. This power is equal to 1 mW. If the level of a signal is +10 dBm, it means that its power is 10 mW. When this option is used, the signal power is displayed based on the reference of 0 dBm. For applications in which the terminating resistor is 600 Ohm, such as in telephone lines, it is more convenient to read dBm as it is directly proportional to the power dissipation. However, in dB, you need to include the value of the resistor to find the dissipated power in the resistor. In dBm, the value of the resistor has been accounted for already. Lin - This option selects a linear display of the signal. To change the maximum amplitude displayed on the screen, enter a voltage value in the Range field.
RF
15-12
Electronics Workbench
RF Instruments
reference button. The maximum reference value in dB is set to (+30 dB). Show-Ref is available only if either dB or dBm are activated.
15.3.1.9 Examples
Example 1
The following figure shows a mixer, which is often used in communications applications. RF
There are two input sinusoidal waveforms. Their frequencies are 0.8 MHz and 1.2 MHz. The amplitudes are set at 8 V and 10 V, respectively. Note that the amplitude is the peak value of the sinusoidal waveformit is not the RMS value of the waveform. The mixer is set to multiply the signals with unity gain without introducing an offset in either of the input signals. You can expect to find two components at the output placed at (1.2 + 0.8) = 2 MHz, and (1.2 - 0.8) = 0.4 MHz. If you want to try this example for yourself, do the following: 1. Construct the network as shown above. 2. Double-click on the multiplier and set the gains to 1 and the offsets to zero. 3. Double-click on the spectrum analyzer and initialize it using one start and end frequency (example 3 in this chapter shows another way to initialize the spectrum analyzer). Set Span to 3MHz and Center to 1.8 MHz.
15-13
RF
Click Enter. The frequency value of f-start is automatically set to (1.8 MHz - 3/2 MHz) = 300 kHz. The frequency value of f-end is automatically set to (1.8 MHz + 3/2 MHz) = 3.3 MHz. Since the amplitude of the component is around (8*10)/2 = 40 V, set the amplitude range to 100 V in LIN mode. 4. Run the simulator. 5. Double-click on the spectrum analyzer. 6. Click Start and wait until the signal stabilizes The spectrum analyzer starts performing the Fourier Transform of the input signal in time domain. However, since it begins with only a few samples, it does not provide accurate results initially. You must wait until the screen is refreshed a few times to obtain accurate readings of the frequency components and their magnitudes. At this time, the internal frequency resolution is equal to the user-defined frequency resolution. Both of these values are shown on the device. Using the cursor on the screen, you can read the amplitude and frequency of each component. In the example, the readings are the same as the calculated values, that is, two frequency components at 2 MHz and 0.4 MHz, with 40 V magnitude.
RF
Example 2
In order to run another example, you must stop the simulation running for the previous example. The second example has the same circuit structure, as shown below.
However, DC offsets (1 V) to the input and the output signals are introduced. Due to the offsets, you will have components at DC, as well as 0.8 MHz and 1.2 MHz. The spectrum analyzer shows the components and their amplitude on the screen if the same setting used in the previous example is also used here.
15-14
Electronics Workbench
RF Instruments
Example 3
This example considers an active device that works in saturation. This structure is shown below:
RF
To initialize the spectrum analyzer: 1. Double-click on the spectrum analyzer. 2. Set Start to 1 kHz and End to 11MHz. 3. Click Enter. The frequency value of f-span is (11 MHz - 1 kHz) = 10.999 kHz. The frequency value of f-center is (11 MHz + 1 kHz)/2 = 5.5005 MHz. 4. Set the range to 2 dB/division, and set the reference to 4 dB to demonstrate the application of reference dB level. The frequency values of f-start and f-end are set so that the frequency components of interest are captured and their magnitudes can be studied. Using the spectrum analyzer, you can verify that there are more than two frequency components present at the output node. There are three components above 4 dBzero frequency, 2 MHz, and 4 MHz. Other frequency components are at higher frequencies and have dB level less than 4 dB.
15-15
RF
RF
Select a mode of operation. Select a different set of parameters to be displayed on the chart. Show or hide individual traces.
The display of the network analyzer is divided into two regions: The left region contains a chart display area and a text display area that shows marker and circuit information. The right region contains the controls for the network analyzer.
15-16
Electronics Workbench
RF Instruments
RF
Format Buttons
Use these buttons to display data using different chart formats. The formats available depend on the selected parameter group. Use the Scale button to change the scaling of the current chart. Only Polar plot, Real/ Imaginary plot and Magnitude/Phase plot can be changed. Use the Auto Scale button to automatically scale the data so that it can be displayed within the current chart. Use the Setup button to change the various display properties of the network analyzer.
15-17
RF
input and output ports Match Net. Designer opens a new dialog box, explained in 15.4.2 Matching Network Analysis on page 15-20. Use the first of the above choices to use the Network analyzer to perform measurement (its normal application). Use the second and third options to access the two RF analyses explained in 15.4 RF Analyses on page 15-18. Use the Simulation Set button to enter the measurement settings for computing the circuits S-parameters.
15.4
RF Analyses
15-18
Electronics Workbench
RF Analyses
calculated by assuming that source and load impedances are 50 Ohm. You can change these values by clicking the RF Param. Set button to specify that the RF simulator assumes
Zl = Zo and Zs = Zo or s = l = 0.
Another aspect of a circuit is the input and output impedances of the amplifier. An RF amplifier usually has more than one stage of amplification. Each stage of the amplifier is loaded by the input port of the next stage. The loading effect is best understood by studying the input/output impedances. Most engineers would like to design an amplifier which has maximum input impedance in low RF frequencies, to reduce its loading effect on the previous stage. On the other hand, the smaller the output impedance is, the better the output signal would be delivered. In higher RF frequencies, it is desirable to have an output impedance matching that of the load to minimize the reflection of signals. The Multisim RF characterizer analysis toolbox helps designers to study these impedances and choose the most appropriate frequency of operation. To use the simulator in order to read the desired variable: 1. Connect the network analyzer to the amplifier. 2. Run the simulator. Ignore the DC warnings and wait until the AC analyses are complete. 3. Double-click on the network analyzer. 4. Click on RF Characterizer in the Mode box. 5. Under the Trace options, set the desired variable, from among PG, APG., and TPG. While the curves are plotted versus frequency, the numerical values are displayed at the top of curves for each frequency point. 6. From the Parameter drop-down list, select Gains. Here, the voltage gain (VG>) is plotted versus frequency and its value is given at the top of the curve. Note Use Auto Scale each time you change the parameters to get a better reading. 7. In the Parameter drop-down list, select Impedance. The input/output impedances are provided in the form of a curve as well as printed out at the top of the curves. 8. Use the frequency scroll bar at the bottom of the curves to select the desired frequency for a specific variable. RF
Power Gains
The Multisim RF Simulator calculates the General Power Gain (PG), Available Power Gain (APG) and Transducer Power Gain (TPG) for Zo = 50Ohm at a given frequency. The dBMag is derived as 10log10 |PG|. PG is defined as the ratio of the power delivered to the load and the average power delivered to the network from the input, and is given as PG = |S21|2/(1-|S11| 2). The Transducer Power Gain, TPG is the ratio of the power delivered to the load to the power available from the source. For Gs = GL= 0, TPG = |S21| 2 .
15-19
RF
The Available Power Gain, APG is the ratio of the power available from the output port of the network to the power available from the source and it is expressed as
2 2 APG = |S21| / (1- |S22| )
Voltage Gain
Voltage Gain, VG, is obtained for s = l = 0 and is expressed as VG = S21/(1 + S11). Voltage Gain expressed in dBMag is calculated as 20log 10 |VG|. If you observe the time domain signals of the input and output while the transistors are operating in the linear region, you find that the amplitude of the output voltage signal (when 50 Ohm load and source impedances are used) to the amplitude of the input voltage signal is the same as VG given by Multisim. Note, however, that VG is calculated using S-parameters.
Input/Output Impedances
These values are calculated assuming s = l = 0. For this condition, we have:
Zin= ( 1 + in) / (1 - in) where in = S11 and Zout= ( 1 + out) / (1 - out) where out = S22.
One must note that these values are normalized. The simulator prints denormalized values of Zin and Zout.
RF
15-20
Electronics Workbench
RF Analyses
To open the Match Net. Designer dialog box: 1. Double-click the Network Analyzer on the circuit window. 2. Click the Match Net. Designer button. The Match Net. Designer dialog box appears:
RF
Stability Circles
Stability circles are used to analyze the stability of a circuit at different frequency points. In an ideal design, when an input signal is delivered to the input port of a two-port network, the entire source signal is delivered without any loss. In practice, however, part of the input signal bounces back to the source. Then, when the amplified signal is delivered to the load impedance, part of this signal bounces back to the output port of the amplifier. The amplifier, if it is not unilateral, transfers the reflected wave back to the source impedance. A circuit is considered unstable if the signal reflected is equal to the signal delivered in either the input or the output port. An RF engineer aims to minimize this bounce effect and deliver maximum signal to the load. The stability circles in the network analyzer help achieve this goal. To perform the analysis: 1. Connect the biased amplifier to the network analyzer using two series capacitors (usually 100 F). The values of these capacitors are selected to minimize the numerical errors. In practice, however, two capacitors must be used to isolate the amplifier from the pre- and post-stage amplifiers in DC mode. Note that the impedance of these capacitors should not contribute to the attenuation of the input or output signal. The impedance of a capacitor is frequency dependant and is calculated using X_c = 1/(jwC) where w is (2*pi*f). 2. To activate the network analyzer, click Run/stop simulation. Wait until the AC-analyses are complete. Ignore the warning for DC-analysis.
15-21
RF
3. Double-click on the Network Analyzer icon on the circuit window. 4. Click the Match Net. Designer button. 5. From the Match Net. Designer dialog box, click the Stability Circles tab. 6. Set the desired operating frequency in the Freq. field in the lower left corner of the dialog box, and click OK. The result is a Smith Chart showing an input stability circle and an output stability circle. A stability circle represents the boundary between the values of source or load impedance that cause instability and those that do not. The perimeter of the circle thus represents the locus of points which forces K=1. Note that either the inside or the outside of the circle may represent an unstable region. Unstable regions are hashed on the Smith Chart. There are three possible scenarios on the Smith Chart, as described below: None of the Smith Chart is hashed In this case the circuit is said to be unconditionally stable, meaning that any area of the Smith Chart represents a valid passive source or load impedance. The designer can, then, select the input or output impedances using other criteria (such as gain or noise criteria). Parts of the Smith Chart are hashed In this case the circuit is potentially unstable, meaning it is possible to select passive input or output impedance and still maintain the stability of the circuit. An input impedance should fall outside the hashed area of the input stability circle to achieve stability at the input port, while an output impedance should be selected outside the output stability circle to achieve stability at the output port. The entire Smith Chart is hashed In this case, the circuit is unstable regardless of input or output impedances. The designer has a number of options to achieve stability, including changing the frequency of operation, changing the DC biasing of the transistor, changing the transistor itself, or changing the entire structure of the amplifier. In addition to stability circles, there are two numerical values printed on the Match Net. Designer dialog box. They are and K. The design is unconditionally stable if (|| < 1) and K>1. For K<1, for example, the circuit is potentially unstable, and will most likely oscillate with certain combinations of source or load impedance.
RF
15-22
Electronics Workbench
RF Analyses
To calculate the Unilateral Figure of Merit: 1. From the Match Net. Designer dialog box click the Unilateral Gain Circles tab. 2. Read the value of U or the Unilateral Figure of Merit. 3. Calculate the upper and lower limits of the following inequality using U. 1/(1 + U) 2 < GT/GTU < 1/(1-U) 2 where, GT transducer power gain, is defined as the ratio of the output power delivered to a load by a source and the maximum power available from the source, and GTU represents the transducer power gain assuming unilateral property (S12=0) for the network. You need not calculate GT or GTU since only the limits are of interest here. If the limits are close to one, or U is close to zero, the effect of S12 is small enough to assume unilateral property for the amplifier. If it is not, go to the next step. 4. Change the frequency so that the minimum U is read. This frequency suggests an operating point for the amplifier where the unilateral property is best met. Note The operating frequency to achieve the best unilateral property for the amplifier does not necessarily coincide with the maximum gain for the circuit. The unilateral gain circles are developed to identify the best load and source impedances to minimize the error due to unilateral assumption and maintain a satisfactory level of gain. The gain circles are also used for a trade off between the gain and the bandwidth. Wide Band Amplifier To design a wide band amplifier, first find the maximum gain delivered by the circuit: 1. Double-click the network analyzer icon on the circuit window. 2. Click on the RF characterizer button. 3. Read the value of TPG (transducer power gain or GT). This value is printed in dB. 4. Click on the Match Net. Designer button. 5. From the Match Net. Designer dialog box, click the Unilateral Gain Circles tab. 6. Change the value of Gs and Gl manually and individually until the circles become a dot on the Smith Chart. 7. Calculate the maximum transferable power. Gmax = Gs (dB) + TPG (dB) + Gl(dB) The maximum gain is achieved only for a narrow band. Since the slightest change in the circuit component would change its performance, the maximum gain is not achievable in reality. For a wider band of frequency, use a gain of less than the maximum. Knowing the level of gain you want to achieve, select input and output impedances: 1. Select the desired gain (should be less than the maximum gain calculated above). RF
15-23
RF
2. Choose Gs and Gl so that these three conditions are met: Gs + GTU + Gl < Gmax Gs < Gsmax Gl < Glmax. 3. Enter the selected values for Gs and Gl and observe the circles. Select points on the circles closest to the center of the Smith Chart. These points are shown on the Smith Chart and circles by two triangles. The circle for Gl = 0 dB always passes through the center. Therefore, the best point of the Gl to produce Gl = 0 dB. Any point selected on the Smith Chart is a normalized point. These points provide the impedances for the input and output ports that you then design manually. Note To ensure these points will not cause instability, we recommend you follow the instructions in Stability Circles on page 15-21. If the amplifier is unconditionally stable, it would be stable for any passive load or source network, so you need not check stability circles in this case. RF
Impedance Matching
Occasionally, a design is considered unconditionally stable, meaning the amplifier does not oscillate in the presence of any passive load or source impedance. In this case, you can use the impedance matching option to automatically modify the structure of an RF amplifier to achieve maximum gain impedance. To deliver maximum power, a circuit must match at both its input and output ports. In other words, there needs to be maximum matching between the output of the amplifier and the output impedance, and the input of the amplifier and the source impedance. There are eight possible structures for each port, although only a few of these provide complete matching. To use impedance matching to find a matching network: 1. Connect the network analyzer to your amplifier as described in Stability Circles on page 15-21. Do not forget the capacitors in order to prevent DC loading of the network analyzer. 2. Run the simulation. 3. Double-click the network analyzer icon. 4. Click the Match Net. Designer button. 5. On the Match Net. Designer dialog box, click the Impedance Matching tab. 6. Change the frequency to the desired operating point. 7. Enable the Auto Match checkbox. The instrument provides the structure as well the numerical values of components. You can click on the left and right sides of the Impedance Matching dialog box and change the structure. However, only a few of the eight structures can provide matching.
15-24
Electronics Workbench
RF Analyses
15-25
RF
Another method of describing noise figure is using the following formula: NF = 10log10 Si/Ni So/No = 10log10NR Where Si/Ni is the signal-to-noise power ratio at the devices input and So/No is the signal-to-noise power ratio at its output. The term (Si/Ni, So/No) is called the noise ratio (NR). If the device under consideration were ideal (injected no additional noise), then Si/Ni and So/No would be equal, the NR would equal 1, and NF = 10log(1)=0 dB. Of course, this result cannot be obtained in practice.
Cascaded Networks
The following is an example of a cascade network. RF NF1 G1 NF2 G2 NF3 G3
Often, it is necessary to calculate the noise figure of a group of amplifiers that are connected in cascade. This is easily done if the noise figure of each individual amplifier in the cascade configuration is known. Ftotal = F1+ F2-1 + F3-1 + F4-1 G1 G1G2 G1G2G3 Where, Fn = the noise factor of each stage Gn = the numerical gain of each stage (not in dB) Another look at the above equation will reveal a very interesting point. If the gain of the first stage is sufficiently high, the denominators of the second and succeeding terms will also be very large (since G1 is multiplied with the denominator of every term). This will force all other terms to be very small values leaving only F1 in the equation. Hence, the NF of the first stage will typically determine the NF of the cascade network.
15-26
Electronics Workbench
RF Analyses
Certain components are already defined in a SPICE engine (eg: Transistors). Models for these components are simply a list of parameter values (eg: Beta) that feed into a predefined circuit already included in the SPICE engine. For this Analysis, we will analyze option 2. Below is a SPICE model for a typical transistor: .MODEL BF517 NPN (IS=0.480F NF=1.008 BF=99.655 VAF=90.000 IKF=0.190 + ISE=7.490F NE=1.762 NR=1.010 BR=38.400 VAR=7.000 IKR=93.200M + ISC=0.200F NC=1.042 + RB=1.500 IRB=0.100M RBM=1.200 + RE=0.500 RC=2.680 + CJE=1.325P VJE=0.700 MJE=0.220 FC=0.890 + CJC=1.050P VJC=0.610 MJC=0.240 XCJC=0.400 + TF=56.940P TR=1.000N PTF=21.000 + XTF=68.398 VTF=0.600 ITF=0.700 + XTB=1.600 EG=1.110 XTI=3.000 + KF=1.000F AF=1.000) Although noise figure in a model is achieved using a combination of several model parameters, parameter NF is the most significant value (when simulating noise figure in a transistor model). When selecting a SPICE model to use for Noise Figure Analysis, you must insure that this parameter exists. If not, the part will operate without noise parameters and therefore will generate no noise. For a description of all parameters available in the above SPICE model or in any other SPICE model, please refer to Berkeley SPICE manual available through the University of Berkeley. RF
Where No is the output noise power (which includes the noise due to two-part network and the magnified input noise) Ns is the thermal noise of the source resistor (this resistor generates noise equal to the output noise of the previous stage), and G is the AC gain of the circuit (the
15-27
RF
ratio of the output signal to the input signal of the two-part network). Note that the bandwidth of the signal has been considered in the source resistor. Finally, Multisim prints the Noise Figure in dB, that is 10 log10 (F).
RF
15-28
Electronics Workbench
RF Analyses
To filter the variables displayed: 1. Click the Change Filter button. The Filter Nodes dialog box appears.
15-29
RF
Notice that the maximum gain appears at approximately 1.5MHz. To set up Noise Figure Analysis using the circuit shown, follow the steps listed below. 1. Select Simulate/Analyses/Noise Figure Analysis. RF 2. Under the Analysis Parameters tab, set the following: Input noise reference source to VV1 (which is the input AC Source. Output node must be $1. Reference node will default to $0 Frequency must be set to 1.5e+6 (1.5 MHz). Temperature must be set to 27 degrees. 3. Click Simulate. The following displays.
Therefore, the Noise Figure for the circuit is approximately 260 dB.
15-30
Electronics Workbench
RF Model Makers
15.5
RF Model Makers
As with the other Multisim Model Makers, RF Model Makers automatically simulate models based on the input you provide. Whereas input for other model makers usually comes from data books, RF Model Makers can also receive other types of input, such as operating characteristics or physical dimensions, depending on the type of components you are modelling. Multisim has RF Model Makers for the following types of components:
15.5.1 Waveguide
For Waveguide models, enter values in the two tabs shown below. Use the following diagram for assistance in identifying the values: RF
Slot width
Dielectric thickness
15-31
RF
RF
15-32
Electronics Workbench
RF Model Makers
RF
15-33
RF
Inner diameter
Outer diameter
Conductor width
RF 15-34
Electronics Workbench
RF Model Makers
Dielectric thickness
Conductor thickness
RF
Conductor length
Conductor width
15-35
RF
RF
Bend angle
15-36
Electronics Workbench
RF Model Makers
Phase velocity
Characteristic impedance
Line length
RF
15-37
RF
RF
15-38
Electronics Workbench
RF
15.6
15-39
RF
RF
15-40
Electronics Workbench
5. Click to place the transistor on the circuit window. The results look similar to this:
Vce Settings
Vce is always less than Vcc, and it is usually around Vcc/2 for maximum swing in a common-emitter configuration. For this tutorial Vce=3V and Vcc=9V are selected. RF
Ic Settings
The nominal value of Ic for the selected transistor is 5mA. The power dissipated in the transistor at any time is Ic*Vce. For this tutorial, Ic=3mA is selected to dissipate less power and to be close to the nominal value of Ic. This will let us achieve relatively good current-gain bandwidth and moderate voltage gain. (The voltage gain is maximum at Ic=1mA and the current gain-bandwidth is maximum at Ic=5mA.)
15-41
RF
This is the simplest structure for a biasing network. However, its thermal stability is poor. To find the resistor values for this structure you need to know five values: Vce, Ic, Vcc, Vbe, and Beta (which is the DC-current gain of the transistor and is given in most data books). Beta relates Ic to Ib as Beta = Ic/Ib. Vbe is the base-emitter voltage of the transistor when it is active, and is typically 0.7 V. Both Beta and Vbe depend on the values of Ic and Ib. The initial design process starts with typical values of Rc and Rb in the structure shown above. However, if accuracy is critical, you should use Multisim to ensure that the values of Ic and Vce are as intended. In this tutorial, these selections are used: Vce = 3 V Ic = 3 mA Vcc = 9 V Vbe = 0.7 V Beta = 100. The initial values of Rc and Rb are calculated as shown below. Rc = (Vcc-Vce)/Ic = (9 V - 3 V)/ 3 mA = 2 KOhm RF Ib = Ic/Beta = 3 mA/100 = 30 A Rb = (Vcc - Vbe)/Ib = (9 V - 0.7 V)/30 A = 277 KOhm To select the DC operating points: 1. Draw the circuit shown above with Rb=277 KOhm and Rc=2 KOhm. Note that Vcc=9 V and the transistor is MRF927T1. 2. Click the Analysis button and choose DC Operating Point. The DC Operating Point Analysis dialog box appears. 3. Select the nodes representing the collector and base of the transistor. 4. Click Plot during Simulation. 5. Click Simulate. The results will show a reading of Vc and Vb. In the DC-biasing network, Vc is Vce and Vb is Vbe. The first readings are Vce=3.33 V and Vbe=0.8 V. You can modify the value of either Rc or Rb or both, to achieve the desired DC operating point. After a number of iterations, you arrive at Rc=2 KOhm and Rb=258 KOhm. Reading the values of Vce and Vbe for the final simulation, you will note that Beta = Ic/Ib = Rb*(Vcc-Vce) / [Rc. (Vcc-Vbe)] = 94.36 which is close to the initial value of Beta.
15-42
Electronics Workbench
2. Choose Simulate/Run and wait until the AC analyses are complete. Ignore the warning for DC analyses. 3. Double-click on the Network Analyzer icon on circuit window and click the Match Net. Designer button. 4. In the Match Net. Designer dialog box that appears, do the following: set the frequency to 3.02 GHz since the circuit is unconditionally stable for this frequency point, click Impedance
Matching
15-43
RF
since the circuit is unconditionally stable, automatic impedance matching is possible. Enable Auto Match. The dialog box provides the structure and the values necessary for conjugate matching. Hence, maximum power transfer is achieved. Below is our design for maximum power transfer at f=3.02 GHz:
RF
Note 1F is needed to isolate the active network from its matching network to keep the transistor in its biasing state. Impedance matching yields maximum power transfer for a very narrow bandwidth. In real applications, however, you need to balance the power transfer and the bandwidth. For this reason, mismatching is intentionally introduced to the circuit. To design the amplifier for a constant gain less than the maximum possible gain, for better frequency response: 1. Open the DC biased transistor circuit discussed previously. 2. Open the network analyzer and change settings as follows: click RF Characterizer select Power Gains from the Param drop-down list select dB MAG from the Marker drop-down list set the frequency to 3.02 GHz click TPG (Transducer Power Gain) under Trace and set its value to 4.3652 dB for our example. 3. Click Match Net. Designer and, in the Match Net. Designer dialog box, select the Unilateral Gain Circles tab. 4. Change the value of Gs and Gl manually and individually until the circles become a dot on the Smith Chart.The example shows Gs=0.042 dB and Gl=1.2650 dB.
15-44
Electronics Workbench
5. Calculate the maximum transferable power. Pmax = 0.042 + 4.3652 + 1.2650 = 5.6722 dB. 6. Select the gain desired. This gain should be less than 5.6752 dB. 3.5302 dB was selected as the power gain. 7. Choose Gs and Gl so that Gs + 4.3652 + Gl = 3.5302 dB and Gs < 0.042 dB and Gl < 1.2650 dB. You selected Gs = -0.08350 dB and Gl = 0 dB. 8. Enter the selected values for Gs and Gl and observe the circles. Select point or points on the circles which are closest to the center of the Smith Chart. The circle for Gl = 0 dB always passes through the center. Therefore, the best point of the Gl is the center itself. This means that 50 Ohm load is sufficient to produce Gl = 0 dB. The best point on Gs for the example is Zl = 2 (normalized). Using this value, you can design the matching network at the input port of the amplifier. You must make sure that the selected point or points are stable. Therefore, it is recommended that you go back to Stability Circles, and confirm the stability of the design. Since the amplifier is unconditionally stable, it would be stable for any passive load or source network. Hence, you need not check the stability circles. RF The complete amplifier is shown in the following figure:
15-45
RF
RF 15-46
Electronics Workbench
Appendix A
This section contains brief descriptions for the commands in the Multisim 8 menus.
A.1
Multisim Menus
The following menus are found in Multisim. File Menu Edit Menu View Menu Place Menu Simulate Menu Transfer Menu Tools Menu Reports Menu Options Menu Window Menu Help Menu
Appendices
A.1.1.1 File/New
Opens an untitled circuit window that can be used to create a circuit. The new window opens using your default circuit preferences. Until you save, the circuit window is named Circuit#, where # is a consecutive number. For example, Circuit1, Circuit2, Circuit3, and so on.
A-1
A.1.1.2 File/Open
Opens a previously created circuit file or netlist. Displays a file browser. If necessary, change to the location of the file you want to open. You can also open Ulticap and Orcad files. For details, see 14.7 Importing Files with Other Formats on page 14-8. Note You can open files created with Version 5 of Electronics Workbench, and files created in previous versions Multisim and netlist files.
A.1.1.4 File/Close
Closes the active circuit file. If any changes were made since the last save of the file, you are prompted to save those changes before closing.
A.1.1.6 File/Save
Appendices Saves the active circuit file. If this is the first time the file is being saved, displays a file browser. If you want, change to the desired location for saving the file. You can save a circuit file with a name of any length. The extension.ms8 is added to the file name automatically. For example, a circuit named Mycircuit will be saved as Mycircuit.ms8. Tip To preserve the original circuit without changes, choose File/Save As.
A.1.1.7 File/Save As
Saves the current circuit with a new file name. The original circuit remains unchanged. Tip Use this command to experiment safely on a copy of a circuit, without changing the original.
A-2
Electronics Workbench
Multisim Menus
A.1.1.10File/Open Project
Opens an existing project. For details, see 6.6.2 Working with Projects on page 6-45.
A.1.1.12File/Close Project
Closes an open project. For details, see 6.6.2 Working with Projects on page 6-45.
A.1.1.13File/Version Control
Backs up or restores a project. For details, see 6.6.4 Version Control on page 6-47.
A.1.1.14File/Print
Opens a standard Print dialog box. For details, see 4.11 Printing the Circuit on page 4-59. Appendices
A.1.1.15File/Print Preview
Previews the circuit as it will be printed. Opens a separate window, where you can move from page to page and zoom in for details. You can also print what you preview. For details, see 4.11 Printing the Circuit on page 4-59.
A-3
Note If you change the page orientation using the Print Setup dialog box, the change is also reflected in the Print Circuit Setup dialog box.
These settings apply only to the current circuit. For details on these fields see 4.11 Printing the Circuit on page 4-59.
A-4
Electronics Workbench
Multisim Menus
Note If you change the page orientation using the Page Circuit Setup dialog box, the change is also reflected in the Print Setup dialog box.
A.1.1.19File/Recent Circuits
Displays a list of the eight most recently saved circuit files. To re-open a file, select it from the list.
A.1.1.20File/Recent Projects
Displays a list of the eight most recently saved projects. To re-open a project, select it from the list.
A.1.1.21File/Exit
Closes all open circuit windows and exits Multisim. If you have unsaved changes in any circuits, you are prompted to save or cancel them.
Appendices
A.1.2.1 Edit/Undo
Undoes the most recently performed delete.
A.1.2.2 Edit/Redo
Redoes the most recently performed undo.
A.1.2.3 Edit/Cut
Removes selected components, circuits or text. What you cut is placed on the Windows clipboard so you can paste it elsewhere.
A-5
A.1.2.4 Edit/Copy
Copies selected components, circuits or text. The copy is placed on the Windows clipboard. You can then use the Paste command to paste the copy elsewhere, including other applications such as word processors.
A.1.2.5 Edit/Paste
Places the contents of the clipboard. The cursor shows a ghosted image of the item to be pasted. Click to indicate where the item is to be pasted.
A.1.2.6 Edit/Delete
Permanently removes selected components or text. Does not place the selection on the clipboard and does not affect anything currently on the clipboard. Caution Use the Delete command with care. Deleted information cannot be retrieved, although a delete, or any other action, can be recovered using the Undo command, providing that it was the most recent action. Note Deleting a component or instrument removes it from the circuit window, not from its toolbar. Appendices
A-6
Electronics Workbench
Multisim Menus
A.1.2.10Edit/Find
Displays the Find Component dialog box. For details, see 4.8 Finding Components in Your Circuit on page 4-29.
A.1.2.11 Edit/Comment
Adds a comment to the workspace. For details, see 4.9.5 Adding a Comment on page 4-37.
A.1.2.12Edit/Graphic Annotation
Shows various graphic annotation options.
Edit/Graphic Annotation/Arrow
Displays available arrows used to end lines and other graphic elements.
A.1.2.13Edit/Order
Use to either send a selected graphic item to the back, or bring it to the front.
A.1.2.14Edit/Assign to Layer
Assigns the selected item to an annotation layer. For details, see 3.5.1 Visibility Tab on page 3-34.
A-7
A.1.2.15Edit/Layer Settings
Displays the Visibility dialog box. The settings found in this dialog box are also found in the Visibility tab of the Sheet Preferences dialog box. For details, see 3.4.2.6 Sheet Properties Visibility Tab on page 3-33.
Appendices
A.1.2.17Edit/Orientation
Shows options for changing the orientation of selected elements.
Edit/Orientation/Flip Horizontal
Flips the selection horizontally. For details, see 4.7 Rotating/Flipping Placed Components on page 4-27.
Edit/Orientation/Flip Vertical
Flips the selection vertically. For details, see 4.7 Rotating/Flipping Placed Components on page 4-27.
Edit/Orientation/90 Clockwise
Rotates the selection 90 degrees clockwise. For details, see 4.7 Rotating/Flipping Placed Components on page 4-27.
Edit/Orientation/90 CounterCW
Rotates the selection 90 degrees counter-clockwise. For details, see 4.7 Rotating/Flipping Placed Components on page 4-27.
A-8
Electronics Workbench
Multisim Menus
A.1.2.18Edit/Symbol/Title Block
Use to do an in-place edit of a selected components symbol, or a selected title block.
A.1.2.19Edit/Font
Displays the Font dialog box, where you can change various font properties. Contains the same information as the Font tab in the Sheet Properties dialog box. For details, see 3.4.2.4 Sheet Properties - Font Tab on page 3-30.
A.1.2.20Edit/Properties
Opens the properties dialog box of the item selected in the active window. If there is no item selected, the Sheet Properties dialog box displays.
A.1.3.2 View/Zoom In
Lets you increase the magnification of your view of the circuit.
A-9
A.1.3.10View/Status Bar
Shows or hides the status bar at the bottom of the workspace.
A.1.3.12View/Spreadsheet View
Select/deselect to show/hide the Spreadsheet View. For details, see 5.2 The Spreadsheet View on page 5-9.
A.1.3.14View/Toolbars
Shows or hides the selected toolbar. Choose to show or hide any or all of the toolbars discussed below. For information on these toolbars, see A.1 Multisim Menus on page A-1.
View/Toolbars/Standard
Select/deselect to show/hide the Standard toolbar.
A-10
Electronics Workbench
Multisim Menus
View/Toolbars/View
Select/deselect to show/hide the View toolbar.
View/Toolbars/Main
Select/deselect to show/hide the Main toolbar.
View/Toolbars/Graphic Annotation
Select/deselect to show/hide the Graphic Annotation toolbar.
View/Toolbars/3D Components
Select/deselect to show/hide the 3D Components toolbar. You can place virtual 3D components from this toolbar.
View/Toolbars/Analog Components
Select/deselect to show/hide the Analog Components toolbar. You can place virtual analog components from this toolbar.
View/Toolbars/Basic
Select/deselect to show/hide the Basic toolbar. You can place virtual basic components from this toolbar.
View/Toolbars/Diodes
Appendices Select/deselect to show/hide the Diodes toolbar. You can place virtual diodes from this toolbar.
View/Toolbars/Transistor Components
Select/deselect to show/hide the Transistor Components toolbar. You can place virtual transistors from this toolbar.
View/Toolbars/Measurement Components
Select/deselect to show/hide the Measurement Components toolbar. You can place virtual measurement components from this toolbar.
View/Toolbars/Miscellaneous Components
Select/deselect to show/hide the Miscellaneous Components toolbar. You can place miscellaneous virtual components from this toolbar.
View/Toolbars/Components
Select/deselect to show/hide the Component toolbar.
A-11
View/Toolbars/Virtual
Select/deselect to show/hide the Virtual toolbar, which is used to place virtual components. For details, see 4.4.2 Placing Virtual Components on page 4-9.
View/Toolbars/Instrument Toolbar
Select/deselect to show/hide the Instrument toolbar.
A.1.3.15View/Comment/Probe
Shows or hides information boxes for selected comments or static probes. For details, see 4.9.5 Adding a Comment on page 4-37 and 10.15 Measurement Probe on page 10-40.
A.1.3.16View/Grapher
Shows or hides the Grapher, which shows the results of simulation on a graph or chart. For details about this feature, see 11.2 Viewing the Analysis Results: Grapher on page 11-4.
A-12
Electronics Workbench
Multisim Menus
A.1.4.1 Place/Component
Lets you browse the databases (Master Database, Corporate Database and User Database) for components to be placed. For details, see 4.4.1 Using the place component browser on page 4-4.
A.1.4.2 Place/Junction
Places a junction where you click. For details, see 4.6 Manually Adding a Junction (Connector) on page 4-26.
A.1.4.3 Place/Wire
Use to place a wire on the workspace that is not connected to any component. For details, see Appendix 4, Placing Wires Directly Onto Workspace.
A.1.4.4 Place/Bus
Places a bus with segments created as you click. For details, see 6.4 Buses on page 6-12.
A.1.4.5 Place/Connectors
Lets you place various connectors on the workspace.
Place/Connectors/HB/SC Connector
Adds connecting nodes to a circuit for use in a hierarchical block or a subcircuit.
Appendices
Place/Connectors/Off-Page Connector
Places an off-page connector on your workspace. For details, see 6.1 Flat Multi-sheet Design on page 6-2.
A-13
A.1.4.10Place/Replace by Subcircuit
Replaces the selected components with a subcircuit containing those components. For details, see 6.2.6 Adding a Subcircuit on page 6-9. Appendices
A.1.4.11 Place/Multi-Page
Opens a new flat page. For details, see 6.1 Flat Multi-sheet Design on page 6-2.
A.1.4.12Place/Merge Bus
Merges two buses together. For details, see 6.4.3 Merging Buses on page 6-20.
A.1.4.14Place/Comment
Use to pin a comment to the workspace, or directly to a component. When a component with an attached comment is moved, the comment also moves. For details, see 4.9.5 Adding a Comment on page 4-37.
A-14
Electronics Workbench
Multisim Menus
A.1.4.15Place/Text
Lets you place text on the circuit. For details, see 4.9.4 Adding Miscellaneous Text on page 4-36.
A.1.4.16Place/Graphics
Lets you place any of the graphic elements mentioned below.
Place/Graphics/Line
Places a straight line on your workspace. For details, see 4.9.6 Graphic Annotation on page 4-40.
Place/Graphics/Multiline
Places a multiline on your workspace. For details, see 4.9.6 Graphic Annotation on page 4-40.
Place/Graphics/Rectangle
Places a rectangle on your workspace. For details, see 4.9.6 Graphic Annotation on page 4-40.
Place/Graphics/Ellipse
Places an ellipse on your workspace. For details, see 4.9.6 Graphic Annotation on page 4-40. Appendices
Place/Graphics/Arc
Places an arc on your workspace. For details, see 4.9.6 Graphic Annotation on page 4-40.
Place/Graphics/Polygon
Places a polygon on your workspace. For details, see 4.9.6 Graphic Annotation on page 4-40.
Place/Graphics/Picture
Places a picture on your workspace. For details, see 4.9.6 Graphic Annotation on page 4-40.
A.1.4.17Place/Title Block
Lets you place a title block on your workspace. For details, see 4.9.3 Adding a Title Block on page 4-33.
A-15
A.1.5.2 Simulate/Pause
Pauses/resumes the current simulation.
A.1.5.3 Simulate/Instruments
Some versions of Multisim do not include all of the instruments noted below. Contains commands you use to place instruments (an alternative to using the Instrument toolbar). For details on these instruments, see Chapter 10, Instruments. Note Ammeter and voltmeter instruments are available from the Indicator parts bin.
Simulate/Instruments/Multimeter
Appendices Places a multimeter on the circuit window. The multimeter is used to measure AC or DC voltage or current, resistance, or decibel loss between two nodes in a circuit. For details, see 10.4 Multimeter on page 10-9.
Simulate/Instruments/Function Generator
Places a function generator on the circuit window. The function generator is a voltage source that supplies sine, triangular or square waves. It provides a convenient and realistic way to supply power to a circuit. For details, see 10.5 Function Generator on page 10-14.
Simulate/Instruments/Wattmeter
Places a wattmeter on the circuit window. The wattmeter provides the combined functions of a voltmeter and an ammeter. It is used to measure the magnitude of the active power, that is, the product of the voltage difference and the current flowing through the current terminals in a circuit. For details, see 10.6 Wattmeter on page 10-16.
Simulate/Instruments/Oscilloscope
Places an oscilloscope on the circuit window. The dual-channel oscilloscope displays the magnitude and frequency variations of electronic signals. It can provide a graph of the voltage
A-16
Electronics Workbench
Multisim Menus
of one or two signals over time, or allow comparison of one waveform to another. For details, see 10.7 Oscilloscope on page 10-17.
Simulate/Instruments/Bode Plotter
Places a Bode plotter on the circuit window. A Bode plotter produces a graph of a circuits frequency response and is useful for analyzing filter circuits. For details, see 10.8 Bode Plotter on page 10-22.
Simulate/Instruments/Frequency Counter
Places a frequency counter on the circuit window. For details, see 10.17 Frequency Counter on page 10-57.
Simulate/Instruments/Word Generator
Places a word generator on the circuit window. A word generator sends digital words or patterns of bits into circuits as a bit stream. For details, see 10.9 Word Generator on page 10-27.
Simulate/Instruments/Logic Analyzer
Places a logic analyzer on the circuit window. A logic analyzer displays the levels of up to 16 digital signals in a circuit. It is used for fast data acquisition of logic states and advanced timing analysis to help design large systems and carry out troubleshooting. For details, see 10.10 Logic Analyzer on page 10-30. Appendices
Simulate/Instruments/Logic Converter
Places a logic converter on the circuit window. It can be attached to a circuit to derive the truth table or Boolean expression the circuit embodies, or to produce a circuit from a truth table or Boolean expression. For details, see 10.11 Logic Converter on page 10-35.
Simulate/Instruments/IV Analyzer
Places an IV analyzer on the workspace, which is used to measure current-voltage curves. For details, see 10.18 IV Analyzer on page 10-60.
Simulate/Instruments/Distortion Analyzer
Places a distortion analyzer on the circuit window. A typical distortion analyzer provides distortion measurements for audio signals in the range of 20 Hz to 100 KHz. For details, see 10.12 Distortion Analyzer on page 10-38.
A-17
Simulate/Instruments/Spectrum Analyzer
Places a spectrum analyzer on the circuit window. The spectrum analyzer is used to measure frequency versus amplitude. For details, see 10.13 Spectrum Analyzer on page 10-39.
Simulate/Instruments/Network Analyzer
Places a network analyzer on the circuit window. The network analyzer is used to measure the scattering parameters (or S-parameters) of a circuit, commonly used to characterize a circuit intended to operate at higher frequencies. For details, see 10.14 Network Analyzer on page 10-39.
Simulate/Instruments/Agilent Multimeter
Places the Agilent Technologies 34401A Multimeter on the circuit window. This is a 6 1/ 2-digit, high-performance digital multimeter. For details, see 10.19.2 Agilent Simulated Multimeter on page 10-74.
Simulate/Instruments/Agilent Oscilloscope
Appendices Places the Agilent Technologies 54622D Oscilloscope on the circuit window. This is a 2-channel +16 logic channels, 100-MHz bandwidth oscilloscope. For details, see 10.19.3 Agilent Simulated Oscilloscope on page 10-77.
Simulate/Instruments/Tektronix Oscilloscope
Places the Tektronix TDS 2024 Oscilloscope on the circuit window. For details, see 10.20 Tektronix Simulated Oscilloscope on page 10-82.
Simulate/Instruments/Measurement Probe
Using the Measurement Probe is a fast and easy way to check voltage and frequency readings on different nodes and pins. For details, see 10.15 Measurement Probe on page 10-40.
A-18
Electronics Workbench
Multisim Menus
A.1.5.6 Simulate/Analyses
Some versions of Multisim do not include all of the analyses noted below. Contains commands you use to set up and run the circuits analysis. For details on these analyses, see Chapter 11, Analyses. Some analyses are not available in all versions of Multisim.
Simulate/Analyses/AC Analysis
Sets up and runs AC analysis, in which the DC operating point is first calculated to obtain linear, small-signal models for all nonlinear components. Then a complex matrix (containing both real and imaginary components) is created. For details, see 11.5 AC Analysis on page 11-32.
Simulate/Analyses/Transient Analysis
Sets up and runs Transient analysis, also called time-domain transient analysis, which computes the circuits response as a function of time. For details, see 11.6 Transient Analysis on page 11-35.
Appendices
Simulate/Analyses/Fourier Analysis
Sets up and runs Fourier analysis, which evaluates the DC, fundamental and harmonic components of a time-domain signal. For details, see 11.7 Fourier Analysis on page 11-38.
Simulate/Analyses/Noise Analysis
Sets up and runs Noise analysis, which is used to detect the magnitude of noise power in the output of electronic circuits. For details, see 11.8 Noise Analysis on page 11-41.
A-19
Simulate/Analyses/Distortion Analysis
Sets up and runs Distortion analysis, which measures harmonic distortion and intermodulation distortion products. For details, see 11.9 Distortion Analysis on page 11-48.
Simulate/Analyses/DC Sweep
Sets up and runs DC sweep analysis, which computes the DC operating point of a node in the circuit for various values of one or two DC sources in the circuit. For details, see 11.10 DC Sweep Analysis on page 11-56.
Simulate/Analyses/Sensitivity
Sets up and runs Sensitivity analysis, which calculates the sensitivity of an output node voltage or current with respect to the parameters of all components (DC sensitivity) or one component (AC sensitivity) in a circuit. For details, see 11.11 DC and AC Sensitivity Analyses on page 11-62.
Simulate/Analyses/Parameter Sweep
Sets up and runs Parameter Sweep analysis, which verifies the operation of a circuit by simulating it across a range of values for a component parameter. For details, see 11.12 Parameter Sweep Analysis on page 11-68.
Simulate/Analyses/Temperature Sweep
Appendices Sets up and runs Temperature Sweep analysis, which quickly verifies the operation of a circuit by simulating it at different temperatures. The effect is the same as simulating the circuit several times, once for each different temperature. You control the temperature values. For details, see 11.13 Temperature Sweep Analysis on page 11-77.
Simulate/Analyses/Pole Zero
Sets up and runs Pole Zero analysis, which finds the poles and zeros in the small-signal AC transfer function of a circuit. For details, see 11.16 Pole Zero Analysis on page 11-93.
Simulate/Analyses/Transfer Function
Sets up and runs Transfer Function analysis, which calculates the DC small-signal transfer function between an input source and two output nodes (for voltage) or an output variable (for current) in a circuit. It also calculates input and output resistances. For details, see 11.14 Transfer Function Analysis on page 11-80.
Simulate/Analyses/Worst Case
Sets up and runs Worst Case analysis, a statistical analysis that lets you explore the worst possible effects on circuit performance of variations in component parameters. For details, see 11.15 Worst Case Analysis on page 11-86.
A-20
Electronics Workbench
Multisim Menus
Simulate/Analyses/Monte Carlo
Sets up and runs Monte Carlo analysis, a statistical analysis that lets you explore how changing component properties affects circuit performance. For details, see 11.17 Monte Carlo Analysis on page 11-100.
Simulate/Analyses/Batched Analyses
Sets up and runs batched analyses, which let you set up a series of different analyses, or different variations on the same analysis, to be performed on a circuit in sequence. For details, see 11.21 Batched Analyses on page 11-121.
Simulate/Analyses/Stop Analysis
Stops the currently running analysis. Appendices
Simulate/Analyses/RF Analyses
Included in the menu for the purposes of completeness. Since RF analyses are available from the Network Analyzer instrument, this command places the Network Analyzer for you. For details, see 15.3.2 Network Analyzer on page 15-15.
A.1.5.7 Simulate/Postprocessor
Opens the Postprocessor dialog box, which you use to combine the results of several analyses in different ways. To use the Postprocessor, you must have performed at least one analysis on your circuit. For details, see Chapter 12, Postprocessor.
A-21
A.1.5.12Simulate/VHDL Simulation
This feature is not available in all versions of Multisim. Runs the optional VHDL simulation software. This software is installed separately from its own CD. For details, see the documentation that is included with your HDL software.
A.1.5.14Simulate/Probe Properties
Displays the Probe Properties dialog box.
A-22
Electronics Workbench
Multisim Menus
A-23
A.1.7.2 Tools/Database
Tools/Database/Database Manager
Lets you add component families, assign button icons to families, edit, copy and delete components, and (for some editions of Multisim) enter or modify user field titles for those component families. For details, see 7.6 Managing the Database on page 7-14.
Tools/Database/Save Component to DB
Lets you save the selected component, including any changes you made to it, to the database. For details, see 7.6.6 Saving Placed Components on page 7-21.
Tools/Database/Convert Database
Appendices Converts components in an existing Multisim V6 corporate or user database (this includes Multisim 2001) into Multisim 8 format. For details, see 7.7 Converting 2001 or V7 Databases on page 7-23.
Tools/Database/Merge Database
Displays the Merge Database dialog box where you can merge the contents of another User Database into your User Database. For details, see 7.9 Merging Databases on page 7-25.
A-24
Electronics Workbench
Multisim Menus
A-25
A.1.7.13Tools/Symbol Editor
Lets you create and edit component symbols. For details, see 8.5.2 Creating and Editing a Components Symbol with the Symbol Editor on page 8-18.
A.1.7.16Tools/Edit Labels
Lets you edit labels that you have inserted into the contents of the Circuit Description Box. For details, see 4.10.2.4 Edit Labels Dialog Box on page 4-56.
A.1.7.19Tools/EDAparts.com
Launches your Internet browser and directs you to the Electronics Workbench Edaparts Web site. You can then download components into the User database. For details, see 7.3 Using EDAparts.com on page 7-7.
A-26
Electronics Workbench
Multisim Menus
Appendices
A-27
A.1.10.1Window/New Window
Creates a copy of the existing window.
A.1.10.2Window/Cascade
Arranges circuit windows so that they overlap. Appendices
A.1.10.3Window/Tile Horizontal
Resizes all open circuit windows so they all show on the screen in a horizontal orientation. Allows you to quickly scan all open circuit files.
A.1.10.4Window/Tile Vertical
Resizes all open circuit windows so they all show on the screen in a vertical orientation. Allows you to quickly scan all open circuit files.
A.1.10.5Window/Close All
Closes all open files.
A-28
Electronics Workbench
Multisim Menus
A.1.10.6Window/Windows
Displays the Windows dialog box where you can show or close the files that you currently have open.
A-29
Appendices A-30
Electronics Workbench
Index
DC operating point 11-27 DC sensitivity 11-62 555 Timer Wizard 9-18 DC sweep 11-56 determining component use 5-8 A distortion 11-48 about Multisim A-30 Fourier 11-38 AC analysis 11-32 incomplete 11-27 AC Motor model maker 8-55 matching network 15-20 AC sensitivity analysis 11-62 Monte Carlo 11-100 Add a Footprint dialog 8-51 nested sweep 11-119 Add Buslines dialog box 6-18 noise 11-41 Add Variant Name dialog box 6-31 options 11-127 adding output tab 11-22 components 8-4 parameter sweep 11-68 device/model parameters 11-24 performing (general instructions) 11-22 administering NLS 1-14 pole zero 11-93 Agilent Simulated Function Generator 10-71 printing graphs and charts 11-20 Agilent simulated instruments 10-70 results 9-25 Agilent Simulated Multimeter 10-74 RF 15-18 Agilent Simulated Oscilloscope 10-77 RF Characterizer 15-18 algorithm summary tab 11-26 Gmin stepping 9-11 temperature sweep 11-77 source stepping 9-11 trace width 11-112 ammeter transfer function 11-80 about 10-86 transient 11-35 connecting 10-87 user-defined 11-122 mode 10-87 viewing charts 11-18 multimeter measurement options 10-10 viewing graphs 11-7 resistance 10-86 working with pages 11-6 analyses worst case 11-86 about 11-4 analysis options 11-25, 11-127 AC 11-32 Analysis Options dialog 11-127 AC sensitivity 11-62 analysis options tab, about 11-25 analysis options tab 11-25 analysis output, manipulating 12-2 Analysis Parameters tab 11-22 Analysis Parameters tab, about 11-22 audit trail 9-25 audit trail 9-25 batched 11-121 automatic wiring 4-18 cutting/copying/pasting pages, graphs, and axes, Bode plotter settings 10-24 charts 11-19
Numerics
B
back annotation 14-5 backing up projects 6-47 batched analyses 11-121 Bill of Materials 13-2 bill of materials about 2-12 BJT model maker 8-55 Bode plotter about 10-22 axes settings 10-24 magnitude 10-24 phase 10-24 readouts 10-26 settings 10-24 BOM report using 13-3 Boolean expressions, entering 10-37 Boost Converter model maker 8-68 Browser screen 4-4 browsing database 4-3 BSPICE model 8-45 Buck Boost Converter model maker 8-69 Buck Converter model maker 8-69 bus placing 6-12 Bus Entry Connection dialog box 6-21, 6-22 Bus Merge dialog box 6-20 Bus Properties dialog box 6-17 Bus Vector Connect A-14 Bus Vector Connect dialog 6-23 bus width 3-29 Buses 6-12 placing 6-14 Button Appearance dialog 3-41
C
capturing screen area 4-43 CE BJT Wizard 9-23 changing component value/model 5-3 channel settings 10-20 chart
properties 11-18 charts cut/copy/paste 11-19 printing 11-20 using in postprocessor 12-8 viewing 11-18 checking electrical connections 5-38 circuit adding instruments to 10-4 consistency, checking in simulation 9-5 equation 9-9 printing files 4-60 simulation mechanisim 9-6 circuit window multiple 4-3 placing components 4-4 clock logic analyzer 10-32 Clock Setup dialog 10-33 code model about 8-101 creating 8-102 implementation file 8-111 interface file 8-105 color component 4-17 customizing 3-27 selecting 3-27 wire 4-25 command line 9-6 component properties, General tab 8-15 symbol, editing 8-16 value/model, changing 5-3 Component Browser 4-4 Component Detail Report dialog box 13-6 Component Detail report using 13-5 Component Editing about 8-2 Component List dialog 8-43
ii
Electronics Workbench
component wizard 8-4 components properties dialog 4-16 Variant tab 6-35 components about 7-1 adding 8-4 changing value/model 5-3 classification in database 7-3 color 4-17 copying 7-19 copying placed 4-15 copying symbols 8-17 creating model 8-40 detail report 13-5 determining use in analyses 5-8 displaying information 5-2 editing 8-13 editing model 8-40 editing symbol 8-16 finding 4-29 flipping 4-28 general properties 8-15 information stored 7-11 moving 4-13 package information 8-48 pins 8-48 placed, properties 5-2 placing 4-3 placing on circuit window 4-4 removing 7-18 rotating 4-28 user fields 8-53 using global 7-13 virtual 4-3 wiring 4-17 connecting ammeter 10-87 voltmeter 10-86 connector, adding 4-26 convergence assistance 9-11 Convert Database dialog 7-23 converting V6 database 7-23
converting V7 database 7-23 copying component symbol 8-17 components 7-19 placed components 4-15 creating components 8-4 projects 6-44 Cross Reference report 13-12 using 13-13 Cuk Converter model maker 8-70 Customization other options 3-42 Customize dialog Commands tab 3-37 Keyboard tab 3-39 Menu tab 3-40 Options tab 3-41 pop-up menus 3-41 Toolbars tab 3-38 customizing interface 3-20 cut/copy/paste pages, graphs, and charts 11-19
D
data ready 10-30 database adding a component family 7-16 browsing for components 7-4 component classification 7-3 deleting a component family 7-17 finding components 7-4 levels 7-3 loading a component toolbar button 7-16 management 7-14 searching for components 7-4 selecting components 4-3 structure of 7-2 V6 conversion 7-23 V7 conversion 7-23 Database Information dialog box 7-22 database levels 7-3 Database Management dialog 7-14
iii
ERC Options tab 5-41 Date and Time dialog 4-47 DC operating point analysis 11-27 ERC Rules tab 5-44 DC sensitivity analysis 11-62 error log/audit trail 9-25 DC sweep analysis 11-56 Excel, exporting simulation results to 14-5 default analysis, postprocessor 12-7 exporting simulation results to Excel 14-5 Delete Multi-Page dialog 6-3 deleting simulation results to MathCAD 14-5 component family 7-17 exporting a netlist 14-8 components 7-18 exporting simulation results 14-5 empty component families 7-17 exporting to Excel 14-6 Description Label dialog 4-55 exporting to MathCAD 14-5 Description window 4-44 description, adding to circuit 4-44 F design sharing 14-9 File menu A-1 Design Toolbox File Properties dialog 6-47 Hierarchy tab 6-40 files diode model maker 8-70 adding to project 6-44 displaying information about placed components locking and unlocking 6-46 5-2 opening with project 6-45 distortion analysis 11-48 removing from project 6-45 Distortion Analyzer filter nodes 11-24 Settings dialog 10-38 Filter Wizard 9-22 distortion analyzer 10-38 Find Component dialog 4-29 harmonic distortion 10-39 Finding components 4-29 SINAD 10-39 finding components 4-29 downloading components 7-7, 7-10 finding components in database 7-4 dual-channel oscilloscope 10-18 Flat multi-sheet design 6-2 Duplicate Component Name dialog 7-24 flipping components 4-28 font settings 3-30 E Footprint tab 8-48 forward annotation 14-5 EDAparts.com 7-7 Edit footprint dialog 5-7 Four Channel Oscilloscope 10-47 Edit Labels dialog 4-56 Fourier analysis 11-38 Edit menu A-5 frequency 10-29 Edit Model dialog 5-6 Frequency Counter 10-57 editing function generator component symbol 8-16 about 10-14 component toolbar button 7-16 rise time 10-16 components 8-13 signal options 10-15 Electrical Rules Checking 5-38 Electronic Parameters 8-52 G ERC markers, clearing 5-43 general component properties 8-15
iv
Electronics Workbench
General tab 8-15 Global Component Tolerance dialog 7-13 global components, using 7-13 Gmin stepping 9-11 Graph properties axis tabs 11-14 general tab 11-8 traces tab 11-15 Grapher 11-4 Grapher window 11-4 Graphic Annotation 3-10, 4-40 Graphic Annotation Toolbar 3-10 Graphics placing A-15 graphs about Grapher window 11-4 cut/copy/paste 11-19 printing 11-20 using in post processor 12-8 viewing 11-7 grid showing 3-28 grounding oscilloscope 10-19
importing components 7-7 files, other formats 14-8 model 8-45 SPICE, PSPICE netlist 14-8 In Use list 4-12 incomplete analyses 11-27 information stored for components 7-11 in-place edit mode 8-27 Insert Object dialog 4-49 instruments adding to a circuit 10-4 ammeter 10-86 Bode plotter 10-22 distortion analyzer 10-38 function generator 10-14 logic analyzer 10-30 logic converter 10-35 measurement options 10-10 multimeter 10-9 multiple 10-5 oscilloscope 10-18 spectrum analyzer 10-39 using 10-5 voltmeter 10-85 H wattmeter 10-16 harmonic distortion word generator 10-27 distortion analyzer 10-39 integration order, maximum 9-10 HB/SC connector interactive simulation 9-3 placing A-13 Interactive Simulation Settings 10-7 Hierarchical Block interdigital model 15-38 creating new 6-7, A-14 interface 3-3 placing A-14 customizing 3-20 Hierarchical Block Properties dialog 6-7 elements 3-3 Hierarchy tab toolbars 3-4 Variants folder 6-41 interface file (code model) 8-105 horizontal Bode plotter settings 10-24 internal settings of multimeter 10-12 internet design sharing 14-9 I Ideal Transformer (mult. winding) model maker 8-IV Analyzer 10-60 Simulate Parameters dialog 10-63 74 implementation file (code model) 8-111
settings 10-42 static connection 10-40 junction, adding 4-26 menu Edit A-5 L File A-1 labeling 4-31 Options A-27 labels Place A-12 assigning to nets 4-32 pop-up 3-13 levels Reports A-27 of database 7-3 Simulate A-16 Linear Transformer (mult. winding) model maker Symbol Editor 8-28 8-75 Tools A-24 Linear Transformer (neutral terminal) model Transfer A-23 maker 8-76 View A-9 loading model 8-45 Window A-28 locating components 7-7 microstrip line model 15-32 locking files 6-46 microstrip open end model 15-33 logic analyzer mode about 10-30 ammeter 10-87 adjusting clock 10-32 voltmeter 10-86 reset 10-32 model stop 10-32 changing component 5-3 triggering 10-34 creating See model creation logic converter 10-35 loading 8-45 constructing a truth table 10-36 model creation deriving truth table from a circuit 10-36 by importing 8-45 entering Boolean expressions 10-37 using code modeling 8-101 lossy line model 15-37 Model Data report 13-11 using 13-12 M model maker magnitude 10-24 AC Motor 8-55 managing families 7-16 BJT 8-55 manual wiring 4-21 Boost Converter 8-68 matching network analyses 15-20 Buck Boost Converter 8-69 MathCAD, exporting simulation results to 14-5 Buck Converter 8-69 maximum integration order 9-10 Cuk Converter 8-70 measurement options diode 8-70 ammeter 10-10 Ideal Transformer (mult. winding) 8-74 ohmmeter 10-10 Linear Transformer (mult. winding) 8-75 Measurement Probe 10-40 Linear Transformer (neutral terminal) 8-76 dynamic connection 10-40, 10-44 Non-linear Transformer (mult. winding) 8-78 placed connection 10-45 silicon controlled rectifier 8-92
vi
Electronics Workbench
Two Winding Linear Transformer 8-77 module RF 15-2 Monte Carlo analysis 11-100 moving component 4-13 multimeter 10-9 internal settings of 10-12 signal mode 10-11 using ammeter measurement option 10-10 using ohmmeter measurement option 10-10 Multimeter Settings dialog 10-13 multiple circuit windows 4-3 multiple instruments 10-5 multiple traces, postprocessor 12-8 Multisim help A-29 interface 3-3 reference A-29
file within project 6-45 project 6-45 Options dialog 4-48 Options menu A-27 options, analysis 11-127 oscilloscope about 10-18 channel settings 10-20 grounding 10-19 time base 10-19 trigger 10-21 output tab, about 11-22
P
package information 8-48 page bounds, showing 3-28 Page Name dialog 6-2 page properties 11-6 pages cut/copy/paste 11-19 using in analyses 11-6 using in postprocessor 12-8 Paragraph dialog 4-45 parameter sweep analysis 11-68 Paste Special dialog 4-15 PCB layout, transfer to 14-4 phase 10-24 pin information 8-48 pin parameters 8-47 pins, adding to symbols 8-24 Place menu A-12 placed components, properties 5-2 Placed Probe 10-40 placing multi-page 6-2 Placing a bux 6-14 placing components 4-3 pole zero analysis 11-93 pop-up from selected wire 3-17 from title block 3-18 pop-up menu 3-13
N
nested sweep analysis 11-119 Netlist report 13-7 using 13-7 Netmeeting 14-9 nets, assigning labels 4-32 network analyzer 15-15 Network License Server 1-14 New Family Name dialog 7-16 New Project dialog 6-44 NLS 1-14 Node dialog 4-32 noise analysis 11-41 Noise Figure Analysis 15-25 Non-linear Transformer (mult. winding) model maker 8-78
O
Off-page connector placing 6-2, A-13 ohmmeter 10-10 opening
vii
from selected component 3-15 no component selected 3-13 postprocessor about 12-2, 12-9 basic steps 12-2, 12-5 creating multiple traces 12-8 functions 12-10 pages, graphs and charts 12-8 screen 12-3 using the default analysis 12-7 variables 12-9 Power Pro using code modeling 8-101 pre-defined fields in database 7-12 preferences General tab 3-25 Preferences dialog 3-20 Sheet Properties dialog 3-26 Preferences Dialog Parts tab 3-24 Paths tab 3-21 Save tab 3-23 print circuit setup A-4 setup A-4 Print Circuit Setup dialog 4-59 Print Instruments dialog 10-6 printing circuit files 4-60 graphs and charts 11-20 printing instruments 10-6 Probe Properties dialog 10-42 project adding files to 6-44 backing up 6-47 creating 6-44 opening 6-45 removing files from 6-45 saving 6-45 Project bar 6-44 project management, about 6-43 Projects
working with 6-45 properties workspace tab 3-28 properties of placed components 5-2
R
readouts 10-26 Recent Circuits A-5 Refine Search Component dialog 7-6 release notes A-30 remote control 14-9 removing components 7-18 Rename Busline dialog box 6-19 Rename Variant dialog box 6-31, 6-32 replacing components with a subcircuit 6-11 reports Bill of Materials 13-2 bill of materials 2-12 component detail 13-5 Reports menu A-27 resistance ammeter 10-86 voltmeter 10-85 RF analyses 15-18 RF characterizer analysis 15-18 RF components about 15-2 interdigital model 15-38 lossy line model 15-37 microstrip line model 15-32 microstrip open end model 15-33 RF model makers 15-31 RF spiral inductor model 15-34 strip line model 15-35 stripline bend model 15-36 waveguide model 15-31 RF instruments network analyzer 15-15 spectrum analyzer 15-9 RF module 15-2 about 15-2 components (see also RF components) 15-2
viii
Electronics Workbench
instruments (see also RF instruments) 15-9 simulation checking circuit consistency 9-5 RF simulation 9-12, 9-13 RF tutorial 15-39 circuit 9-6 rise time 10-16 circuit equation 9-9 rotating components 4-28 Gmin stepping 9-11 Rule Check tab 5-44 interactive 9-3 maximum integration order 9-10 RF 9-12, 9-13 S source stepping 9-11 saving stages of 9-7 project 6-45 starting and stopping 9-4 schematic capture 4-2 Simulation Adviser 9-27 Schematic Statistics report 13-8 simulation errors using 13-9 troubleshooting 10-8 Search Component dialog 7-4 simulation speed 9-4 Search Component Result dialog 7-5 SINAD 10-39 search results 7-6 source stepping 9-11 Select a Component browser 4-16 Spare Gates report 13-10 other buttons 4-8 using 13-10 using 4-4 spectrum analyzer 10-39, 15-9 Select a Footprint dialog 8-49 SPICE simulation Select a Model dialog 8-42 circuit 9-6 Select Model Data dialog 8-46 circuit equation 9-9 Select Model Maker dialog 8-43 Gmin stepping 9-11 Set Parameters dialog 8-42, 8-50 maximum integration order 9-10 settings, oscilloscope channel 10-20 source stepping 9-11 Sheet Properties spiral inductor, RF 15-34 Circuit tab 3-27 Spreadsheet view 5-9 Sheet Properties dialog Components tab 5-13 Font tab 3-30 Nets tab 5-10 PCB tab 3-32 PCB Layers tab 5-17 Visibility tab 3-33 strip line model 15-35 Wiring tab 3-29 stripline bend model 15-36 Workspace tab 3-28 structure of database 7-2 sheet size 3-28 subcircuit show replacing components with 6-11 grid 3-28 Subcircuit Name dialog 6-9 page bounds 3-28 summary tab, about 11-26 title block 3-28 Support and Upgrade Utility 1-21 signal mode 10-11 SUU 1-21 signal options 10-15 SUU settings 1-26 silicon controlled rectifier model maker 8-92 symbol Simulate menu A-16
ix
adding pins 8-24 copying 8-17 editing 8-16 shape 8-23 Symbol Editor Default Pin Options dialog 8-25 Draw Tools toolbar 8-36 Drawing toolbar 8-38 Edit menu 8-29 Enter Text dialog 8-27 File menu 8-28 Graphics menu 8-32 Help menu 8-33 in-place edit mode 8-27 Layout menu 8-33 menus 8-28 palette 8-34 Pin Array Options dialog 8-26 Pins menu 8-31 Place Pin toolbar 8-37 pop-up menus 8-34 screen 8-19 Spreadsheet view 8-20 Spreadsheet view, Draw Layer tab 8-22 Spreadsheet view, Pins tab 8-20 Standard toolbar 8-34 symbol pins 8-23 symbol shape 8-23 Tool menu 8-33 toolbars 8-34 using 8-18 View menu 8-30 working with 8-23 Zoom toolbar 8-35 system toolbar 3-5
T
Tabs dialog 4-46 Tektronix Simulated Oscilloscope 10-82 temperature sweep analysis 11-77 the 1-26 time base 10-19
Title Block adding 4-33 contents, editing 4-34 placing A-15 showing 3-28 Title Block Editor 5-19 Draw Tools toolbar 5-35 Drawing toolbar 5-36 Edit menu 5-27 Enter Text dialog 5-21 Enter Title Block Attribute dialog 5-21 field codes 5-23 Fields menu 5-29 File menu 5-26 Graphics menu 5-30 Help menu 5-32 menus 5-26 pop-up menus 5-32 Spreadsheet View 5-24 Standard toolbar 5-33 Toolbars 5-33 Tools menu 5-31 View menu 5-28 Zoom toolbar 5-34 tolerances 7-13 toolbars 3-4 system 3-5 zoom 3-5 Tools menu A-24 trace width analysis 11-112 transfer function analysis 11-80 Transfer menu A-23 transfer to other PCB Layout 14-4 transfer to Ultiboard PCB Layout 14-3 transfer/communication functions, introduction to 14-2 transferring data 14-2 transferring, from Multisim to Ultiboard 14-3 transferring, multi-section components to PCB layout 14-4 transient analysis 11-35 Trigger Settings dialog 10-34
Electronics Workbench
vertical Bode plotter settings 10-24 trigger, oscilloscope 10-21 triggering VHDL logic analyzer 10-34 introduction to 9-15 word generator 10-29 View menu A-9 troubleshooting simulation 10-8 virtual components 4-3 truth table virtual wiring 4-26 constructing 10-36 voltmeter about 10-85 deriving from circuit 10-36 Two Winding Linear Transformer model maker 8connecting 10-86 77 mode 10-86 resistance 10-85
U
Ultiboard, transfer to 14-3 unlocking files 6-46 updates 1-22 Updating components 7-24, A-25 user field titles, modifying 7-17 user fields 7-13 working with 8-53 user interface about 3-3 customizing 3-20 elements 3-3 toolbars 3-4 user-defined analysis 11-122 using instruments 10-5 using model makers 8-54
W
wattmeter 10-16 waveguide model 15-31 Window menu A-28 wire color 4-25 re-shaping 4-24 width 3-29 wiring "mid-air" 4-23 automatic 4-18 combining automatic and manual 4-23 components 4-17 directly onto workspace 4-23 manual 4-21 properties 4-24 setting options 3-29 virtual 4-26 width 4-24 Wizard 555 Timer 9-18 Commom Emitter BJT 9-23 Create Component 8-4 Filter 9-22 word generator 10-27 controls 10-28 enabling data 10-30 entering words 10-28 setting clock frequency 10-29 triggering 10-29
V
value, changing component 5-3 variables, postprocessor 12-9 Variant Manager dialog 6-30 Variant tab 6-35 variants 6-30 Variant Manager dialog 6-30 Variants Filter dialog box 13-13 Variants folder 6-41 version control about 6-43 using 6-47 Version Control dialog 6-47
xi
X
XSPICE model 8-45 Xspice command line 9-6
Z
zoom level, default 3-28 zoom out A-9 zoom toolbar 3-5 zoom, setting 3-28
xii
Electronics Workbench
If you searched ni.com and could not find the answers you need, contact your local office or NI corporate headquarters. Phone numbers for our worldwide offices are listed at the front of this manual. 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 phone numbers, email addresses, and current events.