You are on page 1of 22

Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

SAE TECHNICAL
PAPER SERIES 950703

An Adaptable, Multitest, Multichannel


Fatigue Test System

J. J. F. Bonnen, and F. A. Conle


Ford Motor Co.

SAE

mA=For
The Engineering Society
Advancing Mobility
and Sea Air and Space,
International Congress and Exposition
Detroit, Michigan
-
February 27 March 2,1995
400 CommonwealthDrive,Warrendale, PA 15096-0001 U.S.A. Tel: (412)776-4841 Fax:(412)776-5760
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

The appearance of the ISSNcode at the bottomof this page indicatesSAE's consent
that copies of the paper may be made for personal or internal use of specific clients.
Thisconsent isgivenon thecondition, however, thatthe copier paya$5.00 per article
copy fee through the Copyright Clearance Center, lnc. Operations Center, 222
RosewoodDrive, Danvers, MA 01923 for copying beyondthat permittedby Sections
107 or 108 of the U.S. Copyright Law. This consent does not extend to other kinds
of copying such as copying for general distribution, for advertising or promotional
purposes, for creating new collective works, or for resale.

SAE routinely stocks printed papers for a period of three years following date of
publication. Direct your orders to SAE Customer Sales and Satisfaction
Department.

Quantity reprint rates can be obtained from the Customer Sales and Satisfaction
Department.

To request permission to reprint a technical paper or permissionto use copyrighted


SAE publications in other works, contact the SAE Publications Group.

GLOBAL MOBlUlY D A T M E
All SAE papers, standards, and selected
books are abstracted and indexed in the
Global Mobilrty Database.

No part of this publication may by reproduced in any form, in an electronic retrieval


system or otherwise, without the prior written permission of the publisher.

ISSN 0148-7191
Copyright 1995 Society of Automotive Engineers, Inc.

Positions and opinions advanced in this paper are those of the author(s) and not
necessarily those of SAE. The author is solely responsible for the content of the
paper. A process is available by which discussions will be printed with the paper if
it is published in SAE transactions. For permission to publish this paper in full or in
part, contact the SAE Publications Group.

Persons wishing to submit papers to be considered for presentation or publication


through SAE should send the manuscript or a 300 word abstract of a proposed
manuscript to: Secretary, Engineering Activity Board, SAE.

Printed in USA 90-1ZO~DIPG


Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

An Adaptable, Multitest, Multichannel


Fatigue Test System
J. J. F. Bonnen, and F. A. Conle
Ford Motor Co.

Abstract Experience has determined that the following


A highly adaptable fatigue testing computer sys- system features and functions would be "ideal" for
tem is presented for controlling single or multichannel the fatigue laboratory:
test machines. The system imposes most common o data logging 500 channels at 1000 (sam-
varieties of waveforms and also provides time syn- ples/sec.)/channel.
chronization between channels, such as in the case of
variable amplitude biaxial load histories, and moni- synchronously control up to 20 (D/A and
tors various feedback signals for both data acquisi- TTL) control channels per test station.
tion and alarm purposes. The program operates in simultaneous control of multiple test sta-
a real-time Unix system as a separate stand-alone tions.
process. Communication with other users or the op-
flexible monitor and control points: open
erator is done only through a reserved common block
of shared memory. This feature allows control and to a user network.
monitoring of all tests over the computer network. A highly flexible time based test history
user can simply login remotely and check the test or control.
start a data acquisition task from any workstation in high quality graphic data presentation.
the company, and then take the data files and analyze
them on other computers. This paper describes the Ezisting Solutions
operation of the software, the methodology behind
the hardware selection and the software structure. Systems which employ one or more of the above
techniques are reasonably common, but there appear
Introduction to be no systems which meet all of them.
The advent of inexpensive computing equipment Continuous data logging at 500Khz constitutes a
has made the laboratory test control computer com- serious challenge for even the most modern systems.
monplace. Recent advances in networking office com- The principle problem with acquisition at these rates
puters has demonstrated the advantage of company is the bottleneck caused by poor data transfer band-
wide data exchange and program communication. width (especially disk transfer rates). As high per-
Test control computers have generally excluded ex- formance techniques such as high speed double-width
ternal links during test execution, primarily because buses and disk striping migrate down from high per-
of loss of real time system response. It is rapidly formance computers, this problem will dissipate. To
becoming apparent, however, that the need to iso- date there is no fatigue control equipment, includ-
late the test computer is disappearing. The increased ing that described in this article, which has achieved
power of small machines and the drive for networked these kind of sustained performance numbers.
computing environments have ensured this change.
In many ground vehicle industry fatigue test and re- Another important capability is the ability to as-
search laboratories, there is generally a mixture of a sign multiple synchronous control channels (channels
large amount of simple testing - i.e. constant am- on a single test which work in concert) dynamically to
plitude stress or strain controlled axial fatigue tests any test station - a capability which allows both great
which require basic data logging - and a limited testing flexibility within the laboratory and complex
amount of complex testing such as variable ampli- tests including environmental control and multiaxial
tude loading on one or more control channels. Occa- tests. Many ~ ~ s t e can m scontrol
~ ~ ~multiple
~ ~ chan-
sionally, additional environmental equipment may be nels in a synchronous manner, but these systems are
monitored and controlled. generally dedicated to a single structural, component,
1
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

