Video Demos

CarSim Packages

CarSim is software for simulating and analyzing the behavior of four-wheeled vehicles in response to steering, braking, and acceleration inputs. CarSim runs faster than real-time using ordinary PC's. The basic CarSim packages require no other software, although full compatibility with other simulation environments is included for MATLAB/Simulink, LabView, ETAS ASCET, and programming languages such as Visual Basic and C.

Additional packages offer extra capabilities.

Basic CarSim

A basic Windows CarSim package includes the VehicleSim (VS) browser with GUI and database, engineering plotter, animator, and vehicle models.

The vehicle models are provided as dynamically linked libraries (DLL's). The same DLL is used for stand-alone runs (the core vehicle model running with no external software), or with Simulink, or LabView, or ASCET, or custom programs written in C. The DLL always runs at high speed, giving results much faster than real-time on typical PCs. Of course, identical behavior is obtained regardless of the simulation environment, because there is just one DLL used in different contexts.

The basic CarSim license supports four custom DLL's, each with custom equations for a specific combination of suspension types. Four DLL's cover four-wheeled vehicles with these combinations:

  • Independent front, Independent rear
  • Independent front, solid-axle rear
  • Independent front, twist-axle rear
  • Solid axle front, solid-axle rear

Windows Hardware and Software Compatibility

The software runs on Windows 7, Vista, XP, or 2000, with either 32-bit or 64-bit versions (7, Vista, XP).

The math model VS solver programs are CPU intensive, so fast Intel-compatible machines with at least 1 GB RAM are preferred. However, they work fine with 1 Gz (although 2.4+ GHz is recommended). The hard drive should have at least 1 GB of free disk space. The animator makes use of the video card hardware and requires OpenGL 2.0 hardware support with at least 128 MB video memory (NVIDIA, ATI, or similar cards are needed).

Here are versions of popular external software that can optionally be used to extend the models:

  • MATLAB R13.1 and up; new multi-port Simulink support of sensors requires MATLAB R14 and up
  • LabVIEW 8.2 and up
  • ASCET 5.2 and up
  • TNO MF-Tyre 6.1 and up
  • TNO MF-Swift 6.1 and up (Optional license required from TNO)
  • COSIN FTire Version 2.8 (Optional license required from FTire. Ftire is updated frequently; versions 2.9 and 2.10 do not work; please contact us for information about newer versions.)

Note: 64-bit MATLAB/Simulink works with 64-bit VS Solvers; all of the other packages work with the 32-bit VS solvers. (Both 32-bit and 64-bit versions are provided in the normal installations.)

Sensors

Basic CarSim includes 99 programmable moving objects (traffic vehicles, crossing vehicles, pedestrians, etc.). An option is also available to provide up to 20 range and detection sensors. The sensors provide 11 variables for each detected object (range, range rate of change, bearing angles, elevation, magnitude, etc.). The detection variables are typically sent to Simulink for use in user-defined advanced driving assistance systems (ADAS) or other advanced controllers. The sensors have senstibity to range, bearing, elevation, and reflectiveness. Targets can be rectangular or cylindrical. Occlusion (blocking of view) is supported, to simulated conditions where some objects block others, or when part of a large object (building, parked car, etc.) is partly outside the range of the sensor field.

CarSim Trailer

CarSim Trailer allows eight more solvers to be used, to cover the above four configurations when towing one- and two-axle trailers.

CarSim with Frame Twist

CarSim with frame twist allows alternate DLL's to run with math models that include torsional compliance in the body. The frame twist can be significant for some utility and motorsport vehicles.

CarSim RT & CarSim Trailer RT

CarSim Real-Time (RT) provides math models compiled to run on "target" computers with real-time operating systems such as QNX, Linux RT, dSPACE, etc. A Windows "host" machine is used for the CarSim database, animator, and plotter. Files are automatically sent to and received from the target, where the Hardware-in-the-Loop (HIL) testing is controlled. (See the RT page for more information.) RT versions are available as off-the-shelf CD's for these platforms:

  • dSPACE (DS1005, DS1006, DS1103, MicroAutoBox)
  • Opal-RT RT-Lab systems (version 7 and higher)
  • National Instruments LabVIEW RT
  • ETAS LabCar RT
  • Fujitsu-Ten CRAMAS
  • A&D (AD5410, AD5440)

Input and output files from CarSim RT can be exchanged with users of offline (Windows, non-RT) CarSim. This lets you follow the same design and evaluation from preliminary design to HIL evaluation.

Driving Simulators (CarSim DS)

CarSim vehicle math models have been used in many driving simulators. Here are several ways to use CarSim in a driving simulator.

  • The CarSim DS desktop package includes the basic CarSim software and a license that activates the "live" RT mode of the CarSim animator, plus an RT control that slows the math model down to "wait" for real time, plus a GUI that supports several supported controllers for steering, braking, and shifting the transmission. Options for this package include a higher-quality steering system for more accurate steering feel, and additional live animations for mutiple-screen systems.
  • CarSim can be used to replace the math models in existing Windows-based simulator systems. It is often possible to run the regular CarSim math model DLL's from your simulation environment using the VehicleSim API. If not, the CarSim source can be obtained and modified as needed.
  • The regular RT systems support live animation and are sometimes uses as driving simulators, especially when the simulator is intended to include HIL controllers.
  • CarSim runtime is an option for companies that develop driving simulators. Using CarSim source or RT to get started, the math models can be modified as needed and then a multiple-copy license is arranged with Mechanical Simulation for the customized copies.

CarSim Source

Source code is available for math model equations, to support custom projects such as driving simulators and advanced software projects. All of the source code for the multibody kinematics and dynamics (machine-generated by VehicleSim Lisp, a symbolic multibody program) is provided, along with some of the hand-written library routines for the springs, controllers, etc. A precompiled library file is also provided that provides low-level runtime support for reading input files, processing VS commands, and handling the proprietary 3D VS road model.

Note that you might not need the full source. Even the basic CarSim package comes with limited source that allows you to extend the models using the VehicleSim application program interface (API).

How to Buy

CarSim Information

Comparing two versions of a brake controller algorithm from Simulink on a split-mu test using the basic CarSim package. Click for full size.
With a sensor license, the CarSim vehicle can run with up to 20 sensors. Click for larger view.
Simulating jack-knife stability test with CarSim trailer. Click for full size.
Fixed-base driving simulator with three screens and Sensodrive steering wheel. Click for full size.