home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-2.iso / Developer / hardware / dsp / drbub / analog / pzsim.doc < prev    next >
Encoding:
Text File  |  1991-09-07  |  2.5 KB  |  66 lines

  1. This program accepts a list of pole and zero locations and
  2. then calculates the amplitude response for a set of
  3. frequencies.  Real and complex poles can be specified.
  4. However, complex poles are always assumed to occur
  5. in conjugate pairs.  Therefor, only one of a complex
  6. conjugate pole or zero entry per pair is made.  The
  7. other will automatically be created.
  8.  
  9. New and improved pzsim will accept a much broader range
  10. of frequency scaled root locations without resulting
  11. in an internal overflow.  pzsim will also now calculate
  12. phase response and step response.  A major format difference
  13. from the original program is that every line must end with
  14. a space and a semicolon (i.e., " ;").
  15.  
  16. Input Format
  17.  
  18. FS <val> [modif] ;        The starting frequency in Hz.
  19. FE <val> [modif] ;        The ending frequency in Hz.
  20. FP <val> [modif] ;        The number of partitions the
  21.                 frequency range is to be divided
  22.                 into.
  23. TS <val> [modif] ;        The starting time in seconds.
  24. TE <val> [modif] ;        The ending time in seconds.
  25. TP <val> [modif] ;        The number of points the time range
  26.                 is to be divided into.
  27. P <val> [modif] ;        The location of a pole on the real axis.
  28. Z <val> [modif] ;        The location of a zero on the real axis.
  29. PC <val_re> <val_im> [modif] ;    The complex location of a pole.
  30. ZC <val_re> <val_im> [modif] ;    The complex location of a zero.
  31. LOG ;                The output will be calculated in dB
  32.                 (attenuation).  Only applies to
  33.                 magnitude response.
  34. RADS ;                The starting, ending, and output printed
  35.                 frequencies are accepted and printed in
  36.                 radians instead of Hz.
  37. PHASE ;                Phase response is calculated and printed
  38.                 in degrees.
  39. STEP ;                The step response is calculated.  At
  40.                 present, this routine will not work with
  41.                 multiple poles at the same location.
  42.  
  43. Modifiers
  44.  
  45. All input data can be modified by a metric modifier
  46. or an exponential power.  The modifiers are n,u,m,K,M,G,
  47. for ten to the -9,-6,-3,+3,+6,+9 powers respectively.
  48. An exponential modifier can be entered as "E +36",
  49. which is ten to the thirtysixth power.
  50.  
  51. Output
  52.  
  53. The output will be two columns of numbers: the first being the
  54. frequency in hertz, the second being the amplitude response
  55. in absolute units or attenuation in dB, phase response
  56. in degrees, or the step response.  In addition to the x-y
  57. coordinates, further information is supplied to the
  58. output for use by the "plot" program.
  59.  
  60. Multiple Inputs
  61.  
  62. Multiple sets of simulations can be executed and directed
  63. to the same plot by deliminating between input sets
  64. of information with the "#" character.
  65.  
  66.