Professional VisSim v8.0 Model-Based Design and Dynamic Simulation Software Modeling The Future

High fidelity VisSim is a visual environment for model- HIGHLIGHTS modeling of large based development and dynamic simulation • Intuitive graphical interface for block diagram creation scale projects of complex systems. It combines an and manipulation intuitive graphical interface with a powerful can be done with • Extensive and expandable block libraries containing simulation engine to accurately represent VisSim. From a engineering, mathematical, and scientific functions linear and nonlinear systems, and simulate financial standpoint, their behavior in continuous time, sampled • Hierarchical model construction with password protection it is extremely time, or a combination of both. for linear, nonlinear, time-varying, discrete-time, worthwhile to the continuous-time, and hybrid systems In addition, VisSim’s tightly integrated process control development environment makes it easy • Fixed, adaptive, and stiff system integration algorithms community. There to pass freely among the stages of model • Parameter optimization are tremendous cost construction, simulation, optimization, • “What if” simulation scenarios savings in reduced validation, and code generation, allowing downtime due to you to create, verify, and validate prototypes • translator offline tuning and before committing to the design. • Exchange data with MatLab, , and , and import/export data using ActiveX and DDE control design, as With thousands of engineers and scientists well as operator – spanning a broad range of industries and • UML 2 state transition diagram editor to simulate event- training. disciplines – already using VisSim, it has driven systems (available separately) Andy Waite become a recognized leader in system • 3D interactive animation and plotting Senior Designer modeling and dynamic simulation. Emerson Control • Interactive XY, time domain, FFT, and discrete plots • Free Viewer to open and simulate VisSim models

Implementation of an AC motor model for an autocontrol system component (far left). VisSim labels are linked to explanatory documentation on the internet (left).

www..com The Block Browser lists all standard blocks, add-on blocks, and custom blocks in a collapsible tree. To add a block to your diagram just slide it off the Browser and into Using VisSim Blocks the workspace. In VisSim, blocks are your basic design component. You can choose from over 200 mathematical, engineering, and scientific blocks, allowing you to Right-click over a block realize system models of any degree of to access customizable complexity. parameters and Blocks are categorized by function options. and listed in both the Blocks menu and Block Browser. See page 8 for the complete blockset. Toolbox Libraries: Toolbox libraries (included with VisSim) expand VisSim’s target specific engineering modeling capabilities for mechanical and disciplines, including electrical systems, hydraulics, communications design, generation, and analog and fixed-point algorithm development, Custom Blocks: If your requirements design. neural network creation, embedded extend beyond the standard block and system design, and hardware-in-the- Additional Block Libraries: These toolbox libraries, you can create custom block libraries (available separately) loop simulation. blocks in , C++, Fortran, and Pascal and add them to the Blocks menu for use in other models. Building and Managing Models A block diagram provides a clear and concise representation of the structure of a system model. In VisSim, you build block diagrams by sliding blocks into the workspace and wiring them together with the mouse. You can change block orientation and signal flow, and specify display modes, colors, and fonts to customize diagram appearance.

AC motor model with 3-phase sinusoid generator and motor module (above). The AC Motor block contains the internal dynamics of the motor with phase currents, electromotive torques, rotational inertia, and back EMF calculations (right).

 www.vissim.com

Organizing and Navigating Models Compound blocks can be saved • Dimension: scalar, vector, or matrix. Organizing block diagrams into logical separately and reused in other models. • Complexity: real, imaginary, or subsystems lets you build models using The Diagram Browser provides an complex number. a top-down or bottom-up approach. expandable “tree” representation of your • Range and units. Subsystems are encapsulated in diagram, listing each level of hierarchy You can also transmit throughout compound blocks, where the top by compound block name. Using the your diagrams without wires, and restrict level blocks display major component Diagram Browser, you can quickly jump the portions of the diagram referenced connectivity, leaving the underlying to any location in your diagram. by the wireless signals. levels to describe the logic of each component. Transmitting Signals Working with Other Applications Increased interoperability with leading Compound blocks encourage a modular Signals travel from one block to another via the wires that connect them. Signals mathematical and engineering software approach to diagram construction by extends VisSim’s computational power. letting you design and test functionally can be defined according to: • Interface with MatLab to calculate independent components concurrently. • Data type: single, double, signed or general matrix expressions, and read/ unsigned 8-, 16-, or 32-bit integers, write MatLab variables. fixed-point, or Boolean. • Import and translate Simulink .MDL files into VisSim models. The translator displays model translation information, including Simulink version and blocks created, and provides a log file with translation details. • Exchange symbolic and algebraic data with Maple.

