home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / tech / design4 / steps.doc < prev    next >
Text File  |  1987-01-03  |  5KB  |  159 lines

  1.      The Phaselock programs are really general purpose feedback ì
  2. control programs. I have included a data file of a -9db/Octave ì
  3. loop filter, normalized to unity gain at 1 rad/sec.
  4.  
  5.      For a sample run, follow the steps below.
  6.  
  7.      1) Engage CAPS LOCK.
  8.      
  9.      2) Type PHASLOK.
  10.  
  11.      3) When the menu appears type A.
  12.  
  13.      4) At the prompt, type OPNLOOP.DAT. These are the frequency ì
  14. variables of a -9db/Octave loop filter normalized to unity gain ì
  15. at 1 rad/sec.
  16.  
  17.      5) When the menu reappears, type C. You will see the system ì
  18. poles and zeroes.
  19.  
  20.      6) Type N to edit prompts.
  21.  
  22.      7) Type E.
  23.  
  24.      8) Type .1# at the loop gain prompt.
  25.  
  26.      9) Type N at the plot prompt.
  27.  
  28.     10) Type .1# at the start frequency prompt.
  29.  
  30.     11) Type 2.0# at the number of decades prompt.
  31.  
  32.     12) Type .1# at the decade increment prompt.
  33.  
  34.     13) A tabulation of the open and closed loop gain and phase ì
  35. will appear. This display is usefull to adjust the loop gain for ì
  36. minimum open loop phase at the unity gain crossover frequency.
  37.      
  38.      14) Make a note of the closed loop ,-3dB frequency. A ì
  39. frequency that gives anything more than -3dB is adequate.
  40.  
  41.      15) Type N to the new gain prompt.
  42.  
  43.      16) When the menu reappears, type F.
  44.  
  45.      17) Type .1# at the loop gain prompt.
  46.  
  47.      18) Type the appropriate -3dB frequency earlier noted.
  48.  
  49.      19) The loop noise bandwidth will appear. This is useful for ì
  50. determining total carrier phase deviation.
  51.  
  52.      20) Type N at the new gain prompt.
  53.  
  54.      21) When the menu reappears, type G.è
  55.      22) Type .1# at the loop gain prompt.
  56.  
  57.      23) The transfer function, F(s) will be displayed as the     ì
  58.      ratio of two polynomials.
  59.  
  60.      24) Press any key.
  61.  
  62.      25) When the main menu reappears, type C.
  63.  
  64.      26) You will now see the closed loop frequency variable.     ì
  65.      Note that the closed loop zeroes are the same as the open ì
  66. loop zeroes.
  67.  
  68.      27) Type N at the edit prompt.
  69.  
  70.      28) When the menu reappears type H.
  71.  
  72.      29) The impulse response h (t) will be tabulated.
  73.  
  74.      30) Press any key.
  75.  
  76.      31) Type 0 for start time.
  77.  
  78.      32) Type 25 for stop time.
  79.  
  80.      33) When the annotation prompt appears type N.
  81.  
  82.      34) When the line type prompt appears type 1.
  83.  
  84.      34) Type N at the min/max prompts.
  85.  
  86.      36) Type 0 at the screen oplot prompt.
  87.  
  88.      37) The loop impulse response will be displayed.
  89.  
  90.      38) Press any key.
  91.  
  92.      39) When the menu reappears, type C.
  93.  
  94.      40) Type N at the edit zeroes prompt.
  95.  
  96.      41) Type Y at the edit poles prompt.
  97.  
  98.      42) Type A at the edit options prompt.
  99.  
  100.      43) Type 1 at the how many?  Prompt.
  101.  
  102.      44) Type 0 for the real part prompt.
  103.          Type 0 for the imaginary part prompt.
  104.          The frequency variable list now contains the step          ì
  105. response spectral function, namely, a pole at the
  106.          origin.
  107. è     45) When the menu reappears, type C to inspect the new       ì
  108.    frequency variable list.
  109.  
  110.      46) Type N at the edit prompt.
  111.  
  112.      47) Type H.
  113.  
  114.      48) The step response, h(t), will be tabulated.
  115.  
  116.      49) Press any key.
  117.  
  118.      50) Type 0 at the start time prompt.
  119.  
  120.      51) Type 25 at the stop time prompt.
  121.  
  122.      52) Type N at the annotation prompt.
  123.  
  124.      53) Type 1 at the line type prompt.
  125.  
  126.      54) Type N at the min/max prompts.
  127.  
  128.      55) Type 0 for the screen plot.
  129.  
  130.      56) The loop step response will be displayed.
  131.  
  132.      This completes a simplified "run through" of the program.  
  133.  
  134.      The programs IFTLOOP, and SMPLOOP, are similar in operation, ì
  135. but very different in the transient response algorithm.  The ì
  136. first thing you will notice is that the time response takes ì
  137. longer to compute.  This is because they compute 1024 open loop ì
  138. gain and phase points, subsequently 1024 closed loop gain and ì
  139. phase points, and then performs a 1024 point inverse Fourier ì
  140. transform.
  141.  
  142.      The step response is the numerical integration of the ì
  143. impulse response.
  144.  
  145.      You will notice there is a zero response delay prior to the ì
  146. beginning of the time response.  This delay is generated by a ì
  147. linear phase generator used for normalization purpose.
  148.  
  149.      In using these programs you should always run the impulse ì
  150. response first, making sure it has settled completely to zero at ì
  151. the end of the time base chosen.  This ensures the correct ì
  152. calculation of the step response.
  153.  
  154.      SMPLOOP includes the sinc x characteristics of a sampling ì
  155. phase detector, and also includes the excess loop pole generated ì
  156. by non-ideal sampling.  HP has an excellent application note on ì
  157. sampling phase detectors.
  158.  
  159.