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