home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / MATH / VISSIM.ZIP / IMP_RESP.VSM < prev    next >
Text File  |  1994-02-17  |  8KB  |  339 lines

  1. ; VisSim Block Diagram Format (VBDF)
  2. ; Copyright (C) 1989-1993 Visual Solutions
  3. PV=1.500
  4. PS=0
  5. PE=1000
  6. PP=0.01
  7. PI=170
  8. PX=0.01
  9. PN=1e-006
  10. Pn=-9,6,16,"Times New Roman"
  11. Pc=99
  12. PD=800x600
  13. Pf=0x0
  14. Pr=""
  15. Ps=800,0,0,550,0,0
  16. Pd=17
  17. PM=1,1,1,1
  18. N.1="summingJunction"@228x280<M>
  19. N.2="gain"(1)@372x232<MR>
  20. N.3="integrator"(0,1)@534x304<M>
  21. N.4="Compound"@186x152#1,1<C>
  22. n="G(s)"
  23. Ms=744,0,0,394,0,0
  24. N.5="wireLabel"@228x368<M>
  25. n="Time constant, seconds"
  26. N.6="const"(1)@294x352<M>
  27. N.7="/"@384x288<M>
  28. N.8="comment"@132x0@720x88<M>
  29. C="First Order Lag Filter                    June 18, 1991
  30.  
  31. Model of a first order unity dc gain lag filter.  "
  32. N.9="gain"(5)@744x288<M>
  33. N.10="variable"@240x152
  34. n="y(t)"
  35. N.11="noise"(0)@456x272<M>
  36. N.12="Compound"@0x152#0,1<C>
  37. n="Random Noise Generator"
  38. Ms=1600,0,0,1104,0,0
  39. N.13="summingJunction"@648x280<M>
  40. N.14="const"(0.5)@456x304<M>
  41. N.15="Compound"@768x288#1,1<MC>
  42. n="lag filter"
  43. Ms=1600,0,0,1104,0,0
  44. N.16="summingJunction"@216x280<M>
  45. N.17="integrator"(0,0)@594x288<M>
  46. N.18="gain"(1)@360x232<MR>
  47. N.19="wireLabel"@258x360<M>
  48. n="Time constant, seconds"
  49. N.20="const"(0.025)@294x336<M>
  50. N.21="/"@390x280<M>
  51. N.22="comment"@132x0@720x88<M>
  52. C="First Order Lag Filter                    June 18, 1991
  53.  
  54. Model of a first order unity dc gain lag filter.  "
  55. N.23="Compound"@312x288#1,1<MC>
  56. n="lag filter"
  57. Ms=1600,0,0,1104,0,0
  58. N.24="summingJunction"@210x280<M>
  59. N.25="integrator"(0,2)@528x304<M>
  60. N.26="gain"(1)@372x200<MR>
  61. N.27="/"@390x288<M>
  62. N.28="comment"@132x0@720x88<M>
  63. C="First Order Lag Filter                    June 18, 1991
  64.  
  65. Model of a first order unity dc gain lag filter.  "
  66. N.29="Compound"@420x232#1,1<MC>
  67. n="lpf"
  68. Ms=1600,0,0,1104,0,0
  69. N.30="plot"@366x112@408x419
  70. pt="Correlations"
  71. px="Time (sec)"
  72. pax=0
  73. pf=H
  74. pc=512
  75. pm=10
  76. N.31="timeDelay"(0,128)@258x280<M>
  77. N.32="const"(0.25)@168x256<M>
  78. N.33="Compound"@114x248#1,1<MC>
  79. n="time delay"
  80. Ms=1600,0,0,1104,0,0
  81. N.34="Compound"@114x328#1,1<MC>
  82. n="time delay"
  83. Ms=1600,0,0,1104,0,0
  84. N.35="timeDelay"(0,128)@246x280<M>
  85. N.36="const"(0.25)@150x256<M>
  86. N.37="Compound"@114x416#1,1<MC>
  87. n="time delay"
  88. Ms=1600,0,0,1104,0,0
  89. N.38="timeDelay"(0,128)@228x280<M>
  90. N.39="const"(0.25)@150x256<M>
  91. N.40="Compound"@114x512#1,1<MC>
  92. n="time delay"
  93. Ms=1600,0,0,1104,0,0
  94. N.41="timeDelay"(0,128)@246x280<M>
  95. N.42="const"(0.25)@150x256<M>
  96. N.43="variable"@42x280
  97. n="y(t)"
  98. N.44="*"@354x232<M>
  99. N.45="variable"@264x496<M>
  100. n=":y(t)"
  101. N.46="*"@354x496<M>
  102. N.47="variable"@264x392<M>
  103. n=":y(t)"
  104. N.48="*"@354x392<M>
  105. N.49="variable"@246x304<M>
  106. n=":y(t)"
  107. N.50="*"@354x312<M>
  108. N.51="const"(200)@6x552
  109. N.52="gain"(1200)@720x288<M>
  110. N.53="comment"@0x0@420x98
  111. C="This block diagram simulates dynamic system identification through the use of cross correlation between the input and the output to determine the impulse response of a system. The transfer function to be determined is G(s) = 5/s+1, and the impulse response is h(t) = 5*e^-t. The original transfer function can be reconstructed by curve fitting to the measured h(t) points in the diagram (though that is not done here). This technique can be used for adaptive control.
  112.  
  113. The analytical and simulation results are summarized below:
  114. time    h(t)    Vissim
  115. .25    3.89    4.01
  116. .5    3.03    3.10
  117. .75    2.36    2.40
  118. 1    1.84    1.76
  119. "
  120. N.54="wireLabel"@180x136
  121. n="Unknown System"
  122. N.55="Compound"@156x240#2,4<C>
  123. n="CrossCorrelation"
  124. Ms=1559,0,0,1064,0,0
  125. N.56="comment"@72x0@600x72<M>
  126. C="Determine impulse response magnitudes for times .25,.5,.75,1
  127. Analytical results are 3.89, 3.03, 2.36, and 1.84 respectively"
  128. N.57="variable"@48x568<M>
  129. n=":y(t)"
  130. N.58="variable"@258x224<M>
  131. n=":y(t)"
  132. N.59="display"(4.0162674613741,0)@504x176<M>
  133. N.60="display"(3.1018426000874,0)@504x272<M>
  134. N.61="display"(2.4067857135675,0)@504x360<M>
  135. N.62="display"(1.7648558810761,0)@516x448<M>
  136. N.63="variable"@870x512<M>
  137. n=":h(1)"
  138. N.64="variable"@870x360<M>
  139. n=":h(.75)"
  140. N.65="variable"@882x216<M>
  141. n=":h(.5)"
  142. N.66="variable"@882x56<M>
  143. n=":h(.25)"
  144. N.67="variable"@504x232<M>
  145. n=":h(.25)"
  146. N.68="variable"@504x312<M>
  147. n=":h(.5)"
  148. N.69="variable"@516x520<M>
  149. n=":h(1)"
  150. N.70="variable"@504x408<M>
  151. n=":h(.75)"
  152. N.71="Compound"@420x312#1,1<MC>
  153. n="lpf"
  154. Ms=720,0,0,288,0,0
  155. N.72="Compound"@312x288#1,1<MC>
  156. n="lag filter"
  157. Ms=682,0,0,369,0,0
  158. N.73="summingJunction"@210x280<M>
  159. N.74="integrator"(0,3)@528x304<M>
  160. N.75="gain"(1)@372x200<MR>
  161. N.76="/"@390x288<M>
  162. N.77="comment"@132x0@720x88<M>
  163. C="First Order Lag Filter                    June 18, 1991
  164.  
  165. Model of a first order unity dc gain lag filter.  "
  166. N.78="gain"(1200)@720x288<M>
  167. N.79="Compound"@420x408#1,1<MC>
  168. n="lpf"
  169. Ms=720,0,0,288,0,0
  170. N.80="Compound"@312x288#1,1<MC>
  171. n="lag filter"
  172. Ms=682,0,0,369,0,0
  173. N.81="summingJunction"@180x272<M>
  174. N.82="integrator"(0,4)@498x288<M>
  175. N.83="gain"(1)@372x200<MR>
  176. N.84="/"@360x280<M>
  177. N.85="comment"@132x0@720x88<M>
  178. C="First Order Lag Filter                    June 18, 1991
  179.  
  180. Model of a first order unity dc gain lag filter.  "
  181. N.86="variable"@162x352<M>
  182. n="timeConst,sec"
  183. N.87="gain"(1200)@720x288<M>
  184. N.88="Compound"@420x488#1,1<MC>
  185. n="lpf"
  186. Ms=720,0,0,288,0,0
  187. N.89="Compound"@312x288#1,1<MC>
  188. n="lag filter"
  189. Ms=682,0,0,369,0,0
  190. N.90="summingJunction"@210x280<M>
  191. N.91="integrator"(0,5)@528x288<M>
  192. N.92="gain"(1)@372x200<MR>
  193. N.93="/"@390x280<M>
  194. N.94="comment"@132x0@720x88<M>
  195. C="First Order Lag Filter                    June 18, 1991
  196.  
  197. Model of a first order unity dc gain lag filter.  "
  198. N.95="gain"(1200)@720x288<M>
  199. N.96="variable"@102x552
  200. n="timeConst,sec"
  201. N.97="variable"@216x352<M>
  202. n="timeConst,sec"
  203. N.98="variable"@192x352<M>
  204. n="timeConst,sec"
  205. N.99="variable"@210x360<M>
  206. n="timeConst,sec"
  207. f1.1.i=-
  208. I.1.i1=2.o1
  209. I.1.i2=4.i1
  210. I.2.i1=3.o1
  211. I.3.i1=7.o1
  212. G.4=1,3,2,5,6,7,8,9,
  213. I.4.o1=9.o1
  214. I.4.i1=12.o1
  215. I.7.i1=1.o1
  216. I.7.i2=6.o1
  217. I.9.i1=3.o1
  218. I.10.i1=4.o1
  219. G.12=11,13,14,15,
  220. I.12.o1=15.o1
  221. I.13.i1=11.o1
  222. f13.2.i=-
  223. I.13.i2=14.o1
  224. G.15=16,17,18,19,20,21,22,
  225. I.15.o1=17.o1
  226. I.15.i1=13.o1
  227. f16.1.i=-
  228. I.16.i1=18.o1
  229. I.16.i2=15.i1
  230. I.17.i1=21.o1
  231. I.18.i1=17.o1
  232. I.21.i1=16.o1
  233. I.21.i2=20.o1
  234. G.23=24,25,26,27,28,97,
  235. I.23.o1=25.o1
  236. I.23.i1=29.i1
  237. f24.1.i=-
  238. I.24.i1=26.o1
  239. I.24.i2=23.i1
  240. I.25.i1=27.o1
  241. I.26.i1=25.o1
  242. I.27.i1=24.o1
  243. I.27.i2=97.o1
  244. G.29=23,52,
  245. I.29.o1=52.o1
  246. I.29.i1=44.o1
  247. I.30.i1=55.o1
  248. I.30.i2=55.o2
  249. I.30.i3=55.o3
  250. I.30.i4=55.o4
  251. I.31.i1=32.o1
  252. I.31.i2=33.i1
  253. G.33=31,32,
  254. I.33.o1=31.o1
  255. I.33.i1=55.i1
  256. G.34=35,36,
  257. I.34.o1=35.o1
  258. I.34.i1=33.o1
  259. I.35.i1=36.o1
  260. I.35.i2=34.i1
  261. G.37=38,39,
  262. I.37.o1=38.o1
  263. I.37.i1=34.o1
  264. I.38.i1=39.o1
  265. I.38.i2=37.i1
  266. G.40=41,42,
  267. I.40.o1=41.o1
  268. I.40.i1=37.o1
  269. I.41.i1=42.o1
  270. I.41.i2=40.i1
  271. I.44.i1=58.o1
  272. I.44.i2=33.o1
  273. I.46.i1=45.o1
  274. I.46.i2=40.o1
  275. I.48.i1=47.o1
  276. I.48.i2=37.o1
  277. I.50.i1=49.o1
  278. I.50.i2=34.o1
  279. I.52.i1=23.o1
  280. G.55=29,33,34,37,40,44,45,46,47,48,49,50,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,79,88,
  281. I.55.o1=66.o1
  282. I.55.o2=65.o1
  283. I.55.o3=64.o1
  284. I.55.o4=63.o1
  285. I.55.i1=12.o1
  286. I.55.i2=43.o1
  287. I.57.i1=55.i2
  288. I.59.i1=29.o1
  289. I.60.i1=71.o1
  290. I.61.i1=79.o1
  291. I.62.i1=88.o1
  292. I.67.i1=29.o1
  293. I.68.i1=71.o1
  294. I.69.i1=88.o1
  295. I.70.i1=79.o1
  296. G.71=72,78,
  297. I.71.o1=78.o1
  298. I.71.i1=50.o1
  299. G.72=73,74,75,76,77,98,
  300. I.72.o1=74.o1
  301. I.72.i1=71.i1
  302. f73.1.i=-
  303. I.73.i1=75.o1
  304. I.73.i2=72.i1
  305. I.74.i1=76.o1
  306. I.75.i1=74.o1
  307. I.76.i1=73.o1
  308. I.76.i2=98.o1
  309. I.78.i1=72.o1
  310. G.79=80,87,
  311. I.79.o1=87.o1
  312. I.79.i1=48.o1
  313. G.80=81,82,83,84,85,86,
  314. I.80.o1=82.o1
  315. I.80.i1=79.i1
  316. f81.1.i=-
  317. I.81.i1=83.o1
  318. I.81.i2=80.i1
  319. I.82.i1=84.o1
  320. I.83.i1=82.o1
  321. I.84.i1=81.o1
  322. I.84.i2=86.o1
  323. I.87.i1=80.o1
  324. G.88=89,95,
  325. I.88.o1=95.o1
  326. I.88.i1=46.o1
  327. G.89=90,91,92,93,94,99,
  328. I.89.o1=91.o1
  329. I.89.i1=88.i1
  330. f90.1.i=-
  331. I.90.i1=92.o1
  332. I.90.i2=89.i1
  333. I.91.i1=93.o1
  334. I.92.i1=91.o1
  335. I.93.i1=90.o1
  336. I.93.i2=99.o1
  337. I.95.i1=89.o1
  338. I.96.i1=51.o1
  339.