Simulink F14 flight control model (above) automatically translated into VisSim model (right). VisSim plot blocks can be connected directly to corresponding Pilot Input, Flight Dynamics, and Wind Gust subsystems for easy viewing of model behavior.

 VisSim provides nine fixed- and adaptive-step integration algorithms. The adaptive algorithms let you set the minimum step size and maximum • Use ActiveX for real-time, iteration count. For adaptive Adams- interprocess communication. Moulton and BDF, you can specify • Embed, edit, and execute Newton Iteration for stiff systems or MathCad documents in a VisSim Function Iteration for non-stiff systems model. to more accurately control the step size Simulation data can also be logged around discontinuities. in .DAT, .M, .MAT, and .WAV files for post-processing. Protecting Your Work In large project development, where multiple engineering groups are working on the same project, you can restrict access to your designs by applying password protection. Protection Using Integration Solvers Simulating Hybrid Systems can be applied to entire models or to Simulating dynamic systems generally Hybrid models contain both discrete specific modules within a model. includes the numerical integration of and continuous time blocks. In hybrid differential equations. VisSim offers systems, the outputs of the discrete Simulating Models a full range of integration solvers, blocks are held constant between When VisSim simulates a model, it including fixed step, adaptive step, and successive sample times, and updated solves the equations that define the stiff system solvers that support linear, at times that correspond to the specified model and computes model outputs with nonlinear, continuous-time, discrete- discrete sample time. The outputs of no intervening steps. You can easily time, and hybrid simulations. These continuous blocks are updated at every perform “what if” scenarios: VisSim lets solvers control the speed and accuracy time step. Similarly, the inputs to the you change system parameters as the of the simulation results. discrete blocks are updated at times that simulation progresses, and view the correspond to the discrete time interval results immediately in plots and display while the inputs to continuous blocks are blocks. updated at every time step. Hybrid systems can also contain multi- rate sampling for discrete transfer functions.

Conditional execution of subsystem that prevents divide-by-zero for the zero frequency case in a 10-phase sine generator.

 www.vissim.com

Conditionally Executing Subsystems • Rapid mode: components in the calculate optimal PID controller gains Triggered compound blocks are model are translated into executable subject to user-defined constraints. subsystems that are executed code and incorporated back into the Debugging Models conditionally through an external model as VisSim-generated DLLs. VisSim provides debugging tools for Boolean trigger. Any portion of a (Requires VisSim/C-Code). examining, locating, and correcting VisSim model can be encapsulated in Optimizing Parameters inconsistent system behavior. You can a triggered compound block, allowing VisSim includes several built-in step through the simulation, one time you to significantly speed up your parameter optimizers to improve step at a time or set breakpoints, and simulations. Applying a local time system performance by finding optimal examine data and signal values for step to a triggered compound block parameters for controller gains, system suspect blocks. accommodates multi-rate simulations. constants, and curve-fitting coefficients. You can also set warnings for Executing Modes You can alternatively use VisSim/ unconnected blocks, algebraic loops You typically run a simulation from the OptimizePRO (available separately) to and math faults. VisSim GUI; however, if you only need to see the outcome of the simulation, you can run it in batch mode. You also have these execution mode choices: • Normal mode: the model is interpretively simulated.

