[go: up one dir, main page]

GB2478661A - A Controller Device and Method for Testing for an Automotive Test System - Google Patents

A Controller Device and Method for Testing for an Automotive Test System Download PDF

Info

Publication number
GB2478661A
GB2478661A GB1105110A GB201105110A GB2478661A GB 2478661 A GB2478661 A GB 2478661A GB 1105110 A GB1105110 A GB 1105110A GB 201105110 A GB201105110 A GB 201105110A GB 2478661 A GB2478661 A GB 2478661A
Authority
GB
United Kingdom
Prior art keywords
control bus
data
signals
messages
playback
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB1105110A
Other versions
GB201105110D0 (en
GB2478661B (en
Inventor
David Long
Gerald Jung
Gerhard Loeschner
Paul Hayford
Andrew Moulden
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Illinois Tool Works Inc
Original Assignee
Illinois Tool Works Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from GBGB0723039.4A external-priority patent/GB0723039D0/en
Application filed by Illinois Tool Works Inc filed Critical Illinois Tool Works Inc
Publication of GB201105110D0 publication Critical patent/GB201105110D0/en
Publication of GB2478661A publication Critical patent/GB2478661A/en
Application granted granted Critical
Publication of GB2478661B publication Critical patent/GB2478661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0224Process history based detection method, e.g. whereby history implies the availability of large amounts of data
    • G05B23/0227Qualitative history assessment, whereby the type of data acted upon, e.g. waveforms, images or patterns, is not relevant, e.g. rule based assessment; if-then decisions
    • G05B23/0237Qualitative history assessment, whereby the type of data acted upon, e.g. waveforms, images or patterns, is not relevant, e.g. rule based assessment; if-then decisions based on parallel systems, e.g. comparing signals produced at the same time by same type systems and detect faulty ones by noticing differences among their responses
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • B60R16/0232Circuits relating to the driving or the functioning of the vehicle for measuring vehicle parameters and indicating critical, abnormal or dangerous conditions
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24042Signature analysis, compare recorded with current data, if error then alarm
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2637Vehicle, car, auto, wheelchair

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A controller device/method for testing for an automotive test system, comprises means for continually monitoring a control bus such as a CAN bus for new control messages; means for reading and filtering the new messages based on a predefined specification; means for storing said filtered messages; means for processing the stored messages. Preferably, the CAN bus is continually monitored for CAN messages which are buffered internally. The monitoring rate can be set as a fraction of the master sampling rate. When a CAN message is received by the interface hardware, an interrupt is generated 300 and the message read and filtered 310. If the message is included in a predefined specification then it is stored in local buffers, one for each CAN message ID, otherwise it is discarded. Preferably the CAN signals are split out and converted 330 into normalised signals by masking, bit shifting and scaling based on this data obtained from the user's CAN database to produce normalised signals. Preferably a trigger signal or event is incorporated.

Description

SYSTEMg CONTROLLER AND METHOD FOR SYNCHRONIZED
CAPTURE AND SYNCHRONIZED PLAYBACK OF DATA
J1ELD OF INVENTION The present invention provides apparatus and methods for use in the synchronized capture and synchronized playback of data, such as for synchronizing CAN messages or FlexRay messages with other data within a testing environment.
BAcKGRoUND
A growing number of electronic systems are being built into vehicles to provide advanced features such as electrically assisted steering, ABS and active suspension components. These systems communicate over serial buses, such as a Controller Area Network (CAN) bus and, more recently, a FlexRay system bus.
Automotive manufacturers perform durability testing of vehicles and vehicle components (test specimens) in the laboratory by replaying data, measured during track test drives with specially instrumented vehicles, using hydraulic actuators to apply the equivalent loads and accelerations to the test specimens under the control of sophisticated software and hardware.
In the past, this testing has been limited to the analogue signals that are generated by monitoring vehicle behaviour and conditions that affect that behaviour, such as loads and accelerations at various points on the vehicle. This has been adequate for conventional test specimens without active components. however, the behaviour of modem vehicles is also dependent on the control data on the serial buses. For example, during a test drive, an in-car computer may determine the need to give feedback to a driver that the vehicle is close to its traction limit, or sensors within the vehicle may determine the need to stiffen a particular strut. Control signals are sent via the CAN bus to dynamically control the relevant vehicle components.
The inventors of the present invention have determined that known systems are unable to provide effective testing for vehicles that include active controls, since they fail to take full account of the control signals and their interaction with other components within the vehicle.
SUMMARY
The inventors of the present invention have determined that effective testing of vehicles and of automotive components within a laboratory test environment requires replay to a test specimen of active control signals that were generated within a vehicle during use. For example, a vehicle may have active ride control which adjusts suspension settings during use of the vehicle. In particular, the inventors have determined that these active control signals must be replayed synchronously with the replay of data that represents the conditions (loads, acceleration and other events) that were experienced by vehicle components during use of the vehicle.
The inventors have determined that the active control signals that are associated with conditions experienced during a vehicle test drive are an important part of the context in which the behaviour and performance of automotive components should be tested.
Such control signals and other data are output by sensors and control systems within a vehicle during field tests, and so the control signals can be sampled and timestamped and saved in association with data representing the respective conditions experienced during such field tests. The present invention enables those control signals to be replayed within a test environment synchronously with the associated monitored conditions data. This can achieve an improved correlation between conditions experienced during field trials and conditions reproduced in the laboratory, leading to more effective laboratory testing.
A first aspect of the present invention provides a method of testing specimen vehicle components, comprising the steps of: storing first data representative of conditions experienced by a vehicle, and/or representative of the action of components of the vehicle, during a test drive of the vehicle; storing second data representative of control signals on a data bus of the vehicle during the test drive; replaying the first data and applying the first data to equipment to simulate a test drive for a vehicle under test; replaying the second data and applying the second data to the data bus of the vehicle under test; and synchronizing the replaying of the &st and second data.
One embodiment of the invention provides a method for testing specimen automotive components, comprising the steps of: receiving, as inputs to a test system, a first set of data inputs representing vehicle control bus signals that were recorded during a vehicle test drive and a second set of data inputs representing conditions experienced by the vehicle during the vehicle test drive; and replaying, to a test specimen apparatus, the data representing monitored vehicle control bus signals synchronously with the data representing respective associated conditions.
In one embodiment of the invention, the test system comprises an apparatus for simulating use conditions when performing test operations on a specimen apparatus.
The test specimen apparatus may comprise, for example, a vehicle within a test system that comprises a comprehensive vehicle testing rig that provides means for monitoring vertical, longitudinal and lateral loads and for monitoring braking, steering and camber movements. Equally, the test specimen apparatus may comprise a vehicle within a road simulation system for testing durability, noise and vibrations; or the test specimen apparatus may comprise a vehicle subsystem and the test system may be a track and wheelbase testing system. Various examples of testing systems are known and available from Instron Structural Testing Systems GmbH and others. Typical known systems have not provided full integration of sensor data and control signals and,in particular, have not provided synchronised replay of analog test data and digital control signal data within a laboratory test environment.
In an embodiment of the invention, conditions and events are monitored by capturing and storing analogue signals that are provided by sensors within a vehicle during a test drive. The analogue signals are input to a computer system within the vehicle and are stored for subsequent use. Meanwhile, monitoring of the active control signals may be implemented by sampling digital signals on a control signal bus, such as a serial CAN bus or a FlexRay system bus, within the vehicle. Sensors and control devices within a vehicle may transmit CAN messages via the CAN bus to control actuators that are each capable of performing a set of actions on particular vehicle components, and these CAN messages are a significant part of the context within which the vehicle's behaviour and performance should be interpreted. Automotive testing according to the present invention takes account of both the monitored data representing experienced conditions and associated control signals. The two sets of associated data are replayed to a test system and applied to a test specimen in a synchronous manner to enable the test specimen to experience the same set of conditions and control signals and in the same time sequence as a test-driven vehicle.
A second aspect of the invention provides a controller device for a test system in which it is desired to test the combined effects on a test specimen apparatus of certain conditions and associated control bus signals. The controller device comprises at least one buffer into which previously-captured control bus signals can be loaded. The controller device is responsive to a trigger signal to initiate playback onto a control bus within the test system of previously-captured control bus signals. This playback to the test system control bus is synchronized with playback of data representing other conditions that were previously recorded synchronously with the control bus signals.
A high speed link enables a set of controller clocks to be synchronized between, for example, a digital microcontroller that initiates digital control signal playback and a separate controller that initiates playback of the data representing experienced conditions.
In one embodiment, the controller device comprises a high performance microcontroller comprising a set of buffers and a built-in CAN interface, a field programmable gate array (FPGA) with a high speed (e.g. tibreoptic) link to a first data processing system storing data representing monitored conditions such as loads and displacement, and a connection (e.g. an Ethernet connection) for receiving control data from an application program running on a second data processing system. The microcontroller's CAN interface comprises means for scaling and time shifting control data and building CAN messages that contain the control data within the message payload. Playback of the control data is then deferred until a trigger event occurs, enabling the playback of control data via a CAN bus to be synchronized with playback of associated data representing monitored conditions. The high speed link is used both to synchronize clocks between the microcontroller and the first data processing system, and to enable precisely timed playback of the data representing monitored conditions.
A third aspect of the invention provides a test system comprising: a test rig comprising means for supporting a test specimen apparatus and a set of actuators for applying a set of physical conditions (loads, acceleration and other events) to the test specimen apparatus; means for replaying data representing previously monitored conditions to the set of actuators to reproduce the previously monitored conditions; and a controller device comprising: at least one buffer memory into which data representing previously-monitored control bus signals can be loaded; means, responsive to a trigger signal, to initiate playback onto a control bus within the test system of the previously-monitored control bus signals; and means for synchronizing the playback of control bus signals with playback of other data representing monitored conditions that was previously captured synchronously with the control bus signals.
BRIEF DESCRIPTION OF DRAWINGS
Embodiments of the invention are described below in more detail, by way of example, with reference to the accompanying drawings in which: Figure 1 is a schematic representation of an automotive testing environment showing the components involved in the creation of CAN messages and synchronous playback of digital data and analogue data, according to an embodiment of the invention; Figure 2 is a schematic representation of the automotive testing environment of Figure 1, showing components involved in synchronous data acquisition, according to an embodiment of the invention; Figure 3 is a schematic representation of a synchronised replay system according to an embodiment of the invention; Figure 4 represents a CAN synebronised replay engine according to an embodiment of the invention; Figure 5 is a schematic representation of a synchronised acquisition system according to an embodiment of the invention; and Figure 6 represents operations performed within a CAN synchronised acquisition engine according to an embodiment of the invention.
DESCRIPTION OF EMBODIMENTS
Known automotive testing methods use a test vehicle that is instrumented with various data capture devices such as load and acceleration sensors. These sensors are connected to a computer within the test vehicle to capture data representing the loads and displacements and other conditions experienced during test drives. This captured data can then be loaded onto a computer system, the data typically being stored within the vehicle's on-board computer system storage and subsequently transferred to a test environment control system for playback.
A suitable control system is the Labtronic 8800 multi-axis digital controller from Instron Structural Testing Systems GmbH that can control a large number of separate actuators. This control system 10 is an integral part of an automotive test system as shown in Figure 1, and is adapted to play back to the test system in the laboratory the data representing loads and displacements that was previously captured within a test vehicle during an earlier test drive. The replayed data controls a set of actuators within a test rig 20, to reproduce within the test system the loads, displacements and other conditions that were monitored during the test drive. By reproducing, within a -laboratory setting, actual monitored conditions, better testing of a test specimen vehicle or vehicle subsystem is achieved.
The Labtronie 8800 controller is connected to a personal computer 30 running software for controlling a testing environment, such as the RS LabsiteTM software from Instron. These components cooperate to provide a system having the features required for laboratory testing using analogue signals that represent monitored loads and displacement.
However, known automotive test systems have not previously provided optimal integration of control data that is generated dynamically by active control components, including an in-vehicle computer system, in response to sensors and monitored components within the vehicle. Such control data is often implemented as Controller Area Network (CAN) messages that are transmitted between sensors, actuators and control devices within a vehicle via a CAN bus. Disregarding the control signals that are generated by these active components would result in an inability to accurately reproduce the situation experienced by a modern test-driven vehicle, such that the test results would be invalid and may result in damage to the test vehicle that is not representative of the real effects of the conditions experienced during the test drive.
A Controller Area Network (CAN) is a serial bus standard that was originally developed in the 1 980s for connecting automotive electronic components, and has been used for connecting devices such as sensors, actuators and controllers within vehicles and other automated systems. A CAN bus may connect an engine control unit with a vehicl&s transmission, or may connect an air conditioning system with a thermometer and humidity monitor. The various different components (the nodes' of the CAN) send and receive CAN messages via the serial bus. Each node such as a sensor, actuator or control device requires a host processor for interpreting received messages, and a CAN controller comprising a hardware controller with a synchronous clock. The CAN controller stores received bits from the bus until an entire message is available for the host processor to process (e.g. after the CAN controller has triggered an interrupt), and the host processor stores its transmit messages into a CAN controller for transmitting serially onto the bus.
To provide improved testing of vehicles, and other components and systems, the present invention provides a solution for synchronous playback of control signals and the associated data representing conditions and events experienced by a test driven vehicle, to ensure that a test specimen apparatus within the laboratory receives synchronised inputs that are an accurate representation of the data captured during a
test drive or other field trials.
The solution according to an embodiment of the present invention includes a new component, referred to herein as the CANStaq product, that allows CAN signals to be treated in the same way as analogue signals. The CANStaq controller 40 is a high performance microcontroller with built in CAN interfaces, a field-programmable gate array (FPGA) with a high speed fibre optic link to a conventional digital controller 10 (such as the Labtronic 8800 controller), and an Ethernet connection to the personal computer 30 that is running the RS Labsite application software. The major components of the CANStaq controller 40 and other elements of a test system according to an embodiment of the invention are shown in Figures 1 and 2. More detail of the replay system is shown in Figure 3, with details of the CANStaq controller in Figure 4. CAN synchronized acquisition is shown in Figures 5 and 6.
CAN signals that are generated by active components within a vehicle during a test drive can be replayed to components within a test specimen apparatus synchronously with existing analogue signals. Without this synchronization, small differences in electronic component tolerances will cause the sampled control signals and the analogue signals to drift out of phase when the two sets of data are replayed. For example, using the synchronization method described herein, suspension stiffness can be set over the CAN bus al the same time as the load is applied to the suspension.
Without this synchronisation, loads may be applied at the incorrect stiffness, which will result in incorrect test results and possible specimen damage.
The replay system parameters, such as test limit values and actions, and control loop gains, are defined using a command interface accessible over an Ethernet link, and the parameters are stored on the test control computer 30. This replay system with its high speed link allows large quantities of replay data to be periodically transferred to the CANStaq controller.
When a replay session is required the system is prepared, defining bow the playback data should be converted into CAN messages by combining dynamic signals from the playback buffer with static signals defined in the default CAN message buffer. These settings can be made using the command interface. * 9
Playback data is preloaded into buffers 50 on the CANStaq microcontroller 40 via the Ethernet connection. The playback signal buffers each contain one or more playback tracks that are sent 200 to the CANStaq controller over the Ethernet interface in normalised form. At this stage, the tracks are unallocated to particular CAN messages.
The CANStaq microcontroller then waits on a trigger 210 before starting to send data onto the CAN bus 60. The Message builder 70 is responsible for taking the normalised signals, scaling and packing 220 the scaled signals into the CAN message bit locations as specified by rules defined by the CANStaq user. In this embodiment, a user-specific CAN database is used to specify how the playback signals are converted 230 into a sequence of one or more CAN messages. The message builder is preconfigured with the information required to format the CAN message 80 using the Ethernet interface which is used to specify the message ID, start bit, the bit length and the scaling factor for each signal. These playback signals are dynamic as they change at every sample tick. The message builder also allows static signals 90 to be added to the CAN messages which are fixed bit patterns which do not change on the sample tick. These static values are specified using the Ethernet interface.
It is necessary, for synchronous playback of CAN signals with Labtronic 8800 analogue signals to send synchronisation information 100 to each CAN playback device allowing data to be played at the same instant in time from each device. The CAN playback devices are connected to the Labtronic 8800 controller by a fibre optic communication ring. Each node in the ring has an independent clock oscillator and therefore the nodes may drifi out of synchronization over time. To avoid this drift, the high speed serial data is tagged with a flag to indicate when an 8800 sample occurs.
This information is recovered at each node using a phased locked loop and delay compensation to provide a simultaneous sample tick on each device. The sample clock 240 is a system wide hardware signal communicated in the same mariner as the trigger signal that accurately marks time at a fixed frequency, typically generated at a frequancy of 5kHz. The CAN playback system can be set to operate at any rate lower than this value. The sample tick refers to the sub-sampled value.
Once the CAN messages 110 have been specified, the system is prepared to start pending a trigger signal. This makes sure that all set up is completed before replay commences. The trigger signal is sent via a hardware link between the different hardware subsystems, implemented with wired connections, fibre optic link or another similar communication mechanism. This link is preferably a fibreoptic ring. The Labtronjc 8800 controller 10 is a master sub system that initiates the trigger in response to a command from the application computer 30, which is then broadcast to the other subsystems simultaneously using the hardware link.
When the trigger is received, each of the subsystems (the CANStaq controller with its replay buffer and replay engine, and another controller for playback of the data representing experienced conditions) start replaying data at each sample clock tick.
When the sample clock tick occurs, the Message builder 70 takes the next value from each playback buffer in turn and, using the preconfigured information, scales and shifts the signal into its correct location and size in the CAN message. In the present embodiment, a vector of data is taken from the playback buffer, filtered and re-sampled 220 from the playback buffer rate to the sample clock rate. Each vector contains several normalised CAN signals. Each CAN signal can be issued onto the CAN bus at a pre-specified rate. If it is time to transmit, then each signal is multiplied and bit shifted into its correct location in the CAN message payload (defined by the user's CAN database). The combined signals form a CAN message 80. Any messages that are not fully specified with dynamic signals from the replay buffers are completed with data from the default message buffer 90. The default message buffer can be changed at any time allowing signals to changed independently from the replay buffer.
Completed messages 110 are passed to the CAN scheduler 120 which buffers them 270 in priority order based on the CAN message ID. Messages are issued to the CAN interface under the control of the CAN transmit complete interrupt until the buffer is empty.
As noted above, parts of the message can be defined as dynamic signals that will change for every sample clock tick, and other parts of the message can be defined as static and will be the same from sample to sample. The static parts can be defmed asynchronously from the command interface, for example, ignition on' is a static signal which changes infrequently. A user specified algorithm 130 can be optionally applied 260 to each CAN message at this point, e.g. to add additional security information to the message, such as data integrity checks. This can be done on a message-by-message basis. The message is then added to a queue 1.40 for issuing onto the CAN bus hardware, The message builder 70 then processes the next CAN message ID. The Message builder processes each CAN message ID in priority order.
It is possible for a CAN message be completely specified from static values which will cause the same value to be issued every sample tick (This is often required by CAN devices to show the bus is still working correctly). A user specified algorithm can be applied to such a message.
CAN message transmission 280 starts on reception of the sample tick (subject to processing delays) with the highest priority CAN message first. This message will be issued onto the CAN bus by the dedicated CAN controller hardware. Further CAN messages will be built and queued awaiting completion of the first message send (indicated by a processor interrupt). The next highest priority message will then be issued onto the CAN bus. This is repeated until all messages have been sent. This sequence is repeated on every clock tick.
The CANStaq microcontroller 40 thus makes use of a fibre-optic link for multiple purposes. Firstly, it continually resynchronizes the CANSIaq microcontroller clocks to the Labtronic 8800 controller clocks. This synchronisation mitigates the aforementioned problem that small differences in electronic component tolerances would otherwise cause the CANStaq microcontroller playback data to slowly drift out of phase with the rest of the system. Secondly, it provides a method of starting playback at precisely the same time as the Labtronic 8800 controller starts its playback. The CANStaq is also able to stop playback synchronously with the Labtronic 8800 controller. For the CAN signals, the user can configure which signal should be faded and which should not, during the start and stop phases.
The CANStaq microcontroller also has the capability to acquire data from the CAN bus synchronously with data acquisition by the Labtronic 8800 controller. CAN signals for acquisition are set up in a similar fashion to the replay described above, as shown inFigures 2,5 and. 6.
The CAN bus is continually monitored for CAN messages which are buffered internally. The monitoring rate can be set as a fraction of the master sampling rate.
When a CAN message is received by the interface hardware an interrupt is generated 300 and the message read and filtered 310. If the message is included in the predefined specification then it is stored in local buffers, one for each CAN message ID, otherwise it is discarded.
At the sample rate, i.e. when the sample clock tick occurs, each message in the specification list is checked to see whether a new message has been received since the last clock tick. If it has, the message specification is used by a message splitter 160 of the CANStaq 40 to split 320 the messages into their component signals based on the predefined message specification obtained from the users CAN database. This is the opposite direction but similar to the operation of the message builder. The CAN signals are split out and converted 330 into normalised signals by masking, bit shifting and scaling based on this data obtained from the user's CAN database to produce normalised signals.
The normalised signals are then copied 340 into the acciuisition buffer ready for transfer 350 to the computer running the RS Labsite software application, over the Ethernet connection. This transfer is performed when a set number of vectors have been collected. Only the most recent message having any particular message ID is buffered, such that if more than one message with the same ID is received before the next sample period, only the most recent of those received messages will be stored.
The normalised signals are then accessible to other system components such as data loggers 360 and other components that allow actions to be performed in response to received CAN messages, for example issuing a CAN message in reply.
A feature is also provided to allow the application computer to be informed when certain CAN signals have been received. CAN messages can be preformed on the application computer and sent to the system for scheduling onto the CAN bus directly.
This provides a handshaking mechanism to allow the user to perform complex programmable logic control (PLC) applications. Although it is known for test rigs that are used for automobile testing to implement a PLC startup sequence, it has previously been difficult to fully set up a test vehicle's on board computer within a laboratory environment By communicating data such as control signals over a CAN bus, it is now possible to simulate operations such as an ignition key startup sequence, or to simulate a user switching to "sport mode", for a test specimen vehicle while positioned on a test rig within a laboratory. By communicating state information onto a CAN bus during initialisation and playback modes of operation, conthtions and events that were experienced during actual field trials such as test drives can be reproduced conveniently and accurately, and control signals generated within a test-driven vehicle can be played back to a test specimen vehicle within a laboratory setting synchronously with the data representing conditions and events such as loads and displacements experienced during a test drive.
The CANStaq microconiroller also has the capability of triggering events, such as a dynamic ramp down on the Labtronic 8800 controller, in response to specific CAN signal conditions. For example, this can be used to return the system to a park position if CAN signals exceed specified bounds.

Claims (29)

  1. CLAIMS1. A method of testing specimen vehicle components, comprising the steps of: storing first data representative of conditions experienced by a vehicle, andlor representative of the action of components of a vehicle during a test drive of the vehicle; storing second data representative of control signals on a data bus of the vehicle during the test drive; replaying the first data and applying the first data to equipment to simulate a test drive for a vehicle under test; replaying the second data and applying the second data to the data bus of the vehicle under test; and synchronizing the replaying of the first and second data.
  2. 2. The method of claim 1, further comprising: buffering data representing monitored control signals that are associated with respective monitored conditions or component actions; generating data bus signals from the buffered data, and saving the generated data bus signals to await a trigger signal; in response to a trigger signal, associated with playback to the test system of data representing monitored conditions or component actions, initiating playback to the test system of said generated data bus signals synchronously with the playback of data representing associated conditions or component actions.
  3. 3. The method of claim 2, wherein the trigger signal comprises an interrupt signal that is sent via a high speed communication mechanism from a test-controlling application program to a controller that implements replay of generated data bus signals, the interrupt signal being sent simultaneously via a high speed communication mechanism to a data processing system holding the data representing conditions or component actions, to trigger synchronous replay of said data representing respective associated conditions or component actions.
  4. 4. The method of claim 3, wherein the high speed communication mechanisms comprise fibreoptic links. * 15
  5. 5. The method of claim 3 or claim 4, further comprising repeatedly resynchronising clocks within the controller and within the data processing system holding data representing conditions or component actions.
  6. 6. The method of any one of claims I to 5, wherein the replaying of data representing monitored data bus signals comprises transmitting CAN messages onto a CAN bus within a specimen automotive apparatus.
  7. 7. The method of any one of claims 2 to 6, wherein the step of generating data bus signals comprises combining into a single CAN message the input data representing monitored data bus signals that are sampled in the same clock cycle.
  8. 8. The method of claim 7, wherein the step of saving the generated data bus signals further comprises scheduling and prioritisation of CAN messages.
  9. 9. A controller device for an automotive test system, comprising: at least one buffer memory into which data representing previously-monitored data bus control signals can be loaded; means, responsive to a trigger signal, to initiate playback onto a data bus within the test system of the previously-monitored data bus control signals; and means for synchronizing the playback of data bus control signals with playback of other data that was previously monitored synchronously with the data bus signals.
  10. 10. An automotive test system comprising: a test rig comprising means for supporting a test specimen apparatus and a set of actuators for applying a set of physical conditions to the test specimen apparatus; means for replaying data representing previously monitored physical conditions to the set of actuators, to cause the actuators to reproduce the previously monitored conditions; and a controller device comprising: at least one buffer memory into which data representing previously-monitored control bus signals can be loaded; means, responsive to a trigger signal, to initiate playback onto a control bus within the test system of the previously-monitored control bus signals; and means for synchronizing the playback of control bus signals with playback of other data that was previously captured synchronously with the data bus signals. * 17Amended claims have been filed as follows:-/CLAIMS1. A controller device for an automotive test system, characterized by: means for continually monitoring a control bus for new control bus messages; means for reading and filtering the new control bus messages, including discarding control bus messages that are excluded from a predefmed specification; means for storing control bus messages that are included in the predefinedspecification; andmeans for processing the stored control bus messages.2. A controller device according to claim 1, further comprising means for converting received control bus messages into a set of normalized component signals based on thepredefined specification.3. A controller device according to claim 2, wherein the converting comprises masking, bit shifting and scaling.4. A controller device according to any preceding claim, further comprising means for indicating when certain types of control bus message have been received.5. A controller device according to any preceding claim, further comprising means for triggering events in response to predefmed control bus signal conditions.6. A controller device according to any preceding claim, comprising a CAN bus controller for monitoring messages on a CAN bus.7. A method for testing one or more specimen automotive components, comprising monitoring a control bus for new control bus messages; * 18 reading and filtering the new control bus messages, including discarding control bus messages that are excluded from a predefined specification; storing control bus messages that are included in the predefmed specification; and processing the stored control bus messages.8. A method according to claim 7, further comprising converting received control bus messages into a set of normalized component signals based on the predefined specification.9. A method according to claim 8, wherein the converting comprises masking, bit shifting and scaling.10. A method according to any one of claims 7 to 9, further comprising triggering events in response to an identification of predefined control bus signal conditions.
  11. 11. A method according to any one of claims 7 to 10, wherein the control bus messages included in the predefined specification include control signals for adjusting parameter settings for the test specimen automotive component.
  12. 12. A method according to any one of claims 7 to 11, wherein the control bus messages included in the predefined specification include control signals for switching of automotive components between different modes of operation.
  13. 13. A method for testing specimen automotive components, comprising the steps of: receiving, as inputs to a test system, a first set of data inputs representing control bus signals and a second set of data inputs representing conditions experienced by automotive components during use; and initiating playback of the control bus signals to a test specimen automotive component, synchronously with playback to the test specimen automotive component of the second set of data inputs representing experienced conditions.
  14. 14. A method according to claim 13, wherein the control bus signals played back to the test specimen automotive component include control signals for adjusting parameter settings for the test specimen automotive component.
  15. 15. A method according to claim 14, for testing a suspension control system, wherein the control bus signals played back to the test specimen automotive component include suspension control signals for adjusting suspension settings.
  16. 16. A method according to claim 13, for testing a steering control system, wherein the control bus signals played back to the test specimen automotive component include steering control signals for adjusting power-assisted steering parameters.
  17. 17. A method according to claim 13, for testing a braking control system, wherein the control bus signals played back to the test specimen automotive component include braking control signals.
  18. 18. A method according to any one of claims 12 to 17, for testing switching of automotive components between different modes of operation, by playing back mode switch control bus signals to the test specimen automotive component.
  19. 19. A method according to claim 18, wherein the mode switch is a switch to a sport mode.
  20. 20. A method according to any one of claims 13 to 19, comprising: generating control bus messages from said data representing control bus signals; saving said control bus messages; and in response to occurrence of a trigger event associated with the initiation of playback of data representing experienced conditions, synchronously initiating playback of one or more associated control bus messages.
  21. 21. A method according to claim 20, further comprising completing control bus messages with data from a default message buffer, if not fuiiy specified with dynamic data representing control bus signals from the buffer storage.
  22. 22. A method according to claim 20 or claim 21, wherein said generating step comprises converting control bus messages into a set of normalized component signals based on apredefined specification.
  23. 23. A method according to any one of claims 13 to 22, wherein the synchronous playback comprises synchronizing controller clocks for each of a first and a second controller, wherein the first controller initiates playback of control bus messages based on said input control bus signals, and the second controller initiates playback of the data representing experienced conditions.
  24. 24. A method according to any one of claims 13 to 23, further comprising: monitoring a control bus for new control bus messages; reading and filtering the new control bus messages, including discarding control bus messages that are excluded from a predefmed specification; storing control bus messages that are included in the predefmed specification; and processing the stored control bus messages.
  25. 25. A controller device for an automotive test system, characterized by: at least one memory buffer for storing data representing control bus signals; a message builder for generating control bus messages from said buffered data; means for synchronously initiating playback of generated control bus messages onto an automotive test specimen control bus, in response to occurrence of a trigger event associated with the initiation of playback of data representing conditions experienced by the automotive test specimen.
  26. 26. A controller device according to claim 25, further comprising: means for monitoring a control bus for new control bus messages; means for reading and filtering the new control bus messages, including discarding control bus messages that are excluded from a predefined specification; means for storing control bus messages that are included in the predefinedspecification; andmeans for processing the stored control bus messages.
  27. 27. A controller device according to claim 25 or claim 26, wherein the control bus is a Controller Area Network (CAN) bus and the control bus messages comprise CAN messages.
  28. 28. A controller device according to any one of claims 25 to 27, comprising a microcontroller with a CAN interface for receiving data, and a field-programmable gate array (FPGA) having a link to a second controller for controlling playback of data representing conditions to be experienced by an automotive component during use.
  29. 29. An automotive test system comprising: a test rig comprising means for supporting a test specimen apparatus, and a set of actuators for applying physical conditions to the test specimen apparatus; means for playback to the set of actuators of data representing physical conditions that may be experienced by the test specimen apparatus; a controller device comprising: at least one buffer memory into which data representing control bus signals can be loaded; means, responsive to a trigger signal, to initiate playback onto a control bus within the test system of the control bus signals; and means for synchronizing the playback onto the control bus of control bus signals with playback to the actuators of the data representing physical conditions; and a command interface for setting playback parameters, wherein the command interface provides control over the combining of dynamic signals from playback buffers with static signals from a default message buffer to generate control bus messages.
GB1105110.9A 2007-11-23 2008-11-21 System, controller and method for sycronized capture and syncronized playback of data Active GB2478661B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
GBGB0723039.4A GB0723039D0 (en) 2007-11-23 2007-11-23 System,controller and method for synchronized capture and synchronized playback of data
GB1008044A GB2466761B (en) 2007-11-23 2008-11-21 System, controller and method for synchronized capture and synchronized play back of data

Publications (3)

Publication Number Publication Date
GB201105110D0 GB201105110D0 (en) 2011-05-11
GB2478661A true GB2478661A (en) 2011-09-14
GB2478661B GB2478661B (en) 2012-04-04

Family

ID=44474944

Family Applications (1)

Application Number Title Priority Date Filing Date
GB1105110.9A Active GB2478661B (en) 2007-11-23 2008-11-21 System, controller and method for sycronized capture and syncronized playback of data

Country Status (1)

Country Link
GB (1) GB2478661B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596492A (en) * 2020-11-30 2021-04-02 北京东土军悦科技有限公司 CAN frame transmission method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999021120A1 (en) * 1997-10-17 1999-04-29 Intermec Ip Corp An electronic tag including rf modem for monitoring motor vehicle performance with filtering
US20040044797A1 (en) * 2000-12-26 2004-03-04 Paul Kinowski Device and method for filtering messages in a series-type communication system
US7269482B1 (en) * 2001-04-20 2007-09-11 Vetronix Corporation In-vehicle information system and software framework

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999021120A1 (en) * 1997-10-17 1999-04-29 Intermec Ip Corp An electronic tag including rf modem for monitoring motor vehicle performance with filtering
US20040044797A1 (en) * 2000-12-26 2004-03-04 Paul Kinowski Device and method for filtering messages in a series-type communication system
US7269482B1 (en) * 2001-04-20 2007-09-11 Vetronix Corporation In-vehicle information system and software framework

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596492A (en) * 2020-11-30 2021-04-02 北京东土军悦科技有限公司 CAN frame transmission method, device, equipment and medium

Also Published As

Publication number Publication date
GB201105110D0 (en) 2011-05-11
GB2478661B (en) 2012-04-04

Similar Documents

Publication Publication Date Title
EP2206027B1 (en) System, controller and method for synchronized capture and synchronized playback of data
JP2011504630A5 (en)
JP4935369B2 (en) Servo system
CN103970031B (en) A kind of satellite simulator Integrated simulation system and emulation mode
US11010510B2 (en) Soft-real-time hub providing data transport for processor-in-the-loop (PIL) simulations
CN112947384B (en) Multifunctional satellite simulation test system
CN113885351A (en) A kind of simulation test equipment and method for satellite simulation test
JP3963092B2 (en) Vehicle system test apparatus and method
JP2017134769A (en) Signal processing apparatus, signal processing method, information processing program, and recording medium
CN111103810B (en) Simulation test method of spacecraft GNC system based on prototype digital twin architecture
CN113434427A (en) Method and device for realizing test verification, computer storage medium and terminal
JP2006329788A (en) In-vehicle electrical component test system and test method
CN114816653A (en) Electronic control unit timing simulation
GB2478661A (en) A Controller Device and Method for Testing for an Automotive Test System
JP3795016B2 (en) System, method and bus controller for creating event triggers on a network bus
JP4400209B2 (en) In-vehicle electrical component test system and test method
JP2006329787A (en) In-vehicle electrical component test system and test method
CN112947383A (en) Satellite simulation test system for data stream multi-directional transmission
CN121433192A (en) Intelligent cabin testing method, device and system for collaborative automatic driving and storage medium
CN117112392A (en) Closed loop simulation test system and method
Ursu et al. Simulink® modeling for vehicle simulator design
CN111142409A (en) Vehicle-mounted positioning semi-physical simulation method and system based on actually measured data playback
JPS63217483A (en) data measurement device