or biaxial fatigue test. Only Nowack, et. aL4 men- is usually lost. It is very convenient to have a system
tions software with ability to flexibly assign control which can accept all of the above formats so that load
channels. histories developed by differing organizations can be
Starting as early as the mid 1970's the cost of applied to specimens/structures with little modifica-
laboratory computers were defrayed by using a single tion. The majority of fatigue testing systems take
unit to control multiple test stations - several authors only a single format and this renders them less useful
have used this technique. Minicomputers (primarily in the automotive fatigue testing environment.
PDP-11) have been used predominantly in multista-
tion test control. Several worker^^^^^^ have developed Hardware Selection
software/hardware which variously allowed control of Although each laboratory has different testing
bet ween two to six servohydraulic test stations, but requirements, the hardware platform has been usu-
newer multistation systems7~*,while using a mini- ally selected from either mini-computers such as the
computer in a supervisory role, employ a smaller local PDP-11 and Eclipse, or, more recently, from rnicro-
satellite computer on each test frame. Other types of computers, usually the PC clone.
computers have been used in this application: one
group of researchersg relied on a remote main frame Minicomputers still retain certain advantages
computer (IBM 1800) to provide control for three fa- over less expensive microcomputers. Although
the initial costs associated with minicomputers are
tigue stands, and, surprisingly, two instancesl0>l1ex- greater, their use for data acquisition on multiple test
ist s of microcomputer managed multistation test con-
stations can reduce the cost per test station to be-
trol. The advantages of this technique are centralized
low that of dedicated microcomputers. Other advan-
data storage and software development/storage.
tages of the minicomputer are the ability to access
In many cases it is convenient to be able to in- the system from locations other than the system con-
spect the progress of a test remotely and perhaps sole and prioritized scheduling which allows simulta-
modify its operation. If the acquisition and test con- neous independent data analysis and data acquisition
trol process can interrupt and "reportn to the control as well as leaving any excess processing time available
terminal, typically the system console, in case of crit- for other uses. Finally, the sophistication of modern
ical errors, then that terminal can be used for other multiuser-multitasking operating systems allow pro-
work while the test is going on. Other secondary con- gramming complexity not yet available on microcom-
trol functions, such as data acquisition, test speed puters.
changes etc, are at the discretion of the user. To date
two researchers7p8 have taken advantage of this ap- Many test control/acquisition computers (PC
proach, and, although neither claims to have remote type) are single process oriented. Most minicomputer
control capability, one has the ability to monitor test test controllers are also limited to a single process
progress remotely. or background/foreground process. The newer work-
stations, on the other hand, are multi process ma-
The three frequently used methods to input
chines, with potentially many users and logins possi-
variable amplitude histories into test control chan-
ble. A test computer that is integrated in this type of
nels are the peak-time, peak-valley, and block for-
distributed environment has many more advantages.
mats. Older systems typically rely on a digital
function generator10112 to supply the waveform, but Test waveforms, and control programs can be trans-
newer systems generate waveforms internally7~8~11. mitted to it, control can be done from remote loca-
~ e d i c a t e d l 7 land
~ multistation4p5 systems both ac- tions, and data processing/display can be systemati-
cept the peak-time format where the waveform is de- cally off-loaded to more convenient locations or ma-
fined by a series of ramps and holds. These waveform chines. Many of these functions are very difficult, at
"building blocks" can be used to generate any arbi- best, to implement on a microcomputer but easily
trary waveform. An alternate history format is the implemented on a minicomputer.
peak-valley which consists of a list of ramp end point Further, hardware requirements in our fatigue
values with no timebase, and the systems which em- laboratory substantially limited the available plat-
ploy this format either control the ramp rate14 or use form choices. The wide range of experiment types
adaptive control algorithms15 to ensure proper hy- necessitated that the computer have very high data
draulic performance. The final common input form acquisition throughput, especially if multiple test sta-
is the block loading method which is akin to the peak tions are involved. In the mid 1980's there were no
valley, but for each closed excursion between two end- high throughput data acquisition boards available for
points a repetition count is added. Markov matrices4 microcomputers, but minicomputer equipment did
are frequently used, and are similar to the peak- exist which provided sufficient capabilities. Thus the
valley, but define excursions by a start-level/end- platform selected for use (MassComp 5450t) was a
level sequence or a "from-to matrix" form. Typi- Motorola 68020 Unix* based minicomputer.
cally markov matrices are converted into peak-valley
or block loading waveforms before being used in test- t Registered trademark of Concurrent Computer
ing. The greatest drawback with markov matrix and Corp.
block loading schemes is that the original cycle order * Registered trademark of Novel1 Corporation.
2
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

