home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / tech / maxfltr1 / res.hlp < prev    next >
Text File  |  1988-02-22  |  4KB  |  107 lines

  1.  
  2.                         SUBPROGRAM RP
  3.  
  4. This program helps to apply Maxim's resistor programmed filter
  5. products (MAX265/266). Program input is given in response to prompts
  6. relating to :
  7.  
  8.          Filter shape ( lowpass, highpass etc. )
  9.          Center frequency or corner frequency
  10.          Frequency of zero
  11.          Q
  12.          Mode
  13.  
  14. There are several filter operating modes: Mode 1, 2, 3, 3A etc.These determine
  15. the way the external resistors are used to perform the filter functions.
  16. The MAX265/266 data sheet can be consulted for help in choosing the
  17. appropriate mode.
  18.  
  19. The program calculates a set of resistors; however the set is not
  20. unique. Other values would work as well provided the ratios between them
  21. are preserved. Note however that the filter output swing may be limited for
  22. resistive loads below 10Kohm while resistor values excessively large may
  23. result in poor noise performance.
  24. ***
  25.                    CLOCK / CENTER FREQUENCY RATIO
  26.  
  27. This ratio is set digitally in the MAX265/266. The available ratios in these
  28. two parts are:
  29.  
  30.            MAX265       Approximately 100-200
  31.            MAX266       Approximately 41-140
  32.  
  33. Depending on the filter operating mode, these ranges may be extended with
  34. the external resistors and the information describing modes should be
  35. consulted.
  36. ***
  37.                          ERROR CORRECTION
  38.  
  39. In all switched capacitor circuits, sampling errors cause the actual
  40. center frequencies and Q's to differ from the ideal values given by design
  41. texts or tables. Such errors are largest with low selected Q's and low
  42. clock/center frequency ratios. However they are a predictable function of
  43. Q and clock/center frequency ratio.
  44.  
  45. This program is unique in that it takes these sampling errors into account.
  46. Just as a marksman aims high when using a rifle which he knows tends to
  47. shoot low, the program RP pre-compensates the output data so that the final
  48. result is on target. The corrections will be evident in the printed output
  49. when compared with "ideal" values from other design sources which do not
  50. assume a sampled system.
  51. ***
  52.                      GAIN OF NOTCH FILTERS IN MODE 3A
  53.  
  54. When the program requires information to set the gain of notch filters it
  55. asks questions relating to:
  56.  
  57.     The frequency at which the gain is to be set ( DC or high frequency )
  58.     The gain which is to be given priority ( low freq, high freq, center freq )
  59.  
  60. Without further complicating the problem a simple rule to follow in answering
  61. these questions is to set gain at zero Hertz or DC and to set the low frequency
  62. gain as the priority. If this is done for ALL the second order sections of a
  63. multi-section filter then the correct overall gain will be achieved. ( An
  64. equally correct solution results from setting the gain at half the clock
  65. frequency and giving the high frequency gain priority, provided this is done
  66. for all stages. )
  67. ***
  68.                      GAIN OF BANDPASS FILTERS
  69.  
  70. When a bandpass filter composed of two or more second order sections is
  71. designed, the gain of the overall filter at the design center frequency needs
  72. careful consideration and these programs will provide aid in arriving at the
  73. proper gain.
  74.  
  75. Suppose a bandpass filter with a center frequency of 1000 Hz is made with two
  76. second order sections with the following characteristics:
  77.  
  78.        Section 1: center frequeny = 771 Hz, gain at 771 Hz = 1.0 V/V
  79.        Section 2: center frequency=1296 Hz, gain at 1296 Hz = 2.0 V/V
  80.  
  81. The assumption that the overall filter has a gain of 2, ( that is 2 times 1 )
  82. is incorrect since the overall gain is measured at 1000 Hz. A corrective factor
  83. is needed to calculate the proper gain at 1000 Hz and it is given in the output
  84. of program PZ when the specifications of the individual sections are
  85. calculated. This factor is called the GAF or "Gain adjustment factor".
  86. Suppose that PZ gave a value for the GAF of 2.92. Then the proper value for
  87. the gain of the above system would be:
  88.  
  89.       Gain at 1000 Hz = 1.0 * 2.0 / 2.92  =  0.685 V/V
  90. ***
  91.                            PROGRAM OUTPUT
  92.  
  93. After all the data has been entered the program calculates the resistors
  94. and the results appear on the screen. There is an opportunity to print the
  95. data if a printer is attached. The same data is automatically sent to disk
  96. files:
  97.  
  98.         First design in file RP1.R
  99.         Second design in file RP2.R etc.
  100.  
  101. ***
  102.  
  103.  
  104.  
  105.  
  106.  
  107.