home *** CD-ROM | disk | FTP | other *** search
/ Explore the World of Soft…ids, Adults, Educational / RocelcoInc-ExploreTheWorldOfSoftware-KidsAdultsEducational-Vol2-Shareware.iso / educate / disk301 / pc-ecap.doc < prev    next >
Encoding:
Text File  |  1993-11-01  |  109.7 KB  |  2,442 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.                                   P C - E C A P
  21.  
  22.                                    Version 3.00
  23.  
  24.  
  25.  
  26.  
  27.                              Program Reference Manual
  28.  
  29.  
  30.                       Copyright (c) 1990-93 by Peter Volpa
  31.                                All Rights Reserved
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.                               _______
  45.                          ____|__     |                (R)
  46.                       --|       |    |-------------------
  47.                         |   ____|__  |  Association of
  48.                         |  |       |_|  Shareware
  49.                         |__|   o   |    Professionals
  50.                       -----|   |   |---------------------
  51.                            |___|___|    MEMBER
  52.  
  53.  
  54.  
  55.                                    Peter Volpa
  56.                                  Circuit Systems
  57.                                  418 Church Road
  58.                           Sicklerville, NJ 08081-1727  USA
  59.  
  60.  
  61.  
  62.  
  63.                                 Table of Contents
  64.                                 -----------------
  65.  
  66.  
  67.  
  68.           Introduction . . . . . . . . . . . . . . . . . . . . .  1
  69.               License  . . . . . . . . . . . . . . . . . . . . .  2
  70.               Ordering Information . . . . . . . . . . . . . . .  3
  71.                 (also registering by credit card)
  72.               Disclaimer, Trademarks, ASP info . . . . . . . . .  4
  73.               System Requirements  . . . . . . . . . . . . . . .  5
  74.               Installing PC-ECAP . . . . . . . . . . . . . . . .  6
  75.  
  76.           Quick Start  . . . . . . . . . . . . . . . . . . . . .  7
  77.  
  78.           Miscellaneous program information :
  79.               Printer configuration  . . . . . . . . . . . . . .  8
  80.               Data format  . . . . . . . . . . . . . . . . . . .  9
  81.               Accessing data files in other directories  . . . .  9
  82.               Memory requirements vs. maximum circuit nodes  . .  9
  83.               Network / Multi-User operation . . . . . . . . . .  10
  84.  
  85.           Getting Started  . . . . . . . . . . . . . . . . . . .  11
  86.           Main Menu Descriptions . . . . . . . . . . . . . . . .  11
  87.               Select input file  . . . . . . . . . . . . . . . .  11
  88.               Edit input file  . . . . . . . . . . . . . . . . .  12
  89.               Analyze circuit  . . . . . . . . . . . . . . . . .  16
  90.                 Plotting results . . . . . . . . . . . . . . . .  17
  91.               View output data . . . . . . . . . . . . . . . . .  18
  92.               Output to printer  . . . . . . . . . . . . . . . .  18
  93.               Change program settings  . . . . . . . . . . . . .  19
  94.                 (number of sample points, printer type, etc.)
  95.               Quit this program  . . . . . . . . . . . . . . . .  20
  96.  
  97.           Analyzing a Circuit Using PC-ECAP  . . . . . . . . . .  21
  98.               Input format . . . . . . . . . . . . . . . . . . .  22
  99.               Circuit element description  . . . . . . . . . . .  23
  100.               Specifying AC analysis parameters  . . . . . . . .  26
  101.                 (group delay, impedance, vswr, return loss)
  102.               Specifying transient analysis parameters . . . . .  28
  103.               Computational techniques for transient analysis  .  30
  104.               An example!  . . . . . . . . . . . . . . . . . . .  33
  105.               An example of transient analysis . . . . . . . . .  34
  106.               Another example (using the Model Maker)  . . . . .  36
  107.  
  108.           Models . . . . . . . . . . . . . . . . . . . . . . . .  38
  109.               References for modeling  . . . . . . . . . . . . .  39
  110.  
  111.           Revision History . . . . . . . . . . . . . . . . . . .  40
  112.  
  113.           Appendix A - Command Line Switches . . . . . . . . . .  41
  114.           Appendix B - Error Messages  . . . . . . . . . . . . .  42
  115.           Appendix C - PC-ECAP to Lotus 1-2-3 file conversion  .  47
  116.           PC-ECAP Reference Manual                          page 1
  117.  
  118.           Introduction
  119.  
  120.           PC-ECAP is an easy to use AC circuit analysis program which
  121.           analyzes circuits consisting of resistors, capacitors,
  122.           inductors, transformers, transmission lines, transistors
  123.           (both bipolar and FET's), operational amplifiers and
  124.           transconductance amplifiers.
  125.  
  126.           Totally integrated in one package, it contains a full screen
  127.           text editor for preparing analysis input, an electronic
  128.           circuit analyzer that calculates your circuit's frequency
  129.           and transient response, a high resolution display plotter
  130.           that supports all common graphics adapters and a high
  131.           resolution plotter compatible with most printers.
  132.  
  133.  
  134.           Features:
  135.  
  136.                *    Calculates Magnitude, Phase, Group Delay,
  137.                     Impedance, VSWR and Return Loss.
  138.  
  139.                *    Calculates Transient response for step, pulse,
  140.                     ramp, square wave, triangle wave and sine wave
  141.                     inputs.  Can also calculate impulse response.
  142.  
  143.                *    Completely menu driven - very easy to use.
  144.  
  145.                *    Can analyze circuits with up to 90 nodes,
  146.                     and with as many as 1000 components.
  147.  
  148.                *    Built in full screen editor with on-line help
  149.                     function.
  150.  
  151.                *    Free input format - common abbreviations such as
  152.                     P, U, N, M, K, MEG, G are recognized.  For
  153.                     example if your circuit has a 47pf capacitor, all
  154.                     you need to enter for its value is 47pf.
  155.  
  156.                *    Supports CGA, EGA, VGA, Hercules, MCGA, AT&T and
  157.                     even the Monochrome Display Adapter.
  158.  
  159.                *    All calculations are done in 15 digits of double
  160.                     precision.
  161.  
  162.                *    High resolution plots on IBM/Epson 9/24 pin,
  163.                     HP LaserJet and HP DeskJet compatible printers.
  164.  
  165.                *    Program may be configured to send its output to
  166.                     LPT1, LPT2, LPT3 or a disk file.
  167.  
  168.                *    Bipolar transistor model maker.  Just enter your
  169.                     transistor's operating parameters and PC-ECAP will
  170.                     create a Hybrid-Pi model for your transistor.
  171.  
  172.                *    Will utilize a math coprocessor if available, but
  173.                     does NOT require one.
  174.  
  175.                *    Built-in network / multi-user support.           PC-ECAP Reference Manual                          page 2
  176.  
  177.           License
  178.  
  179.           PC-ECAP is distributed as "shareware".  It is NOT public
  180.           domain or free software.
  181.  
  182.           Non-registered users of this software are given the
  183.           opportunity to evaluate the complete PC-ECAP software
  184.           package for 30 days with no obligation.  If, after the
  185.           evaluation period, you find PC-ECAP to be suitable for your
  186.           needs, you must register your copy or discontinue using
  187.           PC-ECAP.
  188.  
  189.           What we're saying is if you use this program, then you
  190.           should pay for your copy.  That way Circuit Systems will be
  191.           able to provide updates, support, and generally stay in
  192.           business.
  193.  
  194.           PC-ECAP is distributed in two forms: a registered version
  195.           and an unregistered version.  The unregistered version is a
  196.           fully-functional program that has all the features of the
  197.           registered version.  However, the unregistered version
  198.           requires the user to go through an initialization procedure
  199.           each time PC-ECAP is started.  The initialization procedure
  200.           requires the user to enter a random number before PC-ECAP
  201.           will run.  The registered version does not have this
  202.           initialization procedure.
  203.  
  204.           The REGISTERED version of PC-ECAP is LICENSED TO THE SINGLE
  205.           PERSON WHO REGISTERED THE PROGRAM AND MAY NOT BE DISTRIBUTED
  206.           IN ANY MANNER.
  207.  
  208.           All users are granted a limited license to copy the
  209.           UNREGISTERED version of PC-ECAP for the trial use of others.
  210.           This license does NOT include distribution or copying of
  211.           this software:
  212.  
  213.  
  214.                *    In conjunction with any other product or service.
  215.  
  216.                *    In general use within a company or school.
  217.  
  218.                *    For any "disk fee" other than a small (generally
  219.                     $2.00 to $5.00) copying charge.
  220.  
  221.                *    For distribution in any modified form.  The file
  222.                     containing this license information MUST be
  223.                     included along with full documentation and all
  224.                     the files that make up this software package.           PC-ECAP Reference Manual                          page 3
  225.  
  226.           Ordering Information
  227.  
  228.           A PC-ECAP registration licenses you to use the product on a
  229.           regular basis.  Registration also entitles you to technical
  230.           support, update notices, and enables you to get future
  231.           releases of PC-ECAP at a minimal price.
  232.  
  233.           Individual registrations come in two forms.  The first,
  234.           registration only, costs $89 (plus $2.00 shipping and
  235.           handling).  Upon receipt of your paid registration form, we
  236.           will send you the latest registered version of PC-ECAP with
  237.           documentation on the disk.  We also offer PC-ECAP with a
  238.           printed manual.  For $99 (plus $4.00 shipping and handling)
  239.           we will send you the latest registered version of PC-ECAP
  240.           along with a professionally printed bound manual.  New
  241.           Jersey residents should include 6% sales tax.
  242.  
  243.           Site licensing is also available.  Prices are based on the
  244.           estimated number of users.  Please write for more
  245.           information.
  246.  
  247.           A PC-ECAP registration form is included in the distribution
  248.           package for your convenience.  It is in the file ORDERFRM.
  249.           Please take time to fill it out and return it.  If you would
  250.           like high-quality software to continue to be made available
  251.           on a try-first basis and for a reasonable cost, it is up to
  252.           YOU to support such programs.
  253.  
  254.           Please send your registration form, suggestions and any
  255.           comments that you might have to:
  256.  
  257.                     Peter Volpa         or       For questions only,
  258.                   Circuit Systems                 no orders.  Call
  259.                   418 Church Road                  (609) 875-5433
  260.             Sicklerville, NJ  08081-1727           12 - 10 PM EST
  261.  
  262.           Questions may also be sent by Email on CompuServe to
  263.           72202,3043.  I check for mail only about once a week, so it
  264.           might be just as quick to write if you live in the U.S.A.
  265.  
  266.  
  267.           Registering PC-ECAP by Credit Card
  268.  
  269.           We have established a special arrangement with the Public
  270.           (software) Library for those of you who wish to order by
  271.           credit card.  For credit card orders only, you can order
  272.           from PsL with your Master Card, Visa, AmEx or Discover card
  273.           by calling (800) 2424-PsL or (713) 524-6394.  You may also
  274.           FAX to (713) 524-6398 or CompuServe to 71355,470 or mail to
  275.           PsL, P.O. Box 35705, Houston, TX 77235-5705.  These numbers
  276.           are for ordering only.  For information about volume
  277.           discounts, site licensing, shipping of product, returns,
  278.           latest version number or other technical information, please
  279.           write to Circuit Systems or call (609) 875-5433.  All credit
  280.           card orders will be charged $4 for Shipping and Handling.           PC-ECAP Reference Manual                          page 4
  281.  
  282.           DISCLAIMER
  283.  
  284.           ALTHOUGH WE HAVE EXTENSIVELY TESTED PC-ECAP AND BELIEVE IT
  285.           WILL GIVE ACCURATE RESULTS IF USED CORRECTLY, WE SUPPLY THIS
  286.           PROGRAM AS IS.  CIRCUIT SYSTEMS DISCLAIMS ALL WARRANTIES,
  287.           EXPRESSED OR IMPLIED, THAT THIS PROGRAM IS FIT FOR ANY
  288.           PURPOSE.  CIRCUIT SYSTEMS ALSO ASSUMES NO LIABILITY FOR ANY
  289.           DAMAGES EITHER DIRECT OR CONSEQUENTIAL, WHICH MAY RESULT
  290.           FROM THE USE OF THIS PROGRAM.
  291.  
  292.  
  293.           Trademarks
  294.  
  295.           MS-DOS and Excel are registered trademarks of Microsoft
  296.                Corporation.
  297.  
  298.           PC-DOS, PC/AT, PC/XT, and PS/2 are registered trademarks of
  299.                IBM Corporation.
  300.  
  301.           Compaq is a registered trademark of Compaq Computer Corp.
  302.  
  303.           Hercules is a registered trademark of Hercules Computer
  304.                Technology.
  305.  
  306.           AT&T is a registered trademark of American Telephone and
  307.                Telegraph Company.
  308.  
  309.           Olivetti is a registered trademark of Ing. C. Olivetti.
  310.  
  311.           LaserJet and DeskJet are registered trademarks of
  312.                Hewlett-Packard Company.
  313.  
  314.           Lotus and 1-2-3 are registered trademarks of Lotus
  315.                Development Corporation.
  316.  
  317.           Quattro Pro is a registered trademark of Borland
  318.                International Corp.
  319.  
  320.           AS-EASY-AS is a trademark of TRIUS, Inc.
  321.  
  322.  
  323.           Association of Shareware Professionals
  324.  
  325.           This program is produced by a member of the Association of
  326.           Shareware Professionals (ASP).  ASP wants to make sure that
  327.           the shareware principle works for you. If you are unable to
  328.           resolve a shareware-related problem with an ASP member by
  329.           contacting the member directly, ASP may be able to help. The
  330.           ASP Ombudsman can help you resolve a dispute or problem with
  331.           an ASP member, but does not provide technical support for
  332.           members' products.  Please write to the ASP Ombudsman at 545
  333.           Grover Road, Muskegon MI 49442-9427 or send a Compuserve
  334.           message via CompuServe Mail to ASP Ombudsman 70007,3536.
  335.           The OMB may be contacted by FAX by sending to the ASP FAX
  336.           number: (616) 788-2765.  In communication with the OMB
  337.           please include a telephone number and/or FAX if available.           PC-ECAP Reference Manual                          page 5
  338.  
  339.           System Requirements:
  340.  
  341.  
  342.                *    IBM PC, XT, AT, PS/2 or compatible.
  343.  
  344.                *    PC or MS-DOS 2.0 or later.
  345.  
  346.                *    One floppy disk drive.
  347.  
  348.                *    384K of system memory.
  349.  
  350.                *    A graphics card is recommended for best
  351.                     performance.  But if all you have is a Monochrome
  352.                     Display Adapter, PC-ECAP will even graph its
  353.                     results on that - though the resolution will be
  354.                     much lower.
  355.  
  356.                *    An IBM/Epson, HP LaserJet or HP DeskJet compatible
  357.                     printer if hard copy is desired.  Most printers
  358.                     used with IBM and IBM compatible computers support
  359.                     one of these standards.
  360.  
  361.  
  362.  
  363.           Attention users of MS-DOS version 3.2
  364.  
  365.  
  366.           Version 3.20 of MS-DOS contains a bug that can cause
  367.           unexpected results in programs that use floating-point math
  368.           (eg. PC-ECAP).
  369.  
  370.           You do not need to read any further unless your system has
  371.           ALL of the following characteristics:
  372.  
  373.               1.    You use MS-DOS version 3.20.
  374.               2.    You boot from a hard-disk drive.
  375.               3.    Your system has a math coprocessor (for instance,
  376.                     an 8087 chip).
  377.               4.    You run programs that use floating-point math
  378.                     (eg. PC-ECAP).
  379.  
  380.           For systems that satisfy all of the preceding conditions,
  381.           you may be able to eliminate floating-point math problems by
  382.           installing a small patch in DOS.  Please contact Microsoft
  383.           for complete details on this.
  384.  
  385.           Since this bug has been fixed in later versions of MS-DOS,
  386.           you may also want to consider upgrading your DOS to a more
  387.           recent version.           PC-ECAP Reference Manual                          page 6
  388.  
  389.           Before You Begin
  390.  
  391.           The very first thing that you should do before going any
  392.           further is to make a backup copy of your distribution disk.
  393.           To do this just use the DOS command DISKCOPY.  This will
  394.           work whether or not you have two floppy disk drives.  It
  395.           also doesn't matter if the diskette that you want to copy to
  396.           is formatted or not.  DISKCOPY will format it for you.
  397.  
  398.           From the DOS prompt type this:
  399.  
  400.                DISKCOPY A: B:
  401.  
  402.           You will be asked to "Insert source diskette in drive A:"
  403.           This should be your original PC-ECAP disk.  Continue to
  404.           follow the directions on the screen and you will have your
  405.           backup copy.
  406.  
  407.  
  408.           Installing PC-ECAP
  409.  
  410.           We have included an "Install" program with PC-ECAP to make
  411.           installation very easy.  The Install program will not do
  412.           anything "funny".  It will not modify your AUTOEXEC.BAT or
  413.           your CONFIG.SYS files.  What it will do is create a
  414.           subdirectory on your hard drive called "\ECAP".  Then it
  415.           will copy all the needed PC-ECAP files from your floppy
  416.           drive to that subdirectory.  If you have any PC-ECAP program
  417.           files (NOT data files) prior to version 2.0, they will be
  418.           deleted.  That's all.  It is strictly for your convenience.
  419.           The default "from" drive is the drive where INSTALL.EXE is
  420.           located and the default "to" drive is drive C:.  These may
  421.           be changed to any other drives or directories as needed.
  422.  
  423.           If you don't have a hard drive, you don't need to proceed
  424.           any further.  Skip the rest of this section and use your
  425.           backup copy as your working disk.
  426.  
  427.           To use the install program, insert your backup copy of
  428.           PC-ECAP into your floppy drive and type:
  429.  
  430.                     A:INSTALL
  431.  
  432.           Follow the directions and before you know it, you will have
  433.           PC-ECAP on your hard drive.           PC-ECAP Reference Manual                          page 7
  434.  
  435.           Quick Start
  436.  
  437.           Although there is no substitute for reading this entire
  438.           manual, I know there are those of you who can't wait to try
  439.           a new program.  So for those who like to try-first-read-
  440.           later, this will give you a taste of what PC-ECAP can do.
  441.  
  442.           Start PC-ECAP by typing:
  443.  
  444.                ECAP
  445.  
  446.           at the DOS prompt.
  447.  
  448.           From the main menu choose the "Select input file" selection.
  449.           Select EXAMPLE1.DAT as your input file.  The circuit
  450.           described by EXAMPLE1.DAT is a simple RC low-pass filter and
  451.           is shown below.
  452.  
  453.  
  454.                         1        1.59K                 2
  455.                          ------/\/\/\/\------*---------
  456.                                              |
  457.                                              |
  458.                input                      ___|___  .1uf      output
  459.                                           _______
  460.                                              |
  461.                                              |
  462.                                           0  |
  463.                          --------------------*----------
  464.  
  465.  
  466.           Now from the main menu choose "Analyze circuit".  The
  467.           analysis will begin and you will see the results as the
  468.           program progresses.  When the analysis is complete, the
  469.           results will be plotted on your display.  First you will see
  470.           a plot of Magnitude vs. Frequency.  If you press any key
  471.           other than ESC you will get a plot of Phase vs. Frequency.
  472.           Pressing any key (other than ESC) again will show you
  473.           Magnitude again.  When you are finished, press ESC to return
  474.           to the main menu.
  475.  
  476.           As I said, this is a taste - for the details read on.           PC-ECAP Reference Manual                          page 8
  477.  
  478.           Printer Configuration
  479.  
  480.           PC-ECAP supports four printer types.  To properly print on
  481.           your printer, you must configure the program for the printer
  482.           that you are using.  The "Change program settings" choice of
  483.           the main menu has an option to "Pick a printer to use".
  484.           Select your printer from the list given.  One of these types
  485.           should be a good match for your printer.  Refer to the
  486.           "Change program settings" section in the manual for more
  487.           details.  Be sure to save your choice.
  488.  
  489.           There might be times when you want to print on single sheets
  490.           of paper instead of the more common continuous forms paper.
  491.           If this is the case, you will need to use the DOS MODE
  492.           command before running PC-ECAP.
  493.  
  494.           Each time that a single page has completed printing, the
  495.           printer stops and returns an error.  Depending on the
  496.           printer, this error may be "OFF-LINE" or "OUT-OF-PAPER".  In
  497.           any case, what gets reported to the program is a "WRITE
  498.           FAULT ERROR".  PC-ECAP was unable to write to the printer.
  499.  
  500.           The DOS MODE command provides a way around this problem.
  501.           MODE will enable an "infinite retry on printer".  Which
  502.           really means - return a printer busy signal and continue
  503.           retrying until the printer accepts the output.  When this is
  504.           done, a "WRITE FAULT ERROR" will not be reported to PC-ECAP
  505.           and the program will simply wait for the next sheet of
  506.           paper.
  507.  
  508.           If your DOS version is 4.01 or less, type this before
  509.           running PC-ECAP:
  510.  
  511.                MODE LPT1:,,P
  512.  
  513.           If you are running DOS 5 or DOS 6, MODE has a slightly
  514.           different format:
  515.  
  516.                MODE LPT1: RETRY=B
  517.  
  518.           If you are printing to a printer other than LPT1, you should
  519.           change the MODE command accordingly.  See your DOS manual if
  520.           you need more help on this.
  521.  
  522.           If you need to use the MODE command you should add it to
  523.           your AUTOEXEC.BAT file.  This setup will install it
  524.           automatically.           PC-ECAP Reference Manual                          page 9
  525.  
  526.           Users of PC-ECAP versions prior to version 2.0
  527.  
  528.           Before version 2.0, all numbers were represented and stored
  529.           in BCD format.  With version 2.0, numbers are now stored in
  530.           IEEE binary format.  However, PC-ECAP can read any result
  531.           files stored in BCD.  When you access an old file you will
  532.           see the message "Converting file format . . .".  This
  533.           conversion is done "on the fly", meaning the converted file
  534.           is not saved.  To avoid this file conversion every time you
  535.           view an old file, simply rerun an analysis.
  536.  
  537.  
  538.           Accessing PC-ECAP Circuit Files in Other Directories
  539.  
  540.           If you are running DOS 3.0 or later you may easily work with
  541.           circuit files in other directories or on other drives.  To
  542.           do this you must have the directory that contains the
  543.           PC-ECAP program files listed in your PATH.  You should have
  544.           a line similar to this in your AUTOEXEC.BAT file:
  545.  
  546.                PATH=C:\ECAP
  547.  
  548.           Yours will not be EXACTLY like this one.  You may have
  549.           additional directories listed or the drive letter may be
  550.           different.  The important thing is that the PC-ECAP drive
  551.           and directory be part of the PATH.  You may want to refer to
  552.           your DOS manual if you need more information on this.
  553.  
  554.           Once your PATH is set up, DOS will know where to find
  555.           PC-ECAP no matter where you are.  And under DOS 3.0 or
  556.           later, PC-ECAP will know where to find any additional files
  557.           it needs to run.
  558.  
  559.  
  560.           Memory Requirements
  561.  
  562.           As of PC-ECAP version 2.1, you can analyze circuits with up
  563.           90 nodes.  Older versions of the program had a limit of 40
  564.           nodes.  Analysis of a 90 node circuit requires that you have
  565.           450K bytes of free memory.  That is, memory left after you
  566.           load any memory resident programs.  If you don't have this
  567.           much memory available, don't worry.  You will just be
  568.           limited to circuits having fewer nodes.  If you have less
  569.           than 450K free, PC-ECAP will give you its estimate of the
  570.           largest circuit that you may analyze on program start up.
  571.           Keep in mind that this is an estimate and therefore it is
  572.           not exact.  Therefore, if you are told that you have enough
  573.           memory to analyze circuits with up 57 nodes, and you have a
  574.           circuit with 58, give it a try.  It may very well work.
  575.  
  576.           Also please note, that since node numbers start at 0, the
  577.           highest possible node number is 89.           PC-ECAP Reference Manual                          page 10
  578.  
  579.           PC-ECAP can also use upper memory blocks (UMB's) for its
  580.           memory needs.  You must be running DOS 5 or greater and have
  581.           a line similar to the following in your CONFIG.SYS file:
  582.  
  583.                DOS=UMB
  584.  
  585.           You can check on UMB availability with the DOS MEM command.
  586.           Typing "MEM /C" will list the conventional and upper memory
  587.           in your system.  If no upper memory is listed, either your
  588.           hardware doesn't support UMB's or your system is not set up
  589.           properly.  See your DOS manual if you need help with this.
  590.           PC-ECAP will try to use any free upper memory listed.
  591.  
  592.           The estimate given at program startup will not take into
  593.           account any UMB's.  These blocks can be highly fragmented,
  594.           so it is not possible to know if they are large enough to
  595.           use until they are needed.
  596.  
  597.  
  598.           Network / Multi-User Operation
  599.  
  600.           PC-ECAP has built-in support to run on a local area network.
  601.           Your network must support DOS file-sharing (added with DOS
  602.           version 3.0).  When running on a network, multiple users may
  603.           share circuit description and analysis result files.
  604.  
  605.           PC-ECAP imposes two main restrictions when accessing files
  606.           on a network.  If a file is being edited, no one else may
  607.           run an analysis on it.  If a circuit is being analyzed, no
  608.           one may view or output the results until the analysis is
  609.           complete.  In general, individual file access at any one
  610.           time is restricted to operations that make sense.  For
  611.           example, a circuit whose analysis is only partially complete
  612.           can't be viewed.  Of course you may do any operation you
  613.           choose if you are the only person using a particular file.
  614.  
  615.           If you attempt to access a file that is already in use,
  616.           PC-ECAP will display the message, "File is currently being
  617.           used by someone else".  You may wait until that file is
  618.           available or you may choose to work on a different file.
  619.  
  620.           You should also be aware that PC-ECAP maintains a single
  621.           configuration file.  So if you change some of the program
  622.           settings, and then write these changes to disk, the next
  623.           person on the network to run the program will get these new
  624.           settings.           PC-ECAP Reference Manual                          page 11
  625.  
  626.           Getting Started
  627.  
  628.           PC-ECAP is started by typing the following command at the
  629.           DOS prompt:
  630.  
  631.                     ECAP   [ options ]
  632.  
  633.           The optional command line switches are used to manually set
  634.           the video mode.  Since PC-ECAP is usually able to do this
  635.           automatically, these options should not be needed by 99% of
  636.           computers.  They are covered separately in Appendix A.  If
  637.           you have trouble seeing the main menu after the opening
  638.           screen, please refer to this appendix.
  639.  
  640.           When PC-ECAP is started, you will first see the main menu.
  641.           The program has been designed to be very easy to use, and
  642.           the menu system plays an important part in reaching this
  643.           goal.  All menu choices may be selected in either one of two
  644.           ways.  First, a selection may be made by typing the first
  645.           letter of an item.  These are highlighted so they stand out.
  646.           Selection may also be made by using the cursor keys (up
  647.           arrow, down arrow, home and end) to highlight a choice.
  648.           When "ENTER" is pressed the selection is made.  The program
  649.           will do its best to logically anticipate your next choice.
  650.           For example, after editing a circuit description and
  651.           returning to the main menu, the choice "Analyze circuit"
  652.           will be highlighted - assuming that after editing, you most
  653.           likely will want to analyze your circuit.
  654.  
  655.           MAIN MENU Descriptions
  656.  
  657.           Select input file
  658.  
  659.                This selection will display an alphabetically sorted
  660.                list of all the circuit description files in your
  661.                current directory.  Use the cursor keys to select a
  662.                file to use.  If you see "more . . ." displayed at the
  663.                beginning or end of the list, this means that there are
  664.                additional files on another page.  You can use the PgUp
  665.                or PgDn keys in addition to the up arrow, down arrow,
  666.                left arrow, right arrow, home and end keys to view
  667.                them.  Once your choice is highlighted just press ENTER
  668.                to select it.
  669.  
  670.                PC-ECAP also has a "Speed Search" feature.  To use it,
  671.                type the first letter of the file that you want to
  672.                select, followed by enough letters to uniquely specify
  673.                it.  In most cases all it takes is 2 or 3 letters.
  674.                Your desired file will be highlighted.  Press ENTER to
  675.                select it.           PC-ECAP Reference Manual                          page 12
  676.  
  677.                If you want to select a file that is not listed (for
  678.                example - a new circuit description that you want to
  679.                input) press F2.  A window will appear asking for the
  680.                filename.  Type the filename and press ENTER.  All
  681.                filenames should be eight characters or less in length.
  682.                If you type in more than eight, only the first eight
  683.                will be accepted.  A file extension is optional, if it
  684.                is omitted the extension ".DAT" will be appended to the
  685.                filename.  If a filename has an extension other than
  686.                ".DAT", the ".DAT" extension will be substituted in its
  687.                place.
  688.  
  689.                You can delete a highlighted file by pressing F3.  When
  690.                you do so, a window will appear asking, "Delete File?".
  691.                Answer "Yes" to delete.  "No" or ESC will abort the
  692.                operation.
  693.  
  694.           If at any time you want to abort the current operation,
  695.           pressing the ESC key will return you one level up in the
  696.           program.
  697.  
  698.           Edit input file
  699.  
  700.                This starts the built-in full screen editor.  The file
  701.                that you want to edit must be selected first.  If no
  702.                file is selected, you will be sent to the "Select input
  703.                file" screen and then returned to the editor.
  704.  
  705.                The editor is very straight forward to use, just type
  706.                each line followed by the ENTER key.  When in the
  707.                editor these keys have special meaning:
  708.  
  709.                Right Arrow  - move one character to the right.
  710.  
  711.                Left Arrow   - move one character to the left.
  712.  
  713.                Home         - move to the beginning of the line.
  714.  
  715.                End          - move to the end of the line.
  716.  
  717.                Up Arrow     - move one line up.
  718.  
  719.                Down Arrow   - move one line down.
  720.  
  721.                Ctrl Home    - move to the beginning of the file.
  722.  
  723.                Ctrl End     - move to the end of the file.
  724.  
  725.                PgDn         - move 20 lines down.
  726.  
  727.                PgUp         - move 20 lines up.
  728.  
  729.                Del          - will delete the character directly above
  730.                               the cursor.           PC-ECAP Reference Manual                          page 13
  731.  
  732.                Backspace    - will delete the character to the left of
  733.                               the cursor.
  734.  
  735.                Ins          - will toggle between the insert and
  736.                               replace modes.  In the insert mode the
  737.                               cursor will change to a block cursor and
  738.                               any characters typed will be inserted
  739.                               between any characters already on the
  740.                               screen.  When in replace mode, any
  741.                               characters typed will type over those on
  742.                               the screen.
  743.  
  744.                In addition to these special keys, five function keys
  745.                have special meaning.  Press them alone or in
  746.                combination with the "Alt" key to access the following
  747.                features.
  748.  
  749.                F1 Help
  750.  
  751.                     One of the features that has been added to make
  752.                     PC-ECAP easy to use is the on-line help.  When F1
  753.                     is pressed a window will appear containing useful
  754.                     information on items such as circuit element
  755.                     description formats, analysis range and sweep
  756.                     type, value types and examples.  You can move
  757.                     through these with the PgUp and PgDn keys.  When
  758.                     you are ready to continue editing, pressing F1
  759.                     again or the ESC key will close the window and let
  760.                     you edit.
  761.  
  762.                F2 Model Maker
  763.  
  764.                     The model maker allows you to more accurately
  765.                     model bipolar transistors.  The transistor model
  766.                     used is the Hybrid-Pi model.  Despite its
  767.                     simplicity, this model gives quite good results
  768.                     for analysis up to about one half of the
  769.                     transistor's cutoff frequency (Ft).
  770.  
  771.                     When the model maker is activated, a window will
  772.                     appear.  You will first be asked for the node
  773.                     numbers of the transistor.  Enter these pressing
  774.                     the ENTER key after each entry for base, emitter,
  775.                     and collector.  You next have to answer four
  776.                     questions.  You will be asked (and need to know)
  777.                     the following:
  778.                     
  779.                     Transistor DC collector current - hopefully you
  780.                     will know this.  If not, try your best guess.           PC-ECAP Reference Manual                          page 14
  781.  
  782.                     Transistor current gain or Beta - since the gain
  783.                     of bipolar transistors varies with collector
  784.                     current, the number that you enter here should be
  785.                     at the collector current specified above for best
  786.                     results.  Usually it is available in the data
  787.                     sheet for the transistor.
  788.  
  789.                     Transistor Gain-Bandwidth product (Ft) - this also
  790.                     should be at the collector current entered above
  791.                     (check the data sheet).
  792.  
  793.                     Transistor common base output capacitance - this
  794.                     is just the base to collector capacitance.
  795.                     Usually it is listed as Cobo in the transistor
  796.                     data.  (Which means output capacitance common base
  797.                     with the emitter open).
  798.  
  799.                     After all the information is entered, the window
  800.                     will close and components for the model will be
  801.                     inserted into your circuit description after the
  802.                     current cursor line.
  803.  
  804.                F3 Insert Line
  805.  
  806.                     Pressing F3 will insert a blank line above the
  807.                     current cursor line and move the cursor line and
  808.                     all lines below it down.
  809.  
  810.                F4 Delete Line
  811.  
  812.                     Pressing F4 will delete the current cursor line
  813.                     and move all lines below it up.  The deleted line
  814.                     will be placed in the cut buffer and can be pasted
  815.                     if desired.
  816.  
  817.                F5 Find Component
  818.  
  819.                     The Find Component feature is useful to find
  820.                     circuit elements in your circuit description file.
  821.                     Just press F5, enter the element to be found, and
  822.                     the line containing the element will be
  823.                     highlighted with the cursor positioned there.  If
  824.                     the element does not exist, a "Component not
  825.                     found" message will appear.
  826.  
  827.                Alt-F1 Net List
  828.  
  829.                     This feature can make it easier to track down
  830.                     errors in your circuit description.  The Net List
  831.                     is a node by node list of all the circuit elements
  832.                     that make up your description.  By comparing the
  833.                     connections in this list to your circuit's
  834.                     schematic, you can verify that your circuit is
  835.                     described properly.           PC-ECAP Reference Manual                          page 15
  836.  
  837.                     When the Net List is selected, you will be asked
  838.                     whether you want your list sent to the screen or
  839.                     to a defined printer.  If you select screen, a
  840.                     window will appear listing your circuit's nodes
  841.                     and their attached components.  Use the cursor
  842.                     keys to move through this list.  To close this
  843.                     window and return to editing, just press ESC.
  844.  
  845.                Alt-F2 Rename File
  846.  
  847.                     You may change the name of a circuit description
  848.                     file by selecting "Rename File".  A window will
  849.                     appear asking for your new file name.  Type the
  850.                     new name and press ENTER.  ESC will close the
  851.                     window and leave the existing file name unchanged.
  852.                     When you rename and save a file, the old named
  853.                     file will still exist.  This is useful if you have
  854.                     a circuit that is very similar to an existing
  855.                     circuit description.  You can modify the existing
  856.                     description and save it under a new name. If you
  857.                     want to delete the old named file, you can do so
  858.                     from the "Select input file" menu.
  859.  
  860.                Alt-F3 Paste Line
  861.  
  862.                     This option will insert a line saved in the cut
  863.                     buffer above the current cursor line and move the
  864.                     cursor line and all lines below it down.
  865.  
  866.                Alt-F4 Copy Line
  867.  
  868.                     Will copy the current line into the cut buffer.
  869.                     Used with the Paste Line feature above.
  870.  
  871.                Alt-F5 Find Next
  872.  
  873.                     This will find the next component meeting your
  874.                     search criteria as specified under "Find
  875.                     Component".  If you have asked for a unique
  876.                     component, you won't be able to find a "next".
  877.                     This option is most useful when you want to find
  878.                     all occurrences of a part, such as all capacitors
  879.                     or all resistors, etc.
  880.  
  881.                Leaving The Editor
  882.  
  883.                When you are finished with your editing, press the ESC
  884.                key.  If you have made any changes to the file, a
  885.                window will pop up and ask, "Save Changes?".
  886.                Answer "Y" to save all changes, or "N" to ignore all
  887.                changes.  An ESC will cancel the exit, if you have
  888.                changed your mind.           PC-ECAP Reference Manual                          page 16
  889.  
  890.           Analyze circuit
  891.  
  892.                This choice will begin the actual analysis of the
  893.                circuit selected.  If a file containing the circuit
  894.                description has not been selected, you will first be
  895.                sent to the "Select input file" screen and then
  896.                returned to begin analysis.
  897.  
  898.                PC-ECAP will subject your circuit to a 1 volt signal at
  899.                the selected input node and then calculate the desired
  900.                response at the selected output node.  The input signal
  901.                is from an ideal voltage source and therefore it can
  902.                drive any impedance.  Any output node selected will not
  903.                be loaded by PC-ECAP.
  904.  
  905.                This analysis is repeated for each of the frequency
  906.                points within the specified input range.  The number of
  907.                points is determined by the "Change the number of
  908.                sample points" option under the "Change program
  909.                settings" choice of the main menu.  Its use will be
  910.                fully explained under that heading.  If you are doing
  911.                an AC analysis, PC-ECAP will display magnitude and
  912.                phase results as the analysis progresses.  For a
  913.                transient analysis the individual points are not
  914.                available until the analysis is complete.  The results
  915.                of the analysis are also saved in a disk file.  The
  916.                file will have the same name as the circuit description
  917.                file but will have a file extension of ".OUT".           PC-ECAP Reference Manual                          page 17
  918.  
  919.           Plotting results
  920.  
  921.           When the analysis is finished, the results will be plotted
  922.           on your display.  For all display adapters other than VGA,
  923.           PC-ECAP will use the highest resolution that your display
  924.           adapter supports.  VGA adapters will be run in EGA mode (640
  925.           x 350).  The resolution used will be as follows:
  926.  
  927.                          CGA          640 x 200
  928.  
  929.                          EGA          640 x 350    enhanced display
  930.  
  931.                                       640 x 350    monochrome display
  932.  
  933.                                       640 x 200    color display
  934.  
  935.                          Hercules     720 x 348
  936.  
  937.                          VGA          640 x 350    monochrome or color
  938.  
  939.                          MCGA         640 x 480    monochrome or color
  940.  
  941.                          AT&T         640 x 400   
  942.  
  943.                          MDA          80 x 25
  944.  
  945.           When viewing the graphs on most display adapters you have
  946.           the options "Zoom", "Print", "Full" and ESC.  The MDA only
  947.           has "Print" and ESC.
  948.  
  949.           "Zoom" allows you to enlarge an area of a graph.  Press the
  950.           'Z' to display two vertical bars with an attached bottom.
  951.           You may continue to press 'Z' to narrow the bars.  The
  952.           number of times this is possible depends on the number of
  953.           sample point you have selected for this analysis.  When the
  954.           bars are at their narrowest, they encompass 35 sample
  955.           points.  When you have the bars at the desired width, you
  956.           can position them horizontally by pressing the Right arrow,
  957.           Left arrow, Home or End keys.  When the bars are where you
  958.           want them, press ENTER to zoom up on the area selected.
  959.  
  960.           When zooming, you may also use the Up arrow and Down arrow
  961.           keys to position the bottom dashed line.  Moving this bar
  962.           sets a minimum vertical scale for your graph.  This can be
  963.           very useful to help view small variations in amplitude.
  964.  
  965.           You may press 'F' at any time for a "Full" screen display of
  966.           your graph.  This simply presents the graph as it was
  967.           originally displayed.
  968.  
  969.           You may also press 'P' at any time to get a hard copy print
  970.           out of just your graphs.  The printout will be Zoomed if the
  971.           graph is Zoomed on your display.  All graphs for your
  972.           analysis will be printed.
  973.  
  974.           Pressing ESC will return you to the main menu.  Any other
  975.           key will cycle through the various plots.           PC-ECAP Reference Manual                          page 18
  976.  
  977.           View output data
  978.  
  979.                This selection allows you to view the results of
  980.                circuits that have been previously analyzed.  The
  981.                results will be listed in tabular form on the display.
  982.                You can use the cursor keys to move through them.  The
  983.                cursor keys that are active under this selection are
  984.                the following:
  985.  
  986.                     Up Arrow     - scroll up one line.
  987.  
  988.                     Down Arrow   - scroll down one line.
  989.  
  990.                     PgUp         - scroll up 19 lines.
  991.  
  992.                     PgDn         - scroll down 19 lines.
  993.  
  994.                     Home         - display the first 19 lines.
  995.  
  996.                     End          - display the last 19 lines.
  997.  
  998.                The analysis results can also be plotted on the display
  999.                by pressing the F1 function key.  Plotting works the
  1000.                same way as described in the "Analyze circuit" section.
  1001.                Pressing any key except 'Z', 'F', 'P' or ESC will cycle
  1002.                through the various plots.  Pressing ESC will return
  1003.                you to the tabular listing of the data. Press ESC again
  1004.                to return to the main menu.
  1005.  
  1006.           Output to printer
  1007.  
  1008.                PC-ECAP will normally send the results of an
  1009.                analysis to a printer selected under the "Change
  1010.                program settings" option.  If desired, the results can
  1011.                instead be sent to a disk file for printing later.  The
  1012.                file will have a filename that is the same as the file
  1013.                selected, but with a file extension of ".PRN".
  1014.  
  1015.                Partial output listing
  1016.  
  1017.                This choice will output a listing of the circuit
  1018.                description at the time of analysis and high resolution
  1019.                plots of the results.
  1020.  
  1021.                Full output listing
  1022.  
  1023.                Choosing this option will output a listing of
  1024.                the circuit description at the time of analysis, a
  1025.                tabular listing of the analysis results, and high
  1026.                resolution plots of these results.
  1027.  
  1028.                For printed output it is necessary to have a printer
  1029.                that is compatible with IBM/Epson, HP LaserJet or HP
  1030.                DeskJet printers.  Most printers used with IBM
  1031.                compatible computers support one of these standards,           PC-ECAP Reference Manual                          page 19
  1032.  
  1033.                although in a few cases it may be necessary to select
  1034.                the proper mode by means of a switch on the printer.
  1035.                Be sure you have configured PC-ECAP for your particular
  1036.                printer type.  This is done under the "Change program
  1037.                settings" option of the main menu.  (see next section
  1038.                for details).
  1039.  
  1040.           Change program settings
  1041.  
  1042.                PC-ECAP allows you to configure certain aspects of its
  1043.                operation.  The configuration information is saved in a
  1044.                disk file that is read every time the program is run.
  1045.                The name of this file is "PC-ECAP.CFG".  If this file
  1046.                is not present it will be created.  This should only be
  1047.                necessary the very first time you run PC-ECAP.  The
  1048.                file will have as defaults: 70 sample points for
  1049.                analysis, LPT1 selected as the output destination, and
  1050.                an IBM/Epson 9 pin printer selected as your printer
  1051.                type.  Any of these may be changed by means of this
  1052.                menu.
  1053.  
  1054.                Change number of sample points
  1055.  
  1056.                When an analysis is performed, the desired range is
  1057.                divided into a number of sample points.  The number of
  1058.                points may be set to 35, 70, 140, 280 or 560.  It
  1059.                should be noted that you must obviously make a choice
  1060.                between the high analysis resolution provided by
  1061.                selecting 560 sample points and the faster
  1062.                computational speed offered by selecting 35 points.
  1063.                The number of points you select really depends on the
  1064.                circuits that you analyze.  I have found that for most
  1065.                circuits 70 sample points works quite well.  You should
  1066.                increase the number of points if you have a circuit
  1067.                that has abrupt changes in its response.  You may also
  1068.                need to increase the number of points if you analyze
  1069.                circuits over a very wide frequency or time range.
  1070.  
  1071.                Select output destination
  1072.  
  1073.                The output from PC-ECAP can be sent to a printer
  1074.                designated as LPT1, LPT2, or LPT3.  Alternately output
  1075.                may be sent to a disk file for later printing.  For
  1076.                printed output, select the port that you have your
  1077.                printer attached to (normally this will be LPT1).
  1078.  
  1079.                Pick a printer to use
  1080.  
  1081.                PC-ECAP supports four different printer types.  One of
  1082.                these types should be a good match for just about any
  1083.                printer.  The supported printer types are: IBM/Epson 9
  1084.                pin, HP LaserJet (or HP DeskJet), Epson 24 pin and IBM
  1085.                24 pin.  Just choose the type that matches your
  1086.                printer.  Since some printers can emulate more than one
  1087.                type, be sure that your printer and PC-ECAP are both           PC-ECAP Reference Manual                          page 20
  1088.  
  1089.                configured for the same printer type.  After you make
  1090.                your selection, it is important that you "Write changes
  1091.                to disk" (see next choice).  If you don't save your
  1092.                printer configuration, PC-ECAP will not be setup
  1093.                properly the next time you use it.  This only needs to
  1094.                be done once.
  1095.  
  1096.                If you have an HP DeskJet printer, you should select HP
  1097.                LaserJet as your printer type.
  1098.  
  1099.                HP LaserJet or HP DeskJet users have an additional
  1100.                choice after the printer type is selected.  You will be
  1101.                asked "2 graphs on page?".  In almost all cases you
  1102.                should answer "Yes" to this question.  If you have an
  1103.                HP DeskJet, you MUST answer "Yes".  If you answer "No"
  1104.                and have an HP LaserJet, graphs will print in landscape
  1105.                mode (sideways).  This option was added mainly to
  1106.                support older HP LaserJet series I printers.  These
  1107.                printers don't have enough memory to print two graphs
  1108.                on a single sheet of paper.  The option to print in
  1109.                landscape mode may be occasionally useful to users of
  1110.                newer HP LaserJet printers.  But since graphic
  1111.                resolution is the same for either choice, most people
  1112.                will favor using less paper over full page graphs.
  1113.  
  1114.                Some printers allow you to manually set a particular
  1115.                font, pitch or mode.  DO NOT DO THIS.  On most printers
  1116.                this will override any printer commands that your
  1117.                computer may send, and PC-ECAP's printed output will
  1118.                not print properly.  If you have a problem with printed
  1119.                output, insure that your printer is in "Pgm" mode.
  1120.                When in "program" mode, your printer will follow your
  1121.                program's commands, and your printed output will appear
  1122.                as intended.
  1123.  
  1124.                Write changes to disk
  1125.  
  1126.                This selection will write any changes in configuration
  1127.                to the "PC-ECAP.CFG" file.  Select this option to make
  1128.                the changes you have made carry over to the next
  1129.                session of PC-ECAP.  If the changes are not written to
  1130.                disk, they will be in effect only for your current
  1131.                session.
  1132.  
  1133.                Return to main menu
  1134.  
  1135.                Returns you to the main menu.
  1136.  
  1137.           Quit this program
  1138.  
  1139.                Ends your current session with PC-ECAP and returns you
  1140.                to DOS.           PC-ECAP Reference Manual                          page 21
  1141.  
  1142.           Analyzing a Circuit Using PC-ECAP
  1143.  
  1144.           The first step in analyzing any circuit is to draw the
  1145.           circuit on a piece of paper.  Next number all the nodes in
  1146.           the circuit.  A node is any connection of 2 or more
  1147.           components.  Node numbers must be non-negative integers.
  1148.           There are two rules that you must follow when numbering
  1149.           nodes, first ground or the common connection between input
  1150.           and output must always be designated as node number 0.
  1151.           Secondly, although the nodes may be numbered in any order,
  1152.           none may be skipped.
  1153.  
  1154.           PC-ECAP has a limit of 90 nodes and can handle up to 1000
  1155.           components.  Some components count as more than one circuit
  1156.           element.  You can use the following as a guide;
  1157.  
  1158.  
  1159.                Resistors, Capacitors, Inductors, Transmission
  1160.                lines, Fet's and Transconductance amplifiers
  1161.                each count as one circuit element.
  1162.  
  1163.                OpAmps and Bipolar transistors count as two.
  1164.  
  1165.                Transformers count as four.
  1166.  
  1167.  
  1168.           So it is possible to have fewer than 1000 components in your
  1169.           circuit and still exceed this limit.  Although, in practice,
  1170.           it is highly unlikely that you will reach this limit.           PC-ECAP Reference Manual                          page 22
  1171.  
  1172.           Input Format
  1173.  
  1174.           The input format of a PC-ECAP circuit description is easy to
  1175.           learn and remember.  Fields describing a component are of
  1176.           the free format type and are simply separated by spaces.
  1177.           Circuit element names should begin with a letter designating
  1178.           the type of circuit element and may optionally be followed
  1179.           by up to 14 additional alphanumeric characters.
  1180.  
  1181.           Values used to describe a circuit element may be integer
  1182.           (100), floating point (1000.45), either an integer or
  1183.           floating point number followed by an integer exponent
  1184.           (1E-3, 4.7E6) or either an integer or floating point number
  1185.           followed by one of the following scale factors:
  1186.  
  1187.                P=1E-12   N=1E-9    U=1E-6    M=1E-3    K=1E3
  1188.  
  1189.                          MEG=1E6        G=1E9
  1190.  
  1191.           Letters immediately following a number that are not scale
  1192.           factors are ignored, and letters immediately following a
  1193.           scale factor are ignored.  So 10, 10ohms and 10Hz all
  1194.           represent the same number, and u, uf and umhos all represent
  1195.           the same scale factor.  Note that 1000, 1000.0, 1000Hz, 1E3,
  1196.           1.0E3, 1K and 1KHz all represent the same number.
  1197.  
  1198.           In addition, some values may also be expressed in "European"
  1199.           format.  This format has one or more digits followed by a
  1200.           scale factor that also takes the place of a decimal point,
  1201.           followed by one or more digits.  For example, 1500 would be
  1202.           expressed as 1K5.  When values are in this format, these
  1203.           scale factors are recognized: R, K, M.  `R' is equal to a
  1204.           factor of 1.  `K' is equal to 1000, as above.  `M' is equal
  1205.           to a factor of 1E6.  Please note the difference between this
  1206.           use of `M' and `M' in the non-European format above.  When
  1207.           `M' is placed at the end of a number it multiplies the
  1208.           number by 1E-3.  But when `M' is placed between two numbers,
  1209.           the multiplication factor is 1E6.  Be careful!
  1210.  
  1211.  
  1212.                Some examples:
  1213.  
  1214.                6R8 is 6.8,    5K1 is 5100,    4M7 is 4.7 million           PC-ECAP Reference Manual                          page 23
  1215.  
  1216.           Circuit Element Description
  1217.  
  1218.           Resistors
  1219.  
  1220.                Rxxxx N1 N2 Value
  1221.  
  1222.           N1 and N2 are the two element nodes.  Value is the
  1223.           resistance in ohms.
  1224.  
  1225.           Examples:
  1226.  
  1227.                R1 1 2 100
  1228.  
  1229.                RLOAD 12 15 1K
  1230.  
  1231.           Capacitors
  1232.  
  1233.                Cxxxx N1 N2 Value
  1234.  
  1235.           N1 and N2 are the two element nodes.  Value is the
  1236.           capacitance in farads.
  1237.  
  1238.           Examples:
  1239.  
  1240.                C4 8 9 1uf
  1241.  
  1242.                COSC 2 3 22pf
  1243.  
  1244.           Inductors
  1245.  
  1246.                Lxxxx N1 N2 Value
  1247.  
  1248.           N1 and N2 are the two element nodes.  Value is the inductor
  1249.           value in henries.
  1250.  
  1251.           Examples:
  1252.  
  1253.                L3 7 0 10mh
  1254.  
  1255.                LTANK 4 5 56uh
  1256.  
  1257.           Transformers
  1258.  
  1259.                Txxxx +Pri -Pri +Sec -Sec  N
  1260.  
  1261.           +Pri and -Pri are the nodes for the transformer primary.
  1262.           +Sec and -Sec are the nodes for the transformer secondary.
  1263.           N is the turns ratio between primary and secondary (Np/Ns).
  1264.           The + and - signs denote the phasing of the windings,
  1265.           e.g. the +Pri node will be in phase with the +Sec node.
  1266.  
  1267.           Example:
  1268.  
  1269.                T1 3 0 4 5 10turns           PC-ECAP Reference Manual                          page 24
  1270.  
  1271.           Transmission Lines  (lossless)
  1272.  
  1273.                Xxxxx N1 N2 Impedance Length
  1274.  
  1275.           N1 and N2 are the two ends of the transmission line.  The
  1276.           line model used is unbalanced, so N1 and N2 are referenced
  1277.           to ground.  The line impedance is in ohms.  The Length is
  1278.           specified in meters.
  1279.  
  1280.           Example:
  1281.  
  1282.                X1 1 2 50 3
  1283.  
  1284.           Bipolar Transistors (both NPN and PNP)
  1285.  
  1286.                Bxxxx NB NE NC Beta Rbe
  1287.  
  1288.           NB, NE, and NC are the base, emitter and collector nodes
  1289.           respectively.  Beta is the Transistor current gain.  Rbe is
  1290.           the equivalent base-emitter resistance (in ohms) used in the
  1291.           Hybrid-Pi transistor model.
  1292.  
  1293.           Example:
  1294.  
  1295.                B1 9 0 11 100 1250
  1296.  
  1297.           Field Effect Transistors  (both JFETs and MOSFETs)
  1298.  
  1299.                Fxxxx NG NS ND Gm
  1300.  
  1301.           NG, NS, and ND are the gate, source, and drain nodes
  1302.           respectively.  Gm is the FET transconductance in mhos
  1303.           (Amps/Volt).
  1304.  
  1305.           Example:
  1306.  
  1307.                F2 3 4 0 2000umhos
  1308.  
  1309.           Operational Amplifiers
  1310.  
  1311.                Oxxxx N+ N- NO Gain Rout
  1312.  
  1313.           N+, N-, and NO are the non-inverting input, inverting input
  1314.           and output nodes respectively.  The opamp output is
  1315.           referenced to ground (node 0).  Gain is the open loop gain
  1316.           of the opamp, usually somewhere between 10,000 and 1 million
  1317.           times.  Rout is the open loop output resistance for the
  1318.           opamp.  Real opamps usually have an output resistance
  1319.           between 10 and 150 ohms.
  1320.  
  1321.           Example:
  1322.  
  1323.                O1 1 2 2 100k 75           PC-ECAP Reference Manual                          page 25
  1324.  
  1325.           Transconductance Amplifiers
  1326.  
  1327.                Gxxxx N+ N- NO+ NO- Gm
  1328.  
  1329.           N+ and N- are the non-inverting input and inverting input.
  1330.           NO+ and NO- are the non-inverting output and the inverting
  1331.           output.  Please note that these outputs are floating.  In
  1332.           other words the actual output is not from either output to
  1333.           ground, but is developed between the outputs.  Either output
  1334.           (but not both) may be tied to ground if a single ended
  1335.           output is desired.  Gm is the amplifier transconductance in
  1336.           mhos (Amps/Volt).  The transconductance amplifier may be
  1337.           used in its own right or it may be used to perform a voltage
  1338.           to current conversion, sometimes useful when simulating
  1339.           other devices.
  1340.  
  1341.           Example:
  1342.  
  1343.                Gxxxx 1 2 3 0 100mmhos
  1344.  
  1345.  
  1346.           A Few Words About Transconductance Amplifiers
  1347.  
  1348.           Although most people are familiar with bipolar transistors
  1349.           and operational amplifiers, not as many know about
  1350.           transconductance amplifiers.  These amplifiers are another
  1351.           variation of a dependent source.  The common bipolar
  1352.           transistor is a current controlled current source; A small
  1353.           current entering the base controls a much larger current
  1354.           flowing between the collector and emitter.  The opamp is a
  1355.           voltage controlled voltage source; A very small input
  1356.           voltage effectively controls a much larger voltage swing at
  1357.           the output.  With this said, a transconductance amplifier
  1358.           can be described as a voltage controlled current source; A
  1359.           small voltage difference between the two inputs controls a
  1360.           current flowing either into or out of the output.  In our
  1361.           case this current will flow from one output to the other.
  1362.  
  1363.  
  1364.           Valid Circuit Elements
  1365.  
  1366.           All of the lines that make up a PC-ECAP circuit description
  1367.           file must either begin with one of the previously mentioned
  1368.           elements, be blank, or be a comment.  To add a comment to
  1369.           your circuit description, begin the line with a semicolon.
  1370.           An example comment might be:
  1371.  
  1372.                ; this begins the second filter section
  1373.  
  1374.           If a line begins with something other than a circuit
  1375.           element, a blank line, or a comment, PC-ECAP will abort the
  1376.           analysis and flag the bad line.           PC-ECAP Reference Manual                          page 26
  1377.  
  1378.           Specifying AC Analysis Parameters
  1379.  
  1380.  
  1381.           Once your circuit has been described you need to determine
  1382.           how it will be analyzed.  PC-ECAP will subject your circuit
  1383.           to a 1 volt signal at the selected input node and then
  1384.           calculate the response at the selected output node.  In an
  1385.           AC analysis, the frequency of the input signal can be swept
  1386.           over the specified range in either a linear or logarithmic
  1387.           fashion.
  1388.  
  1389.           The PLOT statement is used to tell PC-ECAP which node of
  1390.           your circuit will be used for the input, which node will be
  1391.           used for the output, the frequency range that you want to
  1392.           analyze, the sweep mode (linear or logarithmic) and the
  1393.           analysis type.  PLOT should be the last statement in your
  1394.           description.
  1395.  
  1396.           This is the AC format for the PLOT statement:
  1397.  
  1398.  
  1399.             PLOT NI NO Start-freq. Stop-freq. Plot-mode Plot-type
  1400.  
  1401.  
  1402.           PLOT may optionally be abbreviated to P.  NI is the
  1403.           circuit's input node.  NO is the circuit's output node.
  1404.           Start-frequency is simply the beginning frequency for the
  1405.           analysis.  Stop-frequency is the upper frequency limit of
  1406.           the analysis.  Plot-mode specifies whether a linear or a
  1407.           logarithmic frequency sweep is to be performed.  This may be
  1408.           abbreviated to 3 letters (LIN or LOG) if desired.
  1409.  
  1410.           Plot-type may optionally be used to specify the analysis
  1411.           type.  If it is not specified, magnitude and phase will be
  1412.           calculated.  To calculate group delay, impedance, VSWR or
  1413.           return loss, you must provide this parameter.
  1414.  
  1415.  
  1416.                for:                   Plot-type is:
  1417.  
  1418.           group delay                   Delay
  1419.  
  1420.           impedance in magnitude        ZPolar
  1421.            and phase format
  1422.  
  1423.           impedance in Real and         ZRectangular
  1424.            Imaginary format
  1425.  
  1426.             VSWR                        SWR    <reference impedance>
  1427.           (voltage standing
  1428.                wave ratio)
  1429.  
  1430.           return loss                   RLoss  <reference impedance>
  1431.  
  1432.  
  1433.           Plot-type may be abbreviated to the letters that are
  1434.           capitalized.           PC-ECAP Reference Manual                          page 27
  1435.  
  1436.           Impedance, VSWR (voltage standing wave ratio) and return
  1437.           loss calculations will be done at the input node specified.
  1438.           This doesn't mean that you can't calculate an output
  1439.           impedance instead.  If your circuit's output is node 8, and
  1440.           you are interested in its output impedance, just specify
  1441.           node 8 as the input node for the PLOT statement.  You can
  1442.           look at it this way, to determine impedance, PC-ECAP must
  1443.           apply an excitation signal to your circuit.  This signal is
  1444.           always applied to the node listed as the input node for your
  1445.           circuit.
  1446.  
  1447.           For VSWR and return loss, a reference impedance must also be
  1448.           specified.  This is the impedance that your circuit is
  1449.           supposed to be matched to.  This is usually 50 or 75 ohms,
  1450.           but it may be any positive value.
  1451.  
  1452.           As an example of what we have been discussing, we might have
  1453.           a circuit where node 2 is the input and node 5 is the
  1454.           output.  The lowest frequency that we want to look at is 100
  1455.           Hz and the highest frequency is 10 KHz.  We are only
  1456.           interested in magnitude and phase vs frequency.  And we want
  1457.           to sweep this range logarithmically.
  1458.  
  1459.           This PLOT statement will specify all this:
  1460.  
  1461.                PLOT 2 5 100HZ 10KHZ LOG
  1462.  
  1463.           For another example, we have a circuit with node 1 as its
  1464.           input.  We are interested in determining the input VSWR vs
  1465.           frequency.  The input is supposed to match 50 ohms, and
  1466.           operate from 7.0 MHz to 7.3 MHz.
  1467.  
  1468.           This is the PLOT statement that will do the job:
  1469.  
  1470.                PLOT 1 5 7MEG 7.3MEG LIN SWR 50
  1471.  
  1472.           Please note that for impedance, VSWR or return loss
  1473.           calculations, the output node specified in the PLOT
  1474.           statement is unimportant.  It is ignored.
  1475.  
  1476.  
  1477.           What is Group Delay anyway?
  1478.  
  1479.           If a circuit is designed to pass all important frequencies
  1480.           with equal amplitude and have absolutely linear amplitude
  1481.           characteristics, a waveform may still pass through badly
  1482.           distorted.  The problem is delay distortion; if all
  1483.           frequency components do not pass through a circuit with the
  1484.           same time delay, the output waveform will not look the same
  1485.           as the input.  Group delay is the rate of phase shift vs
  1486.           change of frequency, and is defined as:
  1487.  
  1488.                                    1    d0
  1489.                     group delay = --- x ---  seconds
  1490.                                   360   df           PC-ECAP Reference Manual                          page 28
  1491.  
  1492.           Specifying Transient Analysis Parameters
  1493.  
  1494.           PC-ECAP also has the capability to analyze the transient
  1495.           behavior of a circuit.  This feature can give you important
  1496.           information about a circuit's response vs time.  You have a
  1497.           choice of eight different input waveforms for analysis.  In
  1498.           addition, a circuit's impulse response can also be
  1499.           calculated.
  1500.  
  1501.           As with an AC analysis, the program will subject your
  1502.           circuit to a 1 volt (peak) signal from an ideal voltage
  1503.           source.  The input waveform can be one of the following: a
  1504.           step (unit step, and two modified step functions), pulse,
  1505.           ramp, square wave, triangle wave, or sine wave.  You may
  1506.           optionally add noise to any of these waveforms.
  1507.  
  1508.           The PLOT statement is used to specify all the parameters
  1509.           needed for a transient analysis.  This is its format:
  1510.  
  1511.  
  1512.             PLOT NI NO TStart TStop TRAN Wave-Type TPeriod NOISE
  1513.  
  1514.  
  1515.           PLOT may be abbreviated to P.  NI is the circuit's input
  1516.           node.  NO is the circuit's output node.
  1517.  
  1518.           TStart is a time offset for the input waveform.  The input
  1519.           waveform will be delayed by the amount specified by TStart.
  1520.           It can be helpful to delay the rising edge of the input when
  1521.           analyzing some circuits.
  1522.  
  1523.           TStop is just the final time for the analysis.  TRAN tells
  1524.           PC-ECAP that a transient analysis is desired.
  1525.  
  1526.           Wave-Type selects the waveform at the input and should be
  1527.           one of the these:
  1528.  
  1529.  
  1530.                STEP
  1531.  
  1532.                This is a unit step.  The wave is 0 volts when time
  1533.                is less then TStart.  At TStart, the voltage goes to 1
  1534.                volt and stays there.
  1535.  
  1536.  
  1537.                STEP1  [rise-time]
  1538.  
  1539.                This is a modified step function.  It behaves like the
  1540.                STEP just discussed, but has a rise time that is shaped
  1541.                by a COSINE function.  A rise time must be specified
  1542.                for this function.  The rise time is the amount of time
  1543.                the leading edge takes to go from 20% to 80% of its
  1544.                final value.  If a rise-time is not specified or is
  1545.                zero, it will default to TStop / 8.           PC-ECAP Reference Manual                          page 29
  1546.  
  1547.                STEP2  [rise-time]
  1548.  
  1549.                This is a another modified step function.  It behaves
  1550.                like the STEP discussed before, but has a rise time
  1551.                that is shaped by a RAMP function.  A rise time must be
  1552.                specified for this function.  The rise time is the
  1553.                amount of time the leading edge takes to go from 20% to
  1554.                80% of its final value.  If a rise-time is not
  1555.                specified or is zero, it will default to TStop / 8.
  1556.  
  1557.  
  1558.                PULSE  [pulse-width]
  1559.  
  1560.                This pulse is 0 volts at any time less than TStart.  At
  1561.                TStart, it goes to 1 volt and stays there for a time
  1562.                equal to "pulse-width".  After this time (TStart +
  1563.                pulse-width) the voltage returns to 0 for the remainder
  1564.                of the analysis.  "Pulse-width" must be specified.  If
  1565.                it is not or is zero, it will default to one-half
  1566.                "TStop".
  1567.  
  1568.  
  1569.                RAMP  [pulse-width]
  1570.  
  1571.                This waveform is 0 volts for any time less than TStart.
  1572.                At TStart the voltage will linearly increase, finally
  1573.                reaching 1 volt when time is equal to TStart + pulse-
  1574.                width.  At the next time step, the voltage will
  1575.                immediately return to 0.  As with the PULSE, "Pulse-
  1576.                width" determines the width of the RAMP and must be
  1577.                specified.  If it is not or is zero, it will default to
  1578.                one-half "TStop".
  1579.  
  1580.  
  1581.                SQRW  [frequency]
  1582.  
  1583.                This will generate a square wave.  At TStart the
  1584.                voltage will jump to +1 volts.  Half way through the
  1585.                cycle, the voltage will change to -1 volts.  This cycle
  1586.                will continue forever.  The frequency is determined by
  1587.                the "Frequency" parameter which must be specified.  If
  1588.                "Frequency" is missing, it will default to 1/TStop.
  1589.  
  1590.  
  1591.                TRIW  [frequency]
  1592.  
  1593.                This will generate a triangle wave.  At TStart the
  1594.                voltage will linearly increase to +1 volts.  A quarter
  1595.                way through the cycle, the voltage will begin to ramp
  1596.                down.  When the voltage reaches -1 volts, the ramp will
  1597.                reverse and start back up to +1 volts.  This cycle will
  1598.                continue forever.  The frequency is determined by the
  1599.                "Frequency" parameter which must be specified.  If
  1600.                "Frequency" is missing, it will default to 1/TStop.           PC-ECAP Reference Manual                          page 30
  1601.  
  1602.                SINW  [frequency]
  1603.  
  1604.                This will generate a sine wave.  At TStart the voltage
  1605.                will increase to +1 volts.  A quarter way through the
  1606.                cycle, the voltage will reverse direction.  When the
  1607.                voltage reaches -1 volts, the wave will reverse and
  1608.                start back up to +1 volts.  This cycle will continue
  1609.                forever.  The frequency is determined by the
  1610.                "Frequency" parameter which must be specified.  If
  1611.                "Frequency" is missing, it will default to 1/TStop.
  1612.  
  1613.  
  1614.                IMPULSE
  1615.  
  1616.                This option will compute the impulse response for your
  1617.                circuit.  The impulse function is defined as a pulse of
  1618.                infinitely high amplitude with an infinitely short
  1619.                duration.  The area under this pulse (voltage x time)
  1620.                is equal to 1.  Although this pulse can't truly exist
  1621.                in the real world, it is nevertheless useful in some
  1622.                situations.  The impulse response always starts at time
  1623.                0.  TStart is ignored (but a value MUST still be
  1624.                supplied).
  1625.  
  1626.  
  1627.                NOISE
  1628.  
  1629.                Noise is an optional parameter that can be added to any
  1630.                of the waveforms described other then IMPULSE.  When
  1631.                present, pseudorandom noise is added to the wave
  1632.                specified.
  1633.  
  1634.  
  1635.           Computational Techniques Used in PC-ECAP Transient Analysis
  1636.  
  1637.           The method PC-ECAP uses to compute transient response is a
  1638.           bit unconventional and deserves some explanation.  It's not
  1639.           necessary to understand all of this in detail, but a basic
  1640.           understanding of the principals involved will help you get
  1641.           the most out of the program.
  1642.  
  1643.           You may have heard of something called a Fourier transform.
  1644.           This is a mathematical operation that can convert from the
  1645.           time domain (amplitude vs. time) to the frequency domain
  1646.           (amplitude vs. frequency).  With the Fourier transform you
  1647.           can take a waveform and break it down into the series of
  1648.           individual frequency components that make it up.
  1649.  
  1650.           As with most mathematical operations, there exists an
  1651.           inverse to the Fourier transform.  The Inverse Fourier
  1652.           transform can take a set of frequency components and
  1653.           construct a waveform in the time domain.  This is a very
  1654.           powerful tool.  It allows you to work in the frequency
  1655.           domain when convenient and then convert to the time domain
  1656.           only when desired.           PC-ECAP Reference Manual                          page 31
  1657.  
  1658.           PC-ECAP can easily calculate the frequency response of a
  1659.           circuit (amplitude vs. frequency).  By using an Inverse
  1660.           Fourier transform, we can calculate what is called the
  1661.           Impulse response of the circuit.  If you know the Impulse
  1662.           response of a circuit, it is possible to find the response
  1663.           to ANY other waveform by a mathematical operation called
  1664.           convolution.  This is another powerful technique and certainly
  1665.           involves a lot of underlying mathematics.
  1666.  
  1667.           So, to calculate the transient response of a circuit,
  1668.           PC-ECAP first computes the magnitude and phase at a series
  1669.           of harmonically related frequencies.  Next it performs a
  1670.           Discrete Inverse Fast Fourier Transform.  At this point we
  1671.           have the Impulse response.  In the next step, a Discrete
  1672.           Convolution is performed between the Impulse response and
  1673.           the desired waveform that was specified at the circuit's
  1674.           input.  The result is the transient response of the circuit
  1675.           to the waveform specified.
  1676.  
  1677.           It is important to realize that the accuracy of the analysis
  1678.           depends on the number of sample points chosen.  The number
  1679.           of sample points determine not only the number of points
  1680.           that you wind up with in the time domain, but they also
  1681.           determine the number of frequencies used in the Inverse FFT.
  1682.           Choosing too few sample points will impair the accuracy of
  1683.           the analysis.
  1684.  
  1685.           How few is "too few"?  That depends on your circuit.  Every
  1686.           circuit that contains at least one capacitor or inductor has
  1687.           what is called a "natural frequency".  Also sometimes called
  1688.           the "natural response".  Some circuits have many "natural
  1689.           frequencies".  These are nothing more than the various time
  1690.           constants (for RC's or RL's) or resonant frequencies (for
  1691.           LC's) in a circuit.  If you have some background in
  1692.           electronic theory, these are the poles and zero's of a
  1693.           circuit.
  1694.  
  1695.           If you pick too few sample points, the program will not use
  1696.           enough frequencies to properly characterize your circuit.
  1697.  
  1698.           The time scale you select also effects the accuracy of your
  1699.           results.  If the time scale is large compared to the natural
  1700.           frequencies of your circuit, you will have to increase the
  1701.           number of sample points used.  If the time scale is too
  1702.           small, the analysis frequencies will start above the
  1703.           circuit's natural frequency and accuracy will suffer.
  1704.  
  1705.           For the problem of picking a time scale that is too short,
  1706.           the thing to remember is the Impulse response of a circuit
  1707.           must die out to zero in the time frame specified.  This is
  1708.           important and easily determined.  If you want to check this
  1709.           condition, specify IMPULSE as your Wave-Type.  You should
  1710.           see your circuit's response go to zero sometime before the
  1711.           TStop time.  If it doesn't, you must increase TStop.           PC-ECAP Reference Manual                          page 32
  1712.  
  1713.           A circuit that has a large span of natural frequencies will
  1714.           require the most care to analyze.  For the low natural
  1715.           frequencies, the TStop time must be set large enough so the
  1716.           Impulse response dies out to zero.  At the same time, the
  1717.           number of sample points must be great enough to properly
  1718.           characterize the high natural frequencies.
  1719.  
  1720.           All this will make more sense when you actually analyze a
  1721.           few circuits.  Vary the number of sample points to see the
  1722.           effect.  Try setting the TStop time much larger than the
  1723.           lowest natural frequency in your circuit.  Try setting the
  1724.           TStop time shorter than the highest natural frequency in the
  1725.           circuit.  By trying these things you will quickly get a feel
  1726.           for their effect and understand more than you can by just
  1727.           reading.           PC-ECAP Reference Manual                          page 33
  1728.  
  1729.           An Example Please!
  1730.  
  1731.           It's about time now to look at an example circuit.  We will
  1732.           analyze a simple RC low-pass filter.  The circuit is shown
  1733.           below.
  1734.  
  1735.  
  1736.                         1        1.59K                 2
  1737.                          ------/\/\/\/\------*---------
  1738.                                              |
  1739.                                              |
  1740.                input                      ___|___  .1uf      output
  1741.                                           _______
  1742.                                              |
  1743.                                              |
  1744.                                           0  |
  1745.                          --------------------*----------
  1746.  
  1747.  
  1748.           This circuit has 3 nodes and they have been numbered.
  1749.           Notice that we have numbered the common node between the
  1750.           input and the output as node 0.  This is required.
  1751.  
  1752.           The next thing to do is to describe the circuit to PC-ECAP
  1753.           so that it will know just what is connected to what and the
  1754.           component values associated with each part.  The next two
  1755.           lines will completely describe this circuit:
  1756.  
  1757.                R 1 2 1.59K
  1758.                C 2 0 .1UF
  1759.  
  1760.           The first line says to PC-ECAP that a resistor is connected
  1761.           between nodes 1 and 2 and has a value of 1.59K (notice that
  1762.           you don't have to enter 1590 for the resistor value, PC-ECAP
  1763.           understands what "K" means).
  1764.  
  1765.           The second line reads "a capacitor is connected between
  1766.           nodes 2 and 0 and has a value of .1uf".  Now all we have to
  1767.           tell PC-ECAP is where we want to put the input signal, where
  1768.           we want to look for the output and what frequency range we
  1769.           want to cover.  This is done with the PLOT statement.  For
  1770.           this circuit we want node 1 to be our input and node 2 to be
  1771.           our output.  Also we want to sweep the input frequency from
  1772.           100Hz to 10KHz in a logarithmic fashion.  The next line will
  1773.           tell PC-ECAP all this.
  1774.  
  1775.                PLOT 1 2 100 10KHZ LOG
  1776.  
  1777.           On your distribution disk (or in the archive file if you got
  1778.           this program from a BBS) you will find EXAMPLE1.DAT.  This
  1779.           file contains the circuit description for this circuit.           PC-ECAP Reference Manual                          page 34
  1780.  
  1781.           If you haven't started PC-ECAP yet do so now.  From the
  1782.           main menu choose the "Select input file" selection.  Select
  1783.           EXAMPLE1.DAT as your input file.  Next from the main menu
  1784.           choose "Edit input file".  The editor will load EXAMPLE1.DAT
  1785.           and you will see the following:
  1786.  
  1787.  
  1788.           ; Example1.dat - RC low-pass filter with a cutoff frequency
  1789.           ;                 of 1 KHz.
  1790.  
  1791.           R 1 2 1.59k
  1792.           C 2 0 .1UF
  1793.           PLOT 1 2 100 10KHZ LOG
  1794.  
  1795.           This circuit description tells PC-ECAP all that it needs to
  1796.           know about this circuit and how you want to analyze it.
  1797.  
  1798.           Press ESC to get back to the main menu and now choose
  1799.           "Analyze circuit".  The analysis will begin and you will see
  1800.           the results as the program progresses.  When the analysis is
  1801.           complete, the results will be plotted on your display.
  1802.           First you will see a plot of Magnitude vs. Frequency.  If
  1803.           you press any key other than ESC you will get a plot of
  1804.           Phase vs. Frequency.  Pressing any key (other than ESC)
  1805.           again will show you Magnitude again.  If you have an EGA
  1806.           with 256K of memory or a Hercules or VGA card, both pages of
  1807.           graphics memory will be used and the change from Phase to
  1808.           Magnitude and back will be instantaneous.
  1809.  
  1810.  
  1811.           An Example of Transient Analysis
  1812.  
  1813.           EXAMPLE2.DAT is the same circuit as EXAMPLE1.DAT.  But this
  1814.           time we're going to run a transient analysis.  We'll pick a
  1815.           Stop time of 3 ms and a 1.5 ms Pulse for the input.  The
  1816.           input pulse will be delayed .1 ms to show the leading edge
  1817.           better.  This is the circuit listing:
  1818.  
  1819.           ; Example2.dat - RC low-pass filter with cutoff frequency of
  1820.           ;   1 KHz.  This example shows how to analyze a circuit's
  1821.           ;   transient response.
  1822.  
  1823.           R 1 2 1.59K
  1824.           C 2 0 .1UF
  1825.           PLOT 1 2 .1MS 3MS TRAN PULSE 1.5MS
  1826.  
  1827.           That's all there is to it.  Select EXAMPLE2.DAT and run an
  1828.           analysis on it.  Try varying the Stop time or the Pulse
  1829.           width.           PC-ECAP Reference Manual                          page 35
  1830.  
  1831.           Another Example
  1832.  
  1833.           We have included a few other sample circuits with PC-ECAP.
  1834.           EXAMPLE3.DAT is a 75 ohm high-pass filter that can be used
  1835.           to reject television interference.  EXAMPLE4.DAT is a
  1836.           band-pass filter for use as a modem receive filter.  This
  1837.           example shows how group delay is calculated.  EXAMPLE6.DAT
  1838.           is an LC low-pass filer for which input impedance is
  1839.           calculated.  EXAMPLE7.DAT is an example of the calculation
  1840.           of return loss.  EXAMPLE8.DAT is an LC band-pass filter for
  1841.           which VSWR is calculated.  EXAMPLE9.DAT is an LC low-pass
  1842.           filter with a Square wave as input (for another example of
  1843.           transient analysis).  If you'd like, take a look at them and
  1844.           run an analysis.  You may want to draw them on a piece of
  1845.           paper first to really see what you are doing.           PC-ECAP Reference Manual                          page 36
  1846.  
  1847.           For our last example we're going to take a look at
  1848.           EXAMPLE5.DAT.  This circuit is a single stage transistor
  1849.           amplifier made with a 2N3904 NPN transistor.  We will
  1850.           demonstrate the use of the "Model Maker" that is part of the
  1851.           full screen editor.  Here's the circuit:
  1852.  
  1853.  
  1854.                                                    +10 volts
  1855.                                              0  |
  1856.                                                 \   R4
  1857.                                                 /   470 ohms
  1858.                                                 \
  1859.                                                 /
  1860.                                        R3       |
  1861.                                       8.2K      |  3
  1862.                                   +--\/\/\/\----*---------
  1863.                                   |             |         output
  1864.                                   |            /
  1865.                         R1        |         | /
  1866.               1        270 ohms   |   2     |/       2N3904
  1867.                 -------/\/\/\/\---*---------|
  1868.                                   |         |\
  1869.           input              R2   \         | \
  1870.                             1.2K  /           _\/
  1871.                                   \             |
  1872.                                   /             |
  1873.                                   |   0         |
  1874.                 ------------------*-------------*---------
  1875.  
  1876.  
  1877.  
  1878.           As you can see the first thing you need to do is to number
  1879.           the nodes.  Please take a look at the top of R4.  This end
  1880.           of the resistor connects to the +10 supply voltage but we
  1881.           have numbered it as node 0.  This is an important point.
  1882.           Any node that has a DC voltage connection should always be
  1883.           connected to ground.  For the sake of an AC analysis, any DC
  1884.           voltage source is the same thing as ground.
  1885.  
  1886.           Now that we have numbered the nodes, we can describe the
  1887.           circuit:
  1888.  
  1889.                R1 1 2 270
  1890.                R2 2 0 1.2K
  1891.                R3 2 3 8.2K
  1892.                R4 3 0 470
  1893.  
  1894.           Alright, now we are ready for the NPN transistor.  The
  1895.           transistor that we are using is a 2N3904.  We could use a
  1896.           simple one line description for this transistor, but that
  1897.           wouldn't show what happens to the transistor at high
  1898.           frequencies.  What we need is a more sophisticated
  1899.           transistor model.  One that will change its characteristics
  1900.           as the frequency changes like a real transistor.           PC-ECAP Reference Manual                          page 37
  1901.  
  1902.           PC-ECAP has the capability to create just such a model.  But
  1903.           first you need to know some information about the transistor
  1904.           that you want to model.  This is what is required:
  1905.  
  1906.  
  1907.           DC collector current -
  1908.  
  1909.                          For this circuit about 10 milli-amps flows
  1910.                          from the collector to emitter.
  1911.  
  1912.           Transistor current gain -
  1913.  
  1914.                          At 10 ma. this is a minimum of 100.  This is
  1915.                          the same as Beta (the current gain at DC).
  1916.  
  1917.           Transistor Gain-bandwidth product -
  1918.  
  1919.                          For the 2N3904 with a collector current of 10
  1920.                          ma. this is 300 MHz minimum.  This is also
  1921.                          known as Ft.
  1922.  
  1923.           Common base output capacitance -
  1924.  
  1925.                          This is just the capacitance from the base to
  1926.                          the collector.  For the 2N3904 it is 4 pf
  1927.                          maximum.
  1928.  
  1929.  
  1930.           Now that we have the required information we can make a
  1931.           transistor model.  Please note that it doesn't matter for an
  1932.           AC analysis whether the transistor is NPN or PNP.
  1933.  
  1934.           From the editor press F2.  This will start the Model Maker
  1935.           function.  A window will appear and ask first for the node
  1936.           numbers for base, emitter and collector.  You would just
  1937.           enter 2, 0, and 3.  Then you will be asked for the
  1938.           information mentioned above.  After answering all the
  1939.           questions your model will be created and inserted into your
  1940.           circuit description on the line following the cursor.
  1941.  
  1942.           For this circuit we might want to know just how good a
  1943.           frequency response we have, so let's sweep a frequency range
  1944.           of 1 KHz to 100 MHz.  And let's do it logarithmically.  With
  1945.           node 1 as the input and node 3 as the output, this line
  1946.           should make PC-ECAP do what we want:
  1947.  
  1948.                     P 1 3 1KHZ 100MEG LOG
  1949.  
  1950.           As you might notice, PLOT can be abbreviated to P.
  1951.  
  1952.           That's all there is to it.  Run an analysis and see what
  1953.           kind of amplifier we have.  You should also try changing
  1954.           some component values to see what happens.  What happens if
  1955.           you decrease R1?  Or increase it?           PC-ECAP Reference Manual                          page 38
  1956.  
  1957.           Models
  1958.  
  1959.           The circuit models that PC-ECAP uses for Transformers,
  1960.           Bipolar transistors, FET's, Operational Amplifiers, and
  1961.           Transconductance Amplifiers are ideal models.  If you
  1962.           desire, you can easily create models that are more complex.
  1963.  
  1964.           For Bipolar transistors if your need a better model just use
  1965.           the "Model Maker" feature in the editor.  As previously
  1966.           discussed, a Hybrid-Pi transistor model will be created and
  1967.           inserted into your circuit description.
  1968.  
  1969.           For the transformer, the addition of two inductors will make
  1970.           a transformer that is quite "real".  You can add an inductor
  1971.           in parallel with the primary to model the transformer's
  1972.           magnetizing inductance.  This inductor should be equal to
  1973.           the transformer's primary inductance.  The transformer's
  1974.           manufacturer can supply the inductor value for this or you
  1975.           can measure it yourself (the secondary should be open for
  1976.           this test).  A second inductor can be added in series with
  1977.           the primary winding (and the inductor paralleling the
  1978.           primary).  This inductor will model the transformer's
  1979.           "leakage" inductance.  This inductance is due to the
  1980.           magnetic field that does not couple the primary and
  1981.           secondary windings.  Again, the transformer's manufacturer
  1982.           can supply this or you can measure it (measure the primary
  1983.           inductance as before, but this time short out the
  1984.           secondary).  By adding these two inductors, you will create
  1985.           a transformer that has a finite bandwidth.  The parallel
  1986.           inductor affects the low frequencies and the series inductor
  1987.           will affect the high frequencies.
  1988.  
  1989.           For FET's, the addition of a capacitor to model the gate to
  1990.           source capacitance and a second one to model the gate to
  1991.           drain capacitance will improve accuracy at high frequencies.
  1992.           You can get the appropriate values from your transistor's
  1993.           data sheet.  Also the Siliconix Low Power Discretes data
  1994.           book is an excellent source for more information on this.
  1995.  
  1996.           For FET's:     Cgs = Ciss - Cgd = Ciss - Crss
  1997.  
  1998.                          Cgd = Crss
  1999.  
  2000.           Operational Amplifiers today are usually frequency
  2001.           compensated internally.  Most of the time a method called
  2002.           "dominant pole compensation" is used.  This method inserts a
  2003.           pole in the opamp's frequency response at a very low
  2004.           frequency.  This pole will dominate the response (hence the
  2005.           name) and roll off at a 20 db/decade rate.  The opamp model
  2006.           that PC-ECAP uses is not frequency dependent.  The open-loop
  2007.           gain that you ask for is the gain that you will get for all
  2008.           frequencies.  It's not that difficult to make an opamp model
  2009.           that will decrease its gain as frequency increases.  Such a
  2010.           model is included on your disk as OPAMPMOD.DAT.  Please take
  2011.           a look at it.           PC-ECAP Reference Manual                          page 39
  2012.  
  2013.           References for Modeling
  2014.  
  2015.           Although we have tried to give you some useful information
  2016.           to use for modeling circuit elements, a full treatment of
  2017.           the subject is beyond the scope of this manual.  For those
  2018.           of you who are interested, a good college library should
  2019.           have several books that might help.  Two references that may
  2020.           be more readily available for many people are:
  2021.  
  2022.           "National Semiconductor Linear Applications Handbook" from
  2023.  
  2024.           National Semiconductor Corporation
  2025.           2900 Semiconductor Drive
  2026.           Santa Clara, CA 95052-8090
  2027.  
  2028.           This handbook has an excellent paper entitled "The
  2029.           Monolithic Operational Amplifier: A Tutorial Study".  This
  2030.           paper tells you just about everything that you would want to
  2031.           know about the inner workings of opamps.
  2032.  
  2033.           A good reference for FET's in general is:
  2034.  
  2035.           "Siliconix Low Power Discretes Data Book" by
  2036.  
  2037.           Siliconix Incorporated
  2038.           2201 Laurelwood Rd.
  2039.           Santa Clara, CA 95054-1516
  2040.  
  2041.           They have several interesting application notes on the use
  2042.           of FET's.
  2043.  
  2044.  
  2045.           Parting Comments
  2046.  
  2047.           A considerable amount of time and effort was expended to
  2048.           develop PC-ECAP.  We sincerely hope that you feel it was all
  2049.           worth it.  We want you to know that we don't intend to stop
  2050.           here.  We have even more ideas for enhancements we would
  2051.           like to add in future releases.  But it is you that will
  2052.           make it possible.  By registering your copy of PC-ECAP, you
  2053.           will help make the possible into reality.  Thanks for your
  2054.           support.           PC-ECAP Reference Manual                          page 40
  2055.  
  2056.           Revision History
  2057.  
  2058.           Version 3.00 - 11/01/93
  2059.           Added Transient analysis calculations.  Added transmission
  2060.           lines as circuit elements.  Added zoom and print features to
  2061.           plot screen.  Added support for HP DeskJets.  Improved
  2062.           support for HP LaserJet Series I.  Now displays more digits
  2063.           of frequency when plotting narrow band high frequency
  2064.           graphs.  Analysis routine is now 40-100% faster.
  2065.  
  2066.           Version 2.10a - 8/18/93 In certain rare situations, graphs
  2067.           would autoscale improperly. Fixed.
  2068.  
  2069.           Version 2.10 - 11/09/92
  2070.           Now handles circuits with up to 90 nodes.  Added option to
  2071.           print only circuit description and graphs.  Negative
  2072.           inductor values are now accepted.  Changed listing format
  2073.           for frequencies of 10 GHz and above.  Added network (LAN)
  2074.           support.  Fixed "border flash" when switching from graphics
  2075.           to text mode on some CGA cards.  Added table of contents to
  2076.           manual.
  2077.  
  2078.           Version 2.01 - 2/03/92
  2079.           Improved syntax checking on the circuit description files.
  2080.           More input errors are spotted and flagged.
  2081.  
  2082.           Version 2.00 - 10/14/91
  2083.           Added group delay, impedance, VSWR and return loss
  2084.           calculations.  Now has full support for 24 pin printers.
  2085.           Now supports HP LaserJet.  Editor has been enhanced.
  2086.           Analysis routine is now twice as fast as previous versions.
  2087.           Added AT&T and MCGA support.  Added support for a math
  2088.           coprocessor.  European format for element values now
  2089.           accepted.  Improved error checking on circuit description
  2090.           files.  International time and date on printouts now
  2091.           supported.  Numbers are now stored in IEEE binary format.
  2092.           No longer supports "non-compatible" video.  Now requires
  2093.           384K of system memory.
  2094.  
  2095.           Version 1.11 - 11/23/90
  2096.           Added the filename to the headers and plot sheet of the
  2097.           printout.  Negative resistance values are now accepted.
  2098.           Fixed bug in hard copy plotting routine - plot would display
  2099.           spurious points if the plot exceeded the maximum range.
  2100.           Fixed bug in analysis routine; Occasionally, a circuit with
  2101.           a very wide range of reactive component values could create
  2102.           an internal numeric overflow.
  2103.  
  2104.           Version 1.10 - 9/14/90
  2105.           Added the option of 35 sample points to the select number of
  2106.           sample points menu.  Greatly increased the number of plot
  2107.           ranges available when displaying results.  Magnitude now
  2108.           spans .1 db/div to 80 db/div and Phase now spans 22.5
  2109.           degrees/div to 720 degrees/div.
  2110.  
  2111.           Version 1.02 - 1/30/90
  2112.           First release widely distributed.           PC-ECAP Reference Manual                          page 41
  2113.  
  2114.                         Appendix A - Command Line Switches
  2115.  
  2116.  
  2117.           PC-ECAP will automatically determine the type of video
  2118.           display adapter that your computer uses and will set itself
  2119.           accordingly.  There are a few situations where it is not
  2120.           possible to accurately determine the adapter type.  For
  2121.           example, if a monochrome monitor is used with a CGA card,
  2122.           the program has no way of knowing that.  Also, there are
  2123.           some advanced EGA cards that will change their display mode
  2124.           to match a given program.  Since PC-ECAP is trying to change
  2125.           its mode to match the video adapter, there can be no
  2126.           guarantee as to what you will actually wind up with.
  2127.  
  2128.           In order to accommodate these situations (as well as others
  2129.           that may be unforeseen at this time) PC-ECAP has a series of
  2130.           optional command line switches that can be used to set the
  2131.           video display mode.
  2132.  
  2133.           To start PC-ECAP with a command line option, type this at
  2134.           the DOS prompt:
  2135.  
  2136.  
  2137.                     ECAP    [ option ]
  2138.  
  2139.  
  2140.           Where "option" is one of the following:
  2141.  
  2142.  
  2143.                /H        Hercules Monochrome Graphics card (or
  2144.                          compatible).
  2145.  
  2146.                /C        Color/Graphics Adapter with color monitor.
  2147.  
  2148.                /CM       Color/Graphics Adapter with monochrome
  2149.                          monitor.  For use with Compaq monochrome
  2150.                          display or computers having LCD displays.
  2151.  
  2152.                /E        Enhanced Graphics Adapter with EGA monitor.
  2153.  
  2154.                /EC       Enhanced Graphics Adapter with CGA monitor.
  2155.  
  2156.                /EM       Enhanced Graphics Adapter with monochrome
  2157.                          monitor.
  2158.  
  2159.                /MC       Multi-Color Graphics Array.
  2160.  
  2161.                /M        Monochrome Display Adapter.
  2162.  
  2163.                /A        AT&T or Olivetti video adapter with color
  2164.                          monitor.
  2165.  
  2166.                /AM       AT&T or Olivetti video adapter with
  2167.                          monochrome monitor.  May also be useful for
  2168.                          some Laptop computers.           PC-ECAP Reference Manual                          page 42
  2169.  
  2170.                            Appendix B - Error Messages
  2171.  
  2172.  
  2173.           ABORT -- Bad circuit description
  2174.  
  2175.                The PLOT statement must be the last line of your
  2176.                circuit description.  You have entered additional
  2177.                circuit elements after the PLOT statement.  Move these.
  2178.  
  2179.  
  2180.           ABORT -- Blinking nodes have been skipped
  2181.  
  2182.                You have skipped over one or more nodes in your circuit
  2183.                description.  Node numbers must begin at 0, and be
  2184.                numbered consecutively.
  2185.  
  2186.  
  2187.           ABORT -- Blinking nodes have less than two components
  2188.  
  2189.                Your circuit description has one or more "dangling"
  2190.                components.  All nodes (other than the input) must have
  2191.                at least two components attached.
  2192.  
  2193.  
  2194.           ABORT -- Insufficient memory for operation
  2195.  
  2196.                PC-ECAP makes extensive use of dynamic memory.  That
  2197.                is, memory that it allocates only when needed.
  2198.                Although this makes for very efficient memory usage,
  2199.                peak memory requirements can not be known up front.
  2200.                Your only choice here is to do without the feature
  2201.                that gave you this error or get more RAM memory for
  2202.                your computer.  PC-ECAP can use Upper Memory Blocks
  2203.                (UMB's) if you have DOS 5 or greater.  Be sure you
  2204.                have UMB support enabled.
  2205.  
  2206.  
  2207.           ABORT -- Invalid circuit element
  2208.  
  2209.                You have an unknown circuit element in your circuit
  2210.                description file.  Valid lines must be either blank,
  2211.                begin with a semicolon ";" (if a comment), or begin
  2212.                with one of the letters of a circuit element.
  2213.  
  2214.  
  2215.           ABORT -- Invalid node number
  2216.  
  2217.                You have a circuit element that has one or more node
  2218.                numbers that is not an integer, is negative or is
  2219.                greater than 89.           PC-ECAP Reference Manual                          page 43
  2220.  
  2221.           ABORT -- Invalid reference impedance
  2222.  
  2223.                You have asked to compute the VSWR or return loss for a
  2224.                circuit, but have not specified an impedance to
  2225.                reference these calculations to.  Or your impedance is
  2226.                negative or zero.  Must be a positive value.
  2227.  
  2228.  
  2229.           ABORT -- Too many circuit nodes
  2230.  
  2231.                You have 1 or more circuit nodes with a number greater
  2232.                than 89, either because you actually have a circuit
  2233.                with more than 90 nodes or you have made a typo and
  2234.                have inadvertently skipped some.
  2235.  
  2236.  
  2237.           ABORT -- Too many circuit elements
  2238.  
  2239.                You have exceeded the limit of 1000 circuit elements.
  2240.                R, C, L, Transmission lines, Fet's and Transconductance
  2241.                amplifiers each count as one circuit element.  OpAmps
  2242.                and Bipolar transistors count as two.  Transformers
  2243.                count as four.
  2244.  
  2245.  
  2246.           ABORT -- Too many transmission lines
  2247.  
  2248.                You have more than 64 transmission lines in your
  2249.                circuit.
  2250.  
  2251.  
  2252.           ABORT -- Unknown parameter specified
  2253.  
  2254.                You have listed a parameter that is unrecognized and
  2255.                unexpected.  Recheck the syntax of the line displayed.
  2256.  
  2257.  
  2258.           ABORT -- Unknown sweep type
  2259.  
  2260.                You have specified a sweep type that is something other
  2261.                than LINear, LOGarithmic or TRANsient (may be
  2262.                abbreviated to the letters shown capitalized).
  2263.  
  2264.  
  2265.           ABORT -- Wave type not specified
  2266.  
  2267.                You have asked for a transient analysis, but have
  2268.                omitted the type of waveform to be used as input.           PC-ECAP Reference Manual                          page 44
  2269.  
  2270.           CAUTION! Conflicting transistor parameters supplied
  2271.  
  2272.                The data that you have entered for your transistor
  2273.                doesn't make any sense.  For example - you may have
  2274.                said that your transistor has a very high cutoff
  2275.                frequency and then specified a huge base to collector
  2276.                capacitance.  Or you may have specified a very low
  2277.                collector current and a high cutoff frequency.  Things
  2278.                that contradict each other.  Recheck your data and
  2279.                change if necessary.
  2280.  
  2281.  
  2282.           ECAPHERC.DRV is not found
  2283.  
  2284.                You have a Hercules or Hercules compatible graphics
  2285.                card, and the required driver ECAPHERC.DRV is missing.
  2286.                This driver is needed to display text when PC-ECAP is
  2287.                in graphics mode.  If you have DOS version 3.0 or
  2288.                greater, PC-ECAP will look for this file in the same
  2289.                directory that contains ECAP.EXE.  This may be
  2290.                different than the directory that contains your circuit
  2291.                files.  Otherwise, ECAP.EXE and ECAPHERC.DRV should be
  2292.                in the current directory.
  2293.  
  2294.  
  2295.           File is currently being used by someone else
  2296.  
  2297.                You can get this message when you are running PC-ECAP
  2298.                on a network or multi-user system and you attempt to
  2299.                access a file that is already in use.  Wait until the
  2300.                file is available or pick a different file.
  2301.  
  2302.  
  2303.           Floating point math error -
  2304.  
  2305.                It should not be possible to get this error.  If it has
  2306.                occurred, please send us a complete description of what
  2307.                you did to get it, so that we may look into the
  2308.                problem.
  2309.  
  2310.  
  2311.           Input File Size Limit Reached
  2312.  
  2313.                PC-ECAP allocates a 500 line buffer for its editor.
  2314.                Your circuit description file has exceeded this amount.
  2315.                The only way this should happen is if you have filled
  2316.                your circuit description file with comments or other
  2317.                nonessential information.  Remove the extra data.
  2318.  
  2319.  
  2320.           Insufficient disk space
  2321.  
  2322.                Well, what can we say, your disk is full.  Delete those
  2323.                files that you really don't need or get a bigger disk.           PC-ECAP Reference Manual                          page 45
  2324.  
  2325.           LPT1, LPT2 or LPT3 is not ready
  2326.  
  2327.                You requested PC-ECAP to print something but your
  2328.                printer isn't ready.  Check to see that your printer's
  2329.                power is turned on.  Also check to see if your
  2330.                printer's cable is connected.  You will also get this
  2331.                message if you try to print on a printer that does not
  2332.                exist.
  2333.  
  2334.  
  2335.           No files found.  Enter name of new file.
  2336.  
  2337.                When you tried to select an input file, PC-ECAP didn't
  2338.                find any that had the extension ".DAT".  If you
  2339.                actually believe that there should be circuit
  2340.                description files in you current directory, quit
  2341.                PC-ECAP and check to see if you are in the correct
  2342.                directory.
  2343.  
  2344.  
  2345.           Not enough space for . . .
  2346.  
  2347.                You are out of memory and PC-ECAP is unable to load.
  2348.                Remove any TSR programs from memory or get more memory
  2349.                for your computer.
  2350.  
  2351.  
  2352.           Please create this file or select another
  2353.  
  2354.                You have asked for an analysis of a circuit that does
  2355.                not exist.  Use the text editor to create a circuit
  2356.                description file for your circuit.
  2357.  
  2358.  
  2359.           Please run an analysis or select another
  2360.  
  2361.                You have asked to see the results of a circuit that you
  2362.                haven't analyzed yet.  Run an analysis.
  2363.  
  2364.  
  2365.           Unable to delete "filename"
  2366.  
  2367.                You tried to delete a file that was most likely marked
  2368.                as Read Only.  Check to see if this is the case and
  2369.                change the file's attribute if necessary.
  2370.  
  2371.  
  2372.           You have enough memory to analyze circuits with
  2373.                up to ## nodes.
  2374.  
  2375.                If your computer has less than 500K of free memory
  2376.                available, you will see this message when you start
  2377.                PC-ECAP.  The program is giving an estimate of the
  2378.                maximum circuit size you can analyze based on the
  2379.                amount of memory in your system.           PC-ECAP Reference Manual                          page 46
  2380.  
  2381.           Your copy of PC-ECAP has been damaged!
  2382.  
  2383.                Someone or something (another program perhaps) has
  2384.                changed your copy of ECAP.EXE.  PC-ECAP checks itself
  2385.                every time it runs and this check has failed.
  2386.                Reinstall the program.           PC-ECAP Reference Manual                          page 47
  2387.  
  2388.                                    Appendix C
  2389.                     PC-ECAP to Lotus 1-2-3 file conversion
  2390.  
  2391.  
  2392.           Included with the REGISTERED version of PC-ECAP is the
  2393.           utility program ECAP2WKS.  This program can be used to
  2394.           convert PC-ECAP ".OUT" files into Lotus 1-2-3 compatible
  2395.           spreadsheets.  This can be very useful if you want to do
  2396.           additional operations on your data, such as normalizing
  2397.           circuit gain at a particular frequency or plotting several
  2398.           quantities on the same graph.
  2399.  
  2400.           These PC-ECAP spreadsheets can be used with just about all
  2401.           of the popular spreadsheet programs such as Lotus 1-2-3,
  2402.           Quattro Pro, Microsoft Excel and the excellent shareware
  2403.           program AS-EASY-AS.
  2404.  
  2405.           To convert a file just type:
  2406.  
  2407.  
  2408.                ECAP2WKS  filename.out
  2409.  
  2410.  
  2411.           Filename.out should of course be the name of the PC-ECAP
  2412.           file that you want to convert.  If you don't specify a file
  2413.           extension, ".OUT" will be assumed.  As an option, you can
  2414.           also specify the name of the converted ".WKS" file.  To do
  2415.           this, just add its name after "filename.out".  The ".WKS"
  2416.           file extension is optional:
  2417.  
  2418.  
  2419.                ECAP2WKS  filename.out   filename.wks
  2420.  
  2421.  
  2422.           ECAP2WKS will accept wildcards.  For example, to convert all
  2423.           files beginning with "BAND", such as "BAND_ONE", "BAND_TWO",
  2424.           etc., type:
  2425.  
  2426.  
  2427.                ECAP2WKS  band*.out
  2428.  
  2429.  
  2430.           And finally, you may also specify full drive and path
  2431.           specifications along with the filenames.  For example:
  2432.  
  2433.  
  2434.                ECAP2WKS  D:\ecap\lowpass.out  C:\lotus\123files\
  2435.  
  2436.  
  2437.           will convert "LOWPASS.OUT" to "LOWPASS.WKS" and place it in
  2438.           the \LOTUS\123FILES subdirectory on drive C:.
  2439.  
  2440.           ECAP2WKS checks to see if the file specified is really a
  2441.           PC-ECAP ".OUT" file before attempting a conversion. 
  2442.