Quo Vadis SAE J1939 Standardization
Total Page:16
File Type:pdf, Size:1020Kb
Quo vadis SAE J1939 standardization Peter Fellmeth, Holger Söhnle (Vector Informatik) Standardization has forced commercial ve- hicle developers to work at the limits of performance [2]. From a communication perspective, development of the 500-kbit/s data trans- port layer is a long overdue step. European commercial vehicle producers in partic- ular are seeking a final de- cision in the near future. The specification will be re- leased in a separate docu- ment, J1939-14, and its key aspects are: ue to new application erates by the plug-and-play chased either individually X Twice the bit-rate, Dlayer requirements, principle. The J1939 stan- or together as a package in 500 kbit/s instead of SAE is continuing to de- dard is an active standard so-called “JPaks” from the 250 kbit/s velop the J1939 standard, that currently consists of SAE website [1]. X Use of shielded and un- which is primarily used 19 documents. The respon- shielded cable as de- to network powertrains in sible SAE subcommittees fined in [2] and [3] is still commercial vehicles. How- generally meet four times a More bandwidth possible ever, optimizations and ex- year to decide on changes X Topology is essentially a tensions are being made and further developments. For years now, the maxi- bus that has branch lines in the other communication The current versions of the mum 250-kbit/s bandwidth with a max. length of 1 m. layers as well, right up to the documents may be pur- specified in the standard To connect diagnostic physical transmission layer. This article summarizes the current state of discussions within the SAE J1939 work- ing committee, such as the planned introduction of the 500-kbit/s physical trans- mission layer and chang- es to network management. Moreover, it also explains ongoing efforts to standard- ize J1939 in Autosar Re- lease 4 and WWH-OBD (world-wide harmonized on- board diagnostics) diagnos- tics. Based on the CAN bus (high-speed CAN per ISO 11898), the SAE J1939 standard is used primarily to network the powertrain and chassis in commercial vehicles. The protocol cre- ates a uniform foundation for communication between the electronic ECUs (elec- tronic control unit) and op- Status of SAE J1939 documents (September 2010) 62 CAN Newsletter 1/2011 Microcontrollers Digital Signal Analog Memory RF & Wireless Controllers tools, a branch line (from of sensors with a direct bus the diagnostic socket connection. The number of to the diagnostic tool) new devices is growing rap- with a length of 5 m may idly due to heightened ex- sometimes be used. haust emissions require- X The bus is terminated at ments and the addition of both ends with a char- assistance systems. Many acteristic impedance of alternatives were proposed 120 . Up to 30 nodes but then rejected. They are possible. ranged from a dedicated network for sensors to im- Standardization The specification for the di- plementation of a new pro- agnostic plug [4] was adapt- tocol – e.g. by using previ- ed to 500-kbit/s operation. ously reserved data pages. In addition, a new “Type II” Meanwhile, the fact diagnostic socket is being was that SAE has not as- used in the vehicle, which signed any more new ad- has a green color-coding, dresses. That was an un- and its connector keying satisfactory situation for prevents use of the previous ECU suppliers. Often, they 250-kbit/s “Type I” diagnos- did not know whether their tic plug. A “Type II” plug is product designs would have compatible with a “Type I” lasting value. In the latest Fig. 2: Layout of a 29-bit CAN-ID in J1939 networks socket. Another change is version of Network Manage- that the “Type II” diagnos- ment, SAE recommends im- specific components of the These changes in tic socket defines pins pre- plementing “Address Arbi- 64-bit device name. This Network Management are viously used for SAE J1708/ trary Capable” ECUs. These might be necessary if the supported in version 7.5 J1587 as reserved. Conse- ECUs are able to compute relevant function or mea- of Vector’s CANalyzer. quently, a J1708-/J1587-net- their own addresses based surement parameter is de- J1939 analysis tool and its work can no longer be ad- on the momentary vehicle rived from the device name. CA Noe. J1939 test tool. dressed via a “Type II” diag- configuration – and indeed So, the device name can be nostic plug. at runtime. Essentially, this used to identify the position Autosar and J1939 approach aims to utilize the of an exhaust gas tempera- come closer together SAE gets serious mechanism of dynamic ad- ture sensor – upstream or about dynamics dress allocation that has downstream of the catalytic The introduction of Auto- always existed in the com- converter, on the right or left sar in the passenger car in- Changes are also being mercial vehicle field, but side of a dual-flow exhaust dustry is ramping up quick- made in the area of Network has never really been im- system. Changes can be ly. Yet, there is also interest Management [5]. For a long plemented or used before. made to multiple ECUs in in exploiting the benefits of time now, the J1939-com- In conjunction with Net- sequence and activated at Autosar in commercial ve- mittee has been deliberat- work Management, the new- a specific point in time. This hicle and the agricultural ing over ways to handle the ly added Name Manage- could be helpful, for exam- machine markets. Howev- short supply of permanent- ment should be mentioned ple, in a case where multi- er, the special requirements ly assigned ECU address- for the sake of complete- ple ECUs of a network need of these markets have not es. This is especially prob- ness. This is a standard- to be assigned a new func- been a focus in the devel- lematic for manufacturers ized interface for changing tion simultaneously. opment of Autosar. There- fore, the Autosar versions released so far have very limited potential in these markets. In particular, the requirements of SAE J1939 cannot be mapped to the current Autosar concept, or only in a very limited way. The “static” approach of Autosar stands in con- trast to the “dynamic” be- havior of J1939. The Auto- sar architecture only allows fixed CAN-IDs (identifiers), i.e. there is a fixed alloca- tion between precisely one CAN-ID and one message layout. In contrast to this, a J1939-specific message Fig. 3: Autosar basic software from Vector contains the two J1939 transport protocols layout is only allocated to a BAM and CMDT specific part of the CAN-ID, 64 CAN Newsletter 1/2011 ,).58DEVICEDRIVER You CAN get it AVAILABLE Hardware & software for CAN bus applications… 3&$15RXWHU3URXWHU3UR 3&$186%3UR #ONÚGURABLEFOURCHANNELLEFOURCHANNEL (IGH SPEED53" #!.ROUTERWITHDATAWITHDATA INTERFACEWITHGALVANICWITHGALVANIC LOGGERINCLCONÚGURATION ISOLATIONFORCONNECTINGUPFORCONNECTINGUP SOFTWARE TO#!.AND,).BUSSESAND,).BUSSES 3&$1'LDJ3& 0#!. $IAGISAHANDHELD#!.BUSDIAGNOSTICSUNIT4HENEW0# MODELOFFERSENHANCEDFUNCTIONALITYMO #LEAR#!.TRAFÚCREPRESENTATIONINLISTS CONÚGURABLE SYMBOLICREPRESENTATIONOFRECEIVEDMESSAGES 4RANSMISSIONOFINDIVIDUAL#!.FRAMESOR#!.FRAMELISTS "UILT IN CHANNELOSCILLOSCOPEFORDETAILEDANALYSISOF THEDIFFERENTIAL#!.SIGNALORANOPTIONALEXTERNALSIGNAL 3&$13&,([SUHVV 3&$1*356/LQN TRIGGERINGBY#!.)$SOROTHEREVENTS "ITRATEDETECTION BUSLOADANDTERMINATIONMEASUREMENT #!.INTERFACEFOR0#) $EVELOPMENTPLATFORM 7INDOWSSOFTWAREFOREASYDEVICECONÚGURATIONAND %XPRESSSYSTEMS!VAILABLE WITH#!. '03 AND'023 TRANSMITLISTDEÚNITION UPLOADVIA53"CONNECTION AS CHANNEL CHANNEL )NTERPRETATIONOF/"$ 3TORAGEOFDIAGNOSTICRESULTS#36 "-0 ONANINTERNAL ANDOPTO ISOLATEDVERSION &-3 $4#/ #I! '"MASSSTORAGE53"DEVICE 3&$1([SUHVV&DUG 3&$13&,([SUHVV #!.INTERFACEFOR%XPRESS #!.INTERFACEFOR0#) #ARDSLOTS!VAILABLEAS %XPRESSSLOTS!VAILABLE CHANNEL CHANNEL AND AS CHANNEL CHANNEL OPTO ISOLATEDVERSION ANDOPTO ISOLATEDVERSION 3&$1([SORUHU 4HEUNIVERSALTOOLFORDEVELOPINGANDMONITORING#!. NETWORKS %XTENSIVEUSERINTERFACEIMPROVEMENTS&ILEMANAGE MENTVIAPROJECTS CONÚGURATIONOFALLELEMENTSWITHTHE PROPERTYEDITOR ANDWINDOWARRANGEMENTUSINGTABS 3IMULTANEOUSCONNECTIONSWITHMULTIPLENETWORKS#!. INTERFACESOFTHESAMEHARDWARETYPE #ONÚGURABLESYMBOLICMESSAGEREPRESENTATION 3&$1F3&, 7DNHDORRNDW $ATALOGGINGWITHTRACERSANDTHE CHANNEL,INE7RITER RXUZHEVLWHIRU 6"3CRIPTINTERFACEFORTHECREATIONOFMACROS #!.INTERFACEFORC0#) SLOTS!VAILABLEAS WKHLQWHUQDWLRQDO &UNCTIONALITYUPGRADESWITHADD INSEG-!DD IN VDOHVSDUWQHUV 5SERINTERFACELANGUAGEIN%NGLISHOR'ERMAN CHANNELAND CHANNEL OPTO ISOLATEDVERSIONS www.peak-system.com /TTO 2OEHM 3TRq$ARMSTADT'ERMANY 0HONE q&AX q% MAILINFO PEAK SYSTEMCOM known as the parameter the United Nations and doc- group (PG). Some of the umented in its Global Tech- other components of the nical Regulation 5 (GTR 5). 29-bit CAN-ID are dynamic ISO 27145 represents the and not defined at the time technical implementation of of configuration. Such a dy- GTR 5. It establishes tech- namic CAN-ID can be mod- nical constraints for WWH- eled in Autosar by creating OBD. WWH-OBD initially a separate static CAN-ID for targets the commercial ve- each combination of priori- hicle market, but eventual- ty, source address (SA) and ly it should be extended to Standardization destination address (DA) other vehicle industries as that can occur in a network. Fig. 4: The WWH-OBD is specified in ISO 27145 well. When all nodes of a ISO 27145 consists of J1939 network are known, More in-depth support OEMs Vector actively par- six parts. The current doc- and node addresses are al- of J1939 requirements is ticipates in efforts to spec- ument status is a Draft In- ready defined at the time of planned for the end of 2012 ify these J1939