Ada Used for Vehicle Engine Test System
Form U153-0794 RICARDO.TXT
Ada Information Clearinghouse, 1-800/AdaIC-11, 703/685-1477
Security features in Ada such as packages, strong typing, reusability and generic concepts were seen as major assets for future work.
Ricardo Consulting Engineers, a 400-employee company founded 80 years ago, is a world authority in the design, development and research of internal combustion engines and systems. Its expertise covers gasoline, diesel and gaseous fueled engines for a wide range of applications from motorcycle units through automotive right up to marine propulsion units. Ricardo's services also embrace the transmission and many aspects of vehicle engineering. Its clients come from a wide range of engine, vehicle and lubricant manufacturers. Its operations now generate approximately $40 million sales annually and extend throughout the world, with offices in the UK and North America and local representatives in areas including Japan, Korea, and Eastern Europe.
With the aim of assisting the development and refinement of vehicle engines, CHASE, a high speed data acquisition system has been designed and developed entirely in-house by Ricardo. The system is used to acquire, process, display and archive high speed data from engines under test conditions.
The Ada application forms a friendly graphical user interface to CHASE. It can be configured to acquire data from virtually any engine. Up to 15 channels of data can be captured using a variable pattern of acquisition in terms of sample rate and event triggering defined by the user to suit his needs. The user can specify the processing to be applied to the channel of data and the textual and graphical displays which are shown on the screen. Functions to view the data in greater detail, to archive the data, re-display previously archived data and enter notes for future reference are also available.
The application has been developed on a PC using the Alsys development environment AdaWorld running over a network. Over the development period, a total of 5 people worked on different aspects of the software. About 45,000 lines of code have been developed, which took about 2 and a half man years of effort. Since the first issue of CHASE in 1991, it has been extensively adopted and significant effort has been invested in on-going maintenance and enhancements. All source code is stored on a network of Sun workstations under SCCS, the Unix Source Code Control System, which is used to assist in configuration management, particularly on multi-developer projects. The GSS CGI (Graphical Software Systems Common Graphical Interface) was used for the library of primitive graphics routines and an interface to these was built in Ada using the pragma interface mechanism. Initial specification development was carried out using the Yourdon SEW (Software Engineering Workbench) PC tool which supports the Yourdon development methodology adopted on this project (with real-time extensions). It is an interactive, graphical tool allowing the generation of data flow diagrams, state transition diagrams (used to represent the user interface) and a data dictionary. The development has been executed following the top-down incremental design method.
Commenting on the choice of Ada, Julie Tonkin, Project Manager, states, "Ada was chosen because a real-time, multi-tasking system was required to facilitate the speed of data acquisition and the simultaneous display and acquisition of data." Ada also allowed Ricardo to minimize the amount of assembly required to interface to the hardware. "Security features such as packages, strong typing, and the reusability aspect of the package and generic concepts were seen as major assets for future work", points out Tonkin. In addition, Ada promoted a strong top-down, incremental development approach which accorded well with the developers preferred design methodology. Tonkin concludes, "The readable nature of the language was certainly a benefit in a multi-developer situation."
After more than two years in successful operation, CHASE is now under maintenance. "We are carrying out a regular program of improvements and enhancements to the software, for example, adding new processing options to extend the users options for processing and display of data", said Julie Tonkin.
Thanks to Julie Tonkin from Ricardo for presenting her experience with Alsys Ada.
For further information, please contact:
Mr. Alan Jacobs or his assistant Partridge House Newtown Road Henley on Thames Oxon RG9 lEN England Tel: + 44 491 579 090 Fax: + 44 491 571 855
________________________________________________________________________
Produced in cooperation with Ada Information Clearinghouse, Ada Software Alliance, and ACM SIGAda. Hard copy available from the Ada Information Clearinghouse, at the address below.
________________________________________________________________________
Copyright 1994. IIT Research Institute. All rights assigned to the U.S. Government (Ada Joint Program Office). Permission to reprint this flyer, in whole or in part, is granted provided the AdaIC is acknowledged as the source. If this flyer is reprinted as a part of a published document, please send the AdaIC a courtesy copy of the publication.
Ada Information Clearinghouse (AdaIC) P.O. Box 46593 Washington, DC 20050-6593 703/685-1477, 800/AdaIC-11, FAX 703/685-7019 adainfo@ajpo.sei.cmu.edu; CompuServe 70312,3303
The AdaIC is sponsored by the Ada Joint Program Office and operated by IIT Research Institute.
The views, opinions, and findings contained in this report are those of the author(s) and should not be construed as an official Agency position, policy, or decision, unless so designated by other official documentation.