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 such as MATLAB/Simulink, LabView, and ETAS ASCET is included for users who want to extend the models. Additional packages offer extra capabilities.

CarSim

CarSim includes the VehicleSim (VS) browser 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. The four configurations 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

CarSim Trailer

CarSim Trailer extends the software, enabling eight more solvers to cover the above four configurations when towing one- and two-axle trailers.

CarSim with Frame Twist

CarSim with frame twist includes DLL's with models that include torsional compliance in the body that can be significant for some utility and motorsport vehicles.

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).

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 or Linux RT. 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.

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, plus an RT version of SurfAnim (the animator in CarSim), plus a real-time block that slows the math model down to "wait" for real time, plus controllers for inexpensive (game) controls 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 source and CarSim RT can be used to replace the math models in existing simulator systems. If the simulators run the math model on a Windows PC, it is often possible to run the regular CarSim math model DLL's using the VehicleSim API to link between your simulation environment and the CarSim DLL's.
  • 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.
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.
Simulating a split-mu braking test with CarSim trailer. Click for full size.
Motion-based simulator at the DLR in Braunschweig, Germany. Click for full size.