Home

TINA Design Suite v7

image

Contents

1. 5 10 5 3 1 Using the Library Manager 5 10 5 4 Adding S parameter models 5 25 5 5 Creating a VHDL macro from a vhd file 5 27 5 5 1 Placing a VHDL macro in the schematic editor 5 29 5 5 2 Testinga VHDL macro 5 30 5 5 3 Changing the pin arrangement of a VHDL macro 5 31 6 MAKING YOUR OWN SCHEMATIC SYMBOLS AND FOOTPRINTS 6 1 6 1 Schematic Symbol Editor 6 1 6 2 IC Wizard in the Schematic Symbol Editor 6 4 0 3 FOOIDIIDEEGIEOE 6 6 6 4 IC Wizard in the Footprint Editor 6 10 8 1 8 2 USING THE PARAMETER EXTRACTOR ADVANCED TOPICS Introduction Table of Contens 1 1 CHAPTER 1 INTRODUCTION What is TINA and TINA Design Suite TINA Design Suite is a powerful yet affordable software package for analyzing designing and real time testing of analog digital VHDL and mixed electronic circuits and their layouts You can also analyze RE communication and optoelectronic circuits and test and debug microprocessor amp microcontroller applications A unique feature of TINA permits you to bring your circuit to life with the optional USB controlled TINALab II hardware TINALab II turns your computer into a powerful multifunction T amp M instrument Electrical engin
2. 9 n o 91 0 E oooooon J 4 Press F4 to invoke the Net Editor and set nets routing width First click on Modify all and enter 12 5 into the Track width field Then select power nets Ground VCC VCC and set their widths to 25mil Olgu K el ariel ola allla I To automatically route the netlist press the F5 button or select Autoroute board command from the Tools menu The following screen will appear HD Program Files DesignSoft Tina Pro EXAMPLES PCB OPAMP tne 915 Y 1091 5 Ice To see if everything is routed correctly press F7 or select DRC Design Rule Check from the Tools menu The following message will appear x A No errors found To finish our first simple design let s add a text box to the silkscreen assembly layer To do this click the T button on the toolbar The following message will appear Text properties E x Lowpass filter Font settings Angle 0 Text height 50 mil r Side Top Li idth 3 il mil C Bottom OK x Cancel Enter the text into the empty upper field and press the OK button The text will be attached to the cursor Move it to the place shown on the picture below and press the left mouse button GALYVLS ONILLADS GETTING STARTED FAD Program Files DesignSoft Tina Pro EXAMP Efe Gor Insert Yew
3. A great feature of TINA s VHDL is that you can not only view the VHDL code of each component but you can edit and run them immediately Let us replace the 4 line VHDL code S lt N5 AND N6 AFTER 23 ns N6 lt NOT C AFTER 18 5 ns C lt AND B AFTER 23 ns N5 lt OR AFTER 18 5 ns with this simpler 2 line code S lt A xor B after 1018 C lt A and B after 10ns This is easier to understand In fact if one of the A or B inputs are true the sum S is True while if both are true S is False A xor B while in this case the Carry bitis True A and B After editing the content of the VHDL blocks they should look like this TINA Quick Start NOTE 4 6 8 Using Virtual Instruments SE TINA VHDL Editor TINA VHDL Macro Description Begin entity n amp me e Halt add entity arch name a Half add arch portai A BiS C USE rtina primirives all Jaan entity section ENTITY e Half add entity IS PORT A IN scd logic OUT std logic C OUT std_logic B std logic ji END amp Half add entity architectura zection m m m m mmm m mmm momo m ARCHITECTURE a Half add arch of Half add anriry IS A xor E aftar Lone after Lone END Half add arch Linae 32 Ceol l Now close the edit window by pressing 22 Schematic Editor
4. CJO 1 17P VJ 12 M 096 TT 125N SOMSHDVIN 39145 MODEL 592 X D IS 185F R3 30 N 1 305 BV 70 IBV 1N CJO 1 17P VJ 12 M 096 TT 125n B 595 X D IS 1 355n R5 2 6 N 2 04 BV 50 IBV 5u CJO 0 35P VJ 8 M 1 2 TT 1 6u BZX84C2V X D 15 3 677 15 N 1 059 RS 12 IKF 1 XTI 3 EG 1 11 CJO 312 1E 12 M 2052 VJ 3971 FC 5 BV 2 766 IBV 64 76E 3 TBV1 56E 3 57 71 9 MODEL 2 64 3 0_ D 15 4 311 15 N 1 057 8 12 IKF 1 XTI 3 EG 1 11 CJO 291 5E 12 M 2719 VJ 5248 FC 5 BV 3 066 IBV 64 76E 3 TBV1 5E 3 TT 64 92E 9 Do not change the other settings Press OK A description listing models in the new TINA library will appeat TINA Quick Start 5 15 Spice Macros Create TINA Library Description Do not change the other settings Press OK A description listing models in the new TINA library will appear EX Library Manager MODEL 582 X D IS 185F RS 30 N 1 305 BY 70 IBV 1N CJO 1 17P VJ 12 M 096 TT 125N The file contains 3 normal and 3 Zener diodes In the Spice language there is no difference between normal Zener LED Schottky Varicap and other diodes However in TINA you can assign different schematic symbols to these types To do this select Categorize Components from the Edit menu The following dialog box will appear 5 16 TINA Quick Start Spice Macros Class Components Iof x Componen
5. Components Components gt gt 2 To be deleted from Catalog lt Move your component into the libraty by selecting it clicking on the button and then the OK button After Pressing OK TINA will prompt you and ask if you want to recompile the catalog source files and create a new updated catalog If you answer Yes TINA will create the new catalog and you can use it after restarting TINA You can also recompile the catalog using the Compile TINA Catalog command in the File menu This may be necessary if a previous attempt at compiling failed e g due to insufficient hard disk space In a similar fashion you can calculate magnetic core parameters You should enter the upper A and lower B curve of the hysteresis and the geometric parameters of the core Run an example with the default parameters load Default from the Template listbox to see typical values TINA Quick Start 8 1 CHAPTER 8 ADVANCED TOPICS Introduction In the previous chapters we have introduced TINA s main features and how they can be accessed Our demonstration however is far from complete for TINA contains many other useful and advanced features for designing testing and teaching electronics and electronic circuits These include S parameter models network analysis details of Fourier series and Fourier spectrum analysis symbolic analysis post processing of analysis results creation of phasor diagrams Nyqui
6. RED LED COXx35A 15 Ladder logic Initial state or after clicking the STOP button STOP L START State after clicking the START button Interactive VHDL Circuit 4 6 9 4 VHDL Circuits A great feature of TINA is that you can not only test but also modify VHDL circuits on the fly including the VHDL code itself Let s see this with the example Calculator_ex TSC in TINA s Examples VHDL Interactive folder Editor Ed Insert yem Interactive JAM Took Help wl alw gt l e 91 1 BHHDEPEBEE a SUPE 19991 4 TT ase Er SD 75585 IRE Crac EEN LCD Display Vec2 x GALYVLS ONILLADS This is a special calculator circuit controlled by the Opcode keypad For the Operation codes 1 2 3 and 4 it realizes a basic four function calculator complete with and basic arithmetic operations Further operations can be added through modifying the VHDL code inside the Control unit First press the 88 button as the Opcode is 1 you should see 4 2 6 on the LCD display Try the other Opcodes with different settings on KeyPad1 and KeyPad2 Now let s implement the operation to be assigned to Opcode 5 Double click on the Control box and press Enter Macro The VHDL code of the component will appear TINA Quick Start 4 59 GETTING STARTED Interactive VHDL Circuit 4 60 TINA VHDL Editor LIBRARY ieee USE ieee std logic ll64 all USE ieee st
7. The optional Multimeter for TINALab II allows DC AC measurements in ranges from 1mV to 400V and 100 mA to 2A It can also measure DC resistance in ranges from 1 0 to 10MQ You can also plug Experimenter Modules into the slot on the front of TINALab II allowing you to simulate measure and troubleshoot virtually the whole range of analog and digital electronics Using TINALab II with TINA gives you the unique capability to have circuit simulation and real time measurements in the same integrated environment This provides an invaluable tool for troubleshooting and brings your designs to life by comparing simulated and measured results 2 1 CHAPTER 2 NEW FEATURES IN TINA This chapter describes the new features and changes in the latest TINA v7 version and also in the previous 6 0 and v5 5 of TINA Many of them were suggested by TINA users while others were created by DesignSoft s team of software and electrical engineers We are sure you will share our excitement about these new features List of new features in TINA Design Suite 7 0 Much faster analog solver algorithm with improved convergent properties Integrated VHDL support User defined VHDL components with VHDL source code VHDL components containing VHDL source code can edited and executed instantly MCU support including wide range of PIC processors and more Built in debugger and assembler compiler for MCUs Assembler code of MCUs can be edited and executed
8. Whichever instrument you need multimeter oscilloscope spectrum analyzer logic analyzer arbitrary waveform generator or digital signal NOILONGOLANI INRTODUCTION generator it is at your fingertips with a click of the mouse In addition TINALab II can be used with the TINA circuit simulation program for comparison of simulation and measurements as a unique tool for circuit development troubleshooting and the study of analog and digital electronics TINALab II includes a DC to 50MHz bandwidth 10 12 bit resolution dual channel Digital Storage Oscilloscope Due to its advanced equivalent time sampling technology TIN ALab can acquire any repetitive signal with up to 4GS s equivalent sampling rate while in single shot mode the sampling rate is 20 MS s The full scale input range is 400V with 5mV to 100V div ranges The synthesized Function Generator provides sine square ramp triangle and arbitrary waveforms from DC to 4MHz with logarithmic and linear sweep and modulation up to 10V peak to peak Arbitrary waveforms can be programmed via the high level easy to use language of TINAS Interpreter Working automatically in conjunction with the Function Generator the Signal Analyzer measures and displays Bode amplitude and phase diagrams Nyquist diagrams and also works as Spectrum Analyzet Digital I O for the high tech Digital Signal Generator and Logic Analyzer instruments allow fast 16 channel digital testing up to 40M Hz
9. Defaults Label JHA Parameters x Cancel Help When done press OK A Save dialog box will appear Set Half Adder as the File name and press Save Note that there is already a macro with a similar name Half_add tsm This has the same content as the one we just created and is included for reference You can also use it in the next section Save Schematic Speichern in Macrolib Full_add tsm Dateityp Schematics Macro TSM Abbrechen Hilfe TINA Quick Start SOMNDVIN DILVIN3HOS SCHEMATIC MACROS Now let s see how to insert a macro into a schematic and use it Clear the circuit with File New or by restarting TINA Select Insert Macro then our newly created Half adder tsm and click Open EJ Noname Schematic Editor af x File Edit Insert View Analysis T amp M Tools Help ela Pt Voltage Source J 150 e x E o T Basic Manufacturers Models flops AD DA 555 Logic ICs Analog Control Our new macro will appear as a cursor Move it to the center of the screen and click the left mouse button The full symbol of the new macro will appear Note that a rectangular schematic symbol has been automatically created the macro name we specified is inside the rectangle and the label name is above it Now you can add more components to the circuit connecting them to the newly created macro a
10. TINA Design Suite v7 The Complete Electronics Lab for Windows QUICK START MANUAL DesignSoft www designsoftware com COPYRIGHTS Copyright 1990 2006 DesignSoft Inc All rights reserved All programs recorded on the original release CD of TINA and the accompanying documentation are copyrighted TINA is provided under a License Agreement and may be used or copied only in accordance with its terms and conditions 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 are trademarks of Microsoft Corporation PSpice is a registered trademark of MicroSim Corporation Corel Draw is a registered trademark of Corel Inc TINA is a registered trademark of DesignSoft Inc TABLE OF CONTENTS 1 INTRODUCTION 1 1 1 1 What is TINA and TINA Design Suite 1 1 1 2 Available Progra
11. text icon When the Text editor appears type in Resonance Note that using the F font icon of the editor you can select any font style size and color Click on OK and place the text in the neighborhood of the resonance peak Now click on the pointer icon then on the text and finally on the peak of the curve Note that the cursor turns into a when you are at the right position You have just entered a line and arrow that will always point from the text to the curve even if you drag the text into another position or make other changes Now place the schematic itself on your diagram Click the schematic editor Window and select Edit Select AU Copy this selection into the clipboard by selecting Ez Copy ot clicking on the Copy icon or using the Ctrl C hotkey Click on the Diagram Window and use Ed Paste ot click on the Paste icon or use the Ctrl V hotkey The frame of the circuit diagram will appear Position and drop it at the left corner of your diagram Now you can still modify this picture by dragging or double clicking on it and changing its size frame or background Now perform a transient analysis First make sure your cursor is the selection arrow then double click on the voltage generator and change the waveform to the default unit step After selecting Analysis Transient Analysis the following dialog box appears Transient Analysis Start display 10 0 s End display s X Cancel Iv Calcula
12. LED ANODE 5 gt LED CATHODE 3 gt EMITTER l gt COLLECTOR 2 gt BASE SUBCKT 223 CEARKB lt OptoDar gt Misc 0 22 TINA Quick Start First select the lt Optodar gt shape as described above You will see the following window Note that the Spice terminal nodes and the Shape terminals are not properly mapped The first node in the list node 4 is associated with the Collector of the transistor while according to the comments in the Spice code it should be connected with A the Anode of the input LED Click on A and drag A to the top of the list to Node 4 then drag K to Node 5 and finally drag E to node 3 Check the remaining two nodes which in this case must be correct Change the Category at the top right corner to lt Optocoupler gt This completes are editing of the various models Press OK to close the TLD editor The SPICE TEST TLD window should be updated and look like this er File Edit Search Window Help D amp EH z In V V Out Buffer4 Buffer 2 SUBCET xMAX4147 In In V V Out 01 Out Q2 lt Comparator Do gt SUBCET xmoc223 lt OptoDar gt 1 Using the File Save As command save both the SPICE TEST TLD and the SPICE TEST LIB files in the TINA 7 SPICELIB folder It is important to use this folder and not the EXAMPLES SPICE folder otherwise TINA will not see the changes Finally use the File Create TINA Library command to reg
13. T A ou o Digital a xi Oscilloscope Level Position zl 00 S VV Ea Run Sto Store Erase Out z Channel Vertical ou Z Coupling E 0 T Y XA XB DE oc ac Position B YA YB DY 0 Cursor Data On a s onf ale 8 s To start with virtual measurements load the circuit AMPLIOPT TSC from the examples directory Select the T amp M menu and place a Multimeter Function Generator and an Oscilloscope on screen Press Run in the Oscilloscope panel A distorted sine curve will appear on the oscilloscope screen Click on the multimeter button The multimeter will show only about 0 7 V volts at the collector Out this is the reason for the distortion Now double click on the Rb1 resistor The dialog box of resistor properties will appear Click on the Resistance field and then change the value with the arrows on the right hand side of the dialog box until the multimeter shows about 6V You can change the step size of the buttons by entering it into the edit box under the down arrow You can also define a hotkey to the up and down arrow by selecting it from the upper and lower listboxes Note that while the interactive mode is On and once a hotkey is defined the value of the resistor can be changed directly by pressing the appropriate key without opening the pr
14. The network analysis is carried out with the help of TINA s network analyzer The RF models of the circuit elements can be defined as SPICE subcircuits SPICE macros which contain parasitic components inductors capacitors or as an S parameter model defined by its S frequency function S functions are normally provided by the component manufacturers based on their measurements and can be downloaded from the Internet and inserted into TINA either manually or by using TINA library Manager Noise analysis determines the noise spectrum with respect to either the input or the output The noise power and the signal to noise ratio SNR can also be calculated Symbolic analysis produces the transfer function and the closed form expression of the response of analog linear networks in DC AC and transient modes The exact solution calculated through the symbolic analysis can also be plotted and compared to the numerically calculated ot measured results The built in interpreter can evaluate and plot arbitrary functions Monte Carlo and Worst case analysis Tolerances can be assigned to the circuit elements for use in Monte Carlo and or worst case analyses The results can be obtained statistically and their expected means standard deviations and yields can also be calculated Optimization TINA s enhanced optimization tool can tweak one or more unknown circuit parameters to achieve a predefined target response The target circuit
15. The output s chosen also determine which curve s will be displayed in the chosen analysis mode Sources and generators can be configured as inputs while meters can be configured as outputs However meters can also serve to determine the location of the input quantity that will be used when computing AC Transfer curves and functions For even greater flexibility inputs or outputs can be established at nearly any location by using the Insert Input and Insert Output commands Note that you can define the input parameter for parameter sweeping only through the Insert Input command To insert an input or output select the Input or Output command from the Insert menu and move the input I or output O symbol attached to the cursor over the first schematic node that it should define Click on that node release the mouse button and move the symbol to the second node and click on that node The program will draw a dashed rubber line between the two nodes while drawing and will also place this line on the schematic when you click on the second node Since an input reference can be established in so many ways it is important to remember that only one input at a time can be defined within a circuit Similarly in some of TINAS analysis methods e g Symbolic Analysis only one output can be defined within a circuit GALYVLS ONILLADS Editing an RLC Circuit Schematic GETTING STARTED 4 5 4 5 1 Exercises These exercises w
16. darlington transistors optocouplers voltage regulators fuses thermistors and more Subcircuits which may include both Spice macros or schematics Automatic shape creation for subcircuits Schematic Symbol Editor for creating custom subcircuit components New enhanced wiring tool for easier circuit setup and modification Spice macros can be now used directly from TINA s schematic editor Parameter Extractor program to calculate model parameters from catalog or measurement data Spice Library manager for extending and maintaining manufacturer made component libraries Multimeter Oscilloscope and Signal Analyzer components Average and RMS value determination for arbitrary periodic waveforms Undo and Redo function with unlimited number of levels 64 Fourier components both peak and RMS calculation AC Analysis any number of sources each with arbitrary frequency Component Toolbar Editor for adding your own components to TINA s component toolbar Now you can create new component 3 1 3 1 1 CHAPTER 3 INSTALLATION AND START UP Installation Procedure Minimum hardware and software requirements IBM PC AT 486DX or compatible Pentium or better recommended 64 MB of RAM A hard disk drive with at least 100 MB free space CD ROM Mouse VGA adapter card and monitor Microsoft Windows 9x ME NT 2000 XP Novell Netware version 3 12 or later or MS Windows NT 2000 XP Server or latet for the Network versions If the pr
17. when defining a block after fixing its first corner A dashed line box when positioning a component label or a text block A magnifying glass when defining a zoom window GALYVLS ONILLADS GETTING STARTED The Schematic window This shows the circuit schematic currently being edited or analyzed The schematic window is actually a window onto a larger drawing area You can move the screen window over the full drawing area using the scroll bars at the right and bottom of the screen When selecting the New command on the File menu the system automatically aligns the origin of the editor window with the center of the entire editor drawing area The same is true when an existing circuit file is loaded as this is the default window position You can think of TINA schematic as existing on several layers In addition to the primary layer that holds components wires and text there are two other drawing layers which you can turn on or off individually It is generally convenient to have these two layers on View Pin Markers On Off Displays hides component pin ends A grid of closely spaced dots covering the entire drawing area may be made visible or invisible in the schematic window depending on the current state of the grid button of the Grid On Off switch on the View menu At some schematic zoom levels you will not see the dots of the grid nevertheless all component pins and connecting wires will be on the grid Thes
18. 16 73 PIC microcontroller Edk yem Interactive hM rede leg ulis ETELE SS Jjelemelz TTT TTT TTT T This circuit is simply counting forward one count at a time Press the button to see how it works The display should step forward one by one TINA Quick Start 4 63 GALYVLS ONILLADS Microcontroller MCU Circuits Double click the MCU and click on the button in the dialog below 4 64 TINA Quick Start Using the MCU Debugger PIC Source Code Editor processor l6f73 radix hex finclude pl6f73 inc title flash Program title Set the processor 7Set the radix Include header file June 2002 20H 21H port equ PORTC tris_port equ TRISC clrf bsf clrf movlw bet mowvw f movlw novwt movw f decfsz goto movlw movw f goto goto port 001H 1 2 1 delay TEMP1 decfsz TEMPZ delay Loop port STATUS 5 tris port OPTION REG STATUS 5 bank 1 set port to bank 0 ort 0 GALYVLS ONILLADS Line 25 Col 3 Press the Edit ASM button The ASM code of the MCU will appear in the MCU Source code editor Now lets make the following change in the code Change the instruction selected above in line 25 you can see the line number in the right bottom corner of the code editor window from addlw D LH to addlw 02 Sa
19. FootPrint gt 3 Elle Footprint Edt Insert View Tools Heb 01 818 Hele Njololalol tr i fra zin Footprint Library NONAME FPL 1110 00 Y 130 00 Now pick up the next pad and move to Line2 We have only one parameter to change Center X which should be 500 OILVIN3HOS YNOA YOUR OWN SCHEMATIC SYMBOLS Se FootPrint Editor NONAME FPL New FootPrint gt File Footprint Edt Insert View Tools ojs ie ee s ew Es 2 Ini joo xj Footprint Library NONAME FFL lt gt The footprint symbol is ready to save into library Open the package fpl file select the resistor group or define a new group and press the add footprint button FootPrint Editor PACKAGE FPL New FootPrint gt Jak File Footprint Edt Insert View Tools Heb D aS Lal Nfalolajo tT ejm x zi zio El Footprint Library PACKAGE FPL Capacitor CASE Connector Diode DIP Inductor My FootPrints Norrelectnc Relay Resistor Transformer 6 4 IC Wizard in the Footprint Editor If you want to create the footprint of a more complex IC e g an IC with a complex pin configuration the IC Wizard can assist you The IC Wizard can be activated from the Insert menu The wizard presents several properties of the IC which you can set In the Technology g
20. Footprint Name TETE E Parameters Parameters Capacitance F 1 n Ohm Infinite Initial DC voltage V 0 Temperature Relative Temperature C 0 Linear temp coef 1 C 0 Quadratic temp coef 1 C 0 Maximum voltage V 100 Masimum nipple current A cen e You can also click the button in the Footprint Name line and see the PCB information dialog where you can select from the available footprint names You can also see the 3D view of the different parts via the 3D package view field of the dialog 4 74 TINA Quick Start Creating a Printed Circuit Board PCB information Model C1 Parts package fi Part 1 Component list Footprint list 3D component view Node list C RAD200 L300 w C RAD300 w400 L C1608 0603 C2012 0805 Show all components If you find the footprint name you want on the list click on it and press OK you will be returned to the component property dialog with the selected footprint name in the Footprint name line To confirm the change press OK on the component property dialog again If you do not find the footprint name you want you can add a new footprint using the Add buttons of the PCB information dialog Press the Help button for more information When everything looks good you can make a final check by clicking the 329 20 30 view button or by simply pressing the F6 key The 3D view of those components for whic
21. Length 400 Package dimension Width 270 Pad dimension Shape Round Pad dimension Drill hole 20 Pad dimension Diameter 40 Pad position Number of horz pins 14 Pad position Between pins 50 Pad position Between rows 160 OILVIN3HOS NMO YNOA YOUR OWN SCHEMATIC SYMBOLS FootPrint Editor PACKAGE FPL New FootPrint gt File Footprint Edt Insert View Tools Dla als Njalolalol tT ms I T Footprint Library PACKAGE FPL Capactor CASE a a E Connector Diode DIP Inductor My FootPrints i Norralaste Relay Resistor SIP SMO SMDIC Switches TO 4 Transformer x X 1140 00 Y 190 00 When the wizatd 1s finished the footprint can be further edited and saved in the library CHAPTER USING THE PARAMETER EXTRACTOR Using TINA s Parameter Extractor you can create component models that more closely represent actual real world devices by converting measurement or catalog data into model parameters M Parameter Extractor for TINA i OE x Database Options Calculate Window Help EN Clear Prev New Library gt Diode iray PNPh ansistor ave Libraries N channel JFET P channel JFET N channel MOSFET P channel MOSFET Gataloa Manager Write MPL file Exit Use the Windows Start menu to locate the TINA PRO folder Start
22. There are several screen pages where you can enter or change important installation choices such as Type of Installation Destination Directory etc To continue installation click on 509 You can always step back using the s Button If you do not want to continue installation for any reason click on If you elect to cancel installation the program will ask you if you really want to exit At this point you can either resume or exit Setup Welcome and Software License Agreement To begin the Procedure click on Next on the Welcome Page The first step is the Software License Agreement By clicking on Yes you are agreeing fully with DesignSoft s Terms and Conditions for using this software Entering User Information This data is used to personalize your copy of the software By default the installation program picks up the data entered when you set up Windows You accept these names as defaults by clicking on Next or you can change them Depending on your program version you might also need to enter a Serial Number located on your CD ROM package or on your Quick Start Manual NOILVTIVLSNI INSTALLATION Installation 3 1 6 Choose Destination Location Here you can select an Installation Directory other than the one suggested as a default The default is the Windows Standard Directory for Programs To change the directory click on Browse and select a different drive and or directory from the Choose Folder Di
23. Up and Move Down buttons In the top right corner TINA displays the category which you can also change Next the SPICE code of the selected component is shown while below that in the TINA Library Description field appeats the content of the actual line of the TLD With the buttons First Previous Next Last you can move among the models in the library SOMSHDVIN 39145 SPICE MACROS Verify that all entries for the first model are correct and jump to the second model by pressing the Next button In the dialog box the MAX4147 model will appear Tina Library Description Editor for SPICE subcircuits Shape and Nodes Category SPICE Ir 201 Ve Move Lp New shape Edit Shape Move Down SPICE code Possess esse ee 147 MACROMODEL gt REFER TO 4147 DATA SHEET lt connections negative power supply OUT SENSE I positive power supply OUT SENSE Tina Library Description The first things you should notice are the missing graphic symbol Shape at the top right corner and the red TLD line at the bottom These indicate that the Library Manager could not fully understand the model Press the vertical button at the right side of the Shape window and see a list of the available symbols appear Move down with the scroll bar until you see the lt Comparator8DO gt totem pole symbol E Library M
24. analyzing an Op Amp circuit Create the circuit diagram using an OPA121E operational amplifier from Texas Instruments as shown in the following figure Sample Circuit Using the OPA121E C1 1pF If you just opened TINA and wish to create your own circuit you can start adding components right away The circuit file name in the top line is set to Noname by default indicating that a new circuit file Noname TSC 15 being edited If you already have a circuit loaded in the editor for example our previous RLC circuit you can start a new one with the File New command You can switch between multiple circuits by clicking the Tabs at the bottom of the screen Now start adding components Left click on the voltage generator icon then release the mouse button The cursor will change into the generator symbol Position it using the mouse or by pressing the Ctrl R or Ctrl L key for rotation or the key for mirroring somewhere in the middle of the screen then press the left mouse button to drop the component into the schematic We still need to set the properties of this generator Double click on the generator and the following dialog box will appear GALYVLS ONILLADS GETTING STARTED Creating an Op Amp circuit 4 28 Voltage Generator VG1 7 arameters Leave the DC level and the IO state parameters unchanged Note that by accepting Input for the IO state parameter you have selected
25. digital circuit in TINA can be automatically converted into VHDL code and analyzed as a VHDL design In addition you can analyze a wide range of hardware available in VHDL and define your own digital components and hardware in VHDL The great advantage of VHDL is not only that it is an IEEE standard hardware description language but also that it can be realized automatically in programmable logic devices such as FPGAs and CPLDs TINA can generate synthesizable VHDL code along with the corresponding UCF file if the Generate synthesizable code checkbox 15 set in the Analysis Options menu You can save the created VHD and UCF files with the Create VHD amp UCF File command in the T amp M menu You can read the files with the free Xilinx s Webpack and generate the bit stream file describing the implementation of the design and then upload it to Xilinx FPGA chips You can find the detailed description of this topic in the Advanced Topics user manual Before realizing a VHDL design either with discreet components or FPGA you need to verify it with simulation This is very similar to the simulation with TINA s Analysis Digital Timing Analysis command using TINA built in digital models To work with VHDL you should just use the Digital VHDL Simulation command from the Analysis menu Let s examine some aspects of the VHDL simulation To do our first VHDL analysis Open the FULL_ADD TSC circuit from the EXAMPLES VHDL folder The followi
26. extendible library An advanced rubber wire tool is provided allowing easy modification of the schematic diagrams You can open any number of circuit files or subcircuits cut copy and paste circuit segments from one circuit into another and of course analyze any of the currently open circuits TINA gives you tools to enhance your schematic by adding graphics elements such as lines arcs arrows frames around the schematic and title blocks You can also draw non orthogonal diagonal components such as bridges and 3 phase netwotks PCB Design TINA v7 includes only circuit simulation while TINA Design Suite v7 includes TINA s advanced PCB designer This fully integrated layout module has all the features you need for advanced PCB design including Multilayer PCB s with split power planes pow erful autoplacement amp autorouting rip up and reroute manual and follow me trace placement DRC forward and back annotation pin and gate swapping keep in and keep out areas thermal relief fanout plane layers 3D view from any angle Gerber file output and much Electrical Rules Check ERC will examine the circuit for questionable connections between components and display the results in the Electrical Rules Check window ERC is invoked automatically so missing connections will be brought to your attention before analysis begins Schematic Symbol Editor In TINA you can simplify a schematic by turning portions of it int
27. field at the bottom of the dialog box to Spice circuit file Select the Examples VSpice folder then select the UA741 CIR file and press the Open button We could use the automatic shape generation option in which case a rectangular shape would be automatically generated but let s select a more appropriate operational amplifier symbol instead Uncheck the Auto generated checkbox and press the button The list of available symbols will appear e Noname Schematic Editor File Edit Insert View Analysis T amp M Tools Help Jas I5 e414 4 2 6 i Basic 4 Switches Meters Sources Semiconductors 4Manufacturers Models Gates Flip flops 44D DA 555 Analog Control New Macro Wizard xj Name Content 41 Current circuit Shape l Auto generated Defaults Label 5 Parameters X Cancel 2 se Transformer2 TINA Quick Start NOTE Select the triangular opamp symbol and press OK A Save dialog box will appear Save the new Spice macro under the name UA741 CIR Now let s insert the new subcircuit into a schematic and check its contents Select the Macro command of the Insert menu Click the UA741 tsm file and then press Open Now the new macro will be attached to the cursor Position it on the screen and drop it by clicking the left mouse button Double click the symbol to see its content The netlist editor wil
28. follow the program execution step by step by pressing the i trace into button After around 14 clicks we get to the PT1 label where the program seems to be in an infinite loop PT1 INCF TEMP F GOTO PT1 PB PIC16F 84_interrupt_rbO Schematic Edi Fle Edt Inset View Analysis Interactive Took Help slala IG 1 11 7 eros s fg eot 11 141 Base peaches Mele Sources jSemcordactor t ores Spice Maciat A Fip ALoge ICs AAD DA SES ARF CLAF COUNTER 2 zero the counter REC INTEDG ince oritive Exte i P BCP INTCON INT 2 clear i upt me Interrupts 1 mal interrupt R NT pin INTCON INTs 2 aask tor it interrupta 4 BS INTCON n Counts L gt H transitions on the RBO port PTL L EnD the debugging with Analysis Options Enable MC Code Debugger Start the VHDL interactive s sides on wath the VHDL Interactive mode buton INT SERV INC COUNTER 7 3 Track the program in step by step mode Use the HL switch to generate signals and t the interrupt in the debugger MOV COUNTED Re PORTA RCP INTCON INT i clear the rime DET IE 2 this al al in rupt enable UUJUUU SUT Select Bank Ban 0 zj TINA Quick Start 4 6 9 8 Now click on the SW HL1 switch and change it to High You should click when the cursor changes into an upward pointi
29. from the Examples folder of TINA and convert it into a macro fi Half_add Schematic Editor File Edit Insert View Analysis T amp M Tools Help ela ee jmd Delete the old terminals and replace them with subcircuit terminals called Macro Pins in TINA You can find and select the Macro Pins under the Special component toolbar add Schematic Editor File Edit Insert View Analysis T amp M Tools Help eel pv Lo oma E s o 14 sug recom zl IIBEEEGEGECNNNSSEERERN Basic Switches Meters Sources Semiconductors Manufacturers Models Giates Flip flops AAD DA 555 AL 1 Special Half Adder 5 2 TINA Quick Start Schematic Macros When you place Macro Pins labels such as Pin1 Pin2 etc are pre filled in Double click the Macro Pin and type in the new name in the label field You can also drag the component with the mouse or rotate it with the and keys or the buttons Next create and save the new macro Select the New Macro Wizard from the Tools menu Set the Name to Half Adder this will be displayed in the macro box that opens automatically and set the Label to HA This label will be displayed as the component label above the component Note that you can leave this field blank if you don t want a component label New Macro Wizard Name Halt Adder Content Current v Current circuit Shape lt Auto v Auto generated
30. instantly External simulator and debugger for VHDL 3D component view in the schematic editor to review if the design 15 PCB ready Passive and active filter design MAN NEW FEATURES SMPS Switching Mode Power Supply design support Steady State Solver Control of interactive mode from the new Interactive menu Stress Analysis Advanced integrated PCB design Multi layer PCBs Autoplacement Autorouting Rip up and reroute Follow me trace placement DRC Forward and back annotation Pin Gate swapping Keep in out areas Thermal relief Fanout Gerber file output Copper pour Split planes Footprint editor with multi pin footprint wizard 3D view of PCB boards Support to design multi pin schematic symbols More advanced Logic Design simplification tool IF statement allowed in Spice netlists More advanced file export EMF BMP JPG File Export More advanced file import EMF WME BMP JPG Insert Graphics Copy and Paste of any Windows dialogs captured by Alt Prt Scr into the Schematic Editor Extended virtual instrument for real time XY recording with average value RMS calculation and recording vs time List of new features in TINA PRO 6 Open several projects simultaneously and use copy and paste between projects Run analysis upon any open project New TSC extension for project files to avoid collision with MS Schedule and ACCEL Store all analysis results node and component voltages and curr
31. mode to calculate the DC transfer characteristic of this circuit Select DC Analysis Transfer Characteristic from the Analysis menu The following dialog box will appear Op Amp DC Transfer DC Transfer Characteristic Start value 0 End value fi Iv Cancel Number of points 100 2 Input VG1 M Enable hysteresis run Set the Start value to 7 5 the End value to 7 5 and then press OK After a short running time a Diagram Window will appear as shown below This displays the circuit s transfer curve output voltage vs input voltage Noname DC result1 File Edit View Process Help ela ri elo ttd A ee co c s 5 gt 2 00 0 00 2 00 Input voltage V 4 6 3 Analysis of SMPS circuits SMPS or Switching Mode Power Supply circuits are an important part of modern electronics The heavy transient analysis needed to simulate such a circuit may take a lot of time and computer storage In order to support the analysis of such circuits TINA provides powerful tools and analysis modes In this Chapter we will demonstrate these through examples TINA Quick Start 4 33 GALYVLS ONILLADS GETTING STARTED SMPS Circuits 4 34 Using the Steady State Solver The most time consuming part of an analysis of an SMPS circuit is to reach its steady state when the DC level of the output voltage does not change and the output waveform has only a small pe
32. resonant frequency of the circuit The Foutier spectrum and the Fourier series dialog box can also be obtained directly from the Analysis Fourier Analysis menu This way you do not need to calculate the transient function manually TINA will automatically do it before generating the Fourier series or spectrum Fourier Spectrum a Noname Fourier Amplitudel File Edit View Process Help Fourier Spectrum Amplitude Vs 200k 125k 150k Frequency Hz VTR resulti resulti 4 Fourier litudet 775k 100k NOTE You might be surprised that the unit of the frequency spectrum is in Vs volts times seconds That is because the continuous Fourier spectrum is a density function versus frequency If you want to know the approximate amplitude in a narrow frequency band you multiply the average amplitude given in Vs in the band with the bandwidth given in 1 s Fortunately Fourier analysis is not so complicated for periodic signals Periodic signals can be represented by Fourier Series or in other words as a sum of cosine and sine waves at the base fundamental frequency and integer multiples of the base frequency To try out this kind of Fourier analysis in TINA load AMPLI TSC from the EXAMPLES folder TINA Quick Start 4 25 GALYVLS ONILLADS GETTING STARTED Fourier Series 4 26 EJ Ampli Schematic Editor File Edit Insert View Analysis T amp M Tools Help alal 7 slo Patol
33. response voltage current impedance or power must be monitored by meters For example you can specify several working point DC voltages or AC transfer function parameters and have TINA determine the values of the selected components Post processor Another great new tool of TINA is its post processor With the post processor you can add new curves of virtually any node and component voltage or current to existing diagrams In addition you can post process existing curves by adding ot subtracting curves by applying mathematical functions to them You can also draw trajectories i e draw any voltage or current as a function of another voltage or current Presentation With TINA you can make quality documents incorporating Bode plots Nyquist Phasor Polar and Smith diagrams transient responses digital waveforms and other data using linear or logarithmic scales Customize presentations easily using TINA advanced drawing tools you can print your plots directly from TINA cut and paste them into your favorite word processing package or export them to popular standard formats Customization includes complete control over texts axes and plot style e g setting line width and color fonts in all sizes and color and automatic or manual scaling for each axis Interactive mode When everything is in order the ultimate test of your circuit is to try it in a real life situation using its interactive controls such as k
34. rls ear El Pu Es Run a transient analysis and then select the output curve with the largest amplitude Press the mouse right button and select Fourier Series from the popup menu the dialog box of the Fourier series will appear Note that you can access this dialog directly from the Analysis Fourier Analysis menu Set Sampling start time to 1ms and the Number of samples to 2048 Note that for best accuracy itis very important to set the starting time for the Fourier Series analysis to after the initial transient has died away Now press Calculate The list of Fourier components will appear EJ Schematic Editor File Edit Insert View Analysis T amp M Tools Help Es 1 Ground T Noname TR resulti File Edit View Process Help 300 00m 150 00m A A Fourier Series Sampling start time Om f Base frequency 0k Number of samples 204 Number of harmonics 2 150 00m Format cos kwt B sin kwt z Draw Fourier coefficients voltage V e c Ss 300 00m 0 00 1 00m ATR result1 176 39 Start Adobe PageMaker 65 E Paint Shop Pro Browse Eg rina 9 928 0 10x TINA Quick Start 4 6 2 If you press Draw you can also draw a diagram showing the amplitudes in V volts at integer multiples of the base frequency Creating and editing an
35. simulation when supplementary hardware is installed on the host computer With this hardware TINA s powerful tools can make real time measurements on real circuits and display the results on its virtual instruments Training and Examination TINA has special operating modes for training and for examination In these modes under TINA control the students solve problems assigned by the teacher The solution format depends on the types of problems they can be selected from a list calculated numerically or given in symbolic form The interpreter providing a number of solution tools can also be used for problem solving If the student cannot solve the problem he she can turn to the multilevel Advisor The package includes all the tools needed to produce educational materials A collection of examples and problems wotked out by teachers is also part of the package Another special educational function of TINA is the software or hardware simulation of circuit faults to practice troubleshooting Using TINA you can transform existing PC classrooms into contemporary electronics training labs at low cost Available Program Versions Different program versions tailored to meet various needs are available Starting with v7 TINA is distributed in to major versions TINA v7 and TINA Design Suite v7 TINA v7 includes simulation only while TINA Design Suite v7 includes our new advanced PCB designer too 1 3 1 3 1 Both versions are ava
36. study OPAMP2 TSC from TINAs EXAMPLES PCB folder also shown below GALYVLS ONILLADS GETTING STARTED 4 6 2 1 R3 10k J1 HEADER Note that even though all the computed voltages currents and signals are available after running an analysis see below in this chapter and also in the Post processing analysis results section you still need to define at least one output We have placed the parts into the schematic but they are still unconnected To connect devices move the cursor over an appropriate pin node until a small drawing pen icon appears When this pen appears click the left button of the mouse draw the wire and left click again at its endpoint Finally add the title to the schematic using the T icon on the toolbar Let s check the circuit we have just built and run ERC from the Analysis menu If everything is OK the following dialog will appear er Electric Rules Check Generating graph _ ____ Graph generation is OK Starting ERC Done 0 errors 0 warnings Automatic ERC Show on Warnings lt se Hep If there is a problem with the circuit a list of warnings or error messages will appear in the dialog box If you click on a warning or error message the related part or wire will be highlighted in the circuit diagram Calculationg DC Transfer characteristic We have already seen several of TINA S analysis modes But so far we have not used the DC analysis
37. the Parameter Extractor by double clicking its icon To create a new transistor which can be added to TINA s transistor catalog later select File New Library NPN Transistor YOLOVaLXA YSALANVAVd PARAMETER EXTRACTOR M Parameter Extractor for TINA NEWNPN LBR of x File Database Options Calculate Window Help 8 x xxx sls on marim ji clear Prev NPN Transistor Data Sheet 4 Page 1 A Parameters Component Usage for TINA Sl units Base Emitter voltage vs Collector Current NF RE I Id IC VBE AB IC BETA AC VCB Cob AD VEB Cib AE Hoe Bandwidth The dialog allows you to enter data from measurements from manufacturers catalog data or from TINA s default values use the Template ComboBox for this M Parameter Extractor for TINA NEWNPN LBR of x File Database Options Calculate Window Help 8 x gt x pA ont be coe f Clear Prev Component Page 1 E Parameters for TINA Output admittance Sl units IC mA VCE V Hoe umhos f fio 0 Defaut tT 7 Maximum Bandwidth MHz Addnew Click on each tab at the bottom of the screen and fill in all the transistor parameters Select the default values or enter your own Note be sure to fill in all data since missing data may lead to incorrect results Parameter Extractor File Database Opt
38. the subcircuit name and then press Next button The contents of the new library file will appeat Spice Macros Library Manager EM NONAME1 UA741 my operational amplifier macromodel subcircuit connections non inverting input inverting input positive power supply negative power supply output subckt UA741_my 2 3 4 5 11 12 4 664E 12 6 7 20 00E 12 5 53 dx 54 5 dx 90 91 dx 92 90 dx NOTE The new name of the subcircuit has the suffix my UA741 my Using Fe Save As save this library in the SPICELIB folder to be found in the main TINA folder e g TINA 7 SPICELIB with the name myspicelib lib Now select Create TINA Library Description from the Fiz menu The following dialog box will appear Create TINA Library Description My Spice Library TINA Quick Start 5 13 Spice Macros Here you specify a name for your new library You can also specify some search options for determining the pinout description of the Spice model The default setting is usually satisfactory Press the Help button for more information The description directory of the new catalog will be displayed in a new window Library Manager UA741 my operational amplifier macromodel subcircuit connections non inverting input inverting input positive power supply negative power supply output Ed subckt UA741 m
39. will be selected Selection of all objects Press Ctrl A to select all objects Moving objects A single object can be moved by dragging it Position the cursor on the object press and hold the left button and move the mouse Multiple objects can be moved by first selecting them see above then clicking the left button while the cursor is over one of the selected objects holding the left button down and dragging Parameter modification Double clicking on an object will bring up its parameter menu so that you can modify its parameters if it has any Crossing wires The crossing of two wites does not result in a connection at the crossing unless you deliberately choose there to be one Use Edit Hide Reconnect to place or remove a connecting dot However it is better drafting practice to never make a connection at a wire crossing as this avoids ambiguity about the presence or absence of a dot Block symbol copying After a block or symbol has been selected you may copy it by pressing Crtl C Then click outside the block or symbol to release it and press Crtl V You will see a copy of the block which you can place as you wish If the schematic window doesn t show enough room for the copy press Alt to zoom out Once you ve located the block click the left mouse button once to anchor it and a second time to deselect the moved block GALYVLS ONILLADS GETTING STARTED 4 2 NOTE 4 3 Measurement Units When se
40. 5 Time intv 6 s 76 Time shaft s TS TINA Quick Start Stress Analysis is 100mA in amplitude and 500us in width Accordingly the 100mA load current will rise to 200mA and then decrease to 100m4A again Note that the output current is shown through the ALoad current arrow at the output Let s run Transient from the Analysis menu and see the result Noname TR result29 File Edit view process Balls eig A 49 AC 7 0073 asa RM MULA LEA LULA LLLA DUM Baa La 1 00 AL1 1 00 AA AAAA AAAA AAAA nA MIAN 200 00 AAA AAA AALALA 200 00m i 7 100 00 VIS oes AMAA 100 00m oad 12 004 11 703 V Out 500 00u 750 00u Time s TR result23 ATR result24 ATR result25 TR resut27 ATR result28 ATR result29 4 6 4 Stress Analysis Stress Analysis can check parts for stress conditions such as maximum power dissipation and maximum voltage and current limits You can set these parameters in the property window of the parts or in the catalog This kind of analysis is also called Smoke analysis because overloaded parts often emit smoke You can also run Stress Analysis by setting the Stress Analysis Enabled checkbox in the Analysis Option dialog or on the Analysis menu When running DC or Transient Analysis from the Analysis menu a list of components will appear along with the parameters exceeding maximum limits If you click a component in the list the co
41. End LIBRARY ieee tina use ieee std logic 1164 11 use std textio all USE tina primitives all ENTITY e Half add entity IS PORT A IN std_logic S OUT std logic OUT std logic B IN std logic END e Half add entity ARCHITECTURE a Half add arch of e Half add entity IS BECIN S lt A xor B C lt A and B 24 END a Half add arch v Line 18 Col 37 5 5 2 Testing a VHDL macro 5 30 Let s test our newly created macro in TINA s VHDL interactive mode To do this place two High Low digital switches from the Switches toolbar one for each of the A B inputs and two logic indicators from the Meters toolbar Now select the VHDL interactive mode with the button or from the Interactive menu and press the S button The logiclevels of the nodes will appear Red for High Blue for Low The logic indicators will also show the logic level of the outputs in a Redsquare for High and empty square lt gt for Low TINA Quick Start 9 9 3 Changing the pin arrangement of aVHDL macro To change the pin arrangement you should add a special header to yout VHDL macto The easiest way to do this is to open the automatically generated macro and edit its header For example the header in the previous example is TINA VHDL Macro Description Begin entity_name e_Half entity arch name a Half arch ports A B 5 C TINA VHDL Macro Description End The pin arrangement
42. Half add entity IS PORT A s IN std Logie S OUT Std logic Cox UT Ud B jy END e Half add entity In this case the A B ports will appear on the left side and the S C ports will appear on the right side Lets see how to do a macro from the following VHDL code a half adder LIBRARY ieee tina use 1 666 800 Logic 1164 use std textio all USE tina primitives all entity section ENTITY e Half add entity IS PORT SYSLANVaVd S VHDL Macros S PARAMETERS 0 28 IN std logic OUT std logic OUT Std Logic WwW ou gt IN std logic END e Half add entity architecture section ARCHITECTURE a Half add arch of amp Half add entity constant delay time 20 ns BEGIN S A xor B after delay C A and B after delay END Half add arch 1 Select Tools New Macro Wizard 2 Check Generate VHDL Component uncheck Current Circuit 3 Type a name for the new macto New Macro Wizard Name hatt add VHDL Empty circuit Content Current circuit Shape E v Auto generated Defaults Vhat Label SCKR 7 Parameters x Cancel Help 4 Click onthe button in the content line select the VHDL file type and navigate to EXAMPLES VHDL in the TINA program folder You should see the half_adder vhd file in the open dialog Select this file and press Open 5 Now the New Macro Wizard dialog shoul
43. INA Network Installation CODY PFOLE CHOI ssec rusos aus rne Copy Protection by Software Copy Protection by Hardware dongle otaning Bom Experimenting with Example Circuits avoiding common PrOD INS eS GETTING STARTED Schematic Editing Using the Mouse Using the right mouse button Using the left mouse button 4 2 Measurement Units nnne 4 4 4 3 The Basic Screen Format 4 4 4 4 Placing the Circuit Components 4 11 4 4 1 tbo de de ido aD 4 12 44 2 HAD UL ANG OUI OUT m 4 13 24 5 WEXCICISCS scatet casi 4 14 4 5 1 Editing an RLC Circuit Schematic 4 14 4 6 Analyses iced sos ness ess eit oai rated vo v overex esos 4 18 4 6 1 Analyzing an RLC Circuit DC AC Transient and Fourier analysis 4 18 4 6 2 Creating and analyzing an OP AMP circuit 4 27 4 6 2 1 Calculating DC Transfer characteristic 4 32 4 6 3 Analysis Of SMPS circuits 4 33 4 6 4 Stress Analysis ssieesesnaeb cvi Ud puo VEZ 4 43 4 6 5 Network ANGlVSIS 4 44 4 6 6 An
44. INA Quick Start 4 47 GALYVLS ONILLADS GETTING STARTED NOTE File Edit View Process Help ad seal amp 9 Sus 424 il 5 on 0 00 500 m 5 2 0 00 400 p 5 4 o 0 00 0 00 250 00u 500 00u 750 00 100 Time 5 You can set the order of the curves by simply appending a colon character and a number to the output name This is particularly important when presenting the results of digital analysis where each output is displayed as a separate diagram For example if you have outputs named OutA OutB Carry and Sum you can ensure that they will be displayed in the order given by using the labels OutA 1 OutB 2 Carry 3 and Sum 4 The results of a purely analog analysis normally appear in one diagram however you can force TINA to display the results as separate diagrams in the order you desire by using the labeling method described above You must use the View Separate Curves command in the Diagrams window to separate the curves If you don t use this labeling method TINA presents the curves in alphabetical order 4 6 7 Analyzing a Digital Circuit Using Digital VHDL Simulation VHDL Virtual Hardware Description Language is an IEEE standard hardware description language used by electronic designers to describe and simulate their chips and systems prior to fabrication TINA v7 and higher versions now also include a powerful digital VHDL simulation engine Any
45. Ja ewecandacion Joao Viscres ove bai Lope IC 565 ARE 130g ints LCD Display Op codes 5 a b 2 to be implemented 4 6 9 5 Microcontroller MCU Circuit To test circuits with programmable devices requires special development software that permits a high degree of interactivity This calls for debugging software that can test the code running in the device step by step TINA v7 and higher versions support PIC microcontrollers support for other MCUs are constantly being added to TINA Even though you can add your own microcontrollers described by VHDL the built in microcontrollers in TINA are precompiled for higher performance Their VHDL code is not visible to the user In any event you can see modify and debug the program running in any of the supported processors and of course you can make and run your own code There are two ways of providing the program for microcontrollers in TINA You can use the binary code and debug file made by any standard compiler e g MPLAB for PICs or you can just load your assembly code to run and debug directly in TINA using its built in assembler debugger To load the code into the MCU double click on the schematic symbol One of the following dialogs will appeat GALYVLS ONILLADS GETTING STARTED Microcontroller MCU Circuits NOTE Label Footprint Name Parameters SubCkt Shape SubCkt Content SubCk
46. NILLADS GETTING STARTED ley Edit Hide Reconnect Use Hide Reconnect to place or remove a connecting dot between crossing wire or wite component connection Cx Edit Rotate Left Ctrl L Edit Rotate Right Ctrl R Rotates the selected component Mirrors the selected component Hotkeys Ctrl L Ctrl H fo SAN p uu Switches On Off the grid I e makes the grid visible or invisible Explicitly zoom in a selected portion of the current view It will also zoom out a portion if you just click with the icon into the middle of the area you want to zoom out li 005 Select zoom ratio from a list from 10 to 200 You can also select Zoom All which will zoom the effective drawing to full screen Interactive modes see also on the Interactive menu e c DC mode AC mode 1 2 1 Continuous transient mode e Single shot transient mode the time is the same as set at Analysis Transient Digital mode VHDL mode With this listbox you can select the analysis and the Interactive Mode Options dialog Analysis Optimization Target Select Optimization Target to set up Optimization mode or to change settings IE Analysis Control Object Select Control Object for Parameter Stepping or Optimization Bt Analysis Faults enabled If this button is pressed it enables component Faults set by Fault property of
47. On push button Wait until the cursor turns into a vertical arrow to turn on the light The Thyristor will turn on and remain on even after the push button is released So will the light You can turn off both the Thyristor and the light bulb by pressing the key S on the keyboard or clicking on the push button S In both states of the circuit you will see the currents shown by the two ammetets Ladder Logic networks Another version of a self holding circuit this one based on ladder logic can be found in the LADDERL TSC circuit file in the EXAMPLES MULTIMED folder GALYVLS ONILLADS GETTING STARTED Initially the red LED will light If you click on the START button click when the cursor changes into a vertical arrow OCR1 will close and stay closed since the current flowing through OCR1 will keep magnetizing the relay coil CR Now the green LED will light OCR2 will open and the red LED will turn off If you now click on the STOP button you will break the self holding circuit and the relay CR will release the red LED will light again and the green LED will turn off You can make it easier to operate switches if you assign them to hotkeys on the keyboard your PC s keyboard Double click on a switch when the cursor has turned into a hand symbol To assign a hotkey select a letter or number on the list at the Hotkey field of the property dialog of the switch Ladder Logic STOP START CR GREEN LED COX36A
48. To see our newly created full adder macro select Macro from the Insert menu and then select Full adder tsm and click Open E Noname Schematic Editor File Edit Insert View Analysis T amp M Tools Help lal tell lalaila de A ae aloe Fe7 5 fakih Basic Switches Meters Sources Semiconductors 4 Manufacturers Models Gates Flip flops 44D DA 555 4 Logic ICs Analog Control Special Double click on the symbol and the schematic inside the circuit will appear showing two of our previous half adder macros You can then double click on either of the macros to see the schematic inside Return to the Full Adder and the main circuit by clicking the Leave Macro button TINA Quick Start 5 7 SOYOVWN DILVIN3HOS SPICE MACROS Spice Macros 5 2 Making a Macro from a Spice subcircuit In TINA you can create your own components from any Spice subcircuit that you have made or downloaded from the Internet Note that there are also Spice component models in the large and extensible manufacturers model library provided with TINA The extension of those libraries is described later Let s create a UA741 operational amplifier using a Spice subcircuit First select the file containing the subcircuit To do this select the New Macro Wizard from the Tool menu Uncheck the Current Circuit checkbox and press the button An Open dialog box will appear Since we want to read in a Spice file set the Files of type
49. Took Options Hep Oui K Brite mies gt 7 1 c M BEY gt MEC Oo oM oo n OO 600 oooe6o0o0o jm M M Y Finally you can check your design in full 3D To do this press F3 or select 3D View from the View menu After some calculation the following window will appeat PCB Viewer EXAMPLESXPCBXOPAMP finished tpc nixi Eile View Options NET ziii Bs p S m You can rotate the 3D model and zoom in and out with the control arrows at the bottom You can display or hide these arrows through the Options menu with Use control arrows checkbox You can also rotate this 3D model by clicking with the mouse at any point holding down the left button and moving the mouse You can also move the camera forward or backward to see the whole design or just a part of it in more detail To move the camera hold down the tight mouse button and move the mouse After this you can either print your design or create a Gerber file for a manufacturer To print use Print from File menu To obtain Gerber files to direct a photoplotter choose Export Gerber file from File menu Gerber option can be changed through Gerber output setting under Options menu This example concludes the introduct
50. alog Choose Destination Location Setup will install Tina Pro for Windows in the following folder To install to this folder click Next To install to a different folder click Browse and select another folder You can choose not to install Tina Pro for Windows by clicking Cancel to exit Setup Destination Folder C Program Files DesignS oft T ina Pro Browse i Cancel IMPORTANT NOTE If you are installing TINA for Windows to a hard disk that already has an earlier version of TINA you must be sure to use a new directory name for TINA for Windows such as the suggested directory C Program Files DesignSoft Tina 7 or the working files you have already created will be overwritten and lost If uncertain exit setup copy your TINA files safely to another hard disk directory or to floppy disks then resume setup TINA Quick Start 3 1 7 Selecting a Setup Type Installation TINA offers you three different types of Setup You can either run a Typical Setup Default a Compact Setup or a Custom Setup NOTE The detailed settings for the Compact installation are made after you select Compact and click on Next 3 1 7 1 Typical The commonly used components are installed This includes Program Files Samples and Utilities i e Exam Manager Spice Library Manager Select Components Select the components you want to install clear the components pau do nat want to install Components C
51. alyzing a Digital Circuit with TINA s Digilal ENGIN O iet m 4 45 4 6 7 Analyzing a Digital Circuit using Digital VEIDE Simulation e e hace es Sues 4 49 4 6 8 Testing Your Circuit with Virtual and Real Time Instruments eee 4 53 4 6 9 Testing your circuit in interactive mode 4 55 4 6 9 1 Digital Circuit with a 4 56 4 6 9 2 Light Switch with Thyristor seessssessesssss 4 57 4 6 9 3 Ladder Logic networks 4 58 4 6 9 4 dap EG P 4 59 4 6 9 5 Microcontroller MCU Circuits 4 61 4 6 9 6 Example PIC Flasher 4 63 4 6 9 7 Example PIC Interrupt handling 4 65 4 6 9 8 Editing the Code in the Debugger 4 69 4 6 9 9 Making a 4 70 4 7 Creating a Printed Circuit Board PCB 4 71 4 7 1 Setting and checking footprint names 4 72 4 7 2 Invoking TINA eb iesus 4 76 5 USING SUBCIRCUITS SPICE MACROS AND S PARAMETERS 5 1 5 1 Making a Macro from a Tear ex 5 1 5 2 Making a Macro from a SDICG SUDOIFGUIE cie 5 8 5 3 Using and extending Manufacturers Spice model catalogs in TINA
52. anager 218 5 File Edit Search Window Help been Xi Tina Library Description Editor for SPICE subcircuits JEN C Program Files DesignSoft Shape and Nodes Category we x spicet test SUBCKT xMAX4200 n SUBCKT xMAX4147 b 2 SUBCKT xmoc223 lt Amplifier8 gt a zi Move Down 147 DATA SHEET lt Previous lt Comparator8COG gt V 01 n OpenCo positive power supply 1 negative power supply Int DutGnd l OUT SENSE y 01 Eod og OUT SENSE lt Comparator8D0 gt 1000 Ki cB EEE X Cancel Out Int gt CROMODEL First Next Spice Macros Click the lt Comparator8DO gt totem pole symbol This symbol will be inserted into the Shape window Tina Library Description Editor for SPICE subcircuits Shape and Nodes lt Comparator8D0 gt SPICE v Q2 New shape Edit Shape Ins In Category Misc Y Move Up Move Down SPICE code REFER TO 4147 DATA SHEET gt connections xMAX4147 50 Tina Library Description 0 xMaxX4147 Int In V V Outt Ql Out Q2 lt ComparatorsDO gt PPPg9g 7 1 7 MACROMODEL negative power supply OUT SENSE I positive power supply lt Previous A Next Last OUT SENSE Check the list showing the connection between the Shape node
53. asily switch to Nyquist ot Amplitude amp Phase diagrams by using the Tabs at the bottom of the Diagram Window You can read exact input output values by enabling one ot more of the cursors Note that in any representation you can get and place the formula of the transfer function using Symbolic Analysis and selecting AC Transfer or Semi Symbolic AC Transfer The formula will appear in the Equation Editor Window and you can place it either on the Diagram or the Schematic window as described above TINA Quick Start 4 19 GALYVLS ONILLADS GETTING STARTED Noname AC Amplil File Edit View Process Help X aal aah ag Tx xol til Resonance 20 00 R11000 30 00 10k 100k iM Frequency Hz AC Amplil AAC Nyquist AAC Bode2 Using TINA 5 graphic facilities you can add more useful information to your diagram As an example let s add markers a special annotation and the circuit schematic itself to the diagram To add markers to a curve move the cursor over the curve find a position when the cursor changes into a shape and click on the curve at this position When the curve becomes selected it turns red Now you can either double click on it or press the right button of the mouse and select Properties on the popup menu A dialog box will appear and you can set the curve s parameters Color Line width Marker Select Marker Square and click on OK To add some text click on the
54. atalog Source Files Educational Utilities Spice Libraries Utilities Device Driver Description TinaLab device driver Ehange Space Required 17300 K Space Available 203552 TINA Quick Start 3 5 NOILVTIVLSNI INSTALLATION 3 1 7 2 3 1 7 3 NOTE 3 1 8 Compact Only the most important components are installed This results in a usable TINA installation but one without certain program components such as Exam Manager Custom You will be able to decide which components are to be installed The default settings are similar to those of the Typical installation Deselect the unwanted components or select the missing ones If you wish to install the TINALab Card TINALab II or other third party supplementary hardware you must select the Custom installation option at the time of installation and check the appropriate device driver on the list Selecting the Program Folder Here you can choose where in the Programs Section of your Windows Start Menu the Program Icons will appear The default is a new sub menu called Tina 7 You can change this name or select an existing Program Folder from the list Selecting the Symbol Set TINA can display its component schematic symbols according to the US ANSD or the European DIN conventions Select the one appropriate for you 3 1 10 Final check and copying the files 3 1 11 NOTE This page lists the settings you have made giving
55. chematic Editor File Edit Insert View Analysis T amp M Tools Help Sle Is 1 Es afro ei sup tt tt ttt tt it td V 04 AD600 Ae Using and extending Manufacturers Spice model catalogs in TINA In TINA you will find large catalogs of manufacturers Spice models In most cases you will find that the required components are already in TINA s manufacturers model catalog You can select components by function manufacturer and part number You can also extend the library using TINA s Library Manager program Using the Library Manager TINA has large libraries containing Spice models provided by semiconductor manufacturers such as Analog Devices Texas Instruments National Semiconductor and others You can add more models to these libraries or create your own Spice Library using TINA s Library Manager LM Let s learn how to add a Spice model to TINA s Spice libraries Spice Macros First start the Library Manager program Use the Windows 95 Start menu to locate the TINA folder and double click on its icon Select Collect subcircuits and models from the File menu Find the EXAMPLES SPICE folder in the dialog box click the SPICE folder where our example subcircuit a ua741 amplifier has already been placed and press Next CAProgram Files DesignSoffTi Program Files E DesianSoft Tina Pro EXAMPLES SPICE A new dialog box will appear with th
56. commands Move rotate or mirror groups of components Select the components one by one holding down the shift key as you click on them You may also use window selection to identify the group When you ve selected the last component release the left mouse button then move the cursor over one of the selected components press and hold down the left mouse button and drag the selected parts with the mouse While dragging you can use the Ctrl L Ctrl R and keys to rotate and mirror components Move any component label separately by clicking on it and dragging Modify component parameter value s and labels of the component by double clicking on it Of course if you want to keep these changes you must save the circuit again GALYVLS ONILLADS GETTING STARTED 4 6 4 6 1 Analyses TINA has a variety of analysis modes and options The analysis method is analog when a circuit contains only analog components then the components are modeled with their analog models The analysis method is mixed when a circuit contains both analog and digital components then the components are modeled with their analog models The analysis method is digital mode when a circuit contains only digital components then the components are modeled with their fast digital models Analyzing an RLC circuit DC AC Transient and Fourier analysis Now execute AC and transient analyses on the RLC circuit you have just entered F
57. components You can set component faults with the Property Editor by double clicking on components s View3D view 2D view Hotkey F6 2D 3D view If this button is pressed TINA s Schematic Editor displays circuit components as 3D pictures of the real component assigned to the schematic symbol This is a simple but useful check before starting the PCB design Tools PCB Design Invokes the dialog which initiates the PCB design module of TINA E Voltage Pin qi Tools Find component Find Component tool Invokes a component searching and placement tool This tool helps you find by name any component in the TINA catalog The search string that you enter will be found wherever it occurs at the beginning at the end or anywhere within the component s name This tool is useful when you don t know where a particular component is located or if you want a list of all the components that match particular search criteria A component found in a search can be placed immediately into the schematic by selecting it and pressing the Insert button of this tool Resistor Component list With this tool you can select components from a list GALYVLS ONILLADS GETTING STARTED The Component bar Components ate arranged in groups named by the tabs on the Component bar Once you have selected a group the available component symbols appear above the tabs When you click on the desired component and release the button the cursor c
58. course there is no guarantee that the default physical representatives of the parts are the same as those needed by your design There are two ways to check this You can use TINA s Footprint name editor which you can invoke from the Tools menu In this dialog you see all of TINA s components and the corresponding footprint names SS Footprint Name Editor Label Footprint Hame C AX200 w120 C2 C AX200 W120 X Cance C AX200 W120 C AX2UD W120 Ji 100 12 100 1 DIP14 DLITI NOPCE DLIT2 NOPCE Fi Fi Ax3nn W100 R2 Fi 45300 W100 R3 Fi 454300 w100 R4 A300 W100 VGT 100 51 100 JP100 Clicking on the footprint name fields you can select from the available footprint names In the dialog components that do not already have a footprint name association will be denoted by red characters and also by 222 in the footprint name field GALYVLS ONILLADS Creating a Printed Circuit Board Footprint Name Editor Label Footprint Hame C C ST a BAD EP uM X EDU CP CYL300 D7n C4 CP CrL100 D30 0 Help 1 C R amp D200 L300 W100 z J2 1 Fil H AX3DO W100 R2 RH AM3DO w100 R3 Hi ADD W100 H4 Hi AOD 7100 VOI JP100 51 JP100 Locate M52 JP100 2 Alternatively you can double click on each part and check the Footprint Name of the component property dialog GETTING STARTED 22 tupenitur C2
59. d Pin Properties Fi Name v Show Shape Normal Length Normal 2 Direction T f HM Electric type Passive Y Visibility Always X Cancel Help OILVIN3HOS YNOA YOUR OWN SCHEMATIC SYMBOLS 6 2 After you have positioned all the terminals you can establish their properties by double clicking on each of them You should assign terminal names as shown in the picture below Next add a large summation sign Click onthe Text Editor button on the Toolbar enter an S in the window and select a font To get the special Greek summation sign select the Symbol Font Press the B Device Properties button set the Name of the symbol to Full Adder and press OK Finally copy the new symbol into the symbol library with the button it appears now at the end of the list and use the File Save command to save the now extended devices ddb file in the TINA main directory IC Wizard in the Schematic Symbol Editor When you need to create the shape of an IC with a lot of pins the IC Wizard can assist you The IC Wizard can be activated from the Draw menu by selecting the IC Wizard command The following dialog box appears Wizard in the Schematic Symbol Editor IC Wizard Pin layout Genetic Number of pins 2 Vendor specified pin lst Load pin lest The wizard offers two options Generic If you select this option the Wizard c
60. d amp Dir EU 0 lt X 118 Y 14 When the Wizard is finished the shape can be further edited with the tools described above Footprint Editor Using the Footprint Editor you can create new footprint symbols that you can add to the footprint library You can start the footprint editor from the Tools menu of TINA s PCB Designer by selecting the Footprint Editor command TINA Quick Start If you want to create a new footprint you can build it by placing vatious primitive drawing elements and symbols including lines rectangles arcs text and pads We ll recreate a simple resistor footprint already included in the system First clear the editor window by selecting the New Footprint command from the Footprint menu Then set the position of the origin by double clicking on the cross symbol with the little arrows Enter 1300 1000 in the X and Y fields respectively Check the Use Relative Coordinates checkbox and press OK FootPrint Editor NONAME FPL New FootPrint gt m 21x File Footprint Edt Insert View Tools Diar alie mlx elo NJala e T elm a i fid BiSiscreen top il Footprint Library NONAME FPL gi Now select the rectangle symbol on the toolbar and draw a rectangle around the origin To do this click on one corner hold down the mouse left button and drag the cursor to the opposite corner Release the mouse button If you create a footprint you shoul
61. d appear looking like this TINA Quick Start 5 5 1 VHDL Macros New Macro Wizard Name ha add VHDL Empty circuit Content Hall adder vhd cic Shape E v Auto generated Defaults Label scktt i Parameters x Cancel 7 Help 6 Press OK to save the macro and save the macro into the default Macrolib folder Placing a VHDL macro in the schematic editor Not let s see how can we insert our previously saved VHDL macro into TINAS schematic editor 1 Select Insert Macro from the menu and select the previously saved macto hal VHDL TSC from the MACROLIB folder of TINA s main program folder The screen will look like this D Cm pet Yew tye peeta DAN i gt e 181 e wl B Sicer d Maturr 4 5 alris HE eJ 4 4 Af e tHo i jJ erwcondurtar Dotoebecthicmc 4 5 pcs Mecra d Daten Pape plage JAD DA 5655 errata Corto U1 Half adder VHDL TINA Quick Start SYSLANVaVd S S PARAMETERS VHDL Macros To see the content of the macro double click on it and press the Enter Macro button on the property dialog that appears The VHDL content of the macro will be displayed E os ie TINA VHDL Editor TINA VHDL Macro Description Begin entity_name e Half add entity arch Half add arch ports A B S C TINA VHDL Macro Description
62. d be very careful with the dimensions You must define the exact dimensions according to the manufacturer s data sheet especially of the pads otherwise the parts cannot fit on the board To set the shape precisely it is better to use cootdinates rather than drawing with the mouse To set the size of our rectangle using coordinates move the mouse ovet one of its edges and when the cursor changes into a hand symbol double click at one edge of the rectangle The Rectangle Property dialog will appear OILVIN3HOS YNOA YOUR OWN SCHEMATIC SYMBOLS me Rectangle Properties Name Width 230 mi Height 2933 mil E Line Width 3 mil WEICHE pm Now enter 0 0 in the CenterX and CenterY fields 840 300 into Width and Height and 5 into the Line Width fields In the Rectangle Property dialog of the shape you can change the layer settings too By default a rectangle shape resides on the Silkscreen Top and Assembly Drawing Top layers Pressing the down arrow invokes the layer configuration editor The layers can be turned on off by double clicking on the grey square next to the layer name In out example the default layer configuration 1s good so don t change it Close the property editor by pressing OK amp u FootPrint Editor NONAME FPL New FootPrint gt Ged File Footprint Edt Insert View Tools Heb Die aS MICI olse E 2 in ix v Sikscrean Top Footprint L
63. d logic signed all ENTITY calculator IS PORT a b c IN STD LOGIC VECTOR 3 DOWNTO 0 o OUT integer END calculator ARCHITECTURE Behavioral OF calculator IS signal a c b c c c STD LOGIC VECTOR 4 DOWNTO 0 BEGIN PROCESS a b c BEGIN lt b c lt 9 0 amp a 0 0 S amp b c c lt 0 amp c END PROCESS PROCESS a c b c c variable al bl cl ol integer BEGIN CONV INTEGER a c CONV INTEGER b c CONV INTEGER c c CASE cl IS WHEN 1 gt ol WHEN 2 gt ol WHEN 3 ol al WHEN 4 ol al WHEN OTHERS gt ol END CASE al al lt ol END PROCESS END Behavioral Line l 1 1 The actual calculations are made in the CASE statement at the end of the VHDL code Let s modify the code like this CASE c1 IS WHEN 1 gt ol al bi WHEN 2 gt ol al bil WHEN 3 gt o1 al bil WHEN 4 gt ol al bil WHEN 5 gt ol al b1 2 WHEN OTHERS gt OL 0 END CASE Close the VHDL Editor Window and press the D button Set 5 at the Opcode keypad and you should see the average of KeyPad1 and KeyPad2 settings on the LCD Display TINA Quick Start 3 Cetculator_ex Schematic Leitor Celculator_ex c Ds Cat pomt Yew nayss perth lal amp eros sig Sues mii o J 6lel6l lal l labelulai lololslele TT 11111 Bani freies Sauces
64. ding transistors given by MODEL Spice commands to TINA using the transist lib library There is no need to categorize these components since the NPN and PNP transistors have different notations in Spice In many cases adding models to TINA is as easy as described above but in some cases TINA cannot make the connection between the Spice models and their graphic symbols automatically Fortunately TINA s latest Library Manager provides an easy to use tool to solve this problem Let s the add the library SPICETST LIB from the EXAMPLES SPICE folder to TINA First start the Library Manager as described above Open the SPICE TEST LIB file using the Open icon or the Open command from the File menu Use the Create TINA Library Description for Spice Models and Subcircuits Command as described above You will see the following window amp Library Manager Bl x File Edit Search Window Help xli K C Program Files DesignSoft Tina Pro EXAI 5 REFER TO Max4200 DATA SHEET lt C Program Files DesignS of t Tina Pro EXAMPLES SPICE spicet test tld B Spicet test SUBCKT xMAX4200 In V V Out lt Buffer4 gt Buffer SUBCKT xM X4147 In In V V Out Q1 Out Q2 utoShape Misc SUBCET xmoc223 453 12 lt gt Misc No processable comment Looking at the lines of the spice test tld file containing the library description it seems that the
65. e various analysis modes under the Analysis menu The Oscilloscope and Signal Analyzer virtual instrument components have a small screen and their purpose main function is to be used with our 3D circuit analyzer program EDISON Testing your Circuit in Interactive mode When everything is in order the ultimate test of your circuit is to try it ina real life situation using its interactive controls such as keypads and switches and watching its displays or other indicators You can carry out such a test using TINA interactive mode Not only can you play with the controls but you can also change component values and even add or delete components while the analysis is in progress The GALYVLS ONILLADS GETTING STARTED interactive mode is also very useful for educational and demonstration purposes for tuning circuits interactively and for interactive circuits which you cannot test otherwise e g circuits with switches relays or microcontrollers First select the interactive mode required DC AC TR DIG or VHDL with the J button then press the button XX can be DC AC TR VHD etc depending on the mode set by the button You can also select the required interactive mode with the DC AC Transient VHDL commands of the Interactive menu You can statt the interactive simulation with the Start command of the Interactive menu and stop it with the Stop command The Start command will turn into Stop when the int
66. e click on the SPICE folder This is where our example an S parameter transistor called s bfp405 s2p has already been placed Press the Next button Note the S parameter files must have either S1P or S2P extension the manufacturers use the same convention If the extension 15 S1P it means that the device is a 1 port described with 1 parameter otherwise a 2 port device described with 4 S parametets A new dialog box will appear with the list of available files on the left Note that the file you select must be a proper S parameter file S Parameter data files are in the TouchStone format This 1s a typical data segment of a two pott file S Parameter file description MHz S RI 50 0 30 0 02 0 05 0 03 0 02 0 03 0 02 0 02 0 05 0 31 0 03 0 06 0 02 0 01 0 02 0 01 0 03 0 06 0 33 0 04 0 07 0 01 0 03 0 01 0 03 0 04 0 07 The first line is a header that gives the frequency units parameter measurement format and characteristic impedance of the measurement here 50 Ohms The first column is the frequency in Hz The next columns are in order 511 Real 511 Imaginary S21 Real 521 Imaginary 512 Real 512 Imaginary 522 Real 522 Imaginary One port data files are similar to the two port files except that there are no columns for the 21 S12 and S22 parameters SYSLANVaVd S S PARAMETERS Click on s bfp405 s2p and then press the gt button Thes bfp405 s2p model you have selected will appear in
67. e dots represent the only available interconnecting points Component symbols ate positioned on the drawing area horizontally and vertically These symbols are rigid patterns with predefined pin positions and are handled as single units This permits the software to unambiguously recognize the network nodes View Grid On Off Displays hides the grid The Tool Bar You can select most of the editor commands e g select zoom wire etc from this tool bar Let s summarize the most important commands on the Toolbar You can find more detailed information in TINA s Help system Note that most commands on the toolbar can also be found under the drop down menus and can often be activated by Hotkeys We show the menu name separated from the command name by a dot Menu name Command name File Edit Insert View Analysis Interactive T amp M Tools Help ccm x olal File Open Opens a schematic circuit file TSC or SCH macro TSM The TSC is extension used in TINA v7 and v6 SCH is used in earlier versions ISM is the extension of TINA macros which can contain asubcircuit either as a TINA schematic Spice netlist or VHDL code m File ave Saves the actual circuit or subcircuit into its original storage location It is wise to frequently save the circuit that you are working on to avoid loss of data in case of a computer crash Cnr Fzle Close Closes the actual circuit It is very useful for closing an
68. e list of available files on the left side Note that the file you select must be a proper Spice subcircuit Click UA741 and then press the gt button The UA741 model you have selected will appear on the list of selected files In a similar way you can select more files or even all the files by pressing the button TINA Quick Start 5 11 SPICE MACROS Collect subcicuts and models Select files Available files Selected files 74190 CIA UAFA CIR COLPITTS CIR DIFFAMP CIR HALF ADD CIR gt gt HALFADM CIA RLC CIR SHFT 4 LIH TSPICE LIB Press the Next button to continue The following dialog box will appear Collect subcircuits and models c uffixes r eutfix of subcircuit names Sufix of model names Mone i None C The extension of file name t The extension of file name C The file name C The file name Other C Other my fp the subcircuit name and suffix Separator character between x Separator character between the model and suffix D lt Back Cancel With this dialog box you can make changes in the subcircuit or model name This might be necessary to avoid conflicts among different subcircuits or model versions with the same name To differentiate the new model you can add the file name as a suffix to the subcircuit name or add any text as a suffix to the name using the Other option Let s add the suffix my to
69. e of the screen and press the button The NAND gate symbol will appear in the editor window Try the Standard control to see the US and European versions of the part shape You can design symbol versions for each standard if necessary If the symbols are identical in the two standards you need create only one version Now let s create a symbol for the full adder circuit that was used above in our example of creating a half adder macro First clear the editor window by pressing the m button or IE NIE EINEN by selecting the actual symbol in the editor window and pressing the Del button Now draw a rectangle as the body of the component First press the 8 button then click on any point in the drawing area hold the mouse button and move the mouse until the rectangle is properly sized TINA Quick Start Fill the rectangle with a color by right clicking on the palette at the lower left corner of the window Note that a left click will change the foreground color FG in our case the border of the rectangle Now add the terminals Select the desired terminal type from the Terminal Toolbar in the upper left corner of the window and move the cursor into the rectangle you just drew Position it using the mouse of pressing the or key for rotation and click to locate the terminal Be sure the small red x indicating the pin end is outside the body Continue this process until every terminal is positione
70. e want scroll down the list until you find OPA121E You can narrow the list if you select the manufacturer Texas Instru ment in our example from the Manufacturer listbox You can also simply type OPA121E and the list will automatically jump to the IC press the Delete button on the keyboard and try again if you make a typing error Click on the line OPA121E and press the OK button Alternatively you can double click on that line The schematic symbol of this opamp will appear and be attached to the cursor By moving the mouse position the opamp as shown on the schematic at the beginning of the section and then press the left mouse button to place the opamp into your schematic You can also select a part using the rei Find Component tool at the top right corner of the Schematic Editor If you type the part number into the Component to find field and press the Search button the list of available component s will appear You can enter just part of the name if you are not sure of the entire name Press the Insert button to place the component With the List Component button you can create the list of all available components in a textfile GALYVLS ONILLADS GETTING STARTED Creating an Op Amp circuit 4 30 Find Component Component to fing 121 i Match at start anywhere C end List Components Cancel Note that other types of ICs are available under the buttons next to the O
71. ee the entire schematic window with any other windows hidden behind The Help line The Help line at the bottom of the screen provides short explanations of items pointed to by the cursor 4 4 NOTE Placing the Circuit Components Components are selected from the Component bar and their symbols are moved by the mouse to the required position When you click the left mouse button the program locks the pins of the component symbol to the nearest grid dots Components can be positioned vertically or horizontally and rotated by 90 degree steps in a clockwise direction by pressing the or Ctrl R keys or in a counterclockwise direction with the or Ctrl L key In addition some components like transistors can also be mirrored around their vertical axis by using the key on the numeric keypad You can also use the buttons or the popup menu right mouse button to position components After a component symbol has been selected and positioned you may double click on it to enable a dialog window where you can enter parameter values and a label When entering numeric values abbreviations of integral powers from 10 to 10 can be used For example 1k 1s understood as 1 000 Press the Help button on the component dialog box to invoke TINA s HTML based help resource You will find the parameters and mathematical model of the selected component You can also access Component help from the help menu TINA will automatica
72. eers will find TINA an easy to use high performance tool while educators will welcome its unique features for the training environment Starting with v7 TINA is distributed in two major versions TINA v7 and TINA Design Suite v7 TINA v7 includes circuit simulation only while TINA Design Suite v7 also includes the advanced PCB designer This fully integrated layout module has all the features you need for advanced PCB design including Multilayer PCB s with split power planes powerful autoplacement amp autorouting rip up and reroute manual and follow me trace placement DRC forward and back annotation pin and gate swapping keep in and keep out areas thermal relief fanout plane layers Gerber file output and much more TINA can also be used in the training environment It includes unique tools for testing students knowledge monitoring progress and introducing troubleshooting techniques With optional hardware it can be used to test real circuits for comparison with the results obtained from simulation Of great importance to educators the package includes all the tools needed to prepare educational materials NOILONGOLANI INRTODUCTION Schematic Capture Circuit diagrams are entered using an easy to use schematic editor Component symbols chosen from the Component bar are positioned moved rotated and or mirrored on the screen by the mouse TINA s semiconductor catalog allows the user to select components from a user
73. electing a file the circuit schematic will appear Now you can execute an analysis modify or expand the circuit and evaluate the results Keep in mind that every command may be aborted by pressing the Esc key or clicking on the Cancel button We recommend that you load the following circuits and follow the instructions on the screen for the circuit types listed below This will avoid some common problems Oscillator circuit EXAMPLES colpitts tsc 555 Oscillator EXAMPLES 555 JAST zsc Rectifier circuit EXAMPLES Bridge Rectifierl isc NOILVTIVLSNI 4 1 4 1 1 CHAPTER 4 GETTING STARTED In this chapter we present TINA s screen format and menu structure A step by step introduction 15 given using examples Schematic Editing Using the Mouse Here are some basic mouse techniques to help you edit schematics Using the right mouse button If you press the right button of the mouse at any time a popup menu appears Using this menu you can Cancel Mode Exit from the last operation e g moving a component drawing a wite Last Component Return to the last component and reposition it Wire Switch to wire drawing mode In this mode the cursor turns into a pen and you can draw a wire For more details see the Wire paragraph below Delete Delete selected component s Rotate Left Rotate Right Mirror Rotate or mirror the component currently selected or being moved You can also rotate a selected compone
74. elp Saal a 2 00 TR Result UA 99 10 t 182 87 y t v JAR c 10 00u 20 00u 30 00u Time s TR result TINA Quick Start 4 23 GETTING STARTED You can do a lot more with TIN AS post processing tool For example you can create curves of new functions created by adding or subtracting curves or by applying mathematical functions on them For a more detailed description refer to the Post processing analysis results section in the Advanced Topics chapter To demonstrate a more advanced feature of TINA examine the Fourier Spectrum of the nonperiodic transient response just obtained First select the damping output signal by moving the cursor over the curve and pressing the left mouse button when the cursor assumes a form The selected curve will change to red Now press the right mouse button and select Fourier Spectrum from the popup menu The Fourier Spectrum dialog box will appear Set the Maximum frequency to 200k and press OK The Fourier spectrum of the transient response will appear You will get a finer curve if you repeat the transient analysis with 500us End Display value Using the amp zoom icon zoom into the spectrum between 100kHz and 200kHz Note that you can also change settings by double clicking on the coordinate axes The resultis a continuous frequency spectrum shown in the figure below As expected the frequency where the Fourier Spectrum shows a maximum is the
75. ents for post processing Powerful post processor for all analysis results XY plot of any 2 transient or DC transfer results for example v1 t vs v2 t Parameter stepping for any number of parameters Parameter stepping given by list Multiparameter optimization Draw lines circles arcs and arrows in the schematic editor Add frame and title block to schematic diagrams Phasor diagram Voltage arrow to display voltages Diagonal lines for circuits such as bridges delta and wye Y Control switches with the keyboard via hotkeys Switch providing high and low logic levels directly Push button switches Fault insertion in wires Improved Library Manager for adding new models Improved method for changing component values in interactive mode with the mouse or with the keyboard via hotkeys Control the display of component values and labels separately SaaNLVsas MAN NEW FEATURES Many more components VCO BSIM 3 3 communication circuits 74121 74122 and much more Component searching and listing tool Optional VHDL analysis Embedding faults into circuit files for advanced troubleshooting List of new features in TINA PRO 5 5 Fast 32 bit version for Windows 9x ME NT 2000 Enhanced algorithms now Spice 5 compatible 20 000 built in components 5 000 previously 1 000 manufacturer made components in Spice subcircuit format HTML based component description New models including nonlinear coils transformers relays
76. eractive simulation 1s started Now the displays and indicators in your schematic will reflect whatever you do with the controls In addition to displays TINA has special multimedia components light bulb motor LED switch etc which respond with light motion and sound Let s see a few examples e Dispkey Schematic E ditor File Edi Insert View T amp M Tools Help Ja EEE 4 6 9 1 Digital Circuit with a Keypad To tty out the interactive mode load the DISPKEY TSC circuit from the EXAMPLES MULTIMED folder The circuit is Shown below Select the Digital mode using the button and then press the DIG button the button will turn light green NOTE 4 6 9 2 4 6 9 3 1 You can also select the Digital interactive mode with the Digital command of the Interactive menu You can start the interactive simulation with the Start command of the Interactive menu and stop it with the Stop command 2 TINA can store the last Interactive mode in circuit files so most likely the DIG mode is already set Now you can play with the keypad and watch as the 7 segment display shows the setting of the keypad If you have a soundcard on your PC you will even hear the key clicks of the pad Light Switch with Thyristor Open the Thyristor switch example TSC circuit from the EXAMPLES folder and press the button You will see the following screen Press key A or click the
77. ers to L 1 m and C 1 n Note the default values of the parallel resistive losses for the capacitor and the series resistive losses of the capacitor Add the Voltage Pin chosen from the Meters component group on the upper pin of the capacitor ot you can add a volt meter in parallel with the capacitor Note that even though all the computed voltages currents and signals are available after running an analysis see below in this chapter and also in the Post processing analysis results section you still need to define atleast one output Place a ground below the generator and connect the generator and capacitor as shown in the figure To do this move the cursor over the appropriate pin node until the small drawing pen appears When the pen appears click the left button of the mouse draw the wire and left click again at its end point Finally add the title to the schematic Click the m button and the text editor will appear Type in RLC Circuit Click on the icon and set size 12 The editor also lets you choose another font style color etc Now click on z then position and drop the text on the schematic editor Window Before going on save the circuit with the Fr e Save As command Name the circuit as RLC_NEW TSC the TSC extension is added automatically If you wish you can still change the circuit in many ways Add new components Delete copy or move selected objects using the Edit Cut Copy Paste and Delete
78. es such as ORCAD TANGO PCAD PROTEL REDAC and other programs DC analysis calculates the DC operating point and the transfer characteristic of analog circuits The user can display the calculated and ot measured nodal voltages at any node by selecting the node with the cursor For digital circuits the program solves the logic state equation and displays the results at each node step by step Transient analysis In the transient and mixed mode of TINA you can calculate the circuit response to the input waveforms that can be selected from several options pulse unit step sinusoidal triangular wave square wave general trapezoidal waveform and user defined excitation and parameterized as required For digital circuits programmable clocks and digital signal generators are available Fourier analysis In addition to the calculation and display of the response the coefficients of the Fourier series the harmonic distortion for periodic signals and the Fourier spectrum of non periodic signals can also be calculated Digital Simulation TINA also includes a very fast and powerful simulator for digital circuits You can trace circuit operation step by step forward and backward or view the complete time diagram a special logic analyzer window In addition to logic gates there are ICs and other digital parts from TINA s large component library VHDL simulation TINA now includes an integrated VHDL simulator to verify VHDL designs b
79. eypads and switches and watching its displays or other indicators You can carry out such a test using TIN As interactive mode You can not only play with the controls but you can also change component values while the analysis is in progress In addition you can assign hotkeys to component values and switches to change them simply by pressing a key You will immediately see the effect of the change You can also test MCU applications in TINAS interactive mode You can not only run and test them using the several lifelike interactive controls e g keyboards but you can also debug them while the MCU executes ASM code step by step And displays the NOILONGOLANI INRTODUCTION 1 2 register contents and TIN A s outputs in each step If necessary you can modify the ASM code on the fly and test your circuit again without using any other tool Virtual instruments In addition to standard analysis presentations such as Bode and Nyquist plots TINA can present its simulation results on a wide range of high tech virtual instruments For example you can simulate the time response of your circuit using a virtual square wave generator and a virtual oscilloscope Using TINA S virtual instruments is a good way to prepare for the use of real test and measurement equipment Of course it is important to remember that the measurement results obtained with virtual instruments are still simulated Real time Test amp Measurements TINA can go beyond
80. fault uses the first method but the program will remember that you have changed wire drawing mode While drawing a wire you can delete previous sections by moving backwards on the same track By pressing the Ctrl key while drawing you can move the last horizontal or vertical section You can easily modify existing wires by selecting and dragging sections or edges For short wire sections you may need to hold down the shift key while drawing You can also invoke the Wire drawing tool by the Insert Wire command hotkey Space You can start drawing the wire at any place by clicking the left button of the mouse When you have completed wiring use the popup menu press the right mouse button or press the Esc key to terminate the wiring mode Be sure not to leave any component nodes unconnected If there are unconnected components or terminals TINA Electric Rule Check tool ERC will issue a warning unless you have disabled it 4 4 2 Wire segments made by the Wire tool are always vertical or horizontal However you can add angled wire segments using the components made for bridges Y and D circuits under the Special component toolbar Input and Output Certain types of analysis DC Transfer characteristic Bode diagram Nyquist diagram Group delay Transfer function cannot be executed until both input and output have been selected These establish where the excitation is applied and where the circuit response is taken
81. first model x MAX4200 was recognized automatically since both the graphic symbol and the category were found For the second model the xMAX4147 no graphic symbol was assigned and its category was not recognized however the program recognized its terminals Finally for the last model the xmoc223 nothing was recognized Note that even if the program does not recognize a model it is placed in an automatically generated box autoshape and still can be used If you want to add an appropriate graphic symbol to such a part you should do the following Select the Edit TLD Editor for Subcircuits command The following dialog box will appear Tina Library Description Editor for SPICE subcircuits Shape and Nodes Category Buffer Y Move Up New shape Edit Shape SPICE code First REFER TO 4200 DATA SHEET Previous connections input positive power supply Next negative power supply output Last SUBCKT xMax4200 ekek ISUPP 99 0 2 45ma x Cancel Tina Library Description SUBCKT 4200 Int V V Out lt Bufferd gt Buffer Help TINA presents the graphic symbol with the names of the terminals in the top left corner In the top right corner you can see the list of terminal nodes and the associated terminal name of the graphic symbol You can move the graphic terminal names up or down by simply dragging them or by using the Move
82. h a physical representation has already been added will appear EJ OPAMP2 Schematic Editor File Edit Insert View Analysis Interactive T amp M Tools LLLA s slae cl aii fal a J2 HEADER2 Ld Active lowpass filter 2 layer through hole board 1 5 x1 Use 2layer_A PCB template TINA Quick Start 4 75 GALYVLS ONILLADS GETTING STARTED 4 7 2 Invoking TINA PCB Once each component has a satisfactory physical part association we can proceed to PCB layout design To do this press button TINA s toolbar the last icon on the right or select the PCB Design command on the Tools menu Set the items in the PCB Design dialog as shown below C Modify existing project ve OK PAMP toe Cancel Start new project Help Autoplacement Autorouting Use board template D Tina ProkT emplates layer Browse No template Board width 1 5 inch Board height fil inch Select Start New Project Autoplacement Use board template With the Browse button find and select the 2layer_A tpt template files from TINA Template The settings are appropriate for a double sided PCB If you use a template you should set the level of manufacturing complexity The following three levels of manufacturing technology are defined by the IPC 2221 generic standard Level A General Design Complexity Leve
83. hanges to that component symbol and you can move it anywhere in the drawing area You can also rotate the component by pressing the or keys on your computer s numeric keypad or mirror it by pressing the asterisk key also on your computer s numeric keypad Once you have selected the part s position and orientation press the left button of the mouse to lock the symbol in place Find component tool This tool helps you find by name any component in the TINA catalog See more details above at the toolbar description Open files tab You can have several different circuit files or different parts macros of a circuit open in the schematic editor at the same time Clicking on a tab brings that circuit page up in the editor The TINA Task bar TINA Task bar appears at the bottom of the screen and provides speed buttons for the various tools or T amp M instruments currently in use Each tool or instrument operates in its own window and can be made active by clicking on its speed button icon of the tool Once the cursor is over the speed button a brief hint appears Note that the first button furthest to the left the Lock schematic button has a special function When the Lock schematic button is pressed the schematic window is locked in place as a background behind other windows so that it can never cover a diagram or virtual instruments When the schematic window is not locked and it is currently selected you will always s
84. he ending edge T3 of the pulse are lus To see the response of the circuit let s invoke and run the Transient analysis from the Analysis menu TINA Quick Start 4 41 GALYVLS ONILLADS GETTING STARTED SMPS Circuits 4 42 Load step analysis Another standard analysis is to determine the SMPS response to a fast load change Using simulation the response to load changes is obtained by adding a current pulse to the load and analyzing the output and other voltages Since the load change 15 relative to the steady state we can start it from the steady state initial values calculated by TINA s steady state solver Now load the example UC3842 Boost Converter Find and load the file 5 12V Load Step TSC file from TINA s SMPS The schematic design is the same as above except for the Load Current generator on the output Sensor LI IIH VTI 01 HIZA d f h E g Se 2 TO PES VS2 18V es be D lt S02 581 U vsisv J CB33pF 22 1 U2 NDPSOGOL R5 10m C3 47uF T2 T2967 4 LT PS tk 650m Ti 2222 1 1 Ril 442k 3 If you double click on the ILoad generator and check its waveform you will see that the DC part is 100mA while the pulse is Signal Editor Amplitude 1 V Amplitude 2 V 2 Time intv 1 s T1 Time intv 2 s T2 Time intv 3 s T3 T2 T4 T5 TE 4 s 74 Time intv 5 s T
85. her diagrams You can assign the two ports needed for Network Analysis with the Network Analyzer component to be found on the Meters component toolbar As an example open the circuit EXAMPLES RF SPAR_TR TSC TINA Quick Start Digital Circuits NA 1 To analyze this circuit run Analysis AC Analysis Network Analysis The amplitude diagram is as follows Ri Noname AC Ampli3 Ele Edt View Help Saal ag OANA 1 30 00 20 00 10 00 0 00 10 00 Frequency Hz Note that we have added the labels to the curves using the x Auto label tool of the diagram window For more details on the Network Analysis see the Network Analysis and S parameters chapter of the advanced topics manual 4 6 6 Analyzing a Digital Circuit with TINA s Digital Engine Let s test a digital circuit Open the file HALF ADD TSC from the EXAMPLES folder Start the Analysis Digital Step by Step command A control panel will appear and you can examine the behavior of the circuit step by step by pressing the Step Forward button Press the Play button for free running mode At each node a small box will indicate the logic level Red for High Blue for Low Green for High Z Black for undefined as the circuit is clocked The picture below shows an intermediate state of the display TINA Quick Start 4 45 GALYVLS ONILLADS GETTING STARTED Digital Circuits 4 46 J HALF_ADD Schematic Editor 8 x File Edit Insert View Analys
86. here You should have a stationary waveform for this time interval Final accuracy the maximum DC level change allowed When the change is below this the analysis will end Note that the 100m in the example above means 0 1 Method You can select the method used for finding the steady state Transient The steady state is searched by using transient analysis Finite Difference Jacobian Broyden update Jacobian The steady state 15 searched by the methods described in the paper Automated steady state analysis of switching power converters by Dragan Maksimovic Note that these last two methods may get to the steady state faster but they do not go through the normal transient states so the resulting waveform between the initial and final state does not reflect the real process but rather the mathematical path of the methods to get there Now lets run the Solver After a few minutes of running approximately 3 minutes on a 3GHz Pentium computer we ll get the following resulting waveform Noname TR result1 File Edit View Process Help s S i o ei Al eb 2 00 1 00 2 00 _ 0034 3 004 4 NJ UE LLL anne 2 004 MER nannnnnnsnne 20 00 TINA Quick Start 4 35 GALYVLS SNILI39 GETTING STARTED NOTE These waveforms show the detailed transient from switching on until reaching the steady output voltage If you zoom out on the waveform you can see that the period of the switchi
87. ibrary NONAME FPL igo Now add 2 lines to our footprint Select the line symbol and draw 2 horizontal lines next to the rectangle on both sides Double click on the lines and modify the parameters as follows Line1 460 0 420 0 5 Point1 X Point1 Y Point2 X Point2 Y and Line width Line2 420 0 460 0 5 Point1 X Point1 Y Point2 X Point2 Y and Line width Finally add two through hole pads to the footprint symbol Select the pad symbol from the toolbar Move the pad next to Linel Now activate the property editor of the pad by moving the mouse overt it and double clicking when the mouse changes into a hand symbol Enter 500 0 in the Center X and Center Y fields The Drill parameter is 37 Now click on the down arrow By default the pad resides on the Top Bottom Power Ground Solder Mask Top Solder Mask Bot tom Drill Drawing and Drill Tape layers The default layer configuration could have been changed in a way simi lar to what we ve seen in the rectangle example Though the default layer configuration is good we have to change the dimensions of the pad Double click on the size field and enter 58 in the Diameter field on the Top Bottom Solder Mask Top and Solder Mask Bottom layers enter 78 on the Power and Ground layers and 37 on the Drill Drawing and Drill Tape layers It s important to enter the package pin number into the name field E FootPrint Editor NONAME FPL New
88. ilable with the following features Industrial version Includes all of TINA s features and utilities Network version The program can be used under Novell Netware version 3 12 or later as well as under any Microsoft Network Win9x ME NT 2000 XP It is especially recommended for corporate and classroom use Educational version It has most features of the Industrial version but parameter stepping and optimizations are allowed for one parameter only Stress Analysis and the Steady State Solver are not included Classic Edition It has the same features as the Educational version above except that Network Analysis 1s not allowed TINA s large S parameter component library and the Parameter Extractor the External VHDL simulator utility Stress Analysis and the Steady State Solver are not included Student Version Has the same features as Classic Edition version except that the circuit size is limited to 100 nodes including internal Spice macro nodes The number of pads on the PCB layout is also limited to 100 Basic version Has the same features as Classic Edition except that the circuit size is limited to 100 nodes including internal Spice macro nodes The number of pads on the PCB layout is also limited to 100 Optional supplementary hardware TINALab II High Speed Multifunction PC Instrument With TINALab II you can turn your laptop or desktop computer into a powetful multifunction test and measurement instrument
89. ill help you build upon and integrate what you ve learned from the manual so far Editing an RLC Circuit Schematic Create the circuit diagram of a series RLC network as shown in the following figure First clear the schematic window with the File New command The file name in the top line is set to Noname indicating that a new circuit file is being edited Now start adding components Click on the voltage generator 1con then release the mouse button The cursor will change into the generator symbol Position it using the mouse or by pressing the Ctrl R or Ctrl L key for rotation or the key for mirroring somewhere in the middle of the screen then press the right mouse button the schematic editor s popup menu will come up Select Properties The following dialog box will appear 1 Schematic Editor File Edit Insert View Analysis T amp M Tools Beh r EJZ J20 i Voltage Pin Ad oo RLC circuit R100 Lim VP TINA Quick Start Editing an RLC Circuit Schematic Leave the DC ereland the IO state parameters unchanged Note that by accepting Input for the IO state parameter you have selected the output of this generator to be the input for the Bode diagram Select the Szgva menu line and then press the button a new dialog box with the graphics icons of available voltage generator signals will appear When you selec
90. initial values For example if you want to study the effect of changing the output filter capacitor it will not sionificantly change the output voltage DC level Therefore starting the new analysis with an initial value calculated by the steady state solver for another output capacitor will result in a much faster analysis You can accelerate the analysis of input and load changes in the same way SMPS Circuits Transient Analysis Start display 0 s End display 10m s C Calculate operating point Use initial conditions Zero initial values Draw excitation Integration method C Trapezoidal Gear Integration order 2 i To demonstrate this feature let s run a transient analysis for our example Selecting the Transient command from the Analysis menu the following dialog box appears Noname TR result File Edit View Process Help Bal 2 00 20003 a a a EER 10 00 0 00 VT1 2000 10 00 0 00 100 00u 150 00u Time 5 TR result Note that Use initial conditions is set in the dialog Press OK to start Transient analysis You should see that analysis runs very fast compared to the previous steady state analysis The output waveform is shown in the picture below Why did the analysis run faster Transient analysis was already preceded by the Steady State Analysis and the main capacitor s initial values called Initial DC voltage i
91. int Name JP100 VG Parameters Parameters DC Level V Signal Internal resistance Ohm I0 state Fault 2 Load the example UC3842 Boost Converter 5 12V Input Step TSC file in the SMPS folder The schematic design is the same as above To see the input step waveform double click on the VG1 voltagegenerator on the left The following dialog box will appear SMPS Circuits Signal Editor L el Pol M lel PS E Amplitude 1 V 1 1 Time inv 1 s TI 1u T1 T2 T3 Time mty 2 s T2 4000 Time intv 3 s T3 1 T4 5 TE 4 s T4 1 Time intv 5 s 75 4 Time intv 6 s T6 1 Time shit s 5 According to this the input line voltage is 5V This is converted by theSMPS circuit to 12V Now click on the Signal line of the above dialog and then the ps button The following signal in the Signal Editor will appear a Noname TR result26 Help TER 600 00m 300 00m AL1 700 00m 100 00m ATI 7100 0 100 00m vVG1 5 00 4 00 vis 700 003 MURAL OA 100 00m 11 91 j 11 833 Vout 20 00 zung mmm n mm m T T TTE TTC TT 10 00 3 00 1 00 20 00 10 00 0 00 500 00 750 00u Time s TR result20 ATR result21 ATR result22 TR resut24 ATR result25 ATR result26 According to the waveforms the input voltage will decrease from 5V to 4V for a T2 400us time and the starting edge and t
92. interactive ASM debugger To activate the debugger select Option on the Analysis menu Set the Enable MCU Code debugger checkbox as shown below in the Analysis Options dialog box Analysis Options General ERC T r Digital Analysis Trace Mode Detaled Show warnings Percentage Bar Delay Defaut Messa Enable glitch control Numeric precision 2 21 Gitch control 50 00 Enable MC Code debugger Generate synthetisable code Compile packages at startup Disable wamings for large size analysis results Stress analysis enabled TINA Quick Start Using the MCU Debugger The MCU debugger will appear if you press the button Se PIC Debugger olaj e rj brocessor 16 84 Set the processor radix hex Set the radix finclude pl6f84 inc Include header file COUNTER equ OCH TEMP equ ORG O00H ORG 004H GOTO INT SERV MAIN BSF STATUS RPO MOVLW 1 Registers 0000 0001 0002 0003 00000001 0004 OOO0UUUUU 0005 0006 0007 0008 0009 000A 000B oooc Successfully compiled Select Bank Bank 0 Here is a short description of the MCU debugger dialog On the top line there are the following controlling icons D New Clear the debugger You can enter automatically compile debug and run new code This icon appears only when the MCU code is given in ASM source format Use ASM file only option in
93. ion to the use of TINA s PCB layout module For more detailed information a description of editing functions the creation of multilayer PCBs and mote see the TINA PCB Designer Manual We also suggest that you study the examples in TINAs EXAMPLES PCB folder GALYVLS ONILLADS 5 1 CHAPTER 5 USING SHEMATIC SUBCIRCUITS SPICE AND VHDL MACROS AND S PARAMETER COMPONENTS In TINA you can simplify a schematic by turning portions of it into a subcircuit In addition you can create new TINA components from any Spice subcircuit hardware described by VHDL or TouchStone format S parameter file whether created by yourself downloaded from the Internet or obtained from a manufacturer s CD In this chapter we show through text and examples how easy it is to do this in TINA Making a Macro from a schematic Using TINA s macro facility you can simplify schematics and hide clutter by turning portions of the schematic into a subcircuit TINA automatically represents these subcircuits as a rectangular block on your schematic but you can create any shape you like with TINA Schematic Symbol Editor You can convert any schematic diagram into a subcircuit called a Macro in TINA simply by adding the terminals and saving the new circuit in the special tsm format SOYOVWN DILVIN3HOS SCHEMATIC MACROS Schematic Macros Now let s see how to create a macro in TINA through an example Load the Half Adder example Ha f_add tsc
94. ions Calculate 81 x Sie lfm 0 s cleat prev NPN Transistor Data Sheet X Page 1 Parameters Component Usage for TINA myt Sl units Base Emitt It Collector Ci ase Emitter voltage vs Collector Curren er NF fi RE 2 04 Template Default Id IC VBE AB IC BETA AC VCB Cob AD VEB Cib AE Hoe Bandwidth Next select Calculate Current component check how well TINA s transistor model matches the input data you can walk through the tabs to see the calculated graphs and numeric values for every parameter Finally let s insert the new transistor into the source file for TIN A s transistor catalog by selecting Fz e Catalog Manager To be able to use the new catalog you must recompile the modified source files and link them together into the CLCC CAT catalog file Locate and open a component file compatible with your component e g if adding a bipolar transistor choose a bipolar catalog bipol x crc Click on the Browse Button and select the file from the File Open Dialog All component files delivered with TINA are placed in the CLCC subdirectory of the TINA directory by default C Program Files Designsoft TINA 7 TINA Quick Start 7 3 YOLOVaALXA YSALANVAVd PARAMETER EXTRACTOR Parameter Extractor 7 4 Source Library Destination TINA Catalog file NEWNPN LIB D tinapro Bipol_x src Browse Current catalog No 002 NPN
95. irst perform an AC nodal analysis Select Analysis AC analysis Calculate nodal voltages Your cursor will turn into a test probe which you can connect to any node In a separate window the nodal voltages will be displayed If you have placed any meters on the schematic clicking on them with the probe will present detailed information from that instrument Note that you can acquire DC nodal voltages in a similar fashion through DC Analysis AC Analysis RLC circuit Schematic Editor File Edit Insert View iM Tools Help oo ep e H Votage Source Z G6 6 9 S 2 se ij Basic Manufacturers Models Gates Flip flops 44D DA 555 Analog Control R100 Lim C Th Now select AC Analysis AC Transfer Characteristic from the main menu The following dialog box appears AC Transfer Characteristic Start frequency fi 0 0k Hz End frequency fi OM Hz Number of points 40 t M Sweep type Linear Logarithmic r Diagra Amplitude Nyquist Phase Group Delay v Amplitude amp Phase By default Amplitude amp Phase will be calculated Select Amplitude and Nyquist in addition Modify the Start frequency to 10k and then press OK A progtess bar will appear while the program is calculating After the calculations are finished the Bode amplitude characteristic will appear in the Diagram Window You can e
96. is T amp M Tools Help x 2 l RR RR Basic Meters Sources Semiconductors AGates Flip flops Logic ICs Analog Control Half Adder Input 1 PSG1 Input_B 2 PSGO Control Panel Previeusevent 400Du Previous event gt Jv Ideal components x 270 Y 127 Now let s examine the transient behavior of the circuit Selecting the Analysis Digital Timing Analysis command brings up this menu Digital Timing Analysis End tin Ideal components The result is shown on the timing diagram following TINA Quick Start Digital Circuits E Noname DTR resulti File Edit View Process Help 0 00 250 00u 500 00u 750 00u 7 00m Time s DTR result You could also select Transient instead of Digital Timing Analysis in which case the program would carry out an analog analysis giving the detailed continuous waveforms and voltages instead of idealized logic levels Note that circuits which contain only digital components can be analyzed by both digital and analog methods Circuits containing both analog and digital components on the other hand can only be analyzed by the analog method Next load the file EXAMPLES HALFADMX TSC Because this circuit has two passive parts a resistor and a capacitor TINA must use analog or mixed mode Transient analysis The result is the following time response T
97. is determined by the ports A B S C line the ports before the first semicolon are placed on the left while the rest are placed on the right side of the macro box For example if you change the ports line to ports A B S C and add the whole changed header to the original VHDL file which had no header we get the following file you can also load it from the EXAMPLES VHDL half_adder31 vhd TINA VHDL Macro Description Begin entity_name e_Half add_entity arch name a Half add arch ports A B S C TINA VHDL Macro Description End LIBRARY ieee tina use Tece std logic 1164 val use std textio all SYSLANVaVd S S PARAMETERS VHDL Macros 5 32 USE ctana primitives all ENTITY e Half add entity IS PORT A IN std logic S OUI std logic C amp OUI std logic B IN std logic Jj END e Half add entity ARCHITECTURE a Half add arch of e Half add entity IS BEGIN S A xor B Ces A and B END Half add arch Converting this into a new macro called Half adder VHDL31 TSM and then inserting it again we will see the revised pinout version alale lalele elal E m ada mper NS eeiam ar 4 l hel tt tt LL ee en ee ee cee eer dee e ei eal d e ni Ut adde WHOL 37 ete TINA Quick Start CHAPTER 6 MAKING YOUR OWN SCHEMATIC SYMBOLS 6 1 AND FOOTPRINTS Schematic Symbol Editor Using TINA s Schema
98. ister the changes for TINA Close the Library Manager SOYOVWN SPICE MACROS Spice Macros 5 24 When you restart TINA you can find the new models by selecting Spice Test as Manufacturer at any category of the Spice Macro Models component bar and by setting the Show all components checkbox You can also find these new models by looking in the appropriate category Comparators Buffers and Optocouplers These new parts will be at the end of the list since the names of the new models start with X Of course you can also set the Manufacturer in the appropriate category to Spice test to see the newly added components Operational Amplifiers v Auto select Manufacturer spicet test Shape v Auto select Manufacturer fi 11 Show all components x Cancel Help Comparators zl v Auto select Shape Manufacturer Show all components x Cancel Help TINA Quick Start 5 4 Adding S parameter models Let s learn how to add an S parameter model to TINA s libraries Start the Library Manager program Use the Windows Start menu to locate the TINA PRO folder and double click on the Library Manager icon Next select Collect S parameter files from the File menu Noze You should not use the File Open command to collect S parameter files Find the folder EXAMPLES RF in the dialog box and doubl
99. l B Moderate Design Complexity Level C High Design Complexity The template file specifies the number of layers and their properties system grid size autorouter settings spacing and track width The following templates are included with PCB Designer Level Routing Plan Routing Spacing A m llayer 1211 2 Allows one track between standard Taye Ap PAB ric pin med RN RAM 74 7580 Emig B 2 or 4layer C mm tpt 1 ee B For moderate and high density SMIT boards You can choose PCB template based on technology density and package pitch Finally you can set the size of the PCB board in inches or mm depending on the measurement unit settings in the View Options dialog of TINA When everything is set properly press the OK button and the PCB layout design will appear with all the components automatically placed on the PCB board D pre ogri am Files DesignSoft Tina Pro EXAMPLES PCB OPAMP the ES 218i xJ File Inset View Toot Options Djg u x sur 14 Dsl c 0 Now click and drag the parts to new positions as shown on the figure below Find opamp2 placed tpc to check your results GALYVLS ONILLADS GETTING STARTED HN Program Files DesignSoft Tina Pro EXAMPLES PCB OPAMP the Eje Edt Inset Yew Took Options 1122 jal S Ties ly 17 25 e JA xj
100. l appear Press the IC s amp other unrecognized components tab Select one or more models from the list then press a Move to page button pick the button for the model type of the selected model In our case press Move to page Transistors then click on the Transistors tab Now select the appropriate category which for this model is NPN Save the library descriptor file as mysplib tld in TINA s SPICELIB folder Both Spice and S parameter libraries are stored in this folder Note that the Save As command applies to the active selected windows only 5 5 Finally use the Create TINA Library command to register the changes for TINA Next time you start TINA select RF components and then NPN RF Bipolar Transistors and you will find the new component library in the list of Manufacturers Your S parameter model will appear on the list invoked either by selecting S Parameter Library or All Making a VHDL macro from a vhd file You can create a VHDL macro from any vhd file that contains an entity interface to the outside world with its architecture description of the hardware The ports declared in the entity will automatically appear in the macto By default the input ports of the entity will appear on the left side of the generated macro shape and the output ports of the entity will appear on the right side but by editing the generated macro you can change this arrangement For example ENTITY e
101. l appear showing the macro in detail Note that you can modify this netlist and the modified netlist will be saved with your circuit However this will have no affect on the original macro it remains unchanged E Noname MACRO LEVEL 1 Schematic Editor iof x File Edit Insert View Analysis T amp M Tools Help SESE saklari lee td nd P 3 T4 FT espe spe ABasic 4 Switches Meters Sources Semiconductors Manufacturers Models Flip flops DA 555 Analog Control Special ys Netlist Editor lt Ua741 cir gt Iof x D ER Anu Hab anda ed U 741 operational amplifier macromodel subcircuit connections non inverting input inverting input positive power supply negative power supply output Pll dod Subckt 41 12345 ua741 11 12 4 664E 12 6 7 20 00E 12 5 53 dx 54 5 dx dlp 90 91 dx Line 1 Cot 1 It is very important that the connection names in the Spice macro match the pin names of the component symbols The pin names of the opamp symbols predefined in TINA are shown below You can check the pin names of a component symbol in TINA by moving the cursor above the pin The pin name will be displayed at the left side of the bottom status line Double clicking the symbol will present the netlist where you can check the connection names in the Spice subcircuit SOMSHDVIN 39145 SPICE MACROS 5 3 5 3 1 E opamps5 9 S
102. limit the maximum number of points placed in the Diagram This is useful for large analyses to accelerate diagram drawing By increasing this parameter you can refine the diagrams but the drawing time will be greater The only electric parameter of the Sensor component is End Value Voltage Not Used Once you have checked the initial transient the steady state waveform and SMPS circuit the next thing you normally want to know is how it behaves when the input voltage or the load changes This 1s realized by the Input step and the Load step analyses GALYVLS ONILLADS GETTING STARTED NOTE Using the Max no of saved TR points parameter in the Analysis Analysis parameters dialog you can limit the maximum number of point placed in the Diagram This is useful for large analyses to accelerate diagram drawing By increasing this parameter you can refine the diagrams but the drawing time will be slower Input step analysis One of the standard analyses for SMPS circuits is the calculation of the response to an input change to test the capability of the SMPS design to regulate the output with step changes in the input line This can be accomplished by adding a pulse to the input voltage and checking the output and other voltages Since the input change is relative to the steady state we can start it from the steady state initial values calculated by TINAS steady state solver VG1 Voltage Generator Label YG Footpr
103. lly assign a label for each component you place on the schematic It will also display the numerical value of the main component parameter for example R4 10k Note that the value is shown only if the Values option of the View menu ts checked For files from the older versions of TINA the Values option is turned off by default The first part of the label e g R4 is required for symbolic analysis modes You can also display the units of the capacitors and inductors for example C1 3nF if both the Values and the Units options of the View menu ate checked GALYVLS ONILLADS GETTING STARTED 4 4 1 1 2 Wire A wire establishes a simple short zero ohm connection between two component pins To place a wire move the cursor to the component terminal point where you want to begin The cursor will change into a drawing pen Depending on View Options settings you can draw a wire in two different ways Select the starting point of the wire with a left mouse click then move the pen with the mouse while TINA draws the wire along the path While drawing the wire you can move in any direction and the wire follows At the end point of the wire click the left button of the mouse again This drawing mode is the default setting in version 6 of TINA Hold down the left mouse button while positioning the pen release it at the end point The actual wire drawing mode depends on the editor options settings in View Options TINA by de
104. ltage change required for a trigger event Trigger Count you can take several periods for the waveform analysis This 1s useful in case of very slowly changing output signals The only electric parameter of the Sensor component is End Value Voltage Not Used TINA Quick Start Using the Max no of saved TR points parameter in the Analysis Analysis parameters dialog you can limit the maximum number of points placed in the Diagram This is useful for large analyses to accelerate diagram drawing By increasing this parameter you can refine the diagrams but the drawing time will be slower Once you have checked the initial transient and the steady state waveform and SMPS circuit the next thing you normally want to know is how it behaves when the input voltage or the load changes This is realized by the Input step and the Load step analyses Sensor The purpose of this component is to set the target voltage s to be watched during the steady state search You can add more than one sensor to a circuit By adding sensors you can significantly accelerate the steady state search You can make the search even faster if you can give the final voltage at a certain node Sel Steady State Sensor EE xj Label Sel Footprint Name Parameters Parameters End Value V lex xX cancel 2 Her Using the Max no of saved TR points parameter in the Analysis Analysis parameters dialog you can
105. m Versions 1 6 1 3 Optional supplementary hardware 1 7 1 3 1 TINALab II High Speed Multifunction PC Instrument eene 1 7 2 NEW FEATURES IN TINA 2 1 2 1 List of new features in TINA 7 0 2 1 2 2 List of new features in TINA PRO 6 2 3 2 3 List of new features in TINA PRO 5 5 2 4 3 INSTALLATION AND START UP 3 1 3 1 Installation Procedure 3 1 3 1 1 Minimum hardware and software s abeo d iens 3 1 3 1 2 3 1 3 3 1 4 3 1 5 3 1 6 3 1 7 3 1 7 1 3 1 7 2 3 1 7 3 3 1 8 3 1 9 3 1 10 3 1 11 3 2 3 3 3 4 3 4 1 3 4 2 3 5 3 6 4 4 1 4 1 1 4 1 2 Installation from CD ROM Following the Installation Steps Welcome and Software License Agreement tee c Entering User Information Choose Destination Location Selecting a Setup Type err LOIRE EN Selecting the Program Folder Selecting the Symbol Set Final check and copying the files Completing the Setup Uninstalling T
106. n the Capacitor property box was already set to the final DC voltage For example if you double click on the C3 capacitor you will see that the Initial DC voltage is already set to 11 875 V Similarly all the larger capacitor s initial values are set TINA Quick Start 4 37 GALYVLS ONILLADS GETTING STARTED SMPS Circuits 4 38 Trigger C3 Capacitor Label C3 Footprint Name C0603 C RPar Ohm Infinite Initial DC voltage V 11 875984 Temperature Relative Temperature C 0 Linear temp coef 1 C 0 Quadratic temp coef 1 C Maximum voltage V Maximum ripple current amp Parameters Parameters Capacitance F nma Use this to determine the starting and ending times of the switching period You can find this component on the Meters toolbar of TINA You should connect it to the oscillator frequency control pin of the SMPS PWM controller IC but any node where the oscillator waveform of the IC is present will do If you double click on the Trigger component you can set its par ametets TR1 Steady State Trigger EN x Cancel Help Trigger voltage level the threshold voltage for the trigger event Hysteresis width hysteresis value for the trigger event This value defines a region within which the trigger voltage is allowed to oscillate without generating a trigger event Trigger State Rise Fall The direction of the vo
107. nd start analysis as with any other circuit To check the content of the macro double click on the symbol and TINA will display the model To return to the main circuit click the Leave Macro button on the screen at the upper left use the File Leave Macro command or the right click popup menu TINA allows a hierarchical macro structure that is macros can contain other macros inside and so on Let us use our half adder macto to create a full adder macro containing two half adder macros Schematic Macros e Noname MACRO LEVEL 1 Schematic Editor 8 x File Edit Insert View Analysis T amp M Tools Help alal elel s 2 x o ceps gj ss p 3 III LLL LL LT dg Basic Switches 4 Meters Sources Semiconductors A Manufacturers Models Gates Flip flops 4AD DA 555 Logic ICs Analog Control Speci Half Adder To do this insert the newly created Half Adder twice into a new circuit and then add the additional components and wires as shown in the following picture EJ two macros Schematic Editor File Edit Insert View Analysis T amp M Tools Help TINA Quick Start 5 5 SOMNDVIN DILVIN3HOS SCHEMATIC MACROS Schematic Macros Now create and save the new macro with the New Macro Wizard from the Too s menu At this point let us note that although the automatic symbol creation is very convenient you can also create your own schematic symbols with TINA s Schematic Symbol Editor and assign macros
108. ng arrow I Return to the Debugger and click the a Trace into button twice The program will recognize the interrupt and jump into the INT SERV label INT SERV INCF COUNTER F MOVF COUNTER 0 MOVWF PORTA increment the COUNTER and copy it to PORT A The output will now be 1 After this the program will return to the infinite loop at PT1 Editing the Code in the Debugger Now let s see how to make a small change in the program using the debugger Duplicate the INCF COUNTER F statement using Copy and Paste like so INT SERV INCF COUNTER F INCF COUNTER MOVF COUNTER 0 MOVWF PORTA No if you press the E ne ct a Cb eS 99 d 2 e Un FL will be 2 at each Low High change of the switch You can also check the circuit in the Debugger s continuous Running mode by pressing the gt button Even though the debugger will GALYVLS ONILLADS GETTING STARTED 4 6 9 9 run fast you can still see the infinite cycle and the jump to the Interrupt server routine INT_SERV when you change the switch Making a Breakpoint It is often essentially impossible to get to a certain place in the program since you d have to single step a thousand times if the program ever steps there in the first place get the program to run to a particular statement and halt there you can tag the statement as a so called breakpoint Now run the program in the Debugger s co
109. ng circuit will appear GALYVLS ONILLADS VHDL Simulation EJ FULL_ADD Schematic Editor Be Edt Insert Analysts Interactive Tools TEE Doig ae 2 S 109 sen U2 Half add U3 Half add Input Carry U1 SN7432 This circuit is a combination of two VHDL half adder blocks macros and a discrete OR gate If you doubleclick on either of the HALF adder blocks and then press the Enter Macro button the following window will appear GETTING STARTED a TINA VHDL Editor I mm M P TINA VHDL Macro Description Begin entity n amp me e Half add entity arch name a Half add arch porte A BiS C TINA VHDL Macro Description Hnd LIBRARY ieee tina use ieee std logic_1164 all use zbd textio all USE Cite primseives alls entity section ENTITY e Half add entity I5 PORT IN ged_logic OUT std logic C UT std legic B IN std_logic END Half add entity architecture fection ARCHITHCTURE a Half arch of e Half add entity IZ signal WS std_logic signal std logic EECIH c HS AND We AFTER Z3 nz H HOT i C AFTER 16 5 mz A AND E AFTER Z3 mz HS AOR E AFTER 18 5 ns EHD a H amp lf amp rch Pina 36 Col l 4 50 TINA Quick Start Note that the essential VHDL code of the half adder is at the bottomand it is o
110. ng is around 100kHz and the time needed to arrive at the steady state is 2 milliseconds Therefore we need to calculate at least hundreds or sometimes thousands of periods if we want to see the whole transient waveform This is why finding the steady state is such a time consuming process The reason for this problem 15 the long start up time of SMPS circuit compared with their switching frequency The start up time is basically determined by the filter capacitors on the output The larger these capacitors are the longer the start up time In some cases you can accelerate the Steady State Search using the Finite Difference Jacobian and Broyden update Jacobian methods however they do not always converge and the intermediate waveforms provided by these methods do not reflect the real waveforms of the transient process Accelerating SMPS simulation using initial values As we mentioned in the previous section the long analysis time needed for reaching the steady state of SMPS circuits is mostly used for charging the output filter and some capacitors If we start the analysis using initial values for larger capacitors and inductors the analysis time can be significantly reduced In TINA the Steady State Solver will automatically place initial values into the model of larger capacitors and inductors and so the following Transient Analysis can be run significantly faster assuming that we do not make changes which will need significantly different
111. nly S lt 5 AND N6 AFTER 23 ns N6 lt NOT C AFTER 18 5 ns lt A AND AFTER 23 ns N5 lt A OR B AFTER 18 5 ns At first glance the code may look a bit strange but it in fact 1s a machine translation of our half addet assembled from gates in 4 6 1 Introducing the node names N5 and N6 as shown on the figure below itis clear that Half Adder n 432 5 SN7408 5 MB SN7 404 B c C lt A AND B AFTER 23 ns lt NOT C j AFTER 18 5 ns N5 lt A OR B AFTER 18 5 ns and therefore S lt N5 AND AFTER 23 ns You might find it odd that in the VHDL code in the box S appears to be calculated from N5 and N6 even before N5 and N6 have been calculated This is valid however because VHDL is a concurrent lan guage and the order of the lines does not mean the order of execution The delays are taken from the given discrete gates but they will be replaced by the synthesizer program if the circuit is realized on an FPGA chip Now select Digital VHDL Simulation from the Analysis menu and press OK The following diagram will appear GALYVLS ONILLADS GETTING STARTED Editing VHDL Code 4 52 Noname DIR result8 File Edit View Process Help Be Bal S Tx SON A eel H Input B Input A 250 00u 500 00u 750 00u Time s E result ADTR result ADTR result3 ADTR result ADTR result5 ADTR result6 result ADTR result8
112. nt by pressing the Ctrl L or Ctrl R keys GALYVLS ONILLADS GETTING STARTED Properties Use this command to edit the properties value label of the component currently selected or being moved From the Properties menu you can set all parameters of a component before it is placed This lets you place multiple copies of the component all with the properties just entered While you are in the component property editor the right mouse button has another function When you editing the field of any component parameter other than the label field you can copy that field to the label field by pressing the tight mouse button and then selecting the Copy to Label command You can accomplish the same thing by pressing F9 Using the left mouse button In the descriptions below clicking always refers to the left mouse button Selection Clicking on an object will select the desired object and deselect all other objects Multiple selection Clicking while holding down the Shift key will add the object under the cursor to the group of currently selected objects If the object under the cursor 15 already in the currently selected group clicking will remove it from the group Block selection To select a block of objects all at once first make sure there is no object under the cursor Then press and hold down the left button while moving the mouse dragging This will create a rectangular block and all objects within the block
113. ntinuous mode using the j Run command and the program will stop at the marked space before execution of the marked command To demonstrate this click on the increment statement in our interrupt Service routine after the INT SERV label and press the Toggle break button Now press the Run button The program starts to run and falls into the infinite loop infinite cycle Even though you have set a breakpoint the code will not stop since it does not pass the breakpoint However when you change the switch from Low to High the program will stop at the INT SERV INCE COUNTER F statement Now you can resume execution either step by step or with the Run command again You can find further multimedia examples in the EXAMPLES MULTIMED directory 4 7 Creating a Printed Circuit Board PCB Once you have completed your circuit diagram you can design a printed circuit board to manufacture your design This is easy to do in TINA 7 and later versions since PCB design is an integral part of the program We ll learn about the PCB design process through a few examples The files from the different phases of the design examples have been saved in TINA s Examples PCB directory using the following naming conventions origin tsc original schematic file schematic file backannotated after pin gate swapping and renumbering placed tpc design parameters set components placed pcb file
114. o a subcircuit In addition you can create new TINA components from any Spice subcircuit whether created by yourself downloaded from the Internet or obtained from a manufacturer s CD TINA automatically represents these subcircuits as a rectangular block on your schematic but you can create any shape you like with TINA s Schematic Symbol Editor Library Manager TINA has large libraries containing Spice and S parameter models provided by semiconductor manufacturers such as Analog Devices Texas Instruments National Semiconductot and others You can add more models to these libraries or create your own Spice and S parameter library using TINA s Library Manager LM Parameter Extractor Using TINA s Parameter Extractor you can also create component models that more closely represent actual real world devices by converting measurement or catalog data into model parameters Text and Equation Editor TINA includes a Text and Equation Editor for annotating schematics calculations includes graphic output and measurement results It is an invaluable aid to teachers preparing problems and examples The circuit diagrams and the calculated or measured results can be printed or saved to files in standard Windows BMP JPG and WMF format These output files can be processed by a number of well known softwate packages Microsoft Word Corel Draw etc Netlists can be exported and imported in Pspice format and also to drive popular PCB packag
115. ogram is copy protected by a hardware key the minimum hardware configuration includes also a parallel printer or USB port NOILVTIVLSNI INSTALLATION Installation 3 1 2 NOTE Installation from CD ROM To begin the installation simply insert the CD into your CD ROM drive The Setup Program will start automatically if the Auto Run function of your CD ROM has been enabled Windows Default If not Select Start Run and type D SETUP Enter where D represents your CD ROM drive The setup program will start This software may come with copy protection For further details see the Copy Protection and the Network Installation sections Welcome ta the Tina Pro far Windows Setup program This program will install Tina Pro for Windows on your computer Ik iz strongly recommended that you exit all Windows programs before running this Setup program Click Cancel to quit Setup and then close any programs you have running Click Next ta continue with the Setup program WARNING This program is protected by copyright law and Intemational treaties Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the masimum extent possible under law Cancel TINA Quick Start 3 1 4 NOTE 3 1 5 Following the Installation Steps TINA s Setup Procedure follows the steps standard with most Windows Programs
116. onent placement Now let s place R2 at the top of the circuit Click on the resistor symbol on the component toolbar move and place the resistor When you drop the resistor you will see that its value is already 10k since the program remembets the previous value Now let s place R3 which needs to be turned by 90 degrees Click on the resistor symbol on the toolbar and turn the component by 90 by clicking the y Ot buttons or pushing the Ctrl Lor Ctrl R keys and on the numeric keyboard have the same effect Place the component on the right side of the screen and set its value to 1k Continue circuit entry with the Capacitor Battery and Ground components as indicated in the figure above Set the parameters to C 1 p V1 15 and V2 15 Place a Voltage Pin Out chosen from the Meters component group at the right side of the new schematic Pay attention to battery polarities and rotate the symbols 1f necessary If you have several opamps you may want to simplify their connection to thepower supply This can be done using the Jumper component which you can find at the first place on the Special toolbar All jumpers with the same label are considered as electrically connectedcomponents in TINA Therefore if you connect a jumper called VCC with the positive power supply of the opamp it is enough to connect jumpers with the same VCC label to the positive power supply pins of the opamps As an example you can load and
117. open subcircuit Edit Copy Copy a selected part of the circuit or text to the clipboatd Paste Clipboard contents into the schematic editor Note that the content may come from the schematic editor itself TINA s diagram window or any other Windows program Selection mode If this button is pressed you can select and drag components with the cursor To select a component part wire or text just click on it with the cursor You can also select several objects by holding down the Shift key and clicking on the objects one by one or by clicking at one corner of the area holding down the left mouse button moving to the opposite corner and then releasing the mouse button Selected objects will turn red You can drag the selected objects by dragging one of them Click and hold the left mouse button when the cursor is over one of the selected objects and move them with the mouse You can unselect all selected object s by clicking on an empty area One or more selected objects can be deleted while leaving the others still selected by holding the Shift key down and left clicking the mouse Insert Last component Retrieves the last component inserted for a new insertion of another copy with the same parameters as the previous insertion g Insert Wire Use this icon for inserting adding wires to the schematic design T InsertText Add comments into schematics and analysis results GALYVLS O
118. operty dialog You can assign hotkeys to NOTE 4 6 9 most component values in TINA including switches To avoid accidental changes the hotkeys for component values will only work while TINA is in the interactive mode Switch positions however can be changed before activating the interactive mode in order to set their initial position Once the collector voltage reaches 6V close the property editor dialog box if it is still open and press Run on the oscilloscope Set the vertical position to 6 V and use the horizontal and vertical settings to scale the curve for best appearance The distortion will no longer be visible Press the Amp button on the generator The last amplitude value will appear in the large numeric display field of the generator Use the vertical arrows beside the display to change the amplitude You will see the sine wave become distorted again as you increase the amplitude with the maximum input at about 500mV Now change the waveform from sinusoidal to triangle and then to square wave Vary the frequency of the function generator to explore the frequency domain over which the circuit performance 15 acceptable The virtual instruments under the T amp M menu are not to be confused with the virtual instrument components on the Meters component toolbar Some of the virtual instrument components are used in the interactive mode of the program discussed in the next section They are also used to assign outputs for th
119. oth in digital and mixed signal analog digital environments It supports the IEEE 1076 1987 and NOILONGOLANI INRTODUCTION 1076 1993 language standards and IEEE standards 1164 standard logic Your circuits can contain editable VHDL blocks from TINA s library FPGAs amp CPLDs or VHDL components created by yourself ot downloaded from the Internet You can edit the VHDL source of any VHDL component and see the result instantly TINA includes a wide range of PIC microcontroller models which you can test debug and run interactively The built in MCU assembler allows you to modify your assembler code and see the result promptly Other MCU models including 8051 and AVR more are coming soon With the optional external VHDL simulator you can develop and debug your VHDL code both externally and inside TINA The VHDL simulator includes Waveform Display Project Management and Hierarchy Browser and 64 bit time AC analysis calculates complex voltage current impedance and power can be calculated In addition Nyquist and Bode diagrams of the amplitude phase and group delay characteristics of analog circuits can be plotted You can also draw the complex phasor diagram For non linear networks the operating point linearization 1s done automatically Network analysis determines the two potrt parameters of networks S Z Y H This is especially useful if you work with RF circuits Results can be displayed in Smith Polar or other diagrams
120. perational Amplifiers Difference Amplifiers Fully Differential Amplifiers Comparators Voltage Regulators Buffers Current Shunt Monitors and Other Components You can bring all of these various components into the dialog box for any of the buttons if you set the Show All Components checkbox In addition to selecting an IC on the list you can also find it by clicking on any item on the list and then typing in the name of the IC Now click on the Basic tab on the Component bar and click the Resistor icon The resistor symbol will be attached to the cursor Move the resistor to the position of the R1 resistor on the sample schematic diagram at the beginning of this section and press the left mouse button to place this resistor into the schematic Double click on the resistor and the following dialog box will appear R1 Resistor Label R1 Parameters Parameters Resistance Ohm m Power w Temperature Temperature C Linear temp coef 1 C Quadratic temp coef 1 C Exponential temp coef C Fault ue TINA Quick Start NOTE Change the value in the Resistance field to 10k and press OK Note that you can set a component value before placement while you are moving it To do this press the right button of the mouse and select Properties on the popup menu The dialog shown above will appear and you can set the properties of that component After pressing OK you can return to comp
121. rder number For more information refer to the program s Authorization Help by pressing the Help button read the CD insert or the Registration and License Control manual In some cases the program comes with a Serial number which needs to be entered during installation When entering the serial number you do not need an active internet connection Copy Protection by Hardware dongle If you have a hardware protected version plug the dongle hardware protection key into the parallel printer or USB port connector If you have a printer connect it through this key Should you forget to connect the dongle an error message will come up on the screen Hardware protection key is not present If you have a dongle protected version under NT 2000 XP you should install TINAin Administrator mode and restart the computer after installation 3 5 3 6 Starting Up After successfully installing TINA you can start the program by simply double clicking the TINA icon on your Desktop or by choosing Tina from the Tina 7 Start Menu Entries Experimenting with Example Circuits avoiding common problems Start the program and click the F7 e menu item in the top line of the screen to drop down the Fz menu Select the Open command and the standard open file dialog box appears with TSC indicating that a file name with TSC extension is sought Select the EXAMPLES folder and a list of files with TSC extensions will appear After s
122. rding to the instructions above you must run the setup program on each Novell workstation where you want to run TINA Using the Run command start NSETUP from the Tina 7 NWSETUP directory Note do not doubleclick on the NSETUP icon but use the Run command instead to start the program When you run NSETUP you must specify the working directory which should be located on a local drive of the workstation The working directory can be on the network however in this case the path of this directory must be different on every work station After you ve specified the working directory you may install the optional measurement hardware for TINA e g TINALab After running NOILVTIVLSNI INSTALLATION 3 4 3 4 1 3 4 2 NOTE NSETUP you will be able to run TINA simultaneously on any number of workstations just as though each workstation had a single user version Copy Protection Copy Protection by Software If your version of TINA is copy protected by software at the first run the program a message box appears showing your initial authorization status You will normally have 31 similar full featured sessions to provide you enough time obtain the authorization If yout program comes with an Order number the best it to press the Authorize button on the message box and enter your Order number into the Order number field of the Authorize dialog appearing and press OK Note that you must be on line on the Internet when you enter your O
123. reates a rectangular shaped IC with a DIP style pin layout The total number of pins must be specified For example if you enter 14 pins in this field you get the following pin layout 7 New Device NONAME DDB TINA Schematic Symbol Editor Fie Device Edit Draw Help ps SES ee E LEA O m tie N ESEESE SEP ev OP ee eee Ennn a a 39 O9 TO OD 0 ee PP tT Standard amp Dir EU O 107 Y 48 OILVIN3HOS YNOA Vendor specified pin list In this case the Wizard creates a shape based on a file where each line defines a terminal as Pin number Name Electric type separated by commas TINA Quick Start 6 5 YOUR OWN SCHEMATIC SYMBOLS Footprint Editor 6 6 6 3 For example 1 RA2 INPUT 2 RA3 INPUT 3 RA4 TOCKLINPUT 4 MCLR INPUT 5 VSS POWER etc The electrical type can be INPUT OUTPUT INOUT BUFFER and POWER For example if you read in the PIC16F84A CSV file from TINA s EXAMPLES PCB folder the Wizard generates the next IC New Device NONAME DDB TINA Schematic Symbol Editor Fie Device Edit Draw View Hep aeaa alu 21221218 ola el _ ERE rt m gt Standar
124. riodic ripple To find this state automatically TINA has a Steady State Solver under the Analysis menu To demonstrate this tool let s Load the UC3842 Boost Converter 5 12V Steady State TSC circuit file from TIN EXAMPLES SMPS folder RS 5 Se2 Sere or Jl LIKIH DI HD2 s 2 AT1 I VGI C833pF R22 1k U2 NDPGOEOL B R5 10m C3 4 uF T2 MMBT296 ALT S AS u Vout V R9 120 ik 680m Ti MMBT2222A LTI Rit 42k R10 442 Select the Steady State Solver from the Analysis menu The following dialog will appear Steady State Analysis Start display 0 s Max searching time fi Om s Final checking time fi 00 s Final amp ccuracy fi 00m Calculate operating point Use initial conditions Zero initial values Draw excitation Integration method C Trapezoidal Gear Integration order 2 Method Transient Finite difference Jacobian C Broyden update Jacobian Options TINA Quick Start SMPS Circuits The new parameters compared to the Transient Analysis dialog box areas follows Max searching time The solver will try to find the steady state solution for max 10ms After this the analysis will discontinued whether or not a solution was found Final checking time After the steady state search is done there 1s a final check for the length specified
125. roup you can set the mounting mode and the package type of the IC The mounting mode can be through hole or surface mounted Depending on the mounting mode the following packages are available DIP Dual in line package PGA Pin grid array package SPGA Staggered pin grid array package SOP Small outline package LCC Leaded chip carrier package QFP Quad flat package BGA Ball grid array package SBGA Staggered ball grid array package SIP Single in line package and ZIP Zigzag in line package respectively In the Package dimension group the dimensions length width 3D height of the package can be set Depending on the selected package the 4 parameter is either notch one corner cutoff or ignored The Pad dimension defines the shape and dimensions length width of the pad If the mounting mode is through hole the shape of the drilled pad can be round square or octagon Moreover the shape and dimensions of the drill diameter can be defined However if the mounting mode is surface mounted the shape of the pad can be circular rectangular or rounded corner and the appropriate dimensions can be also set In the Pad position the number of pins and the distances between them can be set according to the package type Finally in the Pad numbering group the type and direction for pad numbering can be entered depending on the package type An example Technology Through hole Package type DIP Package dimension
126. routed tpc net properties set and routed pcb file finished tpc optionally pin gate swapped and renumbered routed silkscreen adjusted documentation layers finalized pcb file GALYVLS ONILLADS GETTING STARTED 4 7 1 NOTE Setting and checking footprint names To see the first example open the opamp2 tsc project from TINA s Examples PCB folder The following schematic will appear EJ OPAMP2 Schematic Editor File Edit Insert View Analysis Interactive T amp M Tools abiri sp 3 eidal The most important thing in PCB design is that every part in your schematic must have a physical representation with exact physical size This is accomplished through so called footprints drawings showing the outline and the pins of the parts TINAS footprint naming uses as a starting point the IPC SM 782A Surface Mount Design and Land Pattern Standard and the JEDEC standard JESD30C Descriptive Designation System for Semiconduc tot Device Packages See http www jedec org download search jesd30c pdf In TINA we have already assigned default footprint names to all parts which represent real components Some parts used for theoretical investigations for example controlled sources do not represent real physical parts so you cannot place them on a PCB If your design contains such components you should replace them with real physical parts 1 Of
127. rresponding component on the schematic diagram will be selected and turned red TINA Quick Start 4 43 GALYVLS ONILLADS GETTING STARTED Network Analysis 4 6 5 4 44 The maximum values of the components can be set in the component property dialogs or in the component catalog parameter dialogs Both can be entered by double clicking on the components Before running an analysis check and set the maximum values of the components in your circuit As an example of Stress Analysis open the file Stress Analysis TSC from TINA s EXAMPLES folder and run DC Calculate Nodal Voltages and Transient Analysis from the Analysis menu or the corresponding interactive modes In the following figure you can see the result of Stress Analysis in DV interactive mode Nu Stress Analysis Schematic Editor o r ss etel ejos 118 Run DC or Transient analyis to demonstrate the result of Stress Smoke analysis Note that Stress Analysis 15 enabled in this circuit see the Analysis menu in power dissipaison 1 Al Mamun power dissipation 250m Apparently the power dissipation of T1 T2 and R1 exceed maximum limits allowed for these parts Network Analysis TINA helps you perform network analysis and determine the two port parameters of networks S Z Y H This is especially useful if you work with RF circuits Results can be displayed in Smith Polar or ot
128. s and the Spice terminals It should be correct since the Library Manager did not give an error message for the Spice comments If there had been a discrepancy you would have seen an error message in the TLD line No processable comments Change the Category at the top right corner to lt Comparator gt Click the Next button again to bring in the last model in this library The following window will appear TINA Quick Start 5 21 SOYOVWN Spice Macros Tina Library Description Editor for SPICE subcircuits MODEL PNP IS 1E 14 BF 11111 VAF 15 KF 4 13E 13 MODEL DX D I5 1E 15 MODEL D I5 1E 17 MODEL DN D KF 1 667E 9 AF 1 XTI 0 EG 3 ENDS model moc223 FORMAT SPICES subckt xmoczz3 4 5 3 4 LED ANODE 5 LED CATHODE 3 gt EMITTER l COLLECTOR 2 gt BASE SUBCKT 223 45312 lt ButoShape gt Misc No processable Note the No processable comments message at the bottom line This means that the Library Manager could not identify the Spice terminals from the comments in the Spice model We will have to make the connection between the graphic shape and the Spice terminals manually Tina Library Description Editor for SPICE subcircuits MODEL PNP IS 1E 14 BF lllll VAF 15 KF 4 13E 13 MODEL DX D IS 1E 15 MODEL DY 15 1 17 MODEL DN 1 667 9 AF 1 XTI 0 3 ENDS model moc223 FORMAT SPICES 4 gt
129. st diagrams the built in interpreter multiparameter optimization creation of multilayer PCBs and other topics The detailed description of these topics is not included in the printed Quick Start manual they are published only in electronic form They can be found on the TINA install CD and on the web at www tina com in the Documentation section www tina com support htm S ldOL Q3O2ONVAQV ADVANCED TOPICS 8 2 Table of Contents Parameter Stepping DC Transfer Characteristic and Parameter Sweeping Phasor Diagram Nyquist Diagram Noise Analysis Network Analysis and S parameters Symbolic Analysis Post processing Analysis Results Optimization Fourier Series and Fourier Spectrum Interpreter TINA PCB Design Manual We are continuously adding new topics and examples to this chapter so please check back regularly to the Documentation section of our website www tina com for the latest version
130. t Name BZXS4C3VO X BZXS4C3V3 X Diodes Transistors IC s amp others 7 lt Shape gt Componnent Button Diode Shottky D gt D xD D Zener Led Varicap Cancel Help Select the Zener diodes the last 3 items the list by clicking them one by one while holding the Ctrl key Then press the Zener button lt D gt and D identifiers will change to lt DZ gt and DZ ensuring the use of the Zener diode symbols in TINA Press OK and save both library files in the SPICELIB folder in the main TINA folder To verify the new diodes restart TINA select diodes or Zener diodes from the toolbar drop the diode onto the schematic and double click on it Press the z button at the type line and select the my diodes library using the drop down menu of the Library field at the left top corner of the Catalog Editor dialog box Catalog E ditor Library Standard Type W BEXBAC3VU X X TINA Quick Start Tolerance Model Hone 7 General Model Parameters Manufacturer my diodes 5 5 aturation current 4 x Cancel Help SOYOVWN SPICE MACROS You will also find your new normal diodes under the Diodes category of the toolbar Note that you can add new diodes to any existing manufacturer catalog if you select a library name already in the drop down menu Motorola In a similar way you can try ad
131. t Parameters MCU HEX LST File Name X Heb Click on the last MCU File name line and press the to proceed The following dialog will appear Label ui Footprint Name Parameters arameters SubCkt4 Shape SubCkt Content macto vhd SubCkt Parameters MCU ASM File pic 16473 asm aee 7 Ge PIC Input File Selection Select ASM Mew ASM select HEX Here you can see and edit the ASM code in the MCU select another ASM code file or create a New ASM directly in the editor that will appear when you press the New ASM button If however you switch to the Use HEX Lst file option you can select the binary HEX file you want to run and the LST file to be used for debugging as shown in the dialog below The HEX and LST files should be generated by an appropriate compiler normally provided free by the MCU manufacturer However TINAhas a built in compiler for all supported MCUs so you can directly use your ASM source code TINA Quick Start Microcontroller MCU Circuits ws PIC Input File Selection Selection C Use ASM file only Edit ASM Select ASM New ASH Select HEX Select LOT X Cancel Help 4 6 9 6 Example PIC Flasher Now let us run a microcontroller application and see how to modify its code Load the PIC Flasher TSC circuit form the Examples VHDL PIC Asm folder The following schematic will appear with the
132. t one of them in this case click on the Cosinusoidal button the associated curve comes up with some default parameters In the case of the Cosine signal these are Signal Editor HHA ERE T 1 f 20 0m TINA Quick Start 4 15 GETTING STARTED Change the frequency to 200k 200kHz Click on OK and return to the previous dialog box and click on OK again The program will automatically place the label near the component and you will be able to position and place the component and the label together If the default label position is not satisfactory you ll be able to drag the label to the desired position later on When the component is where you want it press the left mouse button to drop it This completes the placement of the generator Now click on the Basic tab on the Component bar and choose the Resistor icon your cursor will automatically change when you are over the tabs or the icons After the symbol of a resistor has appeared in the schematic window press the right button of the mouse and then select Properties from the popup menu When the following dialog box appears change the Resistance to 100 H1 Resistor Label Module After setting all parameters click OK Your cursor will turn into the resistor with the frame of the label Position it as required and press the left mouse button to drop it Continue circuit entry with the Land C components as indicated in the figure above Set the paramet
133. t the top of the window followed by drawing preferences and the Draw command Press the run button to draw the function in the diagram window on a new page This curve can then be copied and pasted into the same transient function diagram where all of the results can be seen simultaneously To add mote analysis curves to our diagram press the Add more curves button the toolbar or call the Add more curves command in the Edit menu The post processing dialog appears on the screen Note in order to use this feature you must check Save all analysis results in the Analysis Options dialog The available curves listbox on the left side shows all the curves that have already been calculated TINA Quick Start Post processing Postprocessing E Available curves Curves to insert if OK Add gt gt x Cancel lt lt Remove 7 Help Delete Outputs Nodal Voltages Other Voltages Currents User defined More gt gt Alc_1 tec gt gt Transient Analysis GALYVLS ONILLADS The symbols V label jj and I label jj denote the voltage and current respectively of the labeled components between the nodes 7 and 7 The symbol VP n denotes the nodal voltage of node To add the voltage of the coil to the list of curves to insert select V L 3 2 and press the Add button Pressing OK inserts this curve into the current diagram page Noname TH result2 nx File Edit View Process H
134. te operating point L P Lele v Draw excitation Integration method C Euler Gear Change the End Display parameter to 30 u then press OK In a separate window the transient response will appear As expected the RLC circuit exhibits a response of damped oscillation Exact input output data pairs can be read by enabling the a and or b graphic cursors Now select Analysis Symbolic or Analysis Semi symbolic Transient from the menu The closed form expression of the circuit response appears in the Equation Editor window Click on the Copy icon of the Equation Editor Window then switch to the Schematic window and select the Paste icon The frame of the formula will appear Move the frame to the desired location and press the left mouse button to place the formula Note that you can reposition it by dragging to any position and you can edit it by double clicking on it GALYVLS ONILLADS GETTING STARTED Symbolic Analysis 4 22 E Noname TR result2 OE Xx File Edit View Process Help el TR result v t 1 1 001 51 tcos 9 987 10 t 182 866 e t Voltage V 500 00m 0 00 10 00u 20 00u 30 00u Time s VTR result ATR result2 Now go back to the equation editor and click on the Interpreter icon small calculator on the toolbar The expression shown in the equation editor is then transferred to the Interpreter window The actual definition of the time function is a
135. the MCU input file selection dialog available from the MCU code line MCU property dialog E Save the actual code into the TINA TSC file Note that you can edit the code in the Debugger After editing it is automatically recompiled after requesting confirmation This icon appears only when the MCU code is given in ASM source format Save the ASM file source code of the MCU code This icon appears only when the MCU code is given in ASM source format Save the executable binary HEX file of the MCU code TINA Quick Start 4 67 GALYVLS ONILLADS GETTING STARTED Using the MCU Debugger 4 68 EJ Save the LST debug file of the MCU code Toggle breakpoint Inserts or removes breakpoints in the selected line Click on the line where you want to place or remove the breakpoint before clicking on the icon ia Run the code in the debugger continuously The lines being executed will be highlighted and the code is scrolled to the being executed will be highlighted and the code is scrolled to the line being executed E Trace into Step by step execution Each time you press this but ton one command of the program is executed T Stop Halts program execution The Code window below the control icons displays the ASM code The next actual command is highlighted with blue The actual content of the registers and memory locations of the MCU are shown in the lower part of the screen Let s
136. the output of this generator to be the input for this analysis a Bode diagram in this example Click on the Signal menu line The dialog box will change as shown below Voltage Generator DC Level 0 Signal Unit step f 1 Parameters available voltage generator signals will appear When you select one of them in our case click on the Square Wave button the associated curve comes up with some default parameters In the case of the Square Wave signal these are Signal Editor T 1 f 20m TINA Quick Start Change the Amplitude to 500m this represents 500mV peak the frequency to 100k 100kHz and the Rise Fall time to 1p 1ps Click on OK and return to the previous dialog box and click on OK again The program will automatically place the label VG1 near the component and you will be able to position and place the component and the label together If the default label position is not satisfactory you ll be able to drag the label to the desired position later on Now click on the Spice Macros tab and press the leftmost Operational Amplifiers button The following dialog box will appear Operational Amplifiers Operational Amplifiers OPA1013E Shape Auto select Shape Auto select Manufacturer All v 1 139 Manufacturer All v 121450 Show all components Show all components _ cancel Hep X 2 To find the IC w
137. the list of selected files In a similar way you can select more files or even all the files by pressing the gt gt button A dialog appears With this dialog box you can change the model name This might be necessary to avoid conflicts among different modelversions with the same name To differentiate the new model you can create a model name from the file name or from one of the first 8 lines or you can add a prefix or suffix to the model names Let s just use the file name as a model name Press the Next button and the contents of the new library file will appear Using File Save As save this library in the SPICELIB folder found in the main TINA folder e g TINA PRO SPICELIB using the name myslib lib Now select Create TINA Library Description for S parameter models from the File menu The following dialog box will appear Here you specify a name for your new library e g My S Parameter Library You could specify the name of the manufacturer as a library name but note that if there already is a library in TINA with the same name e g Siemens then your new model will be added to this library The library descriptor file of the new catalog will be displayed ina new window Howevet in the case of S parameter files you must always categorize the models unless you want them to appear among the mixed components with a default shape To do this select Categorize Components from the Edit menu The following dialog box wil
138. tic Symbol Editor you can create new schematic symbols so that you can add your own circuit components to TINA To create new symbols you place lines arcs rectangles and arbitrary characters with any fonts specifying line width color and area color fills After drawing the symbol you add and define connections to it To get acquainted with some features of the editor read in the list of existing symbols Use the Windows XP also versions 98SE and 2000 Start menu to locate the TINA PRO folder Start the Schematic Symbol Editor by clicking its icon then Select Fz Open and double click on the devices ddb file On the right hand side of the Editor Window the list of current schematic symbols will appear OILVIN3HOS NMO YNOA YOUR OWN SCHEMATIC SYMBOLS Schematic Symbol Editor CERA DEVICES DDB TINA Schematic Symbol E ditor File Edit Draw View Help err 12111276383 Pile Es gg BEEN EIE RERREERRIRF LILCETLLITT ET Standard us x Dir vw Rotate the selected component left counterclockwise X 73 Y 45 The first symbol on the list an Ammeter will appear in the editor window Try the Dir control at the bottom of the screen Using this control you can provide different shapes for symbols at each rotational orientation by designing each of them individually Now click on the NAND symbol at the right sid
139. to them Let us use this feature with an existing symbol The creation of such a symbol will be described later in detail Set the Name to Full Adder and set the Label to FA this will be displayed as the component label above the shape Uncheck the Auto generated checkbox and press the button next to it The list of available symbols will appear as shown below La m9 macros Schematic E ditor File Edit Insert View Analysis T amp M Tools Help 2 r T ET lene 100 round Shapes E Shapes E Full Adder INewMacoWizad Macro Wizard Name 7 Adder Content Current M Current circuit Shape Auto generated Defaults Label Parameters anc He p 2 x Carcel Note that in order to see the predefined symbols the Macro Pin Label names must exactly match the names in the symbol In our example they must be A B Ci Co S If you do not see the symbol shown in the figure above check the terminal names or try to recreate the symbol as shown later at Making your own schematic symbols Click the schematic symbol with the large summation sign and press OK The name of the schematic symbol will appear in the shape field of the New Macro Wizard dialog box Finally click OK and save the macro under the name of Full adder tsm TINA Quick Start Schematic Macros
140. toolbar select Digital VHDL Simulation from the Analysis menu and press OK The diagram that is drawn will be practically identical to the previous diagram In TINA of course you can make your own VHDL macros This is decribed in chapter 5 under 5 5 Adding VHDL macros to TINA Testing your Circuit with Virtual and Real Time Instruments TINA lets you test and tune your circuit not only with the generators and analysis windows that you have used so far but also with virtual and real time measurements Using the T amp M menu you can place realistic virtual instruments on screen which will automatically replace TINA Quick Start 4 53 GALYVLS ONILLADS GETTING STARTED the generator and analysis windows You can control the settings of these instruments and immediately see the results just as you would real lab TINA normally simulates measurements with its analysis engine but if you have TINAS supplementary hardware you can simply switch to the Real Measurement mode using Option of the T amp M menu Now you can work with the same on screen instruments and settings and you will be making real measurements on a real circuit E Ampliopt Schematic Editor File Edt Insert View Analysis T amp M T aisi idi xi AE als x 7 z o Control Output Parameters 1 7821 Stat Freq m a Waveform _ edit Edt z Amp Swee orse EET
141. tting parameters for electronic components or specifying numerical values you may use standard electronic abbreviations For example you can enter 1k ohm for 1000 ohm The multiplier abbreviations should follow the numeric value e g 2 7k 3 0M 1 etc The following characters indicate multiplier factors p pico 101 manea ie ale usq Upper and lower cases must be carefully distinguished e g M m and the selected letter must follow the numeric characters without a space e g 1k or 5 1G or TINA will indicate an error The Basic Screen Format After start up the following screen appears on your monitor E Noname Schematic Editor Fila Edit Insert View Analysis T amp M Tools Help 253 Y 386 The Menu bar The Cursor or pointer This is used to select commands and to edit schematics You can move the cursor only with the mouse Depending on the mode of operation the cursor assumes one of the following forms An arrow when a command selection is required in the edit window A component symbol accompanied by an arrow and small box when inserting that component onto the circuit in the schematic window Until the position of the component on the schematic is chosen its movement is controlled by the mouse A pen when defining the endpoint of a wire An elastic line when defining the endpoint of a wire or the second node of an input or output An elastic box
142. ve the changed code by pressing the E icon and close the open MCU windows If you press the 8 button now the increment will be 2 Note that the changed code will be automatically saved in the TINA TSC file TINA Quick Start 4 65 GETTING STARTED Using the MCU Debugger PRPICTGFSA interrupt rbO Schematic Editor celles afr 8 nici EE 915 eei Re xe 4 MBasc 5 Meters Sources Semiconductor Oploesecticec A Spice Macro A Gates ALogic ICs DA 5 ARF J Analog Loriicl i Specia Courts L gt H transitions on the REO port 1 Enable the debugging with Anatysis Opbons Enable MC Code Debugger 2 Start the VHDL interactive simulation with the VHDL Interactive mode buton 3 Track the program in step by step mode Use the HL switch to generate signals and track the interrupt in the debugger 4 6 9 7 Example PIC Interrupt handling 4 66 Now let s see another application with some interactivity Load the PIC16F84interrupt_rb0 TSC example from he Examples VHDL PIC Asm folder Press the button At first glance it appears that nothing is happening However if you click on the SW HL1 switch the display will step forwatd by 1 each time that the switch changes from Low to High This is realized with the interrupt handling capability of the PIC16F84 Now let s see the operation in more detail using the
143. ver machine as a user with administrative privileges Novell 3 x supervisot Novell 4 x admin Windows NT Administrator Then execute the procedure for the Hard Disk Installation on a disk volume that is accessible from the network Now carry out the following additional steps Make all files in the program and user directories sharable Novell 3 x FLAG S SUB Novell 4 x FLAG SH S Windows NT 2000 XP Depending on the setup of your system you can give the rights to a group lt groupname gt whose members will then have the appropriate rights automatically 0p dg Next make sure that the clients have a mapped drive set to the network drive containing the TINA program folder To assign map a drive letter to a network computer or folder do the following Open Windows Explorer On the Tools menu click Map Network Drive In Drive select a drive letter e g G In Path Win9x Me or Folder NT 2000 XP select from the drop down list or type in the network drive server and share name or folder name to which you want to assign map a Drive letter Note that share name refers to a shared folder on the server On Windows N T 2000 XP you can use Browse to find the network computer drive and folder Set the Reconnect at Logon checkbox Press OK Examples Drive G Folder servername sharename Of NMyServerNVolume1 MyServer Volume Public After you have set everything up on the Network disk acco
144. y 12 3 4 5 amp C Program Files DesignSoft Tina Pro SPICELIB myspicelib TLD My Spice Library UA741 my In In V V Out lt AdmplifierS gt OpaAmp Finally save the library directory as myspicelib tld in TINA s Spicelib folder Note that the Save As command applies to the active selected windows only Operational Amplifiers TLV23421 5 1 Operational Amplifiers UA 41 MY 5 14 TINA Quick Start Spice Macros Next time you start TINA select Spice Macros and then Operational Amplifiers and you will find the new component library in the list of Manufacturers Your subcircuit will appear on the list invoked either by selecting My Spice Library or All In the previous example you added a component described by a Spice subcircuit You can also add diodes transistors and other devices by simply using MODEL instructions These devices are normally placed in a file containing many MODEL instructions In TINA there are two such sample libraries called diodes lib and transistors lib First open the diodes lib file from the EXAMPLES SPICE folder using the File Open File command or the corresponding icon on the toolbar The following window listing the contents of the file appears Library Manager _ x File Edit Search Window Help DESB XBR D Program Files DesignSoft Tina Pro Gera EXAMPLES SPICE diodes lib 582_ D IS 185F R5 30 N 1 305 BV 70 IBV 1N
145. you an opportunity to check and alter them and step back if changes are necessary After you click on Next the Setup Program starts copying the files automatically Copying program files c program filles desiqnsofttina prosexamplessrlc demo sch Completing the Setup After all the selected files have been copied and the Start Menu entries created you ate asked if you want to place a Shortcut to the TINA program file on your Desktop The last page indicates successful installation and invites you to open and read a file with the latest information about TINA We urge you to take a moment and review that file Click on finish when you re ready You can read the latest information in the file again at any time by selecting Read Me from the Tina 7 Start Menu Entries You can also get the latest information about changes or new features by visiting our Web Site www tina com NOILVTIVLSNI INSTALLATION 3 2 3 3 Uninstalling TINA You can uninstall TINA at any time Note that this will not delete files you have created To begin Uninstallation choose Tina 7 from the TINA 7 Start Menu Entries In the Window that appears double click on Uninstall Tina Click on Yes if you ate positive you want to uninstall TINA After all the files have been removed successfully an OK Button appears Click on it and uninstallation is complete Network Installation To install the Network version of TINA you must logon to your ser

Download Pdf Manuals

image

Related Search

Related Contents

  IBM 92P1477 User's Manual    GSC400 Series  ASUS BM1845 E7330 User's Manual  Electrolux E30IC75FSS User's Manual    Stoves 450CDW    InLine 59945S cable tie  

Copyright © All rights reserved.
Failed to retrieve file