|
Figs. 1. and 2. The new Tektronix TDSVNM timing, protocol and analysis software used in conjunction with an external trigger module, turns a Tektronix TDS5000B or TDS7000B oscilloscope into a powerful analysis tool for CAN and LIN Bus networks.
Figs. 3. and 4. Automobile manufacturers – especially at the top end of the market where electronic systems are ubiquitous – need everything to work first time.
|
Ensure communications quality and reliability with CAN/LIN Bus testing
Whether apocryphal or not, well publicised tales of airbags or ABS systems being activated for no apparent reason bring home to manufacturers and users alike the need to ensure 100percent reliability in systems which can be safety-critical and life-threatening when they fail. The cost to a manufacturer of faults discovered at the production stage can be enormous: not just in terms of putting right the faults, but also through recalls, loss of sales while the faults are being put right, and – possibly most important of all – the damage to a manufacturer’s brand reputation. There is thus every incentive for manufacturers to invest in testing and quality-assurance procedures that will detect potential problems at an early stage and allow engineers to take corrective action before designs move on to the manufacturing stage. This applies equally to the suppliers of automotive subsystems, where the situation is complicated by time to market pressures which demand that testing and verification of new designs is completed in the shortest possible time. System complexity Automotive market forces have brought about increased system complexity, which in turn raises reliability issues. The first automotive electronic systems were introduced for combustion control to meet environmental regulations on emissions. This was followed by safety systems, entertainment, navigation and comfort control, all of which require different types of electronic hardware operating at different speeds. This in turn dictates the nature of the communications interface between the electronics and the vehicle controls and output devices. A key enabler in this scenario is the serial communications Bus, and in particular the CAN (Controller Area Network) and LIN (Local Interconnect Network) buses. The CAN bus provides two communication services: the sending of a message (data-frame transmission) and the requesting of a message (remote transmission request or RTR). All other services such as error signalling and automatic re-transmission of erroneous frames are user-transparent, which means that the CAN chip automatically performs these services. CAN is operated at data speeds from 10kbit/s to 1Mbit/s, and applications are divided into low-speed (up to 125kbit/s) and high-speed (125kbit/s to 1Mbit/s). The LIN bus was developed to achieve cost-effective communication for intelligent sensors and actuators in motor vehicles, specifically in applications where the bandwidth and versatility of CAN are not required. The simple protocol, low processing requirements and single-wire bus make LIN ideal for applications that require robust local connectivity. The data rate for the LIN bus is around 20kbit/s. While the CAN Bus has become accepted as the de facto standard for many in-vehicle functions, it represents ‘overkill’ for activating simple two-wire drives to solenoids or lamp controls, for example. As a result, cost-conscious motor manufacturers have adopted the LIN Bus for these less complex areas, and modern vehicles use a mixture of CAN and LIN networks, with the CAN network acting as the backbone and subsidiary LIN networks linked to it via gateways.
There are a number of issues arising from this approach which can have an impact on overall vehicle reliability, and which require monitoring and analysis in order to solve the problems they present:
Advanced test tools The availability of general-purpose high-performance test instruments such as oscilloscopes that are based on an Open Windows platform means that dedicated software can now be combined with the familiar oscilloscope display and controls in order to carry out industry-specific tests. This is the approach used in the new Tektronix TDSVNM timing, protocol and analysis software, which, when used in conjunction with an external trigger module, turns a Tektronix TDS5000B or TDS7000B oscilloscope into a powerful analysis tool for CAN and LIN Bus networks. Some of the major features of the software are:
The software also enables customers to set trigger conditions based on the content of a CAN message. Trigger conditions are then downloaded at run-time to an external automotive trigger module, which triggers on conditions in real time and helps to pinpoint the causes of intermittent problems through the ability to trigger ‘if-then-else’ conditions.
Engineers in the automotive electronics industries who need to design and ensure seamless operation of network nodes based on CAN and LIN serial data buses need tools that provide efficient testing and debugging of serial CAN bus and LIN bus nodes and networks. Software is now available which adds application-specific features to general-purpose oscilloscopes, and will carry out all the key tests required on CAN and IN Bus networks. Hans-Peter Fleischheuer is Oscilloscope Marketing Manager EMEA, Tektronix. For more information, visit www.tektronix.com |