VisSim model of a collapsible upper-airway and pulsatile heart (above). Each module has been translated into DLLs and incorporated back into the diagram to restore real- time execution. The VisSim-generated DLLs (left) run up to five times faster than their block diagram counterpart.

 Viewing Simulation Results Viewing model behavior as a simulation executes provides added insight into Interference pattern of two the dynamics of your model. VisSim damped sinusoidal energy provides a wide range of blocks for sources. visualizing, analyzing, animating, and collecting simulation data. Interactively Plotting Time Domain, XY, and FFT Data VisSim’s plot block displays up to 16 color-coded signals in customizable time Animating and Visualizing VisSim Models in 3D Distributing Models and graphs. Using the Virtual Reality Modeling The VisSim Viewer is a tool for sharing Plots can display frequency power Language (VRML), you can create VisSim models with colleagues and spectrum data through FFT algorithms. 3D virtual realities and control object clients not licensed to use VisSim. They can also show vector and matrix transformation, motion, lighting, and The Viewer lets you open and simulate data as 3D objects and control surface camera view from VisSim. VisSim models of any size; change characteristics and lighting. block and simulation parameters to test design scenarios; customize plots and other display blocks to present simulation data in different formats; and make printed copies of VisSim models for presentation or archiving. Generating Production-Quality Code All or part of a VisSim model can be translated into highly optimized ANSI C code for real-time simulation or development. Accelerating Simulation Speed Using VisSim/C-Code (available separately), you can generate code that can be compiled and run on any VisSim 3D animation of lunar module platform that supports an ANSI C landing (right). The virtual reality world compiler. The resulting executables is linked through the world3D block run up to five times faster than their (top). block diagram counterparts, which is particularly useful for applications with high sampling rates.

 www.vissim.com

VisSim model of a 400 kHz digital buck voltage converter that uses a built-in optimizer to tune the PI control against the simulated buck circuit (left). Once the controller gains are tuned, the embedded control is created with ADC input synchronized to the PWM output, along with background tasks to monitor temperature and set status LED bank (below, left). VisSim auto-code generation creates the .C file used to implement the control on the target (below, right).

Performing Model-Based Design chip peripherals, including PWM, Once the model is verified, you can Model-Based Design lets you design, quadrature encoder, event capture, generate production code for the test, and verify embedded control CAN, I2C, serial, SPI, ADC, and GPIO, controller and download the code to the algorithms without having to wait for the allowing a faster and deeper coverage target MCU. VisSim Hotlink technology hardware to test your systems. Using of commercial actuators, sensors, and lets you interactively change controller this approach, you can identify and communication buses. gains on the target from VisSim, and correct problems in control algorithms Typically, system models include both observe on-target signals, like phase earlier in the design cycle resulting in the control algorithm and the plant. The currents and internal controller terms in lower cost and faster time to market. controller subsystem can be scaled, VisSim digital scopes. With VisSim/Embedded Controls fixed-point, while the plant is full- Developer (available separately), precision floating point. You can perform you can rapidly prototype embedded off-line simulation to verify, debug, and controllers for Texas Instruments MCUs, tune your algorithms, providing detection DSCs, and MSP430 microcontrollers. and resolution of typical low-cost VisSim/Embedded Controls Developer controller issues with precision loss and has unique support of common on- overflow before ever generating code.

 VisSim Blocks

SUMMARY OF STANDARD BLOCKS Animation DDE Nonlinear Signal Consumer Transcendental animate DDE case display acos animation3D DDEreceive crossDetect error asin camera3D DDEsend deadband eventDisplay atan2 light3D delayedSwitch eventLog bessel lineDraw Integration init export cos mesh3D integrator limit histogram cosh world3D limitedIntegrator map light exp resetIntegrator max meter ln Annotation merge plot log10 bezel Linear Systems min plot3D sin comment stateSpace quantize spectrumDisplay sinh date transferFunction relay stop sqrt index sampleHold stripChart tan label MatLab Interface video tanh scalarToStruct MatLab Expression Optimization scalarToVec MatLab Read Variable constraint Signal Producer General StructToScalar MatLab Write Variable cost button embed* variable globalConstraint const expression vecToScalar Matrix Operations parameterUnknown dialogConstant OLEobject wirePositioner buffer unknown dialogTable userFunction* diag import dotProduct Random Generator parabola Bold blocks indicate new version Arithmetic eigenvalues -X beta pulseTrain 8 blocks and new features to fft * cauchy ramp existing blocks ifft / erlang realTime indexAssigned Blocks followed by an asterisk (*) abs gamma sawtooth invert are not included in the Personal complexToReIm gaussian sinusoid linearSolve or Student Edition of VisSim convert pareto slider maxElement gain PRBS squareWave minElement magPhase rayleigh step matrixConst pow triangular timeStamp matrixIn sign uniform triangleWave matrixMerge summingJunction weibull matrixOut unitConversion Time Delay matrixSize Real-Time timeDelay Audio meanSmooth rt-DataIn unitDelay medianSmooth audioIn rt-DataOut multiply audioOut ActiveXread polyFit ActiveXwrite Boolean polyRoots > psd State Transition < reshape stateTransition >= splineFit <= transpose == vectorSort != vsum and not or xor

 www.vissim.com VisSim Features and System Requirements

