Tool chain speeds software development

Software development costs could be significantly reduced by using a new rapid prototyping tool chain from transmission control specialist Vocis.

Originally developed solely for the company's internal use and provided as a 'black-box' on prototype control applications, customers have been so impressed by the programming time saved that they have asked to buy similar systems. The tool set operates on a Vocis TMS20 prototype transmission control unit (TCU), a device sufficiently compact and robust to permit engine bay mounting, thereby closer to a production installation than many prototype systems. Vocis provides a library of low-level software to interface the TCU to customer high-level Simulink models. "Providing the low-level drivers eliminates a major element of the software cost and speeds up the transition from prototype to production code," explains Vocis managing director Mike Everitt. "Customers only need to concern themselves with developing the high-level control methods and getting the calibration right." The Vocis low-level software library consists of two parts. First is the suite of functions allowing high-level software to access TCU hardware and key microprocessor features, while the second is an operating system to schedule software to run at the correct time. Customers select either a Vocis in-house task scheduler or the RTA-OSEK operating system from ETASTM. The Vocis option provides a cost-effective approach for prototypes while RTA-OSEK offers the appropriate level of validation for production. Users have a choice of code generator between Simulink CoderTM/Embedded Coder and TargetLink. Vocis also provides a build tool to configure and control the creation of the final executable software. This tool allows easy linking of existing customer models to the low-level drivers developed by Vocis. "Using the build tool requires only a few mouse clicks from the engineer," claims Everitt. "We provide all the necessary scripts and a GUI that guides the user through the complete build process." Downloading the executable to the controller is quick and easy using any XCP-based calibration tool, talking to a boot-loader supplied pre-programmed with the TMS-20. To support data-logging and calibration of customer models, Vocis provide an XCP driver as part of their low-level software enabling an engineer to easily calibrate the model and measure data using a dedicated CAN bus. The maximum data rate is 49 bytes/millisecond. The low-level software within the tool chain includes significant intelligence based on extensive Vocis experience, such as the intricacies of clutch control, valve actuation, and various temperature compensation strategies. Customers are given the necessary calibration access to the low-level code when buying the tool set. All CAN bus communications are also via the low-level software. The TMS20 itself has a highly adaptable architecture: its lower board contains an extensive I/O set including 16 analogue inputs, 13 switch/speed inputs and 33 outputs – 18 of which are suitable for driving solenoids requiring current feedback. The upper board contains the microprocessor only, enabling the unit to be updated when more powerful silicon becomes available. The unit has an industry-standard Tyco 121-way sealed connector. The first customer application of the tool chain involved a respected European powertrain consultancy that was developing transmission control software for a dual clutch application. Having successfully trialled the system, Vocis now has a market-ready solution and is in discussions with other potential customers.