home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / games / alpha.zip / XMODEL.SCR < prev   
Text File  |  1986-12-31  |  4KB  |  78 lines

  1.                                         Arnold B. Krueger
  2.                                         1600 Prestwick
  3.                                         Grosse Pointe Woods, MI
  4.                                         48236
  5.                                         313-881-4829 home
  6.                                         313-583-9610 business
  7.  
  8.                               October 29, 1985
  9.  
  10. Gentlemen:
  11.  
  12. Attached are the program  listings and sample output for two programs that 
  13. assist persons designing multi-way loudspeaker systems. It is assumed that 
  14. the drivers are essentially linear and minimum phase However, non-minimum 
  15. phase systems can be modelled by adding fixed and frequency-dependent delay 
  16. equations. Delay due to non-coincident mounting of driver acoustic centers 
  17. is included.  
  18.  
  19. The first program, line numbers 10-770 is named "Xover" and is the 
  20. modelling program. Crossover characteristics are defined on line 210, in 
  21. terms of corner frequency (FC) and Q (Q). This particular program is set up 
  22. for 2nd order crossovers.  Driver characteristics for the low and high 
  23. frequency drivers are defined on lines 230-240 in terms of corner frequency 
  24. and Q. This particular program is set up for 4th order drivers, that is 
  25. systems with a 2nd order roll-on and a 2nd order roll-off.  The distance of 
  26. displacement between the two drivers is set on line 260.  
  27.  
  28. This program can be enhanced to handle higher-order driver and crossover 
  29. characteristics by modifying lines 420-450. Additional orders are handled 
  30. by adding additional phase shifts, and multiplying by additional gains.
  31. The functions required for calculating these additional effects are defined 
  32. in lines 10-80. The functions are named as follows:
  33.  
  34. .e
  35.                 name            order           type         result
  36.  
  37.               FNPHLP1             1            Low Pass   phase in radians
  38.               FNPHHP1             1           High Pass   phase in radians
  39.               FNAMLP1             1            Low Pass     amplitude
  40.               FNAMHP1             1           High Pass     amplitude
  41.               FNPHLP2             2            Low Pass   phase in radians
  42.               FNPHHP2             2           High Pass   phase in radians
  43.               FNAMLP2             2            Low Pass     amplitude
  44.               FNAMHP2             2           High Pass     amplitude
  45. .e
  46.  
  47. The arguments are W (frequency of operation) WC (corner 
  48. frequency) and D (damping or 1/Q). They may be typed into the equations as 
  49. numbers or variables set elsewhere in the program.
  50.  
  51. The second program, named DRVCHR facilitates comparisons between tabulated 
  52. measured data about driver frequency response, and the results of the 
  53. equations used in the driver/crossover model, XOVER. Line 150 is user-
  54. defined descriptive text.  Line 170 contains the subscripts of the first 
  55. and last data points to be considered. Lines 180-470 are a work area for 
  56. inputting the results of the measurements.  Lines 490-500 are for inputting 
  57. the trial driver model parameters. Lines 630-640 compute driver model 
  58. frequency response and phase response, and may be extended to handle 
  59. drivers with more complex characteristics in a like manner as described for 
  60. program XOVER, above. A common requirement would be for a 4th order low 
  61. end characteristic, accomplished by adding the results or another call to 
  62. FNPHLP2 in line 630  and multiplying in the results of another call to 
  63. FNAMLP2 in line 640.  
  64.  
  65. To use this program, type the measured data in lines 180-470, and then 
  66. alter the data in lines 490-500 and rerun the program until the calculated 
  67. data most closely resembles the measured data. An error sum is calculated 
  68. and typed out at the end of the run as "Error". Try to minimize this 
  69. number. Once the desired match is obtained, transfer that information to 
  70. the XOVER program lines 230-240.  Note that the data provided in the sample 
  71. program is for a driver with a second order roll-off and probable 4th order 
  72. roll-on. This driver will never be closely matched to the model until it 
  73. is extended to the 4th order at the low end.
  74.  
  75.  
  76.  
  77.  
  78.