SUMMARY OF FEATURES Modeling Simulation Visualization • Drag-and-drop block diagram construction • Linear, nonlinear, continuous-time, discrete-time, • Spectrum display time-varying, and hybrid simulation • 120+ linear and nonlinear blocks • 3D animation • Toolbox functions for control, • Interactive, batch, auto-restart, and single step • Interactive XY, time domain, FFT, and discrete electromechanical design, hydraulics, signal execution modes plots and strip charts processing, process, chemical, thermal, and • Integration algorithms — 16 signal traces turbines — — Log, semi-log and linear scales • ActiveX support — Trapezoidal — Automatic Y scaling and selectable time axis • Dialog box generation for compound blocks — Runge Kutta 2nd and 4th orders scaling • Vector and matrix operations — Adaptive Runge Kutta 5th order — Multi-XY traces • Automatic dialog table construction — Adaptive Bulirsh-Stoer — Multi-plot windows • Visual diagram comparisons — Adaptive Adams-Moulton, adaptive BDF — Snap to data points • DLL wizard for custom blocks in C, C++, — Stiff backward Euler — Matrix input Fortran, or Pascal (not available in VisSim PE) • MatLab, Mathcad, and Maple integration — ASCII, .M, .MAT, and .WAV • FIR and IIR • Triggered compound blocks • 3D plotting • Hierarchical models with protection • Local bounds for compound blocks • PID faceplates • Diagram Browser • Real-time scaling controls simulation rate • Audio and visual alarms • Embedded subdiagrams with editing • 1-D, 2-D, and 3-D look-up table • Dynamic graphs, meters, and histograms • Enhanced search capability • "What-If" scenarios • Publication-quality presentation mode • Automatic wiring • 28 matrix operators • Goto tags General • Complex number support • Global and local variables • Integrated VisSim Viewer • 11 random distribution functions • Layering bezel blocks • VisSim Tutor • Reset states • Font and digit control for numeric displays • Multiple diagram windows • Parameter optimization • Data I/O in ASCII, .M, .MAT, .WAV formats • Read and write audio data • Variables for initial conditions and block • DDE with Copy Link and Paste Link parameters • Diagram reports • Customizable toolbar • Automatic reload of last diagram • State checkpointing • Allow use of comma as decimal point • String processing • Implicit system solvers • Support time format for data import files • Global, local, and nested path aliases • Conversion of s- and z-domain transfer functions • Hyperlink to internet or external document Debugging • Multi-level undo and redo • Error highlighting • Quiet background logging of system errors and events • Wire checking • Single step execution mode System Requirements • Windows XP, Vista, 7, or 8 • 128 MB RAM • 125 MB hard disk space

 VisSim Add-On Modules

PRODUCT DESCRIPTION

VisSim/Analyze Perform frequency domain analysis of a linearized .

VisSim/CAN Transmit and receive CAN data.

Generate highly-optimized ANSI C code that can be compiled and run on any platform VisSim/C-Code that supports an ANSI C compiler.

VisSim/C-Code Suppor Library Source Port VisSim C code to any target.

