World Library  
Flag as Inappropriate
Email this Article
 

VisSim

VisSim
Paradigm Modular, Visual Programming, Simulation language
Developer Visual Solutions
First appeared 1989
Stable release Version 9 / january 2015
OS Windows
License Proprietary software
Filename extensions .VSM
Website http://www.vissim.com
Influenced by
C, Laboratory Workbench, AVS (Advanced Visualization System)

VisSim is a visual block diagram language for simulation of dynamical systems and model based design of embedded systems. It is developed by Visual Solutions of Westford, Massachusetts. It uses a graphical data flow paradigm to implement dynamic systems based on differential equations. Version 8 adds interactive UML OMG 2 compliant state chart graphs that are placed in VisSim diagrams. This allows easy modeling of state based systems like startup sequencing of process plants or serial protocol decoding.

Contents

  • Applications 1
    • Academic use 1.1
    • Distributing VisSim models 1.2
  • Code generation 2
  • Use of model-based development 3
  • VisSim optional features 4
  • See also 5
  • References 6
  • External links 7

Applications

VisSim is widely used in control system design and digital signal processing for multidomain simulation and design.[1] It includes blocks for arithmetic, Boolean, and transcendental functions, as well as digital filters, transfer functions, numerical integration and interactive plotting.[2] The most commonly modeled systems are aeronautical, biological/medical, digital power, electric motor, electrical, hydraulic, mechanical, process, thermal/HVAC and econometric.[1]

Academic use

Accredited educational institutions are allowed to site license VisSim v3.0 at no cost. The latest versions of VisSim and add-ons are also available to students and academic institutions at greatly reduced pricing.[2]

Distributing VisSim models

VisSim viewer screenshot with sample model.

A read-only version of the software, VisSim Viewer, is available free of charge and provides a way for people not licensed to use VisSim to run VisSim models.[3] This program is intended to allow models to be more widely shared while preserving the model in its published form.[3] The viewer will execute any VisSim model, and only allows changes to block and simulation parameters to illustrate different design scenarios. Sliders and buttons may be activated if included in the model.

Code generation

The "VisSim/C-Code" add-on generates ANSI C code for the model, and generates target specific code for on-chip devices like PWM, ADC, encoder, GPIO, I2C etc. This is useful for development of embedded systems. After the behavior of the controller has been simulated, C-code can be generated, compiled and run on the target. For debugging, VisSim supports an interactive JTAG linkage, called "Hotlink", that allows interactive gain change and plotting of on-target variables. The VisSim generated code has been called efficient and readable, making it well suited for development of embedded systems.[4] VisSim's author served on the X3J11 ANSI C committee and wrote several C compilers, in addition to co-authoring a book on C.[5] This deep understanding of ANSI C, and the nature of the resulting machine code when compiled, is the key to the code generator's efficiency. VisSim can target small 16-bit fixed point systems like the Texas Instruments MSP430, using only 740 bytes flash and 64 bytes of RAM for a small closed-loop Pulse-width modulation (PWM) actuated system, as well as allowing very high control sample rates over 500 kHz on larger 32-bit floating point processors like the Texas Instruments 150 MHz F28335.

Use of model-based development

The technique of simulating system performance off-line, and then generating code from the simulation is known as "model-based development". Model-based development for embedded systems is becoming widely adopted for production systems because it shortens development cycles for hardware development in the same way that Model-driven architecture shortens production cycles for software development.[6]

Model building is a visual way of describing a situation. In an engineering context, instead of writing and solving a system of equations, model building involves using visual "blocks" to solve the problem. The advantage of using models is that in some cases problems which appear difficult if expressed mathematically may be easier to understand when represented pictorially.

VisSim uses a hierarchical composition to create nested block diagrams. A typical model would consist of "virtual plants" composed of various VisSim "layers", combined if necessary with custom blocks written in C or FORTRAN. A virtual controller can be added and tuned to give desired overall system response. Graphical control element such as sliders and buttons allow control of what-if analysis for operator training or controller tuning.

Although VisSim was originally designed for use by control engineers, it can be used for any type of mathematical model. An example is work done by Steve Keen, an economist.[7]

VisSim optional features

Screenshots show the simulation of a sine function in VisSim. Noise is added to the model, then filtered out using a Butterworth filter. The signal traces of the sine function with noise and filtered noise are first shown together, and then shown in separate windows in the plot block.

This video size: 50% (320x240 pixels)
Other size: 100% (640x480 pixels)

See also

References

  1. ^ a b Books on wide variety of technical subjects referencing VisSim on the Google Books Library Project
  2. ^ a b Visual simulation with student VisSim, by Karen Darnell, 1996, PWS Pub. Co., Boston, ISBN 0-534-95485-5
  3. ^ a b Viewer page on company website
  4. ^ Graphical Environment for Modeling Control Systems in Full Scope Training Simulators
  5. ^ Books on C by Peter A. Darnell and Philip E. Margolis
  6. ^ Principles of model-driven architecture, Stephen J. Mellor, Addison-Wesley, 2004
  7. ^ VisSim models by Steve Keen
  • Texas Instruments MSP430 spotlight article published in IEEE magazine.
  • VisSim web site
  • Mechatronics System Design, by Devdas Shetty, Richard A. Kolk, Edition 2, Cengage Learning, 2011, ISBN 143906198X, ISBN 9781439061985
  • C: A Software Engineering Approach, by Peter A Darnell, Philip E Margolis, 3rd edition, 1996, ISBN 978-0-387-94675-7

External links

  • A Simulation-Aided Introduction with VisSim/Comm Digital Transmission Series: Signals and Communication Technology, Guimaraes, Dayan Adionel, 2010, ISBN 978-3-642-01358-4
  • Dynamics of Energy Supply and Conversion Dr Perez-Blanco, Horacio, 2009, CRC Press, ISBN 978-1-4200-7688-2
  • System Dynamics Exercises Dr Juan Martin Garcia, ISBN 84-609-9804-5
  • Hybrid Intelligent Aircraft Landing Controller and Its Hardware Implementation, by Jih-gau Juang and Bo-Shian Lin in Advances in Natural Computation: Second International Conference, ICNC 2006, ISBN 978-3-540-45907-1
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.