The Complete Electronics Lab for Windows USERS MANUAL
Total Page:16
File Type:pdf, Size:1020Kb
Contents V10 The Complete Electronics Lab for Windows USERS MANUAL www.designsoftware.com 1 Contents COPYRIGHTS © Copyright 1990-2014 DesignSoft, Inc. All rights reserved. All programs and Documentation of TINA, and any modification or copies thereof are proprietary and protected by copyright and/or trade secret law. LIMITED LIABILITY TINA, together with all accompanying materials, is provided on an “as is” basis, without warranty of any kind. DesignSoft, Inc., its distributors, and dealers make no warranty, either expressed, implied, or statutory, including but not limited to any implied warranties of merchantability or fitness for any purpose. In no event will DesignSoft Inc., its distributor or dealer be liable to anyone for direct, indirect, incidental or consequential damages or losses arising from the purchase of TINA or from use or inability to use TINA. TRADEMARKS IBM PC/AT, PS/2 are registered trademarks of International Business Machines Corporation Windows, Windows 9x/ME/NT/2000/XP/Vista / Windows 7/ Window 8 are trademarks of Microsoft Corporation. PSpice is a registered trademark of Cadence Design Systems, Inc. Corel Draw is a registered trademark of Corel Inc. TINA is a registered trademark of DesignSoft, Inc. * English version 2 Contents TABLE OF CONTENTS 1. INTRODUCTION 9 1.1 What is TINA and TINA Design Suite? ............................ 9 1.2 Available Program Versions ............................................ 16 1.3 Optional supplementary hardware .................................. 18 1.3.1 TINALab II High Speed Multifunction PC Instrument ...................................... 18 1.4 LabXplorer Multifunction Instrument for Education and Training with Local and Remote Measurement capabilities ............................................. 19 2. NEW FEATURES IN TINA 21 2.1 List of new features in TINA v10 ..................................... 21 2.2 List of new features in TINA v9 ....................................... 22 2.3 List of new features in TINA v8 ....................................... 23 2.4 List of new features in TINA v7 ....................................... 24 3. INSTALLATION AND START-UP 27 3.1 Installation Procedure ..................................................... 27 3.1.1 Minimum hardware and software requirements ............................................................. 27 3 Contents 3.1.2 Installation from CD-ROM or from the Web ............... 28 3.1.3 Following the Installation Steps ................................. 29 3.1.4 Welcome and Software License Agreement................................................................. 29 3.1.5 Entering User Information ......................................... 30 3.1.6 Network Options ........................................................ 31 3.1.6.1 Single user license ........................................................ 31 3.1.6.2 Network license installed on local PCs ......................... 31 3.1.6.3 Network license installed on file server ......................... 31 3.1.7 Choose Destination Location ..................................... 32 3.1.8 Selecting a Setup Type .............................................. 33 3.1.8.1 Typical ........................................................................... 34 3.1.8.2 Compact ........................................................................ 34 3.1.8.3 Custom .......................................................................... 34 3.1.9 Selecting the Program Folder .................................... 35 3.1.10 Select Environment Options ...................................... 35 3.1.11 Selecting the Symbol Set .......................................... 36 3.1.12 Final check and copying the files ............................... 37 3.1.13 Completing the Setup ................................................ 37 3.2 Uninstalling TINA ............................................................ 38 3.3 Maintaining or Repairing an Installation .......................... 39 3.4 Network Installation ........................................................ 39 3.5 Copy Protection .............................................................. 42 3.5.1 Copy Protection by Software ..................................... 42 3.5.2 Copy Protection by Hardware (dongle) ...................... 45 3.6 Starting Up ..................................................................... 46 3.7 Experimenting with Example Circuits, avoiding common problems............................................ 46 4. GETTING STARTED 47 4.1 Schematic Editing Using the Mouse ............................... 47 4.1.1 Using the right mouse button ..................................... 47 4 Contents 4.1.2 Using the left mouse button ....................................... 48 4.2 Measurement Units ........................................................ 49 4.3 The Basic Screen Format ............................................... 50 4.4 Placing the Circuit Components ..................................... 56 4.4.1 Wire .......................................................................... 57 4.4.2 Input and Output........................................................ 58 4.5 Exercises........................................................................ 59 4.5.1 Editing an RLC Circuit Schematic.............................. 59 4.6 Analyses ......................................................................... 62 4.6.1 Analyzing an RLC Circuit (DC, AC Transient and Fourier analysis) ........................................................ 64 4.6.2 Creating and analyzing an OP-AMP circuit ................ 76 4.6.2.1 Calculating DC Transfer characteristic .......................... 81 4.6.3 Analysis of SMPS circuits .......................................... 82 4.6.4 Stress Analysis .......................................................... 93 4.6.5 Network Analysis ....................................................... 94 4.6.6 Analyzing a Digital Circuit with TINA’s Digital Engine ............................................................ 95 4.6.7 Analyzing Circuits using HDL Models ........................ 97 4.6.7.1 Analyzing a Digital Circuit Using Digital VHDL Simulation ..................................................................... 97 4.6.7.2 The HDL Debugger ....................................................... 102 4.6.7.3 Analyzing a Digital Circuit Using Digital Verilog Simulation ..................................................................... 105 4.6.7.4 Analyzing Circuits Using Verilog-A models ................... 106 4.6.7.5 Analyzing Circuits Using Verilog-AMS models .............. 107 4.6.8 Mixed Mode Simulation ............................................. 109 4.6.8.1 Waveform generation with a VHDL and Spice subcircuits ..................................................................... 110 4.6.8.2 MCU controlled SMPS circuit ........................................ 114 4.6.9 Testing your circuit in interactive mode ...................... 116 4.6.9.1 Digital Circuit with a Keypad ......................................... 117 4.6.9.2 Light Switch with Thyristor ............................................ 118 4.6.9.3 Ladder Logic networks .................................................. 118 5 Contents 4.6.9.4 HDL Circuits .................................................................. 119 4.6.9.5 Microcontroller ( MCU ) Circuits .................................... 121 4.6.9.6 Using the ASM Debugger .............................................. 123 4.6.9.7 Example PIC Innterupt handling ................................... 126 4.6.9.8 Editing the ASM Code in the Debugger ........................ 128 4.6.9.9 Making a Breakpoint in ASM ......................................... 129 4.6.9.10 Programming MCUs using C ........................................ 130 4.6.9.11 Debugging C code in MCUs .......................................... 133 4.6.10 Using the Flowchart Editor and Debugger in TINA .... 136 4.6.10.1 Flowchart Editor ............................................................ 136 4.6.10.2 Flowchart Debugger ...................................................... 141 4.6.11 Testing Your Circuit with Virtual and Real Time Instruments ....................................... 142 4.6.12 Using the Design Tool in TINA ................................... 145 4.6.13 Design Tool vs. Optimization in TINA......................... 149 4.6.14 Live 3D Breadboard................................................... 149 4.7 Creating a PCB (Printed Circuit Board) .......................... 155 4.7.1 Setting and checking footprint names........................ 155 4.7.2 Invoking TINA PCB .................................................... 159 4.7.3 Multiple Logic Gates in the Same Package and their Power Supply.............................................. 165 4.7.4 Creating a Flexible PCB Layout (Flex PCB) .............. 168 4.8 Mechatronics Extension ................................................. 174 5. USING SUBCIRCUITS, SPICE MACROS AND S-PARAMETERS 181 5.1 Making a Macro from a schematic ....................................................................... 181 5.2 Making a Macro from a Spice subcircuit .............................................................. 188 5.2.1 Creating Spice Macros in TINA ................................. 188 5.2.1.1 Creating macros from downloaded files ........................ 188 6 Contents 5.2.1.2 Creating macros on-the-fly by browsing the web .......... 192 5.2.2 Adding Parameters to Spice Macros ........................