home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / MATH / VISSIM.ZIP / PID_CTL.VSM < prev    next >
Text File  |  1993-02-18  |  3KB  |  115 lines

  1. ; VisSim Block Diagram Format (VBDF)
  2. ; Copyright (C) 1989-1992 Visual Solutions
  3. PV=1.200
  4. PS=0
  5. PE=5
  6. PP=0.005
  7. PI=170
  8. PX=0.005
  9. PN=1e-006
  10. PF=10
  11. PD=800x600
  12. Pf=0x0
  13. Ps=1566,0,0,1090,0,0
  14. Pd=17
  15. PM=1,1,1,1
  16. N.1="Compound"@0x0#2,1<C>
  17. n="pid_ctl.bmp"
  18. Ms=784,0,0,546,0,0
  19. Mb
  20. N.2="summingJunction"(0)@510x252#3,1<M>
  21. N.3="wireLabel"@12x112<M>
  22. n="Setpoint"
  23. N.4="wireLabel"@684x245<M>
  24. n="Output signal"
  25. N.5="comment"@84x7@668x168<M>
  26. C="Proportional Integral Derivative (PID) Controller Model:            
  27.  
  28. A general controller used to control both steady state accuracy (using the integral and proportional terms) and transient response (using the derivative and the proportional terms).
  29.  
  30. Limitations:
  31. 1.  See the contents of the Derivative block 
  32. "
  33. N.6="wireLabel"@6x420<M>
  34. n="Feedback"
  35. N.7="summingJunction"(0)@30x266<M>
  36. N.8="variable"@204x434<M>
  37. n=":Proportional Gain"
  38. N.9="wireLabel"@132x413<M>
  39. n="==== Parameters ===="
  40. N.10="variable"@204x462<M>
  41. n=":Integral Gain"
  42. N.11="variable"@204x490<M>
  43. n=":Derivative Gain"
  44. N.12="const"(10)@114x434<M>
  45. N.13="const"(1)@114x462<M>
  46. N.14="const"(0.1)@114x490<M>
  47. N.15="*"@282x203<M>
  48. N.16="*"@282x259<M>
  49. N.17="*"@282x315<M>
  50. N.18="variable"@144x259<M>
  51. n=":Proportional Gain"
  52. N.19="variable"@144x203<M>
  53. n=":Integral Gain"
  54. N.20="wirePositioner"@96x217<M>
  55. N.21="wirePositioner"@102x315<M>
  56. N.22="variable"@144x329<M>
  57. n=":Derivative Gain"
  58. N.23="summingJunction"(0)@180x266<M>
  59. N.24="integrator"(0,1)@162x336<MR>
  60. N.25="Compound"@342x315#1,1<MC>
  61. n="deriv_a.bmp"
  62. Ms=680,0,0,470,0,0
  63. Mb
  64. N.26="/"@456x273<M>
  65. N.27="wireLabel"@30x245<M>
  66. n="Input signal"
  67. N.28="wireLabel"@678x245<M>
  68. n="Output signal"
  69. N.29="comment"@18x7@747x148<M>
  70. C="Derivative Model:    
  71.  
  72. This model is used to take the derivative of a signal using a lag filter.  The derivative is valid for frequencies up to (1/ time constant).  For higher frequencies the time constant must be decreased.
  73.  
  74. Limitations: 
  75. 1.  time constant > 0
  76. 2.  Simulation stepsize must be less than the time constant for stability."
  77. N.30="variable"@306x287<M>
  78. n=":time constant"
  79. N.31="wireLabel"@60x434<M>
  80. n="==== Parameters ===="
  81. N.32="variable"@132x469<M>
  82. n=":time constant"
  83. N.33="const"(0.01)@36x469<M>
  84. N.34="integrator"(0,0)@366x210<M>
  85. G.1=2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,25,34,
  86. I.1.o1=2.o1
  87. I.2.i1=34.o1
  88. I.2.i2=16.o1
  89. I.2.i3=25.o1
  90. I.7.i1=1.i1
  91. f7.2.i=-
  92. I.7.i2=1.i2
  93. I.8.i1=12.o1
  94. I.10.i1=13.o1
  95. I.11.i1=14.o1
  96. I.15.i1=19.o1
  97. I.15.i2=20.o1
  98. I.16.i1=18.o1
  99. I.16.i2=7.o1
  100. I.17.i1=21.o1
  101. I.17.i2=22.o1
  102. I.20.i1=7.o1
  103. I.21.i1=7.o1
  104. I.23.i1=25.i1
  105. f23.2.i=-
  106. I.23.i2=24.o1
  107. I.24.i1=26.o1
  108. G.25=23,24,26,27,28,29,30,31,32,33,
  109. I.25.o1=26.o1
  110. I.25.i1=17.o1
  111. I.26.i1=23.o1
  112. I.26.i2=30.o1
  113. I.32.i1=33.o1
  114. I.34.i1=15.o1
  115.