Arcman
Arcman
Introduction
This chapter introduces the ArcSim software. It provides an overview of what the
software can do for you and how it works.
What ArcSim Is
ArcSim is an easy-to-use integrated set of computer tools for simulating and analyzing
the braking and handling behavior of a six-axle tractor-trailer combinations. ArcSim
performs virtual tests, replacing an instrumented test vehicle with a computer model. It
solves the equations of motion numerically for a mathematical model to predict 3D
motions of a vehicle in response to braking and steering inputs. The software runs on
Intel PC’s equipped with Windows 95 or Windows NT. It is self-contained, requiring no
additional programs or tools to function.
Note: The ArcSim environment is based on the commercial program
TruckSim, developed at The University of Michigan
Transportation Research Institute (UMTRI) and is now enhanced,
maintained and licensed commercially by Mechanical Simulation
Corporation (MSC).
In order to provide documentation for ArcSim with reasonable
effort, this manual was created by modifying the TruckSim User
—1—
Chapter 1 Introduction
1. Optionally modify the vehicle parameters (dimensions, mass properties, etc.) and
the parameters (dimensions, stiffness coefficients, etc.) of the vehicle components
(brake system, steering system, shock absorbers, springs, etc.).
2. Specify the control inputs for braking and steering.
3. Run the simulation.
4. View the simulation results:
• Animate the simulation output to get an overall view of the vehicle behavior.
• Make plots to analyze behavior in more detail.
With practice, you will be able to evaluate how component and vehicle designs affect
critical aspects of behavior such as directional stability and rollover.
ArcSim also includes simulation results that were computed “off line” using research
codes. Although the research codes are not included in ArcSim, the computed results can
be viewed using the ArcSim plotter and animator.
Vehicle Dynamics
Solver Programs
ArcSim combines information from the data screens with vehicle dynamics programs to
simulate the vehicle behavior. ArcSim also links the simulation results with animation
and plotting programs.
ArcSim is made up of four tightly integrated types of software.
1. Data screens serve as your primary interface to ArcSim. They contain vehicle
model parameters, control inputs, and run settings. The data screens are part of a
data base that maintains libraries of related data sets.
2. Simulation programs numerically solve equations of motion (i.e., mathematical
vehicle models) to calculate output variables. The process of performing these
calculations is called making a “simulation run.” These programs are called
automatically from the data screens.
3. An animator shows the computed vehicle motions using wire-frame shapes. You
can view the simulated motions, zoom in and out with a simulated camera, and
interactively move around the simulated vehicle to change your point of view.
4. The Windows Engineering Plotter (WinEP) creates plots of vehicle variables as
functions of time or as cross plots of output variables. Use this tool to view any
of the hundreds of variables computed by the simulation models. Plot any
combination of variables, and overlay plots from different runs.
—5—
Chapter 2 Software Organization
Library — a file containing one or more data sets of the same type, plus a standard
graphic interface for viewing those data sets. All ArcSim library files have the extension
TBK.
Link — a connection from one data set to another, indicated with a blue field and an
adjacent triangle button with a triangle. For example, here is a link to a vehicle data set.
The adjacent button has a pull-down menu that can be used to rapidly change the link to a
different data set. The menu can also be used to “follow the link” and go to the data set.
MSC — Mechanical Simulation Corporation. The company that licenses, maintains, and
supports ArcSim.
Numerical integration — a computation method used to solve the differential equations
that define a mathematical model of vehicle dynamics. Output variables produced by the
models in ArcSim are based on internal model variables that are calculated over time
using numerical integration.
Parameter — a value that you can change from a ArcSim data screen. Parameters are
properties of the ArcSim models that are constant during a computer run. Variables, on
the other hand, are computed by the simulation programs and cannot be viewed until after
a run is made.
PARSFILE (parameter file) — a keyword-based text file used to communicate between
various ArcSim programs.
Ribbon bar — the collection of buttons and user controls displayed at the top of nearly
every ArcSim data screen.
Run — Shorthand for “run a simulated test” (e.g., “make a run”). Also used to refer to
the “outcome of a simulated test run” (e.g., “look at a run”).
Screen — shorthand for “screen layout associated with a library.” This manual has many
references to the act of going from one screen to another. Changing the screen simply
changes the view to show data in a different library.
SGUI — Simulation Graphical User Interface. The architecture of ArcSim (data screens,
plotter, simulation programs, animator) has been used for other software packages. The
generic architecture, created at UMTRI and further developed by MSC, is called the
SGUI.
Solver program — a program that numerically solves the equations of motion of a
vehicle model to simulate a test. The ArcSim solver programs are customized with the
equations of motion for specific truck models. They also handle all required calculations
and input/output.
TBK files — binary files that contain the ArcSim libraries. In addition, some of the code
needed to make the ArcSim buttons work is stored in TBK files. All necessary TBK files
are provided in the ArcSim installation, and they are managed automatically by ArcSim.
TBK files are native to the ToolBook software.
Triangle button — a button with a triangle icon ( ), usually located adjacent to a field.
Press the button to display a pull-down menu.
ToolBook™ — a “Visual Authoring System” from Asymetrix. The graphical interface
and the data base portion of ArcSim are managed by code that runs within ToolBook.
Also, the integration between the data base and ArcSim programs is provided by
ToolBook. The running of ToolBook code and management of ToolBook libraries is
done by the ToolBook runtime package, which is included with ArcSim.
UMTRI — The University of Michigan Transportation Research Institute. ArcSim was
created at UMTRI.
Unit — in the context of a vehicle, a unit is a tractor, trailer, truck, or bus. A vehicle unit
is a frame with the parts that are permanently attached (body, axles, hitch, etc.). Trucks
and buses are called single-unit vehicles, and vehicles with two or more units are called
combination vehicles.
Variable — an output quantity computed by the ArcSim vehicle models. In contrast to a
parameter, a variable can change with time in a way that must be simulated using a
detailed vehicle dynamics model. Output variables can be plotted with WinEP, the
ArcSim plotter. Motion variables can be read by the animator to create animation of the
simulated vehicle motions.
WinEP — the Window version of an Engineering Plotter developed at UMTRI for
making X-Y plots from ERD files.
Engineering Units
The unit system for ArcSim is defined in the table below.
The ArcSim unit system.
Property Units
Length (vehicle inputs) in
Length (output, road data, ft
animator shapes)
Mass lbm
Force lbf
Moment of inertia in-lbf-s2
Angle deg
Acceleration g's
Vehicle speed mi/h
Pressure psi
Notes: The units system uses pounds-mass (lbm) for mass and pounds-
force (lbf) for force. In most screens, the units are shown simply as
Data set #3
Data set #2
Data set #1
Data Screen:
A view of one data set
though the graphical user
interface
Data Screens
Common elements in a data screen will be introduced for the example screen shown in
Figure 2.1.
Each data screen has three kinds of elements that you use:
• Yellow fields. These contain data that you can edit directly. For example, to
change wheelbase, find the yellow field 3 with the current wheelbase value,
click on the field, and change the value using the mouse and keyboard.
• Buttons. All of the library screens include buttons at the top to quickly navigate
through the data sets in the library, and to go to other libraries and programs in
ArcSim (see the buttons near 2 ). In addition, some of the libraries have special
buttons for functions such as running a simulation, running an animation, etc.
• Pull-down menus. Some of the buttons are marked with a triangle , indicating
that pressing them with the left mouse button brings up a pull-down menu.
2
1
The yellow field in the upper-left corner of the screen is the title of the data set: M916A1
Tractor 1 . The title is simply text that you choose to identify this data set in the library.
It has no significance to the simulation.
Blue fields with adjacent triangle buttons are common in ArcSim. Each represents a link
to another data set. The name of the data set is shown in the blue field, and the triangle
button is used to display a pull-down menu. For example, click the triangle button 4 to
view the following menu.
The menu can be used to select a different data set in the linked library (choose the data
set of interest from the list displayed at the bottom of the menu). It can also be used to go
to the linked data set (choose the menu option to Go To Data Set).
After using Go To Data Set to go to a different library, you can return to the previous
screen using the Back button located in the upper-right corner of each data screen.
The standard elements in a data screen, such as the ribbon bar at the top, and the blue
links, are described in more detail in Chapter 7.
On-Line Help
Every ArcSim screen includes a status bar at the bottom of the screen. Move the cursor
over an object to read a 1-line description of its function in the status bar.
Post-Processing
Programs
Start Screen Animator
X-Y Plotter
Runs Screen:
Simulation Setup
You normally start ArcSim at the Startup screen. Clicking the Start button on that
screen takes you to the Runs screen. The Runs screen is the window to a library of many
run descriptions, each of which has many links to vehicles, inputs, and various settings.
The Runs screen also has three buttons for:
• Running new simulations
• Using the plotter to view simulation results
• Using the animator to view simulated motions
Figure 2.2 shows a more detailed map of the various libraries (screens). For example,
from the Runs screen, you can go “down” to the various inputs (path, brake, steer, and
speed), the vehicle descriptions, the plot and animation setup, and the parameters that
control the numerical solution methods used to make a simulation.
Note: In order to create the detailed map at a reasonable size, the names
were shortened from the full screen titles.
ArcSim Startup
Runs
Steer Input
Format Filters
Shapes
Suspension Tire
Spring Fx Fy Mz
Figure 2.2. Map of the ArcSim libraries.
In the map, data sets from different libraries are connected with links. For example, here
is a link between the Runs library and a vehicle library:
Type of vehicle to be simulated
Post-Processing
Programs
Start Screen Animator
X-Y Plotter
Runs Screen:
Simulation Setup
Figure 3.1 shows the Runs screen for a typical data set. The circled numbers will be used
in the next few sections to describe common actions.
— 14 —
Chapter 3 How to Use ArcSim
1 2 3
4
7 10
5 11
8 9
6
12
14
13
15
16
When Starting
1. Start ArcSim to get to the Startup screen.
• Use the Windows Start menu, or
• open the file Startup.tbk
Start Screen
Click Here
Runs Screen:
Simulation Setup
After Starting
All ArcSim screens include a standard ribbon bar with navigation buttons. One of these
will take you to the Runs screen.
1. Click the Runs button in the ribbon bar ( ) or use the Runs command from the Tools
menu.
Click Here
1. Click the X box in the upper-right corner of the WinEP or Animator screen:
Notes: If the vehicle comes to a complete stop, or rolls over, the normal
settings cause the program to quit after updating all output files.
There are a few other occasions when the ArcSim solver program
will not run, or will quit prematurely. Among them are:
1. You may have picked a run that was made “off line” with a
simulation program not included in ArcSim.
2. The output file cannot be written if it is in use by the plotter or the
animator (this can happen if you are replacing a run, as described
in the next section).
3. In rare circumstances, a bad input parameter will cause the
program to quit before it can create any output files. However, in
most cases, the program will generate the output files even if it
quits suddenly.
1. Find the existing data set in the Runs library that you want to replace. Use the navigation
buttons 2 next to the Data Set (title) box 1 .
2. Inspect and edit the simulation inputs.
• Select the vehicle of interest from the linked vehicle library 4 .
• Select a steering input from the linked library 5 .
• Select a braking input from the linked library 6 .
• Select the vehicle speed in one of two ways:
a. enter a speed into the yellow field 8 or
b. select a speed profile from the linked library (e.g., the link under 6 ).
• Enter the simulation stop time 9 .
3. Click the Run Simulation button 7 . A run is made, as described in the previous section,
except that in this case the previous run (selected in step 1) is over-written.
11
15 16
14
13
15
16
17
17
17
18
18
3 5
2
Method
Start from the Runs screen (see Figure 3.1 on page 15).
1. Find an existing data set that involves the type of vehicle you are interested in. To
navigate through the Runs library, use the buttons 2 next to the Data Set (title) box 1 .
2. Go down to the linked vehicle data set.
Notes: The top-level vehicle screen defines a loaded vehicle. If you only
want to change the axle loads, you do not have to go any further.
However, the following steps are needed to go down and change
the vehicle properties.
For the ArcSim combination vehicle, there is one link for the
tractor and another for the trailer.
3. Repeat step 2 as needed to go down to more detailed levels. To start, go down to the
linked data set for a vehicle unit (unloaded truck, tractor, or trailer). If you are interested
in making a new component or subsystem data set (tire, suspension, etc.), use the
appropriate link to go down to it. As indicated in the map shown in Figure 2.2 on page
13, it is possible to go down through several levels of detail.
For the purpose of making changes, you are at the “bottom” when
• the current screen has no blue links, or
• the current screen has blue links, but the data sets available from the menus
associated with the links are suitable for your purposes. In other words, you do
not have to modify or create any data sets that are further “down” in the data base.
4. Click the New button (in the ribbon bar) to copy the current data set.
5. Give the new data set an appropriate title in the yellow “Data Set” field 1 .
6. Modify the data set:
• Modify the values in the yellow fields as needed.
• Change the data sets in any blue links, using the adjacent pull-down menu.
Note: When you clicked the New button, you created a new data set that
is now available for use in ArcSim. It is in the same library as the
Example
Suppose you are going to change the spring in the tractor rear suspension of a
combination vehicle. Starting from the Runs screen, you would do the following:
1. Find a run involving a similar tractor semitrailer vehicle.
2. Go down to the vehicle data set, which defines a loaded vehicle configuration.
3. Go down to the tractor data set.
4. Go down to the rear suspension data set.
5. Make a new suspension data set, and change the spring.
6. Return to the tractor data set. Make a new one, and change the rear suspension
link(s) to use the data set created in step 5.
7. Return to the vehicle data set. Make a new one, and change the tractor link to use
the data set created in step 6.
8. Return to the Runs data set. Make a new one, and change the vehicle link to use
the data set created in step 7.
9. Click the Run Simulation button.
4. When all changes have been made, return to the Runs screen by clicking the Runs button
in the ribbon bar ( ) or using the Tools menu.
Warning: Almost every data set in the ArcSim data base is referenced by other data
sets (via the blue links). When you change values in a data set, you have in effect
also changed all data sets that reference it. For example, if you change a steering
system parameter, every vehicle data set that is linked to the steering system data
set will use the new parameter values in new simulation runs.
Hopefully, this is exactly what you intend. If not, then consider using the New
button to create a copy of the data set, then change the copy and link to it in those
places where you want to use the new data.
The menu typically contains more items than will fit on a monitor with VGA resolution
(640 x 480). In this case, the first item in the menu is More. Highlight it to view more
menu items.
Notes: After using the GO menu, you can return to the previous library
using the Back button from the ribbon bar.
Click here
Notes: When the box is checked, try to modify a blue link or a yellow
field. You will find that all pull-down menus next to blue links
allow only the navigation option to go to the data set. You will also
find that clicking on a yellow field brings up a message telling you
that the data set is locked.
At any time, you can unlock the data set by clicking the box again
to un-check it.
The locked box protects only the data shown on the screen. Data sets in linked libraries
are not affected. For example, you might lock a run data set. However you could still go
to the vehicle data linked to the run and change the vehicle data set if it is not locked.
4. Click the button Update All PAR Files 1 . Besides updating all PAR files, the Locked
buttons on every screen will be checked.
5. Click the Make Plots button 14 . This starts the program WinEP and instructs it to make
one plot for each data set listed in the field Selected Plots 11 .
6. After viewing the plots, exit the plotter by clicking the in the upper-right corner of the
screen.
15
16
1 7
3 4 5
9 10
12
6
13
11
14
1
6
2
7
7
3 4
6
5
8
7
1 2 12
13
3
10
4 5 6
11
2. Use the navigation buttons 1 in the ribbon bar to find a plot setup similar to what you
want.
3. Click the New button 2 to make a new data set.
4. Select a run from the library labeled Source of Plot Variables 8 . When you select a
run, the output ERD file associated with the run is scanned and all of the variables are
listed in fields 10 and 11 .
Notes: The run must have been made in order for the ERD file to exist.
If you are sure that the run whose name is showing in the link 8
does exist, you can force ArcSim to scan the file by clicking the
Show Channels button 7 . The reason that the fields are initially
blank is that the file may have been deleted after the data set was
last viewed.
If the ERD file has more than about 150 variables, only the short
names are shown in fields 10 and 11 . If it has fewer variables,
more information is shown.
5. Click the Clear button 5 to clear the field called Data to Plot 3 .
6. Select X and Y channels of interest from fields 10 and 11 . Add them to the list of data to
plot 3 using the Add button 6 or by double-clicking in either field 10 or 11 .
7. Continue to build the list of data to plot 3 . Use the Add 6 and Delete 4 buttons as
needed to build the list and correct mistakes.
Notes: When you click the Plot button from the Run screen, the list of
variables 3 is sent to WinEP. The associated file names are not
used. Therefore, it doesn’t matter which run you use to build the
file description, so long as the ERD file contains the variables that
you want plotted.
You can add variables that are not produced by all solver
programs. For example, tire forces for axles 4 and 5 are not
available for simulations involving vehicles with less than four
axles. When the plot data set is selected for an output file that does
not have those variables, the plotter will ignore them and show
those that are in the file. Thus, the same data set can be used to
view the outputs for many different solver programs.
8. To make another plot setup, repeat steps 2 through 7.
9. When you are through making new plot descriptions, leave the library by clicking the
Back button 12 .
Note: Another way to get to the library is through the GO menu. Look
for the menu item Plot\Format\Format.tbk.
3. Refer to the description of the Plot Format screen in Chapter 8 for information about
how you can control the plot appearance from the these settings.
4. Modify the data set whose title is Default Settings.
Control-Click here
This should bring up the following dialog box.
Font Size
The ArcSim data screens look best when the system display properties are set for Small
Fonts. However, the screens should be readable for any valid setting.
Colors
The ArcSim screens look best when 256 or more colors are supported. If your machine is
set to support 16 or fewer colors, ArcSim has a setting to produce yellow and blue fields
using dot patterns rather than solid colors. A global setting is used to control whether
ArcSim uses solid colors or patterns.
1. From any ArcSim data screen, click the preferences button in the ribbon bar ( ) or
select the Preferences command from the Tools menu. This brings up a dialog box with
a few check boxes.
2. If your machine is set up to support 256 or more colors, Check the box Solid Colors 1 .
Otherwise, un-check the box.
3. Close the dialog by clicking the X 2 in the upper-right corner.
Runtime ToolBook
The ArcSim data base is managed by a program called Tb40run.exe, located in the
Tb40 folder in ArcSim. As part of the ArcSim installation, the Tb40run program is
registered as being associated with the file extension TBK. If you move the folder
containing Tb40run, then Windows must be informed of the new locations.
Your objective is to associate the file type TBK with the file Tb40.exe. If you know
how to do this, go ahead and do it. If not, the following steps describe a method that will
work.
1. Open a folder from theWindows desktop (e.g., My Computer) or the Windows Explorer
program.
2. Select the menu item Options from the menu View. This will display a tabbed Options
dialog box.
8. Click the button Other. This brings up the next dialog, to locate a file.
9. Locate the file TB40run.exe, in the folder Tb40 in ArcSim. After selecting the file,
click the Open button to complete the selection and close the dialog box. The previous
dialog should now show the program.
2. Click the button Change Settings 2 . This will hide the ArcSim logo and reveal more
buttons, including those shown here.
Note: This method is reliable for libraries with only yellow data fields.
For libraries with blue links, the names of the linked data sets are
copied. However, if the data sets do not exist in the new ArcSim
installation, then the links are not valid and must be reset by hand.
Click here
3. Paste the tabular data into the tabular data field 1 of the calculator data screen.
3 4
4. Type definitions for the transformed X and Y values into the definitions field 3 . The
definitions should have the form: A*X, B*Y where A and B are numerical scale factors.
For example, suppose the X values are in inches and Y values are in pounds. To convert
to a table where the X values are in millimeters and the Y values are in Newtons, use the
definition: 25.4*X, 4.4482216152605*Y.
5. Click the Transform Series button 4 to perform the conversion.
6. Click the Plot button 2 to confirm that the conversion was performed as you would
expect.
7. Optional. If the data should not be separated with commas, click the button Remove ‘,’.
8. Select the entire contents of the tabular data field. The menu command Select All, under
the Edit menu (Ctrl-A) is helpful for doing this.
9. Select the Copy command from the Edit menu (Ctrl-C).
10. Go to the data screen where the tabular data will be stored.
11. If a data set does not exist for the transformed data, create one using the New button and
give it a name.
12. Paste the clipboard contents into the field used to store the numbers.
See Chapter 8 for details on using the calculator data screen.
— 45 —
Chapter 4 The Simulation Solver Programs
When the program starts, it creates a window in which text is displayed. The name of the
program file is typically shown as the window title.
You can run the solver programs interactively or in batch mode. The mode is determined
by the existence of a batch control file with the name Simfile (created automatically by
ArcSim): if this file exists, the program runs in batch mode; otherwise, it runs
interactively.
If the file Simfile does not exist (in the folder in which the program is located) then the
program runs in interactive mode. It prompts you for an input file, an output ERD file,
and two output echo files. After the last file is written, the program quits.
If the file Simfile does exist, then all filenames are read from it. It quits when the
simfile is fully processed and the last output file is written by the solver program.
Properties of the window created by the solver program can be adjusted by selecting the
solver program (extension EXE, found in the folder ArcSim\Programs), right-clicking
to display a pop-up menu, and selecting Properties from the menu.
As shipped, the solver programs close their windows when they finish. When the window
is closed, the most recently accessed program comes to the top. When run normally from
within ArcSim, the most recent program is ToolBook, which was showing the Runs
screen from which the run was initiated. Therefore, the normal behavior is that the Solver
program brings up a window, runs for the time needed to perform the simulation
calculations, then quits and closes the window, leaving you back at the Runs screen.
File Types
When run from the graphic interface in ArcSim (i.e., by clicking the Run Simulation
button from a Runs screen), all files associated with a run have the same base name and
differ only in their extensions. The base name is the current ID number displayed in the
upper-right corner of the Runs screen.
Table 4.1 shows the files and their extensions.
Details of the six file types are provided in Appendix D, along with some examples.
Short summaries are provided below.
Simfile
As noted earlier, Simfile is a batch control file. Whenever you click the Run button, a
new Simfile is created in the same folder as the simulation program (by convention,
this is the folder Programs). If a file named Simfile already exists, it is overwritten.
Because Simfile is automatically re-generated before each run, it can be deleted at any
time without loss of information.
The Programs folder contains the simfile used for the most recent run. Therefore, if you
run a solver program independently of ArcSim, it will repeat the last run made. However,
if the last run made was with a different program, the run may not be what you expect.
For example, if the last run was made with a 2-axle truck model (2a_3d.exe), and you
run a tractor-semitrailer model (3a2a_3d.exe), only the parameters common to the two
models are used.
To run a program in the interactive mode, you must delete the simfile.
LPI Files
The LPI file lists the input parameters for the simulation program.
When you click the Run Simulation button, a new LPI file is created in the folder
containing the Runs library (e.g., Runs). The LPI file contains information from the
Runs screen such as the title of the run, and pathnames for the data sets linked to the run
(vehicle, steer input, etc.).
program. For example, the initial conditions listed in the LPO file are normally not
specified on input (they are assigned default values by the simulation program).
The LPF file is nearly identical, except that instead of initial values, it contains final
values of the state variables. By modifying the start and stop times, an existing run can be
continued.
Overview of Operation
To help understand the animator, imagine that you are aiming a video camera at a truck
as it moves down the road. Thirty times per second, the camera records an image of the
vehicle and ground as seen from your point of view. By playing back those images at the
same rate (thirty times per second), you see the truck move relative to its surroundings.
If the camera has a zoom lens, you can zoom in to fill the screen with the vehicle. Or, you
can zoom out to shrink its apparent size.
What you see depends in part on where you are located. You could be standing on the
ground, in which case your position would not change. Or, you might be in another
vehicle that moves with the truck. In the animator, you location is defined as the “camera
point.”
Your view is also determined by how you aim the camera. You might have the camera
sitting on a tripod, aimed at a fixed point in space. The vehicle would only be visible
while it is in camera view. More likely, you would move and aim the camera as needed to
keep the vehicle in view. In the animator, the camera is aimed directly at a “look point.”
Figure 5.1 shows the basic geometry and the relationships between the camera point, a
look point, the 3D system being animated, and the 2D image that is recorded.
The animator allows you, the user, to build and modify descriptions of the system to be
animated. In order to use the program effectively, it is helpful to understand the concept
of a moving reference frame.
Reference Frames
The animator creates images based on a set of visible objects that includes a grid, wheels,
and arbitrary wire-frame shapes defined by a sequence of connected lines. Some of the
wire-frame objects are organized into groups that move together (for example, the body
of the truck).
— 49 —
Chapter 5 The Animator
Origin of global
coordinate system
Look point
Camera
point
Foc
al le
ngth
Figure 5.1. Geometry of the camera point and the look point.
A group of points and objects that maintains a fixed relationship (i.e., that constitute a
rigid body) is called a reference frame. Although the reference frame might move and
rotate, the spatial relationships between objects in the reference frame do not change
relative to each other. In the animator, all motions are associated with reference frames.
Each reference frame has a rectangular coordinate system that is used to describe 3D
locations of points within that reference frame. For example, Figure 5.1 shows the origins
and axes for two reference frames: a global non-moving frame, and a frame that moves
with a truck body.
In general, it is not possible to tell how many reference frames exist by looking at a single
image. However, by observing an animation, it is sometimes possible to visually see the
effects of all reference frames. For example, the system shown in Figure 5.1 includes
eight reference frames:
• A fixed global reference frame is used to locate a fixed grid that shows the ground
plane. The three axes of a coordinate system fixed in this reference frame are
shown in the figure.
• A moving frame is associated with the vehicle body. The body is simply a series
of lines drawn in this reference frame. The three axes of a coordinate system fixed
in this reference frame are shown in the figure. Given that the coordinate system
is fixed in a moving reference frame, then it follows that the coordinate system
moves.
• Each of the six wheels is associated with a separate reference frame. In the case of
the rear axles, both tires on the dual wheel assemblies are fixed together, and
therefore are contained in the same frame. Although the left and right wheel
assemblies for an axle move together with the axle, they are allowed to spin
independently. Because they have different spins, separate reference frames are
required for the left and right sides.
Wire-frame shapes are all defined using local X-Y-Z coordinates. The animator
transforms the local X-Y-Z values to global X-Y-Z values in order to draw the shape. To
perform the transformation, the animator must know the location and orientation of the
reference frame relative to the global reference frame. This is defined by six variables:
three coordinates (global X-Y-Z) and three rotation angles that are called Euler angles.
The six variables needed to locate and orient the reference frame for the vehicle bodies
and wheels are all computed as part of the simulation. It is also possible for you, the user,
to define new reference frames using combinations of the variables computed in the
simulations. Details for specifying reference frames are provided in Chapter 8 in the
section Animator Reference Frames. That section also provides more information about
Euler angles.
Files
When the animator is started from the ArcSim Runs screen, the necessary files are
automatically opened. Therefore, it is not necessary to know the names of the input files.
However, an understanding of how the animator reads the necessary information from
files might be helpful in understanding its operation.
The animator program reads two kinds of input files (see the next figure). As noted
above, all motion is due to movements of reference frames, as defined by up to six
variables. Those six variables are read from an ERD file, created by the simulation
programs whenever a run is made. Appendix A provides details of the ERD file format,
and Appendix G shows a list of variables contained in a typical ArcSim ERD file.
Other information such as program settings, definitions of parts, shape information, etc.
are described with keyword-based text files, typically with the extension PAR. These
files, called PARSFILEs, have the same general design as the input files read by the
simulation programs. A single top-level PARSFILE contains the names of other
PARSFILEs with camera information, vehicle information, reference frames, etc.
Appendix C describes the keywords used in the animator PARSFILEs. The keywords are
also mentioned in the documentation for the six animator library screens contained in
Chapter 8.
Animator
Units
The animator requires all angles to be in degrees, and all coordinates to be in the same
units of length. Typical choices for length units are feet. The animator allows user-
defined scale factors for all coordinates and variables. This means that a mixture of units
can be accommodated. For example, if some coordinates have units of meters and others
millimeters, the values in millimeters can be associated with a scale factor of 0.001 to
convert them to meters.
See the sections Animator Reference Frames, Animator Shapes, and Animator
Wheels in Chapter 8 for details on how to set scale factors.
File Menu
The file menu is used to read files, write files, and exit the program. Printing is not
functional in the current version. To print a graphic, you can (1) copy it to the clipboard
and paste it into another application (e.g., WinPad), and (2) print from the other
application.
Open Parsfile…
Select this command to open a PARSFILE (extension = PAR) with the Windows file
browse dialog. If you read a new PARSFILE, the animator will show the same motions
as before, using the new camera point of view, shape descriptions, etc. as defined in the
new PARSFILE. The keyboard command is Ctrl-O.
Save Parsfile As
Select this command to save most of the animator settings. The animator data from the
ArcSim SGUI are spread over the six animator libraries described in Chapter 8. Multiple
shapes and reference frames are commonly used, which means that the animator program
might read 20 or more PARSFILEs when it runs. This menu command creates a single
PARSFILE with all of the information consolidated.
The PARSFILE can be used later as an input to the animator, to exactly recreate the
current settings. The file can also be viewed in a text editor to debug inputs that cause
problems, or to obtain camera and look-point coordinates that were set interactively using
the Coordinates menu.
When you select the command, it displays the following dialog box. The numbered items
in the dialog box are described below.
2 3
1
4
5
6
7
8
1 Pathname for file to be created. The default is echo.par, in the same folder as the
animator program. You can type a new pathname in this field or use the browse
button 2 .
2 Browse button. Click to bring up the Windows file browse dialog to search your
directory system for a suitable folder. If you select a folder using the browse dialog,
the resulting pathname is automatically entered into the file field 1
3 Save button. Click to create the Parsfile.
4 Cancel button. Click to exit the dialog without creating a file.
5 Check box for shape and frame definitions. If checked when you click the Save
button, all vehicle shape and frame data will be included in the file.
6 Check box for grid definitions. If checked when you click the Save button, the
current grid information will be included in the file.
7 Check box for Camera definitions. If checked when you click the Save button, the
current camera reference frame and point coordinates will be included in the file.
8 Check box for Look-point definitions. If checked when you click the Save button,
the current look-point reference frame and coordinates will be included in the file.
Exit — exits the animator program. To use the keyboard, type the Windows-standard
sequence: Alt-F, X.
Edit Menu
The Edit menu exists to support the clipboard and to set preferences. When a dialog box
is in front, the Edit menu cannot be used with the mouse. However, the keyboard
commands are functional and can be used to cut, copy, and paste within text fields.
Undo
The keyboard command (Ctrl-Z) undoes the most recent entry in a dialog box.
Cut
The keyboard command (Ctrl-X) cuts currently selected text to the clipboard. This item is
only in effect when editing text in dialog boxes. Modification of the graphic display is not
supported.
Copy
Select this command to copy the screen display to the clipboard as a bitmap. If a dialog
box is displayed, the keyboard command (Ctrl-C) copies the currently selected text to the
clipboard.
Paste
The keyboard command (Ctrl-V) pastes text from the clipboard into the current cursor
location. If text is selected, it is replaced by the contents of the clipboard. This item is
only in effect when editing text in dialog boxes.
Preferences...
Select this command to set a few options for the animator that are saved when you quit
the program. The preferences are stored in a file Prefs.txt, described in Appendix C.
5
1
2 6
3
4
2 Check box to run after loading files. When checked, the animator starts running as
soon as the files have been read. If the box is not checked, the animation must be
started by typing Ctrl-S or using the Animation menu.
3 End of run pause. The animator delays this amount of time at the end of a run
before looping to start over. A pause of 0.5 sec or more gives a visual indication
that the run has ended.
4 Log file. Enter a name for an optional file written by the animator as it processes the
inputs (use the adjacent button to select a destination folder). The log file is
sometimes helpful for debugging, but it is not needed for normal operation.
5 OK button. Click to apply the new preferences.
6 Cancel button. Click this to close the dialog box without changing anything (keep
the previous preferences).
Animation Menu
The animation menu exists mainly to remind you of keyboard commands that control
animation. Although the menu items are functional, you will usually find it quicker to
press the indicated keys.
Stop
Select this command to stop (pause). This is like being able to freeze time. While
stopped, you can still use the Coordinates menu to move the camera around, zoom in
and out, and change the look-point. The keyboard command is the space key.
Step Forward
Select this command to step forward one increment in time, like a frame advance on a
VCR. The keyboard command is the ‘s’ key.
Step Backward
Select this command to step backward one increment in time. The keyboard command is
Shift-S.
Coordinates Menu
This menu exists mainly to remind you of keyboard commands that control the camera
viewpoint. Although the menu items are functional, you will usually find it quicker to
press the indicated keys.
The first six items are used to change the position of either the camera point or the look
point, depending on which is checked further down in the menu. The currently affected
point is checked in the menu, and is written in the animator status bar (at the bottom of
the animator window).
The camera and look points are shown in Figure 5.1 on page 50. The camera point
defines where the camera is located, and the look point defines where the camera is
looking. For example, consider changing the Z coordinate (height) of either point.
Increasing the Z coordinate of the camera has the effect of raising the camera, as if you
are viewing the vehicle from a helicopter that rises. On the other hand, increasing the Z
coordinate of the look point has the effect looking up. When you look up, everything in
view shifts down.
X-Coordinate Plus
Select this command to increase the X coordinate of the camera or look point. The
keyboard command is ‘x’ key.
X-Coordinate Minus
Select this command to decrease the X coordinate of the camera or look point. The
keyboard command is Shift-X.
Note: The keyboard commands are assigned so plain key commands
increase things, and using the shift key decreases things. For
example, 's' steps forward, Shift-S (S) steps backward; 'x'
increases an X coordinate, Shift-'x' (X) decreases it.
Y-Coordinate Plus
Select this command to increase the Y coordinate of the camera or look point. The
keyboard command is the ‘y’ key.
Y-Coordinate Minus
Select this command to decrease the Y coordinate of the camera or look point. The
keyboard command is Shift-Y.
Z-Coordinate Plus
Select this command to increase the Z coordinate of the camera or look point. The
keyboard command is the ‘z’ key.
Z-Coordinate Minus
Select this command to decrease the Z coordinate of the camera or look point. The
keyboard command is Shift-Z.
Camera Coordinates
Select this command to cause the camera position to be controlled by the first six menu
items. The keyboard command is the C key.
Look-Point Coordinates
Select this command to cause the loop point position to be controlled by the first six
menu items. The keyboard command is the L key.
Options Menu
This menu has commands for setting several options in the animator operation.
Grid On
Select this command to toggle the grid display.
Modify Grid
Select this command to display a dialog box for setting properties of the grid.
Superimpose Vehicle
Select this command to toggle an option to draw new images without erasing old ones.
This mode is useful with some configurations to show trajectories of vehicle motion, or
to show amplitudes of oscillations.
2
3
4 5
Timing
Select this command to display the following dialog and control the rate at which the
animator can play back a simulation run. The numbered items are described below.
1 3
2 4
1 Sampling interval. The animator normally obtains the time interval between stored
data points from the ERD file header. However, it is possible for an ERD file to
lack this information. In that case, the animator can be provided an interval in this
field.
Note: The programs included in ArcSim all provide the sample interval.
This setting is only needed when viewing ERD files made from
other programs.
2 Animate every n samples. This number is normally 1: the animator draws a picture
for every set of variables in the file. If the sample interval in the file is very small,
or you are running on a slower computer, you can put a number larger than 1 in this
field to speed up the animator. The animator will not run faster than real time. If
necessary, it waits between frames to maintain the proper relation between
animation time and real time.
3 OK button. Click to exit the dialog box and apply the new settings.
4 Cancel button. Click to exit the dialog box without changing the camera settings.
Help Menu
This menu is standard in Windows for providing information about a program.
Click Here
7. Click on the red circle in the upper-right corner. This causes ArcSim to update the
PARSFILE using the new data from the screen.
Note: Normally, communication between the data base and the animator
is transparent. All necessary files are properly updated when you
click the Animate button in the Runs screen. Here, you are by-
passing the normal operation, and must force the SGUI to update
the PARSFILE before it would normally do so.
8. Switch back to the animator (use Alt-Tab).
9. Select the menu item Reload Current Files under the File menu (or type Ctrl-R) to see
the effect of the new data.
10. Optionally switch back to the SGUI screen and repeat steps 6 through 9 as needed.
Overview of Operation
WinEP has a workspace defined by a main window with a menu bar. The main window
contains plot windows, each showing plots made with a single set of X-Y axes. Figure
6.1 shows the main WinEP window with three example plot windows.
Each plot window contains a graphical representation of one or more X-Y data sets. An
X-Y data set is a series of X and Y values obtained from a data file. The X-Y data sets
can come from the same file or from different files. The X values in each data do not
have to be the same, and the data sets do not have to contain the same number of points.
WinEP reads the data from ERD and text files and has completely automated scaling,
formatting, and labeling capabilities. However, labeling options are limited for non-ERD
text files.
Note: If a file is not in ERD format, it can be converted by adding several
lines of text to the beginning of the file. A description of the ERD
file format is provided in Appendix A.
Once a plot window is created, the X-Y data sets can be transformed by subtracting
offsets or by applying high-pass or low-pass filters. However, the data sets cannot be
deleted or replaced. If you create a plot with different data sets, the new plot will have a
new window.
In addition to the X-Y data, each plot window has a set of formatting attributes, such as
the colors of the lines, the size of the labeling text, the type of grid, etc. You can show the
data points with connecting lines, symbols, or both. You can use linear or log scaling and
you can choose from several axis types. The formatting can be set independently for each
plot, and changed interactively at any time.
You can copy the WinEP plots to the clipboard and send them to a printer.
There are no built-in limits to the number of active plot windows that can be maintained
by WinEP. The only limits are imposed by computer memory.
— 63 —
Chapter 6 The Plotter
Zooming
WinEP usually creates each plot window with the axes scaled to show all data points. To
zoom in, use the mouse to create a zoom rectangle. Press the left button to anchor one
corner at the current cursor location, then drag with the button still pressed to define the
rectangle. When the rectangle covers the desired range, release the button. WinEP will re-
draw the plot using the region of the rectangle as the new limits for the axes.
Figure 6.2 shows the appearance of a plot with a zoom rectangle drawn, just before the
mouse button is released. Figure 6.3 shows the same plot window immediately after the
button is released.
Note: WinEP rounds off the maximum and minimum values for the axes.
The new plot is drawn to include the full range of the rectangle you
drew with the mouse, plus some additional range to round off the
axes. For example, the maximum X value from the zoom rectangle
shown in Figure 6.2 is about 3.1. The maximum X value in the
zoomed plot of Figure 6.3 is rounded up to 3.5.
If you click in a plot window without drawing a rectangle, WinEP re-draws the screen
with the same scale as before.
File Menu
The file menu is used to read files, write files, print windows, and exit the program.
File: 442.ERD
Generated: 06/17/97 03:22:54
The number starting in the first column is the channel number, the text immediately after
the hyphen is the name of the variable as it appear in lists within WinEP (see the menu
command Define New Plot on page 77), and the text immediately after the colon is a
short description of this variable with its units.
Print
Use this command to make a hard-copy of the active plot using the current Windows
printer. The keyboard command is Ctrl-P.
Print Preview
This command opens a window showing how the active plot would be printed using the
current print settings.
Print Setup
This command brings up the Windows dialog box for changing printer information.
Exit
Use this comand to exit WinEP. To use the keyboard, type the keyboard command Ctrl-
Q, or the Windows-standard sequence: Alt-F, X.
Note: Alternatively, you can click the in the upper right hand corner
of this screen to return to the Runs screen.
Edit Menu
The Edit menu has commands to support the clipboard and to set preferences. When a
dialog box is in front, the Edit menu cannot be used with the mouse. However, the
keyboard commands are functional and can be used to cut, copy, and paste within text
fields
Undo
The keyboard command (Ctrl-Z) undoes the most recent entry in a dialog box.
Cut
The keyboard command (Ctrl-X) cuts currently selected text to the clipboard. This item is
only in effect when editing text in dialog boxes. Modification of the graphic display is not
supported.
Copy
This command copies the plot from the active plot window to the clipboard. The graphic
is copied as a bitmap. If a dialog box is active, this command copies currently selected
text to the clipboard. The keyboard command is Ctrl-C.
Paste
The keyboard command (Ctrl-V) pastes text from the clipboard into the current cursor
location. If text is selected, it is replaced by the contents of the clipboard. This item is
only in effect when editing text in dialog boxes.
Preferences
This command brings up the Preferences dialog box. When you quit WinEP, the settings
from this dialog box are automatically saved to a file named epprefs.txt.
2
1
5 Folder where last format file was read. The next time the Load Plot Format
command (from the File menu) is used, WinEP will open the file browser starting
with this folder.
6 Folder where WinEP creates temporary files.
7 Folder where the last ERD file (with numerical data to plot) was read. The next
time the Load ERD File command (from the File menu) is used, WinEP will open
the file browser starting with this folder.
8 Folder where the last batch file was read. The next time the Load Batch File
command (from the File menu) is used, WinEP will open the file browser starting
with this folder.
Format Menu
This menu has commands for controlling the appearance of the plots made.
Log X Axis
Use this command to toggle between linear and log scaling for the X axis of the active
plot. If the log axis is selected, the menu item has a check mark. The keyboard command
is Ctrl-H.
Note: WinEP will ignore the X axis log option and revert to the linear
option if there are one or more zero X values in the data set being
plotted, even if it is out of range.
Log Y Axis
Use this command to toggle between linear and log scaling for the Y axis of the active
plot. If the log axis is selected, the menu item has a check mark. The keyboard command
is Ctrl-G.
Note: WinEP will ignore the Y axis log option and revert to the linear
option if there are one or more zero Y values in the data set being
plotted, even if it is out of range.
2 2
3 3
4 4
5 5
6 7 8 9
You can use this dialog box to type in the desired ranges of X and Y values to be covered
in the next plot.
2 X, Y axis type. These controls define whether the axis will be drawn with a linear
or log scale. They duplicate the Log X and Log Y menu commands.
3 Autoscaling (X and Y axes). Check to cause WinEP to scan the data and size the
axis to include the full range of data. This setting is recommended for routine use.
4 Manual scaling (X and Y axes). Check to scale the axis according to the range
specified in the adjacent fields 5 . This setting is provided for situations in which
you wish to make many plots with the same axes, regardless of the range covered
by the data.
5 Range of data covered by axis. Specify minimum and maximum values for scaling
the axis. These are used only when the manual scaling button 4 is selected.
6 OK button. Click to close the dialog box and apply the settings as displayed.
7 Cancel button. Click to close the dialog box and revert to the previous settings.
8 Apply button. Click to apply the current settings without closing the dialog box.
This button is not functional in the current release.
9 Help button. Click to display on-line help. This button is not functional in the
current release.
10
11
12 13
14
6 7 8 9
10 X-Y Data Set tab. Click to show the settings that control the display of a data set.
Note: An X-Y Data set is a set of X and Y values from a specific file.
Each data set is represented graphically in a plot. When multiple
data sets are shown in the same plot, they can be distinguished by
assigning them different display attributes.
11 X-Y Data set. Press the button to display a pull-down menu with the list of Y
variables for each data set. Select a data set to display and possibly edit its
attributes.
12 Symbol. The field shows the symbol currently associated with the data set 11 . Press
the button to display a pull-down menu of possible symbols, and choose one to
change the current symbol.
13 Line type. The field shows the type of line currently associated with the data set 11 .
Press the button to display a pull-down menu of possible types, and choose one
to change the way connecting lines are drawn between the data points.
14 Color. The field shows the color currently associated with the data set 11 , in terms
of RGB values (24-bit color, composed of components of Red, Green, and Blue).
Press the button to display a palette of colors.
After selecting a color, click to OK button to return to the format dialog box. The
RGB values for the selected color will be shown.
15
16 18 20
19
17
21
6 7 8 9
15 Plot Layout tab. Click to show the settings that control the display of the axes,
frame, and grid.
16 Axes. Press the button to display a menu with the choices: Axes or No Axes. The
No Axes option doesn’t work unless you also select No Grid 18 and No Frame 20 .
17 Max digits for Y axis. This is the number of digits set aside for the tick labels of the
Y axis. For example, if set to 3, WinEP draws the Y axis of every plot with enough
space for 3-digit labels for the Y axis. If set to 0, WinEP determines the spacing
automatically.
A value of 0 is recommended unless you want all plots to be drawn in exactly the
same place relative to the left edge of the window.
18 Grid. Use this to choose between the options: No Grid, Course Grid (grid lines at
major tick marks), or Fine Grid (grid lines at minor tick marks).
19 Legend location. Use this to choose among five possible locations for the legend
used to identify the X-Y data sets in overlay plots. The options are Right of Plot, On
Plot Upper-Left, On Plot Upper-Right, On Plot Lower-Left, and On Plot Lower-
Right. The legend and other labels in the plot are shown below in Figure 6.4.
Title
Y axis label
Legend
Tick labels
X axis label
20 Frame. Use this to determine whether the plot area has an enclosing rectangular
frame. The options are No Frame, Frame, and Frame with ticks. The No Frame
option doesn’t work unless you also select No Grid 18 .
21 Size limit for legend. When WinEP draws the legend for overlay plots to the right
of the plot area, it uses whatever space is needed. If the labels are lengthy, or if the
window is small, this can limit the horizontal space available for the plot. Use this
field to set a maximum amount of the window space that can be taken for the
legend.
This setting does not affect the plots unless: (1) there are at least two X-Y data sets
being overlaid, (2) the specified position 19 is “Right of Plot,” and (3) the length of
the longest label exceeds the specified percentage.
22
23
24
25
26
27
6 7 8 9
22 Font tab. Click to show the settings that control the text used to label the axes and
data in the plot. The four types of labels, controlled with items 23 - 26 , are shown
in Figure 6.4.
23 Plot title font attributes. Click the selector button to bring up a Windows font
selection dialog box. The properties selected in the box will be applied to the plot
title. After choosing the font properties, click the OK button to make the change, or
click the Cancel button to keep the original properties.
24 Axes labels. This is similar to the plot title button 23 , except that the settings made
using the Windows font dialog box are applied to the text used to label the X and Y
axes.
25 Axis numbers. This is similar to the plot title button 23 , except that the settings
made using the Windows font dialog box are applied to the text used to number the
X and Y axes.
26 Legend labels. This is similar to the plot title button 23 , except that the settings
made using the Windows font dialog box are applied to the text used to label the
individual data sets in the legend.
27 Apply to all check box. When this is checked, changing font properties using any of
the buttons ( 23 24 25 26 ) will change all of the text in the plot.
Data Menu
The Data menu has commands that involve the numbers to be plotted and the associated
labels from the data files. The commands involve the selection of X-Y data sets, possible
transformation of the numbers, labels for the plot, and the viewing of the numerical
values using a cursor.
2
4 5 6 7
8
9
10
1 List of X-Y data sets to plot. This list shows the data sets that will be plotted. You
cannot edit it directly, but can modify it using the buttons below.
2 List of variables in the current ERD available for defining the Y coordinate in a
plot. To select a variable for plotting on the Y axis, click on its name. Double-
clicking in this list has the same effect as clicking the Add button 7 .
3 List of variables in the current ERD available for defining the X coordinate in a
plot. To select a variable for plotting on the X axis, click on its name. Double-
clicking in this list has the same effect as clicking the Add button 7 .
4 Delete button. Click this to delete a data set from the list of data to plot 1 . This
button has no effect unless a line is selected in the list 1 .
5 Clear button. Click this to delete all data sets from the list of data to plot 1 .
6 File button. Click this to bring up the Windows file browser dialog box to choose an
ERD file or text file with plot data. This button has the same effect as selecting the
command Open ERD File from the File menu.
Note: While the dialog box is displayed, the WinEP menus cannot be
used. Therefore, the File button is the only way to open a new file.
7 Add button. Click this to add a new X-Y data set to the list of data to plot 1 . The
new data set has the currently selected Y channel 2 , the currently selected X
channel 3 , and the currently open file (shown in 9 ).
8 Plot button. Click this to close the dialog box and make a new plot using the current
list of X-Y data sets 1 .
9 File name. This field shows the current data file. The name can be copied to the
clipboard, but there is not a reason to edit it directly. To change the file, you must
click the File button 6 .
10 Title. This field shows the title from the data file, if (1) the file is an ERD file, and
(2) the optional TITLE keyword is used in the ERD header. All ERD files created
by ArcSim models show the title of the corresponding Run data set.
Offsets…
Select this command to bring up the Data Offsets dialog box. Use this dialog box to
specify offsets for up to 20 data sets laterally (X) or vertically (Y). The values you enter
in these field will be subtracted from the values obtained from the data file. For any fields
left blank, no offset is applied.
When you are finished specifying the offsets, click the OK button. These offsets will be
applied to your the active plot.
Filters…
Select this command to bring up the Filters dialog box. Use this dialog box to filter the Y
values in the data sets of the active plot using a moving average. The numbered items in
the dialog box are described below.
1
5
2
6
3
7
4
8 9 10
1 No filter button. When this button is selected the data are not modified.
2 High pass button. When this button is selected, the Y variables are processed with a
high-pass filter. The data are smoothed using the specified baselength 5 , and the
smoothed values are subtracted from the original. See the Help button 8 for details
on how the filter works.
3 Low pass button. When this button is selected, the Y variables are processed with a
low-pass filter. The data are smoothed using the specified baselength 6 . See the
Help button 8 for details on how the filter works.
4 Band pass button. When this button is selected, the Y variables are processed with a
band-pass filter. The data are processed by a high-pass filter using the high-pass
baselength 5 , and then by a low-pass filter using the low-pass baselength 6 . See
the Help button 8 for details on how the filter works.
5 High-pass baselength. This is a reference used to define the scope of a moving
average. It has the same units as the variable plotted on the X axis. For example, if
the X variable is time with units of seconds, the baselength is the number of
seconds covered by the moving average. This baselength is also used for band-pass
filtering.
6 Low-pass baselength. This is a reference used to define the scope of a moving
average. It has the same units as the variable plotted on the X axis. For example, if
the X variable is time with units of seconds, the baselength is the number of
seconds covered by the moving average. This baselength is also used for band-pass
filtering.
7 Check box: Filter using original data. When this box is checked, the specified filters
are applied to the original data — the values read from the file. When not checked,
the filters are applied to the data as modified by previous filtering. If this box is not
checked, the data are processed every time the filter dialog box is displayed and
exited with the OK button.
8 Help button. Click this to display the following information.
9 Cancel button. Click this button to exit the dialog box without changing the data in
the active plot.
10 OK button. Click this button to exit the dialog box and apply the specified filter to
all Y variables in the active plot.
Statistics…
Select this command to display a dialog box with simple statistics for the plotted
variables. The numbered items in the dialog box are described below.
3
1
1 X-Y data set name. Use the pull-down menu to pick the data set in the active plot
whose statistics will be displayed.
2 Statistics for specified data set. The field is sized to display the statistics for two
variables making up a single X-Y data set. If you choose to show the statistics for
all data sets in the plot, then the scroll bar can be used to view the statistics for the
data sets after the first.
3 OK button. Click this button to exist the dialog box.
4 Show All button. Click this button to display the statistics of all data sets in the
active plot.
Labels…
Use this command to display the Labels dialog box. Use this dialog box to edit the plot
title, Y axis, X axis, and legend labels for the active plot. The next figure shows the
Labels dialog box along with the active plot. The circled numbers appear both in the plot
and the dialog box, to indicate the correspondence between the field in the dialog box and
the plot.
1
3 1
2
5
3
7
6
2
8 9
1 Title. The title is shown in the top of the plot and also in the title bar of the plot
window. It can be edited in the dialog box.
2 X Label. This is the label written underneath the X axis. It can be edited in the
dialog box.
3 Y Label. This is the label written above the Y axis. It can be edited in the dialog
box.
4 Legend position. Press the triangle button to display a menu of possible locations
for the legend.
5 Names list, used to identify the X-Y data sets in the legend. To change any of these
labels:
1. Select it from the Names list 5 .
2. Edit the name as it appears in the edit field 6 .
3. Click the Set button 7 to apply the change.
6 Edit field used to change a name in the legend.
7 Set button. Click to set the name selected in the Names list 5 to match the text in
the edit field 6 .
8 OK button. Click to close the dialog and apply the new settings to the active plot.
9 Cancel button. Click to close the dialog without modifying the active plot.
When there are multiple plot windows, the cursor and X-Y values are always associated
with the active window.
Forward by One — use the right arrow key (→) to move one point forward, based on
the order the X values are stored in the file. When the cursor is on the last point in the
file, this command has no effect.
Backward by One — use the left arrow key (←) to move one point backward, based on
the order the X values are stored in the file. When the cursor is on the first point in the
file, this command has no effect.
Minimum — use the down arrow key (↓) to locate the point with the minimum Y value
for the points currently displayed.
Maximum — use the up arrow key (↑) to locate the point with the maximum Y value for
the points currently displayed.
Start of Data — use the Home key to find the first point. This is the same as pressing the
left arrow repeatedly.
End of Data — use the End key to find the last point. This is the same as pressing the
right arrow repeatedly.
Next Data Set — use the Tab key to move the cursor between currently displayed data
sets in overlay plots. If the active plot has only a single data set, then this command has
no effect.
View Menu
Use this menu to toggle the display of the status bar and of a special debugging window
that maintains and displays errors and warning messages.
Windows Menu
Use this menu to control the appearance of the plot windows in WinEP.
New Window
Use this command to copy the active plot window, along with the data and all format
settings.
Cascade
Use this command to arrange all plot windows in a cascade, as shown below for two.
Tile Horz.
Use this command to tile the plot windows with horizontal divisions, as shown below for
two. If there are four or more windows, they are arranged in columns and rows.
Tile Vert.
Use this command to tile the plot windows with vertical divisions, as shown below for
two. If there are four or more windows, they are arranged in columns and rows.
Arrange Icons
Use this command to tidy any “iconized windows” in the WinEP workspace.
Help Menu
This menu has a command to open the About WinEP dialog box. Use it to obtain the
version number and to obtain the current web site for updates.
Program Limits
The maximum number of X-Y channel pairs that can be overlaid in one plot is 20.
The maximum number of plot windows is limited only by the size of system memory.
The maximum size of a plot’s data is bound only by the size of system memory.
3 4 5 6 7 8 9 22 23
1
21 24
2
10 11 12 13 14 15 16 17 18 19 20 25
Fields
1 Data Set field. This field shows text entered by you, the user, to name the current data set.
There are a few restrictions on titles: (1) each data set in the library must have a unique
title; (2) the title cannot include a comma (the software will automatically replace it with
a semicolon); and (3) the length of the title is limited to 32 characters.
Note: On the Runs screen this is where you give a unique name to the
run of a specific vehicle, maneuver, and simulation model. In a
vehicle screen, it typically serves to identify the vehicle and its
properties, and so on for other screens.
2 Category field. This field shows text you use to create a sub-menu for listing the contents
of the library (see Figure 7.1 for an example). The Category field is provided as a
convenience for you to divide large numbers of data sets into logical groups in pull-down
menus. If the category field is blank then the title is shown in the top-level menu.
Data sets in different categories are still subject to the restriction that they cannot
have the same names.
— 88 —
Chapter 7 Design of ArcSim Data Screens
Buttons
3 Library triangle button. Press this button to display a pull-down menu listing all of the
data sets in the library, grouped by categories.
4 Library Left button. The data sets in the library are ordered alphabetically first by
category and then by title. Click this button to go to the preceding data set. If the current
data set is the first one, this button takes you to the end (the ordering is circular).
5 Library Right button. The data sets in the library are ordered alphabetically first by
category and then by title. Click this button to go to the next data set. If the current data
set is the last one, this button takes you to the beginning (the ordering is circular).
6 New button. Click this button to make a full copy of the data set. The copy is identical to
the original, except that the name 1 will be different (usually it will have a number
appended to it). When the copy is made, the Data Set field will be highlighted to
encourage you to type a distinctive title for the new data set.
7 Delete button. Click this button to delete the data set.
When you click the Delete button, two things happen: (1) the current data set as
displayed on the screen is deleted, and (2) auxiliary files associated with the data set are
also deleted. Thus, ArcSim automatically performs housecleaning.
If the library has only one data set, the Delete button cannot be used — there must always
be a minimum of one data set in a library. Also, the Delete button will not work on the
current data set if the Locked box 22 is checked.
There are two keyboard modifiers for the Delete button:
• Press the Ctrl key when clicking the button to avoid the confirmation message.
• Press the Shift key when clicking the button to delete all data sets except the
current one. There will be a confirmation message, giving you a chance to change
your mind after clicking the button. Be aware that if you go ahead, other data sets
can be deleted even if their Locked boxes are checked. Use this feature with care!
Note: When you position the cursor over the Delete button, the Status Bar
at the bottom of the window describes the above two keyboard
modifications.
8 GO button. Press this button to display a menu of all libraries in ArcSim. Select a library
from this menu to leave the current library and go to the selected one.
The menu usually contains more items than will fit on a monitor with VGA resolution
(640 x 480). If this happens, the first item in the menu is More. Highlight it to view more
menu items.
9 Back button. Click this button to go back to the previous library. This is the library that
you came from by using a link, the GO menu, or the History dialog box.
10 Number Tools button. Click this button to go to the calculator screen. This is equivalent
to the Calculator command from the Tools menu. The calculator screen is used to create
and edit tabular data. Control-click to get a file browser to locate the library and establish
a link to it. The default is Sgui_lib\Calc.tbk.
11 Text Editor button. Click this button to go to a utility library used to create and edit
tabular data. This is equivalent to the Text Editor command from the Tools menu. This
can also be set to go to a text editor, such as the Windows Notepad program. Control-
click to get a file browser to locate a file (either a ToolBook library or an executable
program) and establish a link to it. The default link is Sgui_lib\Textedit.tbk.
Note: In order to link to an executable file, you have to replace *.TBK in
the file browser with *.EXE.
12 Library Editor button. Click this button to bring up a floating window that can be used
to edit libraries. This is equivalent to the Library Editor command from the Tools menu.
The current library is automatically loaded into the editor window.
13 Spectrum Analyzer button. Click this button to go to the Spectrum Setup library with
settings for a spectrum analyzer. This is equivalent to the Spectrum command from the
Tools menu. Control-click to get a file browser to make a different library the default.
Note: The spectrum analyzer and the settings screen are not present in
the standard ArcSim package.
14 Batch Plot button. Click this button to go to the Plot Setup: Batch library. This is
equivalent to the Batch Plotting command from the Tools menu. Control-click to get a
file browser to make a different library the default. The default link is
Batch\Plot_bat\Plot_bat.tbk.
15 Plot Setup button. Click this button to go to the Plot Setup: Single library with plot
settings that define plot variables, formats, etc. This is equivalent to the EP Setup
command from the Tools menu. Control-click to get a file browser to make a different
library the default. The default link is Plot\Plot.tbk.
16 Batch Runs button. Click this button to go to the Runs: Batch library. Control-click to
get a file browser to make a different library the default. The default link is
Batch\Runs_bat\Runs_bat.tbk.
17 Runs button. Click this button to go to a Runs library with settings to make a single
simulation run. This is equivalent to the Runs command from the Tools menu. Control-
click to get a file browser to make a different library the default. The default link is
Runs\Runs.tbk.
18 Print button. Click this button to print a copy of the current screen display.
19 Preferences button. Click this button to bring up a floating window used to set global
preferences for ArcSim. This is equivalent to the Preferences command from the Tools
menu.
30
26 29
27
28
26 Auto Plot. When checked, the plotter is launched whenever you change a plot
setup link from the Runs screen. If you mainly make one plot at a time, this saves
time because you don’t have to click the Plot button after choosing the plot setup.
If you mainly make several plots at a time, you may find this distracting.
27 Auto Lock. When checked, ArcSim automatically locks every data screen when
you leave it. Otherwise, data sets are locked only when you click the locked boxes
22 manually.
28 Advanced Mode. When checked, you can change links to connect with different
libraries. When not checked, you must live with the links the way they are.
29 Solid Colors. Check this box if your video display supports 256 or more colors.
Un-check it if your display is limited to 16 or fewer colors.
30 Close. Click here to exit the Preferences window.
Check Boxes
20 Locked box. Click this box to check or un-check it. When checked, the data set is locked
and you cannot change text in any of the edit fields or any links. You also cannot delete
the data set using the Delete button.
21 Notes box. Click this box to check or un-check it. When checked, the Notes field is
displayed. Otherwise, it is hidden. The contents of a Notes field are strictly for your use
in documenting data. They are not sent to the simulation program.
This button hides the Notes field, but does nothing to the contents. You do not lose your
notes when you hide them.
When you create a copy of a data set using the New button 6 , the contents of the Notes
field are also copied, even if the box is not checked.
Data Links
Each ArcSim screen contains a data set that is part of a relational data base. Data sets are
linked together approximately in a top-down hierarchical fashion.
Runs
Suspensions Tires
2. Press the Shift key when clicking the button as a shortcut for selecting the
menu item Go To Data Set. This will take you to the linked data set (it is the
same as selecting the first menu item). This is usually quicker than using the
menu.
Tabular Data
Some of ArcSim data sets involve tables of numbers. The values are plotted, to show the
functional relation graphically, and to help identify errors. The next figure shows an
example data set. Notice the table of numbers in the yellow field labeled Steer Angle
(sec, deg). The plot shown is based on these numbers.
3 4
Note: For these data sets, the Notes field is often located on top of the
table of numbers. Therefore, to view the numbers in the table, the
Notes button must not be checked.
There are four standard items on each screen with tabular data.
1 Plot. The plot is based on the tabular data 2 , using the first number on each line for an X
value and the second number for a Y value. The axes are scaled automatically to include
the full range of numbers in the table.
When the mouse pointer is positioned over the plot, the corresponding X and Y values
are shown in the status bar. Clicking the left mouse button causes the currently displayed
X and Y values to be appended to the table. This feature can be used to rapidly build a
new data set. The new data points are not plotted until the Update Plot button 3 is
clicked.
2 Table field. Each line in this field should have an X value followed by a Y value. The
numbers must be separated by a comma. Additional information can be added after a
second comma. These numbers are passed to the simulation programs exactly as they
appear in the field.
3 Update Plot button. Click this button to create a new plot of the data in the field 2 .
4 Tidy Table button. Click this button to “clean up” the appearance of the numbers in the
table field. A space is inserted after the comma, and additional information after a second
comma is removed. This button is often used when tabular data are pasted into the edit
field from some other source, such as an echo file created by a ArcSim solver program.
2D Tabular Data
Some of the data sets in ArcSim involve two-dimensional tables of numbers, commonly
called “carpet plots.” The values are plotted to show the functional relation graphically
and to help identify errors. The figure below shows an example data set. The format of
the table is usually shown in the area to the right of the plot, and the data for the table are
typed in the field underneath the plot 2 . The plot shown is based on these numbers.
3 4
There are four standard items on each screen with carpet plot data.
1 Plot. The plot is based on the tabular data in 2 , using the format shown in the area
entitled Table Layout.
2 Table field. The top row contains the values for one of the independent variables. The left
column contains the values for the other independent variable. As indicated in the area
titled Table Layout, the values in the first row are vertical load (Fz) and those in the first
column are slip angle α. The other values are the dependent variable: in this case,
aligning moment.
The first number is common to both the first row and the first column, and is ignored.
However, a number must be present to hold the place and maintain the correct size of the
table.
All carpet plot tables must have at least two columns, or the simulation program will
generate an error.
3 No. of Columns. This is the total number of columns in the Table field. In the example it
is 6, (1 column of slip values plus 5 columns for different loads).
If this value is set too small, data in higher columns are ignored. For example, if it were
set to 5, the last column would not be used by the simulation program.
If this value is set too large, an error will occur when the program tries to read additional
numbers.
4 Update Plot button. Click this button to create a new plot of the data in the field 2 .
File Menu
The File menu contains commands pertaining to library TBK files. In ArcSim, this menu
is not used as much as in most Windows programs, because the opening and saving of
files is handled automatically.
Open
Select this menu item to open an arbitrary TBK library file.
Save
Select this menu item to immediately save the current TBK file to disk. The files are
automatically saved whenever you move from one library to another, so this command is
used mainly when the machine stability is in doubt and a program crash is possible.
Print Setup
Select this menu item to select a Windows printer and possibly configure it.
Print Library
Select this menu item to print all data sets in the current library, using the data screen
layout.
Compact Library
This command causes ToolBook to compact the file, eliminating space that was used by
data sets that have been deleted.
Over time, the TBK library files can grow more than expected, because when you delete
data sets the file space is not recovered. Use this menu item if you notice that some of the
TBK files have gotten very large. Depending on the amount of graphic content, the
normal size of a TBK file can be as small as 70K, or as large as 700K.
Backup Library
Select this menu item to make a backup copy of the current TBK library file. The copy is
given the extension BAK.
Exit
Select this menu item or use the keyboard command Ctrl-Q to exit from ArcSim.
Edit Menu
The Edit menu supports the clipboard and the Find command.
Undo
Select this menu item or type the keyboard command (Ctrl-Z) to undo the most recent
entry or change in a text field.
Cut
Select this menu item or type the keyboard command (Ctrl-X) to cut the currently
selected text to the clipboard.
Copy
Select this menu item or type the keyboard command (Ctrl-C) to copy the currently
selected text to the clipboard.
Paste
Select this menu item or type the keyboard command (Ctrl-V) to paste the clipboard to
the current cursor location. If text is currently selected, it is replaced by the contents of
the clipboard.
Clear
Select this menu item to clear the currently selected text.
Select All
Select this menu item to select all text in the field where the cursor is currently located.
The keyboard command is Shift-F9.
Find
This command can be used by advanced users to locate information in ArcSim data
fields.
WARNING: It is possible to trick the underlying ToolBook runtime system,
leading to errors that will corrupt your files. Use with caution.
Text Menu
The Text menu contains commands involving the display of text in edit fields and notes.
Although text formatting has no effect on how the simulations are run, you can control
the appearance of the text in notes and data field if you wish.
Note: The items in the Text menu apply only to the currently selected
text in a single field.
Character
Select this command to bring up a floating window to change the character properties of
the selected text (Font, Font Style, Size, etc.).
Paragraph
Select this command to bring up a floating window to change the spacing (e.g.,
Alignment, Indentation, Spacing , etc.) of the selected text.
Regular
Select this menu item to remove any special character properties of the selected text, such
as bold, underline, etc.
Bold
Select this menu item to toggle the selected text between bold and not bold.
Italic
Select this menu item to toggle the selected text between italic and not italic.
Underline
Select this menu item to toggle the selected text between underline and not underline.
Strikeout
Select this menu item to toggle the selected text between strikeout and not strikeout.
Superscript
Select this menu item to toggle the selected text between superscript and not superscript.
Subscript
Select this menu item to toggle the selected text between subscript and not subscript.
Page Menu
This menu offers access to previously viewed screens (pages), and also control of how
the current data screen is viewed.
History
Select this menu item to bring up the following floating window to see a list of the
libraries that you have visited during this session. From the window you can select a
library and go to it by double-clicking on it or clicking the OK button.
Size to Page
Select this menu item to set the ArcSim window to its default size. If you happen to click
on the Windows zoom icon, Windows will fill your screen with the current window.
However, the window doesn’t show any more information. Use this menu item to restore
its appearance.
Tools Menu
Use the Tools menu as an alternative to the buttons in the ribbon bar.
The ribbon bar, shown below, was described in more detail starting on page 88.
1 2 3 4 5 6 7 8 9
Calculator
Select this menu item to go to the calculator screen (same as 1 ).
Text Editor
Select this menu item to go to a utility library used to create and edit text files (same as
2 ).
Library Editor
Select this menu item to bring up a floating window used to edit existing libraries (same
as 3 ).
EP Setup
Select this menu item to go to the Plot Setup: Single library with plot settings that define
plot variables, formats, etc. (same as 6 ).
Runs
Select this menu item to go to a Runs library with settings to make a single simulation
run (same as 8 ).
Batch Runs
Select this menu item to go to the Runs: Batch library (same as 7 ).
Batch Plotting
Select this menu item to go to the Plot Setup: Batch library (same as 5 ).
Spectrum
This item is reserved for the Spectrum Setup library (same as 4 ).
Note: The spectrum analyzer and the settings screen are intended to be
added to the next version of ArcSim.
Preferences
Select this menu item to bring up a floating window used to set global preferences for
ArcSim (same as 9 ).
Standard Objects
Standard objects that were described in Chapter 7 are not covered again in this chapter.
For example, the buttons at the top of the screen (New, Delete, etc.) are the same in every
library.
Keywords
Parameter values that are displayed in yellow fields will usually appear in the echo files
produced by the simulation programs. These echo files identify the parameters with
keywords and list them in alphabetical order (see Appendix D for an example). Along
with the definitions for the parameters, keywords are defined so you will know where to
look for them in the echo files. They are shown in parentheses in the Courier font.
Many of the parameters in the ArcSim models are applied in several places on the
vehicle. For example, every axle has a mass, and the same data screen is used to describe
an axle mass, no matter where it is located in the vehicle. Every axle mass is associated
with the keyword MUS. The location of the axle is specified with additional keywords
IUNIT and IAXLE that are written automatically by ArcSim to tell the simulation
which axle mass is being specified. For components that differ on the left and right side, a
keyword ISIDE is also used.
Parameters that are repeated are called indexed parameters, with the indexing being
defined with the keywords IUNIT, IAXLE, etc. The indexing keywords can be of interest
to advanced users who override vehicle properties using the Miscellaneous fields
scattered throughout the ArcSim data screens. Therefore, they are specified along with
the parameter keyword. For example, the entry for axle mass reads: Axle Mass (keyword
= MUS (IUNIT, IAXLE)).
Indexed parameters that are only applied in one place are shown with numerical indices.
For example, the wheelbase of unit 1 is shown as LWB(1).
— 104 —
Chapter 8 Alphabetical Library Screen Reference
Location of Library
Each section ends with the location of the library from two points of view. First is a list
of the screens needed to reach the library using the user interface, as shown in Figure 2.2,
Map of the ArcSim libraries, on page 14. For example, to get to the Animator Camera
screen, start with the ArcSim Startup screen, then press the Start button to go to the
Runs screen, then follow a blue link to go to the Animator Setup screen, then follow
another blue link to go to the Animator Camera screen. This sequence is written at the
end of the reference section as:
ArcSim Startup
Runs
Animator Setup
Animator Camera
In addition, a relative pathname is given for the library TBK file (e.g.,
Animate\Camera\Camera.tbk). Pathnames are relative to the root directory of
ArcSim. For example, the absolute pathname would be something like
C:\ArcSim\Animate\Camera\Camera.tbk. The relative pathnames are useful to
know even if you are not looking for a file, because they appear in the pull-down menu of
the GO button (in the ribbon bar).
Discussion
Imagine you have a video camera and are viewing a truck as it moves down the road.
Your location (actually, the location of the camera you are holding) determines your
point of view. From that point, you can aim the camera anywhere. However, you will
probably pan the camera to keep the vehicle in view. If the camera has a zoom lens, you
might zoom in or out to control the size of the vehicle in the viewfinder.
In ArcSim, there is no physical vehicle to look at. However, to go along with the
simulated vehicles, the animator program described in Chapter 5 simulates the motions
that you would view with a video camera. Use the Animator Camera Setup screen to
establish various camera positions and aiming strategies.
The parameters in this library are associated with two geometric points illustrated on the
screen: (1) the camera point, (2) and the look point. At each output time interval, the
animator generates a 2D image based on the relationships between the simulated vehicle
and the camera and look points (see the illustration on the data screen). The locations of
vehicle parts are determined by the simulation program. The camera and look points are
determined by the information provided in this data set.
Point locations are defined in 3D space with sets of X, Y, and Z coordinates. In order to
provide almost any imaginable view of the simulated vehicle motion, the animator
program allows both the camera and look points to be associated with any user-defined
reference frame. The reference frame can be fixed or it can be a vehicle part (e.g., a
sprung mass. It is even possible to define a new moving reference frame using variables
that are available in the simulation output files.
2 4
3 5
User Settings
1 Focal length of the simulated camera (keyword = set_focal_length). A large value
produces a telephoto lens effect and a small value produces a wide-angle lens effect.
Focal length has units of feet.
Location in ArcSim
ArcSim Startup
Runs
Animator Setup
Animator Camera
File Location
Animate\Camera\Camera.tbk
Animator Groups
The Animator Groups screen is used to group shapes, wheels, reference frames, and
other groups. The library can be used for several purposes, to help support the versatility
of the animator.
Discussion
The Animator draws just two kinds of moving objects: shapes and wheels. In order to
build a detailed visual representation of a moving vehicle, groups of shapes and wheels
must be collected and associated with moving reference frames.
This screen is used to group other animator data sets together. Typically, the data sets
being grouped are reference frames, body shapes, wheels, and other groups that make up
the image of a vehicle.
As explained in Chapter 5, reference frames are used to define motions of vehicle parts.
As the inputs to the animator are processed, each shape or wheel is associated with a
reference frame.
1 1 1
1
2 2
1
1 1
1
1 2 2
1
1 1
1
2 2
1
1 1 1
1 1 1
There is always a single active reference frame. Each shape and wheel that is processed is
defined within this frame.
It is important to understand that all objects in a reference frame must be processed
together. For example, suppose there is a reference frame with the title truck body.
The animator will not allow some shapes to be processed for truck body, then process
shapes for another reference frame, and then switch back to truck body. Once the
animator starts processing data for a particular reference frame, it is no longer possible to
add shapes or wheels to reference frames that were previously processed.
Although shapes and wheels are always associated with the active reference frame, the
camera and look-point coordinates are not. However, because the camera and look-point
data are contained in the library Animator Camera Settings, you should not have
occasion to deal with them in an Animation Groups data set.
Note: The reason that shapes and wheels are handled differently than
camera and look-point data is that shapes and wheels can be
duplicated. For example, the same wheel information is usually
linked to every axle reference frame. In contrast, there is only a
single camera point and a single look point.
An animator group can be set up several ways.
• It can group wheels or shapes together and associate them with a reference frame.
For example, a truck body group might associate several shapes together with
a truck body reference frame.
• It can group several shapes or wheels together without associating them with a
reference frame. For example, you might want to create a complex object that
could be associated with several different reference frames under different
conditions.
• It can group together other groups. For example, a whole truck group could be
assembled from a truck body group, an axle 1 group, and an axle 2
group.
• It can group together objects with more than one reference frame. For example, an
axle group might associate two wheel objects with a reference frame for a dual
assembly on the left-hand side of the axle, plus two wheel objects with a reference
frame for the dual assembly on the right-hand side of the axle.
When combining reference frames and other data sets, be aware that the data are sent to
the animator in the same order they are numbered on the screen: top to bottom, then left
to right. If one of the links is to a reference frame, it should be the first one (Link 1). It
applies until another reference frame is encountered.
Note: The animator group is one of the more difficult to understand
screens in ArcSim. It may help to browse through the groups that
are installed with ArcSim, to see by example how complex
systems are assembled using this screen.
User Settings
1 Miscellaneous links. Links are used to include other groups, wheels, shapes, and
reference frames. A group, wheel, or shape appearing in one of these links is attached to
the reference frame link most immediately above it. If none of the links are made to a
reference frame, then all wheels and shapes are attached to the most recently introduced
reference frame, in the data set above this one (i.e., the data set which has a link down to
this one).
2 Miscellaneous fields. Enter keywords and the value you want assigned to them. The
format is that each line has a keyword and value, separated with white space (at least a
single space). These keyword values apply to the Link which they are directly underneath
(Links 11, 12, 13, 16, 17 or 18). These fields can be used to add to shape or wheel data.
For example, to mirror an object from the left to the right side, enter the keyword
set_scale_y followed by a value –1.
Location in ArcSim
ArcSim Startup
Runs
Animator Setup
Animator Groups
Note: This library can be applied in different ways, which means there
may be links to it from libraries other than the Animator Setup
library.
File Location
Animate\Groups\Groups.tbk
Discussion
The animator in ArcSim shows moving wire-frame figures. The lines used to draw each
wire-frame object may move relative to other objects, but the spatial relationships
between the lines in a single object are fixed.
When the relationships between a set of points does not ever change (i.e., they form a
rigid structure), they are said to exist in the same reference frame. Therefore, the
coordinates provided for shapes are constants when based on a coordinate system fixed in
the appropriate reference frame.
In order to draw the wire-frame shapes, the animator must convert relative coordinates in
a moving coordinate system to absolute coordinates in the global coordinate system. The
conversion is defined by the global position of the origin of the moving coordinate
system (its global X, Y, and Z coordinates), along with the orientations of its three axes.
The global coordinate system has the Z axis pointing up (opposite the direction of
gravity). The global origin is typically in the road plane. When the vehicle is placed such
that the center of the front axle is above the global origin, then the global X, Y, and Z
coordinates of the lead unit sprung mass are all zero. And unless specified otherwise, the
vehicle is oriented such that its X axis aligns with the global X axis.
1 2 3
4 5 6
The orientation of a reference frame is defined by three consecutive rotations that are
called Euler angles. For vehicles, the angles are commonly called yaw (rotation about the
Z axis), pitch (rotation about the Y axis), and roll (rotation about the X axis).
Starting such that the X, Y, and Z axes of the moving frame are parallel with those of the
global frame, the moving frame can be oriented by consecutive rotations about its axes.
For example, first rotate the frame about its Z axis by a yaw angle. After this is done, the
new Z direction is the same as the old, but the X and Y axes are pointed in new
directions, called X' and Y'. Next, rotate about the new Y axis, Y', by a pitch angle. After
the pitch rotation, the Y axis is still in the Y' direction, but the X and Z axes are pointed
in new directions, called X" and Z". Finally, rotate a third time, about the new X axis, X",
by the roll angle.
Although it might not be obvious at first if you are not experienced with 3D kinematics,
any conceivable orientation of a reference frame can be described with three Euler
angles. However, it is necessary to specify the order of the rotations.
Overall, a reference frame is defined by six variables: three coordinates (X, Y, and Z),
and three Euler angles. The animator reads the required six variables from the output files
generated by the simulation programs. After reading the six variables, each coordinate
and Euler angle is calculated with a relationship of the form:
coordinate = Co + C*SFc (1)
User Settings
1 Names of coordinate variables for X, Y, and Z (keywords = set_x_name,
set_y_name, set_z_name). These are short names in the ERD files, associated with
the variable C in eq. 1. If no name is listed, then a constant value of 0.0 is used to
compute the coordinate. If the name is not found in the ERD file, then a value of 0.0 is
used.
2 Offsets for coordinate variables for X, Y, and Z (keywords = set_offset_var_x,
set_offset_var_y, set_offset_var_z). These values are numbers, used to
replace the symbol Co in eq. 1. If no number is entered, a value of 0.0 is used.
3 Scale factors for coordinate variables for X, Y, and Z (keywords = set_scale_var_x,
set_scale_var_y, set_scale_var_z). These values are numbers, used to replace
the symbol SFc in eq. 1. If no number is entered, a value of 1.0 is used.
4 Names of Euler angle variables for roll, pitch, and yaw (keywords = set_roll_name,
set_pitch_name, set_yaw_name). These are short names in the ERD files,
associated with the variable A in eq. 2. If no name is listed, then a constant value of 0.0 is
used. If the name is not found in the ERD file, then a value of 0.0 is used.
5 Offsets for Euler angle variables for roll, pitch, and yaw (keywords =
set_offset_var_roll, set_offset_var_pitch, set_offset_var_yaw).
These values are numbers, used to replace the symbol Ao in eq. 2. If no number is
entered, a value of 0.0 is used.
6 Scale factors for Euler angle variables for roll, pitch, and yaw (keywords =
set_scale_var_roll, set_scale_var_pitch, set_scale_var_yaw). These
values are numbers, used to replace the symbol SF a in eq. 2. If no number is entered, a
value of 1.0 is used.
7 Rotation sequence for Euler angles (keyword = set_euler_angles). In general, there
are 12 possible sequences of body-fixed orientation angle sets. (The constraint is that
there cannot be two consecutive rotations about the same axis. Thus, there are 3 choices
for the first rotation, 2 for the second, and 2 for the third.) However, only two sequences
are common for vehicle dynamics: yaw-pitch-roll (used for large body motions), and
yaw-roll-pitch, used for the spinning wheels.
For the animator in ArcSim, the value must either be the text yaw_pitch_roll or the
text yaw_roll_pitch.
Location in ArcSim
ArcSim Startup
Runs
Animator Setup
Animator Groups / Camera Setup
Animator Reference Frames
File Location
Animate\Frames\Frames.tbk
Animator Setup
This is the top-level screen used to control the animator. It defines the system being
animated, the camera setup, a reference grid, and possibly some other objects.
1 8
4
2 5
3 6
9
7
3 3
Discussion
The animator in ArcSim shows wire-frame figures as viewed by a simulated camera, as
described in Chapter 5. The data sets in this library serve to link groups of animator
objects defined elsewhere to represent trucks and other vehicles with a description of the
camera properties. In addition, the details of an optional grid are specified.
An existing animator setup can be rapidly modified by linking to different camera data
sets or different vehicle descriptions.
A grid is always drawn, oriented in the global X and Y directions. The minimum and
maximum X and Y global coordinates for the grid can be specified. Different grid
spacing can be used in the X and Y directions. (The grid can be turned off manually
within the Animator, as described in Chapter 5.)
User Settings
1 Link to animation group. This is a link to a group that is typically set up to represent a
complete vehicle.
2 Link to camera setup. This is a link to data describing the camera position, focal length,
and the position of the look point.
3 Three optional links are provided to help create more complex animation displays. These
links need not be used. For example, they could be used to include fixed objects, such as
a road. They would most commonly be linked to animation groups. If linked directly to
shapes or reference frames, the sequence is important. (See the discussion of the relation
between reference frames and shapes in the section Animator Groups in this chapter.)
4 Grid color (keyword = set_color). This is text that specifies the color of the grid.
Valid values are black, white, red, green, blue, yellow, magenta, light
gray, and dark gray. If no color is specified, the grid is shown in black. To avoid
showing the grid, set its color to white.
Note: The keyword add_grid is written before the values shown in the
fields 4 – 7 . Therefore, the keyword set_color is applied to
the grid. The same keyword is used in other contexts to set colors
of shapes and wheels.
5 Grid intervals for X and Y (keywords = set_interval_x, set_interval_y). The
units for these values are feet.
6 Minimum X and Y values covered by the grid (keywords = set_min_x, set_min_y).
The units for these values are feet. If not specified, the default values are zero.
The animator will automatically determine the range for the grid if the minimum and
maximum values are set equal or left blank.
7 Maximum X and Y values covered by the grid (keywords = set_max_x, set_max_y).
The units for these values are feet. If not specified, the default values are zero.
The animator will automatically determine the range for the grid if the minimum and
maximum values are set equal or left blank.
Note: The X and Y directions are handled independently, meaning that
the range for one can be set manually and the other can be
determined automatically.
Location in ArcSim
ArcSim Startup
Runs
Animator Setup
File Location
Animate\Frames\Frames.tbk
Animator Shapes
This screen is used to define one or more wire-frame shapes that are drawn by the
animator.
Discussion
A shape is a set of points connected by straight lines. Each point is defined by a set of
three coordinates (X-Y-Z). The animator starts with the first point, and draws connecting
lines to each following point.
All coordinates are assumed to be in a local coordinate system, associated with the active
reference frame. (See the discussion on how shapes and reference frames are associated
in the section Animator Groups, in this chapter.)
The animator also supports offsets and scale factors. All of the coordinates are calculated
using the equation:
coordinate = Co + C*SF (1)
where C is the original coordinate, Co is the offset, and SF is a scale factor (gain).
The offsets and scale factors allow the shapes to be relocated and resized without
requiring all of the coordinates to be changed by hand. Applying an offset has the effect
of relocating the shape within the reference frame. For example, offsets are used to place
wheels at the ends of axles, rather than at their centers. Scale factors can be used to
change the size of a shape. For example, to make a trailer body twice as long, enter an X
scale factor of 2.0.
Scale factors can also be used to mirror a shape. If the scale factor is negative, then all of
the corresponding coordinates are given the opposite sign. For example, a left fender can
be converted to a right fender by setting the Y scale factor to –1.
The shape library can handle two kinds of shape data:
1. A single shape is described, using the appropriately labeled fields.
2. Multiple shapes can be described, using the Miscellaneous field.
The second approach is useful if there are many shapes used to describe a complex body,
and they are unlikely to be used for any other purpose. By putting the many shapes into
one data set, fewer files are processed by the animator, and there is little likelihood of
accidentally modifying a group.
User Settings
1 Coordinates (keywords = set_coordinates, end_coordinates to indicate the
start and end of the list). Each line should have the three coordinates of a single point.
The units are feet. The syntax is that each of the values is separated by at least one space.
Blank lines are not allowed.
Location in ArcSim
ArcSim Startup
Runs
Animator Setup
Animator Groups
Animator Shapes
File Location
Animate\Shapes\Shapes.tbk
Animator Wheels
The current version of the animator supports a single 3D graphic primitive—a cylinder. It
is typically used to draw vehicle wheels. This screen is used to define a wheel.
Discussion
The animator considers a wheel to be two polygons with a specified radius, separated by
a specified thickness. In addition, the corresponding nodes of the polygons are connected
by lines. The wheel is oriented such that its central axis is parallel to the Y axis of the
corresponding reference frame.
3
2 4
6 7
User Settings
1 Thickness (keyword = set_thickness). This should have units of feet.
2 Radius (keyword = set_radius). This should have units of feet.
3 Number of points used for polygon approximation of circle (keyword =
set_num_points).
4 Color of lines drawn by animator to show the wheel (keyword = set_color). The
allowable values are black, white, red, green, blue, yellow, magenta, light
gray, and dark gray. The default is black.
5 Radial line option (keyword = set_radial_line). This determines whether a line is
drawn from the center of one of the polygons to the first node. The single line is useful
for determining when wheels lock up during braking simulations. The allowable values
for this field are on and off.
6 Coordinates of center (keywords = s e t _ o f f s e t _ x , s e t _ o f f s e t _ y ,
set_offset_z). These are the X, Y, and Z coordinates of the wheel center in the
reference frame with which the wheel is associated. The default values of 0.0 are used if
no values are provided.
Location in ArcSim
ArcSim Startup
Runs
Animator Setup
Animator Groups
Animator Wheels
File Location
Animate\Wheels\Wheels.tbk
Axles
Use this screen to specify the relevant modeling parameters of the solid axles used on
trucks and trailers.
Discussion
You must describe the inertial and dimensional properties of every axle. The “axle” is
considered to be the entire unsprung mass (axle, brakes, wheels and tires), even though
additional properties for these components are specified on other screens.
4
5
6
8
7 7
User Settings
1 Dual tire spacing (keyword = LDUAL (IUNIT, IAXLE)). Lateral distance between
the centerlines of the two tires of a dual wheel set. If the axle has single tires, use a
spacing of zero.
2 Height of the axle spin axis (keyword = HCGA (IUNIT, IAXLE)). This value is used
to establish the relationship between wheel spin and forward speed, and it is also used for
the height of the mass center. The two numbers are so close that only a single value is
used, to avoid potential errors.
3 Track width (keyword = LTK (IUNIT, IAXLE)). Lateral distance between the
centers of dual wheel sets. If the axle has single tires, this is the distance between the
centers of the two tires.
4 Axle Mass (keyword = MUS (IUNIT, IAXLE)). Mass of the axle with attached
hardware such as brakes, wheels and tires. This is the effective mass of all components
that move as an “unsprung” unit. Therefore, half of the mass of connecting hardware
(e.g., springs and control arms) is usually included.
5 Roll and Yaw Moments of Inertia (keyword = IA (IUNIT, IAXLE)). Because of
symmetry of the axle, the moments of inertia about these two axes are so similar that only
one value is used.
Location in ArcSim
ArcSim Startup
Runs
Vehicle: (loaded truck or combination vehicle)
Vehicle Unit: (empty truck, tractor, or trailer)
Suspension: Solid Axle
File Location
Vehicles\Parts\Axles\Axles.tbk
Calculator
Use this screen to create and edit tabular numerical data. It is available from a button on
the ribbon bar and from the Tools menu.
Discussion
This data screen is a tool supplied in ArcSim because there are many times when
preparing ArcSim inputs that simple calculations are needed. This screen can be used to
convert units for existing data, or to create tables from scratch. For example (explained in
detail later), the screen display shows how a series of X-Y coordinates are created for a
500-ft radius circle.
This screen does not directly feed data to a simulation model. To use the data, you must
copy the numbers to the clipboard and then paste them into an appropriate data screen.
1 2
5 6
3 4
14
11 12
7 8 9 10 13
16 19
15 17
18 20
The screen design is fairly complex, because the calculator tool has several capabilities:
• It plots tabular data for one or more pairs of X-Y data points.
• It performs simple calculations by evaluating a mathematical expression and
printing the numerical result.
• It evaluates mathematical expressions involving values in a 2D table, updating the
entire table with a single button click. For example, you can convert the units for
different columns in a table using different scale factors for each column.
• It creates tabular data from scratch, based on start and end conditions for a series.
After the user settings are described, a few examples are provided to show how they are
used.
The buttons underneath ( 3 - 9 ) are used to change the precision of the numbers,
determine whether commas separate the numbers, and to modify the column-row
structure of the table.
The fields and buttons in the bottom area of the screen ( 15 - 20 ) are used to perform
calculations to create the tabular data from scratch, or to transform existing values.
The only part of the screen that is not related to the tabular data field is the simple
calculator, with items 11 - 14 .
2 Plot. This graphic is created by plotting values of columns 2 and higher on the Y axis,
against the values of column 1 on the X axis. Thus, the number of plots is N-1 where N is
the number of columns. The plot is not made automatically—you must click the Plot
button 10 to create it or update it after modifying the tabular data 1 .
3 Format button. Click to format the numbers in the tabular data field 1 according to the
format string 4 .
4 Format field. The text in this field specifies whether numbers are written with fixed
decimal places or in scientific notation. It also specifies how many digits are written to
the right of the decimal point. The format string has the form: X.X where the X’s
represent a series of place holders:
0 — place holder for a digit.
# — Same as 0 except the digit is not printed unless it is needed.
E+ or e+ — Scientific notation with sign always used for the exponent. The number
of digits in the exponent is determined by the number of place holders.
If the format field is blank, then numbers are written to their full precision.
Following are some example format strings and the effect they have on three example
mathematical expressions.
The format field is applied when you click the Format button 3 , the Create Series
button 19 , or the Transform Series button 20 .
5 Insert ‘,’ button. Click to ensure that all numbers in a row are separated with commas. If
commas already exist, this has no effect except possibly to tidy the appearance of the
table 1 .
6 Remove ‘,’ button. Click to ensure that all numbers in a row are separated with white
space only. If commas exist, they are removed. If numbers are already separated only by
white space, this has no effect.
7 Flip Rows button. Click to reverse the order of the lines in the tabular data field 1 .
8 Flip Columns button. Click to reverse the order of the numbers in each line in the tabular
data field 1 .
9 Transpose button. Click to transpose the columns and rows in the tabular data field 1 .
For example:
1,2,3 Becomes 1,5
5,6,7 2,6
3,7
10 Plot button. Click this to update the graphic 2 based on the current contents of the
tabular data field 1 . The graphic is created by plotting values of columns 2 and higher
on the Y axis, against the values of column 1 on the X axis. Thus, the number of plots is
N-1 where N is the number of columns.
11 Calculator input field. Enter a mathematical expression, then click the “=” button 12 to
see the result in the calculator output field 13 . In addition to normal arithmetic
operations, the calculator has a number of built-in functions that are described in a later
subsection.
12 Calculate button. Click to evaluate the expression in the input field 11 and print the result
in the output field 13 .
13 Calculator output field. This displays the results of the calculation performed when you
click the “=” button 12 . The format can be specified using the format string 14 .
14 Calculator output format. This field contains a format string used to control the round-off
in the calculator output 13 . It is applied when you click the “=” button 12 . The syntax is
the same as the other format field 4 , described previously.
15 Mathematical definitions. This field is used to create or transform numbers in the tabular
data field 1 . The field is used for two distinctly different purposes:
1. It provides mathematical definitions of the numbers that will be calculated and
stored in the tabular data field when you click the Create Series button 19 . In this
case, all definitions must involve only numbers and a single variable X. X is
calculated automatically and given a value for each new row based on the three
fields 16 , 17 , and 18 .
2. It provides transforms of existing numbers that will be calculated when you click
the Transform Series button 20 . In this case, the definitions must involve
numbers and the variables X, Y, Y2, Y3, ..., where X is the first number in each
line of the tabular data field, Y is the second number, Y2 is the third, and so on.
In the first case, the field is cleared and all new numbers are put into it, based on the
series information ( 16 , 17 , and 18 ) and the mathematical definitions. In the second case,
the tabular data field is not cleared—the existing numbers are replaced.
In both cases, the tabular data field will have the same number of items as the
mathematical definitions field. Initially, items (numerical results of the calculations) are
separated by commas. (Use the Remove ‘,’ button 6 to remove the commas if needed.)
In both cases, the variable X can be included in the expressions. The meaning is not
always the same. In the first case, X is an arbitrary independent variable whose values are
defined by the range and interval specified in the fields 16 , 17 , and 18 . In the second
case, X is the first number in the tabular data field 1 .
The variables Y, Y2, etc. are recognized only in the second case. They should not be used
when generating new numbers with the Create Series button 19 .
The variables and function names used in this field are not sensitive to case: x and X refer
to the same variable.
Several examples are provided in the next subsection to indicate how you might use this
field.
16 Start value. This is the value assigned to X for the first row of numbers created in the
tabular data field 1 when you click the Create Series button 19 .
17 End value. This is the value assigned to X for the last row of numbers created in the
tabular data field 1 when you click the Create Series button 19 .
18 Step. This is the interval used to calculate X for every row between the first and last in
the tabular data field 1 when you click the Create Series button 19 .
19 Create Series button. Click to replace the contents of the tabular data field 1 with rows
of numbers. Each row will have one number for each item in the mathematical definitions
field 15 . The number of rows is equal to (End – Start +1)/Step, where the values of Start,
End, and Step are obtained from the fields 16 , 17 , and 18 .
20 Transform Series button. Click to transform the contents of the tabular data field 1 .
When the transformation is complete, each row in the tabular data field will have one
number for each item in the mathematical definitions field 15 . The number of rows in the
tabular data field is not changed. The series Stop, End, and Step fields ( 16 , 17 , and 18 )
are not used in these calculations.
Examples
Generate a Sine Wave
To generate a set of X-Y values that define a sine wave with a period of 2 and an
amplitude of 6, do the following:
1. Set Start X 16 to 0
2. Set End X 17 to 2
3. Set Step DX 18 to 0.1 (this will create a table with 21 points)
4. Define the two variables in the mathematical definitions field 15 :
x, 6*sin(x*6.2832/2)
Available Functions
In addition to standard arithmetic operators, the compute button can process the
following functions:
abs(<number>) Absolute value of number.
acos(<number>) Arccosine (number in radians).
asin(<number>) Arcsine (number in radians).
atan(<number>) Arctangent (number in radians).
atan2(<number1>,<number2>) Arctangent of <number1> divided by <number2>
(numbers in radians).
average(<list of numbers>) Returns the sum divided by the number of items in the list
ceiling(<number>) Rounds up to nearest integer.
cos(<number>) Cosine (number in radians).
cosh(<number>) Hyperbolic Cosine (number in radians)
exp(<number>) Exponent (2.7182818) raised to power of number.
floor(<number>) Rounds down to nearest integer.
hypotenuse(<length>,<length>) Length of hypotenuse.
ln(<number>) Natural Log (base e)
log(<number>,<base>) Log of number in base.
max(<list of numbers>) Highest value in list.
min(<list of numbers>) Lowest value in list.
round(<number>) Rounds to nearest integer.
sin(<angle>) Sine of an angle (in radians).
sinh(<angle>) Hyperbolic sine of an angle (in radians).
sqrt(<number>) Square root of a positive number.
sum(<list of numbers>)
tan(<angle>) Tangent of an angle (in radians).
tanh(<angle>) Hyperbolic tangent of an angle (in radians).
truncate(<number>) Truncates to integer.
Location in ArcSim
Accessed from the Tools menu or the ribbon bar with the button:
File Location
Sgui_lib\calc.tbk
Computation Parameters
Use this screen to set parameters for the numerical integrator and to control the frequency
and format of output.
Discussion
The simulation programs operate by numerically integrating a set of nonlinear differential
equations over time. Over small time intervals, they approximate the integration using a
numerical integration algorithm.
This data screen contains parameters that have little to do with the vehicle model or its
inputs. Rather, they are related to the numerical solution method and to the form of the
output file used to store the computed results.
3
4
User Settings
1 Integration time step (keyword = STEP). The ArcSim solver programs generate output
file by solving equations of motion in a mathematical model of the vehicle. They repeat
the calculations at small intervals of simulated time, where the interval is called a time
step. The time needed to run a simulation is inversely related to the time step. If you
increase the time step by a factor of two, the program runs about twice as fast because it
only makes half as many calculations. However, the calculation method is valid only for
time steps that are “sufficiently small.” For typical truck models, “sufficiently small”
means about 0.002 seconds. If the springs are unusually stiff, a time step of 0.001 may be
required.
Note: If you are making many runs with a few vehicle descriptions, you
may want to determine how small the time step needs to be. Make
several runs changing only the time step. For example, try using
values of 0.004, 0.002, 0.001, and 0.0005 second. If the runs are
valid, plots of the same variables should overlay perfectly. If the
results at a large time step differ from those made with a small
time step, the typical assumption is that the results made with the
large time step are in error.
2 Integration method (keyword = INTOPT). The ArcSim models have several integration
methods built in. Method 3 (second-order fixed step Runge-Kutta) usually gives the best
results (i.e., run faster) for truck models with closed-loop controls or any form of braking.
However, if you are making runs with step inputs or other conditions where there is some
dynamic behavior followed by many seconds of nearly static behavior, then Method 2
(Gear) may give equivalent accuracy with a bigger time step and less time.
The variable step methods often allow larger time steps to be used, but they fail if the
time step is set too large. Time steps larger than 0.01 sec are likely to cause problems,
except for long runs with little change in the inputs. The limits depend both on the
vehicle parameters and the types of inputs, so trial and error is needed to determine the
largest step size that will work, even when using the variable step methods.
3 Integrator error tolerance (keyword = EPSINT). Not used if 2 is equal to 3.
4 Initial integrator step size (keyword = STEP0). Not used if 2 is equal to 3.
5 Minimum allowable integration step size (keyword = STEPMIN). Not used if 2 is equal
to 3.
6 Number of time steps between output printing (keyword = IPRINT). The time step 1
determines how often calculations are made. The time interval for the output files is the
product of the step and this interval (IPRINT). When the RK2 integration method
(number 2) is used, a print interval between 10 and 30 is recommended. When a variable
step method is used, you can sometimes set the step 1 to be the intended output interval
and set IPRINT = 1.
Notes: This parameter determines the resolution for plots and also the
speed for the animator. To make the animated motions runs faster,
Location in ArcSim
ArcSim Startup
Runs
Computation Parameters
File Location
Comp_par\Comp_par.tbk
Generic 2D Table
Use this screen to store and display tabular data involving two independent variables for
custom ArcSim models. This library is not needed for the standard ArcSim models.
Discussion
All tables in the standard ArcSim models are associated with libraries in the ArcSim data
base. However, ArcSim can be extended to include specialized models, developed by
users or MSC. If the specialize models involve tabular data with two independent
variables, then this library can be used to store the data.
Unlike most of the libraries in ArcSim, each data set in this library can represent a
different kind of data. This is possible because the keyword used by the simulation solver
programs to identify tabular data is a part of the data set.
User Settings
Note: User settings that are common for all 2D tabular data screens are
described in Chapter 7, in the section 2D Tabular Data.
1 Label for Y axis. This label is not used by the simulation programs. It is a user-comment
field, provided as a means for documenting the information on the screen.
2 Label for X axis. This label is not used by the simulation programs. It is a user-comment
field, provided as a means for documenting the information on the screen.
3 Tabular data. The first row has values of the first independent variable, the first column
has values of the other independent variable, and all other numbers are values of the
dependent variable.
4 Keyword. This keyword is required for a simulation program to make use of the data in
the table 3 . Unlike most ArcSim libraries, the keyword is not hidden. If the keyword in
this field is not recognized by the simulation program, then the data will not be used.
Location in ArcSim
This library does not have a default position in ArcSim. You can link to it from any blue
field in the ArcSim libraries.
File Location
Generic\Gen2dtab\Gen2dtab.tbk
Discussion
There are at least three applications for this library.
1. Create sets of related inputs, such as combinations of braking, steering, and speed.
2. Create sets of vehicle parameters that you want to apply as a group. For example,
you could make a group that applies alternate tire data for every axle in a vehicle.
3. Specify parameter values that do not fit in existing data screens. For the standard
ArcSim package, there are only a few such parameters: friction (MU) and a few
simulation control values (ROLL_STOP, V_STOP). However, if you add custom
vehicle models, created by modifying the ArcSim source code or by contracting
with MSC, then you might want to use this library to set values for additional
parameters that do not exist in the standard models.
When combining parameters and other data sets, be aware that the data are sent to the
solver programs in the same order they are numbered on the screen: top to bottom, then
left to right.
Many of the truck components are used more than once (tires, axles, springs, etc.), and a
keyword is used to determine where the description of the component should be applied.
For example, the keyword IAXLE is used to associate axle-related data sets to axles. Put
the line “IAXLE 3” in a yellow field, and then any links that follow will be associated
with axle 3. The screen layout includes six pairs of yellow fields and blue links.
Therefore, it is possible to specify data for six different places.
The best way to determine how keywords are used to locate data sets is by viewing an
echo file produced by the simulation program you will use (see Appendix D for an
example echo file).
1 1
2 2
1 1
2 2
1 1
2 2
User Settings
1 Miscellaneous parameter set fields. Enter keywords and the value you want assigned to
them. The format is that each line has a keyword and value, separated with white space
(at least a single space). These keyword values for vehicle units (IUNIT, IAXLE,
ISIDE) until the keyword is used again.
2 Links are used to include other ArcSim data sets.
Note: You can link to other generic data groups, if the number of fields
and links on the screen is not sufficient.
Location in ArcSim
This library does not have a default position in ArcSim. You can link to it from any blue
field in the ArcSim libraries.
File Location
Generic\Gendata\Gendata.tbk
Generic Table
Use this screen to store and display tabular data involving a single independent variable
for custom ArcSim models. This library is not needed for the standard ArcSim models.
Discussion
All tables in the standard ArcSim models are associated with libraries in the ArcSim data
base. However, ArcSim can be extended to include specialized models, developed by
users or MSC. If the specialize models involve tabular data with one independent
variable, then this library can be used to store the data.
Unlike most of the libraries in ArcSim, each data set in this library can represent a
different kind of data. This is possible because the keyword used by the simulation solver
programs to identify tabular data is a part of the data set.
User Settings
Note: User settings that are common for all tabular data screens are
described in Chapter 7, in the section Tabular Data.
1 Keyword. This keyword is required for a simulation program to make use of the data in
the table 4 . If the keyword in this field is not recognized by the simulation program,
then the data will not be used.
2 Label for Y axis. This label is not used by the simulation programs. It is a user-comment
field, provided as a means for documenting the information on the screen.
3 Label for X axis. This label is not used by the simulation programs. It is a user-comment
field, provided as a means for documenting the information on the screen.
4 Tabular data. The first row has values of the first independent variable, the first column
has values of the other independent variable, and all other numbers are values of the
dependent variable.
Location in ArcSim
This library does not have a default position in ArcSim. You can link to it from any blue
field in the ArcSim libraries.
File Location
Generic\Gentable\Gentable.tbk
Input: Braking
Use this screen to specify the braking application input to the brake system in terms of
control pressure as a function of time.
Discussion
You can control braking by applying effort at the brake pedal. The brake pedal output is a
control, or application, pressure that is applied to the brake system. It is described via a
table look-up function of brake input pressure as a function of time. The plot’s vertical
axis is the same as the horizontal axis on the Brakes: Mechanical Properties screen, and
therefore, the dimensional units must be the same on both screens.
User Settings
Note: User settings that are common for all tabular data screens are
described in Chapter 7, in the section Tabular Data.
1 Table field for brake input pressure (keyword = PBRAKE_TABLE). Each line should have
a value of time (seconds) followed by a corresponding value of braking input. The
normal units for brake input are psi. However, the important thing is that the units on this
screen match those used for the brake system mechanical properties.
Location in ArcSim
ArcSim Startup
Runs
Input: Braking
File Location
Input\Braking\Braking.tbk
2
4
Discussion
Although the ArcSim vehicle simulation models do not have details of a driveline, the
effect of a driver attempting to maintain a target speed is simulated through the use of a
closed-loop speed controller that applies torque to the drive wheels as needed to follow a
specified speed. The drive torque causes the wheel spin to increase, resulting in tire
tractive force that acts to change the vehicle speed. For modest drive torque, the tire
forces should be approximately the same as would be obtained with a full drive line
model.
The controller algorithm uses proportional-integral (PI) control. It is characterized by two
feedback coefficients: one is proportional to the current speed error, and the other is
proportional to the integral of the speed error.
The controller functions only if there is no brake input. As soon as the brake input is non-
zero, the speed controller is turned off for the remainder of the simulation run.
User Settings
Note: User settings that are common for all tabular data screens are
described in Chapter 7, in the section Tabular Data.
1 Two-column table of target speed as a function of time (keyword = SPEED_TABLE).
Time is in seconds, and speed has units of mi/h.
2 Controller on/off switch (keyword = SPEED_ON_OFF). This value determines whether
the controller is on or off. 0=off, 1=on. If the switch is off, the vehicle initial speed is set
to match the target speed, but no drive torque will be applied during the run.
3 Speed control integral gain (keyword = SPEED_KI). This value is the integral control
coefficient. It is scaled to correspond to a response frequency, with units of cycles/sec.
Typical values are about 0.1. Setting the value higher causes the drive torque to be
modulated more aggressively to maintain a smaller position error. If the number is too
high, the changes in drive torque will become unrealistically high. If the number is set
low, the position error is larger, and the actual speed may not match the target speed.
4 Speed control proportional gain (keyword = SPEED_KP). This value is the proportional
control coefficient. It is scaled to correspond to a response frequency, with units of
cycles/sec. Typical values are about 0.1. Setting the value higher causes the drive torque
to be modulated more rapidly. Although this gain controls the speed of the controller
response, it does not force the speed error to zero. To make the vehicle speed match the
target speed, integral control is needed 3 .
Location in ArcSim
ArcSim Startup
Runs
Input: Closed-Loop Speed Control
File Location
Input\Speed\Speed.tbk
Discussion
The steering is controlled either by defining steering wheel angle as a function of time or
by a path that the vehicle is supposed to follow. This library contains open-loop time
histories of steering wheel angle that can be used to control vehicles.
Steering control is an input that appears on the left of the Runs screen. To use the
steering wheel input, the open-loop library must be linked as one of the inputs. The
easiest way to make a new run using steering wheel input is to find an existing run made
with a steering input involving the vehicle type of interest and copy that run. However, if
there are no existing runs close to what you need, then you should:
1. Link to this library using one of the input links on the Runs screen, and
2. Make sure you are not linked to an closed-loop path following data set.
See the section Data Links in Chapter 7 for details on changing links.
User Settings
Note: User settings that are common for all tabular data screens are
described in Chapter 7, in the section Tabular Data.
Location in ArcSim
ArcSim Startup
Runs
Input: Steering Wheel Angle
File Location
Input\Steering\Steering.tbk
Library Editor
The Library editor is a tool built into ArcSim to help you organize libraries by
performing batch delete and renaming operations.
Discussion
The Library editor is available from any ArcSim library through the ribbon bar and the
Tools menu. When you bring it up, it automatically links to the current library. Use it to
delete a group of data sets from the library, or to organize data sets into categories.
1 2
3 4
Location in ArcSim
Accessed from the Tools menu or the ribbon bar with the button:
File Location
This editor is not contained in a conventional ArcSim library file. It is stored with SGUI
code in Sgui_lib\Bootfile.tbk.
Load Dimensions
Use this screen to define the load (cargo) dimensions on a truck or trailer.
Discussion
Use this screen to define the load (cargo) dimensions on a truck or trailer, so that the base
vehicle can be specified and then conveniently loaded to different conditions. The
dimensions specified needed to calculate the height of the center of gravity (CG) for the
vehicle and the rotational inertia. The load is assumed rectangular in shape and uniform
in.
The mass value for the load is determined elsewhere—based on the difference between
weights of the loaded and unloaded vehicle(s). The longitudinal position of the load CG
is also determined elsewhere, based on the axle load distribution for the loaded vehicle.
User Settings
1 Width (lateral dimension) of the load (keyword = LYRL(1)).
2 Length (longitudinal dimension) of the load (keyword = LXRL(1)).
3 Height (vertical dimension) of the load (keyword = LZRL(1)). This value is important
because it determines the height of the mass center of the load.
4 Elevation of the bottom of the load above the floor of the cargo bed (keyword =
HLLB(1)). The floor of the cargo bed is specified in the Empty Truck or Empty Trailer
screen. This value is also important because it contributes to the height of the mass center
of the load.
Location in ArcSim
ArcSim Startup
Runs
Vehicle: (loaded truck or combination vehicle)
Load Dimensions
File Location
Vehicles\Loads\Loads.tbk
Plot Format
The format screen determines the style and layout properties of a plot. The formats cover
line style, scaling, front properties, size, and axis type.
Discussion
The WinEP program supports a number of options for controlling the format of the
generated plots. As was described in Chapter 6, dialog boxes are used for setting all
options interactively, and those options can be stored in text files for future use.
This data screen is also used to specify plotting formats. Every user setting on this screen
can also be set interactively from within WinEP. However, when set here, the formatting
information is stored in the ArcSim data base and can be applied easily to any plots
initiated from within ArcSim (clicking the Plot button from the Runs screen or the Plot:
Batch Setup screen).
8
2 2
9
1
10
3 3
11
4 4 12
User Settings
1 Lines and symbol specification (keywords = symbols, linestyl, colors). Clicking
on a number or line will bring up the Lines palette, shown in the next figure. The palette
applies to one line number, which will be highlighted. For example, line 2 is selected in
the following figure.
Choose the color, line style (dotted, thin, thick), and the symbol for the selected line. To
change a different line, click on a different line number, or use the up and down arrow
keys. To change all of the lines at once, hold down the control key when selecting the
style, color or symbol.
2 Axis type (keywords = xlinear, ylinear). Each white field has an adjacent button
with a pull-down menu with choices for Linear and Log.
3 Mode of scaling (keywords = xmaxmin, ymaxmin). Each white field has an adjacent
button with a pull-down menu with choices for Auto-pretty and Manual. In the auto-
scaling mode, the data are scanned to determine the maximum and minimum values for
the axis. Manual uses the values in the From and To fields 4 .
4 Axis limits (only used in Manual scaling mode).
5 Change Fonts button. Press the button to display a pull-down menu for selecting font
properties for the title, legend, axes labels, and axis numbers. These parts of the plot are
identified in the next figure. A standard Windows dialog box for specifying font
properties then appears and is used to specify the font properties.
6 Current font settings. The table shows the current font settings for the four types of labels
appearing in the plot. You cannot change the values shown directly — you must go
through the Change Fonts button 5 .
7 Check boxes for labeling options. When more than one data set is plotted, the individual
data sets are identified with a legend. These check boxes control which labels are used to
identify the plots. Along with title and file name are variable or channel specific
information including name, long name, generic name, and rigid-body name.
Title
Y axis label
Legend
Tick labels
X axis label
Labels in a plot.
8 Axis selection. The button has a pull-down menu with two options: no axes or axes. The
current selection is shown in the white field.
9 Frame selection. The button has a pull-down menu with three options: no surrounding
frame, a rectangular frame, or a frame with tick marks. The current selection is shown in
the white field.
10 Grid selection. The button has a pull-down menu with three options: no grid, fine grid, or
course grid. The current selection is shown in the white field.
11 Legend location. The button has a pull-down menu with two possible locations for the
legend that identifies data sets in overlay plots. The choices are to the right of the plot, or
four locations within the plot area. The current selection is shown in the white field.
12 Legend size limit. When two or more data sets are overlaid, and the legend is located to
the right of the plot area, WinEP sizes the plot area to leave just enough room to print the
legend. In the event that at least one of the labels in the legend is long, or that the window
is not very wide, then little space is available for the plot. This field is used to set a
maximum amount of the total window width that will be used for the legend.
This setting has no effect unless three conditions are met:
1. At least two data sets are overlaid in the plot.
2. The legend is placed to the right of the plot (as specified in 11 ).
3. The length of the longest label in the legend exceeds the specified percentage of
the window width.
If the above three conditions are met, then the plot is sized giving the legend the specified
amount. For example, if the limit is set to 30%, then the plot area is size to leave exactly
30% of the width for the legend. The labels that are too long are truncated to fit.
Location in ArcSim
ArcSim Startup
Runs
Plot Setup: Single
Plot Format
File Location
Plot\Format\Format.tbk
1 7
3 4 5
9 10
12
6
13
11
14
Description
The standard Runs screen allows multiple plots to be specified, and multiple runs to be
overlaid. However, it is limited to four plot setups and three runs. If you want to trigger
more plots with one button click, or overlay data from more than three runs, you can do it
from this library.
3 The Add button. Click to add highlighted lines from the Runs list 2 to the Selected
Data Files list 6 . Shift-click to add all.
4 The Remove button. Click to remove highlighted data sets from the Selected Data Files
list 6 . Shift-click to remove all.
5 The Add ERD File button. Calls up a dialog box for you to select ERD files that are
added to the Selected Data Files list 6 . The dialog box will continue to request
selections until you click the Cancel button.
6 The Selected Data Files list. List of the selected data sets from the Runs list. These are
the data sets that will be plotted. Any line in brackets (<>) indicates a category heading.
Double-click on a line to remove from the list.
7 Plot Setup link. The pull-down menu has two options: (1) to go to the currently selected
library, or (2) to pick a new library. The linked library must contain plot setup
information. When you pick a new library, the field below is updated to show the names
of all of its data sets.
8 The Plot Setups list. List of all of the plot setups in the EP setup library. Any line in
brackets (<>) indicates a category heading. Double-click on a line to add to the Selected
Plots list 11 .
9 The Add button. Adds highlighted lines from the Plot Setups list 8 to the Selected
Plots list 11 . Shift-click to add all.
10 The Remove button. Removes highlighted data sets from the Selected Plots list 11 .
Shift-click to remove all.
11 The Selected Plots list. List of the selected plot setups in the EP setup library. These are
the plot setups that will be used for the plots. Any line in brackets (<>) indicates a
category heading. Double-click on a line to remove from the list.
12 The One Plot Per Data File button. Click to cause the next set of plots to be made with a
separate plot for each combination of a run and plot setup. The total number of plots will
be the number of data sets multiplied by the number of selected plots.
13 The One Plot For All Data Files button. Click to cause the next set of plots to be made
by overlaying all runs for each plot setup. The total number of plots will be the number of
selected plots.
14 The Make Plots button. Click to start the program WinEP and instruct it to make a series
of plots based upon the selected runs, plot setups, printing and overlay options selected.
Location in ArcSim
Accessed with the Tools menu or the ribbon bar button: 17
File Location
Batch\Plot_bat\Plot_bat.tbk
Discussion
This data set is a template, used to specify what a plot should contain and how it should
look. The template is applied from the Runs screen and the Plot Setup: Batch screens.
Plots can also be made directly from this library, but this is mainly for quick testing of
new data sets.
ArcSim comes with over 20 installed plot templates. You can modify any of these, plus
you can define new ones. Once a template is defined, it can be selected from the Runs
screen and applied routinely to all runs to generate plots.
13
2 3 4 5 6 7
10
14
11
12
7 Add button. Click to add the selected channels in the X and Y axis lists ( 13 and 14 ) from
the ERD file 9 to the Data to Plot list 1 .
8 Show Channels button. Puts the channel names from the current data file 9 into the X
Axis and Y Axis fields ( 13 and 14 ).
9 Link to Runs library or ERD file. Shows the title of the currently selected run or ERD
file. If the data set was selected from a data library, only the title is shown. If an ERD file
was selected directly with the File button 5 , both the title and file name are shown. You
can also select a new ERD file with the adjacent pop-up menu.
10 Data file information. The field on the left shows the text following the keyword
HISTORY in the header of the data file. The field on the right gives the number of
samples in the data file.
11 Format link. The linked data set determines the look and scale of a plot. For more
information about the Format library, see the section Plot Format Screen in this chapter.
12 Transform link. This is for applying a filter to the data for plotting. The available filters
are moving average high, low, and band pass.
13 Y Axis list of variables. This shows all the variables in the current data file. Double click
on a line to add it and the line highlighted in the X Axis list to the Data to Plot list 1 .
14 X Axis list of variables This shows all the variables in the current data file. Double click
on a line to add it and the line highlighted in the Y axis list to the Data to Plot list 1 .
Making a Plot
Most plots are made from other screens, using the Plot Setup data as templates.
However, it is also possible to generate plots directly from this screen.
1. Click the Clear button 4 to clear the Data to Plot list 1 .
2. Select a file with data to plot.
a. Use the pop-up menu button 9 to select a data file from a library by its title, or
b. Use the File button 5 to select a file by its name.
3. Select the variable to plot on the Y axis and the variable to plot on the X axis from the
two scrollable lists (Y axis 13 and X axis 14 ) on the right side of the screen
4. Click the Add button 7 to add the selected X-Y variables from the current file to the
Data to Plot list 1 .
5. Repeat steps 3 and 4 as needed to select more variables. Repeat step 2 to overlay data
from another file.
6. Click the Plot button 6 to generate the plot with WinEP.
Location in ArcSim
This library is accessible from several places in ArcSim.
File Location
Plot\Plot.tbk
Plot Transforms
This screen is used for setting up plots with smoothing (low pass filter) and unsmoothing
(high pass filter).
Discussion
Filtering is normally used to view measured data. It is not routinely applied to simulation
results generated by ArcSim models. However, it is useful if you have occasion to view
experimental data with WinEP.
User Settings
1 Filter type. Press adjacent button to display pull-down menu with choice of LoPass,
HiPass, BandPass, or no filter. See the above screen for more details.
2 High-pass baselength. This is a baselength for a moving average when the filter type is
either high-pass or band-pass. For no filter or a low-pass, this field is hidden.
3 Low-pass baselength. This is a baselength for a moving average when the filter type is
either low-pass or band-pass. For no filter or a high-pass, this field is hidden.
Location in ArcSim
ArcSim Startup
Runs
Plot Setup: Single
Plot Transform
File Location
Plot\Transfrm\Transfrm.tbk
Runs
This is the main screen in ArcSim. It has two functions:
1. to set up simulation runs and make them, and
2. to run post-processing programs to view results
Note: The Runs Screen has several possible appearances depending on
whether various check boxes are checked. The first figure shows
the simplest display. The most complex is shown later, after the
basic controls have been described.
Discussion
The Runs screen controls all aspects of a ArcSim simulation. Notice that the screen
image is divided into three regions
• Model Parameters & Inputs — this has links to inputs to the computer model.
They include the vehicle and control inputs.
• Run Control — here are parameters that control the extent of the run, and a
button to make the run.
• Output & Post Processing — this has controls for viewing outputs generated by
the run.
The Runs screen is special within ArcSim because it has several buttons that cause other
programs to run and do things (simulate a vehicle, animate results, show graphs of output
variables). However, like all the other screens covered in this chapter, it also defines a
data set within a library. In this case, the data set defines the conditions covered by a run.
Data in the left-most two regions do not have anything to do with outputs of a run. They
define the inputs and parameters that will be used in the computer model if and when a
run is made. In order to have an effect, changes must be made before a run is made. At
any time: (1) any of these inputs can be changed, and (2) a new run can be made. The
simulation program will always get its inputs using the current data from this screen.
On the other hand, settings in the right-most region have no use until after a run is made.
Linked data sets control the appearances of plots and animations. Changes in data in this
region do not affect a simulation. They only affect how the simulation results are viewed.
1 3 7
2 8
4 5
2 6
9
11
2 10
12
13
14
7 Animate button. Click to run the animator program and view motions of the vehicle as
predicted by the simulation. An error message will be printed if the output file does not
exist, which usually indicates that the run has not yet been made.
8 Animator Setup link. The linked data controls how the animator interprets the outputs
produced by the simulation program.
The animator data set selected with this link must be appropriate for the type of vehicle
that was simulated. For example, if the animator is given data for a tractor semitrailer, but
the simulated vehicle was a truck, then the animation will show a tractor driving away
from a non-moving trailer and some of the axles. This is because the output file has no
information for the trailer and extra axles.
9 View Echo File (All Parameters) button. This button causes a text editor to run and
display an echo file produced by the simulation program. When shipped, the text editor is
a special data screen bult into ArcSim.
The echo file has the extension LPF, and is similar to the file listed in Appendix D. If the
run has not yet been made, or if it aborted without writing the LPF file, then the text
editor will show a blank window.
If you click this button and get an error message or a file browser dialog, then ArcSim
could not find the text editor.
If you want to change the default text editor, you can Control-click the button to bring up
the file dialog.
There are at least two options for rapidly linking to a text editor using the above dialog:
1. If you use large tables, the echo files may be larger than 32K and you should link to
WinPad. It is usually located in c:\Program Files\Accessories\
Winpad.exe. Another choice is NotePad, which is commonly located in
c:\Windows\Notepad.exe.
2. If you want to restore the editor to the default built into ArcSim, change the file
name from *.exe to *.tbk, locate the file sgui_lib\textedit.tbk, and
select it.
10 Plot button. Click to view a plot of output variables calculated during the simulation run.
The plots are drawn by the WinEP program. An error message will be printed if the
output file does not exist (for example, if the run has not yet been made).
Up to four separate plots can be generated (each with many variables, taken from up to
three runs). In order to generate more than one plot, the Multiple Plots box 11 must be
checked.
11 Multiple Plots check box. This check box has two effects:
1. When checked it displays three plot setup links in addition to the first one 13 .
2. When checked, it allows up to four plots to be created with a single click to
the Plot button 10 .
If the box is not checked, the additional plot links are not cleared, they are just hidden.
12 Overlay Runs check box. This check box has two effects:
1. When checked it displays two links for other runs or ERD files.
2. When checked, it allows data from up to three files to be overlaid. (One file is
the output associated with the current Runs data set. The other two are
specified with the additional two links.)
If the box is not checked, the additional links are not cleared, they are just hidden.
13 Plot Setup link. The linked data controls what information will be extracted from the
output file and how that information will be displayed.
14 Show More check box. This check box has a single effect: it shows more control objects.
1 3 7
2 8
4 5
2 6
9
11
2 15 10
12
13
17
16 23
18
23
20
23
21
24
19
22 24
14
Note: The above figure shows the Runs screen with all three boxes
checked. All possible data fields and links are displayed.
conditions from the other run are also read, which means that the new run will continue
where the old one left off. Any inputs specified on this page will overwrite the data from
the previous run.
This link is provided for special applications. (Most users never need it.) A few cases
where you might consider using it are:
• to continue a run, perhaps after changing one or more model parameters;
• to make a run using a vehicle description whose parameter values have been lost
(the based on method reads from an LPF echo file, rather than the normal PAR
files associated with the SGUI screens); or
• for certain debugging operations, such as confirming that the parameters specified
in the screen are being processed by the solver program.
18 Overriding Data link. This link is used by the system when batch runs are made using
the Runs: Batch library. If a run is made under batch control, this link can be used to go
to the batch data set.
19 Excerpts from Output File. This field shows selected lines from one of the output files
produced by the solver programs. It is updated whenever a run is made or when the
Rescan button 22 is clicked.
20 File extension. This determines which echo file is scanned when a run is made or the
Rescan File button is clicked. The normal values are LPF (scan the file made with final
conditions), or LPO (scan the file made with initial conditions).
21 Keywords field. Each line in this field is a keyword that will be used to scan an output
echo file whenever a run is made or when the Rescan button is clicked.
22 Rescan button. Click this button to cause ArcSim to scan a file for lines beginning with
the keywords listed in the Keywords field 21 . Those lines are copied into the adjacent
white field 19 . The file that is scanned has a root name matching the ID of the current
data set and the specified extension 20 .
23 Additional Plot Setup links. These links are to plot data, similar to that in 13 . A separate
plot will be generated for each active link.
24 Overlay Run links. These links are used to generate overlay plots, in which variables
from the current simulation run are compared with the same variables from other files. To
overlay variables from two or three simulation runs, link to this library (Runs) and then
pick another run to compare with. To overlay variables with ERD files not from this
library (for example, measured test data), use the menu command to open an ERD file.
Location in ArcSim
Accessed from the Tools menu and the ribbon bar button:
Also accessed from the ArcSim Startup screen:
ArcSim Startup
Runs
File Location
Runs\Runs.tbk
Runs: Batch
The batch runs screen is used to set up several runs ahead of time and make them all at
once. It also can be used to override parameters.
Discussion
This screen is used to set up a batch of runs. It is handy for redoing a group of runs, say,
because an error was made in a vehicle parameter value. It can also be used to change a
parameter such as test speed, and make a set of runs again using the new parameter.
The basic method is:
1. Create a list of runs to be made using existing data sets from the Runs library.
2. Define parameters and link to other data sets to override the conditions specified
in the Runs data sets.
3. Click the Make Runs button.
1
6
2
7
7
3 4
6
5
8
7
If no overriding data values or links are provided in step 2, the effect is exactly the same
as going to each of the data sets from the Runs library and making the run again.
However, if any parameters are specified or links are made, each data set in the Runs
library is modified to use the overriding data. A link called Overriding Data (from
Batch) is made to this data set. For example, in the figure above, the name of the data set
is Example, and one of the yellow fields is used to specify a speed of 20. If any runs
were made, each affected run would have the following link set automatically:
This link is made so you can get from the runs data set back to the batch data set and see
what parameters and links were used when the run was made.
5 The Data Sets to Run list. This is a list of the selected data sets from the Runs library.
These are the data sets that will be run using the overriding data to the right ( 6 , 7 ).
Any line in brackets (<>) indicates a category heading.
Double-click on a line to remove it from the list. This is the same as selecting the line and
then clicking the Remove button 5 . Double clicking on a line in brackets will remove
the entire category.
6 Parameter Sets (1, 2, and 3). These lists hold overriding data. If used, each line typically
has a keyword followed by a value. For example, to set the speed, enter the line speed
60. See Appendix D for the keywords recognized by ArcSim models.
Any parameters specified in these fields will be used instead of the ones referenced in the
Runs data set, or in data sets linked to the Runs data set.
This field should be left blank if you do not want to modify the input parameters or
model descriptions for the runs to be made.
7 Links (1, 2, and 3). Use these links to apply data from any other ArcSim library. If the
data in the library can be applied to different parts of the vehicle (for example, a tire
description can be applied to any of the axles on the vehicle), a reference to a part of the
vehicle must be specified in the preceding Parameter Set 6 .
8 The Make Runs button. Click to run all of the data sets listed in the Data Sets to Run
list 5 . Hold down the control key to interrupt the runs in progress.
Location in ArcSim
Accessed from the Tools menu and the ribbon bar button:
File Location
Batch\Runs_bat\Runs_bat.tbk
Springs
The Springs Screen is used to specify the force-displacement properties of the springs
used on a truck suspension system, including their friction.
Discussion
Trucks commonly use leaf springs in their suspensions. Leaf springs may have a high
level of interleaf friction which makes the suspension spring force dependent on past
motion. The simulation model use the UMTRI leaf spring model, which allows the spring
force to be dependent on where it is in its displacement and the direction it is traveling.
The rate at which force builds up with deflection when the motion direction is changed is
specified by the Beta value.
The spring model and its parameters are defined mathematically in Appendix E, along
with the rest of the vehicle model.
In the event a suspension uses an alternate type of spring (e.g., air, torsion-bar) the same
representation can be used. The availability of non-linear rates and hysteretic friction
simply allows you, the user, to model them more precisely.
If it is anticipated that the suspension may hit its bump stops in the maneuver being
simulated, these can be incorporated in the spring model by an increase in spring rate at
the deflection point at which the bump stops are encountered.
2
3 3
User Settings
Note: User settings that are common for all tabular data screens are
described in Chapter 7, in the section Tabular Data.
1 Table field for envelope of spring force as a function of compression (keyword =
SPRING_UPPER_ENVELOPE). This represents the force vs. deflection that would be
measured while the spring is moving in compression (jounce).
2 Table field for envelope of spring force as a function of rebound (keyword = SPRING_
LOWER_ENVELOPE). This represents the force vs. deflection that would be measured
while the spring is moving in extension (rebound).
3 Upper Envelope and Lower Envelope radio buttons. Click in the plot area (with the
Locked box of the ribbon bar not checked) and the deflection-force coordinates of the
point where you click are appended to one of the table field: 1 or 2 . These two buttons
determine which field is active. The numbers are appended to the field whose associated
radio button is selected.
4 Show Extra Data check box. Check the box to see additional information that can be
kept with the spring data. None of the additional information is used by the ArcSim
simulation models.
Location in ArcSim
ArcSim Startup
Runs
Loaded vehicle descriptions (Truck or combination vehicle)
Unit vehicles (unloaded truck, tractor, or trailer)
Suspensions
Springs
File Location
Vehicles\Parts\Susp_trk\Sprg_trk\Sprg_trk.tbk
Steering System
This screen is used to define the essential geometry and compliance coefficients of the
steering system.
Discussion
The geometry and compliance of the steering system strongly influence the vehicle’s
directional response. The geometry at the road wheels (caster angle, kingpin inclination
angle, and kingpin offset) influence the torque about the steer axis generated by the
forces and moments imposed at the tire contact patches. The combined torque from both
wheels reacts against the compliance of the steering linkages causing the road wheels to
deviate from the command steer angle input at the steering wheel.
When the suspension deflects in jounce (compression) and rebound (extension), errors in
the geometry can produce steer inputs known as bump steer. With brake application the
axle wrap-up in the pitch direction can introduce further steering deviations, as well as
change in the caster angle. The parameters needed to model these effects are provided on
this screen.
3
4
5
6
1 7
8
2
10
10
11
11
User Settings
1 Steering torsional compliance (keyword = CSMZS). Compliance of the linkages between
the steering wheel and the left road wheel. The compliance is expressed in terms of the
steer that results due to torque applied to the wheel.
2 Tie rod torsional compliance (keyword = CSMZR). Compliance of the tie-rod linkage
connecting the left and right road wheels. The compliance is expressed in terms of the
steer that results due to torque applied to the wheel.
3 Kingpin offset (keyword = LKPO(1 or 2, 1 = Left wheel, 2 = Right wheel)). Lateral
distance between the kingpin axis and the center of the wheel on the wheel spin axis.
Location in ArcSim
ArcSim Startup
Runs
Vehicle: (loaded truck or combination vehicle)
Vehicle Unit: (empty truck or tractor)
Steering System
File Location
Vehicles\Parts\Strs_trk\Strs_trk.tbk
1
2
5
9
6 8
7 8
Discussion
The lateral separation between the springs is important because it causes the springs to
resist roll. Likewise lateral separation of the shock absorbers produces roll damping. The
roll center height is the elevation at which lateral forces generated on the axle are
transmitted to the sprung mass. The roll center is assumed to fall on the center of the
vehicle, and any deviations when the vehicle rolls are neglected in the simulation. Roll
center heights are determined by the linkages used in the suspension.
Additional (auxiliary) roll stiffness can be produced in the suspension by mechanisms
such as stabilizer bars or twist in the leaf springs. Specification of an auxiliary roll
stiffness allows you to replicate the influences of these other mechanisms.
The roll steer coefficient quantifies the degree to which the axle may steer as the vehicle
takes on a roll angle.
User Settings
1 Shock absorber spacing (keyword = LTD(IUNIT, IAXLE)). Lateral distance between
the centerlines of left and right shocks.
2 Spring spacing (keyword = LTS(IUNIT, IAXLE)). Lateral distance between the
centerlines of left and right springs.
3 Roll center height (keyword = HRC (IUNIT, IAXLE)). Height of the roll center
above the ground.
4 Auxiliary roll stiffness (keyword = KAUX (IUNIT, IAXLE)). Suspension roll
stiffness not accounted for by lateral spacing of the springs.
5 Roll steer coefficient (sprung mass) roll angle (keyword = RSTR (IUNIT, IAXLE)).
Coefficient describing degrees of axle steer per degree of frame roll relative to the axle.
6 Spring link. This links to spring data for this axle.
7 Shock Absorber link This links to shock absorber table for this axle.
8 Optional links. These links are for use with custom models but are not used with the
standard ArcSim package.
9 Miscellaneous field for additional data for custom models. Not used for standard ArcSim
models.
Location in ArcSim
ArcSim Startup
Runs
Vehicle: (loaded truck or combination vehicle)
Vehicle Unit: (empty truck, tractor, or trailer)
Suspensions: Solid Axle
File Location
Vehicles\Parts\Susp_trk\Susp_trk.tbk
Discussion
When a tire assumes a slip angle and develops a lateral force, the resultant force is
generated toward the rear of the contact patch. It is standard practice to measure tire
forces and moments at the center of the contact patch. When the lateral force is resolved
to this point, a moment, known as the aligning moment, results. The aligning moment is
nominally related to the lateral slip angle and the vertical load.
This screen allows you to enter a two-dimensional table defining tire aligning moment as
a function of lateral slip angle and vertical load.
The tire model used in ArcSim assumes that the tire behavior is symmetric about the
origin with respect to lateral slip. Thus, only one quadrant of data is needed, for positive
values of slip.
User Settings
Note: User settings that are common for all 2D tabular data screens are
described in Chapter 7, in the section 2D Tabular Data.
1 Tabular data for tire aligning moment (keyword = MZ_CARPET (IUNIT, IAXLE)).
The first value, in column 1 and row 1, is a place holder. It must be present, but the value
is not used. The first row has the vertical loads that apply for each column (except for the
first entry). The first column has the slip angles that apply for each row (except for the
first entry). All remaining numbers are values of aligning moment as a function of
vertical force and slip angle.
The ArcSim tire models assume that a row of zero values exists, such that for zero slip
there is zero moment, regardless of the load. Also, the models assume that a column of
zeros exists, such that for zero load there is no moment, regardless of slip.
Location in ArcSim
ArcSim Startup
Runs
Vehicle: (loaded truck or combination vehicle)
Vehicle Unit: (empty truck, tractor, or trailer)
Tires: Table-Lookup Model
File Location
Vehicles\Tires\Tires_mz\Tires_mz.tbk
Discussion
When a tire generates lateral force by slipping sideways with respect to the direction it is
pointed, the angle between the wheel heading and the tire velocity vector is known as slip
angle. The lateral force is strongly dependent on the slip angle and the vertical load. This
screen allows you to enter a two-dimensional table defining lateral force as a function of
slip angle and vertical load.
The tire model used in ArcSim assumes that the tire behavior is symmetric about the
origin with respect to lateral slip. Thus, only one quadrant of data is needed, for positive
values of slip. With typical vehicle dynamics sign conventions, the lateral force has the
opposite sign of the slip angle: positive slip induces negative side force. To avoid
possible errors with minus signs, and to create more intuitive graphs, the data screen
requires all values to be positive. This is why the graph is labeled “Absolute lateral
force.”
User Settings
Note: User settings that are common for all 2D tabular data screens are
described in Chapter 7, in the section 2D Tabular Data.
1 Tabular data for tire side force (keyword = FY_CARPET (IUNIT, IAXLE)). The first
value, in column 1 and row 1, is a place holder. It must be present, but the value is not
used. The first row has the vertical loads that apply for each column (except for the first
entry). The first column has the slip angles that apply for each row (except for the first
entry). All remaining numbers are values of absolute lateral force as a function of vertical
force and slip angle.
The tire model is symmetric, using the same data for positive and negative slip angles.
Although positive slip causes negative lateral force, the sign conversion is handled
internally to avoid the need for entering large amounts of negative data. Therefore, only
positive values should be entered into the table.
The ArcSim tire models assume that a row of zero values exists, such that for zero slip
there is zero lateral force, regardless of the load. Also, the models assume that a column
of zeros exists, such that for zero load there is no lateral force, regardless of slip.
Location in ArcSim
ArcSim Startup
Runs
Vehicle: (loaded truck or combination vehicle)
Vehicle Unit: (empty truck, tractor, or trailer)
Tires: Table-Lookup Model
Tires: Lateral Force
File Location
Vehicles\Tires\Tires_fy\Tires_fy.tbk
Discussion
A tire generates longitudinal force when the rim speed (at the static tire radius) is
different from the vehicle forward speed. The difference in speed is known as
longitudinal slip when expressed in non-dimensional form. On dry pavements at normal
travel speed, the wheel must slip at around 10 to 20 percent of its forward velocity to
produce a maximum longitudinal force. Above this slip level the force diminishes. This
screen allows entry of a two-dimensional table defining longitudinal force as a function
of longitudinal slip and vertical load.
The tire model used in ArcSim assumes that the tire behavior is symmetric about the
origin with respect to longitudinal slip. Thus, only one quadrant of data is needed, for
positive values of slip. Longitudinal slip is defined as a negative quantity during braking.
Longitudinal force is also defined to be negative during braking. To avoid possible errors
with minus signs, and to create more intuitive graphs, the data screen requires both slip
and longitudinal force to be positive. This is why the graph is labeled “Absolute
longitudinal tire force” and “Absolute slip ratio.”
User Settings
Note: User settings that are common for all 2D tabular data screens are
described in Chapter 7, in the section 2D Tabular Data.
1 Tabular data for tire longitudinal force (keyword = FX_CARPET (IUNIT, IAXLE)).
The first value, in column 1 and row 1, is a place holder. It must be present, but the value
is not used. The first row has the vertical loads that apply for each column (except for the
first entry). The first column has the slip ratios that apply for each row (except for the
first entry). All remaining numbers are values of longitudinal force as a function of
vertical force and slip ratio.
Only positive values should be entered into the table. The tire model is symmetric, using
the same data for drive and braking force.
The ArcSim tire models assume that a row of zero values exists, such that for zero slip
there is zero longitudinal force, regardless of the load. Also, the models assume that a
column of zeros exists, such that for zero load there is no longitudinal force, regardless of
slip.
Location in ArcSim
Location in ArcSim
ArcSim Startup
Runs
Vehicle: (loaded truck or combination vehicle)
Vehicle Unit: (empty truck, tractor, or trailer)
Tires: Table-Lookup Model
Tires: Longitudinal Force
File Location
Vehicles\Tires\Tires_fx\Tires_fx.tbk
Discussion
This screen provides a location for you to enter a number of tire properties needed in the
simulation. Tire vertical stiffness determines how the load varies as the tire bounces on
the road. You can specify a vertical stiffness value here.
When a tire experiences a slip angle, it does not immediately generate a lateral force, but
must roll some distance to generate the lateral deflection necessary to sustain a force.
Under a step steer the force builds up like a first-order lag in distance. You can input this
distance, known as the relaxation length, on this screen.
2 5 8
3 8
6
At low speeds the determination of tire forces can become erratic because of numerical
problems in calculating the slip conditions. In order to avoid these problems, you can
specify a cut-off speed below which such mechanisms as relaxation length are modified.
Most of the tire behavior is determined by table lookup. This screen has links for the
tabular data to predict longitudinal force, lateral force, and aligning moment.
When the tire is subjected to combined cornering and braking, the shear force (and
aligning moment) is limited by friction. The Pajecka “Magic Formula” is used to
combine the cornering and braking effects. Also, Pajecka’s method of similarity is used
to account for road surface friction that is different from the frictional conditions in the
laboratory test equipment. Details of the tire model are presented in Appendix E.
All properties are specified for one tires. If a wheel has dual tires, the simulation program
computes the tire forces separately for each.
User Settings
1 Longitudinal Force link. The linked data set contains longitudinal tire force data in
tabular form.
2 Lateral Force link. The linked data set contains lateral tire force data in tabular form.
3 Aligning Moment link. The linked data set contains tire aligning moment data in tabular
form.
4 Tire vertical stiffness (keyword = KT (IUNIT, IAXLE)).
5 Tire relaxation length (keyword = LRELAX (IUNIT, IAXLE)). This is about one-
third the distance that the tire must roll before side force due to slip angle builds up to its
full value. It is basically a spatial version of a time constant.
6 Cutoff speed for tire relaxation equations (keyword = V_CUTOFF (IUNIT, IAXLE)).
The concept of relaxation length is valid for a range of speeds, but leads to strange
behavior as speeds approach zero because the time constant associated with the dynamic
lag goes to infinity. The time constant associated with relaxation is frozen when the speed
drops below this value.
7 This is an optional field for use with custom tire models. It is not used for the standard
ArcSim models.
8 These are optional links for use with custom tire models. They are not used for the
standard ArcSim models.
Location in ArcSim
ArcSim Startup
Runs
Vehicle: (loaded truck or combination vehicle)
Vehicle Unit: (empty truck, tractor, or trailer)
Tires: Table-Lookup Model
File Location
Vehicles\Tires\Tires.tbk
ArcSim Startup
This screen appears immediately after ArcSim has been started. Normally, to start a
simulation you just click the Start button and go directly to the Runs screen.
Discussion
This screen provides a starting point for the software. It also includes settings that help
configure ArcSim for your particular installation.
1 2
Note: The ArcSim Startup Screen has two possible appearances. The
above figure shows the simplest display.
There are at least three reasons why you might someday want to modify the ArcSim
settings or make a new Startup data set with different settings:
1. If you move the ArcSim software to a new hard disk volume or folder, all of the
text files used to communicate between ArcSim data screens and the ArcSim
solver programs must be updated. Otherwise the solver programs will give error
messages about files not being found.
2. If you make many data sets in a library (e.g., the Runs library), you may want to
create a new folder and create a second library. If you add any folders to ArcSim,
you should install them in the Startup library.
3. You may want to change the GO menu, to show fewer libraries.
On the other hand, you may never need to change the settings contained in this library.
2 Change Settings button. Click this button to show additional settings that can be
modified. When clicked, the ArcSim pictures are replaced with the settings shown in the
next figure.
3 Start button. Click this button to go to the Runs library. This is the most common way to
start using the software. The default is that clicking the button will take you to the most
recently used data set in the Runs library. However, you can modify the function of this
button as described below.
16
4 6
7
8 10
9 11
12
13
14
15
1 2
Note: The above figure shows the ArcSim Startup screen after the
Change Settings button 2 has been clicked.
1. It defines which files are affected when text data files are updated if you click the
Update All PAR Files button 13 .
2. It determines which files are listed in the pull-down menu that appears when you
press the GO button in the ribbon bar 16 .
In both cases, files are included only if they are listed in the field and if they actually
exist.
This list cannot be edited directly. Lines in it can be selected by clicking on them, and the
contents are manipulated by using the adjacent buttons.
5 Add Default Libraries button. Click to add all of the library files included in the ArcSim
installation. This button is provided as a way to undo damage and return to the status “as
shipped.” If a default library file is already in the field 4 , it is not added again.
6 Add Libraries button. Use this to add new libraries files to ArcSim. For example, if you
have so many data sets in a library that it is unwieldy, you can duplicate the TBK file and
its folder, then delete all but one data set from the copy. Give it a new name and add it to
the system.
Click the button to bring up the Windows Find File browser dialog. TBK files selected
with the browser are added to the list 4 .
Note: You can add more than one file at a time. After you click OK, the
dialog re-appears. When you are through adding files, click the
Cancel button.
7 Remove Libraries From List button. Click to remove any selected lines from the list
4 . The actual files are not affected by this—only the list is altered.
8 Move to Top button. Click to move any selected lines in the list to the top. For example,
to make the Runs library the first item on the GO menu, select the line
RUNS\RUNS.TBK in the list 4 and then click this button.
9 Move to Bottom button. Click to move any selected lines in the list to the bottom.
10 Select All button. Click to select all lines in the field 4 . The contents of the field usually
extend beyond the visible area, and can only be viewed by using the scroll bar. Clicking
this button causes all lines to be selected, even if they are not visible.
11 Deselect All button. Click to deselect all lines in the field 4 .
12 Ascending Order button. Click to alphabetically sort all lines in the field 4 .
13 Update All PAR Files button. Click to process all of the ArcSim library files in the field
4 , updating all text files. You should do this if you move ArcSim or rename any of the
TBK files or folders.
Each data set in the ArcSim library has an associated text file with extension PAR that is
used to communicate with the vehicle dynamics solver programs. These files have
absolute pathnames in them. If any changes have been made to the file system (say, you
moved ArcSim from drive C to drive D), all the old pathnames won’t work.
The operation initiated when you click this button will probably take a couple of minutes
to complete. The amount of time depends on the number of data sets in your ArcSim
installation and the speed of your computer.
14 Data Set for Start Button link. This link defines what happens when you click the Start
button 3 . You can link to a library with no particular data set, or you can link to a
particular data set within a library. If you do not choose a data set, then clicking the Start
button takes you to the last data set visited in the library. This is the way ArcSim is set
when initially installed. If you would like the Start button to always take you to a
specific data set, link to it here.
You might change this link if you move the Runs library, or if you create a new Runs
library in a different folder.
What if you have several Runs libraries? In that case, you can make several data sets in
the ArcSim Startup library. Click the New button to make a new data set. Then, in the
new data set, link to a different Runs library.
15 Done button. Click to hide all the user settings and return to the simpler view with the
ArcSim logo.
Location in ArcSim
ArcSim Startup
File Location
Startup
Discussion
ArcSim allows you to connect a 2-axle semitrailer (tandem rear axle set) to a tractor. This
screen provides the means to define the relevant semitrailer characteristics as well as
links to the components and sub-systems that are specified in other libraries.
Although the picture on the screen shows a van body, the parameter set can describe a
flat bed or any configuration involving a two-axle trailer.
4 4
5
6
1 3 7
8
2 9
10 10 10
11 11 11
12 12 12
13 13 13
14 14 14
15 15 15
User Settings
1 Load bed height above the ground (keyword = HTLB(2)). This is used by the ArcSim
simulation programs to determine the height of the mass center of the load.
2 Wheelbase (keyword = LWB(2)). Distance from the fifth wheel pin to the centerline of
the axles.
3 Height of the mass center above the ground (keyword = HCGTU(2)). This refers to the
mass center of the total unladen trailer (sprung plus unsprung masses).
4 Axle spacing (keywords = LTRIDF(2), LTRIDR(2)). Longitudinal distance between
the centerlines of the axles.
5 Empty trailer mass (keyword = MTRAIL(2)). This includes sprung plus unsprung
masses.
6 Roll moment of inertia of the total unladen semitrailer (keyword = IXXTU(2)). The
moment is taken about the mass center, normal to an X axis (longitudinal) that is parallel
with the ground when the vehicle is at rest on a flat level surface.
7 Pitch moment of inertia of the total unladen semitrailer (keyword = IYYTU(2)). The
moment is taken about the mass center, normal to a Y axis (lateral) that is parallel with
the ground when the vehicle is at rest on a flat level surface.
8 Yaw moment of inertia of the total unladen semitrailer (keyword = IZZTU(2)). The
moment is taken about the mass center, normal to a Z axis (vertical) that is parallel with
the gravity vector when the vehicle is at rest on a flat level surface.
9 Roll-yaw product of inertia of the total unladen semitrailer (keyword = IXZTU(2)). The
product is taken about the mass center, and is defined as the negative of the volume
integral over X*Z dV (Ixz = –Int(RHO*X*Z*DV). The product is positive when the
principle X axis tilts down (looking forward).
10 Axle load (keyword = MUL (IUNIT, IAXLE)). Weight that would be measured if the
indicated axle were placed on a weigh scale for the empty trailer.
11 Suspension link. The linked data set defines the suspension dimensions and components.
12 Axles & wheels link. The linked data set defines axle mass properties and dimensions of
the axle and wheels.
13 Brake torque gain (keyword = RMYBK(IUNIT,IAXLE)). This is the mechanical gain of
a single brake: in-lb of brake torque per psi unit of input air pressure.
14 Tires link. The linked data set defines the tire properties for the indicated axle.
15 Optional data link. These links are provided for custom models. They are not used for
standard ArcSim models.
Location in ArcSim
ArcSim Startup
Runs
Vehicle: Tractor-Semitrailer Combination
Vehicle Unit: 2-Axle Trailer (Empty)
File Location
Vehicles\2a_trail\2a_trail.tbk
9
5
6
1 3 7
8 10
11
12
2 4
13 13 13
14 14 14
15 15 15
16 16 16
17 17 17
18 18 18
Discussion
ArcSim allows you to define a 3-axle tractor (front steer axle and a tandem rear axle set)
to be used as the tow unit for a semitrailer. Use this screen to define the relevant tractor
characteristics as well as links to the other components and sub-systems that are specified
in other libraries.
Although the picture on the screen shows a conventional body, the parameter set can
describe a cab-over-engine or any configuration involving a 3-axle vehicle.
This data set is normally used to make up a combination vehicle. In this case, the data set
that links to it is a tractor-semitrailer combination data set.
User Settings
1 Height of the mass center above the ground (keyword = HCGTU(1)). This refers to the
mass center of the total bobtail tractor (sprung plus unsprung masses).
2 Wheelbase (keyword = LWB(1)). Distance from the center of the front axle to the center
of the rear axle.
3 Hitch height above the ground (keyword = HH(1)). The point of interest is the hitch
pitch pivot.
4 Axle spacing (keyword = LTAND(1)). Longitudinal distance between the centers of the
rear axles.
5 Roll moment of inertia of the total unladen tractor (keyword = IXXTU(1)). The moment
is taken about the mass center, normal to an X axis (longitudinal) that is parallel with the
ground when the vehicle is at rest on a flat level surface.
6 Pitch moment of inertia of the total unladen tractor (keyword = IYYTU(1)). The
moment is taken about the mass center, normal to a Y axis (lateral) that is parallel with
the ground when the vehicle is at rest on a flat level surface.
7 Yaw moment of inertia of the total unladen tractor (keyword = IZZTU(1)). The
moment is taken about the mass center, normal to a Z axis (vertical) that is parallel with
the gravity vector when the vehicle is at rest on a flat level surface.
8 Roll-yaw product of inertia of the total unladen tractor (keyword = IXZTU(1)). The
product is taken about the mass center, and is defined as the negative of the volume
integral over X*Z dV (Ixz = –Int(RHO*X*Z*DV). The product is positive when the
principle X axis tilts down (looking forward).
9 Steering System link. The linked data set contains the steering system properties
10 Roll torsional stiffness of hitch (keyword = KHX(1)). Torsional stiffness of the fifth
wheel measured about the tractor roll axis.
11 Pitch torsional stiffness of hitch (keyword = KHY(1)). Torsional stiffness of the fifth
wheel measured about the hitch pitch axis.
12 Not applicable in ArcSim.
13 Axle load (keyword = MUL (IUNIT, IAXLE)). Weight that would be measured if the
indicated axle were placed on a weigh scale for the tractor without an attached trailer.
14 Suspension link. The linked data set defines the suspension dimensions and components.
15 Axles & wheels link. The linked data set defines axle mass properties and dimensions of
the axle and wheels.
16 Brake torque gain (keyword = RMYBK(IUNIT,IAXLE)). This is the mechanical gain of
a single brake: in-lb of brake torque per psi unit of input air pressure.
17 Tires link. The linked data set defines the tire properties for the indicated axle.
18 Optional data link. These links are provided for custom models. They are not used for
standard ArcSim models.
Location in ArcSim
ArcSim Startup
Runs
Vehicle: Tractor-Semitrailer Combination
Vehicle Unit: 3-Axle Tractor
File Location
Vehicles\3a_tract\3a_tract.trk
1 1 1 1 1 1
Discussion
This library screen has links for a tractor, a semitrailer, and cargo dimensions. It also has
fields for the axle loads. Added together, the axle loads provide the total vehicle weight.
The ArcSim solver programs subtract the empty vehicle weight from the total weight to
determine the cargo weight. The cargo weight is then used, along with vehicle
dimensions, to modify the mass center location for the trailer and the hitch location.
If you want to simulate the same vehicle under different loading conditions, you need
only to modify the axle loads on this screen.
User Settings
1 Axle load (keyword = MUL (IUNIT, IAXLE)). Weight that would be measured if the
indicated axle were placed on a weigh scale.
2 Tractor link. The linked data set describes the properties of the empty tractor.
3 Trailer link. The linked data set describes the properties of the empty trailer.
4 Cargo Dimensions link. The linked data set contains the cargo (load) dimensions.
5 Optional data link. This link is provided for custom models. It is not used for standard
ArcSim models.
Location in ArcSim
ArcSim Startup
Runs
Vehicle: Tractor-Semitrailer Combination
File Location
Vehicles\Combos\Combos.trk
The Header
The ERD file header consists of a series of conventional text lines that are human
readable. These lines contain the information used by post-processing tools to read the
numerical data.
Required Lines
As a minimum, the header contains three lines of text. The first line identifies the file as
following the ERD format. The second line describes the way that the numerical data are
stored in the data section of the file. The third required line is an END statement that
indicates the end of the header portion. Any number of optional lines can be included
between line #2 and the END line. Table A.1 summarizes the lines in an ERD file, and
describes the parameters used in line #2 to describe the numerical data.
The second line of the file shown in Listing A.1 shows that the file contains data for 2
channels, with 529 samples/channel, stored as 1 binary record consisting of 4232 bytes,
Listing A.2 shows a longer header for a file with its data in text form. Note that the data
begin immediately after the END line of the header.
Listing A.2. Typical Header for an ERD File with Text Data.
ERDFILEV2.00
2, 529, 1, 4232, 1, 1.00000, -1,
TITLE 1993 RPUG Study, Dipstick, Section 1, Measurement 1
SHORTNAMLElev. RElev.
LONGNAMELeft Elevation Right Elevation
UNITSNAMft ft
GENNAME Profile Elevation Profile Elevation
XLABEL Distance
XUNITS ft
FORMAT (2G14.6)
PROFINSTDipstick
HISTORY Converted to ERD format at 23:46, Oct. 23, 1994
END
0.000000 0.000000
0.416667E-03 -0.141667E-02
0.416667E-03 0.583333E-03
0.666667E-03 0.916667E-03
0.133333E-02 0.133333E-02
0.750000E-03 -0.166667E-02
-0.300000E-02 -0.458333E-02
-0.558333E-02 -0.500000E-02
-0.625000E-02 -0.658333E-02
-0.775000E-02 -0.825000E-02
Usually, names associated with a keyword are shorter than the space allowed. When
several names are on the same line, the names are padded with blanks as needed so that
following names begin at the correct column positions. For example, the header shown in
Listing A.1 includes names of the units for each channel, as identified with the keyword
UNITSNAM. The name of units for the first channel, ft, has only two characters. Thus, it
Text Data
The text format can be used for transporting data in ERD files between different
computers, and sometimes even for reading the same file with different programs on the
same computer. It is also convenient when numbers are typed in manually, or when
numbers are to be edited using a text editor. There are penalties for using text
representations of numbers, however. First and foremost, the computer must work hard to
translate the text numbers into binary form. It takes about 10 times longer to read a text
file than a binary equivalent. A second penalty is that text files take up much more disk
storage than binary files.
When data are stored in text form, the numbers are kept in the same file as the header,
with the numbers beginning immediately after the header. The ERD file in Listing A.2
shows an example of numerical data in text form.
Another option is available when the numbers are always separated by delimiters such as
spaces or commas. This occurs when the numbers are obtained by a commercial analysis
program or when they are "captured" from another computer. The file of numbers can be
made into an ERD file by inserting a 3-line header at the beginning of the file.
If the header of the ERD file does not contain a line with the FORMAT keyword, it is the
same as if the FORMAT is a blank. When this occurs for a text file, the file is assumed to
contain numbers in free form. The only restriction on free format numbers is that adjacent
numbers must be separated. For example, the following line is valid for representing 5
numbers 1.2, 3, 4, -.0201, 14.3: 1.2000 3 4 -2.01E-01 14.3
The following line is not, because the third and fourth numbers touch.
1.2000 3.0000 4.0000-2.01E-01 14.3000
Numbers may be separated by one or more spaces, the tab character, or a comma.
Binary Data
Reading and writing binary data is very efficient, because the computer does not need to
perform any conversions or transformations as the data values are moved between the file
and the computer memory. When a binary format is used, the data portion of an ERD file
FILENAME C:\ARCSIM\RUNS\491.ERD
FILENAME C:\ARCSIM\RUNS\430.erd
PARSFILE C:\ARCSIM\PLOT\428.par
RUN Screen
FILENAME C:\ARCSIM\RUNS\491.ERD
FILENAME C:\ARCSIM\RUNS\430.erd
PARSFILE C:\ARCSIM\PLOT\433.par
RUN Screen
FILENAME C:\ARCSIM\RUNS\491.ERD
FILENAME C:\ARCSIM\RUNS\430.erd
PARSFILE C:\ARCSIM\PLOT\439.par
RUN Screen
END
The lines in the PLT file are grouped into plot sets, separated by lines beginning with the
RUN keyword. Lines within a plot set can be arranged in any order.
information from the data base to the simulation solver programs, and have the extension
PAR. Listing B.2 shows an example PARSFILE with information to define a plot.
PARSFILE C:\ARCSIM\PLOT\FORMAT\1.par
PARSFILE C:\ARCSIM\PLOT\transfrm\63.par
PTITLE Ay -- lat. accel. of CG's
END
TICLABELFONTSTYLE style Style of the axis number font ( Regular, Italic, etc.)
LEGENDLABEL b1, b2, b3, Names to use in creating the legend. Values are 0 (do
b4, b5, b6 not use) or 1 (use). The sequence is: b1= shortname,
b2 = longname, b3 = genname, b4 = rigidbody name,
b5 = file title, b6 = file name.
LEGENDLOCATION name Location in plot window for legend. Options are
RightOfPlot, OnPlotUpperLeft,
OnPlotUpperRight, OnPlotLowerLeft, and
OnPlotLowerRight
GRID type Type of grid. Options are NoGrid, CourseGrid, and
FineGrid.
COLORS c1,c2,c3,...,c20 Color for each channel. There must be a total of 20
colors indicated. Color key:
0 = Black
1 = Maroon
2 = Red
3 = Green
4 = Bright Green
5 = Dark Blue
6 = Light Gray
7 = Light Blue
8 = Blue
9 = Muddy Yellow
10 = Yellow
11 = Gray
12 = Purple
13 = Teal
14 = Bright Purple
parsfile pathname
Through the use of the parsfile links, data for each object can be contained in a
separate parsfile. For example, each part data set can be placed in a separate file. The
data set for a reference-frame can be in a file that contains a parsfile link to
each part associated with the frame. The entire animation data can be just a set of
parsfile links to the non-moving parts, followed by the data sets for the moving
reference frames.
At the top level, the animation shape data should be organized by reference frame. When
a shape is introduced, it must be associated with a specific reference frame. After a new
reference frame is introduces, all following inputs are said to fall within the scope of that
reference frame. For example, a shape is in the scope of a reference frame if its
coordinates are defined by the animator as being fixed in that reference frame.
Overall, the animation input data should be organized as follows:
parsfile
<info for fixed frame>
add_reference_frame {name1}
<info for first moving reference frame>
add_reference_frame {name2}
<info for second moving reference frame>
add_reference_frame {name3}
<info for third moving reference frame>
end
Reference Frame
Listing C.1 shows an example reference_frame description.
Listing C.1. Data file for a vehicle body.
parsfile
set_euler_angles yaw_pitch_roll
; Set 6 names of variables in ERD file with XYZ, Roll, Pitch, Yaw
set_x_name Xo
set_y_name Yo
set_z_name Zo
set_pitch_name Pitch
set_roll_name Roll
set_yaw_name Yaw
The keyword add_reference_frame has the dual effect of starting the scope of a
new reference frame and ending the scope of the previous one. Until the first occurrence,
inputs associated with a reference frame will have unpredictable results. It also assigns a
name to the frame. In the example, the name is vehicle sprung mass.
Each reference frame must have a unique name.
The keyword set_euler_angles is used to specify the type of transformation used.
There are two options: yaw_pitch_roll (used for vehicle sprung mass reference
frames) and yaw_roll_pitch (used for rolling wheel reference frames).
The next six keywords in Listing C.1 are used to specify ERD file short names, and
therefore their values are strings of text. White space between the keyword and the short
name is ignored by the animator, and then the next eight characters are taken literally,
including spaces. However, if the line ends before eight characters are read, the animator
pads the short name with spaces until it is eight characters long. The 6 variables from the
ERD file define the position and orientation of the reference frame. All six are optional.
If not specified, the animator uses a value of zero for that variable.
Within the scope of each moving frame, you should specify one or more objects. The
keywords add_wheel and add_part have the effect of starting the scope of a new
object. They also have the effect of ending the scope of the previous object. However,
they do not affect the scope of the current moving reference frame. In the example listing,
descriptions of parts and wheels are contained in other PARSFILEs, identified with
pathnames following the parsfile keyword.
Parts
There are four properties that can be set for a part: a name, a list of XYZ coordinates,
line thickness, and color. Listing C.2 shows an example PARSFILE containing a
complete part description.
Listing C.2. Part data description
parsfile
add_part hood
set_Color blue
set_coordinates
-0.6273 -0.7344 0.8721
-0.5355 -0.4131 0.8874
-0.4896 -0.0000 0.9027
-0.5355 0.4131 0.8874
-0.6273 0.7344 0.8721
0.0000 0.7191 0.7803
0.5202 0.6579 0.6732
0.6426 0.2601 0.6885
0.6579 -0.0000 0.6885
0.6579 -0.2601 0.6885
0.4590 -0.6885 0.7038
0.0000 -0.7191 0.7803
-0.6273 -0.7344 0.8721
end_coordinates
set_scale_x 1
set_scale_y 1
set_scale_z 1
set_offset_x 0
set_offset_y 0
set_offset_z 0
end
It is sometimes convenient to use the same part in more than one reference frame.
Therefore, the name is not necessarily unique. The part name is used only to make the
PARSFILE more readable, and possibly to provide more detailed error messages in
future versions.
The color and line thickness default to values of black and 1, respectively. Therefore, the
commands set-line-thickness and set_color are optional. There is no default
set of coordinates, so the list must be provided. The list of coordinates begins with a line
containing the keyword set_coordinates. Each following line should contain an X,
Y, and Z coordinate, separated by white space, until the list ends with a line containing
Wheels
For a wheel, there are six properties that can be set: name, radius, thickness, line-
thickness, and color. All properties except the name have a default value, and therefore,
the commands shown below add_wheel are optional. It is likely that the same wheel
definition will be used several times, and therefore, the name is not necessarily unique.
Listing C.3. Wheel data set.
parsfile
add_wheel Black wheel with 0.3 m radius
set_color black
set_num_points 10
set_radius 0.3
set_thickness 0.2
end
The six keywords for setting offsets and scale factors can also be specified for a wheel. A
common application for vehicle animation is to use the set_offset_y keyword to
locate wheels laterally on an axle.
Grid
The animator will draw a grid fixed in the global reference frame. If not specified, then
there is no grid. It is added with the command add_grid, as shown in Listing C.4.
set_min_y 0
set_max_y 500
set_interval_x 10
set_interval_y 5
end
Camera View
The viewing of a scene is controlled by the locations of two points: the camera and look
point. Listing C.5 shows how the camera view is set.
Listing C.5. Camera data set.
parsfile
set_focal_length 0.05
set_camera_reference_frame global
set_camera_point_x 100
set_camera_point_y 10
set_camera_point_z 1
set_focal_length 0.05
set_look_point_x -2
set_look_point_y 0
set_look_point_z 1
end
File Types
Every time a new run is made from the Runs screen, six files are created.
Table D.1. Standard files created when a simulation is run.
Name Location Creator Description
Simfile Programs SGUI Batch control file.
<id>.LPI Runs SGUI List of parameters, read as input by program.
<id>.LPO Runs Program List of parameters, written as output by program.
Also contains initial conditions. Can be used to
repeat a run.
<id>.LPF Runs Program List of parameters and final conditions, written
as output by program. Can be used to continue a
run.
<id>.ERD Runs Program Header for ERD file, needed by plotter and
animator programs.
<id>.BIN Runs Program Numerical values of output variables, stored in
binary form.
One file always has the same name, Simfile, and the other five all have the same base
name— the current ID number displayed in the upper-corner of the Runs screen.
Simfile
Simfile is a batch control file. When a simulation program starts, it looks for the
existence of Simfile. If the file is not found, the program will prompt you for an input
file name. If the file is found, the program obtains all necessary input and output file
names from Simfile. An example Simfile is shown below.
Although it is a convention in ArcSim to use the same root name for all files, the
individual simulation programs are capable of creating any names allowable under the
file operating system.
Notice that the names in Simfile are full pathnames. The individual files can be located
anywhere on the computer.
Whenever you click the Run button, a new Simfile is created in the same folder as the
simulation program (by convention, this is the folder Programs). If a file with that name
already exists, it is overwritten.
LPI Files
The LPI file lists the input parameters for the simulation program.
When you click the Run button, a new LPI file is created in the folder containing the
Runs library (i.e., the Runs.tbk file). The LPI file contains information from the Runs
screen. As shown in the following example, the file is relatively short.
Listing D.2. Example LPI file.
PARSFILE
parsfile C:\ARCSIM\VEHICLES\COMBOS\8.par
parsfile C:\ARCSIM\INPUT\PATH\28.par
parsfile C:\ARCSIM\INPUT\BRAKING\58.par
parsfile C:\ARCSIM\PLOT\428.par
parsfile C:\ARCSIM\PLOT\433.par
parsfile C:\ARCSIM\PLOT\439.par
parsfile C:\ARCSIM\comp_par\9.par
stopt 12
speed 100
testid 430
title Lane change (3a/2a combo) F
END
Each link seen in the Runs screen is represented with a full pathname to an existing data
file. In the above example, the data from the selected vehicle is contained in the file 8.par,
in the directory C:\ARCSIM\VEHICLES\COMBOS.
Keywords
The files read by the simulation programs in ArcSim are scanned for input data.
Parameters are identified by keywords.
Indexed Keywords
Many of the parameters in the ArcSim models are applied in several places on the
vehicle. For example, every axle has a mass. The same data screen is used to describe an
axle mass, no matter where it is located in the vehicle. The location of the axle is
specified with additional keywords IUNIT and IAXLE. For components that differ on
the left and right side, a keyword ISIDE is also used.
Parameter values such as an axle mass are written in the PARSFILE with numerical
indices, e.g., MUS(2,1) indicates the unsprung mass of unit 2 (trailer) and axle 1.
Tabular data are written with keywords in front of the table to indicate which unit, axle,
etc. are associated with the table.
* PARAMETER VALUES
IXZTL(1) -15503 , CALC -- Product of inertia for total laden Tractor (in-lb-s2)
IXZTL(2) -160469 , CALC -- Product of inertia for total laden Semitrailer (in-lb-s2)
IXZTU(1) -15503 , Product of inertia for total unladen tractor (in-lb-s2)
IXZTU(2) -41402 , Product of inertia for total unladen semitrailer (in-lb-s2)
IYYPL 1.87654e+06 , CALC -- Moment of inertia for box load (in-lb-s2)
IYYSM(1) 206064 , CALC -- Moment of inertia for sprung mass of laden Tractor (in-lb-s2)
IYYSM(2) 2.83498e+06 , CALC -- Moment of inertia for sprung mass of laden Semitrailer
(in-lb-s2)
IYYTL(1) 465000 , CALC -- Moment of inertia for total laden Tractor (in-lb-s2)
IYYTL(2) 3.24201e+06 , CALC -- Moment of inertia for total laden Semitrailer (in-lb-s2)
IYYTU(1) 465000 , Moment of inertia for total unladen tractor (in-lb-s2)
IYYTU(2) 1.108e+06 , Moment of inertia for total unladen semitrailer (in-lb-s2)
IZZPL 1.75695e+06 , CALC -- Moment of inertia for box load (in-lb-s2)
IZZSM(1) 205261 , CALC -- Moment of inertia for sprung mass of laden Tractor (in-lb-s2)
IZZSM(2) 2.63976e+06 , CALC -- Moment of inertia for sprung mass of laden Semitrailer (in-
lb-s2)
IZZTL(1) 475000 , CALC -- Moment of inertia for total laden Tractor (in-lb-s2)
IZZTL(2) 2.97873e+06 , CALC -- Moment of inertia for total laden Semitrailer (in-lb-s2)
IZZTU(1) 475000 , Moment of inertia for total unladen tractor (in-lb-s2)
IZZTU(2) 1.142e+06 , Moment of inertia for total unladen semitrailer (in-lb-s2)
KAUX(1,1) 20000 , Axle 1 auxiliary roll stiffness (in-lb/deg)
KAUX(1,2) 20000 , Axle 2 auxiliary roll stiffness (in-lb/deg)
KAUX(1,3) 20000 , Axle 3 auxiliary roll stiffness (in-lb/deg)
KAUX(2,1) 280000 , Axle 4 auxiliary roll stiffness (in-lb/deg)
KAUX(2,2) 2500 , Axle 5 auxiliary roll stiffness (in-lb/deg)
KAUX(2,3) 280000 , Axle 6 auxiliary roll stiffness (in-lb/deg)
KHX(1) 1e+06 , Hitch roll torsional stiffness (in-lb/deg)
KHY(1) 0 , Hitch pitch torsional stiffness (in-lb/deg)
KHZ(1) 0 , Hitch articulation torsional stiffness (in-lb/deg)
KT(1,1) 6900 , Axle 1 tire spring rate (lb/in)
KT(1,2) 6900 , Axle 2 tire spring rate (lb/in)
KT(1,3) 6900 , Axle 3 tire spring rate (lb/in)
KT(2,1) 5174 , Axle 4 tire spring rate (lb/in)
KT(2,2) 5174 , Axle 5 tire spring rate (lb/in)
KT(2,3) 5174 , Axle 6 tire spring rate (lb/in)
LDUAL(1,1) 0 , Axle 1 dual tire spacing (use 0 for singles) (in)
LDUAL(1,2) 13 , Axle 2 dual tire spacing (use 0 for singles) (in)
LDUAL(1,3) 13 , Axle 3 dual tire spacing (use 0 for singles) (in)
LDUAL(2,1) 13 , Axle 4 dual tire spacing (use 0 for singles) (in)
LDUAL(2,2) 13 , Axle 5 dual tire spacing (use 0 for singles) (in)
LDUAL(2,3) 13 , Axle 6 dual tire spacing (use 0 for singles) (in)
LKPO 3.11 , Kingpin offset (at wheel center) (in)
LRELAX(1,1) 30 , Tire relaxation length, axle 1 (in)
LRELAX(1,2) 30 , Tire relaxation length, axle 2 (in)
LRELAX(1,3) 30 , Tire relaxation length, axle 3 (in)
LRELAX(2,1) 30 , Tire relaxation length, axle 4 (in)
SPRING_UPPER_ENVELOPE
0, 0 , point in table: (in, lb)
0.075, 900 , point in table: (in, lb)
0.5, 5100 , point in table: (in, lb)
0.575, 6000 , point in table: (in, lb)
0.75, 7890 , point in table: (in, lb)
0.95, 10200 , point in table: (in, lb)
1.125, 12390 , point in table: (in, lb)
1.25, 14190 , point in table: (in, lb)
1.375, 16590 , point in table: (in, lb)
ENDTABLE
SPRING_LOWER_ENVELOPE
0, 0 , point in table: (in, lb)
0.125, 525 , point in table: (in, lb)
0.275, 1200 , point in table: (in, lb)
0.425, 2100 , point in table: (in, lb)
0.575, 3000 , point in table: (in, lb)
0.75, 4200 , point in table: (in, lb)
0.95, 5700 , point in table: (in, lb)
1.05, 6600 , point in table: (in, lb)
1.375, 9600 , point in table: (in, lb)
ENDTABLE
SPRING_UPPER_ENVELOPE
2, -717 , point in table: (in, lb)
2.35, 716 , point in table: (in, lb)
3, 3242 , point in table: (in, lb)
3.5, 5153 , point in table: (in, lb)
4, 7064 , point in table: (in, lb)
5, 11092 , point in table: (in, lb)
5.5, 13071 , point in table: (in, lb)
6, 15324 , point in table: (in, lb)
6.5, 18064 , point in table: (in, lb)
ENDTABLE
SPRING_LOWER_ENVELOPE
SPRING_UPPER_ENVELOPE
2, -717 , point in table: (in, lb)
2.35, 716 , point in table: (in, lb)
3, 3242 , point in table: (in, lb)
3.5, 5153 , point in table: (in, lb)
4, 7064 , point in table: (in, lb)
5, 11092 , point in table: (in, lb)
5.5, 13071 , point in table: (in, lb)
6, 15324 , point in table: (in, lb)
6.5, 18064 , point in table: (in, lb)
ENDTABLE
SPRING_LOWER_ENVELOPE
2.15, -1059 , point in table: (in, lb)
2.5, 238.45 , point in table: (in, lb)
3, 1945 , point in table: (in, lb)
3.5, 3856 , point in table: (in, lb)
4, 5563 , point in table: (in, lb)
4.5, 7542 , point in table: (in, lb)
5, 9521 , point in table: (in, lb)
5.5, 11706 , point in table: (in, lb)
6, 13959 , point in table: (in, lb)
6.5, 16484 , point in table: (in, lb)
ENDTABLE
SPRING_UPPER_ENVELOPE
0.16, 17 , point in table: (in, lb)
0.26, 266 , point in table: (in, lb)
2.25, 470 , point in table: (in, lb)
2.5, 2029 , point in table: (in, lb)
2.97, 7792 , point in table: (in, lb)
3.28, 12741 , point in table: (in, lb)
3.62, 19382 , point in table: (in, lb)
ENDTABLE
SPRING_LOWER_ENVELOPE
0.28, 19 , point in table: (in, lb)
0.35, 199 , point in table: (in, lb)
2.33, 402 , point in table: (in, lb)
2.64, 1351 , point in table: (in, lb)
3.1, 4199 , point in table: (in, lb)
3.37, 7995 , point in table: (in, lb)
3.87, 18571 , point in table: (in, lb)
ENDTABLE
SPRING_UPPER_ENVELOPE
0.16, 17 , point in table: (in, lb)
0.26, 266 , point in table: (in, lb)
2.25, 470 , point in table: (in, lb)
2.5, 2029 , point in table: (in, lb)
2.97, 7792 , point in table: (in, lb)
3.28, 12741 , point in table: (in, lb)
3.62, 19382 , point in table: (in, lb)
ENDTABLE
SPRING_LOWER_ENVELOPE
0.28, 19 , point in table: (in, lb)
0.35, 199 , point in table: (in, lb)
2.33, 402 , point in table: (in, lb)
2.64, 1351 , point in table: (in, lb)
3.1, 4199 , point in table: (in, lb)
3.37, 7995 , point in table: (in, lb)
SPRING_UPPER_ENVELOPE
0.16, 17 , point in table: (in, lb)
0.26, 266 , point in table: (in, lb)
2.25, 470 , point in table: (in, lb)
2.5, 2029 , point in table: (in, lb)
2.97, 7792 , point in table: (in, lb)
3.28, 12741 , point in table: (in, lb)
3.62, 19382 , point in table: (in, lb)
ENDTABLE
SPRING_LOWER_ENVELOPE
0.28, 19 , point in table: (in, lb)
0.35, 199 , point in table: (in, lb)
2.33, 402 , point in table: (in, lb)
2.64, 1351 , point in table: (in, lb)
3.1, 4199 , point in table: (in, lb)
3.37, 7995 , point in table: (in, lb)
3.87, 18571 , point in table: (in, lb)
ENDTABLE
* Tire Data:
IUNIT 1
IAXLE 1
* Longitudinal force (lb) as a function of slip rate (-) and vertical load (lb).
* top row = load, left column = slip, other cells = longitudinal tire force
* Lateral force (lb) as a function of slip angle (deg) and vertical load (lb).
* top row = load, left column = slip, other cells = lateral tire force
* Aligning moment (lb-in) as a function of slip angle (deg) and vertical load (lb).
* top row = load, left column = slip, other cells = aligning moment
* Tire Data:
IUNIT 1
IAXLE 2
* Longitudinal force (lb) as a function of slip rate (-) and vertical load (lb).
* top row = load, left column = slip, other cells = longitudinal tire force
* Lateral force (lb) as a function of slip angle (deg) and vertical load (lb).
* top row = load, left column = slip, other cells = lateral tire force
* Aligning moment (lb-in) as a function of slip angle (deg) and vertical load (lb).
* top row = load, left column = slip, other cells = aligning moment
* Tire Data:
IUNIT 1
IAXLE 3
* Longitudinal force (lb) as a function of slip rate (-) and vertical load (lb).
* top row = load, left column = slip, other cells = longitudinal tire force
* Lateral force (lb) as a function of slip angle (deg) and vertical load (lb).
* top row = load, left column = slip, other cells = lateral tire force
* Aligning moment (lb-in) as a function of slip angle (deg) and vertical load (lb).
* top row = load, left column = slip, other cells = aligning moment
* Tire Data:
IUNIT 2
IAXLE 1
* Longitudinal force (lb) as a function of slip rate (-) and vertical load (lb).
* top row = load, left column = slip, other cells = longitudinal tire force
* Lateral force (lb) as a function of slip angle (deg) and vertical load (lb).
* top row = load, left column = slip, other cells = lateral tire force
* Aligning moment (lb-in) as a function of slip angle (deg) and vertical load (lb).
* top row = load, left column = slip, other cells = aligning moment
* Tire Data:
IUNIT 2
IAXLE 2
* Longitudinal force (lb) as a function of slip rate (-) and vertical load (lb).
* top row = load, left column = slip, other cells = longitudinal tire force
* Lateral force (lb) as a function of slip angle (deg) and vertical load (lb).
* top row = load, left column = slip, other cells = lateral tire force
* Aligning moment (lb-in) as a function of slip angle (deg) and vertical load (lb).
* top row = load, left column = slip, other cells = aligning moment
* Tire Data:
IUNIT 2
IAXLE 3
* Longitudinal force (lb) as a function of slip rate (-) and vertical load (lb).
* top row = load, left column = slip, other cells = longitudinal tire force
* Lateral force (lb) as a function of slip angle (deg) and vertical load (lb).
* top row = load, left column = slip, other cells = lateral tire force
* Aligning moment (lb-in) as a function of slip angle (deg) and vertical load (lb).
* top row = load, left column = slip, other cells = aligning moment
* FINAL CONDITIONS
END
Conventions
The global inertial frame is denoted by N (for Newtonian frame) and has unit vectors nx,
ny and nz . The convention of ISO 8855 is followed, in which nz is “up” (opposite to the
direction of gravity) [2].
The terms nominal and nominal configuration refer to a state of the multibody system in
which all position state variables are zero.
The abbreviation DOF refers to the term degree of freedom or degrees of freedom,
depending on the context.
When a body is added to the multibody system, its allowable motion is defined relative to
a body already in the model. (N is considered a body for this purpose.) The new body is
said to be a child of the previously existing body, and the previously existing body is said
to be the parent of the new body.
Yaw Plane
Figure E.1 shows a free-body diagram of a four-wheeled tractor as viewed from the top
(the yaw plane). There are just three equations that govern its basic behavior in the yaw
plane: the sum of the tire shear forces and the horizontal hitch force must equal the
vehicle mass times its acceleration in both the vehicle X and Y directions, and the
moment of those forces about the vehicle mass center must be equal to the product of the
yaw acceleration and the vehicle yaw moment of inertia. Aligning moments at each
wheel (Mzi) also contribute to the overall yaw moment. Thus, a main objective of ArcSim
models is to accurately predict tire shear forces, tire aligning moments, and hitch forces.
Yaw behavior is also influenced by the rotary motion of the vehicle bodies in roll and
pitch. Mechanical energy is transferred as the vehicle rolls and pitches, and these motions
contribute to the vehicle transient response.
f2 Mz 2 f1 Mz1
dV
r2 dt r1
Hitch r
5 dω
f4 f3 dt
mass
r4 center r 3
f5
M z4 Mz 3
y
dV
x • ∑fi = x • m
dt
dV x
y • ∑f i = y • m
dt
dω
z • ∑ (r i × f i + Mzi ) = z • Izz
dt
Figure E.1. Free body diagram in the yaw plane.
Note: The equations appearing in the first two figures are written only to
identify the basic factors affecting vehicle behavior. All equations
for the rigid body motions in the ArcSim models were actually
derived automatically by the AutoSim code generator. The
AutoSim equations are exact for the nonlinear 3D kinematical and
dynamical models that will be described.
Roll Plane
Figure E.2 shows a free-body diagram in the roll plane for a truck body and one axle as
viewed from the rear when making a left-hand turn. (A left turn implies a positive
rotation of the vehicle about the Z axis.) The only external forces acting on the vehicle
system are due to the tires and any hitches connecting it to other vehicle units. The
vehicle is also subjected to roll moments (M h ) from the hitch(es). The vertical
components of the tire forces, which do not appear explicitly in the yaw-plane equations,
are basic factors in the roll-plane equations. The overall roll stability is characterized by
the first equation in Figure E.2, involving the balance of moments about the vehicle mass
center. When tires lift-off of the ground, the forces are zero on one side of the axle. Lift-
off usually occurs first for tires on the axle furthest to the rear of all vehicle units in the
system, on the side that is on the inside of the turn (the left side in Figure E.2). When lift-
off has occurred for more than a critical number of axles, roll stability cannot be
maintained. This condition is considered to be the onset of rollover. Thus, the basic
factors for predicting roll stability are the vertical tire forces, and their points of
application relative to the vehicle mass center, which change as the vehicle rolls.
dω
dt
dV
dt mass
center z
r1 y
-mgz r4
r2
{
x • M h + ∑ (r i × f i ) }
r3 dω
= x • I xx
dt
dV
y • ∑fi =y • m
dt
dV
f1 f z • ∑ f i = mg + z •m
2 f3 f4 dt
For simplicity in Figure E.2, the separate motion of the axle is not shown, and the
moment balance in the X direction is written as if all of the roll inertia were lumped into
the sprung mass. The independent motions of the axles relative to the main bodies are a
secondary factor that must be included in the model to obtain realistic transient effects.
Sprung Masses
The sprung mass of the lead unit, S1, (with body fixed unit vectors s1x , s1y and s1z ) is
given six kinematical DOF, such that it can attain any position and/or any orientation in
space.
The sprung mass of the trailing unit, S2 (with body fixed unit vectors s2x, s2y and s2z ), is a
child of S1. The hitch connection between S1 and S2 is modeled kinematically as a ball
joint. It is given three rotational DOF relative to S1, but no translational DOF. The motion
of S2 about the hitch is further retarded by a roll torsional spring, described later.
Axles
The movement of an axle relative to the sprung mass to which it is attached can be
described by a sequence of two motions: (1) a rotation in roll, and (2) a vertical
translation [15]. Two rigid bodies, Ar and A, are used to model the axle, each with one
DOF. Body A r is an intermediate frame that is given zero mass and rotational inertia.
Body A is given the mass and rotational inertia properties of the axle. All external forces
and moments that act on the axle (i.e., suspension and tire forces and moments) are
applied to body A.
The bodies Ar and A, respectively, have body fixed unit vectors: arx, ary, arz and ax, ay,
az . Figure E.3 shows the directions of the unit vectors in the nominal configuration for a
positive roll-steer coefficient. Body Ar is a child of S that rotates in roll about an axis
aligned with arx.
AAAAA
sz sz
AAAAA
Roll axis
sy arx
tan-1(R
AAAAA
sx STR)
az az
arz
HRC ay ax
HRC
HCGA HCGA
The roll axis (ar x ) is inclined from –S x by the arc-tangent of R STR, the roll-steer
coefficient. The axis direction is set such that a positive roll of the sprung mass (leaning
to the right, relative to the axle) also corresponds to a positive rotation of the axle about
arx, relative to the sprung mass. Positive roll angle causes the axle to steer to the left for a
positive value of R STR. This sign convention for roll-steer is consistent with the ISO axis
system where sz is up and steer to the left is positive. However, for the SAE coordinate
system, in which the sz axis is pointed down, the sign of the roll-steer coefficient would
be reversed because the left-hand steer would be negative [1].
Body A translates vertically in the direction az and it is a child of A r. Nominally, body A
is aligned with body S. (Thus, A is tilted with respect to A r.) The origin of the coordinate
system of body A body is located at the axle mass center, which is assumed to be in line
with the spin axis of the wheels on the axle.
The axle roll and mass centers are assumed to lie at the center of the axle laterally and
longitudinally. The heights of the roll and mass centers are specified by the user with the
parameters HRC and HCGA.
Equilibrium
The heights of reference points such as wheel centers and the top side of the load bed are
defined for the case of the vehicle resting in equilibrium on a flat level surface. In a real
vehicle, these heights depend on the load: the heights decrease slightly as the vehicle
settles down when the payload is increased.
In general, the sensitivity of these heights to load has a negligible effect on the vehicle
behavior. The common practice is to use the same height values for all load conditions.
However, if you are concerned with this effect, then the height parameters can be
adjusted for the various loads.
Suspensions
The significant forces and moments acting between the suspensions and the sprung
masses are due to suspension springs, hydraulic dampers, and auxiliary roll stiffness.
8000
7500
7000
6000
6.5 7 7.5 8 8.5 9
Spring compression - in
Figure E.4. Force-deflection behavior of spring.
At the beginning of the simulation run, FS is set to an initial value, F S0. The value of FS0
for a simulation run is determined by the parameter INIT_SPG. If INIT_SPG is non-
zero, FS0 is computed to keep the vehicle in static equilibrium (for a flat, level surface)
and is given by
FS0 = (M − MUS)g/2 (1)
where M is the laden axle load and MUS is the axle mass. The tables FU and FL are
searched for an initial spring deflection, ∆S0, that will place FS0 midway between FU and
FL. This definition of the static deflection means that the jounce variables computed
during a simulation have the same physical interpretation as the spring compression
provided in the input tables. Therefore, force-deflection curves (e.g., Figure E.4) based on
simulation outputs should match the original data.
If INIT_SPG is zero, FS0 is set to the value of the state FS read from the LPI file created
by ArcSim. This allows the simulation to start from the final conditions of a run that was
made previously.
Once the simulation starts, FS is calculated by integrating the following differential
equation:
{ ( )
F˙ S = ∆˙ S sign ∆˙ S ( Flim − F ) / β +
where
FU( ∆ S ), if ∆˙ S > 0
Flim = (3)
FL( ∆ S ), if ∆˙ S < 0
This equation quite accurately captures the observed hysteretic behavior of the Coulomb
friction in heavy truck leaf springs. This same model can also be used to accurately
model heavy truck air springs. Typically, however, the difference between the upper and
lower envelopes, FU and FL, is much smaller for air springs.
Hydraulic Dampers
In addition to suspension damping due to the Coulomb friction in the vertical springs, a
truck suspension may be equipped with a pair of hydraulic dampers. The dampers in the
model are added in the same way as the springs. Each acts in the az direction through a
point fixed in the axle body. The points are located with a single parameter that specifies
the distance between them. (This distance is not necessarily the same as that which is
used for the springs.) The dampers are modeled with a nonlinear table of values of force
vs. stoke rate.
Note: In ArcSim, each shock absorber is represented with a linear
coefficient that relates force to stroke rate.
Hitch Moments
The hitch is modeled as a ball joint. The trailing unit sprung mass (body S 2) is a “child”
of the leading unit sprung mass (body S1) in a multibody tree topology. The origin of the
frame of reference of S 2 is at the hitch point. The origin is fixed in S1, but S2 is given
three rotational DOF relative to S1. The sequence of rotations is intended to match the
kinematics of a conventional fifth wheel. The first rotation, pitch, is about s1y. The third
rotation, yaw (articulation angle), is about s2z , and corresponds to the axis of the kingpin
(assuming the kingpin is perfectly rigid). The second rotation, roll, is about the X-axis of
an intermeditate axis system. The rotations are shown in Figure E.5.
s
2z
2nd rotation
1st rotation
s
1y
Proportional restoring moments act between S1 and S2. The pitch moment is about the
Yaxis, the roll moment is about the X axis, and the yaw moment is about the Z axis. For a
conventional fifth wheel, the pitch and yaw stiffnesses are often set to zero, and the roll
stiffness is usually given a value of 1 to 3 million in-lbf/deg. The pitch and yaw
stiffnesses are included in the model to represent the behavior of a hitch other than a
conventional fifth wheel.
Note: In ArcSim, the articulation stiffness is always zero. The rotational
and pitch torsional springs can be adjusted.
Tires
The interaction of the tires with the ground is modeled by longitudinal force (FX), lateral
force (FY), vertical force (FZ), and aligning moment (MZ). FX, F Y, FZ and MZ are applied to
the axles and reacted by the ground, as shown in Figure E.6. Overturning moment (MX)
and rolling resistance moment (M Y) have insignificant influence on vehicle braking and
handling behavior and are ignored. FZ is determined by assuming the tire behaves as a
linear spring-damper when deformed vertically. FX, FY and M Z are more complicated to
compute. Their calculation can be broken into two basic steps.
1. FX, F Y and MZ are modeled as table functions of two independent variables. The
data for these table functions is supplied by the ArcSim user in the form of carpet
plot data. Linear interpolation/extrapolation is used to evaluate the table functions.
FX is modeled as a function of FZ and longitudinal slip rate (κ), FX(F Z, κ). F Y and
MZ are modeled as table functions of FZ and lateral slip angle (α), FY(F Z, α) and
MZ(FZ, α), respectively.
2. Combined slip theory is used to adjust the values of FX, FY and MZ (as computed
in step 1) to account for the force and moment coupling that occurs during
maneuvers in which there is both braking and turning.
wz
HCGA
Wo
rz
Wc
Wc vy
tx VC vx
Fx Fy
tx ty
Mz ty
Fz
Figure E.6. Tire points and axes.
Note: FX, FY and MZ also depend upon tire inclination (γ). However, with
the solid axle suspensions of most trucks, inclination angles are
determined by the roll of the axle relative to the ground and are
very small prior to first tire lift-off. Thus, the effect of inclination
angle is neglected in ArcSim models.
Tire/Wheel Kinematics
Most of the arithmetic operations in the expressions for tire forces and moments arise
from deriving expressions for various kinematical quantities associated with the
tires/wheels. It is necessary to (1) define a point where the tire forces act on the
multibody model, (2) establish the unit vector directions for the tire X and Y directions
(tx and ty, respectively) given the ground normal (rz), and (3) determine expressions for κ
and α. These steps are explained below. The expressions are given for an arbitrary rz as a
function of the location of the center of tire contact. However, for a flat, level surface, rz
is simply nz .
CTC remains in the ground plane as the wheel moves up and down. For a flat surface, the
kinematical expressions for calculating the position and velocity of CTC are well defined,
but extremely complex. In nearly all vehicle dynamics models that have been developed
by hand (without multibody programs), approximations to CTC for a flat surface have
been used. The exact expressions can be obtained easily with the aid of a multibody
program. However, the complexity of the exact equations requires many mathematical
operations per time step during numerical integration. Most of the complexity arises from
terms that are negligible (such as small changes in the vertical position of CTC in the
frame of the axle (body A), and vertical components of the velocity of CTC that
contribute little to the slip angle).
When the ground surface is permitted to take on an arbitrary shape, calculating the
location of CTC becomes even more complex. This is because rz is a function of the
global location of CTC, but at the same time, rz determines the instantaneous tire
deflection, which in turn affects the location of CTC. (The general solution of the
location of CTC on an arbitrarily shaped surface requires an iterative solution at each
time step.) To obtain shorter run times and avoid the complexities associated with the
precise definition of CTC, ArcSim uses a point Wc fixed in body A, as described below.
Wheel Plane
Each tire on an axle has an associated wheel plane that is perpendicular to the wheel spin
axis, wy. For the front axle, the wheels are steered with angles δL and δR relative to the
axle Y axis. The spin axis for a wheel is:
wy = cos(δ) ay – sin(δ) ax (4)
For all axles but the front, the steer is zero, which makes wy the same as ay.
Point Wc , fixed in body A, is located in the wheel plane and is nominally coincident with
the precise definition of CTC (see Figure E.6). FX , F Y, and F Z act on the axle through
point Wc . The X, Y and Z coordinates of Wc in the frame of body A are:
Wcx = 0
L TK L DUAL
Wcy = ± ± (5)
2 2
Wcz = –HCGA
Here, LTK is the axle track to the center plane of the dual-tire set and LDUAL is the dual tire
spacing. The algebraic signs of the terms in the Y coordinate depend on the side of the
L L
axle (left: + TK , right: – TK ) and whether the wheel plane is located in the inner or
2 2
L DUAL L DUAL
outer tire (inner: – , outer: + ).
2 2
Ground Geometry
The coordinates of the absolute position of W c in the global frame N are:
Xc = nx • pos(Wc)
Yc = ny • pos(Wc) (6)
Zc = nz • pos(Wc)
ArcSim models are based on the assumption of a ground surface that is flat but possibly
inclined. The formulation is easily extended to work with a three-dimensional ground
surface, where the ground normal rz is determined as a function of the location of point
Wc:
rz = Xrz nx + Yrz ny + Zrz nz (7)
where
[Zroad, Xrz, Yrz, Zrz] = func(Xc , Yc ) (8)
and func(Xc, Yc ) is a function of Xc and Y c that returns the four variables shown in
braces.
∆T =
(Z road − Z c ) rz • n z
(9)
rz • a z
Tire Axes
The tire X and Y axes, tx and ty, lie in the plane of the road (tz = rz). The longitudinal axis
(tx ) is defined as being perpendicular to the wheel spin axis. Thus,
w y × rz rz × t x
tx = ty = (10)
w y × rz rz × t x
κ is calculated as
ω Hcga
κ= −1 (12)
vx
The wheel spin is integrated to calculate the wheel rotation angle needed for making
animations of the rotating wheels.
L
Pslipx = 0 Pslipy = ± 2TK Pslipz = –HCGA (13)
The slip angle is defined in terms of the X and Y velocity of P slip , vx and vy, expressed in
the ground plane:
( )
v x = t x • vel Pslip ( )
v y = t y • vel Pslip (14)
where tx and ty are defined for the midway wheel plane that contains point Pslip. The
instant slip angle is the arc-tangent of the ratio: vy /vx.
Tire Relaxation
Tires develop shear forces in response to deformation of the tire structure. The forces do
not develop instantaneously, but build as the tire rolls [9]. For example, Figure E.7 shows
how FY builds in response to a step change in slip angle.
Two methods are commonly used for including the tire lag in a vehicle model: (1) use a
tire model with the dynamics built in, or (2) use a static (steady-state) tire model with a
separate filter to account for the lag. The second approach is used in ArcSim because it
offers two practical advantages. First, it allows the use of any static tire model from the
literature independently of the method used to introduce lag. Second, it simplifies the
calculation of the kinematical variables used as inputs to the tire model. Lag is introduced
into the slip angle such that the instantaneous response calculated for the lagged slip
angle yields the lagged side force and aligning moment.
x
Fy
5%
x
3L
Figure E.7. Tire relaxation.
A method described by Bernard [4] is used to account for the lag in tire response. In this
method, α is defined as the arc tangent of an auxiliary state variable, τ.
α = tan −1 (τ ) (15)
A state variable is added for each wheel and defined with a first-order differential
equation:
dτ vx vy
= −τ
dt L RELAX v x
vy − vx τ
= (16)
L RELAX
The parameter LRELAX is the tire relaxation length. The absolute value of vx is used in
Equation 16 to maintain continuity in case the vehicle spins out and v x assumes a
negative value.
When the speed v x approaches zero, the time constant of eq. 16 goes to infinity. To avoid
peculiear behavior at near-zero speeds, an alternative equaiton is used.
dτ v − vx τ v cut
= y × min 50, (16b)
max( v x , ε )
If |vx| < vcut
dt L RELAX
where vcut is a cut-off speed that can be set by the user, and ε is a small positive number
used to avoid division by zero.
σ total = σ X* + σ Y*
* 2 2
(20)
where
σX σY
σ X* = σ Y* =
σ Xmax σ Ymax (21)
The equivalent longitudinal and lateral slips are calculated from the normalized total
theoretical slip,
σ total
*
⋅ σ Xmax ⋅ sign(σ X )
κ' = (22)
1 + σ total ⋅ σ Xmax ⋅ sign(σ X )
*
2
(25)
σ*
*
FY0 = FY0 − ε ( FY0 − FX0 ) ⋅ *X
σ total
where ε = σ total
*
for σ total
*
< 1 and ε = 1 for σ total
*
> 1.
The longitudinal and lateral tire forces are then calculated by
σX
FX = FX0
*
⋅
σ total
(26)
σ
FY = F ⋅ Y
*
σ total
Y0
Sequence Of Calculations
The vehicle simulation is run by numerically integrating a set of ordinary differential
equations. At the beginning of each time step, the values of all of the state variables are
known, including the τ variables. The various quantities necessary for the tire equations
are calculated in the following sequence:
1. Compute FZ, which depend only on the state variables.
2. Compute FX, F Y and MZ with the static tire model (table look-up/combined slip
theory) using τ.
3. Compute δ, including the effect of steer compliances coupled with tire actions of
FX, FY and MZ.
4. Determine tx and ty .
Steering System
Figure E.8 shows a top view of a truck steering system. The steering wheel angle is
denoted by δSW . The total steer at the road of the left and right wheels on the front axle
(δTL and δTR, respectively) is the sum of three kinematical terms: (1) roll-steer (δroll) (2)
bump-steer (δb ) and (3) Ackerman-steer (δaL and δaR, for the left and right wheels,
respectively), and two compliance terms: (1) wrap-steer (δw ) and (2) steer due to the
combined effect of tie rod and steering column compliance (δcL and δcR, for the left and
right wheels, respectively). The modeling of these effects is described below. For all
axles other than the front axle, the only steering effect taken into account is roll-steer.
Roll-steer
As mentioned in the section above on axle kinematics, the roll axis of each axle, arx, is
defined such that as the axle rolls, it steers in accordance with its roll-steer coefficient,
RSTR. The steering due to roll-steer enters the equations of motion through Equation 4.
The motion of the axle about its roll axis causes the directions the vectors ay and ax to
contain the effects of roll-steer, and thus, so does the wheel spin axis, wy . The wheel spin
axis is used to define the tire X and Y axes, tx and ty , which in turn determine the tangent
of the instantaneous value of lateral slip via Equations 14 and 16.
The roll-steer at the road is slightly asymmetric from left to right. The exact expressions
are very complex, and are not given here. For the purpose of outputing total steer at the
road, roll-steer is assumed to be the same for the left and right wheels, and is represented
with the very good approximation of
δ roll = R str rq(A) (28)
where rq(A) is the rotational coordinate of the axle.
δTL δTR
Intersection of
steer axis and
ground
MZL
MZR
LMTL Axle
FYL FYR
Tie Rod
Pc FXL FXR
CSMZR
CSMZS
LTKPOL s1x
Steering
Column
s1y
δ SW
Steering
Wheel
Bump-steer
When an axle translates vertically, the geometry ofthe steering linkages can induce some
steering. This effect is known as bump-steer. Bump-steer is assumed to be the same for
the left and right wheels, and it is modeled with a single coefficient, RBMPSTR , that has
units of degrees of steer per unit of axle jounce. Axle jounce is defined as the
translational coordinate of the axle, tq(A 1 ). This is equal to the amount that the axle CG
has translated vertically (in the a1z direction) from its nominal location in body A1r (i.e., at
a distance HCGA above the ground). Bump-steer is thus given by
δ b = R BMPSTR tq( A1 ) (29)
Ackerman-steer
If the front of the leading unit is supported in the air by its frame (such that the front
wheels can freely steer without the tires contacting the ground), the kinematical gains
between the steering wheel and the left wheel, and the steering wheel and the right wheel,
are normally nonlinear, and different from side to side. This is mostly by design, in an
attempt to produce Ackerman-steer, but also due to the complex geometry of the steering
linkages. ArcSim provides a separate table function for the kinematical steer (at zero
jounce and zero roll) of each front wheel as a function of steering wheel angle. These are
assumed to contain the total kinematical gains (i.e., including the steering gearbox
reduction gear gain) from the steering wheel to the road. The left and right Ackerman
steering gains are given by
δ aL = straL (δ SW ) δ aR = straR (δ SW ) (30)
Wrap-steer
When the vehicle accelerates longitudinally, the axles tend to wrap (twist about the Y
axis). This can cause steering, especially on the front axle. This type of steering is
modeled by a wrap-steer coefficient (RWRAPSTR) multiplied by the amount of axle wrap.
Axle wrap is measured in degrees, and thus R WRAPSTR is dimensionless. The amount of
axle wrap is in turn modeled by a wrap-up compliance coefficient (CWRAP) multiplied by
the sum of the moments of the tire longitudinal forces about the axle spin axis, ay. C WRAP
thus has the dimensions of degrees per unit of moment. The wrap steer of the front axle is
given by
[
δ w = R WRAPSTR C WRAP (H CGA − ∆ TL )FXL + (H CGA − ∆ TR )FXR ] (31)
where HCGA - ∆TL and HCGA - ∆ TL are the instantaneous left and right front tire radii, and
FXL and FXR are the left and right front tire longitudinal forces, respectively.
angles, and the kingpin offsets at the wheel center (ACASTL, AKPIL LKPOL and ACASTL, AKPIL
LKPOL).
The left and right mechanical trail (LMTL and LMTR) at the ground are given by
L MTL = (H CGA − ∆ TL ) tan −1 ( A CASTL − pitch(S1 ))
(32)
L MTR = (H CGA − ∆ TR ) tan −1 ( A CASTR − pitch(S1 ))
where pitch(S1 ) is the pitch angle of body S1.
The left and right kingpin offsets at the ground (LTKPOL and LTKPOR) are given by
L TKPOL = L KPOL − (H CGA − ∆ TL ) tan −1 ( A KPIL )
(33)
L TKPOR = L KPOR − (H CGA − ∆ TR ) tan −1 ( A KPIR )
The total steering moments acting on the left and right wheels (MSZL and MSZR) are:
M SZL = M ZL − L MTL FYL − L TKPOL FXL
[ ]
− L MTLsin( A KPIL ) + L TKPOLsin( A CASTL − pitch(S1 )) FZL
(34)
M SZR = M ZR − L MTR FYR + L TKPOR FXR
[ ]
+ L MTRsin( A KPIR ) + L TKPORsin( A CASTR − pitch(S1 )) FZR
The total steer angles at the road, δTL and δTR, are equal to δL and δR, plus the effect of
roll-steer
δ TL = δ L + δ roll
(37)
δ TR = δ R + δ roll
References
1. “Vehicle Dynamics Terminology.” SAE J670e, 1976.