HOME

TheInfoList



OR:

VisSim is a visual
block diagram A block diagram is a diagram of a system in which the principal parts or functions are represented by blocks connected by lines that show the relationships of the blocks.
program for the simulation of
dynamical system In mathematics, a dynamical system is a system in which a Function (mathematics), function describes the time dependence of a Point (geometry), point in an ambient space, such as in a parametric curve. Examples include the mathematical models ...
s and
model-based design Model-based design (MBD) is a mathematical and visual method of addressing problems associated with designing complex control, signal processing and communication systems. It is used in many motion control, industrial equipment, aerospace, and a ...
of
embedded system An embedded system is a specialized computer system—a combination of a computer processor, computer memory, and input/output peripheral devices—that has a dedicated function within a larger mechanical or electronic system. It is e ...
s, with its own
visual language A visual language is a system of communication using visual elements. Speech as a means of communication cannot strictly be separated from the whole of human communicative activity which includes the visual and the term 'language' in relation t ...
. It is developed by Visual Solutions of
Westford, Massachusetts Westford is a town in Middlesex County, Massachusetts, Middlesex County, Massachusetts, United States. The population was at 24,643 at the time of the 2020 United States census, 2020 Census. History Westford began as 'West Chelmsford,' a villag ...
. Visual Solutions was acquired by
Altair Altair is the brightest star in the constellation of Aquila (constellation), Aquila and the list of brightest stars, twelfth-brightest star in the night sky. It has the Bayer designation Alpha Aquilae, which is Latinisation of name ...
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 interactive UML OMG 2 compliant state 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.


Applications

VisSim/Altair Embed is used in
control system A control system manages, commands, directs, or regulates the behavior of other devices or systems using control loops. It can range from a single home heating controller using a thermostat controlling a domestic boiler to large industrial ...
design and
digital signal processing Digital signal processing (DSP) is the use of digital processing, such as by computers or more specialized digital signal processors, to perform a wide variety of signal processing operations. The digital signals processed in this manner are a ...
for multi-domain simulation and design.Books on wide variety of technical subjects referencing VisSim
on the
Google Books Library Project Google Books (previously known as Google Book Search, Google Print, and by its code-name Project Ocean) is a service from Google that searches the full text of books and magazines that Google has scanned, converted to text using optical charac ...
It includes blocks for arithmetic, boolean, and
transcendental function In mathematics, a transcendental function is an analytic function that does not satisfy a polynomial equation whose coefficients are functions of the independent variable that can be written using only the basic operations of addition, subtraction ...
s, as well as
digital filter In signal processing, a digital filter is a system that performs mathematical operations on a Sampling (signal processing), sampled, discrete-time signal to reduce or enhance certain aspects of that signal. This is in contrast to the other ma ...
s,
transfer function In engineering, a transfer function (also known as system function or network function) of a system, sub-system, or component is a function (mathematics), mathematical function that mathematical model, models the system's output for each possible ...
s,
numerical integration In analysis, numerical integration comprises a broad family of algorithms for calculating the numerical value of a definite integral. The term numerical quadrature (often abbreviated to quadrature) is more or less a synonym for "numerical integr ...
and interactive plotting.''Visual simulation with student VisSim'', by Karen Darnell, 1996, PWS Pub. Co., Boston, The most commonly modelled systems are aeronautical, biological/medical, digital power, electric motor, electrical, hydraulic, mechanical, process, thermal/
HVAC Heating, ventilation, and air conditioning (HVAC ) is the use of various technologies to control the temperature, humidity, and purity of the air in an enclosed space. Its goal is to provide thermal comfort and acceptable indoor air quality. ...
and econometric.


Distributing VisSim models

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.
on company website
This program is intended to allow models to be more widely shared while preserving the model in its published form. 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.


Code generation

