home *** CD-ROM | disk | FTP | other *** search
/ World of Ham Radio 1997 / WOHR97_AmSoft_(1997-02-01).iso / misc / filter20 / amsoft.iii next >
Text File  |  1997-02-01  |  16KB  |  297 lines

  1.  
  2.                         Power Mountain Software Systems
  3.                                  P.O. Box 161
  4.                               Cora, Wyoming 82925
  5.  
  6.  Copyright (C) 1988,1989 by Power Mountain Software Systems all rights reserved
  7.  
  8.                 Active Filter Design Tools 2.01a Documentation
  9.                              Last revised 8/05/89
  10.  
  11.                      ------------------------------------
  12.  
  13.  
  14.  08/05/89
  15.  
  16.       We are as of this date releasing this program as Shareware.  It is NOT
  17.  freeware or public domain.  If you choose to use this product you must
  18.  register as a user.
  19.       We have sold a good number of programs in Europe, at the original $69.95
  20.  price.  Many have told us they appreciate the program and use it often in
  21.  their work and personal projects.  NO ONE HAS EVER COMPLAINED that they
  22.  thought it wasn't worth the price.  In fact all have thought this program was
  23.  a real bargain.
  24.       If we receive the support for this program it deserves, we will be able
  25.  to continue upgrading and improving this program.  $30 is a steal for a
  26.  program of this quality, and less than half the retail price.  We are bending
  27.  over backwards in an attempt to offer real value, please be worthy of the
  28.  trust we are placing in you.  All we expect is a reasonable return for the
  29.  work we have done.
  30.       The cost of advertising is high and the program is quite specialized.
  31.  For these reasons we are going to give the Shareware marketing system a try,
  32.  and pass on the advertising cost savings on to you.
  33.  
  34.  
  35.  **** NOTICE ****
  36.  
  37.  The most common difficulty noted by users of this program is in initial setup.
  38.  BE SURE TO CORRECTLY SPECIFY THE GRAPHICS CARD YOU HAVE IN YOUR SYSTEM.  If
  39.  you don't the program will run fine until it's time to do graphics drawing,
  40.  and then there will be an error reported and everything will stop.  In this
  41.  documentation you will find more information on setting up the program.
  42.  
  43.  
  44.  2/06/89
  45.  
  46.     This update (Version 2.01a) fixes a bug found in 6 pole low pass mode.
  47.  No other changes were required.  The report generator was enhanced to improve
  48.  readability.
  49.  
  50.  ** Last Minute Note!! **
  51.      
  52.      This program was designed to be used on a hard drive, but recently we 
  53.  have redesigned things somewhat, so that the program runs properly on a 360K
  54.  floppy system.  Obviously, if you must use floppy drives it's desirable to 
  55.  have 720k or larger floppies since all files will fit just fine on disks that
  56.  large, but some of us have to do the best we can with what we have....  If
  57.  requested, simply insert one of the other floppies.  Disk #1 should remain in
  58.  the default drive.
  59.      In a two drive system just put disk 1 in drive A or B and disk 2 in the 
  60.  other drive.  Just be sure to copy *.dat files to both disk 1 and 2.  Start 
  61.  the program by typing 'filter20'.
  62.      When selecting values for HQnotch filters not only are values being 
  63.  retrieved from an array, but some values are being calculated and evaluated.
  64.  This accounts for the fact that it it takes a little time to set up the next 
  65.  value.  On an AT there is no problem, but on an XT some patience is required.
  66.  
  67.                  --------------------------------------------
  68.  
  69.  ** What's New! **
  70.  
  71.      There has been a great deal of work put into this revision.  In fact, 
  72.  there has been so much done that you may be surprised that the revision 
  73.  number is only .01 higher.  The reason is that we had intended to include 
  74.  most of these features in the original release.  We ran into some technical 
  75.  difficulties that we were able to overcome, but not in time for the deadline. 
  76.  We are shipping this version to all those who ordered and received 2.0 at no 
  77.  charge. 
  78.  
  79.      Here is a quick summary of the improvements.....
  80.       
  81.         A. Now screen prints in ALL graphics modes supported.
  82.                    
  83.         B. Supports Epson AND HP LaserJet printers.
  84.  
  85.         C. Automatic standard parts values generated in ALL modes
  86.            except Butterworth Bandpass.
  87.  
  88.         D. New filter types, Including Elliptic 2 and 4 pole low pass,
  89.            State Variable notch, Biquad bandpass, and Biquad notch.
  90.  
  91.         E. Some flaws were noted and corrected.
  92.  
  93.         F. Configuration file improved to include printer type etc.
  94.  
  95.         G. Hercules support implemented.
  96.  
  97.         H. Windowed menu system implemented.
  98.  
  99.         I. Standard values are stored in ASCII text files so you can
  100.            modify them to fit your specific needs.  Look for the files
  101.            on disk 1, with a .DAT extension.  You may use up to 500
  102.            different values.  Adding more, requires you use exactly the 
  103.            same format as you see it now.  Using a simple batch file you 
  104.            could 'swap' the standard values here for what you have in 
  105.            your inventory, etc.
  106.  
  107.         J. Calculated standard values are output to a file called
  108.            "partvals.tmp" after each filter design, so that you can 'type'
  109.            the results on the DOS command line or input them to your 
  110.            favorite word processor.  The file is automatically erased
  111.            each time the program is run, so if you wish to save the 
  112.            results, rename or copy the file to a different filename.  Output
  113.            values are limited to 200 different RC pairs for each pass.  
  114.            ( It isn't likely that you could exceed 200, with sensible part 
  115.            libraries. )
  116.  
  117.         K. Size of program reduced from 4 disks (880k or so) to 2, 
  118.            (approx. 500k) speeding things up, reducing disk space used, etc.
  119.  
  120.  
  121.  ** Set-up Notes **
  122.  
  123.      Be sure you back up your program disk before doing anything else.
  124.  
  125.      If you have a hard drive simply put the contents of both disks into 
  126.  the desired directory.  Start the program by running Filter20.exe.  The other 
  127.  .exe files are files accessed by Filter20.exe. 
  128.      If you don't have a hard drive you can use floppies. Insert disk 1 into 
  129.  either drive A or B.  In a two floppy system put disk 2 into the other drive. 
  130.  In a one floppy system you will just need to swap disks often.  If you have 
  131.  1.2 Mb or larger floppies then all the files will fit on one disk. 
  132.  
  133.      The first time you run the program you will be prompted for data about 
  134.  your system.  This is all self explanitory, except the last question, which 
  135.  is whether you wish to substitute tile patterns for colors.  No, [option (2)] 
  136.  is the suggested response.  
  137.  
  138.  ** Important Notice **
  139.  
  140.      If the specific graphics mode your computer supports is not listed in the 
  141.  setup, you will not get it to run.  You must be able to use the standard 
  142.  GRAPHICS modes supported by Hercules, CGA, EGA, or VGA.  If your card 
  143.  graphics card is not capable of the mode you select in the configuration it 
  144.  will not work.  The program will halt when it tries to draw in graphics mode. 
  145.  
  146.      If you select LaserJet you will be prompted for dots/inch resolution.  
  147.  Since you are doing a screen print there is only so much resolution 
  148.  available.  Selecting 300 dots per inch will give you a small print and 75 
  149.  dots per inch will be 4 times larger.  Experiment to see what you prefer. 
  150.      If you change your system set-up then just erase Filter20.cfg from the 
  151.  directory.  The next time you run Filter20.exe the missing set-up file will 
  152.  cause the program to create a new Filter20.cfg file. 
  153.      Running Hercules graphics requires that you have only a Hercules graphics 
  154.  card in the system.  Dual card systems confuse the program.  Cards that 
  155.  support other graphics modes also cause problems. 
  156.      To start the program for Hercules, start the program using Goherc.bat.  
  157.  Type 'Goherc" at the Dos prompt. 
  158.  
  159.  ** Warning **
  160.    
  161.      This program is designed to assist the Engineer, not replace the 
  162.  Engineer.  In the final analysis the Engineer must assume the responsibility 
  163.  for any design problems.  We have taken great care to be sure that no 
  164.  problems exist, but there is always a chance we missed something.  ALWAYS 
  165.  double check design results to be sure you are satisfied they are correct. 
  166.      If you think you've found a defect in this program please notify us so we 
  167.  can take action to improve and update the quality of this software. 
  168.      Impractical designs are easy to design with this package since the 
  169.  program cannot determine what is 'reasonable'.  
  170.      GENERALLY speaking resistor values over 500k, and capacitor values under 
  171.  .001 uf are to be avoided.  But YOU decide. 
  172.      Don't forget to consider input offset currents when selecting op-amps, 
  173.  and the resistors to use in taking "+", (non-inverting) inputs to ground. 
  174.  You may need to select different values.  In low gain and noncritical 
  175.  situations the values shown should work.
  176.      Good luck, and once again let us know if you have a suggestion or think 
  177.  you have noted an error. 
  178.  
  179.                             ** COMPONENT CHOICES **
  180.  
  181.      The calculations to determine standard values take a while, especially on 
  182.  a 4.77 Mhz XT.  It will work of course but it will take a while, so don't 
  183.  presume that the system locked up!.  So don't worry this is normal.
  184.      Only the critical RC time constants are calculated in this version.  You 
  185.  will note that other resistor values require you to pick your own value.  
  186.  This is usually no big problem.
  187.      It takes longer for 1 percent accuracy calculation than for 10.  
  188.  
  189.      This program is designed to allow you to very quickly design and document 
  190.  a filter design.  A great deal of effort and research has gone into creating 
  191.  a program that will make your life easier.  However, there are hidden 
  192.  'gotchas' just waiting in the wings to ruin an otherwise excellent design. 
  193.  
  194.      Before we get into a few of these here are a few pointers:  
  195.  
  196.      One of the really nice features of this program, is the inherent ability 
  197.  to experiment with values,  until the right combination is found that meets  
  198.  your requirements.  Capacitor values should be kept below 1 uf, while 
  199.  resistor values should be kept at around 2k and above.  Juggle capacitor 
  200.  values around until you come up with the results that meet your requirements. 
  201.  Remember also that resistance values above a Megohm may not be a good idea, 
  202.  try a larger capacitor.  Some very low frequency filters require a large 
  203.  capacitor, but they're expensive and can contribute to difficulty. 
  204.      There are a great many good op-amps to choose from, and if you feel a 
  205.  little insecure about picking one for the job you're doing, I would like to 
  206.  suggest the TL071 (single), TL072 (dual), or TL074 (quad) packages.  They are 
  207.  high performance, low noise, high slew rate devices that work very very well 
  208.  in this type of circuit.  Their pin outs are industry standard, and the price 
  209.  is reasonable.  If you need extremely low power consumption the TL061 series 
  210.  has the same pin out and can be substituted.  These devices can be found in a 
  211.  Texas Instruments Linear Data Manual.  The TL061, '62, and '64 devices are 
  212.  not quite as good in critical applications however, due to the sacrifice in
  213.  slew rate for lower power consumption. 
  214.      If you have noticed there are potentiometers in the Butterworth filter  
  215.  schematics,  these can be 1/4 watt pc-mount types,  and the reason they are 
  216.  there is to make it possible to make the fine tuning adjustments  necessary 
  217.  to get the system to work.  The tuning procedure requires that you have a 
  218.  frequency generator, precision VOM, and a frequency counter.  Using the values
  219.  given, all that you need to do is to make sure that each section is tuned to 
  220.  the correct frequency,  and then to make sure with your ac voltmeter that the 
  221.  gain for that section is correct.  Start with the first section, and continue 
  222.  through to the last. 
  223.  
  224.                       ** LOW & HIGH PASS FILTER TYPES **
  225.  
  226.      When  you  run  the low pass and high pass filter design options,  you are 
  227.  asked to choose a filter type (Bessel, etc.).  You can now tailor each 
  228.  section to give you the exact characteristic you need for your application. 
  229.      These slope options are created by varying the DAMPING, of the section. 
  230.  As the damping is reduced from 2 toward 0,  the initial rolloff of the filter 
  231.  becomes steeper.  This allows higher rejection of unwanted signals than would 
  232.  otherwise be the case, but the thing that I want to bring out is trade offs 
  233.  involved. 
  234.      Changing the damping has an affect on the passband of the filter, reducing 
  235.  the damping causes ripples to occur.  Chebyshev slope options take advantage 
  236.  of this characteristic which is why they are called called slight, 1db, 2db, 
  237.  and 3db dip.  This refers to the passband ripple inherent to these filters.  
  238.  3db dip Chebyshev is as close to oscillation as you can reliably get and stll 
  239.  have a filter, instead of an oscillator.  Initial cutoff is dramatic for the 
  240.  number of poles.
  241.      Flattest amplitude Butterworth feature a flat passband.  Very desirable in 
  242.  audio applications such as bi-amplification. 
  243.      'Bessel' are the slowest to rolloff initially, 'Transitional Thompson 
  244.  Butterworth' a little faster, and so on.... 
  245.      Elliptic filters are interesting and useful since they offer zero 
  246.  transmission at specific frequencies.  State variable is shown for 2 pole 
  247.  applications since it so easy to tune.  For really critical applications a 
  248.  four pole elliptic is shown, but is not tunable per se.  Genearally a 
  249.  combination of elliptic followed by a Chebyshev filter offers the best 
  250.  performance.  This yeilds very fast initial cutoff, and at higher frequencies 
  251.  where the elliptic begins to pass the Chebyshev offers attenuation.
  252.  
  253.                             ** POTENTIAL PROBLEMS **
  254.  
  255.      This program works very well, but the results can be unrealistic.  This is 
  256.  due to the fact that no matter how rediculous your specifications are the 
  257.  program will try to come up with values.  Values that can be impossible.  In 
  258.  a case such as this a little common sense is in order. 
  259.      When you design a Butterworth bandpass filter, keep the bandwidth as wide 
  260.  as you can to get what you need accomplished.  Excessively narrow filters are 
  261.  extremely difficult to tune, the requirements for the op-amp get unreasonable,
  262.  and very often even if you get it running the ringing of the filter 
  263.  is bad enough to cause more problems than the benefits you gain.  There are 
  264.  some important physical limits that there is just no way around. 
  265.      A one hertz wide filter will take 1 second to reach approximately 90 
  266.  percent of the maximum amplitude.  The higher the Q, the closer to 
  267.  oscillation you are, and the greater the problems.  Trust me.  Keep it as 
  268.  wide as you can.  You'll be happier.  Use more poles if you need it really 
  269.  narrow, but don't cut those sidebands, 'cause you need 'em.  
  270.      There have been a great many good articles on filters in the various hobby 
  271.  electronic magazines, and of course in many good textbooks on communications,  
  272.  which can give you more information on why narrower isn't always better. 
  273.      We've tried to trap out unreasonable inputs, but .....
  274.  
  275.  
  276.                                R E M E M B E R !
  277.  
  278.      The ultimate rolloff of a filter is governed by the number of poles, only 
  279.  the initial rolloff is changed with different filter classes. 
  280.      More poles, as a general rule, is more desirable than trying to make a two 
  281.  pole filter act like a six pole. 
  282.      Components become more critical as you lower the damping resulting in 
  283.  more expensive parts requirements, passband ripple, increased opprtunity for 
  284.  oscillation, etc.  It gets a little tricky to build a practical filter.  Use 
  285.  common sense. 
  286.  
  287.  
  288.  ** THANK-YOU ** 
  289.  
  290.                                              Larry Ashworth 
  291.  
  292.                                              Power Mountain Software Systems
  293.                                              P.O. Box 161 
  294.                                              Cora, Wyoming 82925 
  295.                                              U.S.A. 
  296.  
  297.