Simulate communication systems at the signal level using 200+ communication, , and RF blocks. Comm add-on modules are available that support real-time VisSim/Comm data acquisition from Red Rapids drivers; PCCC turbo codes; Bluetooth, 802.11 a/b/g, and ultrawideband wireless designs; and translation of Comm blocks into ANSI C code.

Rapidly prototype embedded controls for microcontroller units. Simulate and generate VisSim/Embedded Controls Developer scaled, fixed-point ANSI C code, as well as code for on-chip peripherals.

Simulate fixed-point algorithms prior to code generation and implementation of the VisSim/Fixed-Point algorithm on fixed-point hardware.

VisSim/Knobs and Gauges Provide realistic GUI for operator interface to VisSim.

Develop high-fidelity models of process plant subsystems or components from real- VisSim/Model-Wizard time plant and historic data.

Model and simulate motor control systems with customizable amplifiers, controllers, VisSim/Motion filters, motors, sensors, sources, tools, and transforms.

VisSim/Neural-Net Perform nonlinear system identification.

VisSim/OPC Connect to any OPC server and log data or run a virtual plant in VisSim.

VisSim/OptimizePRO Perform generalized reduced-gradient method of parameter optimization.

Perform real-time data acquisition and signal generation using I/O cards, PLCs, and VisSim/Real-TimePRO DCS. Develop and validate control strategies, and perform HIL simulations.

VisSim/Serial Transmit and receive RS-232 serial data.

VisSim/State Charts Model event-driven systems with graphical UML 2.1-based editor

VisSim/UDP Transport UDP packet data over the ethernet.

10 www.vissim.com VisSim Case Studies

COMPANY PRODUCT APPLICATION

Air Force Research Laboratory VisSim High-fidelity 6DOF model that simulates flight Munitions Directorate VisSim/C-Code dynamics and state-of-the-art weapons system

VisSim Carrier Reciprocating chiller model simulating faults VisSim/Real-TimePRO

VisSim Dynamic process control model of a non-woven DuPont VisSim/Real-TimePRO sheet manufacturing facility

Space vector PMSM motor control model with Electric Motion Systems VisSim/ECD regenerative braking and RS485 supervisory control

Embedded controller for high-speed labeling Energy Sciences VisSim/ECD machine

Digital synthesizer with modified PLL Ericsson VisSim/Comm circuit

Resonance Eliminator Controller (REC) for VisSim General Electric industrial drive systems used in metals rolling VisSim/Real-TimePRO applications

VisSim General Motors Brake control system model VisSim/Real-TimePRO

LM2500 gas turbine model that shows nonlinearities Honeywell VisSim and evaluates relationship between the turbine and controller

Indramat VisSim Frameless motor, drive, and controller model

VisSim Process control model for brine treatment and INEOS Chlor VisSim/OPC operator training

VisSim VisSim/C-Code ResMed Sophisticated breathing simulator VisSim/C-Code Support Library Source

VisSim Sequal Technologies Oxygen delivery algorithm model VisSim/Real-TimePRO

General Surface Mount Application Machine model Universal Instruments VisSim that picks surface mount components and places them on printed circuit boards

11 About Visual Solutions

Visual Solutions is a pioneer in the development of world-class software for modeling and simulating complex dynamic systems and for Model-Based Design of embedded systems. VisSim is a visual environment for developing system models and performing dynamic simulations. Its unparalleled power, ease of use, and reliability has made it an essential tool on thousands of engineering projects spanning a diverse range of industries and disciplines, including motion control, closed-loop control, automotive, HVAC, aerospace, medical devices, and embedded controls development. Since its founding in 1989, Visual Solutions has maintained a strong connection with the academic community. Visual Solutions software products have been incorporated into the curricula and research laboratories at thousands of universities and colleges. It has enhanced and improved teaching methods, learning skills, and research strategies.

Contact us now for more information on the VisSim product line. Phone:1-800-VISSIM-1 Email: [email protected] www.vissim.com Modeling The Future

© 2013 Visual Solutions, Inc. VisSim and VisSim HotLink are trademarks of Visual Solutions. All other products listed in this document are trademarks or registered trademarks of their respective 12companies.