Clearly demonstrated by its architecture, shown A data acquisition library accompanies the sys-
in Figure 1, this machine was designed specifically tem which provides well over 100 subroutines for con-
for high data throughput and short latencies (the trolling the various devices. This software is predi-
time between the occurence of an event and the com- cated on the use of buffered transfers, and for the ma-
puter's reaction t o it); hence a data acquisition com- jority of data acquisition tasks this approach works
puter. The processing Yoad" on the primary proces- well. However, one must occasionally avoid buffering
sor is reduced by the addition of an interrupt driven and it is possible to circumvent this problem with
dedicated data acquisition control processor (DACP) minor modifications of the DACP microcode drivers.
which handles direct communication with the vari- The software addressed in this paper was written
ous converters, clocks, and parallel communication in a combination of FORTRAN(80%), C (lo%), and
lines attached t o the STD bus. The DACP commu- DACP assembly language (10%).
nicates with the primary processor via direct memory
access (DMA) through first the Multibus, and finally
through the Host-Memory Interconnect Bus (HMIB). Test Control Software
In this arrangement the hardware is capable of ana- Overview
log to digital (a/d) conversion rates of lMHz - a limit
imposed by the performance of the DACP. Hardware The software can dynamically assign control
for graphics and extra terminals are placed on the channels to multiple test stations. A user can start a
Multibus, while RAM, disk i/o, Ethernet, and float- test and then logout of the computer, and all critical
ing point array processors are placed on the HMIB. errors will be reported to a console, and/or electron-
ically mailed to a particular network location. The
Only in the last couple of years have microcomputer
user can, at any time, log back into the system and
manufacturers begun to incorporate similar design
acquire immediate status reports, perform some data
philosophies into their hardware. acquisition functions, or schedule such procedures at
The computer's external signal section contains future points in time. Typically, although not neces-
all of the necessary primary data acquisition hard- sarily, acquired data sets are transmitted across the
ware. There are two configurations currently being network and analyzed on another workstation. Gen-
used in the laboratory. The first contains: 16 single erally the capacity of the test control workstation is
ended, 12 bit, 330KHz a/d converters; two 275KHz, sufficient to both control a complex test and to per-
12 bit digital t o analog (d/a) converters; 16 bit par- form data analysis, but the convenience ~f data anal-
allel digital i/o capable of a 250K words/sec bidirec- ysis in one's own office, rather than the test lab, is
tional transfer; and 5 clocks with a frequency range quite a popular feature.
from O.01Hz to 3MHz. The second configuration con-
tains: 16 single ended, 12 bit, 1MHz a/d converters; Background Terminology
four 500KHz, 12 bit d/a converters; 16 bit parallel Shared Memory is an integral part of the con-
digital i/o capable of 350K words/sec bidirectional trol program, and it is a feature of AT&T UNIX
transfer; 10 clocks with the same frequency range as which allows any number of processes to access the
above; and an IEEE-488 interface which can control same memory segment. This allows a command and
up to 14 GPIB devices. control block of memory to be defined which per-
For interactive data analysis/display the graphi- mits other processes running on the computer to in-
cal capabilities of the system include a 1152x910 pixel telligently interact with the control program. Since
color display with dedicated graphics processor with shared memory usage is non-deterministic - any pro-
12 planes of memory and a Tektronix 4014 graphics cess with the proper permissions may access and
terminal. Other equipment includes a 1Gb of disk change the data within it at any time - it is locked
space, 8Mb of RAM, four RS-232 ports, a 150Mb into physical memory by the operating system to pre-
cartridge tape, and an ethernet connection. vent it from being swapped to disk. This locking fea-
ture ensures immediate access by the real time test
Software Platform control program.
Asynchronous System Traps (AST's) are the
The operating system incorporates both AT&T software analog of hardware interrupts. These are
System V Unix and Berkeley Software Distribution used by the data acquisition processes for data buffer-
(BSD) 4.2 Unix into a real-time unix platform. Users ing and program control. In a fashion similar to hard-
determine which "universe" they want to operate in ware interrupts, AST's carry a maskable priority level
- easily switching between universes, and programs and require a handler, but, unlike hardware inter-
compiled in either universe can be executed in both. rupts, they carry a value as well. Hence, AST's allow
This allows the programmer to incorporate the best the various parts of the program to be prioritized ac-
features of both flavors of Unix into their code. Pro- cording to their level of importance to the test. For
grams can be written in either C or FORTRAN or instance, the interlock monitor software may be given
any admixture of both, and software debugging and a very high AST priority so that it will interrupt all
optimization are provided as well. but the most crucial processing so that the computer
3
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

will analyze the problem at hand. During the pro- main program will go check on the system. This ap-
cessing of the current AST the process changes the proach offloads the bulk of the work on to the DACP
mask so that only AST's of higher priority than the and results in about a 10% load on the CPU. The
one currently being processed may interrupt. The remaining CPU time is utilized by other programs or
ultimate advantage of AST's is that they are much users to perform other tasks.
more flexible than conventional hardware interrupts. Each time the Digital to Analog converters con-
Background Process is a process which executes vert enough values to fill one buffer of samples the
without any user interaction leaving the user the abil- DACP sends an AST signal to ftestd. The CPU then
ity to perform other tasks on the terminal while the suspends all processing, including the management
process is running. The original user who invoked of the operational control loop, to execute the out-
the background process may reattach it to the shell bound buffer completion routine. The first duty the
(move it to the foreground). A shell is the command routine performs is a poll of the test interlocks, and,
line interpreter used by the computer to interpret user if those are set, the current software and test state
input -in Unix the programs which perform this task is saved to disk and a stop command is issued in-
are typically either the Bourne shell (sh) or the "Cn ternally, halting history replay. Otherwise, if the in-
shell (csh). In the interim the user can logout, leave terlocks are clear, this routine fills the buffer with
the test area, and login again from any other location the next set of d/a values, processes any user com-
on the network. Once logged out the background pro- mands which require execution while in this routine,
cess continues, and, although it cannot be reattached and then exits. Any suspended user processes (data
to a shell, it does continue to report errors to the analysis, etc.) resumes. Meanwhile, the DACP plays
original terminal. the output voltage buffer to the test specimen. This
pattern is followed by all of the functions which em-
Main Progmm ploy buffered transfers.
The main program, called the fatigue test dae- The variables in shared memory which dictate
mon, or "ftestd," is subdivided into several indepen- the control changes in ftestd can be modified by two
dent operating sections of varying priority. These sec- methods. The first is a status/control program, called
tions handle user requests/control changes, analog to GLstun," (so named because it gives ftestd orders)
digital control, and digital to analog buffer mainte- which accesses the control switches via shared mem-
nance. ory and can be invoked in either interactive or single
The ftestd program initially loads itself as a back- command mode. This program enables any user to
ground process, requests a very high priority level - read and modify shared memory, much like a sta-
slightly lower than the system process scheduler - and tus/control instrument panel, or to write intelligent
creates and attaches the shared memory segments. batch processing files for automatic process control.
After filling the d/a buffers with zeros, ftestd starts The second control method is t o embed ftestd com-
up the d/a and interlock (alarm) monitor processes, mands in the input history - these "embeddedn com-
and, finally, it enters the main test control loop (see mands are only executed before a test start.
below). All state changes (history reset, etc.) and re-
coverable errors are logged to a transcript file during User Interface - Status/Control Program
the test.
The foreground control program, called "stun,"
The test or operation control loop consists of
runs only long enough to change the operation of
program units that perform requested state changes.
ftestd by writing commands to the variables in the
.
Several of these commands (such as load, .rset,
control program's shared memory space. Stun runs
etc.) require significant processing on the part of
either as a single command line interpreter or an in-
ftestd hence slowing the response to the user. The
teractive control system.
process interaction is depicted in the left of Figure 2.
As the ftestd program progresses through each de- When invoked stun attaches shared memory, per-
cision point it checks a different control variable lo- forms a brief status check, writes the status to the
cated in the shared memory segment, and performs screen, and, if invoked interactively, issues a prompt.
the appropriate control actions. For instance, if the All successful commands are then logged to a file with
KSAVE logical variable, which indicates whether or status changes noted. Once the appropriate shared
not a restart file should be saved, is set, either by an memory values are changed, the remaining process-
external or internal source, ftestd saves the appropri- ing is performed by ftestd. Before any changes are
ate data to the restart file. This file can then be used made, however, stun checks the current state of the
later to restart the test in case it has been interrupted control system to ensure that no untoward control
by a power fault or similar occurrence. Once ftestd conflicts/problems develop. The commands in stun,
has made a pass through the various decision points listed in the section entitled "Command Set," are
it "sleeps" or waits for the next AST signal from the generally those which affect the operation of the his-
DACP interface to arrive and wake it up. This pause tory as it is being replayed, and a typical interactive
is for a maximum of 10 seconds after which time the session with stun is shown in Figure 3.
4
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

Embedded Commands: Before test startup the Runfile Structue and History Requiements
file containing the history, called a urunfile,n is loaded Runfiles are history input files which ftestdloads
into memory by ftestd. A limited set of commands into memory for later history replay. A runfile with a
can be embedded in the header of this runfde (see typical sequence of embedded commands is shown in
the section entitled URunfile Structuren). Typically,
the commands accessible in runfdes are those which Figure 4. Runfiles have two sections - a header sec-
tion where the embedded commands and comments
modify the history itself (scaling, offsets, etc. - com-
mands which become repetitive and tedious i invoked
manually (via stun) each time the history is used. A
1 reside and a data section where the numerical descrip-
tion of the history is found. The header section of the
list of commands and their function is given in the runfile starts at the first line and proceeds to the line
following section. containing "^END",and the history data begins after
it. The data file is loaded into memory once r s e t.
Command Set is issued. Ftestd first reads the embedded commands
All commands start with a "." and are three or which inform ftestd of the history type, set the history
four letters long - any other permutation is consid- multiplier, set the base time step, etc. The actual for-
ered a comment by both stun and the embedded com- mat of the numerical history description varies with
mand interpreter. Interactive commands are labelled the history type, and all runfiles are in ASCII format
with an "(')", embedded commands are labelled with such that a user can easily read and edit all parts of
an "(4)" and those commands which belong to both the file.
command sets are labelled with an "('re)". With the The one principle requirement for the input his-
.
exception of the " AXITn command any of the com- tories is that they must begin and end at the same
mands can be entered in either upper or lower case. level, but this is not unique as most variable am-
Examples of the available commands follow (a com- plitude fatigue testing programs have the same re-
plete list can be found in Appendix A): quirement. After scaling and offsets take effect the
.run Start history playback.(i~e) final output, in d/a converter units, must be in the
range -2048 5 x 5 2047. When servicing buffers the
.s t o p Stop history playback.(i) program checks that the output remains within this
. s t a t Status of d/a and other run-time infor- range, and, if either limit is exceeded, shuts down the
mation. Entire status display is written history playback for that test station, and prints an
to the log file.(') error to the system console.
.r s e t Stop history playback if running, zero The maximum slew rate (converter units per sec-
output, load histories from a datafile, ond) can be adjusted by the following methods. In
and reinitialize control variables. This both block and peak-valley history types a maximum
command causes ftestd to process any voltage step size per time increment may be specified
embedd?8 commands found in the .
via the vdel command. In the peak-time histories
runfiles. hydraulic response is improved via the .espk com-
The commands which are most commonly mand. This command accepts a start time, an end
found in runfiles are as follows: time, and a timebase multiplier. The multiplier ef-
.t y p e Type of history in this file - block, fectively changes the D/A data rate and allows the
peak-time, peak-valley.(e) slew rate to be decreased for a specific section of the
history, after which test conditions return to normal.
.mult Set history multiplier.(")
.mean Set history mean offset .(") Typical Usage
. b a s t Set base time step (for peak-time Initially ftestd runs without user interaction as a
histories).(e) background process, and, once it is operating, stun
^END Indicates end of header section Q can be started interactively. Referring again to Fig-
history file - history data follows.(" f ure 3, the first task is to load the history into memory
with the . r s e t command. Since embedded com-
4
. s a v e Saves current run con ition of test and
ftestd to a restart file.('
mands are almost always found in the history in-
put files, ftestd executes these commands next. Fig-
. load Loads old run condition of test and ftestd . .
ure 4 is a good example. Here the t y p e , mult ,
from a restart file.(') . b a s t , and .espk commands are executed in the
.b s t p Stops history playback after the end of order found in the file. Next, in the interactive ses-
sion, the a/d monitors are started with the .upad
the designated repetition.(')
command (operation of these are covered in the next
. bgo Countermands ".bstpV operation.(') section) and history replay is started with .run. If a
.cmd Loads and runs commands from a file.(') restart file exist from an older test then .1oad could
also be used to reload the earlier values of the run-
.AXIT Emergency exit - cleanly shuts down time variables.
both ftestd and stun at once.(')
History playback can be paused at any time via
q u i t Exit interactive stun.(') the . s t o p command, or it can be paused at the end
5
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

of a complete history repetition through the b s t p or . External Progmms


.
block stop command. The bgo command eliminates Certain functions which are not critical to the
the effect of the block stop. The .dnad shuts down operation of the testing program fall into one of two
the a/d software monitors releasing the a/d hardware categories - active and passive. An active task is any
to another process should a continuous data recording external task which directly manipulates acquisition
by an external acquisition program. or control hardware and, hence, must run at a reason-
ably high priority level (to get it more attention than
A/D Monitors mundane system or user tasks). The prime example
of this is the external program which takes hysteresis
Frequently it is convenient to log the peak values loops (or other data) directly from the a/d converters
of the various signals (loads, strokes, strains, errors, and can access both the data buffers and the control
etc.) associated with the test. The repetition time shared memory segments which ftestd uses.
between the peak value of these signals, depending
on the history, can occur at widely disparate times Passive programs do not interact with acquisition
- sometimes as much as 70 minutes apart. One can hardware and run at an lower priority than active pro-
use these peak values to monitor specimen behaviour grams. However, they use data that has already been
such as cyclic hardeninglsoftening and overall speci- processed and is available in log files or through access
with the ftestd shared memory. An example of a rou-
men compliance. Also it can be useful having values
tine passive task is a specimen compliance watchdog
of these signals when the specimen is at "rest" during
the brief period (5 seconds maximum) between his- which analyzes the high/low/zero log files from a/d
monitor system and mails the analysis results to the
tory replays to help detect ratchetting. An external
user or shuts down the test if some criterion is met.
program can then monitor these values, and if they
Such a process may in fact be a shell script or "batchn
exceed certain established limits use stun to change
execution file that invokes the non-interactive version
or stop the test (See "External Programs"). These
features are used to detect changes in specimen com-
.
of stun and uses the output from the st a t command
to make decisions about manipulating the test. Cur-
pliance or strain gage degeneration.
rently the scripts which run these tasks are executed
When the ftestd a/d subsystem is activated by the Unix "cron" automatic facility for timed exe-
( .upad) a set of these simple a/d monitors is in- cution.
stalled in the DACP. This modified DACP microcode One example of a cron driven process is a script
returns a set of high and low values for each channel called "watch" which checks the high/low peak file
after each repetition has been completed. Between to see if any of the values have exceeded either a
repetitions the command level of the history must re- warning or a stop level. If the test signal has ex-
turn to zero, and, if enough time is available at the ceeded a warning level a message is mailed to the
zero level, the DACP takes two 16 point averages of appropriate test operator concerning this fact. If the
the rest or "zero" levels of the feedback lines and re- test has exceeded the stop level the command "stun
turns the averages to ftestd. This information is used .b s t p " is issued and a message mailed. In this way
to track mean drift in specimens which experience the activation of the hard interlocks on the hydraulic
torsional strain ratchetting. Both the high value, low controllers with their associated hydraulic transients
value, and "zero" value data are simply logged into a is anticipated and avoided. This script is executed
file by an inbound buffer completion routine. by cron at least twice during each repetition of the
history in order t o ensure that the data from each
Interlock Monitors repetition is examined - i.e. if the history takes 70
minutes to run then the script is set to execute every
The DACP also monitors up to 16 TTL compat-
half-hour.
ible interlock signals at a selectable frequency (usu-
ally 2Hz) and posts the values of the interlocks di-
rectly into the shared memory control segment which Future Modifications
ftestd monitors. This allows ftestd as well as any The next version of the stun will provide a full
ancillary programs (such as the a/d acquisition rou- screen menu driven version of the stun interface for
tines) to monitor system alarm status. For exam- ascii crt's. This will not constrain users in their choice
ple ftestd checks the servohydraulic interlock status of terminals as long as the definition for that terminal
words in shared memory and, if an interlock has is in the acquisition computer's database which, in
tripped, it saves the operational parameters (e.g. rep- Unix systems, is quite extensive. Another aim is to
etition count, the current history pointer, etc.) to create an interactive program to help designldebug
disk, shuts down the acquisition/control processes for test histories, and finally to migrate the program suite
the affected control channels, and waits for new com- to a different platform (perhaps a RISC architecture
mands. Unix computer).
6
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

An Example either the acquisition computer or the company net-


The SAE bendingltorsion load frame16 (see Fig- work.
ure 5) produces bending in a specimen by operat- The system has been used for both constant and
ing both actuators with the same signal, and it pro- variable amplitude testing on both unixial and mul-
duces torsion by operating the actuators with signals tiaxial test frames with success over the last three
of equal magnitude but opposite sign. As a result years.
special calculations were necessary to generate the
loading sequences for each actuator since the multi-
axial input histories were in a bending and torsion
format. A code module performing these superposi-
tions was written and inserted into ftestd, and two
control channels were linked together to drive the ac-
tuators.
The runfiles for the service history (see Figure 6)
were quite large - the bending file was 1160kbytes
(109419 points) and the torsion was 774kbytes (73348
points). Since the size of the history files was consid-
erable special techniques for "debugging" the histo-
ries had to be developed. Debugging the histories
consisted of locating portions of the history where
non-real events such as drop-outs, calibration marks,
aberant noise spikes, etc. occurred. One component
of this work was pursued using ftestd's history debug-
ging features (see Appendix A), a dummy specimen,
and the test rig.
The specimen tested was the SAE axle shaft1'
(Figure 7). As shown in the figure a small strain
rosette was placed at the critical point in the spec-
imen notch, and as the test progressed ftestd would
monitor these strains as well as other actuator sig-
nals. The a/d monitors were able to track the even-
tual breakdown of the strain gages in the rosette (Fig-
ure 8), provide useful experimental data (Figure 9) on
material behaviour, and specimen ratchetting (Fig-
ure 10) was derived from the stroke signals. At se-
lected intervals the a/d channels were reassigned to
scan all values in a complete block of data. The notch
strain histories (Figure 11) caused by the input load
history were recorded. These strain rosette histo-
ries were subsequently used as in uts to a multiaxial
stress-strain modelling program 18 .
Summary
A computer program was developed which has
successfully met the requirements for fatigue testing
in the laboratory. The requirements for this program
were that it should 1) operate multiple test frames
independently, 2) be able to dynamically assign any
number of control and acquisition channels to any
given test, 3) operate from any terminal (remote or
otherwise), 4) manipulate and replay the principle
durability history forms, and 5) have graphical dis-
play capabilities.
The hardware and programs described in this pa-
per achieved these requirements on a Unix platform.
The system is accessible through an interface pro-
gram and judicously uses a single front end data ac-
quisition processor. Test update and control can be
performed from any terminal (and data analysis from
any suitable graphics terminal) connected directly to
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

References 12. Sooley, P. M., and Hoeppner, D. W. 'Low-


Cost Microprocessor-Based Data Acquisition and
Control System for Fatigue Crack Growth Test-
1. Boggs, B. C., Mondol, N. K., McQuown, ing' ASTM STP 877 (American Society for Test-
R. E., and Anderson, J. G. 'Digital and An& ing and Materials, 1985) pp 101-117
log computer Equipment and Its Application to
In-House Testing' ASTM STP 619 (American 13. Fleck, N. A., and Hooley, T. 'Development
Society for Testing and Materials, 1976) pp 2-26 of Low Cost Computer Control' SEE Conf - Int
Conf on Digit Tech in Fatigue (Society of Envi-
2. Ewing, D. K. 'Computer-based full scale fa- ronmental Engineers, 1983) pp 309-316
tigue' Int J Fatigue 1 No 2 (1979) pp 89-92
14. Richards, F. D. 'A New Software Concept
3. Downing, S. D., and Galliart, D. R. 'A Fa- for Computerized Materials Testing' ASTM STP
tigue Test System for a Notched Shaft in Com- 613 (American Society for Testing and Materials,
bined Bending and Torsion' ASTM STP 853 1976) pp 50-60
(American Society for Testing and Materials,
1985) pp 24-36 15. Pompetzki, M. A., Saper, R. H., and Top-
per, T . H. 'Software for High Frequency Control
4. Nowack, H., Hanschmann, D., Baumhoff, of Variable Amplitude fatigue Tests' Canadian
N., and Jacoby, G. 'Developments in hard- Met Quart 25 No 2 (1986) pp 181-194
ware and software for computer controlled servo-
hydraulic fatigue testing systems' Int J Fatigue 16. Leese, G., and Socie, D. Multiaxial Fatigue:
1 No 2 (1979) pp 93-102 Analysis and Experiments, SAE AE14, 1989

5. Utah, D., and Malik, H. J. 'Use of Multista- 17. Bonnen, J. J. F., Conle, F. A., and
tion Computer System for Laboratory Data Ac- Chu, C.-C. 'Biaxial Torsion-Bending Fatigue of
quitision and Control' ASTM STP 613 (Ameri- SAE Axle Shafts' 1991 SAE Transactions, SAE
can Society for Testing and Materials, 1976) pp reprint #910164, February 1991
61-77 18. Chu, C.-C., Conle, F. A., and Bonnen, J.
6. Nisar, R. 'Hardware for a General Purpose Ma- J. F. 'Multiaxial Stress-Strain Modeling and Fa-
terials Testing Computer System Using a Dis- tigue Life Prediction of SAE Axle Shafts,' Sym-
tributed P a r d e l Processing Architecture' ASTM posium on Multiaxial Fatigue, ASTM STP 1191,
STP 710 (American Society for Testing and Ma- pp. 37-54, 1993.
terials, 1980) pp 48-57
7. Sunder, R. 'Automated Fatigue and Fracture
Laboratory with Multiple Load Frames and Sin-
gle Host Computer System' ASTM STP 1092
(American Society for Testing and Materials,
1990) pp 232-249
8. McGaw, M. A., and Bonacuse, P. J. 'Au-
tomation software for a Materials Testing Labo-
ratory' ASTM STP 1092 (American Society for
Testing and Materials, 1990) pp 211-231
9. Lim, C. K., Kuklentz, R. J. 'Application of
the Digital computer t o an Accelerated Fatigue
Model' ASTM STP 613 (American Society for
Testing and Materials, 1976) pp 126-141
10. Meyn, D. A., Moore, P. G., Bayles, R. A.,
and Denney, P. E. 'An Inexpensive, Multiple-
Experiment Monitoring, Recording, and Control
System' ASTM STP 877 (American Society for
Testing and Materials, 1985) pp 27-43
11. Austen, I. M., and Holdsworth, K. 'New
developments in the computer control of fatigue
machines' Int Conf Fatigue Eng Mater Struct
(Institution of Mechanical Engineers, 1986) 2 pp
485-493
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

Appendix A .save Saves current run condition of ftestd to


a restart file.(')
Command Set .load Loads old run condition of ftestd from a
All commands start with a "." and are three or restart file.(')
four letters long - any other permutation is consid- . b s t p Stops history playback after the end of
ered a comment by both stun and the embedded com- the designated repetition.(')
mand interpreter. Interactive commands are labelled
with an "(')", embedded commands are labelled with .
bgo Countermands " .bstpWoperation.(')
an "(4)" and those commands which belong to both .upad Brings the a/d converters on-line.(')
command sets are labelled with an "('se)".
able commands are:
The avail- .dnad Halts the a/d converters.(')

.run Start history playback.(i~e) .wron Write current a/d values to screen.(')
. s t o p Stop history playback.(i) .wrof Shuts off a/d screen writes.(')
. s t a t Status of d/a and other run-time infor- . AXIT Emergency exit - shuts down both ftestd
mation. Entire status display is written and stun at once.(')
to the log file.(') q u i t Exit stun.(')
.st ad Status of a/d.(') .lgon Log peak-time information to a file. His-
tory debugging command.(')
.s t i n Status of interlocks.(')
.l g o f Stop peak-time log. History debugging
.r s e t Stop history playback if running, zero
command.(')
output, load histories from the datafile,
and reinitialize control variables.(') It is .inon Enable interlock auto-shutdown.(')
this command which processes any em- .inof Disable interlock auto-shutdown.(')
bedded commands found in the runfiles. .h l o g Write histories resident in RAM to out-
The commands which are most com- put files.(')
monly found in runfiles are as follows:
. t y p e Type of history in this file - block,
. hlon Write superimposed biaxial control his-
tories to files.(')
peak-time, peak-~alley.(~)
.h l o f Stop .hlon.(')
.v o l t Set starting voltage.('Ie) .peek Read a value from the control shared
.mult Set history multiplier.(e) memory segment. System debugging
.mean Set history mean offset.(e) command.(')
. b a s t Set base time step (for peak-time .poke Put a value into the control shared
histories).(") memory segment. System debugging
command.(')
.espk Literally expand-spike. Indicates a
.time Load ptv time values. History debugging
list will follow containing informa-
tion concerning the portions of the command.(')
history for which the base time step . i c u r Change current " .espk" segment. His-
should be temporarily reduced (for tory debugging command.(')
peak-time histories).(e) .cmd Execute the stun commands found in
^END Indicates end of header section of filename.(')
history file - history data follows.(") . r e p Set the total repetition counters.(')
.j blk Sets current history pointers. These . n i c e Change the run time priority of stun.(')
pointers indicate the position of the test ! Shell escape and command.(')
within the history.('Ie)
. v d e l Sets voltage step size. For block
hist ories.('te)
.t d e l Sets time step size. For block
histories.('Ie)
. h o l d Sets peak hold time. For block
histories.('+)
. cyc Sets several history playback variables
(for debugging histories).(')
9
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

i
load restart file?
L

fl save restart file?

J
iJ
a 8 ~
Initialization
G58
5 0 ~
a0
load DACP microcode 0

set priority
set up shared memory
open log file
initialize d/a, ttl ilo,
and clocks
start interlock monitor
start dla's

shared memory
re1ease

Figure 2. Program flow within the ftestd program.


Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

% stun 12
s t u n a c t i v a t e d f o r c o n t r o l c h a n n e l s 1, 2 ,
s t u n : .met
f t e s t d : h i s t o r y t y e p t v s e t f o r channel 1
!
f t e s t d : h i s t o r y mu t i p l i e r s e t t o 5 . 3 5 7 ~
f t e s t d : b a s e t i m e s t e p s e t t o 2x
f t e s t d : 6 expand s p i k e e n t r i e s l o
Yed
f t e s t d : r u n f i l e f o r channel 1 h a s een r e s e t
f t e s t d : h i s t o r y t y e p t v set f o r channel 2
f
f t e s t d : h i s t o r y mu t i p l i e r s e t t o 4 . 7 2 6 ~
f t e s t d : b a s e t i m e s t e p s e t t o 2x
f t e s t d : 6 expand s p i k e e n t r i e s l o
qed
f t e s t d : r u n f i l e f o r channel 2 h a s een r e s e t
s t u n : .load
f t e s t d : c h a n n e l s 1,- 2 ,- r e s t a r t f i l e l o a d e d .
s t u n : .upad
f t e s t d : a / d s u b p r o c e s s o r running a t 1000.00Hz/channel.
s t u n : .inon
f t e s t d : 2.00Hz i n t e r l o c k m o n i t o r s a c t i v a t e d f o r channels 1, 2,
s t u n : .run
f t e s t d : c h a n n e l s 1, 2 , now running
s t u n : .bstp 300
block s t o p s e t f o r block 300 f o r channels 1, 2,
s t u n : .stat
Wed Jun 3 04:00:05 1992
d/a # 1 2
h i s t type PtV P tV
r u n / s t op run run
st a t u s run run
blk stop no no
reset no no
error no no
jb l k a 179243 98802
198887 111930
i::k:ep
o l d vo t
2098
-137
2098
-159
v delt 1 1
base t 2 2
t unit 2 2
slow? true true
ic u r 89 89
old time 1352663.50000000 1352663.50000000
s t u n : .dnad
f t e s t d : a/d subprocessing system s h u t down.
s t u n : .run
f t e s t d : c h a n n e l s 1, 2 , now r u n n i n g
s t u n : !adpvtlQ.saw p a r
a d p v t : d a t a acq. s t a r t -- f i l e biaxgsr7.300 done ...
s t u n : .upad
f t e s t d : a/d s u b p r o c e s s o r running a t 1000.00Hz/channel.
s t u n : quit
% logout
Figure 3. Ty lcal stun pro ram session for a two control channel test. User inputs are in bold face,
E' %
rep 'es from ftest are prefixed with "f t e s t d :" , and replies from stun are not prefixed. The
embedded commands processed by ".rset" represent two runfile files similar to that found
in Figure 4. The text of the session has been modified in order to clarify interaction with the
programs - typically the responses from ftestd do not arrive instantaneously and, hence, are
somewhat out of order with the command input.
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

.type ptv
* H i s t o r y t y p e must be d e f i n e d f i r s t -- h e r e peak-time-valley.
*
.mult 5.357
* A l l h i s t o r y amplitude v a l u e s (2nd column of h i s t o r y d a t a )
* w i l l be m u l t i p l i e d by t h e f o l l o w i n g f a c t o r .
*
.bast 2
* Here t h e timebase (1st column of h i s t o r y d a t a ) i s
* m u l t i p l i e d by two f o r t h e purposed of r e p l a y .
*
.espk 6
98322 98448 2
167778 167804 4
361853 362066 8
435572 435910 2
764420 764450 16
1019337 1019678 2
* The espk command i s followed by a count which i n d i c a t e s
* t h e number of espk e n t r i e s t o be found a f t e r i t . Each
* e n t r y c o n s i s t s of t h e s t a r t time, endtime, and timebase
* m u l t i p l i e r f o r t h a t p o r t i o n of t h e time h i s t o r y .
*
* A f t e r t h e ^END f o l l o w s t h e a c t u a l h i s t o r y d a t a . The
* f i r s t column i s t h e timestamp and t h e second i s t h e
* amplitude.
^END
1 0
52 6
62 6
499 -5
1127 -5
1451 28
1571 28

1043703 27
1043750 27
1044646 -16
1044693 -16
1044725 0

Figure 4. Typical layout and structure of a history runfile.


Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

Figure 5. Detail of SAE bending-torsion fixture.


Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

Figure 6. Log Skidder history.


Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018
1000 1 Test 7
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

Blocks
Figure 8. Strains measured in SAE 1045 steel after completion of each block of Log
Skidder bending-torsion history.
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

La,
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018
Downloaded from SAE International by North Carolina State Univ, Sunday, September 16, 2018

Figure 11. Single block of rosette strains taken from notch on


SAE 1045 bending-torsion specimen

You might also like