home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / MATH / VISSIM.ZIP / ZINTTR.VSM < prev   
Text File  |  1994-02-28  |  2KB  |  79 lines

  1. ; VisSim Block Diagram Format (VBDF)
  2. ; Copyright (C) 1989-1994 Visual Solutions
  3. PV=1.500
  4. PS=0
  5. PE=10
  6. PP=0.01
  7. PI=170
  8. PX=0.01
  9. PN=1e-006
  10. PL=5
  11. PT=1e-005
  12. Pn=-8,4,14,"Times New Roman"
  13. Pc=21
  14. Po=0.01,50,664
  15. PD=800x600
  16. Pf=0x0
  17. Pr="stub"
  18. Ps=1565,0,0,1090,0,0
  19. Pd=17
  20. PM=1,1,1,1
  21. N.1="Compound"*1x1#1,1<C>
  22. n="dt    Z + 1
  23. ---   ---------
  24. 2      Z + 1"
  25. Ms=748,0,0,476,0,0
  26. N.2="summingJunction"*171x37<M>
  27. N.3="gain"(0.5)*34x38<M>
  28. N.4="summingJunction"*93x36<M>
  29. N.5="const"(0.05)*7x58<M>
  30. N.6="wireLabel"*15x54<M>
  31. n="==== Parameters ===="
  32. N.7="*"*55x38<M>
  33. N.8="wireLabel"*3x36<M>
  34. n="x"
  35. N.9="wireLabel"*186x35<M>
  36. n="y"
  37. N.10="sampleHold"(0)*72x35<M>
  38. N.11="unitDelay"(0)*102x46<MR>
  39. N.12="variable"*120x46<MR>
  40. n=":trigger"
  41. N.13="comment"*7x1*177x22<M>
  42. C="Zinttr (Trapeziodal Digital Integrator) Model:                
  43.  
  44. Models the equation: y(k) = y(k-1) + 0.5*dt*(x(k)+x(k-1)) where y(k) is the output, x(k) is the input, and dt is the digital update time. The digital update time is set by the user in seconds. One of the  more stable approximations to integration. Often used in high performance digital control systems where accuracy and speed are important issues.  Note the external override of the pulse train block to externalize the time between samples parameter.
  45.  
  46. Limitations:
  47. 1.  Digital Update Time, sec >0 and >simulation stepsize"
  48. N.14="variable"*28x58<M>
  49. n=":Digital Update Time, sec"
  50. N.15="variable"*9x42<M>
  51. n=":Digital Update Time, sec"
  52. N.16="wirePositioner"*136x37<M>
  53. N.17="variable"*49x32<M>
  54. n=":trigger"
  55. N.18="wirePositioner"*139x51<M>
  56. N.19="variable"*168x58<M>
  57. n=":trigger"
  58. N.20="pulseTrain"(0,0.01)*150x57#2,1<M>
  59. N.21="variable"*100x59<M>
  60. n=":Digital Update Time, sec"
  61. G.1=2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,
  62. I.1.o1=2.o1
  63. I.2.i1=16.o1
  64. I.2.i2=18.o1
  65. I.3.i1=1.i1
  66. I.4.i1=10.o1
  67. I.4.i2=11.o1
  68. I.7.i1=3.o1
  69. I.7.i2=15.o1
  70. I.10.i1=17.o1
  71. I.10.i2=7.o1
  72. I.11.i1=12.o1
  73. I.11.i2=16.o1
  74. I.14.i1=5.o1
  75. I.16.i1=4.o1
  76. I.18.i1=11.o1
  77. I.19.i1=20.o1
  78. I.20.i2=21.o1
  79.