![]() | This articlecontainspromotional content. Please helpimprove it by removingpromotional language and inappropriateexternal links, and by adding encyclopedic text written from aneutral point of view.(May 2013) (Learn how and when to remove this message) |
![]() | |
Paradigm | Modular,Visual Programming,Simulation language |
---|---|
Developer | Visual Solutions /Altair |
First appeared | 1989 |
Stable release | Embed 2016 / January 2016 |
OS | Windows |
License | Proprietary software |
Filename extensions | .VSM |
Website | www |
Influenced by | |
C,Laboratory Workbench,AVS (Advanced Visualization System) |
VisSim is a visualblock diagram program for the simulation ofdynamical systems andmodel-based design ofembedded systems, with its ownvisual language. It is developed by Visual Solutions ofWestford, Massachusetts. Visual Solutions was acquired byAltair in August 2014 and its products have been rebranded as Altair Embed as a part of Altair's Model Based Development Suite. With Embed, virtual prototypes of dynamic systems can be developed. Models are built by sliding blocks into the work area and wiring them together with the mouse. Embed automatically converts the control diagrams into C-code ready to be downloaded to the target hardware.
VisSim (now Altair Embed) uses a graphical data flow paradigm to implement dynamic systems, based on differential equations. Version 8 adds interactiveUMLOMG 2 compliantstate chart graphs that are placed in VisSim diagrams, which allows the modelling of state based systems such as startup sequencing of process plants or serial protocol decoding.
VisSim/Altair Embed is used incontrol system design anddigital signal processing for multi-domain simulation and design.[1] It includes blocks for arithmetic, boolean, andtranscendental functions, as well asdigital filters,transfer functions,numerical integration and interactive plotting.[2] The most commonly modelled systems are aeronautical, biological/medical, digital power, electric motor, electrical, hydraulic, mechanical, process, thermal/HVAC and econometric.[1]
A read-only version of the software,VisSim Viewer, is available free of charge and provides a way for people who do not own a license 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 can execute any VisSim model, and only changes to block and simulation parameters to illustrate different design scenarios, are allowed. Sliders and buttons may be activated if included in the model.
The "VisSim/C-Code" add-on generatesANSI 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 ofembedded systems. After the behaviour 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 resultingmachine code when compiled, is the key to the code generator's efficiency. VisSim can target small16-bitfixed point systems like theTexas InstrumentsMSP430, using only 740 bytes flash and 64 bytes of RAM for a small closed-loopPulse-width modulation (PWM) actuated system, as well as allowing very high control sample rates over 500 kHz on larger32-bitfloating-point processors like theTexas Instruments 150 MHz F28335.
The technique of simulating system performance off-line, and then generating code from the simulation is known as "model-based development". Model-based development forembedded systems is becoming widely adopted for production systems because it shortens development cycles for hardware development in the same way thatModel-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 asystem of equation, 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 ofwhat-if analysis for operator training or controller tuning.
Although VisSim was originally designed for use bycontrol engineers, it can be used for any type of mathematical model.
Screenshots show the simulation of asine function in VisSim. Noise is added to the model, then filtered out using aButterworth 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) |