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

  1.  
  2.  
  3.                       SUBPROGRAM MPP
  4.  
  5. This program helps apply Maxim's uP and pin-programmable filter
  6. products (MAX260-MAX264). PZ can be used to first define a filter function
  7. and to separate it into its second- and first-order components. MPP will
  8. then implement the sections either one at a time or in pairs. For filters
  9. requiring several pole pairs the program can be run repeatedly.
  10.  
  11. Responding to prompts, the user enters the center frequency, Q and either the
  12. clock frequency or clock/center frequency ratio.
  13.  
  14. Available modes are 1, 2, 3, 3A and 4.
  15.  
  16. ***
  17. Allowed parameter ranges are roughly as follows:
  18.  
  19. For Mode 1,3 and 4:     Q = .45 to 90
  20.  
  21. For Mode 2:             Q = .63 to 127
  22.  
  23. For Mode 1,3 and 4: clock ratio = 100-200 ( MAX260, MAX261, MAX263 )
  24.                                 = 41-140  ( MAX262, MAX264 )
  25. For Mode 2:         clock ratio = 71-141  ( MAX260, MAX261, MAX263 )
  26.                                 = 28-100  ( MAX262, MAX264 )
  27. ***
  28.                          ERROR CORRECTION
  29.  
  30. In all switched capacitor circuits a small sampling error causes the actual
  31. center frequencies and Q's to differ from the ideal values given by design
  32. texts or tables. Such errors are a predictable function of Q, clock/center
  33. frequency ratios and are largest with low selected Q's and low clock/center
  34. frequency ratios.
  35.  
  36. This program is unique in that it takes these sampling errors into account.
  37. Just as a marksman aims high when using a rifle which he knows tends to
  38. shoot low, the program pre-compensates the output data so that the final
  39. result is on target. The corrections will be evident in the printed output
  40. when compared with "ideal" values from other design sources which do not
  41. assume a sampled system.
  42. ***
  43.  
  44.                      ERRORS RELATING TO QUANTIZATION
  45.  
  46. When clock frequency is specified and the program selects the clock ratio
  47. there may be an error in final center frequency due to the 6-bit resolution
  48. of the clock ratio. This error can be taken out by a small change in the clock
  49. frequency if that is possible.
  50.  
  51. When the user defines the clock ratio, then the program will find the
  52. closest quantized value and calculate a clock frequency, which will result
  53. in zero error in center frequency.
  54. ***
  55.  
  56.                       POWER-DOWN FUNCTION
  57.  
  58.  
  59. The MAX 260/261/262 parts are microprocessor programmable and the A and B sides
  60. can have independent digital settings for Q and clock ratio. In the case of
  61. the pin programmable MAX 263/264 the Q and clock ratio of the two
  62. sections must be the same. The special code 0000000 for Q is used for a
  63. power-down function in all of these parts, so special care must be taken
  64. in not using it to set Q. In the case of microprocessor parts MAX 260/261/262
  65. this restriction applies only to side A, where the power-down function takes
  66. place. In side B the 0000000 code does result in a valid Q value.
  67. ***
  68.                      GAIN OF NOTCH FILTERS IN MODE 3A
  69.  
  70. When the program requires information to set the gain of notch filters it
  71. asks a question relating to:
  72.  
  73.     The frequency at which the gain is to be set ( DC or high frequency )
  74.  
  75. Without further complicating the problem a simple rule to follow in answering
  76. this question is to set gain at zero Hertz or DC. If this is done for ALL
  77. the second order sections of a multi-section filter then the correct overall
  78. gain will be achieved.
  79. ***
  80.                      GAIN OF BANDPASS FILTERS
  81.  
  82. When a bandpass filter composed of two or more second order sections is
  83. designed, the gain of the overall filter at the design center frequency needs
  84. careful consideration and these programs will provide aid in arriving at the
  85. proper gain.
  86.  
  87. Suppose a bandpass filter with a center frequency of 1000 Hz is made in two
  88. second order sections with the following characteristics:
  89.  
  90.        Section 1: center frequeny = 771 Hz, gain at 771 Hz = 1.0 V/V
  91.        Section 2: center frequency=1296 Hz, gain at 1296 Hz = 2.0 V/V
  92.  
  93. The assumption that the overall filter would have a gain of 2, ( that is
  94. 2 times 1 ) would be incorrect since the overall gain is to be measured at
  95. 1000 Hz. There is a corrective factor needed to calculate the proper gain
  96. at 1000 Hz and it is given in the output of program PZ when the specifications
  97. of the individual sections are calculated. This factor is called the GAF or
  98. "Gain adjustment factor". Suppose that PZ gave a value for the GAF of 2.92.
  99. Then the proper value for the gain of the above system would be:
  100.  
  101.       Gain at 1000 Hz = 1.0 * 2.0 / 2.92  =  0.685 V/V
  102. ***
  103.                          PROGRAM OUTPUT
  104.  
  105. The output of the program is sent to the screen and an opportunity is given
  106. to send it to a printer if one is available. The results are automatically
  107. sent to files:
  108.  
  109.            First design: file MPP1.R
  110.            Second design: file MPP2.R, etc. up to 9
  111.  
  112. ***