The "VisSim/C-Code" add-on generates
ANSI C ANSI C, ISO C, and Standard C are successive standards for the C programming language published by the American National Standards Institute (ANSI) and ISO/IEC JTC 1/SC 22/WG 14 of the International Organization for Standardization (ISO) and the ...
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 An embedded system is a specialized computer system—a combination of a computer processor, computer memory, and input/output peripheral devices—that has a dedicated function within a larger mechanical or electronic system. It is em ...
. 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. VisSim's author served on the X3J11 ANSI C committee and wrote several C compilers, in addition to co-authoring a book on C. This deep understanding of ANSI C, and the nature of the resulting
machine code In computer programming, machine code is computer code consisting of machine language instructions, which are used to control a computer's central processing unit (CPU). For conventional binary computers, machine code is the binaryOn nonb ...
when compiled, is the key to the code generator's efficiency. VisSim can target small
16-bit 16-bit microcomputers are microcomputers that use 16-bit microprocessors. A 16-bit register can store 216 different values. The range of integer values that can be stored in 16 bits depends on the integer representation used. With the two ...
fixed point systems like the
Texas Instruments Texas Instruments Incorporated (TI) is an American multinational semiconductor company headquartered in Dallas, Texas. It is one of the top 10 semiconductor companies worldwide based on sales volume. The company's focus is on developing analog ...
MSP430 The MSP430 is a mixed-signal microcontroller family from Texas Instruments, first introduced on 14 February 1992. Built around a CPU, the MSP430 was designed for low power consumption, embedded applications and low cost. Features The f ...
, using only 740 bytes flash and 64 bytes of RAM for a small closed-loop
Pulse-width modulation Pulse-width modulation (PWM), also known as pulse-duration modulation (PDM) or pulse-length modulation (PLM), is any method of representing a signal as a rectangular wave with a varying duty cycle (and for some methods also a varying peri ...
(PWM) actuated system, as well as allowing very high control sample rates over 500 kHz on larger
32-bit In computer architecture, 32-bit computing refers to computer systems with a processor, memory, and other major system components that operate on data in a maximum of 32- bit units. Compared to smaller bit widths, 32-bit computers can perform la ...
floating-point processor A floating-point unit (FPU), numeric processing unit (NPU), colloquially math coprocessor, is a part of a computer system specially designed to carry out operations on floating-point numbers. Typical operations are addition, subtraction, multipli ...
s like the
Texas Instruments Texas Instruments Incorporated (TI) is an American multinational semiconductor company headquartered in Dallas, Texas. It is one of the top 10 semiconductor companies worldwide based on sales volume. The company's focus is on developing analog ...
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 system An embedded system is a specialized computer system—a combination of a computer processor, computer memory, and input/output peripheral devices—that has a dedicated function within a larger mechanical or electronic system. It is e ...
s is becoming widely adopted for production systems because it shortens development cycles for hardware development in the same way that
Model-driven architecture Model-driven architecture (MDA) is a software design approach for the development of software systems. It provides a set of guidelines for the structuring of specifications, which are expressed as models. Model Driven Architecture is a kind of doma ...
shortens production cycles for software development.Principles of model-driven architecture
Stephen J. Mellor, Addison-Wesley, 2004
Model building Model building is a hobby and career that involves the creation of physical models either from kits or from materials and components acquired by the builder. The kits contain several pieces that need to be assembled in order to make a final mode ...
is a visual way of describing a situation. In an engineering context, instead of writing and solving a system 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 A graphical widget (also graphical control element or control) in a graphical user interface is an element of interaction, such as a button or a scroll bar. Controls are software components that a computer user interacts with through direct m ...
such as sliders and buttons allow control of
what-if analysis Sensitivity analysis is the study of how the uncertainty in the output of a mathematical model or system (numerical or otherwise) can be divided and allocated to different sources of uncertainty in its inputs. This involves estimating sensitivity ...
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.


Optional features

*
CAN bus A controller area network bus (CAN bus) is a vehicle bus standard designed to enable efficient communication primarily between electronic control units (ECUs). Originally developed to reduce the complexity and cost of electrical wiring in auto ...
packet read and write * Communication system
Physical layer In the seven-layer OSI model of computer networking, the physical layer or layer 1 is the first and lowest layer: the layer most closely associated with the physical connection between devices. The physical layer provides an electrical, mechani ...
simulation (
modulator Signal modulation is the process of varying one or more properties of a periodic waveform in electronics and telecommunication for the purpose of transmitting information. The process encodes information in form of the modulation or message ...
s, encoders,
PLL A phase-locked loop or phase lock loop (PLL) is a control system that generates an output signal whose phase is fixed relative to the phase of an input signal. Keeping the input and output phase in lockstep also implies keeping the input and out ...
s,
Costas Loop A Costas loop is a phase-locked loop (PLL) based circuit which is used for carrier signal, carrier frequency Carrier recovery, recovery from suppressed-carrier modulation signals (e.g. double-sideband suppressed carrier signals) and phase modulatio ...
,
BPSK Phase-shift keying (PSK) is a digital modulation process which conveys data by changing (modulating) the phase of a constant frequency carrier wave. The modulation is accomplished by varying the sine and cosine inputs at a precise time. It is w ...
,
QPSK Phase-shift keying (PSK) is a digital modulation process which conveys data by changing (modulating) the phase of a constant frequency carrier wave. The modulation is accomplished by varying the sine and cosine inputs at a precise time. It is ...
, DQPSK, QAM,
Bit Error Rate In digital transmission, the number of bit errors is the number of received bits of a data stream over a communication channel that have been altered due to noise, interference, distortion or bit synchronization errors. The bit error rate (BER) ...
(BER),
Eye Diagram In telecommunications, an eye pattern, also known as an eye diagram, is an oscilloscope display in which a digital signal from a receiver is repetitively sampled and applied to the vertical input (''y-axis''), while the data rate is used to tri ...
,
Viterbi algorithm The Viterbi algorithm is a dynamic programming algorithm for obtaining the maximum a posteriori probability estimate of the most likely sequence of hidden states—called the Viterbi path—that results in a sequence of observed events. This i ...
, Reed–Solomon, etc.) * C code generation - Generates executable C code directly from the block diagram *
Electric motor An electric motor is a machine that converts electrical energy into mechanical energy. Most electric motors operate through the interaction between the motor's magnetic field and electric current in a electromagnetic coil, wire winding to gene ...
simulation library for AC induction, Brushless DC, and
Stepper motor A stepper motor, also known as step motor or stepping motor,Clarence W. de Silva. Mechatronics: An Integrated Approach (2005). CRC Press. p. 675. "The terms ''stepper motor'', ''stepping motor'', and ''step motor'' are synonymous and are often u ...
s * Embedded system targeting for Texas Instruments C2000 and
MSP430 The MSP430 is a mixed-signal microcontroller family from Texas Instruments, first introduced on 14 February 1992. Built around a CPU, the MSP430 was designed for low power consumption, embedded applications and low cost. Features The f ...
,
ARM Cortex-M The ARM Cortex-M is a group of 32-bit RISC ARM processor cores licensed by ARM Limited. These cores are optimized for low-cost and energy-efficient integrated circuits, which have been embedded in tens of billions of consumer devices. Thoug ...
chips. Supports on-chip peripherals like serial ports, CAN, PWM, Quadrature Encoder Pulse (QEP), Event Capture,
Serial Peripheral Interface Bus Serial Peripheral Interface (SPI) is a de facto standard (with many #Variations, variants) for Comparison of synchronous and asynchronous signalling, synchronous serial communication, used primarily in embedded systems for short-distance wired c ...
(SPI),
I²C I2C (Inter-Integrated Circuit; pronounced as "" or ""), alternatively known as I2C and IIC, is a synchronous, multi-master/multi-slave, single-ended, serial communication bus invented in 1980 by Philips Semiconductors (now NXP Semiconduct ...
,
Analog-to-digital converter In electronics, an analog-to-digital converter (ADC, A/D, or A-to-D) is a system that converts an analog signal, such as a sound picked up by a microphone or light entering a digital camera, into a Digital signal (signal processing), digi ...
(ADC),
Digital-to-analog converter In electronics, a digital-to-analog converter (DAC, D/A, D2A, or D-to-A) is a system that converts a digital signal into an analog signal. An analog-to-digital converter (ADC) performs the reverse function. DACs are commonly used in musi ...
(DAC), and
GPIO A general-purpose input/output (GPIO) is an uncommitted digital signal pin on an integrated circuit or electronic circuit (e.g. MCUs/ MPUs) board that can be used as an input or output, or both, and is controllable by software. GPIOs have no p ...
. *
Fixed-point arithmetic In computing, fixed-point is a method of representing fractional (non-integer) numbers by storing a fixed number of digits of their fractional part. Dollar amounts, for example, are often stored with exactly two fractional digits, represen ...
blockset for bit-true simulation and code generation * Frequency domain analysis (
Bode plot In electrical engineering and control theory, a Bode plot is a graph of the frequency response of a system. It is usually a combination of a Bode magnitude plot, expressing the magnitude (usually in decibels) of the frequency response, and a B ...
,
Root locus In control theory and stability theory, root locus analysis is a graphical method for examining how the roots of a system change with variation of a certain system parameter, commonly a Loop gain, gain within a feedback system. This is a technique ...
,
Nyquist plot In control theory and stability theory, the Nyquist stability criterion or Strecker–Nyquist stability criterion, independently discovered by the German electrical engineer at Siemens in 1930 and the Swedish-American electrical engineer Harry ...
) *
Global optimization Global optimization is a branch of operations research, applied mathematics, and numerical analysis that attempts to find the global minimum or maximum of a function or a set of functions on a given set. It is usually described as a minimization ...
of system parameters *
Neural network A neural network is a group of interconnected units called neurons that send signals to one another. Neurons can be either biological cells or signal pathways. While individual neurons are simple, many of them together in a network can perfor ...
s * OPC ( OLE for process control) client gives read and write of OPC tags for real-time simulation of
SCADA SCADA (an acronym for supervisory control and data acquisition) is a control system architecture comprising computers, networked data communications and graphical user interfaces for high-level supervision of machines and processes. It also cove ...
/HMI virtual plants * Real-time
analog signal An analog signal (American English) or analogue signal (British and Commonwealth English) is any continuous-time signal representing some other quantity, i.e., ''analogous'' to another quantity. For example, in an analog audio signal, the ins ...
and digital I/O under Windows * Serial (
RS-232 In telecommunications, RS-232 or Recommended Standard 232 is a standard introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a ''DTE'' (''data terminal equipment'') such as a compu ...
/
RS-485 RS-485, also known as TIA-485(-A) or EIA-485, is a standard, originally introduced in 1983, defining the electrical characteristics of drivers and receivers for use in serial communications systems. Electrical signaling is balanced, and Telecomm ...
) serial data read and write. Allows real-time reading and writing of serial data from the VisSim diagram. It supports pattern matching, string based transmit, and simulated data streams. *
User Datagram Protocol In computer networking, the User Datagram Protocol (UDP) is one of the core communication protocols of the Internet protocol suite used to send messages (transported as datagrams in Network packet, packets) to other hosts on an Internet Protoco ...
(UDP) packet read and write. Allows real-time reading and writing of Ethernet-based UDP packets from the VisSim diagram


See also

* Web based simulation *
MATLAB MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementat ...
/
Simulink Simulink is a MATLAB-based graphical programming environment for modeling, simulating and analyzing multidomain dynamical systems. Its primary interface is a graphical block diagramming tool and a customizable set of block libraries. It offe ...
*
20-sim 20-sim is a commercial modeling and simulation program for multi-domain dynamic systems, which is developed by Controllab. 20-sim allows models to be entered as equations, block diagrams, bond graphs and physical components. 20-sim is used for mo ...
*


References


Texas Instruments MSP430 spotlight article
published in
IEEE The Institute of Electrical and Electronics Engineers (IEEE) is an American 501(c)(3) organization, 501(c)(3) public charity professional organization for electrical engineering, electronics engineering, and other related disciplines. The IEEE ...
magazine.
VisSim web site

Mechatronics System Design
by Devdas Shetty, Richard A. Kolk, Edition 2, Cengage Learning, 2011, ,
C: A Software Engineering Approach
by Peter A Darnell, Philip E Margolis, 3rd edition, 1996,


External links


A Simulation-Aided Introduction with VisSim/Comm
Digital Transmission Series: Signals and Communication Technology, Guimaraes, Dayan Adionel, 2010,
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, {{DEFAULTSORT:Vissim Mathematical modeling Numerical software Real-time simulation Simulation programming languages Visual programming languages Articles containing video clips