Florent DUVINAGE, Project Manager, Nerys
The objective
Refurbish four alternator and starter-alternator test benches with a uniform solution for configuring tests, running automatic procedures, acquiring analogue data and digital communication buses synchronously, and post-processing the recorded data.
The solution
Use two PCs and two PXI chassis combined with the SCXI signal conditioning system, implementing the standard VASCO software suite and developing specific interfaces and features.
The four test benches had to be harmonised in terms of software and integrate digital communications.
Valeo's electrical and thermal laboratory has test benches for testing alternators and starter-alternators. As the control software of these benches was all different and did not integrate digital channels, another PC was needed, and correlating the data was very time-consuming. Valeo therefore called on the engineering services of Nerys to harmonise the software used on the four benches into a single one, to have synchronised acquisition of all data, and to be able to interchange the automatic procedures (scenarios) between benches.
Nearly 200 analogue and digital inputs/outputs
On the acquisition side, the refurbished benches integrate 1 to 3 SCXI chassis including up to 40 voltage inputs (at 1 kHz or 10 kHz), 40 type K thermocouple inputs (at 10 Hz or 1 kHz), 10 digital inputs and 3 frequency inputs. On the generation side, the refurbished benches include up to 12 analogue outputs, 7 digital outputs (RS-232 serial communication), 30 digital I/O outputs, 20 calculated channels and 35 operator channels.
The channels controlled via an RS-232 digital output are the climatic chamber, the motor's variable speed drive and the power analyser.
In addition, each bench is equipped to acquire and generate PWM signals, the two variable parameters being the duty cycle and the frequency.
For one of the four test benches, the two old cabinets had to be replaced. A new control cabinet was therefore designed, installed and commissioned by Nerys. For the other three benches, the cabinets housing the National Instruments hardware were kept as they were. Only new PXI controllers and PCs were installed, and the hardware required for digital communications was added.

Bidirectional CAN, LIN and BSD2 communication
Several bidirectional digital communications were implemented. First with the device under test, which can communicate using the CAN (250 kHz to 1 MHz), LIN (9,600 to 19,200 bit/s) or BSD2 (1,200 to 4,800 bit/s) protocol. CAN and LIN communications are based on National Instruments hardware and, on the software side, rely on the DBC file containing the settings of the frames sent and received on the digital bus and their number (depending on the device under test, but up to 140 channels). For systems communicating in BSD2 (31 inputs and 16 outputs), a third-party box is used and a specific application, developed by Valeo with the LabWindows/CVI C programming environment, was adapted by Nerys to communicate with the VASCO-Tests module through DLLs.
The PC, or the PXI, is always the master and the device under test the slave. An interconnection box allows another PC, on which the Vector software suite is installed and which can be configured as a spy, to be connected.
A common software suite
The VASCO software suite, developed entirely by Nerys in LabVIEW, is implemented on the four test benches, which makes it possible to use strictly identical standard functions. The differences between the applications of each bench lie in the configuration of the channels linked to the acquisition and generation hardware and in the interface specific to each bench. However, the channel names are identical from one bench to another, which allows scenarios to be interchanged between benches.
On the test configuration side, the project required the integration of digital channels configured in DBC files. This was done in LabVIEW and is used by the VASCO Configuration module through a DLL.
On the Tests side, the analogue and digital acquisition and generation tasks are synchronised. The specific developments concern the interfaces (one per bench) as well as the drivers for controlling the elements of each bench and the digital communications. A test can be run by entering setpoints manually or, conversely, by running a scenario that chains elementary instructions. Scenarios therefore automate tests and represent a significant time saving (not counting tests run overnight). Some tests call on some twenty sub-scenarios of 50 to 500 lines each. A dedicated program in the VASCO software suite checks the integrity and consistency of the content of each scenario.
Several control loops in parallel
During a test, in order to highlight the parameters of the device under test, it is generally necessary to regulate the power supply and the electrical load in voltage and current. Current control is achieved using PID loops running in parallel.
As the motor is connected to the device under test by a belt, slip is generated. It is compensated by a specific control loop.
On the two starter-alternator benches, an oscillatory phenomenon appears under certain conditions. To compensate for it, Nerys designed and developed a specific box including, among other things, a microcontroller board (programmed in a C-type language) providing a response time of less than 10 ms.
Data recording and post-processing
Data is recorded in different formats: raw data, data averaged over 100 ms (optionally with ante-mortem data) and operating points, which record an averaged value at the moment recording is triggered.
When the test recordings are complete, a specific function converts the TDMS measurement files into one or more Excel files.
The Vasco Analysis module is then used to analyse the test data, save it in Excel format and also as images to feed the final test report.
A customised application meeting the needs
The four test benches have now been delivered and are in normal use. Regular exchanges with the Valeo team and consideration of their remarks allowed us to customise the control of the equipment and the application so that it meets their expectations.
Download the project sheet on the NERYS website (in French)


