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

  1. ; VisSim Block Diagram Format (VBDF)
  2. ; Copyright (C) 1989-1992 Visual Solutions
  3. PV=1.200
  4. PS=0
  5. PE=8
  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=1560,0,0,1065,0,0
  14. PM=1,1,1,1
  15. N.1="Compound"@0x0#1,1<C>
  16. n="encoder.bmp"
  17. Ms=687,0,0,475,0,0
  18. Mb
  19. N.2="sampleHold"(0)@588x259<M>
  20. N.3="summingJunction"(0)@120x266<M>
  21. N.4="min"@534x259<M>
  22. N.5="max"@408x385<M>
  23. N.6="gain"(-1)@282x385<M>
  24. N.7="!="@432x252<M>
  25. N.8="const"(0.4)@42x448<M>
  26. N.9="wireLabel"@42x420<M>
  27. n="==== Parameters ===="
  28. N.10="wireLabel"@684x245<M>
  29. n="Output signal"
  30. N.11="variable"@108x448<M>
  31. n=":Quantization Value"
  32. N.12="variable"@48x231<M>
  33. n=":input "
  34. N.13="variable"@222x245<M>
  35. n=":error"
  36. N.14="variable"@504x273<M>
  37. n=":input "
  38. N.15="unitDelay"(0)@336x322<MR>
  39. N.16="variable"@132x210<M>
  40. n=":error"
  41. N.17="Compound"@228x189#2,1<MC>
  42. n="min(QV,max(error,-QV))"
  43. Ms=1600,0,0,1123,0,0
  44. N.18="comment"@42x7@703x155<M>
  45. C="Encoder Model:            
  46.  
  47. Models the behavior of an encoder with (amplitude) resolution defined by the Quantization Value. For example, if a unit slope ramp is applied as input, the output signal will be a staircase with height equal to the Quantization Value. The Output signal is NOT a function of time.
  48.  
  49. Limitations: 
  50. 1.  Quantization Value > 0."
  51. N.19="variable"@66x182<M>
  52. n=":Quantization Value"
  53. G.1=2,3,7,8,9,10,11,12,13,14,15,16,17,18,19,
  54. I.1.o1=2.o1
  55. I.2.i1=7.o1
  56. I.2.i2=14.o1
  57. I.3.i1=1.i1
  58. f3.2.i=-
  59. I.3.i2=15.o1
  60. I.4.i1=17.i1
  61. I.4.i2=5.o1
  62. I.5.i1=6.o1
  63. I.5.i2=17.i2
  64. I.6.i1=17.i1
  65. I.7.i1=17.o1
  66. I.7.i2=3.o1
  67. I.11.i1=8.o1
  68. I.12.i1=1.i1
  69. I.13.i1=3.o1
  70. I.15.i1=7.o1
  71. I.15.i2=2.o1
  72. G.17=4,5,6,
  73. I.17.o1=4.o1
  74. I.17.i1=19.o1
  75. I.17.i2=16.o1
  76.