Multisim 10 Component Reference Guide
Multisim 10 Component Reference Guide
Multisim™
January 2007
374485A-01
ComponentRef.book Page 2 Thursday, December 7, 2006 10:12 AM
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 41190000, 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 495 783 68 51, Singapore 1800 226 5886, Slovenia 386 3 425 42 00,
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 278 6777, United Kingdom 44 0 1635 523545
For further support information, refer to Appendix A, “Technical Support and Professional Services”. To comment
on National Instruments documentation, refer to the National Instruments Web site at ni.com/info and enter the
info code feedback.
© 2007 National Instruments Corporation. All rights reserved.
ComponentRef.book Page 3 Thursday, December 7, 2006 10:12 AM
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. CUSTOMER’S 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 owner’s failure to follow the National Instruments installation,
operation, or maintenance instructions; owner’s modification of the product; owner’s 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.
National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and other intellectual
property laws. Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software only to reproduce materials that
you may reproduce in accordance with the terms of any applicable license or other legal restriction.
BSIM3 and BSIM4 are developed by the Device Research Group of the Department of Electrical Engineering and Computer Science, University of California,
Berkeley and copyrighted by the University of California.
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. Ultiboard is a registered trademark and Multisim and Electronics Workbench are trademarks of Electronics
Workbench. 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 ni.com/patents.
Some portions of this product are protected under United States Patent No. 6,560,572.
Documentation Conventions
When Multisim guides refer to a toolbar button, an image of the button appears in the left column.
Multisim guides use the convention Menu/Item to indicate menu commands. For example, “File/Open”
means choose the Open command from the File menu.
Multisim guides use the convention of an arrow () to indicate the start of procedural information.
Multisim guides 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.
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 compiled HTML 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.
ComponentRef.book Page i Thursday, December 7, 2006 10:12 AM
Table of Contents
1. Source Components
1.1 Ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.2 Digital Ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.3 DC Voltage Source (Battery) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.4 Digital Power Supplies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
1.5 DC Current Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
1.6 AC Voltage Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
1.7 AC Current Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
1.8 Clock Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
1.9 Amplitude Modulation (AM) Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
1.9.1 Characteristic Equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
1.10 FM Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
1.10.1 FM Voltage Source. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
1.10.2 Characteristic Equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
1.10.3 FM Current Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
1.10.4 Characteristic Equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
1.11 FSK Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
1.12 Voltage-Controlled Voltage Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
1.13 Current-Controlled Voltage Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
1.14 Voltage-Controlled Current Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
1.15 Current-Controlled Current Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
1.16 Voltage-Controlled Sine Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10
1.17 Voltage-Controlled Square Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11
1.18 Voltage-Controlled Triangle Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13
1.19 Voltage-Controlled Piecewise Linear Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14
2. Basic Components
2.1 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
2.2 Rated Virtual Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
2.2.1 Rated 555 Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.2.2 Rated BJTs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.2.3 Rated Capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.2.4 Rated Diodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.2.5 Rated Fuses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.2.6 Rated Inductors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2.2.7 Rated LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2.2.8 Rated DC Motor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
2.2.9 Rated Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
2.2.10 Rated Opamp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2.2.11 Rated Photodiode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
2.2.12 Rated Phototransistor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
2.2.13 Rated Potentiometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
2.2.14 Rated Pullup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2.2.15 Rated Resistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2.2.16 Rated Transformers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
2.2.17 Rated Variable Capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
2.2.18 Rated Variable Inductor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
2.2.19 Rated Virtual Components Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2.3 Sockets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2.4 Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2.4.1 Switch Packs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
2.5 SBREAK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
3. Diodes
3.1 Diode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
3.1.1 Diodes: Background Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
3.1.2 DC Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3.1.3 Time-Domain Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
3.1.4 AC Small-Signal Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
3.1.5 Diode Parameters and Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
3.2 Pin Diode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
3.3 Zener Diode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
3.3.1 DC Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
3.3.2 Zener Diode Parameters and Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
3.4 LED (Light-Emitting Diode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
3.4.1 Background Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
3.4.2 LED Parameters and Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
3.5 Bar LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
3.6 Full-Wave Bridge Rectifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
3.6.1 Characteristic Equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
3.6.2 Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
3.6.3 Full-Wave Bridge Rectifier Parameters and Defaults . . . . . . . . . . . . . . . . . 3-11
3.7 Schottky Diode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
4. Transistors
4.1 BJT (NPN & PNP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.1.1 Characteristic Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4.1.2 Time-Domain Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
4.1.3 AC Small-Signal Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
4.1.4 BJT Model Parameters and Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
4.2 Resistor Biased BJT (NPN & PNP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
4.3 Darlington Transistor (NPN & PNP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
4.3.1 DC Bias Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
4.3.2 AC Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
4.3.2.1 AC Input Impedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
4.3.2.2 AC Current Gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
4.4 BJT Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
4.4.1 General-purpose PNP Transistor Array . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
4.4.2 NPN/PNP Transistor Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
4.4.3 General-purpose High-current NPN Transistor Array . . . . . . . . . . . . . . . . . 4-11
4.5 P-Channel MOSFET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
4.6 N-Channel MOSFET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
4.7 MOSFET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
4.7.1 Depletion MOSFETs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
4.7.2 Enhancement MOSFETs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
4.7.3 DC Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
4.7.4 Time-Domain Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
5. Analog Components
5.1 Opamp ............................................................ 5-1
5.1.1 Ideal Opamp Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
5.1.2 Opamp: Background Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
5.1.3 Opamp: Simulation Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
5.1.3.1 Virtual 3-Terminal Opamp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
5.1.3.2 Virtual 5-Terminal Opamp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
5.1.3.3 Real Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
5.2 Norton Opamp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
5.3 Comparator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9
5.3.1 Comparator: Simulation models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
5.4 Wide Band Amplifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
5.4.1 Wide Band Amplifier: Simulation models . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
5.5 Special Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
5.5.1 Special Function: Simulation models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
6. TTL
6.1 Standard TTL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.2 Schottky TTL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.3 Low-Power Schottky TTL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
6.4 74xx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
6.4.1 74xx00 (Quad 2-In NAND) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
6.4.2 74xx01 (Quad 2-In NAND) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
6.4.3 74xx02 (Quad 2-In NOR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
6.4.4 74xx03 (Quad 2-In NAND (Ls-OC)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
6.4.5 74xx04 (Hex INVERTER) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
6.4.6 74xx05 (Hex INVERTER (OC)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
6.4.7 74xx06 (Hex INVERTER (OC)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5
6.4.8 74xx07 (Hex BUFFER (OC)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5
6.4.9 74xx08 (Quad 2-In AND) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5
6.4.10 74xx09 (Quad 2-In AND (OC)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6
6.4.11 74xx10 (Tri 3-In NAND) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6
6.4.12 74xx100 (8-Bit Bist Latch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7
6.4.13 74xx107 (Dual JK FF(clr)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7
6.4.14 74xx109 (Dual JK FF (+edge, pre, clr)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
6.4.15 74xx11 (Tri 3-In AND) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
6.4.16 74xx112 (Dual JK FF(-edge, pre, clr)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9
6.4.17 74xx113 (Dual JK MS-SLV FF (-edge, pre)) . . . . . . . . . . . . . . . . . . . . . . . . 6-9
6.4.18 74xx114 (Dual JK FF (-edge, pre, com clk & clr)) . . . . . . . . . . . . . . . . . . . 6-10
6.4.19 74xx116 (Dual 4-bit latches (clr)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10
6.4.20 74xx12 (Tri 3-In NAND (OC)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-11
6.4.21 74xx125 (Quad bus BUFFER w/3-state Out) . . . . . . . . . . . . . . . . . . . . . . . 6-11
6.4.22 74xx126 (Quad bus BUFFER w/3-state Out) . . . . . . . . . . . . . . . . . . . . . . . 6-12
6.4.23 74xx13 (Dual 4-In NAND (Schmitt)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-12
6.4.24 74xx132 (Quad 2-In NAND (Schmitt)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-12
6.4.25 74xx133 (13-In NAND) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-12
6.4.26 74xx134 (12-In NAND w/3-state Out) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-13
6.4.27 74xx135 (Quad Ex-OR/NOR Gate) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-13
6.4.28 74xx136 (Quad 2-in Exc-OR gate) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14
6.4.29 74xx138 (3-to-8 Dec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14
6.4.30 74xx139 (Dual 2-to-4 Dec/DEMUX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-15
6.4.31 74xx14 (Hex INVERTER (Schmitt)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-15
6.4.32 74xx145 (BCD-to-Decimal Dec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-15
6.4.33 74xx147 (10-to-4 Priority Enc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-16
6.4.34 74xx148 (8-to-3 Priority Enc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-17
7. CMOS
7.1 CMOS Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
7.1.1 Power-Supply Voltage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
7.1.2 Logic Voltage Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
7.1.3 Noise Margins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
7.1.4 Power Dissipation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
7.2 4000 Series ICs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
7.2.1 4000 (Dual 3-In NOR and INVERTER) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
7.2.2 4001 (Quad 2-In NOR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
7.2.3 4002 (Dual 4-In NOR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
7.2.4 4007 (Dual Com Pair/Inv) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
7.2.5 4008 (4-bit Binary Full Adder) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4
7.2.6 4010 (Hex BUFFER) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4
7.2.7 40106 (Hex INVERTER (Schmitt)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
7.2.8 4011 (Quad 2-In NAND) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
7.2.9 4012 (Dual 4-In NAND) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
7.2.10 4013 (Dual D-type FF (+edge)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
7.2.11 4014 (8-bit Static Shift Reg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
7.2.12 4015 (Dual 4-bit Static Shift Reg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7
7.2.13 40160 (4-bit Dec Counter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8
7.2.14 40161 (4-bit Bin Counter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9
7.2.15 40162 (4-bit Dec Counter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9
7.2.16 40163 (4-bit Bin Counter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9
7.2.17 4017 (5-stage Johnson Counter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9
7.2.18 40174 (Hex D-type Flip-flop) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10
7.2.19 40175 (Quad D-type Flip-flop) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-11
7.2.20 4018 (5-stage Johnson Counter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-12
7.2.21 4019 (Quad 2-In MUX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-12
7.2.22 40192 (4-bit Dec Counter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-13
7.2.23 40193 (4-bit Bin Counter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-13
7.2.24 40194 (4-bit Shift Register) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14
7.2.25 40195 (4-bit Shift Register) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14
7.2.26 4020 (14-stage Bin Counter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14
7.2.27 4021 (8-bit Static Shift Register) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14
8. Advanced Peripherals
8.1 Keypads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
8.1.1 4X4 Numeric Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
8.1.2 4x5 Numeric Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
8.1.3 DTMF Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
8.2 LCDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3
8.2.1 LCD Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3
8.2.2 Four Digit LCD Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5
8.2.3 Graphic LCD Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5
8.3 Virtual Terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8
11. Indicators
11.1 Voltmeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1
11.2 Ammeter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-2
11.3 Digital Probe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-2
11.4 Lamp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-3
11.4.1 Time-Domain and AC Frequency Models . . . . . . . . . . . . . . . . . . . . . . . . . 11-3
11.5 Hex Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
11.5.1 Seven-Segment Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4
11.5.2 Decoded Seven-Segment Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-5
11.5.3 Alpha-Numeric Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-6
11.5.4 DCD Hex Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-6
11.5.5 Plus or Minus 1 LED Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-6
11.5.6 Two Digit 7-Segment Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-7
11.5.7 Duplexed Seven-Segment Display. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-7
11.6 Bargraphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-7
11.6.1 Decoded Bargraph Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-8
11.7 Buzzer/Sonalert Buzzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-9
12. Power
12.1 SMPS Transient Virtual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-1
12.1.1 PWMCM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-1
12.1.2 PWMVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-3
12.1.3 PUSH_VM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-4
12.1.4 PUSH_CM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-6
12.1.5 HALF_VM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-7
12.1.6 HALF_CM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-9
12.1.7 FULL_CM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-10
12.1.8 FULL_VM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-12
12.1.9 2SWITCHCM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-13
12.2 SMPS Average Virtual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-15
12.2.1 BUCKCM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-15
12.2.2 BUCKCCM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-16
12.2.3 BOOSTCCM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-17
12.2.4 BOOSTCM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-18
12.2.5 BOOSTDCM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-19
12.2.6 BOOSTVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-20
14. RF Components
14.1 RF Capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-1
14.2 RF Inductor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-2
14.3 RF Bipolar Transistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-2
14.4 RF MOS_3TDN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-3
14.5 Tunnel Diode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-3
14.6 Strip Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-4
14.7 Ferrite Beads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-4
Appendix A
A.1 Technical Support and Professional Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-1
Chapter 1
Source Components
1.1 Ground
Source Components
The digital ground is used to ground digital components which do not have an explicit ground
pin. The digital ground must be placed on the schematic but does not need to be connected
directly to any component.
Tip If you are unsure of the ground required for a digital component that has its ground pin
hidden, double-click on the component and click on the Pins tab. Locate GND in the
Name column and move across to the Net column. In most cases, the name of the net will
be GND.
The default Reference Designator (RefDes) for the digital ground is GND. When you connect
a wire to a digital ground, the wire’s net name will be the same as the digital ground’s RefDes.
Multiple instances of a digital ground may be placed on a schematic but there will only be one
matching net in the schematic.
If you rename a digital ground by changing its RefDes, and there are other instances of the
digital ground with the same RefDes on the schematic, you will be prompted to confirm that
you want to change all instances of the RefDes. If you select No, only the RefDes for the
selected digital ground will change. Remember that if a digital ground’s RefDes is changed,
the net name of any wires attached to it will change to match the new RefDes. For a more
detailed discussion, see “Global Nets” in the Multisim User Guide, or the Multisim helpfile.
To change the RefDes of a digital ground:
1. Double-click on the component to display its properties dialog box, and click on the Label
tab.
2. Change the entry in the RefDes field and click OK to close the dialog box.
A single cell has a voltage of approximately 1.5 volts, depending on its construction. It
consists of a container of acid in which an electrode is placed. Chemical action causes
electrons to flow between the electrode and the container, and this creates a potential
difference between the electrode and the material of the container.
Batteries can be rechargeable and can be built to deliver extremely high currents for long
periods. The automobile ignition battery is an application of a battery as a “current source”;
the voltage may vary considerably under use, with no visible battery deterioration.
Batteries may be used as voltage references, their voltage remaining stable and predictable to
many figures of accuracy for many years. The standard cell is such an application. A standard
cell is a voltage source, and it is important that current is not drawn from the standard cell.
Battery Component
Multisim includes both an ideal battery (DC_POWER), with no internal resistance and a non-
ideal battery, that allows you to changes its internal resistance and capacity (in ampere hours).
The Power Source component family includes the digital power supplies VCC, VDD, VEE,
and VSS. These are used to connect power to digital components which do not have an
explicit power pin on their symbol. They can also be wired directly into a circuit as desired.
Tip If you are unsure of the power supply required for a digital component that has its power
pin hidden, double-click on the component and click on the Pins tab. Locate the power
supply in the Name column. Some components, will have more than one power supply
(for example, a CMOS 4522BD has both VDD and VSS).
When you connect a wire to a digital power supply (for example, VCC), the wire’s net name
will be the same as the digital supply’s RefDes (so in the case of VCC, the net name will be
VCC). Multiple instances of a digital power supply may be placed on a schematic but there
will only be one matching net in the schematic. Also, when you change a digital power
supply’s voltage, the voltage for all instances of that power supply on the schematic will
change to reflect the new setting.
Source Components
If you rename a digital power supply by changing its RefDes, and there are other instances of
the same supply on the schematic, you will be prompted to confirm that you want to change
all instances of the RefDes. If you select No, only the RefDes for the selected component will
change. Remember that if a digital power supply’s RefDes is changed, the net name of any
wires attached to it will change to match the new RefDes. For a more detailed discussion, see
“Global Nets” in the Multisim User Guide, or the Multisim helpfile.
To change the properties of a digital power supply:
1. Double-click on the component to display its properties dialog box, and click on the Value
tab. Change the value in the Voltage (V) field as desired.
2. To change the reference designator for the component, click on the Label tab and change
the entry in the RefDes field.
3. Click OK to close the dialog box.
The current generated by this source can be adjusted from microamps to kiloamps.
The root-mean-square (RMS) voltage of this source can be adjusted from µV to kilovolts. You
can also control its frequency and phase angle.
V peak
VRMS =
2
AC Current Source
The RMS current of this source can be adjusted from microamps to kiloamps. You can also
control its frequency and phase angle.
I peak
IR MS =
2
This component is a square wave generator. You can adjust its voltage amplitude, duty cycle
and frequency.
Source Components
1.10 FM Source
The FM source (single-frequency frequency modulation source) generates a frequency-
modulated wave. It can be used to build and analyze communications circuits.The signal
output can be either a current source or a voltage source.
FSK Source
This component is the same as the FM voltage source, except that the output is measured in
current.
This source is used for keying a transmitter for telegraph or teletype communications by
shifting the carrier frequency over a range of a few hundred hertz. The frequency shift key
(FSK) modulated source generates the mark transmission frequency, f1, when a binary 1 is
sensed at the input, and the space transmission frequency, f2, when a 0 is sensed.
FSK is used in digital communications systems such as in low speed modems (for example, a
Bell 202 type modem - 1200 baud or less).
In this system, a digital high level is referred to as a MARK and is reproduced as a frequency
of 1200 Hz. A digital low level is referred to as a SPACE and is represented by a frequency of
2200 Hz.
In the example shown below, the frequency shift keying signal is a 5v (TTL) square wave.
Source Components
When the keying input is 5V, a MARK frequency of 1200 Hz is output. When keying voltage
is 0V, a SPACE frequency of 2200 Hz is output.
This component is a square wave generator. You can adjust its voltage amplitude, duty cycle
and frequency.
The output voltage of this source depends on the voltage applied to its input terminal. The
ratio of the output voltage to the input voltage determines its voltage gain (E). Voltage gain
can have any value from mV/V to kV/V.
V OUT
E=
V IN
The output voltage of this source depends on the current through the input terminals. The two
are related by a parameter called transresistance (H), which is the ratio of the output voltage to
the input current. It can have any value from mW to kW.
V OUT
H =
I IN
The output current of this source depends on the voltage applied at the input terminals. The
two are related by a parameter called transconductance (G), which is the ratio of the output
current to the input voltage. It is measured in mhos (also known as seimens) and can have any
value from mmhos to kmhos.
I OUT
G=
V IN
The magnitude of the current output of a current-controlled current source depends on the
current through the input terminals. The two are related by a parameter called current gain (F),
Source Components
which is the ratio of the output current to the input current. The current gain can have any
value from mA/A to kA/A.
I OUT
F=
I IN
This oscillator takes an input AC or DC voltage, which it uses as the independent variable in
the piecewise linear curve described by the (control, frequency) pairs. From the curve, a
frequency value is determined, and the oscillator outputs a sine wave at that frequency. When
only two co-ordinate pairs are used, the oscillator outputs a linear variation of the frequency
with respect to the control input. When the number of co-ordinate pairs is greater than two,
the output is piecewise linear. You can change the peak and valley values of the output sine
wave by resetting the Output peak high value and Output peak low value on the model
parameter dialog box.
Example
The example shows a sine wave generator with output frequency determined by a control
voltage.
Control voltage may be DC, controlled by a potentiometer, as is the case for many signal
generators and function generators, or may be the output from a PLL that determines a precise
frequency.
Control voltage may be a continuous variable of any desired shape as required in sweep
generators and spectrum analysers.
In the example shown below, the VCO parameters are set so that control voltage of 0V
produces an output frequency of 100Hz and a control voltage of 12V produces an output
frequency of 20KHz.
A square wave control voltage produces a form of FSK (frequency shift keying), a sine wave
control voltage produces a form of FM (frequency modulation).
This oscillator is identical to the voltage-controlled sine wave oscillator except that it outputs
a square wave. This oscillator takes an input AC or DC voltage, which it uses as the
independent variable in the piecewise linear curve described by the (control, frequency) pairs.
From the curve, a frequency value is determined, and the oscillator outputs a square wave at
that frequency. When two co-ordinate pairs are used, the oscillator outputs a linear variation
of the frequency with respect to the control input. When the number of co-ordinate pairs is
greater than two, the output is piecewise linear. You can change duty cycle, rise and fall times,
and the peak and valley values of the output square wave by resetting the Output peak high
value and Output peak low value on the model parameter dialog box.
Source Components
Example
The example shows a square wave generator with output frequency determined by a control
voltage.
Control voltage may be DC, controlled by a potentiometer, as is the case for many signal
generators and function generators.
Control voltage may be a continuous variable of any desired shape as required in sweep
generators and spectrum analysers.
In the example shown below, the VCO parameters are set so that control voltage of 0V
produces an output frequency of 100Hz and control voltage of 12V produces an output
frequency of 20KHz.
A square wave control voltage produces a form of FSK (frequency shift keying), a sine wave
control voltage produces a form of FM (frequency modulation).
This oscillator is identical to the voltage-controlled sine wave oscillator except that it outputs
a triangle wave. This oscillator takes an input AC or DC voltage, which it uses as the
independent variable in the piecewise linear curve described by the (control, frequency) pairs.
From the curve, a frequency value is determined, and the oscillator outputs a triangle wave at
that frequency. When two co-ordinate pairs are used, the oscillator outputs a linear variation
of the frequency with respect to the control input. When the number of co-ordinate pairs is
greater than two, the output is piecewise linear. You can change the rise time duty cycle and
the peak and valley values of the output triangle wave by resetting the Output peak high value
and Output peak low value on the model parameter dialog box.
Example
The example shows a triangle wave generator with output frequency determined by a control
voltage.
Control voltage may be DC, controlled by a potentiometer, as is the case for many signal
generators and function generators.
Control voltage may be a continuous variable of any desired shape as required in sweep
generators and spectrum analysers.
In the example shown below, the VCO parameters are set so that control voltage of 0V
produces an output frequency of 100Hz and control voltage of 12V produces an output
frequency of 20KHz.
Source Components
A square wave control voltage produces a form of FSK (frequency shift keying), a sine wave
control voltage produces a form of FM (frequency modulation).
This source (voltage-controlled piecewise linear source) allows you to control the shape of the
output waveform by entering up to five (input, output) pairs, which are shown in the Value tab
of the component’s properties dialog box as (X,Y) co-ordinates.
The X values are input co-ordinate points and the associated Y values represent the outputs of
those points. If you use only two pairs, the output voltage is linear.
Outside the bounds of the input co-ordinates, the source extends the slope found between the
lowest two co-ordinate pairs and the highest two co-ordinate pairs. A potential effect of this
behavior is that it can unrealistically cause the output to reach a very large or very small value,
especially for large input values. Therefore, keep in mind that this source does not inherently
provide a limiting capability.
In order to reduce the potential for non-convergence of simulations, the source provides for
smoothing around the co-ordinate pairs. If Input smoothing domain (ISD) is set to, say, 10%,
the simulator assumes a smoothing radius about each co-ordinate point equal to 10% of the
length of the smaller of the segments above and below each co-ordinate point.
Source Components
0 0
2.88e-06 0.0181273
5.76e-06 0.0363142
1e-05 0.063185
1.848e-05 0.117198
Source Components
file. If you choose this option, the circuit will depend on the text file. When this button is
selected the following become active:
• Filename — click on the button to the right of this field and navigate to the data file.
The data file must have a .txt extension to be used.
Note If you do not specify a filename, the output of the PWL current source behaves like an
open circuit. An error message does not display in this case.
• Edit file — click to open the data file for editing.
• The Enter data points in table radio button, used if you wish to manually enter the data
pairs, without referencing an external file. If you choose this option, the following become
active:
• Time and Current columns — where you enter the desired time and current data points.
• Initialize from file — click to view the data pairs from a specific file. If you choose this
option, the circuit will not depend on the text file. The data points will be loaded and
saved into the circuit file.
• Repeat data during simulation — enable to continuously run the file during simulation. If
this checkbox is not enabled, output from the source will cease once the final data pair has
been read.
Polynomial Source
This component is the same as the Pulse Voltage Source, except that the output is measured in
current.
Source Components
where:
A = constant
B = coefficient of V1
C = coefficient of V2
D = coefficient of V3
E = coefficient of V1²
F = coefficient of V1*V2
G = coefficient of V1*V3
H = coefficient of V2²
I = coefficient of V2*V3
J = coefficient of V3²
K = coefficient of V1*V2*V3
This component is the same as the Exponential Voltage Source, except that the output is
measured in current.
This oscillator takes an AC or DC input voltage, which it uses as the independent variable in
the piecewise linear curve described by the (control, pulse width) pairs. From the curve, a
pulse width value is determined, and the oscillator outputs a pulse of that width. You can
Source Components
change clock trigger value, output delay from trigger, output delay from pulse width, output
rise and fall times, and output high and low values.
When only two co-ordinate pairs are used, the oscillator outputs a linear variation of the pulse
with respect to the control input. When the number of co-ordinate pairs is greater than two,
the output is piecewise linear.
Multiplier
The Magnetic Channel field on the Hall Effect Sensor must have a matching integer value for
that sensor to be influenced by the generator. No two magnetic flux generators or sources
should have the same integer value in the Magnetic Channel field. You can have as many Hall
Effect Sensors as you wish to react to any given source/generator and as many different
sources/generators as desired as long as each source/generator has a different integer value.
1.28 Multiplier
Source Components
Characteristic Equation
The output voltage is given by:
( ( ) (
Vout = K X K Vx + X off ∗ Yk Vy + Yoff ) ) + off
where:
Vx = input voltage at x
Vy = input voltage at y
Other symbols used in these equations are defined in “Multiplier Parameters and Defaults”.
Divider
1.29 Divider
This component divides one voltage (the y input, or numerator) by another (the x input, or
denominator).
Vo = Vy/Vx
You can limit the value of the denominator input to a value above zero by using the parameter
XLowLim. This limit is approached through a quadratic smoothing function, the domain of
which you can specify as an absolute value in XDS.
In the example shown below, the 120v RMS (339.38v peak to peak) sine wave at the Y input
is divided by a 16.96V DC voltage at the X input. The result is 339.38v (peak to peak) /
16.97V = 20v peak to peak.
If Vx is replaced with a 12v RMS voltage, in phase with Vy, the output will be 10V DC.
Source Components
CAUTION If the X (denominator) voltage crosses 0v when any voltage is present at the Y
(numerator) terminal, the quotient will go to infinity and a large positive or negative “spike”
will be observed on the scope.
Characteristic Equation
( )
Vy + Yoff ∗ Yk
Vout = ∗ k + off
V
x(+ X off ∗ X )
k
where:
Vx = input voltage at x
Vy = input voltage at y
Other symbols used in these equations are defined in the table below.
This component models the transfer characteristic of a device, circuit or system in the s
domain. The transfer function block is specified as a fraction with polynomial numerators and
denominators. A transfer function up to the third order can be directly modeled. This
component may be used in DC, AC and transient analyses.
Characteristic Equation
This transfer function model is defined in a form of the rational function:
Y ( s) A s 3 + A2 s 2 + A1 s + A0
T ( s) = = K∗ 3 3
X ( s) B3 s + B2 s 2 + B1 s + B0
Source Components
In the example shown below, the transfer function for a simple first order low pass filter is
used. Only the numerator and denominator constants A0 and B0 are required in this case.
These are equal to two pi times the cutoff frequency (first pole).
The cursor on the Bode Plotter may be used to confirm first order performance with -3dB at
10kHz. and rolloff of 6dB per octave above 20kHz.
K Gain 1 V/V
A0 Numerator constant 1 -
B0 Denominator constant 1 -
This component multiplies the input voltage by the gain and delivers it to the output. This
represents a voltage amplifier function with the gain factor, K, selectable with the Value tab of
the component’s properties screen. The voltage gain block is used in control systems and
analog computing applications.
In the example shown below, the input is a 0.707v RMS (2v peak to peak) sine wave and the
gain factor K is set at 5. The output then is K times the input.
(.707*5= 3.535v RMS or 10 v peak to peak)
Caution Using the default model, as in this example, sine wave inputs
may be any value.
Source Components
Suitable settings of model parameters will allow for virtually unlimited flexibility for
practical applications.
Characteristic Equation
K Gain 1 V/V
Voltage Differentiator
This component calculates the derivative of the input voltage (the transfer function, s) and
delivers it to the output. It is used in control systems and analog computing applications.
Differentiation may be described as a “rate of change” function and defines the slope of a
curve.
Rate of change = dV/dT
Characteristic Equation
dVi
Vout (t ) = K + VOoff
dt
Voltage Differentiator Parameters and Defaults
K Gain 1 V/V
Source Components
1.32.1 Investigations
Sine wave
The slope of a sine wave changes continuously and smoothly. Therefore, the differentiator
output should follow the sine shape.
In the example circuit shown below, if you change frequency from 10Hz. to 100Hz., the rate
of change of the waveform will increase by a factor of 10. The differentiator output will also
increase by the same factor. When investigating, note also a 90 degree phase shift from input
to output.
Triangle waveforms
In an ideal triangle waveform the rising and falling slopes are constant with an abrupt change
taking place at the peaks.
Since the rate of change (slope) during rise and fall are constant, the differential result is also
constant.
The reversal of slope at the peaks (from rise to fall/fall to rise) produces a large instantaneous
change in the differentiator output, resulting in a square wave output.
In the example circuit, as for the sine wave, if you change frequency from 10Hz. to 100Hz.,
the rate of change of the waveform will increase by a factor of 10. The differentiator output
will also increase by the same factor.
Square waves
In an ideal square wave, the change takes place only at the rising and falling edges. The
change is instantaneous. This instantaneous rate of change
(dV/dT = dV/0)
will produce an infinitely large output from a differentiator.
Since ideal square or pulse waveforms, as produced by the function generator in Multisim,
have zero rise and fall times, the result of differentiation is infinite (dV/0 = infinity).
In the example circuit, outputs from the differentiator are limited to +/-5 kilo volts. With the
ideal square wave input, the differentiator output will be seen to be +/-5kV.
All real square wave and pulse signals have finite rise times, however small.
To introduce finite rise and fall times into the input to the differentiator, in order to investigate
realistic situations, use an RC network placed in series with the function generator.
Note Since the rise and fall times are fixed, the differentiator output does not change with
change of input frequency as for the sine and triangle waveforms.
Voltage Integrator
Changing the RC time constant and comparing differentiator output will illustrate this point.
This component calculates the integral of the input voltage (the transfer function, 1/s) and
delivers it to the output. It is used in control systems and analog computing applications.
The true integrator function continuously adds the area under a curve for a specified time
interval.
For waveforms that are symmetrical about the zero axis, area above and below the axis is zero
and the resulting integrator output is zero.
For waveforms that are not symmetrical about the zero axis, the “areas” will be different. If
area above the axis is greater, integrator output will rise. If area is less, integrator output will
fall.
Source Components
Characteristic Equation
( )
t
Vout (t ) = K ∫ Vi (t ) + VIoff dt + VOic
0
K Gain 1 V/V
1.33.1 Investigations
1. In the initial circuit, the input signal is symmetrical (+/- 5V) about the zero axis and the
integrator output is zero for sine, square and triangle waveforms.
2. To make the waveforms unsymmetrical about the zero axis use the OFFSET control on the
function generator. Setting the OFFSET equal to the AMPLITUDE setting will reference
the input to ground (0V).
In this case, the output is always positive. When output is high, “area” is continually added.
Output will rise indefinitely.
Changing frequency changes the area. Therefore, in the case of lower frequencies, output rises
faster.
This component is a simple buffer stage that provides hysteresis of the output with respect to
the input. ViL and ViH specify the center voltage or current inputs about which the hysteresis
effect operates. The output values are limited to VoL and VoH. The hysteresis value, H, is
added to ViL and ViH in order to specify the points at which the slope of the hysteresis
function would normally change abruptly as the input transitions from low to high values. The
slope of the hysteresis function is smoothly varied whenever ISD is set greater than zero.
This component can be used to simulate a non-inverting comparator in which the comparison
threshold is changed each time the input crosses the threshold in effect at that instant. As the
output changes state (high to low or low to high), the threshold voltage is changed internally
in such a manner that the input must continue to change until it reaches the new threshold.
In the example circuit shown below, the hysteresis value is set to 5V. This means that the two
comparison thresholds at which the output changes are +5V and -5V.
Source Components
As shown, the input triangle waveform rises from 0V and the output is at its lowest value (0V
in this case), as the input crosses +5V (the upper threshold in comparator terms) the output
changes to its highest value(+2V in this case). Internally in the hysteresis block the threshold
is now changed to -5V, (the lower threshold).
The output continues to rise to a peak and then starts to decrease.
Note The output changes only when the input crosses -5V. Internally, the threshold is
changed again to the upper threshold and the process repeats.
H Hysteresis 0.1 -
Voltage Limiter
This is a voltage “clipper”. The output voltage excursions are limited, or clipped, at
predetermined upper and lower voltage levels while input-signal amplitude varies widely.
In the example shown below, the upper voltage limit is set to +5V and the lower limit is set to
- 5 volts. These settings provide symmetrical clipping on the positive and negative peak
excursions of the input waveform when these peaks exceed the set limit (clipping) values.
The 10 v RMS (14.14v peak) input is limited at +/-5V.
Note If the input peak voltages are within the set limiting voltages, the input signal is passed
through the limiter circuit undistorted.
Unsymmetrical clipping is selected by setting the limit voltages to different values (i.e. +5V
and -2V). This technique may be used to produce non-standard waveshapes, starting with
sine, triangle sawtooth and other symmetrical waveforms.
Source Components
Characteristic Equation
K Gain 1 V/V
This component models the behavior of an operational amplifier or comparator at a high level
of abstraction. All of its pins act as inputs; three of them also act as outputs. The component
takes as input a voltage value from the “in” connector. It then applies the offset and gain, and
derives from it an equivalent internal voltage, Veq, which it limits to fall between the positive
and negative power supply inputs. If Veq is greater than the output voltage seen on the “out”
connector, a sourcing current will flow from the output pin. Otherwise, if Veq is less than the
output voltage, a sinking current will flow into the output pin.
Depending on the polarity of the current flow, either a sourcing or a sinking resistance (Rsrc
or Rsnk) value is applied to govern the output voltage/output current relationship. The chosen
resistance will continue to control the output current until it reaches a maximum value
specified by either ISrcL or ISnkL. The latter mimics the current limiting behavior of many
operational amplifier output stages.
During operation, the output current is reflected either in the positive or the negative power
supply inputs, depending on the polarity of the output current. Thus, realistic power
consumption as seen in the supply rails is modeled.
ULSR controls the voltage below positive input power and above negative input power
beyond which Veq = k (input voltage + Off) is smoothed. ISrcSR specifies the current below
ISrcL at which smoothing begins, and specifies the current increment above zero input current
at which positive power begins to transition to zero. ISnkSR serves the same purpose with
respect to ISnkL and negative power. VDSR specifies the incremental value above and below
(Veq - output voltage) = 0 at which output resistance will be set to Rsrc and Rsnk, respectively.
For values of (Veq - output voltage) less than VDSR and greater than -VDSR, output
resistance is interpolated smoothly between Rsrc and Rsnk.
The current limiter block is also a representation of an operational amplifier with respect to
the sourcing and sinking of current at the output and supply terminals.
If the current being sinked/sourced to the load is less than the rated maximum, as determined
from rated maximum sink/source specifications for a particular opamp, operation of the
opamp circuit will be as expected.
If the current to be sinked/sourced is greater than the rated maximum, as determined by a
larger than normal input to the opamp circuit, the current limiter will limit current to the
specified safe maximum value, thus protecting the opamp and associated circuitry from
damage.
In the example circuit shown below, the sink and source current limits are set to 2 mA and the
circuit gain (K) is set to 1. For this case, output current should then be Iload = Vin*K/Rload.
The switch, activated by pressing S, applies either a positive or negative input to the 'op-amp'
circuit. These input levels are such that the output current would be in excess of the rated
value of 2.0mA. The current limit function limits the source or sink output to 2.0 mA.
If the input levels are reduced to 2V or less, then the output current will be as expected at Vin/
Rload.
Source Components
A sine wave input of 1.4v RMS or less will be passed undistorted through the “amplifier”
while inputs greater than 1.4 v RMS will show limiting (clipping) at the peaks.
k Gain 1 V/V
Voltage-Controlled Limiter
A voltage “clipper”. This component is a single input, single output function. The output is
restricted to the range specified by the output lower and upper limits. Output smoothing
occurs within the specified range. The voltage-controlled limiter will operate in DC, AC and
transient analysis modes.
The component tests the values of the upper and lower limit control inputs to make sure that
they are spaced far enough apart to guarantee the existence of a linear range between them.
The range is calculated as the difference between (upper limit control input (U) - VoUD -
ULSR) and (lower limit control input (L) + VoLD + ULSR) and must be greater than or equal
to zero.
The limiting levels may be individually set at fixed values or one or both limiting levels may
be controlled by a variable voltage, depending on the desired application.
In the circuit shown below, the upper voltage limit is set by adjusting the potentiometer
supplying the Upper terminal on the VCL. The lower voltage limit is set by adjusting the
potentiometer supplying the Lower terminal on the VCL. The potentiometers are adjusted by
pressing U or SHIFT-U for the upper limit and L or SHIFT-L for the lower limit.
Source Components
k Gain 1 V/V
This component limits the absolute slope of the output, with respect to time, to some
maximum or value. You can accurately model actual slew rate effects of over-driving an
amplifier circuit by cascading the amplifier with this component. Maximum rising and falling
slope values are expressed in volts per second.
The slew rate block will continue to raise or lower its output until the difference between
input and output values is zero. After, it will resume following the input signal unless the
slope again exceeds its rise or fall slope limits.
This component provides for introduction of selectable rising and falling slew rates (rise and
fall times on a pulse waveform) for analysis of pulse and analog circuits.
With an ideal pulse or analog input to block the effect of slew rate on a logic circuit or analog
amplifier, (discrete component or op-amp) output may be investigated.
In the example shown below, the function generator may be set for either square wave or sine
wave output.
A slew rate of 8000V/sec for rising slope and 6000V/sec for falling slope shows as rise and
fall time on an ideal 80Hz. square wave input. Signal degradation as a result of slew rate
occurs when frequency is increased.
Switching the function generator to sine wave output 60 Hz. does not result in distortion.
However, as frequency is increased, slew rate distortion on a sine wave will become evident at
200 Hz. and above. As frequency is increased, the sine wave deteriorates to a triangle shape.
Source Components
A more serious degradation of output as a result of slew rate occurs when the input frequency
is doubled to 200Hz.
This component is a math functional block that receives up to three voltage inputs and
delivers an output equal to their arithmetic sum. Gain for all three inputs as well as the
summed output may be set to match any three input summing application.
In the example shown below, all gains are set to unity.
The summer may be used to illustrate the result of adding harmonically related sine wave
components which make up a complex waveform (the first three terms in the Fourier
expression defining the waveform).
In the example, a fundamental frequency of 60 Hz. and the third and fifth harmonics (in
phase) may be progressively added to illustrate the basic makeup of a square wave.
Amplitude and phase of any of the signals may be varied to experiment further.
Charactistic Equation
Source Components
The TDM source is used to input National Instruments binary measurement files (.tdm) into
a Multisim simulation. It is available as both a voltage source and a current source.
To set up the TDM source:
1. Double-click on the TDM source to open its properties dialog box and click the Value tab.
2. In the File area:
• Filename — click on the button to the right of this field and navigate to the desired
.tdm file. When the Select Trace dialog box appears, enter the desired Group,
Channel X and Channel Y data, or click OK to accept the default settings.
Source Components
Note If you do not specify a filename, the component behaves like an open circuit. An error
message does not display in this case.
• Preview Data — select to view the file’s contents in the Value tab.
• Reload File — click to reload the file when the .tdm file has been edited and you wish
to reflect the changes in the TDM Source.
• Repeat — enable to continuously run the file during simulation. If this checkbox is not
enabled, output from the source will cease once the final data pair has been read.
3. In the Channel area:
• Select Channel — displays the Select Trace dialog box where you can edit the Group,
Channel X and Channel Y settings.
• Channel Group — displays the selected group.
• Channel X — displays the selected x channel.
• Channel Y — displays the selected y channel.
4. Click OK to close the source’s properties dialog.
The LVM source is used to input National Instruments text-based measurement files (.lvm)
into a Multisim simulation. It is available as both a voltage source and a current source.
To set up the LVM source:
1. Double-click on the LVM source to open its properties dialog box and click the Value tab.
2. In the File area:
• Filename — click on the button to the right of this field and navigate to the desired
.lvm file. When the Select Trace dialog box appears, enter the desired Section and
ABM Sources
Expressions may use node voltages relative to ground using the syntax V(<net name>),
where <net name> is the name of a net. Alternatively, expressions may use differential
node voltages using the syntax V(<net name1>, <net name2>), where the expression
evaluates to the difference between nets <net name1> and <net name2>.
Source Components
Expressions may use reference branch currents through voltage source elements using the
syntax I(<source_type><refdes>), where <source type> is a single letter
specifying a the type of SPICE primitive source and <refdes> is the schematic reference
designator of the voltage source.
Multisim supports referencing current through four types of SPICE primitive voltage sources:
• Independent source ("V" source)
• Voltage-Controlled Voltage-Source ("E" source)
• Current-Controlled Voltage-Source ("H" source)
• ABM source ("B" source).
To easily determine the referenced source type:
1. Click the Model button in the Select a Component dialog. The component's SPICE template
displays as in the example below.
The first letter of the model template must be one of V,E,H, or B. This is the
<source_type>. If the first letter is any but V,E,H, or B (e.g., templates using
SUBCKTs), you may not reference current passing through this component.
In the case of a circuit branch in which there is no voltage source component, or there is a
voltage source component which may not be referenced, break the branch and insert a 0-volt
voltage source that has valid template for referencing (e.g., the DC_POWER component).
Bipolar Sources
The example below is an ABM voltage source whose expression references current through
three different types of voltage source components.
<source_type> Referenced current
Note Positive current polarity is taken from the positive node to the negative node of the
voltage source.
Multisim supports a rich set of operators and functions which can be used in expressions. For
details, refer to “Analog Behavioral Modeling and Controlled Source Syntax” in your
Multisim User Guide or helpfile.
Source Components
1.47 GAIN_2_PIN
This device is a voltage-controlled voltage source.
To edit this device’s parameters:
1. Double-click on the placed component and select the Value tab.
2. Change the Voltage Gain as desired.
Chapter 2
Basic Components
2.1 Connectors
Connectors are mechanical devices used to provide a method of inputting and outputting
signals to a design. They do not affect the simulation of the circuit but are included in the
circuit for the design of the PCB.
Basic Components
The 555 timer is an IC chip that is commonly used as an astable multivibrator, a monostable
multivibrator or a voltage-controlled oscillator. The 555 timer consists basically of two
comparators, a resistive voltage divider, a flip-flop and a discharge transistor. It is a two-state
device whose output voltage level can be either high or low. The state of the output can be
controlled by proper input signals and time-delay elements connected externally to the 555
timer.
Note Refer to the Component Reference Guide for a more detailed discussion of the
555 timer.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Animation Delay Factor — increase this number to slow the speed of animation of the
symbol blowing. This is not a real-time value.
• Maximum Supply Voltage — the maximum supply voltage allowed. If this is exceeded
during simulation, the timer’s VCC pin blows.
• Maximum Output Current — the maximum output current allowed. If this is exceeded
during simulation, the timer’s OUT pin blows.
3. Click OK.
A bipolar junction transistor, or BJT, is a current-based valve used for controlling electronic
current. BJTs are operated in three different modes, depending on which element is common
to input and output: common base, common emitter or common collector. The three modes
have different input and output impedances and different current gains, offering individual
advantages to a designer.
Note Refer to the Component Reference Guide for a more detailed discussion of BJTs.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Animation Delay Factor — increase this number to slow the speed of animation of the
symbol blowing. This is not a real-time value.
• Maximum Collector-Emitter Voltage — the maximum collector-emitter voltage
allowed. If this value is exceeded during simulation, the BJT blows.
• Maximum Collector-Base Voltage — the maximum collector-base voltage allowed. If
this value is exceeded during simulation, the BJT blows.
• Maximum Emitter-Base Voltage — the maximum emitter-base voltage allowed. If this
value is exceeded during simulation, the BJT blows.
• Maximum Collector Current — the maximum collector current allowed. If this value is
exceeded during simulation, the BJT blows.
• Saturation Current — the maximum saturation current allowed. If this value is
exceeded during simulation, the BJT blows.
• Maximum Forward Beta — the maximum forward beta allowed. If this value is
exceeded during simulation, the BJT blows.
3. Click OK.
Basic Components
A capacitor stores electrical energy in the form of an electrostatic field. Capacitors are widely
used to filter or remove AC signals from a variety of circuits. In a DC circuit, they can be used
to block the flow of direct current while allowing AC signals to pass.
A capacitor’s capacity to store energy is called its capacitance, C, which is measured in
farads.
The variable capacitor is simulated as an open circuit with a current across the capacitor
forced to zero by a large impedance value.
The polarized capacitor must be connected with the right polarity. Otherwise, an error
message will appear.
Note Refer to the Component Reference Guide for a more detailed discussion of capacitors.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Animation Delay Factor — increase this number to slow the speed of animation of the
symbol blowing. This is not a real-time value.
• Capacitance — set the capacitance as desired.
• Voltage Rating (Pk) — the maximum peak voltage across the capacitor allowed. If this
value is exceeded during simulation, the capacitor blows.
• Initial Conditions — the initial charge across the capacitor, before simulation begins.
3. Click OK.
Diodes allow current to flow in only one direction and can therefore be used as simple
solid-state switches in AC circuits, being either open (not conducting) or closed (conducting).
Terminal A is called the anode and terminal K is called the cathode.
Note Refer to the Component Reference Guide for a more detailed discussion of diodes.
This is a resistive component that protects against power surges and current overloads.
A fuse will blow (open) if the current in the circuit goes above Imax, the maximum current
rating.
Note Refer to the Component Reference Guide for a more detailed discussion of fuses.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Animation Delay Factor — increase this number to slow the speed of animation of the
symbol blowing. This is not a real-time value.
• Maximum Current (Imax) — the maximum current allowed through the fuse. If this
value is exceeded during simulation, the fuse blows.
3. Click OK.
Basic Components
An inductor stores energy in an electromagnetic field created by changes in current through it.
Its ability to oppose a change in current flow is called inductance, L, and is measured in
Henrys.
Note Refer to the Component Reference Guide for a more detailed discussion of inductors.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Animation Delay Factor — increase this number to slow the speed of animation of the
symbol blowing. This is not a real-time value.
• Inductance — the coil’s inductance. Set as desired.
• Coil Resistance — set as desired.
• Current Rating (Pk) — the maximum peak current allowed through the inductor. If this
value is exceeded during simulation, the inductor blows.
• Initial Conditions — the initial current through the inductor, before simulation begins.
3. Click OK.
This diode emits visible light when forward current through it, Id, exceeds the turn-on current,
Ion. The electrical model of the LED is the same as the diode model.
Note Refer to the Component Reference Guide for a more detailed discussion of LEDs.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
The component is a universal model of an ideal DC motor which can be used to model the
behavior of a DC motor excited in parallel, in series or separately.
Note Refer to the Component Reference Guide for a more detailed discussion of DC motors.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Animation Delay Factor — increase this number to slow the speed of animation of the
symbol blowing. This is not a real-time value.
• Rated Armature Voltage (Van) — set as desired.
• Maximum Armature Voltage — the maximum voltage across the armature allowed. If
this value is exceeded during simulation, the motor blows.
• Rated Armature Current (Ian) — set as desired.
• Maximum Armature Current — the maximum current through the armature allowed. If
this value is exceeded during simulation, the motor blows.
• Rated Field Voltage (Vfn) — set as desired.
• Maximum Field Voltage — the maximum field voltage allowed. If this value is
exceeded during simulation, the motor blows.
• Armature Resistance (Ra) — set as desired.
• Armature Inductance (La) — set as desired.
• Field Resistance (Rf) — set as desired.
• Field Inductance (Lf) — set as desired.
Basic Components
Tip To view the following fields, click in a blank space in the Value tab and drag the mouse
upward.
• Shaft Friction (Bf) — set as desired.
• Rotational Inertia (J) — set as desired.
• Rated Rotational Speed (NN) — set as desired.
• Load Torque (Tl) — set as desired.
3. Click OK.
The magnetic relay is a coil with a specified inductance that causes a contact to open or close
when a specified current (Ion) charges it.
Note Refer to the Component Reference Guide for a more detailed discussion of relays.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Animation Delay Factor — increase this number to slow the speed of animation of the
symbol blowing. This is not a real-time value.
• Coil Inductance — set as desired.
• Coil Resistance — set as desired.
• On Current (Ion) — set as desired.
• Off Current (Ioff) — set as desired .
• Maximum Rated Voltage — the maximum voltage allowed. If this value is exceeded
during simulation, the relay blows.
• Maximum Rated Current — the maximum current allowed. If this value is exceeded
during simulation, the relay blows.
3. Click OK.
An ideal operational amplifier (Opamp) is an amplifier with infinite gain, infinite input
impedance and zero output impedance. With the application of negative feedback, Opamps
can be used to implement functions such as addition, subtraction, differentiation, integration,
averaging and amplification.
An opamp can have a single input and single output, a differential input and single output, or
a differential input and differential output.
Note Refer to the Component Reference Guide for a more detailed discussion of opamps.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Animation Delay Factor — increase this number to slow the speed of animation of the
symbol blowing. This is not a real-time value.
• Maximum Supply Voltage (+/-) — the maximum voltage (+/) allowed. If this value is
exceeded during simulation, the opamp blows.
• Maximum Input Voltage (+/-) — the maximum input voltage (+/) allowed. If this value
is exceeded during simulation, the opamp blows.
• Maximum Differential Input Voltage — the maximum differential input voltage
allowed. If this value is exceeded during simulation, the opamp blows.
• Maximum Sink/Source Output Current — If this value is exceeded during simulation,
the opamp blows.
3. Click OK.
Basic Components
The photodiode emits a source of infrared light which is detected by the phototransistor.
These devices are intended to be used in pairs.
You must specify a light channel in each of these paired parts (photodiode and
phototransistor). This is done in the Value tab of the component’s properties screen. Each
diode must have a different value for its light channel, however, the phototransistor can share
the same value with several other phototransistors.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Animation Delay Factor — increase this number to slow the speed of animation of the
symbol blowing. This is not a real-time value.
• Light Channel (Integer) — set to match the light channel for the corresponding
phototransistor(s).
• On Current (Ion) — set as desired.
• Reverse Breakdown Voltage — set as desired.
• Maximum Rated Power (Watts) — If this value is exceeded during simulation, the
photodiode blows.
3. Click OK.
The photodiode emits a source of infrared light which is detected by the phototransistor.
These devices are are intended to be used in pairs.
You must specify a light channel in each of these paired parts (photodiode and
phototransistor). This is done in the Value tab of the component’s properties screen. Each
diode must have a different value for its light channel, however, the phototransistor can share
the same value with several other phototransistors.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Animation Delay Factor — increase this number to slow the speed of animation of the
symbol blowing. This is not a real-time value.
• Light Channel (Integer) — set to match the light channel for the corresponding
photodiode.
• Maximum Collector-Emitter Voltage — If this value is exceeded during simulation, the
phototransistor blows.
• Maximum Collector Current — If this value is exceeded during simulation, the
phototransistor blows.
3. Click OK.
This component acts much like a tapped/split resistor, except that you can adjust its resistance.
Note Refer to the Component Reference Guide for a more detailed discussion of
potentiometers.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Key — enter the key that will increase the resistance by the amount set in the Increment
field.
• Increment — enter the amount by which the resistance will increase when the key set
in the Key field is pressed.
• Animation Delay Factor — increase this number to slow the speed of animation of the
symbol blowing. This is not a real-time value.
Basic Components
This component is used to raise the voltage of a circuit to which it is connected. One end is
connected to Vcc. The other end is connected to a point in a logic circuit that needs to be
raised to a voltage level closer to Vcc.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Animation Delay Factor — increase this number to slow the speed of animation of the
symbol blowing. This is not a real-time value.
• Voltage (V) — set as desired.
• Resistance — set as desired.
• Maximum Rated Power (Watts) — If this value is exceeded during simulation, the
pullup blows.
3. Click OK.
Resistors come in a variety of sizes, related to the power they can safely dissipate.
Note Refer to the Component Reference Guide for a more detailed discussion of resistors.
The transformer is one of the most common and useful applications of inductance. It can step
up or step down an input primary voltage (V1) to a secondary voltage (V2). The relationship
is given by V1/V2 = n, where n is the ratio of the primary turns to the secondary turns.
Note Refer to the Component Reference Guide for a more detailed discussion of
transformers.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Animation Delay Factor — increase this number to slow the speed of animation of the
symbol blowing. This is not a real-time value.
• Maximum Primary Voltage — If this value is exceeded during simulation, the resistor
blows.
• Maximum Primary Current — If this value is exceeded during simulation, the resistor
blows.
• Maximum Secondary 1 Voltage — If this value is exceeded during simulation, the
Basic Components
resistor blows.
• Maximum Secondary 1 Current — If this value is exceeded during simulation, the
resistor blows.
• Maximum Secondary 2 Voltage — If this value is exceeded during simulation, the
resistor blows.
• Maximum Secondary 2 Current — If this value is exceeded during simulation, the
resistor blows.
• Maximum Output Power (kVA) — If this value is exceeded during simulation, the
resistor blows.
• Primary-to-Secondary Turns Ratio — set as desired.
• Leakage Inductance (Le) — set as desired.
• Magnetizing Inductance (Lm) — set as desired.
Tip To view the following fields, click in a blank space in the Value tab and drag the mouse
upward.
• Primary Winding Resistance — set as desired.
• Secondary Winding Resistance — set as desired.
3. Click OK.
This component acts much like a regular capacitor, except that you can, with a single
keystroke, adjust its capacitance.
Note Refer to the Component Reference Guide for a more detailed discussion of capacitors.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Key — enter the key that will increase the capacitance by the amount set in the
Increment field.
• Increment — enter the amount by which the capacitance will increase when the key set
in the Key field is pressed (instead of pressing the key, you can hover your cursor over
the variable capacitor and click the button that pops up).
• Animation Delay Factor — increase this number to slow the speed of animation of the
This component acts much like a regular inductor, except that you can, with a single
keystroke, adjust its inductance.
Note Refer to the Component Reference Guide for a more detailed discussion of inductors.
To adjust the component’s tolerances:
1. Double-click on the placed component and click the Value tab.
2. Change the following values as desired:
• Key — enter the key that will increase the inductance by the amount set in the
Increment field.
• Increment — enter the amount by which the inductance will increase when the key set
in the Key field is pressed (instead of pressing the key, you can hover your cursor over
the variable inductor and click the button that pops up).
• Animation Delay Factor — increase this number to slow the speed of animation of the
symbol blowing. This is not a real-time value.
• Inductance — the maximum inductance of the variable inductor.
• Coil Resistance — set as desired.
• Initial Conditions — the current through the inductor that is present before simulation
starts.
• Current Rating (Pk) — If this value is exceeded during simulation, the inductor blows.
3. Click OK.
Basic Components
Some of the more commonly-used rated virtual components can be placed using the
Rated Virtual Components toolbar.
To display the Rated Virtual Components toolbar, click the Show Rated Family button in the
Virtual toolbar (refer to the Multisim User Guide for Virtual toolbar information).
The buttons (from left to right) in the Rated Virtual Components toolbar place the following
virtual components: NPN transistor; PNP transistor; Capacitor; Diode; Inductor; Motor;
normally closed relay; normally open relay; combination relay; resistor.
2.3 Sockets
Sockets are mechanical devices that are used to connect devices onto a PCB. They do not
affect the simulation of the circuit but are included for the design of the PCB.
2.4 Switch
Switches are interactive components that can be closed or opened (turned on or off) by
pressing a key on the keyboard, or by using the mouse.
Switch
Non-interactive Switches
A small number of switches, for example, time delayed switches, current controlled switches
and voltage controlled switches are not interactive components. For these components, the
contents of the Value tab will be different than those described above, and will vary depending
on the selected component.
Change the settings for these devices in the usual manner; double-click on the component,
select the Value tab, and enter the desired parameters.
DIP switch packs are available in footprints that contain from 2 to 10 switches. These devices
are interactive components that can be closed or opened (turned on or off) by pressing a key
on the keyboard, or by using the mouse. The black circle on the switch indicates the ON
position for switch number 1 in the pack.
You can set a different activation key for each switch in the pack.
To set switches’ activation keys:
1. Double-click on the DIP switch pack to display its properties dialog box and click on the
Value tab.
2. Enter the desired key for each switch in its corresponding field (Switch 1 Key, Switch 2 Key,
etc.) and click OK.
To toggle a specific switch on or off using the keyboard, press the identified key.
To toggle a specific switch on or off using the mouse, hover the cursor over the desired switch
and click when the switch is highlighted by a rectangle and cursor changes to a hand symbol.
Note Unused switches in a switch pack should be left in the OFF position for simulation.
For a discussion of interactive simulation, refer to the Multisim User Guide.
Basic Components
2.5 SBREAK
This device is a voltage-controlled switch.
To change the component’s parameters:
1. Double-click on the placed component and select the Value tab.
2. Change the following as desired:
• On-state Voltage (VON) — voltage at which the switch turns on.
• Off-state Voltage (VOFF) — voltage at which the switch turns off.
• On-state Resistance (RON) — resistance of the device during its on-state.
• Off-state Resistance (ROF) — resistance of the device during its off-state.
3. Click OK to save to close the dialog box.
2.6 Resistor
Resistors come in a variety of sizes, depending on the power they can safely dissipate. A
resistor’s resistance, R, is measured in ohms. Color-coded stripes on a real-world resistor
specify its resistance and tolerance. Larger resistors have this information printed on them.
Any electrical wire has resistance, depending on its material, diameter and length. Wires that
must conduct very heavy currents (for example, ground wires on lightning rods) have large
diameters to reduce resistance.
The power dissipated by a resistive circuit carrying electric current is in the form of heat.
Circuits dissipating excessive energy will literally burn up. Practical circuits must take power
capacity into account.
In Multisim, the Resistance, R, of a resistor instance is calculated using the following
equation:
R = Ro * { 1 + TC1*(T - To) + TC2*[(T-To)^2] }
where:
R = The resistance of the resistor
Ro = The resistance of the resistor at temperature To
To = Nominal temperature = 27 degrees C [CONSTANT]
TC1 = First order temperature coefficient
Resistor
Basic Components
4. Optionally, enter information in the Component Type (for example, carbon film) and
Hyperlink fields.
5. Optionally, enable the Additional SPICE Simulation Parameters fields described below:
• Temperature (TEMP) — the device’s operating temperature.
• Temperature Coefficient (TC1) — first order temperature coefficient.
• Temperature Coefficient (TC2) — second order temperature coefficient.
• Nominal Temperature (TNOM) — the normal temperature at which model parameters
are measured and calculated.
6. Optionally, change the Layout Settings as described below:
• Edit Footprint button — click to display the Edit Footprint dialog box where you can
select a new Footprint and Manufacturer.
Note For information on placing resistors, and information on how to edit footprints, refer to
the Multisim User Guide or the Multisim helpfile.
2.7 Capacitor
A capacitor stores electrical energy in the form of an electrostatic field. Capacitors are widely
used to filter or remove AC signals from a variety of circuits. In a DC circuit, they can be used
to block the flow of direct current while allowing AC signals to pass.
A capacitor’s capacity to store energy is called its capacitance, C, which is measured in
farads.
Capacitors in an AC circuit behave as “short circuits” to AC signals. They are widely used to
filter or remove AC signals from a variety of circuits — AC ripple in DC power supplies, AC
noise from computer circuits, etc.
Capacitors prevent the flow of direct current in a DC circuit. They can be used to block the
flow of DC, while allowing AC signals to pass. Using capacitors to couple one circuit to
another is a common practice.
Capacitors take a predictable time to charge and discharge and can be used in a variety of
time-delay circuits. They are similar to inductors and are often used with them for this
purpose.
Capacitor
2.7.2 DC Model
In the DC model, the capacitor is represented by an open circuit.
h
Rcn =
C
C
icn = Vn
h
where:
Vn+1 = present unknown voltage across the capacitor
in+1 = present unknown current through the capacitor
Vn, in = previous solution values
h = time step
n = time interval
Basic Components
where:
f = frequency of operation
C = capacitance value
Inductor
2.8 Inductor
An inductor stores energy in an electromagnetic field created by changes in current through it.
Its ability to oppose a change in current flow is called inductance, L, and is measured in
Henrys.
An inductor is a coil of wire of one “turn” or more. It reacts to being placed in a changing
magnetic field by developing an “induced” voltage across the turns of the inductance, and will
provide current to a load across the inductance. Voltages can be very large.
Inductors, like capacitors, store energy in magnetic fields. Their “charge” and “discharge”
times make them useful in time-delay circuits.
2.8.2 DC Model
In the DC model, the inductor is represented by a short circuit.
Basic Components
2L
RLn =
h
h
iLn = Vn + in
2L
For Gear method (first order):
L
RLn =
h
h
iLn = Vn
L
where:
Vn+1 = present unknown voltage across the inductor
in+1 = present unknown current through the inductor
Vn, in = previous solution values
h = time step
n = time interval
Advanced Inductor
Basic Components
The actual inductor model includes a dependent voltage source that is proportional to the
derivative of the current, IL. See “Advanced Inductor Model Implementation” on page 2-28
for a more detailed implementation overview.
AC
The AC aspect of the model simulates the capacitive behavior of the inductor. A parallel
capacitance, Cp, is inserted in parallel to model this effect. The parallel combination of the
inductor and capacitor create a resonant frequency defined by:
This quantity is specified in datasheets and is entered in the Inductor Self Resonant Frequency
field.
Magnetic loss, which dampens the resonant peak, is modeled with a parallel resistor, Rp. The
relationship between Rp and the inductor quality factor Q, is:
Advanced Inductor
The inductor quality factor is also available in datasheets and is entered in the Inductor
Quality Factor field.
DC
The DC aspect of the model includes a series DC resistance, and a non-linear inductor whose
inductance varies with current.
The DC resistance is the winding material resistance and is specified on the datasheet. It is
entered in the Inductor Series Resistance field.
The non-linear inductance models the core’s saturation using a second order polynomial. The
polynomial coefficient is set such that when the inductor current reaches the rated current
(Idc), the inductance has dropped to 90% of its nominal value, Lo. Both the nominal
inductance and rated current can be found on the datasheet and are entered into the Nominal
Inductance and Inductor Rated Current fields. The inductance value is clipped when it reaches
10% of the nominal value, to prevent the value from becoming negative.
Lo
0.9 Lo
0.1Lo
Idc 3 Idc
IL
Basic Components
ABM
0V Bmain
Cp
Rp
v_di_dt
5 6
C1 0V
ABM B2
1F
0 B2 6 0 V={i(v1)}
Components Rdc, Cp, and Rp are parasitics that model the DC resistance and frequency
response. The actual non-linear inductor is implemented using the Analog Behavioral
Modeling (ABM) source, Bmain, and a secondary circuit. This is done by modeling the
derivative operator, which is inherent to the inductor I/V relationship, with a unity-valued
capacitor in a separate circuit.
The unity-valued capacitor is driven with a voltage value equal to the inductor current using
ABM source B2, by referencing the current through the 0-volt source V1. In the expression of
Bmain, the generated capacitor current (the derivative) is referenced through a 0 volt voltage
source, v_di_dt.
Transformer
Within the Bmain expression, the segment Lo*(1-0.1/(Idc^2)*i(v1)^2)* v_di_dt is exactly the
inductor equation we desire:
The if-statement switches between the non-linear inductor model and the constant linear
inductor model when the inductance falls to 10% of nominal value (or current has reached
3*Idc).
References
[1] Martin O’Hara, “Modeling Non-Ideal Inductors in SPICE, Martin O’Hara,” EETimes
Asia, April 2002
2.10 Transformer
The transformer is one of the most common and useful applications of inductance. It can step
up or step down an input primary voltage (V1) to a secondary voltage (V2). The relationship
is given by V1/V2 = n, where n is the ratio of the primary turns to the secondary turns. The
parameter n can be adjusted by editing the transformer's model.
To properly simulate the transformer, both sides must have a common reference point, which
may be ground. The transformer can also be used in a center-tapped configuration. A
center-tap is provided which may be used for this purpose. The voltage across the tap is half
of the total secondary voltage.
This transformer is suitable for getting quick results. To simulate realistic devices that include
a transformer, you should use the nonlinear transformer.
Note Both sides of a transformer must be grounded.
Basic Components
where:
V1 = primary voltage
V2 = secondary voltage
n = turns ratio
i = primary current
1
i = secondary current
2
n Turns ratio 2 -
Lm Magnetizing inductance 5 H
This component is based on a general model that can be customized for different applications.
It is implemented using a conceptual magnetic core and coreless coil building blocks, together
with resistors and inductors. Using this transformer, you can model physical effects such as
nonlinear magnetic saturation, primary and secondary winding losses, primary and secondary
leakage inductances, and core geometric size.
See the “Magnetic Core” description for characteristic equations of the magnetic core.
Nonlinear Transformer
2.11.1 Customizing
The nonlinear transformer can be customized for different applications. It is implemented by
using a magnetic core and the coreless coil as the basic building blocks. The magnetic core
takes in an input voltage and converts it to a Magnetomotive Force (mmf). The Magnetic
Field Intensity (H) is calculated by dividing the mmf by the Length of the core:
H = mmf/L
H is then used to find the corresponding Flux Density (B). This is done by using the linear
relationship described in the H-B array of coordinate pairs. This H-B array can be taken from
the averaging H-B curve, which may be obtained from a technical manual that specifies the
magnetic characteristics of different cores.
The slope of the B-H function is never allowed to change abruptly, but is smoothly varied
whenever the Input Smoothing domain parameter is set to a number greater than zero.
The Flux Density (B) is multiplied by the cross-sectional area to obtain a Flux Value. The
Flux Value is used by the coreless coil to obtain a value for the voltage reflected back across
the terminals.
The core is modeled to be lossless. No core losses are considered. In the transformer model,
the only losses taken into account are the ones modeled by the winding resistances.
To obtain the H-B points of the curve:
• Contact a manufacturing company. They many be able to provide the technical data
required to model a core.
• Obtain experimental data.
N1 Primary turns 1 -
N2 Secondary turns 1 -
Basic Components
N Number of co-ordinates 2
2.12 Relay
The magnetic relay can be used as a normally open or normally closed relay. It is activated
when the current in the energizing circuit (attached to P1, P2) exceeds the value of the
switch-on current (Ion). During operation, the contact switches from the normally closed
terminals (S1, S3) to the normally open terminals (S1, S2). The relay will remain on as long as
the current in the circuit is greater than the holding current (Ihd). The value of Ihd must be less
than that of Ion.
The magnetic relay is a coil with a specified inductance (Lc, in henries) that causes a contact
to open or close when a specified current (Ion, in A) charges it.
The contact remains in the same position until the current falls below the holding value (Ihd,
in A), at which point it returns to its original position.
Variable Capacitor
2.12.1 Model
The energizing coil of the relay is modeled as an inductor, and the relay’s switching contact is
modeled as resistors R1 and R2.
The variable capacitor acts much like a regular capacitor, except that you can adjust its value
using the keyboard or by hovering the cursor over the device and moving the slider bar that
appears.
To set up the variable capacitor:
1. Double-click on the variable capacitor and select the Value tab.
2. Enter the desired maximum capacitance for the device in the Capacitance field.
3. Enter the Key that will change the variable capacitor’s value when pressed.
Basic Components
4. Enter the percentage by which you want the variable capacitor to change in the Increment
field.
5. Optionally, enter Component Type and Hyperlink information.
6. Optionally, change the Layout Settings as described below:
• Edit Footprint button — click to display the Edit Footprint dialog box where you can
select a new Footprint and Manufacturer.
Note For information on placing capacitors and variable capacitors, and information on how
to edit footprints, refer to the Multisim User Guide or the Multisim helpfile.
To increase the variable capacitor’s value using the keyboard, press the identified key. The
variable capacitor’s setting will increase in steps the size of the value entered in the Increment
field. For example, if the device is a 200 pF variable capacitor, and the Increment is set to 5%,
its capacitance will increase by 10 pF steps until it reaches its maximum value of 200 pF.
To decrease the value using the keyboard, press and hold SHIFT and press the identified key.
For example, say the variable capacitor is set to 45%, the increment is 5% and the key is C.
Press C , and the setting increases to 50%. Press C again, and it increases to 55%. Press SHIFT
and C, and the setting decreases to 50%.
To adjust the variable capacitor’s value using the mouse:
1. Hover the cursor over the device to display its slider bar.
2. Drag the slider to the right to increase the value, or to the left to decrease the value.
Variable Inductor
The variable inductor acts much like a regular inductor, except that you can adjust its value
using the keyboard or by hovering the cursor over the device and moving the slider bar that
appears.
To set up the variable inductor:
1. Double-click on the variable inductor and select the Value tab.
2. Enter the desired maximum inductance for the device in the Inductance field.
3. Enter the Key that will change the variable inducotor’s value when pressed.
4. Enter the percentage by which you want the variable inductor to change in the Increment
field.
5. Enter the desired Coil Resistance.
6. Optionally, enter Component Type and Hyperlink information.
7. Optionally, change the Layout Settings as described below:
• Edit Footprint button — click to display the Edit Footprint dialog box where you can
select a new Footprint and Manufacturer.
Note For information on placing inductors and variable inductors, and information on how
to edit footprints, refer to the Multisim User Guide or the Multisim helpfile.
To increase the variable inductor’s value using the keyboard, press the identified key. The
variable inductor’s setting will increase in steps the size of the value entered in the Increment
field. For example, if the device is a 200 uH variable capacitor, and the Increment is set to 5%,
its inductance will increase by 10 uH steps until it reaches its maximum value of 200 uH.
To decrease the value using the keyboard, press and hold SHIFT and press the identified key.
For example, say the variable inductor is set to 45%, the increment is 5% and the key is H.
Press H , and the setting increases to 50%. Press H again, and it increases to 55%. Press SHIFT
and H, and the setting decreases to 50%.
To adjust the variable inductor’s value using the mouse:
1. Hover the cursor over the device to display its slider bar.
2. Drag the slider to the right to increase the value, or to the left to decrease the value.
Basic Components
2.15 Potentiometer
The potentiometer acts much like a regular resistor, except that you can adjust its value using
the keyboard or by hovering the cursor over the device and moving the slider bar that appears.
To set up the potentiometer:
1. Double-click on the potentiometer and select the Value tab.
2. Enter the desired maximum resistance for the device in the Resistance (R) field.
3. Enter the Key that will change the potentiometer’s value when pressed.
4. Enter the percentage by which you want the potentiometer to change in the Increment
field.
5. Optionally, enter Component Type and Hyperlink information.
6. Optionally, change the Layout Settings as described below:
• Edit Footprint button — click to display the Edit Footprint dialog box where you can
select a new Footprint and Manufacturer.
Note For information on placing resistors and potentiometers, and information on how to
edit footprints, refer to the Multisim User Guide or the Multisim helpfile.
To increase the potentiometer’s value using the keyboard, press the identified key. The
potentiometer’s setting will increase in steps the size of the value entered in the Increment
field. For example, if the device is a 200k linear potentiometer, and the Increment is set to 5%,
Pullup
its resistance will increase by 10k steps until it reaches the potentiometer’s maximum value of
200k ohms.
To decrease the value using the keyboard, press and hold SHIFT and press the identified key.
For example, say the potentiometer is set to 45%, the increment is 5% and the key is R. Press
R, and the setting increases to 50%. Press R again, and it increases to 55%. Press SHIFT and R,
and the setting decreases to 50%.
To adjust the potentiometer’s value using the mouse:
1. Hover the cursor over the device to display its slider bar.
2. Drag the slider to the right to increase the value, or to the left to decrease the value.
Setting
r= * Resistance
100
where:
R1 = r
R2 = Resistance – r
2.16 Pullup
This component is used to raise the voltage of a circuit to which it is connected. One end is
connected to Vcc. The other end is connected to a point in a logic circuit that needs to be
raised to a voltage level closer to Vcc.
Basic Components
Resistor packs are collections of resistors within a single package. The configuration of the
resistors can be varied based on the intended usage of the package. Resistor packs are used to
minimize the amount of space required on the PCB for the design. In some applications, noise
can be a consideration for the use of resistor packs.
Magnetic Core
This component is a conceptual model that you can use as a building block to create a wide
variety of inductive and magnetic circuit models. Typically, you would use the magnetic core
together with the coreless coil to build up systems that mock the behavior of linear and
nonlinear magnetic components. It takes as input a voltage which it treats as a magnetomotive
force (mmf) value.
Characteristic Equation
Magnetic field intensity, H, is:
H = mmf / l
where:
mmf = magnetomotive force, the input voltage
l = core length
Flux density, B, is derived from a piecewise linear transfer function described to the model by
the (magnetic field, flux density) pairs that you input in the Circuit/Component Properties
dialog box. The final current, I, allowed to flow through the core is used to obtain a value for
the voltage reflected back across the terminals. It is calculated as:
I = BA
where:
A = cross-sectional area
Basic Components
A Cross-sectional area 1 m2
L Core length 1 m
N Number of co-ordinates 2 -
This component is a conceptual model that you can use as a building block to create a wide
variety of inductive and magnetic circuit models. Typically, you would use the coreless coil
together with the magnetic core to build up systems that mock the behavior of linear and
nonlinear magnetic components. It takes as input a current and produces a voltage. The output
voltage behaves like a magnetomotive force in a magnetic circuit, that is, when the coreless
coil is connected to the magnetic core or some other resistive device, a current flows.
Z Loads
Vout = N ∗ iin
where:
Vout = output voltage value (magnetomotive force)
iin = input current
2.23 Z Loads
The A+jB Block is a circuit block with resistance and inductance connected in series.
“A” is resistance, “B” is inductive reactance (XL) at a specified frequency and j 2 = −1 .
XL = 2πfL , where f is the specified frequency and L is the inductance.
Basic Components
The A- jB Block is a circuit block with resistance and capacitance connected in series.
“A” is resistance, “B” is capacitive reactance (XC) at a specified frequency and j 2 = −1 .
1
XC =
2πfC
where f is the specified frequency and C is the capacitance.
2.23.3 Z Load 1
Z Loads
2.23.6 Z Load 2
Basic Components
2.23.9 Z Load 3
Z Load 3 is a circuit block with an RLC parallel connection with R, L and C values as shown.
Chapter 3
Diodes
3.1 Diode
Diodes allow current to flow in only one direction and can therefore be used as simple solid-
state switches in AC circuits, being either open (not conducting) or closed (conducting).
Terminal A is called the anode and terminal K is called the cathode.
Diodes
3.1.2 DC Model
The DC characteristic of a real diode in Multisim is divided into the forward and reverse
characteristics.
DC forward characteristic:
nV
VD
I D = I S e T − 1 + VD ∗ Gmin for VD ≥ −5nVT
DC reverse characteristic:
VD
I S e nVT − 1 + V D ∗ Gmin for − 5nVT ≤ VD ≤ 0
− I S + VD ∗ Gmin for − BV < VD < −5nVT
ID =
− IBV for V D = − BV
− BV +VD
− I S e VT − 1 + BV for VD < − BV
VT
where:
ID = current through the diode, in amperes
VD = voltage across the diode, in volts
VT = thermal voltage (= 0.0258 volts at room temperature (27°C))
BV = breakdown voltage
IS is equivalent to the reverse saturation current (Io) of a diode. In a real diode, IS doubles for
every 10-degree rise in temperature.
Other symbols used in these equations are defined in “Diode Parameters and Defaults”.
Diode
Diodes
VD
dID IS nV
gD = OP = e T
dV D nV Τ
VD
-m
where:
OP = operating point
QD = the charge on CD
RS Ohmic resistance 0 10 W
Pin Diode
N Emission coefficient 1 1 -
Diodes
A zener diode is designed to operate in the reverse breakdown, or Zener, region, beyond the
peak inverse voltage rating of normal diodes. This reverse breakdown voltage is called the
Zener test voltage (Vzt), which can range between 2.4 V and 200 V.
In the forward region, it starts conducting around 0.7 V, just like an ordinary silicon diode. In
the leakage region, between zero and breakdown, it has only a small reverse current. The
breakdown has a sharp knee, followed by an almost vertical increase in current.
Zener diodes are used primarily for voltage regulation because they maintain constant output
voltage despite changes in current.
3.3.1 DC Model
The DC characteristic of a real diode in Multisim is divided into the forward and reverse
characteristics.
DC forward characteristic:
nV
VD
I D = I S e T − 1 + VD ∗ Gmin for VD ≥ −5nVT
DC reverse characteristic:
VD
I S e nVT − 1 + V D ∗ Gmin for − 5nVT ≤ VD ≤ 0
− I S + VD ∗ Gmin for − BV < VD < −5nVT
ID =
− IBV for VD = − BV
− BV +VD
− I S e VT − 1 + BV for VD < − BV
VT
Zener Diode
where:
ID = current through the diode in amperes
VD = voltage across the diode in volts
VT = thermal voltage (= 0.0258 volts at room temperature (27°C))
BV = breakdown voltage
IS is equivalent to the reverse saturation current (Io) of a diode. In a real diode, IS doubles for
every 10-degree rise in temperature.
Other symbols used in these equations are defined in the table below.
Rs Ohmic resistance 0 W
VJ Junction potential 1 V
TT Transit time 0 S
N Emission coefficient 1 -
Diodes
This diode emits visible light when forward current through it, Id, exceeds the turn-on current,
Ion.
LEDs are used in the field of optoelectronics. Infrared devices are used together with
spectrally matched phototransistors in optoisolation couplers, hand-held remote controllers,
and in fiber-optic sensing techniques. Visible spectrum applications include status indicators
and dynamic power level bar graphs on a stereo system or tape deck.
Bar LED
RS Ohmic resistance 0 W
VJ Junction potential 1 V
TT Transit time 0 s
The bar LED comes in assorted colors and 4-, 8-, and 10-segment sizes.
To adjust the On Current (Ion), double-click on the component and select the Value tab.
Diodes
The full-wave bridge rectifier uses four diodes to perform full-wave rectification of an input
AC voltage. Two diodes conduct during each half cycle, giving a full-wave rectified output
voltage. The top and bottom terminals can be used as the input terminals for the AC voltage.
The left and right terminals can be used as the output DC terminals.
3.6.2 Model
A full-wave bridge rectifier consists of four diodes as shown in its icon.
Terminals 1 and 2 are the input terminals, so the input AC source is connected across 1 and 2.
Terminals 3 and 4 are the output terminals, so the load is connected across 3 and 4.
When the input cycle is positive, diodes D1 and D2 are forward-biased and D3 and D4 are
reverse-biased. D1 and D2 thus conduct current in the direction shown. The voltage developed
is identical to the positive half of the input sine wave minus the diode drops.
When the input cycle is negative, diodes D3 and D4 become forward-biased and conduct
current in the direction shown. Hence, the current flows in the same direction for both the
positive and the negative halves of the input wave. A full-wave rectified voltage appears
across the load.
RS Ohmic resistance 0 10 W
N Emission coefficient 1 1 -
Diodes
The Schottky diode is a two-terminal device with a junction that uses metal in place of the p-
type material. The formation of a junction with a semiconductor and metal results in very little
junction capacitance.
The Schottky diode will have a VF of approximately 0.3 V and a VBR of less than − 50 V.
These are lower than the typical pn-junction ratings of VF = 0.7 V and VBR = −1 50 V.
With very little junction capacitance, the Schottky diode can be operated at much higher
frequencies than the typical pn-junction diode and has a much faster switching time.
The Schottky diode is a relatively high-current device that is capable of switching rapidly
while providing forward currents of approximately 50 A. It can operate at frequencies of 20
GHz and higher in sinosoidal and low-current switching circuits.
Silicon-Controlled Rectifier
3.8.1 Model
The SCR is simulated using a mixed electrical and behavioral model.
The status of the SCR is handled with a logical variable, much like the Shockley diode and
diac simulations. The resistance, Rs, acts as a current block when the SCR is switched off. Rs
has two separate values, depending on the status of the SCR. When the SCR is on, the
resistance Rs is low; when the SCR is off, the resistance Rs is high. The high resistance value
acts as a current block.
The SCR is switched on and Rs set low (1e-06) if:
Vd ≥ Vdrm
or
Ig ≥ Igt at Vg ≥ Vgt and
Vd ≥ 0
or
dVd dV of the SCR
≥
dt dt
Symbols used in these equations are defined in “SCR Parameters and Defaults”.
Diodes
3.9 DIAC
DIAC
3.9.1 DC Model
The diac is switched on and the resistance, Rs, is set low if, in either the positive or negative
direction.
Vd ≥ V s
The diac is switched off (current-blocking mode) and Rs is set high if, in either direction:
Vs
I rev
Id < Ih
where:
Vd = voltage across the diac, in volts
Id = current through the diac, in amperes
Rs = blocking resistance
Irev = = peak off-state reverse current
Other symbols used in these equations are defined in “Diac Parameters and Defaults”.
Diodes
3.10 TRIAC
3.10.1 Model
The simulation is a combined electrical/behavioral model. The status of the triac, either on or
off, is treated as a logical variable. The resistance, Rs, is a function of the triac status.
TRIAC
When the triac is off, the resistance Rs is set high to act as a current block. When the triac is
on, Rs is low (1e-06).
V d rm
I d rm
d Vd d V
or ≥ of the triac
dt dt
The triac is switched off and the resistance Rs is set high (current-blocking mode) if:
Id < Ih.
In this case the switching occurs after turn-off time Tq, which is implemented by the
behavioral controller.
Vs = maximum forward breakover voltage, or switching voltage, in volts
Id = current through the diac, in amperes
Rs = blocking resistance, in ohms
Irev = peak off-state reverse current
vbr = maximum forward breakover voltage, in volts
id = current through the triac, in amperes
Vd = voltage across the diac, in volts
vd = voltage across the triac, in volts
td = turn-on time, in seconds
Other symbols used in these equations are defined in “Triac Parameters and Defaults”.
Diodes
The varactor is a type of pn-junction diode with relatively high junction capacitance when
reverse biased. The capacitance of the junction is controlled by the amount of reverse voltage
applied to the device, which makes the device function as a voltage-controlled capacitor.
The capacitance of a reverse-biased varactor junction is found in the following way:
A
C T = ( ε ) -------
Wd
where:
CT = the total junction capacitance
ε = permittivity of the semiconductor material
A = the cross-sectional area of the junction
Wd = the width of the depletion layer
The value of CT is inversely proportional to the width of the depletion layer. The depletion
layer acts as an insulator (called the dielectric) between the p-type and n-type materials.
Varactor diodes are used in place of variable capacitors in many applications.
Chapter 4
Transistors
A bipolar junction transistor, or BJT, is a current-based valve used for controlling electronic
current. BJTs are operated in three different modes, depending on which element is common
to input and output: common base, common emitter or common collector. The three modes
have different input and output impedances and different current gains, offering individual
advantages to a designer.
A transistor can be operated in its nonlinear region as a current/voltage amplifier or as an
electronic switch in cutoff and saturation modes. In its linear region, it must be biased
appropriately (i.e., subjected to external voltages to produce a desired collector current) to
establish a proper DC operating point. The transistors' parameters are based on the Gummel-
Poon transistor model.
BJTs are commonly used in amplification and switching applications. They come in two
versions: NPN and PNP. The letters refer to the polarities, positive or negative, of the
materials that make up the transistor sandwich. For both NPNs and PNPs, the terminal with
the arrowhead represents the emitter.
An NPN transistor has two n-regions (collector and emitter) separated by a p-region (base).
The terminal with the arrowhead is the emitter. The ideal NPN in the parts bin has generic
values suitable for most circuits. You can specify a real-world transistor by double-clicking
the icon and choosing another model.
A PNP transistor has two p-regions (collector and emitter) separated by an n-region (base).
The terminal with the arrowhead represents the emitter. The ideal PNP model has generic
values suitable for most circuits. You can specify a real-world transistor by double-clicking
the icon and choosing another model.
Transistors
IE = IC + IB
IC
βDC = = hFE
IB
∆IC
βAC = = OP(VCE ) =hfe
∆IB
where:
βDC = hFE = DC current gain
βAC = hfe = small-signal current gain
IC = collector current
IB = base current
∆IE = emitter current
The model for the PNP transistor is the same as the NPN model, except the polarities of the
terminal currents and voltages are reversed.
The DC characteristic of a BJT in Multisim is modeled by a simplified Gummel-Poon model.
The base-collector and base-emitter junctions are described by their ideal diode equations.
The diode capacitors are treated as open circuits.
The beta variation with current is modeled by two extra non-ideal diodes. The diode
capacitors are treated as open circuits. The various equations are:
VBE
IBE 2 = ISE exp − 1
neVΤ
VBC
IBC 2 = IS exp − 1
ncVΤ
1
Kq1 =
1 − VVABC
IS VBE
Kq 2 = exp VΤ − 1
IKF
Kqb =
Kq1
2
(
1 + 1 + 4 Kq 2 )
IS V BE
I CE = exp V Τ − 1
K qb
IS VBC
I CC = exp V Τ − 1
K qb
I CT = I CE − I CC
V BE
I B E 1 = I S exp − 1
VΤ
VBC
I B C 1 = I S exp − 1
VΤ
where:
VT = thermal voltage = 0.0258
VA = forward early voltage
The model parameter βf is equivalent to βDC in the DC case and βAC in the AC case.
Other symbols used in these equations are defined in “BJT Model Parameters and Defaults.”
Transistors
model are represented by their energy storage model derived using the appropriate numerical
integration rule.
dI CC V
-mE
VCS
-ms
C js 0 1 − fo r V C s < 0
ϕS
C su b =
m sV C S
C js 0 1 + fo r V C s > 0
ϕs
VBX
-mC
F2 = (1 − FC )
1+ mE
F3 = 1 − FC (1 + mE )
F2 = (1 − FC )
1+ mC
F3 = 1 − FC(1 + mC )
The symbols used in these equations are defined in “BJT Model Parameters and Defaults.”
Transistors
Cs Substrate capacitance 0 1 F
Transistors
Resistor biased BJTs are discrete transistors which have had additional resistors added to
them within a standard transistor package. This is done to reduce the space required on the
PCB for the design. The general application is for transistor switches for displays such as
LED and Hex displays.
They come in two varieties: with a NPN transistor or a PNP transistor.
The Darlington connection is a pair of two bipolar junction transistors for operation as a
composite transistor. The composite transistor acts as a single unit with a current gain that is
the product of the current gains of each bipolar junction transistor.
A Darlington array consists of seven Darlington pairs. Each pair has an input and an output.
There is also one Common and one GND pin on the IC.
This equation is the same for a regular transistor, however, the value of βD is much greater,
and the value of VBE is larger.
The emitter current is then
IE = ( β D + 1 )I B ≈ β D IB
DC voltages are:
VE = I E RE
V B = VE + VBE
4.3.2 AC Model
The AC input signal is applied to the base of the Darlington transistor through capacitor C1,
with the ac output, Vo, obtained from the emitter through capacitor C2. The Darlington
transistor is replaced by an ac equivalent circuit made up of an input resistance, ri, and an
output current source, βDIb.
Transistors
BJT arrays are collections of discrete transistors on a single die. They can come in many
variations based on their intended application. The reasons for using an array is that the
devices are more closely matched than a random group of discrete devices (eliminating the
need to sort them), the noise characteristics are better, and the space required on a PCB is
smaller.
There are three types of BJT arrays:
• PNP transistor array
• NPN/PNP transistor array
• NPN transistor array.
P-Channel MOSFET
4.7 MOSFET
A MOSFET is a Metal-Oxide-Semiconductor FET. This transistor is a type of FET that uses
an induced electrical field to control current through the device. Either negative or positive
gate voltages can be applied to control the current.
The substrate is usually connected to the most negatively biased part of the MOSFET, usually
the source lead. In the three-terminal MOSFETs, the substrate is internally connected to the
source. N-channel MOSFETs have an inward-pointing substrate arrow, and p-channel
MOSFETs have an outward-pointing arrow. N-channel and p-channel MOSFETs are
identical, except that their voltage polarities are opposite.
The 4-Terminal Enhanced N-MOSFET is an n-channel enhancement MOSFET. Because the
substrate lead is not connected to the source lead, it has four terminals.
Transistors
4.7.3 DC Model
Due to the complexity of the MOSFET models used, only very basic formulas are provided in
the following description.
The DC characteristics are modeled by a nonlinear current source, ID.
Forward characteristics (VDS ≥ 0):
V TE = V TO + γ
ϕ − V B S − ϕ fo r γ > 0,ϕ > 0
MOSFET
0 for (VGS − VE ) ≤ 0
I D = β (VGS − VTE ) 2 (1 + λVDS ) for 0 < (VGS − VTE ) ≤ VDS
β (VDS [2(VGS − VTE ) − VDS ](1 + λVDS ) for 0 < VDS ≤ (VGS − VTE )
Reverse characteristics (VDS < 0):
V TE = V TO = γ
ϕ − V B D − ϕ
Transistors
dI D dI BS
gm = OP g BS = OP
dVGS dVBS
dI D dI
g DS = OP g BD = BD OP
dVGS dVBD
dI D
gmBS = OP
dVBS
MOSFET
LD Lateral diffusion 0 m
Transistors
This is an interactive device that lets you simulate the heat generated in a MOSFET. Pressing
“T” on your keyboard lets you toggle the displayed parameter between Junction, Dielectric
Bond and Case.
The following thermal electrical equivalent circuit represents the device’s model.
TJ
TB
TC
TA
Heat generated in a device’s junction flows from a higher temperature region through each
resistor-capacitor pair to a lower temperature region.
PDiss is a current source; its amplitude is the power consumed by the MOSFET. The voltages
of the nodes TJ, TB, TC and TA represent the temperature rise of the junction point of the
MOSFET, dielectric bond of the MOSFET, case of the MOSFET and ambient temperature.
The ambient temperature is considered constant (no temperature rise), so the voltage of TA is
zero and TA is grounded.
The JFET is a unipolar, voltage-controlled transistor that uses an induced electrical field to
control current. The current through the transistor is controlled by the gate voltage. The more
negative the voltage, the smaller the current.
A JFET consists of a length of an n-type or p-type doped semiconductor material called a
channel. The ends of the channel are called the source and the drain. The terminal with the
arrowhead represents the gate.
In an n-channel JFET, the gate consists of p-type material surrounding the n-channel. In a p-
channel JFET, the gate consists of n-type material surrounding the p-channel.
4.9.1 DC Model
The DC model characteristic is determined by a nonlinear current source, ID.
Forward characteristics (VDS ≥ 0):
Transistors
[VGS ( off )] 2
l = channel-length modulation parameter measured in 1/V
Other symbols used in these equations are defined in “JFET Model Parameters and Defaults”.
Note β is not to be confused with gm, the AC small-signal gain mentioned later in this
chapter.
The charge storage occurring in the two gate junctions is modeled by the diode time-domain
model described in the Diodes Parts Bin chapter.
The diodes used to model the JFETs are represented by their small-signal models.
dID
gm = OP
dVGS
dID
gDS = OP
dVDS
dIGS
gGS = OP
dVGS
dIGD
gGD = OP
dVGD
where
gm = AC small-signal gain
gGS and gGD are normally very small because the diode junctions are not forward-biased.
IGS and IGD are the diode current expressions mentioned in the diode modeling section.
Transistors
This component is a high-speed field-effect transistor that uses gallium arsenide (GaAs) as the
semiconductor material rather than silicon. It is generally used as a very high frequency
amplifier (into the gigahertz range). A GaAsFET consists of a length of n-type or p-type
doped GaAs called the channel. The ends of the channel are called the source and the drain.
The terminal with the arrowhead represents the gate. GaAsFETs are used in microwave
applications.
Id = 1 − 1 − Vds ∗
2 3
β ∗(1+ λ∗ V )∗ V − V ∗
( ) for Vgs − VTO ≥ 0
ds gs TO
1 + β ∗ Vgs − VTO ( )
where:
Vgs = gate-source voltage
Vds = drain-source voltage
VTO = threshold voltage; equivalent to the gate-source cutoff voltage
a = saturation voltage
b = transconductance
l = channel-length modulation
Id = drain to source current
Transistors
4.13 IGBT
The IGBT is an MOS gate-controlled power switch with a very low on-resistance. It is similar
in structure to the MOS-gated thyristor, but maintains gate control of the anode current over a
wide range of operating conditions.
The low on-resistance feature of the IGBT is due to conductivity modulation of the n epitaxial
layer grown on a p+ substrate. The on-resistance values have been reduced by a factor of
Unijunction Transistors
about 10 compared with those of conventional n-channel power MOSFETs of similar size and
voltage capability.
Changes to the epitaxial structure and the addition of recombination centers are responsible
for the reduction in the fall time and an increase in the latching current level of the IGBT. Fall
times as low as 0.1µs and latching currents as high as 50A can be achieved, while retaining
on-resistance values <0.2Ω for a 0.09cm2 chip area.
Transistors
Chapter 5
Analog Components
5.1 Opamp
An ideal operational amplifier (Opamp) is an amplifier with infinite gain, infinite input
impedance and zero output impedance. With the application of negative feedback, Opamps
can be used to implement functions such as addition, subtraction, differentiation, integration,
averaging and amplification.
An opamp can have a single input and single output, a differential input and single output, or
a differential input and differential output.
Analog Components
Opamp
Analog Components
IOS
IB1 = IBIAS +
2
IOS
IB 2 = IBIAS –
2
A1∗VIN 1
I1 =
R1
A1 = A1/3
where
R1 = 1 kΩ
fu
fP 1 =
A
1
C1 =
2π ∗ R1∗ fP1
The slew rate limits the rate of change of I1 to model the rate of change of output voltage.
A2 ∗VIN 2
I1 =
R2
A 2 = A1/3
R2 = ROUT
where
Opamp
where
Analog Components
Opamp
V OS
I S 2 = I S 1 1 + 0.025
CC
C1 = t a n ∆ϕ
2
The interstage provides the DM and CM gains and consists of voltage-controlled current
sources gcm, ga and gb and resistors, R02 and R2. The dominant time constant of the opamp is
provided by the internal feed-back capacitor, cc. In some opamps, the two nodes of cc are made
available to the outside world for external compensation. The output stage models DC and AC
output resistance. The elements d3, vc, d4 and ve provide maximum desired voltage swings.
Elements d1, d2, rcc and gc provide the current-limiting function.
Interstage:
IC
gm =
0.02585
β1 + β 2 1
Re1 = RC1 −
β1 + β 2 + 2 gm
1
ga =
RC1
ARC
gb =
100e 3 R 02
Ga
Gcm =
CMRR
Analog Components
Output stage:
I x = 2 * I c gb − I SC
I SD = I x exp − R01*I SC
0.025
0.025 I x
RCC = ln
100i x I SD
1
GC =
RC
I
VC = VCC − VSW + VΤ ∗ I n I SC
+
SD
I SC
VE = Vee − VSW + VΤ ∗ I n I
−
SD
Comparator
5.3 Comparator
Analog Components
The typical opamp, such as a general purpose 741 type opamp, has been internally
compensated for a unity gain bandwidth of about 1 MHz. Wide band amplifiers are opamps
that have been designed with a unity gain bandwidth of greater than 10 MHz and typically in
the 100 MHz range. These devices are used for application such as video amplifiers.
Special Function
Analog Components
Chapter 6
TTL
The characteristics of the standard TTL series can be illustrated by the 7400 quad NAND gate
IC.
The 74 series uses a nominal supply voltage (VOC) of 5V and can operate reliably over the
range 4.75 to 5.25 V. The voltages applied to any input of a standard 74 series IC must never
exceed +5.5 V. The maximum negative voltage that can be applied to a TTL input is -0.5 V.
The 74 series IC is designed to operate in ambient temperatures ranging from 0 to 70° C. The
guaranteed worst-case DC noise margins for the 74 series are 400 mV.
A standard TTL NAND gate requires an average power of 10 mV.
A standard TTL output can typically drive 10 standard TTL inputs.
TTL
6.4 74xx
A B Y
0 0 1
1 0 1
0 1 1
1 1 0
74xx
A B Y
0 0 1
1 0 1
0 1 1
1 1 0
A B Y
0 0 1
1 0 0
0 1 0
1 1 0
TTL
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
A Y
1 0
0 1
A Y
1 0
0 1
74xx
A Y
1 0
0 1
TTL
A B Y
0 0 0
1 0 0
0 1 0
1 1 1
74xx
CLR CLK J K Q Q
0 X X X 0 1
1 · 0 0 Hold
1 · 1 0 1 0
1 · 0 1 0 1
1 · 1 1 Toggle
TTL
A B C Y
0 0 0 0
1 0 0 0
0 1 0 0
1 1 0 0
0 0 1 0
1 0 1 0
0 1 1 0
1 1 1 1
74xx
TTL
INPUTS
OUTPUT
ENABLE
CLR C1 C2 DATA Q
1 0 0 0 0
1 0 0 1 1
1 X 1 X Hold
1 1 X X Hold
0 X X X 0
74xx
A B C Y
0 0 0 1
1 0 0 1
0 1 0 1
1 1 0 1
0 0 1 1
1 0 1 1
0 1 1 1
1 1 1 0
Z = high impedance
TTL
A G Y
1 1 1
0 1 0
X 0 Z
Z = high impedance
A B Y
1 1 0
0 X 1
X 0 1
74xx
INPUTS A THRU M Y
All inputs 1 0
One or more inputs 0 1
INPUTS A THRU L OC Y
All inputs 1 0 0
One or more inputs 0 0 1
Don't care 1 Z
INPUTS OUTPUT
A B C Y
0 0 0 0
0 1 0 1
1 0 0 1
1 1 0 0
0 0 1 1
0 1 1 0
1 0 1 0
1 1 1 1
TTL
INPUTS OUTPUT
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
SELECT
GL G1 G2 C B A Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7
X X 1 X X X 1 1 1 1 1 1 1 1
X 0 X X X X 1 1 1 1 1 1 1 1
0 1 0 0 0 0 0 1 1 1 1 1 1 1
0 1 0 0 0 1 1 0 1 1 1 1 1 1
0 1 0 0 1 0 1 1 0 1 1 1 1 1
0 1 0 0 1 1 1 1 1 0 1 1 1 1
0 1 0 1 0 0 1 1 1 1 0 1 1 1
0 1 0 1 0 1 1 1 1 1 1 0 1 1
0 1 0 1 1 0 1 1 1 1 1 1 0 1
0 1 0 1 1 1 1 1 1 1 1 1 1 0
1 1 0 X X X Output corresponding to stored address 0; all
others 1
74xx
ENABLE SELECT
G B A Y0 Y1 Y2 Y3
1 X X 1 1 1 1
0 0 0 0 1 1 1
0 0 1 1 0 1 1
0 1 0 1 1 0 1
0 1 1 1 1 1 0
A Y
0 1
1 0
TTL
INPUTS OUTPUTS
No. D C B A 0 1 2 3 4 5 6 7 8 9
0 0 0 0 0 0 1 1 1 1 1 1 1 1 1
1 0 0 0 1 1 0 1 1 1 1 1 1 1 1
2 0 0 1 0 1 1 0 1 1 1 1 1 1 1
3 0 0 1 1 1 1 1 0 1 1 1 1 1 1
4 0 1 0 0 1 1 1 1 0 1 1 1 1 1
5 0 1 0 1 1 1 1 1 1 0 1 1 1 1
6 0 1 1 0 1 1 1 1 1 1 0 1 1 1
7 0 1 1 1 1 1 1 1 1 1 1 0 1 1
8 1 0 0 0 1 1 1 1 1 1 1 1 0 1
9 1 0 0 1 1 1 1 1 1 1 1 1 1 0
1 0 1 0 1 1 1 1 1 1 1 1 1 1
1 0 1 1 1 1 1 1 1 1 1 1 1 1
1 1 0 0 1 1 1 1 1 1 1 1 1 1
1 1 0 1 1 1 1 1 1 1 1 1 1 1
INVALID
1 1 1 0 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1
INPUTS OUTPUTS
1 2 3 4 5 6 7 8 9 D C B A
1 1 1 1 1 1 1 1 1 1 1 1 1
X X X X X X X X 0 0 1 1 0
X X X X X X X 0 1 0 1 1 1
X X X X X X 0 1 1 1 0 0 0
X X X X X 0 1 1 1 1 0 0 1
X X X X 0 1 1 1 1 1 0 1 0
X X X 0 1 1 1 1 1 1 0 1 1
X X 0 1 1 1 1 1 1 1 1 0 0
X 0 1 1 1 1 1 1 1 1 1 0 1
0 1 1 1 1 1 1 1 1 1 1 1 0
74xx
INPUTS OUTPUTS
EI 0 1 2 3 4 5 6 7 A2 A1 A0 GS EO
1 X X X X X X X X 1 1 1 1 1
0 1 1 1 1 1 1 1 1 1 1 1 1 0
0 X X X X X X X 0 0 0 0 0 1
0 X X X X X X 0 1 0 0 1 0 1
0 X X X X X 0 1 1 0 1 0 0 1
0 X X X X 0 1 1 1 0 1 1 0 1
0 X X X 0 1 1 1 1 1 0 0 0 1
0 X X 0 1 1 1 1 1 1 0 1 0 1
0 X 0 1 1 1 1 1 1 1 1 0 0 1
0 0 1 1 1 1 1 1 1 1 1 1 0 1
TTL
Truth table:
INPUTS OUTPUTS
D C B A G W
X X X X 1 1
0 0 0 0 0 EO
0 0 0 1 0 E1
0 0 1 0 0 E2
0 0 1 1 0 E3
0 1 0 0 0 E4
0 1 0 1 0 E5
0 1 1 0 0 E6
0 1 1 1 0 E7
1 0 0 0 0 E8
1 0 0 1 0 E9
1 0 1 0 0 E10
1 0 1 1 0 E11
1 1 0 0 0 E12
1 1 0 1 0 E13
1 1 1 0 0 E14
1 1 1 1 1 E15
C B A G Y W
X X X 1 0 1
0 0 0 0 D0 D0
0 0 1 0 D1 D1
0 1 0 0 D2 D2
0 1 1 0 D3 D3
1 0 0 0 D4 D4
1 0 1 0 D5 D5
1 1 0 0 D6 D6
1 1 1 0 D7 D7
74xx
C B A W
0 0 0 D0
0 0 1 D1
0 1 0 D2
0 1 1 D3
1 0 0 D4
1 0 1 D5
1 1 0 D6
1 1 1 D7
B A C0 C1 C2 C3 G Y
X X X X X X 1 0
0 0 0 X X X 0 0
0 0 1 X X X 0 1
0 1 X 0 X X 0 0
0 1 X 1 X X 0 1
1 0 X X 0 X 0 0
1 0 X X 1 X 0 1
1 1 X X X 0 0 0
1 1 X X X 1 0 1
TTL
INPUTS OUTPUTS
G1 G2 D C B A 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 1 0 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1
0 0 0 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1
0 0 0 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1
0 0 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1
0 0 1 0 0 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1
0 0 1 0 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1
0 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1
0 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1
0 0 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1
0 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1
0 0 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1
0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0
0 1 X X X X 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 0 X X X X 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 X X X X 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
74xx
A B G C Y0 Y1 Y2 Y3
X X 1 X 1 1 1 1
0 0 0 1 0 1 1 1
0 1 0 1 1 0 1 1
1 0 0 1 1 1 0 1
1 1 0 1 1 1 1 0
X X X 0 1 1 1 1
A B G C Y0 Y1 Y2 Y3
X X 1 X 1 1 1 1
0 0 0 1 0 1 1 1
0 1 0 1 1 0 1 1
1 0 0 1 1 1 0 1
1 1 0 1 1 1 1 0
X X X 0 1 1 1 1
TTL
G A/B A B Y
1 X X X 0
0 0 0 X 0
0 0 1 X 1
0 1 X 0 0
0 1 X 1 1
G A/B A B Y
1 X X X 1
0 0 0 X 1
0 0 1 X 0
0 1 X 0 1
0 1 X 1 0
74xx
INPUTS OUTPUTS
G1 G2 D C B A 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 1 0 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1
0 0 0 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1
0 0 0 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1
0 0 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1
0 0 1 0 0 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1
0 0 1 0 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1
0 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1
0 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1
0 0 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1
0 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1
0 0 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1
0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0
0 1 X X X X 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 0 X X X X 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 X X X X 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
A Y
1 0
0 1
TTL
74xx
TTL
INPUTS OUTPUTS
OPERATING
SR MODE
CP CEP CET PE DN QN TC
l · X X X X 0 0 Reset (clear)
h · X X l l 0 0
h · X X l h 1 (2) Parallel load
h · h h h X coun (2) Count
t
h X l X h X qn (2) Hold (do nothing)
h X X l h X qn 0
74xx
SHIFT/ PARALLEL
CLK INH CLK SERIAL QA QB QH
LOAD A B C D
0 X X X a b c d a b h
1 0 0 X X X X X QA0 QB0 QH0
1 0 · 1 X X X X 1 QAn QGn
1 0 · 0 X X X X 0 QAn QGn
1 1 X X X X X X QA0 QB0 QH0
TTL
SHIFT/ PARALLEL
CLR CLK INH CLK SERIAL QA QB QH
LOAD A through H
0 X X X X X X X X 0 0 0
1 X 0 0 X X X X X QA0 QB0 QH0
1 0 0 · X A TO H a b 1
1 1 0 · 1 X X X X 1 QAn QGn
1 1 0 · 0 X X X X 0 QAn QGn
1 X 1 · X X X X X QA0 QB0 QH0
74xx
A Y
0 0
1 1
DATA
DATA OUTPUT
ENABLE
CLEAR CLK G1 G2 D Q
1 X X X X 0
0 0 X X X Q0
0 · 1 X X Q0
0 · X 1 X Q0
0 · 0 0 0 0
0 · 0 0 1 1
TTL
74xx
INPUTS OUTPUTS
S OF H’s AT A S S
EVEN ODD
THRU H EVEN ODD
Even 1 0 1 0
Odd 1 0 0 1
Even 0 1 0 1
Odd 0 1 1 0
X 1 1 0 0
X 0 0 1 1
0 0 0 0 F=A F= A MINUS 1 F= A
0 0 0 1 F= AB F= AB MINUS 1 F= AB
0 0 1 0 F= A+B F= AB MINUS 1 F= AB
0 0 1 1 F= 1 F= MINUS 1(2's comp) F= Zero
0 1 0 0 F= A+B F= A PLUS (A+B) F= A PLUS(A+B) Plus 1
0 1 0 1 F= B F= AB PLUS(A+B) F= AB PLUS (A+B) PLUS 1
0 1 1 0 F= A“+”B F= A MINUS B MINUS 1 F= A MINUS
0 1 1 1 F= A+B F= A+B F= (A+B)PLUS1
1 0 0 0 F= AB F= A PLUS (A+B) F= A PLUS (A+B) PLUS 1
1 0 0 1 F= A“+”B F= A PLUS B F= A PLUS B PLUS
1 0 1 0 F= B F= AB PLUS(A+B) F= AB PLUS (A+B) PLUS 1
1 0 1 1 F= A + B F= (A + B) F= (A+B) PLUS 1
TTL
INPUTS OUTPUT
G3 G2 G1 G0 P3 P2 P1 G
0 X X X X X X 0
X 0 X X 0 X X 0
X X 0 X 0 0 X 0
X X X 0 0 0 0 0
All other combinations 1
INPUTS OUTPUT
P3 P2 P1 P0 P
0 0 0 0 0
All other
combinations 1
INPUTS OUTPUT
G0 P0 Cn Cn+x
0 X X 1
X 0 1 1
All other
combinations 0
74xx
INPUTS OUTPUT
G1 G0 P1 P0 Cn Cn+y
0 X X X X 1
X 0 0 X X 1
X X 0 0 1 1
All other
combinations 0
INPUTS OUTPUT
G2 G1 G0 P2 P1 P0 Cn Cn+z
0 X X X X X X 1
X 0 X 0 X X X 1
X X 0 0 0 X X 1
X X X 0 0 0 1 1
All other combinations 0
1 = High level
0 = Low level
X = Don’t care
TTL
TERMINAL COUNT
INPUTS OUTPUTS
STATE
U/D CE CP Q0 Q1 Q2 Q3 TC RC
1 1 X 1 X X 1 0 1
0 1 X 1 X X 1 1 1
0 0 1 X X 1 1
0 1 X 0 0 0 0 0 1
1 1 X 0 0 0 0 1 1
1 0 0 0 0 0 1
74xx
TERMINAL COUNT
INPUTS OUTPUTS
STATE
U/D CE CP Q0 Q1 Q2 Q3 TC RC
1 1 X 1 1 1 1 0 1
0 1 X 1 1 1 1 1 1
0 0 1 1 1 1 1
0 1 X 0 0 0 0 0 1
1 1 X 0 0 0 0 1 1
1 0 0 0 0 0 1
TTL
INPUTS OUTPUTS
OPERATING
MR PL MODE
CPU CPD D0 D1 D2 D3 Q0 Q1 Q2 Q3 TCU TCD
1 X X 0 X X X X 0 0 0 0 1 0 Reset
1 X X 1 X X X X 0 0 0 0 1 1
0 0 X 0 0 0 0 0 0 0 0 0 1 0 Parallel load
0 0 X 1 0 0 0 0 0 0 0 0 1 1
0 0 0 X 1 X X 1 Qn=Dn 0 1
0 0 1 X 1 X X 1 Qn=Dn 1 1
0 1 · 1 X X X X Count up 11 1 Count up
0 1 1 · X X X X Count down 1 12 Count down
INPUTS OUTPUTS
OPERATING
MODE
MR PL CPU CPD D0 D1 D2 D3 Q0 Q1 Q2 Q3 TCU TCD
1 X X 0 X X X X 0 0 0 0 1 0 Reset
1 X X 1 X X X X 0 0 0 0 1 1
0 0 X 0 0 0 0 0 0 0 0 0 1 0
0 0 X 1 0 0 0 0 0 0 0 0 1 1 Parallel load
0 0 0 X 1 1 1 1 1 1 1 1 0 1
0 0 1 X 1 1 1 1 1 1 1 1 1 1
0 1 · 1 X X X X Count up 11 1 Count up
0 1 1 · X X X X Count down 1 12 Count down
74xx
TTL
SHIFT/
CLEAR CLK J K A B C D QA QB QC QD QD
LOAD
0 X X X X X X X X 0 0 0 0 1
1 0 · X X a b c d a b c d d
1 1 0 X X X X X X QA0 QB0 QC0 QD0 QD0
1 1 · 0 1 X X X X QA0 QA0 QBn QCn QCn
1 1 · 0 0 X X X X 0 QAn QBn QCn QCn
1 1 · 1 1 X X X X 1 QAn QBn QCn QCn
1 1 · 1 0 X X X X QAn QAn QBn QCn QCn
74xx
MODE SERIAL
PARALLEL OUTPUTS
QB..Q
CLEAR S/L CLKINH CLK J K A...H QA QH
G
0 X X X X X X 0 0 0
1 X 0 0 X X X QA0 QB0 QH0
1 0 0 · X X a...h a b..g h
1 1 0 · 0 1 X QA0 QA0 QGn
1 1 0 · 0 0 X 0 QAn QGn
1 1 0 · 1 1 X 1 QCn 1
1 1 0 · 1 0 X QAn QAn QGn
1 X 1 · X X X QA0 QB0 QH0
TTL
74xx
A B C D Y
1 1 1 1 0
0 X X X 1
X 0 X X 1
X X 0 X 1
X X X 0 1
SELECT OUTPUTS
G1 G2A G2B C B A Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7
X 1 X X X X 0 0 0 0 0 0 0 0
X X 1 X X X 0 0 0 0 0 0 0 0
0 X X X X X 0 0 0 0 0 0 0 0
1 0 0 0 0 0 1 0 0 0 0 0 0 0
1 0 0 0 0 1 0 1 0 0 0 0 0 0
1 0 0 0 1 0 0 0 1 0 0 0 0 0
1 0 0 0 1 1 0 0 0 1 0 0 0 0
1 0 0 1 0 0 0 0 0 0 1 0 0 0
1 0 0 1 0 1 0 0 0 0 0 1 0 0
1 0 0 1 1 0 0 0 0 0 0 0 1 0
1 0 0 1 1 1 0 0 0 0 0 0 0 1
TTL
G A Y
1 X Z
0 0 1
0 1 0
INPUTS OUTPUTS
G A1 A2 A3 A4 Y1 Y2 Y3 Y4
1 X X X X Z Z Z Z
0 X X X X A1 A2 A3 A4
74xx
INPUTS OUTPUTS
G A1 A2 A3 A4 Y1 Y2 Y3 Y4
1 X X X X Z Z Z Z
0 X X X X A1 A2 A3 A4
TTL
Notes:
1. The blanking input (BI) must be open or held at a high logic level when output
functions 0 through 15 are desired. The ripple-blanking input (RBI) must be open or
high if blanking of a decimal zero is not desired.
2. When a low logic level is applied to the blanking input (BI), all segment outputs are
off regardless of any other input.
3. When ripple-blanking input (RBI) and inputs A, B, C, and D are at a low level with
the lamp test input high, all segment outputs go off and the ripple-blanking output
(RBO) goes to a low level (response condition).
4. When the blanking input/ripple-blanking output (BI/RBO) is open or held high and a
low is applied to the lamp-test input, all segment outputs are on.
74xx
Notes:
1. The blanking input (BI) must be open or held at a high logic level when output
functions 0 through 15 are desired. The ripple-blanking input (RBI) must be open or
high if blanking of a decimal zero is not desired.
2. When a low logic level is applied to the blanking input (BI), all segment outputs are off
regardless of any other input.
3. When ripple-blanking input (RBI) and inputs A, B, C, and D are at a low level with the
lamp test input high, all segment outputs go off and the ripple-blanking output (RBO)
goes to a low level (response condition).
4. When the blanking input/ripple-blanking output (BI/RBO) is open or held high and a
low is applied to the lamp-test input, all segment outputs are on.
TTL
Notes:
1. The blanking input (BI) must be open or held at a high logic level when output
functions 0 through 15 are desired. The ripple-blanking input (RBI) must be open or
high if blanking of a decimal zero is not desired.
2. When a low logic level is applied to the blanking input (BI), all segment outputs are
low regardless of any other input.
3. When ripple-blanking input (RBI) and inputs A, B, C, and D are at a low level with
the lamp test input high, all segment outputs go low and the ripple-blanking output
(RBO) goes to a low level (response condition).
4. When the blanking input/ripple-blanking output (BI/RBO) is open or held high and
a low is applied to the lamp-test input, all segment outputs are high.
74xx
TTL
Notes:
1. The blanking input (BI) must be open or held at a high logic level when output
functions 0 through 15 are desired. The ripple-blanking input (RBI) must be open or
high if blanking of a decimal zero is not desired.
2. When a low logic level is applied to the blanking input (BI), all segment outputs are
low regardless of any other input.
3. When ripple-blanking input (RBI) and inputs A, B, C, and D are at a low level with
the lamp test input high, all segment outputs go low and the ripple-blanking output
(RBO) goes to a low level (response condition).
4. When the blanking input/ripple-blanking output (BI/RBO) is open or held high and a
low is applied to the lamp-test input, all segment outputs are high.
A B C D G Y
1 X X X 1 0
X 1 X X 1 0
X X 1 X 1 0
X X X 1 1 0
0 0 0 0 X 1
X X X X 0 1
74xx
TTL
OUTPUT
SELECT A B Y
CONTROL
1 X X X Z
0 0 0 X 0
0 0 1 X 1
0 1 X 0 0
0 1 X 1 1
OUTPUT
SELECT A B Y
CONTROL
1 X X X Z
0 0 0 X 0
0 0 1 X 1
0 1 X 0 0
0 1 X 1 1
74xx
A B Y
1 1 0
0 X 1
X 0 1
X X 1
X X 1
TTL
A B Y
0 0 1
0 1 0
1 0 0
1 1 1
A B C Y
0 0 0 1
1 0 0 0
0 1 0 0
1 1 0 0
0 0 1 0
1 0 1 0
0 1 1 0
1 1 1 0
74xx
CLEAR CLK D Q
0 X X 0
1 · 1 1
1 · 0 0
1 0 X Q0
S R Q Q
0 0 - - (no change)
0 1 0 1
1 0 1 0
1 1 X X (undefined)
TTL
A B Y
0 0 1
1 0 0
0 1 0
1 1 0
NUMBER OF INPUTS
Σ - Σ-
A THROUGH I THAT ARE HIGH
EVEN ODD
0, 2, 4, 6, 8 1 0
1, 3, 5, 7, 9 0 1
Σ = sigma
74xx
TTL
Ro1 Ro2 Qd Qc Qb Qa
1 1 0 0 0 0
0 X COUNT
X 0 COUNT
74xx
WORD
CLK QA QB QC QD
SELECT
0 Ø a1 b1 c1 d1
1 Ø a2 b2 c2 d2
X Ø QA0 QB0 QC0 QD0
INPUTS A THROUGH H Y
All inputs 1 0
One or more inputs 0 1
TTL
A B Y
0 0 0
1 0 1
0 1 1
1 1 1
A B Y
0 0 1
1 0 0
0 1 0
1 1 0
74xx
INPUTS OUTPUTS
OE S1 S0 Y0 Y1 Y2 Y3
1 X X Z Z Z Z
0 0 0 D0 D1 D2 D3
0 0 1 D-1 D0 D1 D2
0 1 0 D-2 D-1 D0 D1
0 1 1 D-3 D-2 D-1 D0
INPUTS OUTPUTS
ENABLE SELECT
1Y 2Y
G C B A
1 X X X Z Z
0 0 0 0 1D0 2D0
0 0 0 1 1D1 2D1
0 0 1 0 1D2 2D2
0 0 1 1 1D3 2D3
0 X 0 0 D4 D4
0 X 0 1 D5 D5
0 X 1 0 D6 D6
0 X 1 1 D7 D7
TTL
B A C0 C1 C2 C3 G Y
X X X X X X 1 1
0 0 0 X X X 0 1
0 0 1 X X X 0 0
0 1 X 0 X X 0 1
0 1 X 1 X X 0 0
1 0 X X 0 X 0 1
1 0 X X 1 X 0 0
1 1 X X X 0 0 1
1 1 X X X 1 0 0
B A C0 C1 C2 C3 G Y
X X X X X X 1 1
0 0 0 X X X 0 1
0 0 1 X X X 0 0
0 1 X 0 X X 0 1
0 1 X 1 X X 0 0
1 0 X X 0 X 0 1
1 0 X X 1 X 0 0
1 1 X X X 0 0 1
1 1 X X X 1 0 0
74xx
INPUTS OUTPUTS
OE0 OE1 In Yn Yn
0 0 0 0 1
0 0 1 1 0
X 1 X Z Z
1 X X Z Z
TTL
74xx
A B Y
0 0 1
1 0 1
0 1 1
1 1 0
OUTPUT ENABLE
TTL
OUTPUT ENABLE
D C Q Q
0 1 0 1
1 1 1 0
X 0 Q0 Q0
G CLK DATA Q Q
1 X X Q0 Q0
0 · 1 1 0
0 · 0 0 1
X 0 X QO Q0
74xx
G CLK DATA Q Q
1 X X Q0 Q0
0 · 1 1 0
0 · 0 0 1
X 0 X QO Q0
INPUTS OUTPUTS
G CLK DATA Q Q
1 X X Q0 Q0
0 · 1 1 0
0 · 0 0 1
X 0 X Q0 Q0
TTL
A B Y
0 0 1
1 0 1
0 1 1
1 1 0
A B Y
0 0 1
1 0 1
0 1 1
1 1 0
74xx
OUTPUT
COUNT
QD QC QB QA
0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
Notes:
Output QA is connected to input B for BCD count.
OUTPUT
COUNT
QA QD QC QB
0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 1 0 0 0
6 1 0 0 1
7 1 0 1 0
8 1 0 1 1
9 1 1 0 0
Notes:
Output QD is connected to input A for bi-quinary.
TTL
OUTPUT
COUNT
QD QC QB QA
0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
10 1 0 1 0
11 1 0 1 1
12 1 1 0 0
13 1 1 0 1
14 1 1 1 0
15 1 1 1 1
74xx
0 X X X X X X X X Z Z Z Z QD
1 0 X X X X X X X 0 0 0 0 0
1 1 1 1 X X X X X NO CHANGE
1 1 1 Ø X A B C D QA QB QC QD QD
1 1 0 1 X X X X X NO CHANGE
1 1 0 Ø 1 X X X X 1 QA QB QC QC
1 1 0 Ø 0 X X X X 0 QA QB QC QC
INPUTS OUTPUT
A B C D Y
1 1 1 1 0
0 X X X 1
X 0 X X 1
X X 0 X 1
X X X 0 1
TTL
No. D C B A 0 1 2 3 4 5 6 7 8 9
0 0 0 0 0 0 1 1 1 1 1 1 1 1 1
1 0 0 0 1 1 0 1 1 1 1 1 1 1 1
2 0 0 1 0 1 1 0 1 1 1 1 1 1 1
3 0 0 1 1 1 1 1 0 1 1 1 1 1 1
4 0 1 0 0 1 1 1 1 0 1 1 1 1 1
5 0 1 0 1 1 1 1 1 1 0 1 1 1 1
6 0 1 1 0 1 1 1 1 1 1 0 1 1 1
7 0 1 1 1 1 1 1 1 1 1 1 0 1 1
8 1 0 0 0 1 1 1 1 1 1 1 1 0 1
9 1 0 0 1 1 1 1 1 1 1 1 1 1 0
1 0 1 0 1 1 1 1 1 1 1 1 1 1
1 0 1 1 1 1 1 1 1 1 1 1 1 1
1 1 0 0 1 1 1 1 1 1 1 1 1 1
1 1 0 1 1 1 1 1 1 1 1 1 1 1
INVALID
1 1 1 0 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1
74xx
No. D C B A 0 1 2 3 4 5 6 7 8 9
0 0 0 1 1 0 1 1 1 1 1 1 1 1 1
1 0 1 0 0 1 0 1 1 1 1 1 1 1 1
2 0 1 0 1 1 1 0 1 1 1 1 1 1 1
3 0 1 1 0 1 1 1 0 1 1 1 1 1 1
4 0 1 1 1 1 1 1 1 0 1 1 1 1 1
5 1 0 0 0 1 1 1 1 1 0 1 1 1 1
6 1 0 0 1 1 1 1 1 1 1 0 1 1 1
7 1 0 1 0 1 1 1 1 1 1 1 0 1 1
8 1 0 1 1 1 1 1 1 1 1 1 1 0 1
9 1 1 0 0 1 1 1 1 1 1 1 1 1 0
1 1 0 1 1 1 1 1 1 1 1 1 1 1
1 1 1 0 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 1 1 1 1 1 1 1 1 1 1
INVALID
0 0 0 1 1 1 1 1 1 1 1 1 1 1
0 0 1 0 1 1 1 1 1 1 1 1 1 1
TTL
EXCESS-3-GRAY
DECIMAL OUTPUT
INPUT
No. D C B A 0 1 2 3 4 5 6 7 8 9
0 0 0 1 0 0 1 1 1 1 1 1 1 1 1
1 0 1 1 0 1 0 1 1 1 1 1 1 1 1
2 0 1 1 1 1 1 0 1 1 1 1 1 1 1
3 0 1 0 1 1 1 1 0 1 1 1 1 1 1
4 0 1 0 0 1 1 1 1 0 1 1 1 1 1
5 1 1 0 0 1 1 1 1 1 0 1 1 1 1
6 1 1 0 1 1 1 1 1 1 1 0 1 1 1
7 1 1 1 1 1 1 1 1 1 1 1 0 1 1
8 1 1 1 0 1 1 1 1 1 1 1 1 0 1
9 1 0 1 0 1 1 1 1 1 1 1 1 1 0
1 0 1 1 1 1 1 1 1 1 1 1 1 1
1 0 0 1 1 1 1 1 1 1 1 1 1 1
1 0 0 0 1 1 1 1 1 1 1 1 1 1
0 0 0 0 1 1 1 1 1 1 1 1 1 1
INVALID
0 0 0 1 1 1 1 1 1 1 1 1 1 1
0 0 1 1 1 1 1 1 1 1 1 1 1 1
74xx
TTL
74xx
BCD-to-seven-segment decoder:
INPUTS OUTPUTS
BI/
No. LT RBI D C B A a b c d e f g
RBO
0 1 1 0 0 0 0 1 1 1 1 1 1 1 0
1 1 X 0 0 0 1 1 0 1 1 0 0 0 0
2 1 X 0 0 1 0 1 1 1 0 1 1 0 1
3 1 X 0 0 1 1 1 1 1 1 1 0 0 1
4 1 X 0 1 0 0 1 0 1 1 0 0 1 1
5 1 X 0 1 0 1 1 1 0 1 1 0 1 1
6 1 X 0 1 1 0 1 0 0 1 1 1 1 0
7 1 X 0 1 1 1 1 1 1 1 0 0 0 0
8 1 X 1 0 0 0 1 1 1 1 1 1 1 1
9 1 X 1 0 0 1 1 1 1 1 0 0 1 1
10 1 X 1 0 1 0 1 0 0 0 1 1 0 1 I
11 1 X 1 0 1 1 1 0 0 1 1 0 0 1 < N
12 1 X 1 1 0 0 1 0 1 0 0 0 1 1 V
13 1 X 1 1 0 1 1 1 0 0 1 0 1 1 < A
L
14 1 X 1 1 1 0 1 0 0 0 1 1 1 1
I
15 1 X 1 1 1 1 1 0 0 0 0 0 0 0
D
BI X X X X X X 0 0 0 0 0 0 0 0
RBI 1 0 0 0 0 0 0 0 0 0 0 0 0 0
LT 0 X X X X X 1 1 1 1 1 1 1 1
TTL
G1 G2 A Y
0 0 0 1
0 0 1 0
1 0 X Z
0 1 X Z
1 1 X Z
74xx
TTL
BCD-to-seven-segment decoder:
INPUTS OUTPUTS
BI/
No. LT RBI D C B A a b c d e f g
RBO
0 1 1 0 0 0 0 1 1 1 1 1 1 1 0
1 1 X 0 0 0 1 1 0 1 1 0 0 0 0
2 1 X 0 0 1 0 1 1 1 0 1 1 0 1
3 1 X 0 0 1 1 1 1 1 1 1 0 0 1
4 1 X 0 1 0 0 1 0 1 1 0 0 1 1
5 1 X 0 1 0 1 1 1 0 1 1 0 1 1
6 1 X 0 1 1 0 1 0 0 1 1 1 1 0
7 1 X 0 1 1 1 1 1 1 1 0 0 0 0
8 1 X 1 0 0 0 1 1 1 1 1 1 1 1
9 1 X 1 0 0 1 1 1 1 1 0 0 1 1
10 1 X 1 0 1 0 1 0 0 0 1 1 0 1 INVA
11 1 X 1 0 1 1 1 0 0 1 1 0 0 1 < LID
12 1 X 1 1 0 0 1 0 1 0 0 0 1 1 <
13 1 X 1 1 0 1 1 1 0 0 1 0 1 1 <
14 1 X 1 1 1 0 1 0 0 0 1 1 1 1
15 1 X 1 1 1 1 1 0 0 0 0 0 0 0
BI X X X X X X 0 0 0 0 0 0 0 0
RBI 1 0 0 0 0 0 0 0 0 0 0 0 0 0
LT 0 X X X X X 1 1 1 1 1 1 1 1
74xx
6.4.13574xx51 (AND-OR-INVERTER)
AND-OR INVERTER gate truth table:
A B C D Y
0 X X 0 1
X 0 0 X 1
0 X 0 X 1
X 0 X 0 1
1 1 X X 0
X X 1 1 0
TTL
74xx
INPUTS OUTPUT
A B C D E F G H Y
1 1 X X X X X X 0
X X 1 1 X X X X 0
X X X X 1 1 X X 0
X X X X X X 1 1 0
X X X X X X X X 1
INPUTS OUTPUT
A B C D E F G H Y
1 1 1 1 1 1 1 1 0
1 1 1 1 X X X X 0
X X X X 1 1 1 1 0
X X X X X X X X 1
TTL
buffers are in the high impedance mode but this does not interfere with entering new data into
the latches.
74xx
TTL
1CLR 2CLR 1QA 1QB 1QC 1QD 2QA 2QB 2QC 2QD
1 1 COUNT COUNT
1 0 COUNT 0 0 0 0
0 1 0 0 0 0 COUNT
0 0 0 0 0 0 0 0 0 0
74xx
CLR CLK J K Q Q
0 X X X 0 1
1 · 0 0 Hold
1 · 1 0 1 0
1 · 0 1 0 1
1 · 1 1 Toggle
· = positive edge-triggered
TTL
INPUTS OUTPUTS
D C Q Q
0 1 0 1
1 1 1 0
X 0 Q0 Q0
D C L H
0 1 1 0
1 1 1 0
X 0 Hold
74xx
* = This configuration will not persist when preset and clear are inactive.
Ø = Transition from high to low.
TTL
INPUTS OUTPUTS
WHEN CO = L WHEN CO = H
A1 B1 A2 B2 S1 S2 C2 S1 S2 C2
0 0 0 0 0 0 0 1 0 0
1 0 0 0 1 0 0 0 1 0
0 1 0 0 1 0 0 0 1 0
1 1 0 0 0 1 0 1 1 0
0 0 1 0 0 1 0 1 1 0
1 0 1 0 1 1 0 0 0 1
0 1 1 0 1 1 0 0 0 1
1 1 1 0 0 0 1 1 0 1
0 0 0 1 0 1 0 1 1 0
1 0 0 1 1 1 0 0 0 1
0 1 0 1 1 1 0 0 0 1
1 1 0 1 0 0 1 1 0 1
0 0 1 1 0 0 1 1 0 1
1 0 1 1 1 0 1 0 1 1
0 1 1 1 1 0 1 0 1 1
1 1 1 1 0 1 1 1 1 1
74xx
outputs. When the OE is HIGH, the outputs go to the high impedance state. Operation of the
OE input does not affect the state of the flip-flops.
TTL
HIGH, the outputs do not change state regardless of the data or clock inputs transitions. This
device is ideal for parity bus interfacing in high performance systems.
74xx
When the EN is HIGH the outputs do not change state, regardless of the data or clock input
transitions.
TTL
COMPARING CASCADING
OUTPUTS
INPUTS INPUTS
A3, B3 A2, B2 A1, B1 A0, B0 A>B A<B A=B A>B A<B A=B
A3>B3 X X X X X X 1 0 0
A3<B3 X X X X X X 0 1 0
A3=B3 A2>B2 X X X X X 1 0 0
A3=B3 A2<B2 X X X X X 0 1 0
A3=B3 A2=B2 A1>B1 X X X X 1 0 0
A3=B3 A2=B2 A1<B1 X X X X 0 1 0
A3=B3 A2=B2 A1=B1 A0>B0 X X X 1 0 0
A3=B3 A2=B2 A1=B1 A0<B0 X X X 0 1 0
A3=B3 A2=B2 A1=B1 A0=B0 1 0 0 1 0 0
A3=B3 A2=B2 A1=B1 A0=B0 0 1 0 0 1 0
A3=B3 A2=B2 A1=B1 A0=B0 0 0 1 0 0 1
A3=B3 A2=B2 A1=B1 A0=B0 X X 1 0 0 1
A3=B3 A2=B2 A1=B1 A0=B0 1 1 0 0 0 0
A3=B3 A2=B2 A1=B1 A0=B0 0 0 0 1 1 0
A3=B3 A2=B2 A1=B1 A0=B0 0 1 1 0 1 1
A3=B3 A2=B2 A1=B1 A0=B0 1 0 1 1 0 1
A3=B3 A2=B2 A1=B1 A0=B0 1 1 1 1 1 1
A3=B3 A2=B2 A1=B1 A0=B0 1 1 0 1 1 0
A3=B3 A2=B2 A1=B1 A0=B0 0 0 0 0 0 0
74xx
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
A B Qh Qh
1 1 1 0
0 X 0 1
X 0 0 1
TTL
RO1 RO2 Qd Qc Qb Qa
1 1 0 0 0 0
0 X Count
X 0 Count
RO1 RO2 Qd Qc Qb Qa
1 1 0 0 0 0
0 X Count
X 0 Count
Chapter 7
CMOS
CMOS
are greater for CMOS than for TTL, except for the 74 ACT series. These series are designed
to be electrically comparable with TTL, so they must accept the same input voltage levels as
TTL.
O1 = I1+I2+I3
I1 I2 O1
0 0 1
1 0 0
0 1 0
1 1 0
CMOS
S = CIN ⊕ A ⊕ B
C = AB+BCOUT+ACOUT
I1 I2 O1
0 0 1
1 0 1
0 1 1
1 1 0
O1 = I1+I2+I3+I4
CMOS
The 4013 device is a dual D-type flip-flop that features independent set direct (SD), clear
direct (CD), clock inputs (CP) and outputs (O,O).
SD CD CP D O O
1 0 X X 1 0
0 1 X X 0 1
1 1 X X 1 1
0 0 · 0 0 1
0 0 · 1 1 0
· = positive edge-triggered
Serial Operation:
INPUTS OUTPUTS
n PE DS >CLK P0 P1 P2 P3 P4 P5 P6 P7 O5 O6 O7
1 0 D1 · X X X X X X X X X X X
2 0 D2 · X X X X X X X X X X X
3 0 D3 · X X X X X X X X X X X
4 0 D4 · X X X X X X X X X X X
5 0 D5 · X X X X X X X X X X X
6 0 D6 · X X X X X X X X D1 X X
7 0 D7 · X X X X X X X X D2 D1 X
9 0 D8 · X X X X X X X X D3 D2 D1
10 0 D9 · X X X X X X X X D4 D3 D2
X X X ‚ X X X X X X X X no change
Parallel Operation:
INPUTS OUTPUTS
PE DS >CLK P0 P1 P2 P3 P4 P5 P6 P7 O5 O6 O7
1 X · X X X X X X X X P5 P6 P7
1 X ‚ X X X X X X X X no change
CMOS
n CP D MR O0 O1 O2 O3
1 · D1 0 D1 X X X
2 · D2 0 D2 D1 X X
3 · D3 0 D3 D2 D1 X
4 · D4 0 D4 D3 D2 D1
‚ X 0 no change
X X 1 0 0 0 0
The 40160 device is a fully synchronous edge-triggered 4-bit decade counter with a clock
input (CP), an overriding asynchronous master reset (MR), four parallel data inputs (P0 to
P3), three synchronous mode control inputs (parallel enable (PE), count enable parallel
(CEP) and count enable trickle (CET)), buffered outputs from all four bit positions (O0 to
O3) and a terminal count output (TC).
The 40161 device is a fully synchronous edge-triggered 4-bit binary counter with a clock
input (CP), an overriding asynchronous master reset (MR), four parallel data inputs (P0 to
P3), three synchronous mode control inputs (parallel enable (PE), count enable parallel
(CEP) and count enable trickle (CET)), buffered outputs from all four bit positions (O0 to
O3) and a terminal count output (TC).
The 40162 device is a fully synchronous edge-triggered 4-bit decade counter with a clock
input (CP), four synchronous parallel data inputs (P0 to P3), four synchronous mode
control inputs (parallel enable (PE), count enable parallel (CEP) and count enable trickle
(CET)), and synchronous reset (SR)), buffered outputs from all four bit positions (O0 to
O3) and a terminal count output (TC).
The 40163 device is a fully synchronous edge-triggered 4-bit binary counter with a clock
input (CP), four synchronous parallel data inputs (P0 to P3), four synchronous mode
control inputs (parallel enable (PE), count enable parallel (CEP) and count enable trickle
(CET)), and synchronous reset (SR)), buffered outputs from all four bit positions (O0 to
O3) and a terminal count output (TC).
The 4017 device is a 5-stage Johnson decade counter with ten spike-free decoded active
HIGH outputs (O0 to O9), an active LOW output from the most significant flip-flop (O5-9),
active HIGH and active LOW clock inputs (CP0, CP1) and an overriding asynchronous
master reset input (MR).
CMOS
The 40174 device is a hex edge-triggered D-type flip-flop with six data inputs (D0 to D5), a
clock input (CP), an overriding asynchronous master reset input (MR), and six buffered
outputs (Q0 to Q5).
This device is a quadruple edge-triggered D-type flip-flop with four data inputs (D0 to D3),
a clock input (CP), an overriding asynchronous master rest input (MR), four buffered
outputs (Q0 to Q3), and four complementary buffered outputs (Q0 to Q3).
INPUTS OUTPUTS
CP D MR Q Q
1 1 1 0
0 1 0 1
X 1 no change no change
X X 0 0 1
CMOS
The 4018 device is a 5-stage Johnson counter with a clock input (CP), a data input (D), an
asynchronous parallel load input (PL), five parallel inputs (P0 to P4), five active LOW
buffered outputs (O0 to O4), and an overriding asynchronous master reset input (MR).
The 40192 device is a 4-bit synchronous up/down decade counter with a count-up clock
input (CPU), a count-down clock input (CPD), an asynchronous parallel load input (PL),
four parallel data inputs (P0 to P3), an asynchronous master reset input (MR), four counter
outputs (O0 to O3), an active LOW terminal count-up (carry) output (TCU) and an active
LOW terminal count-down (borrow) output (TCD).
The 40193 device is a 4-bit synchronous up/down binary counter with a count-up clock
input (CPU), a count-down clock input (CPD), an asynchronous parallel load input (PL),
four parallel data inputs (P0 to P3), an asynchronous master reset input (MR), four counter
outputs (O0 to O3), an active LOW terminal count-up (carry) output (TCU) and an active
LOW terminal count-down (borrow) output (TCD).
CMOS
The 40194 device is a 4-bit bidirectional shift register with two mode control inputs (S0 and
S1), a clock input (CP), a serial data shift left input (DSL), a serial data shift right input
(DSR), four parallel data inputs (P0 to P3), an overriding asynchronous master reset input
(MR), and four buffered parallel outputs (O0 to O3).
The 40195 device is a fully synchronous edge-triggered 4-bit shift register with a clock
input (CP), four synchronous parallel data inputs (P0 to P3), two synchronous serial data
inputs (J, K), a synchronous parallel enable input (PE), buffered parallel outputs from all 4-
bit positions (O0 to O3), a buffered inverted output from the last bit position (O3) and an
overriding asynchronous master reset input (MR).
The 4020 device is a 14-stage binary ripple counter with a clock input (CP), an overriding
asynchronous master reset input (MR) and twelve fully buffered outputs.
I1 I2 I3 O1
0 0 0 1
1 0 0 1
0 1 0 1
1 1 0 1
0 0 1 1
1 0 1 1
0 1 1 1
1 1 1 0
CMOS
SD CD CP J K On On
1 0 X X X 1 0
0 1 X X X 0 1
1 1 X X X 1 1
0 0 · 0 0 Hold
0 0 · 1 0 1 0
0 0 · 0 1 0 1
0 0 · 1 1 Toggle
CMOS
The 4029 is a synchronous edge-triggered up/down 4-bit binary/BCD decade counter with a
clock input (CP), an active LOW count enable input (CE), an up/down control input (UP/
DN), a binary/decade control input (BIN/DEC), an overriding asynchronous active HIGH
parallel load input (PL), four parallel data inputs (P0 to P3), four parallel buffered outputs
(O0 to O3) and an active LOW terminal count output (TC).
CMOS
The 4035 device is a fully synchronous edge-triggered 4-bit shift register with a clock input
(CP), four synchronous parallel data inputs (P0 to P3), two synchronous serial data inputs
(J, K), a synchronous parallel enable input (PE), buffered parallel outputs from all 4-bit
positions (O0 to O3), a true/complement input (T/C) and an overriding asynchronous
master reset input (MR).
Following are two shift register truth tables.
INPUTS OUTPUT
CP J K MR O0+1 MODE OF OPERATION
1 1 0 1 D flip-flop
0 0 0 0 D flip-flop
1 0 0 O0 toggle
0 1 0 O0 no change
X X X 1 0 reset
Parallel operation:
INPUTS OUTPUTS
CP
P0 P1 P2 P3 O0 O1 O2 O3
0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1
= positive-going transition
1 = HIGH state (the more positive voltage)
0 = LOW state (the less positive voltage)
X = state is immaterial
CMOS
This device provides both inverted and non-inverted buffered outputs for each input.
Logic function:
O = I
O = I
EO Sn Rn On
0 X X Z
1 0 1 0
1 1 X 1
1 0 0 Latched
CMOS
C A B
0 Z
1 <->
O1 = I0I1I2I3I4I5I6I7
INPUTS I0 THROUGH I7 O1
All inputs 1 0
One or more inputs |
CMOS
CMOS
The 4076 device is a quadruple edge-triggered D-type flip-flop with four data inputs (D0 to
D3), two active LOW data enable inputs (ED0 and (ED1), a common clock input (CP), four
3-state outputs (O0 to O3), two active LOW output enable inputs (EO0 and EO1), and an
overriding asynchronous master reset input (MR).
An Bn On
0 0 1
0 1 0
1 0 0
1 1 1
CMOS
INPUTS OUTPUT
I0 I1 I2 I3 I4 I5 I6 I7 O1
0 0 0 0 0 0 0 0 1
1 X X X X X X X 0
X 1 X X X X X X 0
X X 1 X X X X X 0
X X X 1 X X X X 0
X X X X 1 X X X 0
X X X X X 1 X X 0
X X X X X X 1 X 0
X X X X X X X 1 0
Logic function:
Y = ABCD
A B C D Y
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 0
0 1 1 0 0
0 1 1 1 0
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 0
1 1 0 0 0
1 1 0 1 0
1 1 1 0 0
1 1 1 1 1
OA = A0•A1+A2•A3+A4
OB = B0•B1+B2•B3+B4
CMOS
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
CMOS
0 X X Z Z O6 nc
0 X X Z Z nc O7
1 0 X nc nc O6 nc
1 1 0 0 On-1 O6 nc
1 1 1 1 On-1 O6 nc
1 1 1 nc nc nc O7
CMOS
Z = High impedance
X = Don’t care
INPUTS OUTPUTS
DISPLAY EL BI LT D C B A a b c d e f g
8 X X 0 0 0 0 0 1 1 1 1 1 1 0
X 0 1 0 0 0 0 1 1 1 1 1 1 0
0 0 1 1 0 0 0 0 1 1 1 1 1 1 0
1 0 1 1 0 0 0 1 0 1 1 0 0 0 0
2 0 1 1 0 0 1 0 1 1 0 1 1 0 1
3 0 1 1 0 0 1 1 1 1 1 1 0 0 1
4 0 1 1 0 1 0 0 0 1 1 0 0 1 1
5 0 1 1 0 1 0 1 1 0 1 1 0 1 1
6 0 1 1 0 1 1 0 0 0 1 1 1 1 0
7 0 1 1 0 1 1 1 1 1 1 0 0 0 0
8 0 1 1 1 0 0 0 1 1 1 1 1 1 1
9 0 1 1 1 0 0 1 1 1 1 0 0 1 1
0 1 1 1 0 1 0 0 0 0 1 1 0 1
0 1 1 1 0 1 1 0 0 1 1 0 0 1
0 1 1 1 1 0 0 0 1 0 0 0 1 1
0 1 1 1 1 0 1 1 0 0 1 0 1 1
0 1 1 1 1 1 0 0 0 0 1 1 1 1
0 1 1 1 1 1 1 0 0 0 0 0 0 0
* 1 1 1 0 0 0 0 *
CMOS
CMOS
CMOS
The 4526 device is a synchronous programmable 4-bit binary down counter with an active
HIGH and an active LOW clock input (CP0, CP1), an asynchronous parallel load input
(PL), four parallel inputs (P0 to P3), a cascade feedback input (CF), four buffered parallel
outputs (O0 to O3), a terminal count output (TC) and an overriding asynchronous master
reset input (MR).
CMOS
Truth table:
INPUTS OUTPUTS
I0 I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 O
0 0 0 0 0 0 0 0 0 0 0 0 0 0
any odd number of inputs HIGH 1
any even number of inputs HIGH 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1
The 4539 device is a dual 4-input multiplexer with common select logic. Each multiplexer
has four multiplexer inputs (I0 to I3), an active LOW enable input (E) and a multiplexer
output (O).
CMOS
INPUTS OUTPUTS
RBI LD B1 Ph * D C B A RBO a b c d e f g DISPLAY
X X 1 0 X X X X 0 0 0 0 0 0 0 BLANK
1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 BLANK
0 1 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0
X 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0 1
X 1 0 0 0 0 1 0 0 1 1 0 1 1 0 1 2
X 1 0 0 0 0 1 1 0 1 1 1 1 0 0 1 3
X 1 0 0 0 1 0 0 0 0 1 1 0 0 1 1 4
X 1 0 0 0 1 0 1 0 1 0 1 1 0 1 1 5
X 1 0 0 0 1 1 0 0 1 0 1 1 1 1 1 6
X 1 0 0 0 1 1 1 0 1 1 1 0 0 0 0 7
X 1 0 0 1 0 0 0 0 1 1 1 1 1 1 1 8
X 1 0 0 1 0 0 1 0 1 1 1 1 0 1 1 9
X 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 BLANK
X 1 0 0 1 0 1 1 0 0 0 0 0 0 0 0 BLANK
X 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 BLANK
X 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 BLANK
X 1 0 0 1 1 1 0 0 0 0 0 0 0 0 0 BLANK
X 1 0 0 1 1 1 1 0 0 0 0 0 0 0 0 BLANK
X 0 0 0 X X X X ** **
† † † † † † Inverse of Output Display as
Combinations Above above
X Don’t care
† Above combinations
*
**
RBO=RBI • (ABCD)
The 4555 device is a dual 1-of-4 decoder/demultiplexer. Each has two address inputs (A0
and A1), an active LOW enable input (E) and four mutually exclusive outputs that are active
HIGH (O0 to O3).
CMOS
Tiny Logic
7.3.1 NC7S00
This device contains a single 2-input NAND gate.
Logic function:
Y = AB
CMOS
7.3.2 NC7S02
This device contains a single 2-input NOR gate.
Logic function:
Y = A+B
7.3.3 NC7S04
This device contains a single inverter.
Logic function:
Y = A
Tiny Logic
7.3.4 NC7S08
This device contains a single 2-input AND gate.
Logic function:
Y = AB
A B Y
0 0 0
1 0 0
0 1 0
1 1 1
7.3.5 NC7S32
This device contains a single 2-input OR gate.
Logic function:
Y = A+B
CMOS
7.3.6 NC7S86
This device contains a single 2-input exclusive-OR gate.
Exclusive-OR gate truth table:
INPUTS OUTPUT
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
7.3.7 NC7ST00
This device contains a single 2-input NAND gate.
Logic function:
Y = AB
7.3.8 NC7ST02
This device contains a single 2-input NOR gate.
Logic function:
Y = A+B
Tiny Logic
7.3.9 NC7ST04
This device contains a single inverter.
Logic function:
Y = A
7.3.10 NC7ST08
This device contains a single 2-input AND gate.
Logic function:
Y = AB
CMOS
7.3.11 NC7ST32
This device contains a single 2-input OR gate.
Logic function:
Y = A+B
7.3.12 NC7ST86
This device contains a single 2-input exclusive-OR gate.
Exclusive-OR gate truth table:
INPUTS OUTPUT
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
7.3.13 NC7SU04
This device contains a single unbuffered inverter.
Logic function:
Y = A
Tiny Logic
7.3.14 NC7SZ00
This device contains a single UHS (ultra high-speed) 2-input NAND gate.
Logic function:
Y = AB
7.3.15 NC7SZ02
This device contains a single UHS (ultra high-speed) 2-input NOR gate.
Logic function:
Y = A+B
CMOS
7.3.16 NC7SZ04
This device contains a single UHS (ultra high-speed) inverter.
Logic function:
Y = A
7.3.17 NC7SZ05
This device contains a single UHS (ultra high-speed) inverter with open drain output.
Logic function:
Y = A
7.3.18 NC7SZ08
This device contains a single UHS (ultra high-speed) 2-input AND gate.
Logic function:
Y = AB
Tiny Logic
7.3.19 NC7SZ125
This device contains a single UHS (ultra high-speed) buffer with 3-state output.
BUFFER gate truth table:
A Y
0 0
1 1
7.3.20 NC7SZ126
This device contains a single UHS (ultra high-speed) buffer with 3-state output.
BUFFER gate truth table:
A Y
0 0
1 1
7.3.21 NC7SZ32
This device contains a single UHS (ultra high-speed) 2-input OR gate.
Logic function:
Y = A+B
CMOS
7.3.22 NC7SZ38
This device contains a single UHS (ultra high-speed) 2-input NAND gate with open drain
output.
Logic function:
Y = AB
A B Y
0 0 1
1 0 1
0 1 1
1 1 0
7.3.23 NC7SZ86
This device contains a single UHS (ultra high-speed) 2-input exclusive-OR gate.
Exclusive-OR gate truth table:
INPUTS OUTPUT
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
Tiny Logic
7.3.24 NC7SZU04
This device contains a single UHS (ultra high-speed) unbuffered inverter.
Logic function:
Y = A
CMOS
Chapter 8
Advanced Peripherals
The devices documented in this chapter are not available in all versions of Multisim.
8.1 Keypads
These devices are not available in all versions of Multisim.
This device is a 4X4 numeric keypad. While the circuit is simulating, press a key on your
keyboard to “press” the same key on this device. You can also hover your cursor over the
desired key on the keypad and click to “press” the key.
Advanced Peripherals
This device is a 4X5 numeric keypad. While the circuit is simulating, press a key on your
keyboard to “press” the same key on this device. You can also hover your cursor over the
desired key on the keypad and click to “press” the key.
This device is a Dual Tone Multi-Frequency keypad. The DTMF keypad is laid out in a 4×4
matrix, with each row representing a low frequency, and each column representing a high
frequency.
While the circuit is simulating, press a key on your keyboard to “press” the same key on this
device. You can also hover your cursor over the desired key on the keypad and click to
“press” the key.
LCDs
8.2 LCDs
This feature is not available in all versions of Multisim.
The number of characters available for display changes depending on the LCD selected (e.g.,
16x1 in the LCD shown above). The controller for these devices is based on the Hitachi 44780
LCD controller.
Pins on the LCDs are:
• VCC — Supply Voltage
• CV — Contrast Voltage
• GND — Ground
• RS — Instruction/Register Select
• RW — Read/Write LCD Registers
• E — Clock. Initiates data transfer within the LCD
• D0 to D7 — Data I/O pins.
To set the LCD’s character set and trigger type:
1. Double-click on the placed LCD and click the Value tab.
2. Adjust the following as desired:
• Base Character Set — choose one of: 0 for Hitachi; 1 for Intel/Motorola
• Character Subset — if you chose 1 for the Base Character Set, choose one of: 28 for
European; 29 for Katakana; 30 for Cyrillic; 31 for Hebrew
• Trigger Type — choose 0 for High Level; 1 for Falling Edge.
3. Click OK to close the dialog box and save the changes to the device.
Advanced Peripherals
Instruction Set
RS RW D7 D6 D5 D4 D3 D2 D1 D0 Description
4 5 14 13 12 11 10 9 8 7 Pins
0 0 0 0 0 0 0 0 0 1 Clear display
0 0 0 0 0 0 1 D C * Enable Display/Cursor
LCDs
This device emulates the behavior of a graphical LCD and controller. The controller is based
on the Toshiba T6963C controller.
Note For a demonstration of this part, refer to the Multisim MCU Module chapter of
Getting Started with NI Circuit Design Suite.
The following information is included in this section:
• Features
• Pin Descriptions
• Basic Commands
For more detailed information on the T6963C controller, including datasheets, National
Instruments recommends that you check the internet.
Advanced Peripherals
Features
• Supports three modes: Graphics, Text, Graphic + Text
• Up to 256 x 256 pixel display resolution
• Displays in two colors
• Display columns in Text mode: 32 - 50
• Display lines in Text mode: 2 - 32
• Font Width: 5, 6, 7, 8
• Font Height: 8
• Maximum number of the characters is 256; 0 – 127 in ROM area (character code 0101)
• 20 pins with 8 data pins (Pin definition is based on Futurlec T6963 LCD)
• Command system based on Toshiba T6963C
• Single-scan memory mode
• Internal memory RAM: 12kB (minimum required size, T6963 allows maximum of 64 kB)
Pin Descriptions
FG 1 — Frame Ground
VSS 2 — GND (0 V)
HALT 10 Input H ······ Normal, L ······ Stops the oscillation of the clock
LCDs
D0 to D7 12-19 I/O Data I / O pins between CPU and T6963C (D7 is MSB)
NC 20 No Connect
Basic Commands
REGISTERS 00100001 TCX address TCY addr.ess Set Cursor Pointer 21H
SETTING 00100010 Data 00H Set Offset Register 22H
00100100 Low address High addr.ess Set Address Pointer 23H
SET CONTROL 01000000 Low address Low address Set Text Home Address 40H
WORD 01000001 Columns TA 00H Set Text Area 41H
01000010 Low address Low address Set Graphic Home Address 42H
01000011 Columns GA 00H Set Graphic Area 43H
Advanced Peripherals
DATA READ/ 11000000 Data -- Data Write and Increment ADP C0H
WRITE 11000001 -- -- Data Read and Increment ADP C1H
11000010 Data -- Data Write and Decrement ADP C2H
11000011 -- -- Data Read and Decrement ADP C3H
11000100 Data -- Data Write and Nonvariable ADP C4H
11000101 -- -- Data Read and Nonvariable ADP C5H
This device interfaces with the serial port that is used in conjunction with Multisim MCU’s
microcontroller devices.
It includes a virtual terminal window where you can type characters on your keyboard. When
a simulation is running, the virtual terminal does not normally display the characters that you
type into it. The terminal just sends the characters that are typed into its window through its
TxD pin at the baud rate that it is set to in its properties dialog. The terminal displays any
characters that it receives through its RxD pin.
Virtual Terminal
Advanced Peripherals
Chapter 9
Misc. Digital Components
This component has a high output only when all inputs are high.
Boolean Expression:
y = a∗ b
y = a& b
9.1.2 OR Gate
This component has a high output when at least one input is high.
OR gate truth table:
a b y
0 0 0
0 1 1
1 0 1
1 1 1
Boolean Expression:
y = a+b
y=a b
TIL Components
This component inverts, or complements, the input signal. If the input is high, the output is
low, and vice versa.
Boolean Expression:
y = a′
y=a
This component is a NOT OR, or an inverted OR gate. Its output is high only when all the
inputs are low. Using a NOR gate is the same as having a NOT gate at the output of an OR
gate.
NOR gate truth table:
a b y
0 0 1
0 1 0
1 0 0
1 1 0
Boolean Expression:
′
y = ( a + b)
y = a +b
This component is a NOT AND, or inverted AND, gate. Its output is low only when all inputs
are high. Using a NAND gate is the same as having a NOT gate at the output of an AND gate.
a b y
0 0 1
0 1 1
1 0 1
1 1 0
Boolean Expression:
′
y = ( a∗ b)
y = a∗ b
This component has a high output when an odd number of inputs (1, 3, 5, etc.) is high. An
even number of high inputs generates a low output.
TIL Components
Boolean Expression:
y = a ⊕b
y = a ′b ′ + ab ′
This component has a high output when an even number of inputs (2, 4, 6, etc.) is high. An
odd number of high inputs generates a low output.
Boolean Expression:
y = a⊕b
y = ( a ′ b + ab ′ ) ′
This component is a non-inverting buffer with a three-state output. It has a greater fan-out and
offers a high-current source and sink capability for driving high-current loads. The buffer has
an active-high enable input.
If the device is not “enabled”, then the buffer output goes into a high-impedance (Z) state. In
this state, the output pin is effectively disconnected from the rest of the circuit. Thus, the
buffer is useful for circuits where outputs from different digital devices meet at the same
node.
Truth table:
enable
input output
input
1 1 1
0 1 0
X 0 Z
9.1.9 Buffer
This component is a non-inverting buffer. It has a greater fan-out and offers a high-current
source and sink capability for driving high-current loads.
TIL Components
Truth table:
input output
1 1
0 0
Note When using a buffer, set it up using the Models tab of the Circuit/Component
Properties dialog box. Select the LS-BUF or LS-OC-BUF model if the buffer is being
used as a TTL device. Select HC-BUF or HC-OD-BUF if the buffer is being used as a
CMOS device. Otherwise, by default, the buffer will behave as a regular digital device
without any high-current capabilities.
where:
V+g+ = 1.6 V (Vih)
V+g- = 0.9 V (Vil)
A digital pull-down resistor emulates the behavior of an analog resistance value tied to a low
voltage level.
A digital pull-up resistor emulates the behavior of an analog resistance value tied to a high
voltage level.
The digital state machine’s model can be configured to act as most types of counter or clocked
combinational logic blocks. Use this device to replace large digital schematics.
TIL Components
9.1.14 BCD_7SEG_DCD
This device is a generic BCD to 7 -segment decoder, which is used to convert the output of a
BCD counter into a form that will drive a 7-segment display.
INPUTS OUTPUTS
S OF H’s AT A S S
EVEN ODD
THRU H EVEN ODD
Even 1 0 1 0
Odd 1 0 0 1
Even 0 1 0 1
Odd 0 1 1 0
X 1 1 0 0
X 0 0 1 1
G A/B A B Y
1 X X X 1
0 0 0 X 1
0 0 1 X 0
0 1 X 0 1
0 1 X 1 0
9.2 VHDL
VHDL (Very High Speed Integrated Circuit (VHSIC) Hardware Description Language) is
designed to describe the behavior of complex digital devices. For this reason it is referred to
as a "behavioral level" language; it can use behavioral level models (instead of transistor/gate
level, like SPICE) to describe the behavior of these devices.
The VHDL Family contains a number of VHDL-modeled components, including:
• Quad NAND gates
• Quad NOR gates
• Quad AND gates
• Inverters
• Buffers
• Counters
• Drivers
• MUXs
• Flip-flops
• SRAM.
Note For details on MultiVHDL , Electronic Workbench’s VHDL simulation software, refer
to the Multisim User Guide, or the MultiVHDL 8 User Guide.
Memory
9.3 Memory
A number of EPROM and RAM memory devices are included in Multisim. In addition to the
components that contain footprint and model information (for simulation), there are several
that include only the footprint, for PCB layout.
9.7 CPLDs
A number of CPLDs (Complex Programmable Logic Devices) are included that have symbols
for layout purposes. These also have footprint, but no model information.
A number of DSPs (Digital Signal Processors) are included that have symbols for layout
purposes. These also have footprint, but no model information.
A number of FPGAs (Field Programmable Gate Arrays) are included that have symbols for
layout purposes. These also have footprint, but no model information.
Microcontrollers
9.10 Microcontrollers
A number of microcontrollers are included that have symbols for layout purposes. These also
have footprint, but no model information.
A number of PLDs (Programmable Logic Devices) are included that have symbols for layout
purposes. These also have footprint, but no model information.
9.12 Microprocessors
A number of microprocessors are included that have symbols for layout purposes. These also
have footprint, but no model information.
Chapter 10
Mixed Components
An ADC is a special type of encoder that converts the input analog voltage to an equivalent
output digital word.
Mixed Components
D0 through D7. These are tri-stated outputs pins which may be enabled by pulling the OE pin
high.
The output at the end of the conversion process is the digital equivalent of the analog input
voltage. The discrete value corresponding to the quantized level of input voltage is given by:
input voltage * 256
Vfs
Note that the output described by this formula is not a continuous function of input voltage.
The discrete value is then encoded into the binary digital form at pins D0 through D7. The
binary output is thus given by:
This switch is a resistor that varies logarithmically between specified values of a controlling
input voltage. Note that the input is not internally limited. Therefore, if the controlling signal
exceeds the specified Coff or Con values, the resistance may become excessively large or
small.
The voltage controlled switch has a function similar to that performed by a mechanical On/
Off switch except that the On/Off conditions are selected by a control voltage.
When the control voltage is below a selected value, the switch is off and the input and output
signals are disconnected.
When the control voltage is above the selected value, the switch is on and the input and output
signals are connected.
Timer
10.3 Timer
The 555 timer is an IC chip that is commonly used as an astable multivibrator, a monostable
multivibrator or a voltage-controlled oscillator. The 555 timer consists basically of two
comparators, a resistive voltage divider, a flip-flop and a discharge transistor. It is a two-state
device whose output voltage level can be either high or low. The state of the output can be
controlled by proper input signals and time-delay elements connected externally to the 555
timer.
10.3.1 Model
The resistive voltage divider is used to set the voltage comparator levels. All three resistors
are of equal value. The upper comparator has a reference voltage of 2/3 Vcc and the lower
comparator has a reference of 1/3 Vcc. The comparator’s output controls the state of the flip-
flop and hence the output. When the trigger voltage goes below 1/3 Vcc, the output of the
lower comparator goes high, and the flip-flop sets. The output thus jumps to a high level. The
threshold input is normally connected to an external RC timing network. When the external
voltage exceeds 2/3 Vcc, the upper comparator’s output goes high and resets the flip-flop,
which in turn switches the output back to the low level. When the device output is low, the
discharge transistor, Q, is turned on and provides a path for the discharge of the external
timing capacitor.
This basic operation allows the timer to be configured with external components as an
oscillator, a monoshot or a time-delay element.
Mixed Components
10.4.1 Model
A monostable multivibrator has two digital inputs: A1 and A2. The multivibrator can be
triggered by a positive edge of digital signal at A1 or a negative edge at A2. Once triggered, it
ignores further inputs.
An RC combination connected to RT/CT and CT pins controls the duration of the pulse
produced by the monostable at Q. A complementary output is produced at W.
To operate the monostable, the following connections may be used:
• Connect a series resistor (R) and capacitor (C) to the CT input.
• Connect the junction of the R and C to the RT/CT.
• Connect VCC to a voltage source.
The output Q will give a pulse of duration 0.0693*R*C when either a positive clock edge is
given to A1 or a negative edge is given to A2.
The threshold voltage (at which triggering starts) can be changed by modifying the model.
This component models the behavior of a phase-locked loop circuit, which is a circuit that
contains an oscillator whose output phase and frequency are steered to keep it synchronized
with an input reference signal.
A phase-locked loop circuit is composed of three functional blocks: a phase detector, a low-
pass filter and a voltage-controlled oscillator (VCO). The phase detector behaves as an analog
multiplier. It outputs a DC voltage which is a function of the phase difference between the
Phase-Locked Loop
input reference signal and the VCO output signal. The output of the phase detector is input to
the low-pass filter, which removes the high-frequency noise and outputs a DC voltage. The
VCO converts the DC voltage into its corresponding frequency signal.
Vd = Kd ∗ sin(ϕ i − ϕ o )
ϕ i = 2π ∗ ∫ f 1 (t )dt
The low-pass filter is modeled by a simple passive RC low-pass filter, that is, a resistor and a
capacitor, where R is 3.6 kohm, and:
1
C=
2π ∗ f p ∗ R
f o (t ) = f c + K o ∗Vc (t )
ϕ o = 2π ∗ ∫ f o (t )dt
where:
fi = input frequency
fp = low-pass filter pole location
fo = VCO output frequency
fc = VCO free-running frequency
Vd = phase detector output DC voltage
Vo = VCO output voltage
Ko = VCO conversion gain
Kd = phase detector conversion gain
ϕi = input signal phase
ϕo = VCO output phase
Mixed Components
-- PD Input Offset 0 V
10.6 Multivibrators
10.6.1 CD4538BC
The CD4538 is a dual, precision monostable multivibrator with independent trigger and reset
controls. The device is retriggerable and resettable, and the control inputs are internally
latched. Two trigger inputs are provided to allow either rising or falling edge triggering. The
reset inputs are active LOW and prevent triggering while active. The pulse duration and
accuracy are determined by external components RX and CX. The device does not allow the
timing capacitor to discharge through the timing pin on power-down condition. For this
Multivibrators
reason, no external protection resistor is required in series with the timing pin. Input
protection from static discharge is provided on all pins.
10.6.2 SN74121N
This multivibrator has dual negative-triggered inputs and a single positive-transition-triggered
input which can be used as an inhibit input. Complementary output pulses are provided.
Mixed Components
10.6.3 SN74123
This DC triggered multivibrator has output pulse duration control by three methods. The basic
pulse time is programmed by selection of external resistance and capacitance values. Enough
Schmitt hysteresis is provided to ensure jitter-free triggering from the B input with transition
rates as slow as 0.1 mV per nanosecond.
10.6.4 SN74130N
This DC triggered multivibrator has output pulse duration control by three methods. The basic
pulse time is programmed by selection of external resistance and capacitance values.
Chapter 11
Indicators
11.1 Voltmeter
The voltmeter offers advantages over the multimeter for measuring voltage in a circuit. You
can use an unlimited number of voltmeters in a circuit and rotate their terminals to suit your
layout.
Connecting 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 If a voltmeter is moved after the circuit has been simulated, activate the circuit again to
get a reading.
Indicators
11.2 Ammeter
The ammeter offers advantages over the multimeter for measuring current in a circuit. You
can use an unlimited number of ammeters in a circuit and rotate their terminals to suit your
layout.
Connecting 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.
The probe indicates high (on) or low (off) levels at any point in a digital circuit. It lights up or
turns off as the circuit is running, and is available in a number of colors.
Lamp
11.4 Lamp
The lightbulb is an ideal, nonlinear resistive component that dissipates energy in the form of
light. It has two rated values, maximum power (Pmax) and maximum voltage (Vmax). Pmax is
measured in watts, from mW to kW. Vmax is measured in volts, from mV to kV. A bulb will
burn out if the voltage across it exceeds Vmax. At that point, the power dissipated in the bulb
exceeds Pmax.
V max 2
R= if Vab ≤ Vmax
P max
R=∞ if Vab > Vmax
The bulb is lit if
Vmax
< Vab ≤ Vmax
2
where:
Vmax = the maximum voltage that can be applied across the bulb.
Pmax = the maximum power that can be dissipated by the bulb.
For AC circuits, Vmax is the peak value of the applied voltage, not its RMS value.
Indicators
The seven-segment display actively shows its state while the circuit is running. The seven
terminals (left to right, respectively) control segments a to g. By giving the proper binary-digit
inputs to segments a to g, you can display decimal numbers from 0 to 9 and letters A to F.
Truth table:
a b c d e f g Digit displayed
0 0 0 0 0 0 0 none
1 1 1 1 1 1 0 0
0 1 1 0 0 0 0 1
1 1 0 1 1 0 1 2
1 1 1 1 0 0 1 3
0 1 1 0 0 1 1 4
1 0 1 1 0 1 1 5
1 0 1 1 1 1 1 6
1 1 1 0 0 0 0 7
1 1 1 1 1 1 1 8
1 1 1 1 0 1 1 9
1 1 1 0 1 1 1 A
0 0 1 1 1 1 1 b
1 0 0 1 1 1 0 C
0 1 1 1 1 0 1 d
1 0 0 1 1 1 1 E
1 0 0 0 1 1 1 F
Hex Displays
This display indicates its current state by displaying hexadecimal digits—numerals 1 to 9 and
letters A to F. It is easier to use than the regular seven-segment display because it is already
decoded. Each hexadecimal digit is displayed when its 4-bit binary equivalent is received as
input, as shown in the truth table below.
Truth table:
a b c d Digit displayed
0 0 0 0 0
0 0 0 1 1
0 0 1 0 2
0 0 1 1 3
0 1 0 0 4
0 1 0 1 5
0 1 1 0 6
0 1 1 1 7
1 0 0 0 8
1 0 0 1 9
1 0 1 0 A
1 0 1 1 b
1 1 0 1 C
1 1 0 0 d
1 1 1 0 E
1 1 1 1 F
Indicators
This device is a 15-segment LED alpha-numeric display, which displays text or numeric
digits. Both common-anode and common-cathode displays are available.
Bargraphs
11.6 Bargraphs
This display is an array of 10 LEDs arranged side by side. This component may be used to
indicate visually the rise and fall of a voltage. The voltage to be measured needs to be decoded
into levels using comparators which are used to drive each individual LED.
The terminals on the left side of the display are anodes and the terminals on the right are
cathodes. Each LED lights up when the turn-on current, Ion, flows through it. You can change
the voltage drop in the Value tab of the Circuit/Component Properties dialog box.
Indicators
(Vh − Vl ) ∗ n − 1
Von = Vl + ( )
9
where:
n = 1, 2, ..., 10 (the number of the LED)
Other terms in this formula are defined in the table below.
Buzzer/Sonalert Buzzer
This component uses the computer’s built-in speaker to simulate an ideal piezoelectric buzzer.
A piezoelectric buzzer sounds at a specific frequency when the voltage across its terminals
exceeds the set voltage.
The buzzer is simulated as a single resistor whose resistance value is dependent on the
buzzer’s rated voltage and the current. It beeps when the voltage across its terminals exceeds
its voltage rating, Vrated.
Buzzer resistance
V rated
r=
i rated
Beeps when
V ab ≥ V rated
Indicators
Chapter 12
Power
12.1.1 PWMCM
This is a generic current mode PWM controller. The PWMCM uses an error voltage to
directly control the peak current of the power switch. The error voltage is derived in the
feedback system from the error amplifier that amplifies the difference between the output
voltage and the reference voltage.
2 GND Ground
Power
Parameter Description
Parameter Description
12.1.2 PWMVM
This device is a generic voltage mode PWM controller. In the PWMVM, an error voltage is
compared to a sawtooth ramp to control the duty cycle of the power switch. The higher the
error voltage, the longer the duty cycle (i.e., the on-time of power switch). The error voltage is
derived in a feedback system from the error amplifier that amplifies the difference between
the output voltage and the reference voltage.
2 GND Ground
Parameter Description
Parameter Description
Power
Parameter Description
12.1.3 PUSH_VM
The PUSH_VM is a generic model for Voltage Mode Push-Pull PWM controllers. Push-pull
is an isolated version of a buck converter. Due to utilization of the transformer, the output
voltage of a push-pull converter can be either higher or lower than the input voltage. The
push-pull converter is able to operate at a duty cycle close to 1.
2 GND Ground
Parameter Description
Parameter Description
Power
12.1.4 PUSH_CM
The PUSH_CM is a generic model for Current Mode Push-Pull PWM controllers. A push-
pull converter is an isolated version of buck converter. Due to utilization of the transformer,
the output voltage of push-pull can be either higher or lower than the input voltage. Push-pull
converters are able to operate at a duty cycle close to 1.
2 GND Ground
Parameter Description
Parameter Description
12.1.5 HALF_VM
The HALF_VM is a generic model for Voltage Mode Half-Bridge PWM controllers. The
half-bridge converter is an isolated version of the buck converter. Due to the dual-switch
configuration, it is able to handle larger power than other single-switch versions.
2 GND Ground
Power
Parameter Description
Parameter Description
12.1.6 HALF_CM
The HALF_CM is a generic model for Current Mode Half-Bridge PWM controllers. The
half-bridge converter is an isolated version of the buck converter. Due to the dual-switch
configuration, it can handle larger power than other single-switch versions.
2 GND Ground
Parameter Description
Power
Parameter Description
12.1.7 FULL_CM
The FULL_CM is a generic model for Current Mode Full-bridge PWM controllers. The full-
bridge converter is derived from the buck converter. By utilizing four operated switches, it is
able to deliver a larger amount of power.
Parameter Description
Parameter Description
Power
12.1.8 FULL_VM
The FULL_VM is a generic model for Voltage Mode Full-Bridge PWM controllers. The full-
bridge converter is derived from the buck converter. By utilizing four operated switches, it is
able to deliver a larger amount of power.
Parameter Description
Parameter Description
12.1.9 2SWITCHCM
The 2SWITCHCM is a generic model for two-switch Current Mode PWM controllers. This is
the two-switch version of PWMCM, which provides only one driver signal for single-switch
converters.
2 GND Ground
Power
Parameter Description
Parameter Description
12.2.1 BUCKCM
This is the averaged model (no switching component) of a basic buck converter in a current
mode controlled configuration.
IN Input voltage
GND Ground
Parameter Description
FS Switching frequency
L Main inductor
Power
12.2.2 BUCKCCM
This is the Ripley's averaged model (no switching component) of a basic buck converter in a
current mode controlled configuration. This is an improved model over BUCKCM, but it
must operate in continuous conduction mode.
GND Ground
Parameter Description
FS Switching frequency
L Main inductor
RL Load resistor
12.2.3 BOOSTCCM
This is the Ripley's averaged model (no switching component) of a basic boost converter in a
current mode controlled configuration. This is an improved model over BUCKCM, but it
must operate in continuous conduction mode.
GND Ground
Parameter Description
FS Switching frequency
L Main inductor
RL Load resistor
Power
12.2.4 BOOSTCM
This is the averaged model (no switching component) of a basic boost converter in a current
mode controlled configuration.
IN Input voltage
GND Ground
Parameter Description
FS Switching frequency
L Main inductor
12.2.5 BOOSTDCM
This is the Ripley's averaged model (no switching component) of a basic boost converter in a
current mode controlled configuration. This is an improved model over BOOSTCM, but it
must operate in discontinuous conduction mode.
GND Ground
Parameter Description
FS Switching frequency
L Main inductor
RL Load resistor
Power
12.2.6 BOOSTVM
This is the averaged model (no switching component) of a basic boost converter in a voltage
mode controlled configuration.
GND Ground
Parameter Description
FS Switching frequency
L Main inductor
12.2.7 FLYBACKCCM
This is the Ripley's averaged model (no switching component) of a flyback converter in a
current mode controlled configuration. This is an improved model over FLYBACKCM, but it
must operate in continuous conduction mode.
GND Ground
Parameter Description
FS Switching frequency
L Main inductor
RL Load resistor
Power
12.2.8 BUCKDCM
This is the Ripley's averaged model (no switching component) of a basic buck converter in a
current mode controlled configuration. This is an improved model over BUCKCM, but it
must operate in discontinuous conduction mode.
GND Ground
Parameter Description
FS Switching frequency
L Main inductor
RL Load resistor
VR = 2 V
12.2.9 BUCKVM
This is the averaged model (no switching component) of a basic buck converter in a voltage
mode controlled configuration.
IN Input voltage
GND Ground
Parameter Description
FS Switching frequency
L Main inductor
12.2.10FLYBACKCM
This is the averaged model (no switching component) of a basic flyback converter in a current
mode controlled configuration.
IN Input voltage
GND Ground
Power
Parameter Description
FS Switching frequency
L Main inductor
12.2.11FLYBACKDCM
This is the Ripley's averaged model (no switching component) of a flyback converter in a
current mode controlled configuration. This is an improved model over FLYBACKCM, but it
must operate in discontinuous conduction mode.
GND Ground
Parameter Description
FS Switching frequency
LS Secondary inductance
RL Load resistor
12.2.12FLYBACKVM
This is the averaged model (no switching component) of a basic flyback converter in a voltage
mode controlled configuration.
IN Input voltage
GND Ground
Power
Parameter Description
FS Switching frequency
L Main inductor
12.2.13FWDCCM
This is the Ripley's averaged model (no switching component) of a forward converter in a
current mode controlled configuration. This is an improved model over FORWARD_CM, but
it must operate in continuous conduction mode.
GND Ground
Parameter Description
FS Switching frequency
L Main inductor
Parameter Description
RL Load resistor
12.2.14FORWARDCM
This is the averaged model (no switching component) of a basic forward converter in a
current mode controlled configuration.
IN Input voltage
GND Ground
Parameter Description
FS Switching frequency
LS Secondary inductance
Power
Parameter Description
12.2.15FWDDCM
This is the Ripley's averaged model (no switching component) of a forward converter in a
current mode controlled configuration. This is an improved model over FORWARD_CM, but
it must operate in discontinuous conduction mode.
GND Ground
Parameter Description
FS Switching frequency
L Main inductor
Parameter Description
RL Load resistor
12.2.16FORWARDVM
This is the averaged model (no switching component) of a forward converter in a voltage
mode controlled configuration.
IN Input voltage
GND Ground
Parameter Description
FS Switching frequency
L Main inductor
Power
12.2.17SEPICVM
This is the averaged model (no switching component) of a SEPIC (single-ended primary
inductor converter) in a voltage mode controlled configuration.
IN Input voltage
GND Ground
Parameter Description
12.2.18SEPICCM
This is the averaged model (no switching component) of a SEPIC (single-ended primary
inductor converter) in a current mode controlled configuration.
IN Input voltage
GND Ground
Parameter Description
RI Sense resistor
FS Switching Frequency
Power
12.2.19ERRAMP
This device is a generic single pole op-amp.
To edit this device’s parameters:
1. Double-click on the placed component and select the Value tab.
2. Click Edit Model to display the Edit Model dialog box.
3. Edit the Current Instance Parameters as desired.
12.2.20AMPSIMP
This device is a generic single pole op-amp.
To edit this device’s parameters:
1. Double-click on the placed component and select the Value tab.
2. Click Edit Model to display the Edit Model dialog box.
3. Edit the Current Instance Parameters as desired.
12.2.21608PWM
This device is a generic pulse width modulator.
To edit this device’s parameters:
1. Double-click on the placed component and select the Value tab.
2. Click Edit Model to display the Edit Model dialog box.
3. Edit the model as desired.
Voltage Reference
The output voltage of the Zener reference diode is set at approximately 6.9 V and requires a
high voltage supply. The band-gap voltage reference diode has a significant advantage over
the Zener reference diode in that it is capable of a lower minimum operating current and has a
sharper knee.
The band-gap reference relies on matched transistors and is therefore easily integrated along
with biasing, buffer and amplifier circuitry to give a complete reference diode.
The LM285/LM385 series are examples of micropower two-terminal band-gap voltage
reference diodes. These devices are designed to operate over a wide current range of 10 µA to
20 mA.
The features of these devices include exceptionally low dynamic impedance, low noise, and
stable operation over time and temperature. The low operating current make these devices
suitable for micropower circuitry, such as portable instrumentation, regulators and other
analog circuitry that requires extended battery life.
Note Many types of two-terminal 1.2 V voltage reference diodes offer the same performance,
but are not all directly interchangeable. Minor differences in regulation voltage and in
allowable or required capacitive loading may affect a circuit.
Power
where:
Vin(max) = the maximum allowable unrectified dc input voltage
Vout(adj) = the adjusted output voltage of the regulator
Vd = the input/output voltage differential rating of the regulator
The voltage suppressor diode is a Zener diode that is capable of handling high surges. It is
used as a filtering device to protect voltage-sensitive electronic devices from high energy
voltage transients.
The voltage suppressor diode is connected across the AC power input line to a DC power
supply. It contains two zener diodes that are connected back-to-back, making the voltage
suppressor diode bi-directional. This characteristic enables it to operate in either direction to
monitor under-voltage dips and over-voltage spikes of the AC input. It protects the power
supply from surges by shorting out any voltages greater than the Vz (Zener voltage) ratings of
the diodes.
The voltage suppressor diode must also have extremely high power dissipation ratings
because most AC power line surges contain a relatively high amount of power, in the
hundreds of watts or higher. It must also be able to turn on rapidly to prevent damage to the
power supply.
In DC applications, a single unidirectional voltage suppressor can be used instead of a bi-
directional voltage suppressor. It is connected in shunt with the DC input and reverse biased
(cathode to positive DC).
Fuse
12.6 Fuse
This is a resistive component that protects against power surges and current overloads.
A fuse will blow (open) if the current in the circuit goes above Imax, the maximum current
rating. Imax can have any value from mA to kA.
The fuse is modeled by a resistor, R.
R =0 if i a ≤ I m ax
R =∞ if i a > I m ax
where:
ia = current through the fuse, in amperes
Imax = maximum current rating of the fuse, in amperes.
For AC circuits, Imax is the peak value of the current, not its RMS value.
Power
This family contains footprint information for a number of components. Model data is not
provided.
This family contains footprint information for a number of components. Model data is not
provided.
Chapter 13
Misc. Components
13.1 Crystal
This component is made of pure quartz and behaves as a quartz crystal resonator, a circular
piece of quartz with electrodes plated on both sides mounted inside an evacuated enclosure.
When quartz crystals are mechanically vibrated, they produce an AC voltage. Conversely,
when an AC voltage is applied across the quartz crystals, they vibrate at the frequency of the
applied voltage. This is known as the piezoelectric effect and quartz is an example of a
piezoelectric crystal.
The piezoelectric characteristics of quartz give the crystal the characteristics of a very high Q
tuned circuit. The piezoelectric effect of quartz crystal links the mechanical and electrical
properties of the resonator. Electrode voltage causes mechanical movement. Likewise,
mechanical displacement generates an electrode voltage.
An equivalent circuit for a crystal shows a large inductor in series with a small resistance and
a capacitance. When mounted in a holder with connections, a shunt capacitance is added to
the equivalent circuit. The resultant equivalent circuit means that the crystal has both a series
and parallel resonant frequency very close together.
Oscillators that employ crystals, typically quartz, offer excellent oscillation frequency
stabilities of 0.001 percent. Crystal oscillators are used in digital wristwatches and in clocks
that do not derive their frequency reference from the AC power line. They are also used in
color television sets and personal computers. In these applications, one or more “quartz
crystals” control frequency or time.
Another much more efficient transducer material than quartz is PZT. This ceramic material is
ferroelectric and is made up of lead and other atoms, Ti or Zr. PZT consists of randomly
Misc. Components
oriented crystallites of varying size. The piezoelectric but not the ferroelectric property of the
ceramic materials of the PZT family is made use of in transducer applications, such as
ultrasonic echo ranging (sonar), medical diagnostic ultrasound and nondestructive testing
system devices.
13.2 DC Motor
The component is a universal model of an ideal DC motor which can be used to model the
behavior of a DC motor excited in parallel, in series or separately. The excitation type of the
component is determined by the interconnection of the terminals between field windings
(terminals 1 and 2) and armature windings (terminals 3 and 4).
To excite the DC motor in parallel, connect the positive terminal of a DC source to terminals 2
and 4; then connect the negative terminals of the DC source to terminals 1 and 3. To excite the
DC motor in series, connect terminal 2 to terminal 3 (use a connector); then connect the
positive terminal of a DC source to terminal 4 and connect the negative terminal of the DC
source to terminal 1. To excite the DC motor separately, connect a DC source to terminals 2
and 1 (positive and negative, respectively); then connect another DC source to terminals 4 and
3 (positive and negative, respectively).
Terminal 5 is the DC motor’s output. The output is the motor’s rpm value.
To display this value:
• attach a voltmeter to terminal 5 (connect the other side of the voltmeter to ground) and
simulate
or
• attach the oscilloscope to terminal 5 and simulate (the rpm value is the voltage that
appears)
or
• attach a connector to terminal 5, then choose an appropriate analysis from the Analysis
menu (for example, if you choose Analysis/DC Operating Point, the rpm value is the
voltage at the connector).
This component connects the electrical and mechanical parts of a servo-system. Input to the
motor is electrical while output is mechanical.
DC Motor
dia
Va = Ra ∗ ia + La + Km ∗ i f ∗ ω m
dt
di f
Vf = R f ∗ i f + L f
dt
dω m
J + B f ∗ ω m + TL = Km ∗ i f ∗ ia
dt
where:
ωm = rotational speed
Km = EMF constant
Va = armature voltage
Vf = field voltage
Other terms are defined in “DC Motor Parameters and Defaults”.
The EMF constant Km is determined by:
VaN − I a N ∗ Ra
Km =
2π * n N
I fN ∗
60
where
V fN
I fN = for separately excited DC motor
Rf
V fN VaN
I fN = = for parallel excited DC motor
Rf Rf
V fN
I fN = = I aN for series excited DC motor
Rf
Misc. Components
13.3 Optocoupler
An optocoupler is a device that uses light to couple a signal from its input (a photoemitter) to
its output (a photodetector).
A typical optocoupler can be found in a six-pin dual in-line package (DIP) containing both an
LED and a photodetector, and a transistor Darlington pair or SCR. The wavelength response
of each device is structured to be as identical as possible to permit the highest measure of
coupling possible.
Vacuum Tube
This component behaves as a three-electrode tube consisting of an anode, cathode and plate
electrode. It is often used as an amplifier in audio applications.
The vacuum tube is a voltage controlled current device, very similar in operation to an N
channel FET.
As for an FET, the gain of the tube is referred to as transconductance and is defined as the
change in plate current resulting from a change in grid to cathode voltage:
gm = (change in plate current) / (change in grid to cathode voltage)
3
Ip = (
K µ ∗Vgk + V pk ) 2 for µ ∗ Vgk + Vpk ≥ 0
where
Ip
K= 3
( µ∗V gk + V pk ) 2
Other items are defined in “Triode Vacuum Tube Parameters and Defaults”.
Misc. Components
13.4.2 Model
The dynamic characteristic of the triode vacuum tube is modeled by its DC characteristic with
three capacitances (Cgk, Cpk, and Cgp) which are associated interelectrodes.
m Amplification factor 10 -
This component is an averaging circuit model that models the averaging behavior of a step-up
DC-to-DC switching converter. It is based on a unified behavioral model topology. The
topology models both small-signal and large-signal characteristics of this converter power
stage. The model can be used to simulate DC, AC and large-signal transient responses of
switched-mode power supplies operating in both the continuous and discontinuous inductor
current conduction modes (CCM and DCM, respectively).
Boost Converter
Ii = ILL + ILD = IL
I0 = D2
D+ D 2 ( ILL + ILD ) = DD+ D2 2 ∗ IL
in which ILL is governed by:
1 t
ILL =
L ∫0
[ D∗ Vi − D2 (V0 − Vi )]dt
where D = duty ratio of the switching device.
For the DCM:
Vi
D2 = D∗
V 0 − Vi
Vl = 0
D( D + D2)
ILD = ∗Vi
2∗ L∗ Fs
For the critical condition between the CCM and the DCM of operations:
D2 = 1 − D
1
ILD = ILcrit = Vi∗ D∗
2∗ L∗ Fs
Misc. Components
D D
Ii = ∗ ( I LL + I LD ) = ∗IL
D + D2 D + D2
I o = − ( I LL + I LD ) = − I L
1 t
I LL =
L ∫o
[ D(Vi − Vo ) − D2V0 ] dt
where D = duty ratio of the switching device.
Buck Converter
Vi − V 0
D2 = D
V0
Vl = 0
D + D2
ILD = D(Vi − V 0)
2∗ L∗ Fs
For the critical condition between the CCM and DCM of operation:
D2 = 1 − D
Vi − V0
I LD = I Lcrit =
2∗ L∗ Fs
For the CCM:
D2 = 1 − D
V L = D(Vi − V0 ) − D2 ∗Vo
I L = I Lcrit + I LL
The averaging behavior governed by the above equations is modeled using the built-in
Multisim analog behavioral modeling components. The AC small-signal model is
automatically computed inside the program.
Misc. Components
D D
Ii = ∗ ( I LL + I LD ) = ∗ IL
D + D2 D + D2
D2 D2
Io = ∗ ( I LL + I LD ) = ∗ IL
D + D2 D + D2
in which ILL is governed by:
1 t
I LL =
L ∫o
[ D∗Vi − D2 ∗Vo ] dt
where D = duty ratio of the switching devices.
For the DCM:
Vi
D2 = D
Vo
VL = 0
D∗Vi ( D + D2 )
I LD =
2∗ L∗ Fs
For the critical condition between the CCM and the DCM of operation:
D2 = 1 − D
D∗Vi
I LD = I Lcrit =
2∗ L∗ Fs
For the CCM:
D2 = 1 − D
V L = D∗Vi − D2 ∗Vo
I L = I Lcrit + I LL
The averaging behavior governed by these equations is modeled using Multisim’s built-in
analog behavioral modeling components. The AC small-signal model is automatically
computed.
Misc. Components
The lossy model also models resistive losses in the line along with the characteristic
impedance and propagation delay properties of the transmission line.
This is a two-part convolution model for single-conductor lossy transmission lines. The
uniform constant-parameter distributed transmission line model can be used to model the
following types of lines:
• RLC (uniform transmission lines with series loss only)
• RC (uniform RC lines)
• LC (lossless transmission lines)
• RG (distributed series and parallel conductance).
13.8.1 Model
The characteristic of a lossy transmission line is modeled by the Telegrapher Equations:
∂v ∂i
= − ( L + Ri )
∂x ∂t
∂i ∂v
= − (C + Gv )
∂x ∂t
with the following boundary and initial conditions:
v (0,t) = v1(t), v (l,t) = v2(t)
i (0,t) = i1(t), i (l,t) = -i2(t)
v (x,0) = v0(x), i (x,0) = i0(x)
where the transmission line stretches from x coordinates 0 to l
l = line length
V(x,t) = voltage at point x at time t
i (x,t) = current in the positive x direction at x at time t
v (0,t) = voltage at point 0 at time t
i (0,t) = current in the positive x direction at 0 at time t
v (x,0) = voltage at point x at time 0
i (x,0) = current in the positive x direction at x at time 0.
The set of equations is first transformed into a pair of coupled ordinary differential equations
in x and s using the Laplace transformation. The equations are then reformulated for
numerical convolution. Finally, inverse Laplace transforms are taken to return them to the
time-domain form.
Note A lossy transmission line with zero loss can be used to model the lossless transmission
line, and may be more accurate.
Misc. Components
13.9.1 Model
A lossless transmission line is an LC model.
The values of L and C are given by:
td
ct = -----
Z
lt = td∗ Z
where:
ct = capacitance per unit length
lt = inductance per unit length
td = propagation time delay
Z = nominal impedance
The propagation time-delay may be calculated from the data-books as follows:
length
td =
Vp
Vp = Vf ∗ c
where:
length = length of the line
Vp = velocity of propagation
Vf = velocity-factor
c = speed of light
Net
13.10 Net
This is a template for building a model. It allows you to input a netlist, using from 2 to 20
pins.
13.11 Filters
A number of filters are included that have symbols for layout purposes. These have footprint,
but no model information.
Misc. Components
The MISC family contains footprint information for a number of components, for example,
the Integrated GPS Receiver/Synthesizer shown here.
Model data is not provided.
13.14 Filters
This family contains footprint information for a number of components. Model data is not
provided.
Chapter 14
RF Components
RF components are not available in all editions of Multisim.
14.1 RF Capacitor
RF capacitors at RF frequencies show behaviors different from the regular capacitors at low
frequencies. RF capacitors at RF frequencies act as a combination of a number of
transmission lines, waveguides, discontinuities, and dielectrics. The dielectric layers are
usually very thin (typically 0.2 Mµm). The equations governing these types of capacitors
follow those of transmission lines; therefore, each RF capacitor is described by inductance per
unit length, resistance per unit length, shunt capacitance per unit length, and shunt
conductance per unit length. Depending on the type of the technology used, practical
capacitance values are in the range between several picofarads and several nanofarads. These
capacitors are used for coupling or bypassing for frequencies up to approximately 20 GHz.
One type of RF capacitor is called an interdigital capacitor. Both conductors of the capacitor
are in the same plane, which is the top surface of the dielectric substrate used. Each conductor,
or external node of the capacitor, is structured by connecting a number of transmission lines in
parallel. In other words, the planar structure uses N thin parallel conducting strips of length L,
linked alternately to one or other two strips of length W running perpendicularly alongside
them, and the whole structure is deposited on a substrate, often of alumina. Capacitors of this
type capacitors appear to be lumped up to 3 GHz and values from 0.1 to 10 pF can be
achieved. However, because of their structure, they require a relatively large area.
RF Components
14.2 RF Inductor
From many types of RF inductors, spiral inductors provide higher inductance values and
higher Qs. The spiral inductor is a technique of forming a planar inductor in a small place.
The shape is described by an increasing radius with angle: i.e. R = r/I + kθ
The equivalent circuit is a combination of series resistor (due to skin effect) and inductor, and
shunt capacitors (due to the distance between the surface which embraces the conductor, and
the ground plane). The quality of the inductor, usually noted as Q, is higher for spiral
inductors than those of other types of inductors, such as the rectangular spiral.
Basic operation of an RF bipolar transistor is identical to that of transistors designed for low
frequencies. RF transistors, however, have a higher maximum operating frequency (Wt),
depending on base and collector transit and charging times. To achieve this, the physical size
of emitter/base/collector areas at the layout level are minimized. However, reduction in the
base area is limited by the technology used to fabricate the transistor. Reduction in the
collector area is limited by the maximum tolerable voltage at the collector terminal. To
achieve maximum power output, the emitter periphery area should be as large as possible.
Because of these limitations, a special structure for bipolar transistors is used. This structure is
commonly referred to as an interdigital bipolar transistor.
RF MOS_3TDN
14.4 RF MOS_3TDN
RF FETs have a different type of carrier than bipolar transistors. Only the majority carriers
selected for FET should have better transport properties (such as high mobility, velocity,
diffusion coefficient). For this reason, RF FETs are fabricated on n-type materials since
electrons have better properties.
The two most important parameters are the gate length and width. A reduction in the gate
length will improve the gain, noise figure and frequency of operation. Increasing the gate
width will increase the RF power capability. That is why typical power FETs have multiple
gate fingers, interconnected via air bridges, with a total width of about 400 to 1000 µm.
The model parameters for RF FET transistors can be obtained using measured data for DC
and RF S-parameters. The equivalent circuit model should have almost identical DC and RF
S-parameters.
RF Components
Stripline is one of the most commonly used transmission lines at microwave frequencies.
Stripline is coined for ground-conductor-ground transmission line with a dielectric (normally
air) in between. Due to the multiplicity of the circuit functions, substrate, technologies, and
frequency bands, there is a wide range of stripline conductors. For example, microstrip lines
are a special type of stripline where the upper ground is placed at infinity. Depending on the
position of the stripline conductors, the shape of the conductor, and the thickness of the
conductor, the equations governing the behavior of one stripline to another differ. For
example, the centered stripline (often called Tri-Plate line), is a stripline where the
conductance is placed symmetrically in each position (from top, bottom, left, and right).
Another example is the Zero-Thickness stripline which is a very good approximation for
striplines in which the thickness of the conductor is negligible compared to the distance it has
from the ground planes.
Ferrite beads are used for decoupling (blocking unwanted signals) on DC supply and some
signal lines. They also provide attenuation of selected frequency bands.
The physical shape of a bead is similar to a toroid, but the bead has greater length to diameter
ratio and usually a greater outside to inside diameter ratio than most toroid cores. Where the
length to diameter ratio is even greater, the bead is often referred to as a sleeve. Different size/
shape beads of the same material have different degrees of suppression. When used in
conjunction with a bypass capacitor, a ferrite bead can provide extremely good decoupling.
Chapter 15
Electromechanical Components
Sensing switches are interactive components that can be closed or opened (turned on or off)
by pressing a key on the keyboard, or by using the mouse.
To specify the key that controls the switch:
1. Double-click on the switch and select its Value tab.
2. Select the key in the Key for Switch drop-down list and click OK.
To toggle the switch on or off using the keyboard, press the identified key.
To toggle the switch on or off using the mouse, hover the cursor over the switch’s arm and
click when the arm takes on a thickened appearance.
Electromechanical Components
This component family contains a variety of electromechanical switches. These switches are
interactive components that can be closed or opened (turned on or off) by pressing a key on
the keyboard, or by using the mouse.
To specify the key that controls the switch:
1. Double-click on the switch and select its Value tab.
2. Select the key in the Key for Switch drop-down list and click OK.
To toggle the switch on or off using the keyboard, press the identified key.
To toggle the switch on or off using the mouse, hover the cursor over the switch’s arm and
click when the arm takes on a thickened appearance.
Momentary switches are interactive components that can be activated by pressing a key on the
keyboard, or by using the mouse.
To specify the key that controls the switch:
1. Double-click on the switch and select its Value tab.
2. Select the key in the Key for Switch drop-down list and click OK.
To activate the switch using the keyboard, start the simulation and press the identified key.
The switch changes state and then returns to its initial state.
To toggle activate the switch using the mouse, hover the cursor over the switch’s arm and
click when the arm takes on a thickened appearance. The switch changes state and then
returns to its initial state.
Coils, Relays
Line Transformers are simplified transformers intended for power applications where the
primary coils is connected to either 120 or 220 VAC. They will perform step up or step down
functions plus several specialized functions of voltage and current measurement.
Electromechanical Components
Terminals
15.10 Terminals
Multisim includes the following terminals:
• power terminals
• control terminals N.O.
• control terminals N.C.
• coil terminals.
Electromechanical Components
Appendix A
Index
Numerics 4-bit Binary Full Adder 7-4
10-to-4 Priority Enc 6-16 4-bit Bistable Latches
12-In NAND w/3-state Out 6-13 74xx375 6-64
74xx75 6-85
12-stage Binary Counter 7-22
74xx77 6-86
13-In NAND 6-12
4-bit Cascadable Shift Reg w/3-state Out 6-69
13-input Checker/Generator 7-43
4-bit Comparator 7-48
14-stage Bin Counter 7-14
4-bit Dec Counter
1-of-10 Dec 7-17 40160 7-8
1-of-16 Data Sel/MUX 6-17 40162 7-9
1-of-16 Dec/DEMUX w/Input latches 40192 7-13
4514 7-38 4-bit D-type Reg w/3-state Out 6-29
4515 7-39 4-bit Mag COMP 6-92
1-of-8 Data Sel/MUX 6-18 4-bit Parallel-Access Shift Reg 6-37
2-bit Bin Full Adder 6-88 4-bit Shift Register
2SWITCHCM 12-13 40194 7-14
2-wide 4-In AND-OR-INVERTER 6-81 40195 7-14
3 3-Input AND 6-17 4035 7-20
3-to-8 Dec 6-14 4-bit Shifter w/3-state Out 6-58
3-to-8 line Dec/DEMUX 6-41 4-to-16 Dec/DEMUX 6-20
4000 series functions See functions 4-to-16 Dec/DEMUX (OC) 6-22
4000 series ICs 7-2 4-Wide 2-In AND-OR-INVERTER 7-33
4-BCD to 10-Decimal Dec 6-70 4-wide AND-OR-INVERTER 6-81
4-bit BCD Down Counter 7-42 5-stage Johnson Counter
4-bit Bidirect Univ. Shift Reg 6-37 4017 7-9
4018 7-12
4-bit Bin Counter 7-9
40161 7-9 74xx series functions See functions
40193 7-13 7-stage Binary Counter 7-15
4-bit Bin Down Counter 7-43 8-Bit Bist Latch 6-7
4-bit Bin Full Add 6-54 8-bit Latch
4-bit Bin Full Adder 6-91 4099 7-34
74xx259 6-51
4-bit Bin/BCD Dec Counter 7-18
8-bit Parallel-Out Serial Shift Reg 6-27
4-bit Binary Counter
74xx293 6-56 8-bit Priority Enc 7-44
74xx93 6-94 8-bit Shift Reg 6-93
W
white noise 1-47
wide bandwidth amplifiers 5-10
Z
zener diode
about 3-6
DC model 3-6
parameters and defaults 3-7